fix inbox lifecycle downstream contracts

This commit is contained in:
_Kerman
2026-07-31 22:00:39 +08:00
parent 8e88b17c9f
commit afedf18ccf
219 changed files with 5660 additions and 4556 deletions
+1 -1
View File
@@ -230,7 +230,7 @@ export function apply(ctx: Context, config: AcpConfig): void {
await record.agent.whenIdle()
return { stopReason: inflight.cancelled ? 'cancelled' : 'end_turn' }
} finally {
if (record.inflight === inflight) record.inflight = undefined
record.inflight = undefined
}
},