Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
docs(claude): note ordered-channel rationale for allSettled without timeout
fmfsaisai525c6101462b
diff --git a/packages/maker-core/src/agents/claude-code/index.ts b/packages/maker-core/src/agents/claude-code/index.tsindex 3717b90735..dc71198177 100644--- a/packages/maker-core/src/agents/claude-code/index.ts+++ b/packages/maker-core/src/agents/claude-code/index.ts@@ -4875,6 +4875,9 @@ export class ClaudeCodeAgent extends BaseAgent {const stopRequests = stopRunningWakeBackgroundTasks('user_stop');try {await q.interrupt();+ // stopTask and interrupt share an ordered control channel: an+ // interrupt ACK guarantees these earlier stop requests have settled,+ // so allSettled intentionally has no timeout or extra watchdog.const settledStops = await Promise.allSettled(stopRequests.map(({ promise }) => promise));const fulfilledWakeIds = stopRequests.filter((_, index) => settledStops[index]?.status === 'fulfilled')