Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(desktop): 排除 steer 的计划对账注入;显式传播 turnCompleted
Kafeifeid4a68bea6f10
diff --git a/apps/desktop/src/main/maker-ipc/makerSendTransaction.ts b/apps/desktop/src/main/maker-ipc/makerSendTransaction.tsindex 4d69e1e5d3..fcfff36bf4 100644--- a/apps/desktop/src/main/maker-ipc/makerSendTransaction.ts+++ b/apps/desktop/src/main/maker-ipc/makerSendTransaction.ts@@ -809,6 +809,7 @@ export function createMakerSendTransaction(deps: MakerSendTransactionDeps): MakesoForReconcile.origin === undefined &&soForReconcile.persistUserMessage?.autoResume !== true &&soForReconcile.persistUserMessage?.origin === undefined &&+ soForReconcile.persistUserMessage?.delivery !== 'steer' &&(reconcilePersistText.length > 0 || reconcileHasAttachments) &&!startsWithSlashCommand &&!reconcilePersistText.startsWith('[UI_ACTION_TRIGGER]');diff --git a/apps/desktop/src/main/maker-ipc/planReconcile.ts b/apps/desktop/src/main/maker-ipc/planReconcile.tsindex 48d0fb9845..bd88c3b5dd 100644--- a/apps/desktop/src/main/maker-ipc/planReconcile.ts+++ b/apps/desktop/src/main/maker-ipc/planReconcile.ts@@ -61,6 +61,7 @@ function toRenderSourceMessage(row: PlanReconcileCandidateRow): MessageRenderSou...(toolUseId ? { toolUseId } : {}),...(parentToolUseId ? { parentToolUseId } : {}),...(content?.terminalPlanSnapshot === true ? { terminalPlanSnapshot: true } : {}),+ ...(content?.turnCompleted === false ? { turnCompleted: false as const } : {}),};}