The subagent runtime still advertised and executed only built-in tools, which left plugin-provided tools outside the Agent execution path. This change loads the same plugin-aware registry used by the CLI for subagent tool definitions, permission policy, and execution lookup so delegated runs can resolve plugin tools consistently. Constraint: Plugin tools must respect the existing runtime plugin config and enabled-plugin state Rejected: Thread plugin-specific exceptions through execute_tool directly | would bypass registry validation and duplicate lookup rules Confidence: medium Scope-risk: moderate Reversibility: clean Directive: Keep CLI and subagent registry construction aligned when plugin tool loading rules change Tested: cargo test -p tools -p claw-cli Not-tested: Live Anthropic subagent runs invoking plugin tools end-to-end |
||
|---|---|---|
| .. | ||
| api | ||
| commands | ||
| compat-harness | ||
| plugins | ||
| runtime | ||
| rusty-claude-cli | ||
| tools | ||