hyperhive/hive-ag3nt/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
iris f6b80cf02e feat(#1065): web_tools tool group gates WebFetch/WebSearch built-ins
Replaces the earlier capability-based approach (closed #1069) with a
ToolGroup — capabilities are for privileged system access, web egress is
a tool permission.

Add ToolGroup::WebTools to hive-sh4re:
- tools() returns &[] (no MCP tools gated)
- builtin_tools() returns &["WebFetch", "WebSearch"] — new method on ToolGroup
- Present in ALL and as_str() → "web_tools"

In hive-ag3nt/mcp.rs:
- allowed_tools_arg() now iterates group.builtin_tools() to prepend any
  group-gated built-ins alongside the base ALLOWED_BUILTIN_TOOLS set
- builtin_tools_arg_for_flavor(flavor) replaces builtin_tools_arg() so
  the flavor-correct effective groups are used when building --tools
- builtin_tools_arg() kept as a flavor=Agent convenience alias
- turn.rs updated to call builtin_tools_arg_for_flavor(files.flavor) so
  manager sessions also see web tools when web_tools is in their groups

The dashboard T00L GR0UPS table gains a web_tools column automatically
(ToolGroup::ALL drives the columns).
2026-06-02 11:31:08 +02:00
..
bin feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
bash_runner.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
client.rs docs: add missing #[must_use], # Errors, # Panics across public api 2026-05-22 19:41:27 +02:00
events.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
forge_notify.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
identity.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
lib.rs feat(#665): harness-internal async bash task runner (option B) 2026-06-01 13:28:31 +02:00
login.rs hive-ag3nt: scrub stale #658/#419 attribution cookies (#716 batch 2) 2026-05-31 16:48:13 +02:00
login_session.rs hive-ag3nt: scrub stale #658/#419 attribution cookies (#716 batch 2) 2026-05-31 16:48:13 +02:00
mcp.rs feat(#1065): web_tools tool group gates WebFetch/WebSearch built-ins 2026-06-02 11:31:08 +02:00
paths.rs rename(#162): scrub remaining hm1nd references from comments and MCP instructions 2026-06-01 19:18:02 +02:00
plugins.rs hive-ag3nt + docs: extract prompt-rendering prose (#716 batch 3) 2026-05-31 16:46:00 +02:00
prompt.rs rename(#162): scrub remaining hm1nd references from comments and MCP instructions 2026-06-01 19:18:02 +02:00
serve_common.rs harness: flip into needs_login on 401 mid-turn (closes #419) 2026-05-25 21:50:21 +02:00
stats.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00
turn.rs feat(#1065): web_tools tool group gates WebFetch/WebSearch built-ins 2026-06-02 11:31:08 +02:00
turn_stats.rs feat(#2): split harness-internal state from agent-visible state 2026-06-01 13:27:35 +02:00
web_ui.rs feat(gateway): hivectl gateway user management + fix htpasswdFile assertion 2026-06-01 23:25:28 +02:00