feat: plan_track工具卡片增加自动确认下拉框,支持跳过手动确认步骤

This commit is contained in:
thzxx
2026-07-11 16:48:32 +08:00
parent a406216e5e
commit cf96afad1e
5 changed files with 64 additions and 2 deletions
+6
View File
@@ -460,6 +460,12 @@ async function init(): Promise<void> {
}
}
// ── Plan 自动确认设置 ──
{
const planAutoConfirm = await db.getSetting<boolean>('planAutoConfirm', false);
state.set('planAutoConfirm', planAutoConfirm);
}
// ── MCP 工具注册 ──
await startAllMCPServers();
await refreshMCPTools();