mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
This commit is contained in:
parent
360194e219
commit
f5f55062f1
1 changed files with 4 additions and 0 deletions
|
|
@ -577,6 +577,10 @@ export namespace Session {
|
|||
await updatePart(part)
|
||||
}
|
||||
|
||||
// mark session as updated
|
||||
// used for session list sorting (indicates when session was most recently interacted with)
|
||||
await update(input.sessionID, (_draft) => {})
|
||||
|
||||
if (isLocked(input.sessionID)) {
|
||||
return new Promise((resolve) => {
|
||||
const queue = state().queued.get(input.sessionID) ?? []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue