refactor(mcp): split claude launch-config layer into mcp_config.rs

This commit is contained in:
müde 2026-07-05 22:24:46 +02:00
commit 90af3e8d0b
7 changed files with 466 additions and 444 deletions

View file

@ -360,7 +360,8 @@ the var is absent or empty.
**Updating the surface** — when a new `#[tool]` fn is added to `HiveServer`
in `hive-ag3nt/src/mcp.rs`, add its name to the matching `ToolGroup::tools()`
slice in `hive-sh4re/src/lib.rs`. That's the single source of truth;
`allowed_mcp_tools` reads it at session start.
`mcp_config::allowed_mcp_tools` (in `hive-ag3nt/src/mcp_config.rs`) reads it at
session start.
## Capabilities