Wire agent.delegate into TUI tool registry

This commit is contained in:
William Valentin
2026-02-17 11:03:55 -08:00
parent e3b6f9df7c
commit 8394086446
4 changed files with 74 additions and 8 deletions
+13
View File
@@ -3754,6 +3754,19 @@
"docs/plans/state.json"
],
"test_status": "pnpm test:run src/frontends/tui/minimal.test.ts src/models/gemini.test.ts + pnpm typecheck passing"
},
"tui-agent-delegate-registration": {
"status": "completed",
"date": "2026-02-17",
"updated": "2026-02-17",
"summary": "Wired minimal/fullscreen TUI tool registry to register `agents.list` and `agent.delegate` when `agent_configs` exist. Added a TUI delegation bridge that executes delegated single-turn tasks through `ModelRouter` while preserving per-agent tier/system prompt behavior and keeping existing TUI `NativeAgent` flow unchanged.",
"files_modified": [
"src/cli/tui.ts",
"src/tools/builtin/agent-delegate.ts",
"src/tools/builtin/agent-delegate.test.ts",
"docs/plans/state.json"
],
"test_status": "pnpm test:run src/tools/builtin/agent-delegate.test.ts + pnpm typecheck passing"
}
},
"overall_progress": {