fix(confirmations): guarded-action handling across webchat and tui

This commit is contained in:
William Valentin
2026-02-18 17:43:57 -08:00
parent 7e00cb6b04
commit cdba111831
9 changed files with 199 additions and 52 deletions
+18
View File
@@ -5594,6 +5594,24 @@
"docs/plans/state.json"
],
"test_status": "pnpm typecheck passing"
},
"guarded-confirmation-parity-webchat-tui": {
"status": "completed",
"date": "2026-02-19",
"updated": "2026-02-19",
"summary": "Implemented guarded-action confirmation parity across WebChat and TUI: gateway command services now expose approval operations (`/approvals`, `/approve`, `/deny`) for WebChat sessions, WebChat UI surfaces these slash commands, and fullscreen TUI now uses non-interactive auto-approval (matching minimal mode) so local runs do not stall on confirmation prompts.",
"files_modified": [
"src/gateway/handlers/agent.ts",
"src/gateway/handlers/agent.test.ts",
"src/gateway/server.ts",
"src/gateway/ui/pages/chat.js",
"src/daemon/services.ts",
"src/daemon/index.ts",
"src/frontends/tui/components/App.tsx",
"src/frontends/tui/commands.ts",
"docs/plans/state.json"
],
"test_status": "pnpm test:run src/gateway/handlers/agent.test.ts + pnpm typecheck passing"
}
},
"overall_progress": {