hive-agent: enable the Skill built-in tool so installed skills are invokable
This commit is contained in:
parent
2ab3c92a11
commit
2c11a437b4
2 changed files with 11 additions and 4 deletions
|
|
@ -22,13 +22,17 @@ pub const DEFAULT_MCP_HTTP_PORT: u16 = 8790;
|
|||
/// in this list (or added by `extra_builtin_tools`) literally doesn't
|
||||
/// exist in the session. Web egress (`WebFetch`/`WebSearch`) are
|
||||
/// tool-group-gated (`web_tools`) — off by default. Nested agents
|
||||
/// (`Task`) are intentionally omitted. `Bash` is disallowed — shell
|
||||
/// (`Task`/`Agent`) are intentionally omitted. `Bash` is disallowed — shell
|
||||
/// execution goes through `mcp__bash__run` (background tasks
|
||||
/// with structured output via `hive-bash-mcp`) instead of a raw interactive shell. `TodoWrite`
|
||||
/// is omitted because the todo list lives in claude's in-process session
|
||||
/// state and silently evaporates on /compact or session reset — agents
|
||||
/// should plan in /state notes instead.
|
||||
pub const ALLOWED_BUILTIN_TOOLS: &[&str] = &["Edit", "Glob", "Grep", "Read", "Write"];
|
||||
/// should plan in /state notes instead. `Skill` is included so installed
|
||||
/// plugin skills (`base@hyperhive` and friends) are actually invokable —
|
||||
/// without it here, every `SKILL.md`'s `description` frontmatter is inert:
|
||||
/// the model never sees the tool that triggers a skill, no matter how well
|
||||
/// it matches the task at hand.
|
||||
pub const ALLOWED_BUILTIN_TOOLS: &[&str] = &["Edit", "Glob", "Grep", "Read", "Skill", "Write"];
|
||||
|
||||
/// Env var written by the meta renderer with a comma-separated list of
|
||||
/// `hive_sh4re::ToolGroup` `snake_case` names (e.g. `"messaging,inbox,meta"`).
|
||||
|
|
|
|||
Loading…
Reference in a new issue