feat: wire agent.delegate tool with sub-agent configs

- Export createAgentDelegateTool through builtin/index.ts → tools/index.ts
- Register agent.delegate in routing.ts with lazy orchestrator pattern
- Add agent.delegate + agents.list to messaging and coding policy profiles
- Add group:agents tool group to policy.ts
- Add research/code/comms agent config examples to default.yaml
- Add research/code/comms agent configs to user config.yaml
- Add 11 tests for agent-delegate tool (all pass)
- Typecheck clean, no regressions
This commit is contained in:
William Valentin
2026-02-17 10:28:29 -08:00
parent 288ef5ac3c
commit 776b47f80f
16 changed files with 890 additions and 4 deletions
+10
View File
@@ -13,3 +13,13 @@ export {
CLASSIFICATION_PROMPT,
TOOL_SUMMARISATION_PROMPT,
} from './native/index.js';
export {
ExternalCliBackend,
ClaudeCodeBackend,
OpenCodeBackend,
CodexBackend,
GeminiBackend,
type ExternalBackend,
type ExternalBackendName,
type ExternalBackendRequest,
} from './external.js';