claw-code-parity/rust/crates
Yeachan-Heo aea2adb9c8 Allow subagent tool flows to reach plugin-provided tools
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
2026-04-01 07:36:05 +00:00
..
api fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
commands feat: plugin hooks + tool registry + CLI integration 2026-04-01 07:11:42 +00:00
compat-harness wip: plugins progress 2026-04-01 07:09:06 +00:00
plugins Harden installed-plugin discovery against stale registry state 2026-04-01 07:34:55 +00:00
runtime feat: plugin hooks + tool registry + CLI integration 2026-04-01 07:11:42 +00:00
rusty-claude-cli Keep plugin-aware CLI validation aligned with the shared registry 2026-04-01 07:22:41 +00:00
tools Allow subagent tool flows to reach plugin-provided tools 2026-04-01 07:36:05 +00:00