refactor: unify AgentServer + ManagerServer into HiveServer {socket, flavor}
This commit is contained in:
parent
1698372572
commit
c634dab2a6
3 changed files with 379 additions and 726 deletions
|
|
@ -311,10 +311,10 @@ from `tool-groups.json`). Unrecognised tokens are logged and skipped. Falls back
|
|||
to `ToolGroup::AGENT_DEFAULT` (`messaging`, `meta`, `inbox`, `execution`) or
|
||||
`ToolGroup::MANAGER_DEFAULT` (all groups) when the var is absent or empty.
|
||||
|
||||
**Updating the surface** — when a new `#[tool]` fn is added to `AgentServer`
|
||||
or `ManagerServer` 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.
|
||||
**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.
|
||||
|
||||
## Capabilities
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue