add a per-agent egress log mode
This commit is contained in:
parent
9140d063d7
commit
e46ad07226
1 changed files with 637 additions and 31 deletions
|
|
@ -325,6 +325,14 @@ the agent's squid policy: [the egress proxy](../networking/network.md#egress-pro
|
|||
lets an unrestricted agent's credential reach any destination, and holds the
|
||||
others to the base list and the allow-list. An agent sends its credential once it has fetched it, from its next start.
|
||||
|
||||
**Log mode** — `internet_log` is a second boolean, meaningful only beside an
|
||||
explicit `unrestricted_internet: false`; read the pair with
|
||||
`swarm_queue_client::agent_permissions::internet_mode`. A `PUT` that sets
|
||||
`unrestricted_internet` without `internet_log` turns it off, the route refuses
|
||||
`internet_log: true` unless the stored or requested flag is `false`, and a
|
||||
`DELETE` keeps it. A hive that doesn't read the field sees `false` and enforces
|
||||
the list. The proxy's handling is under _Log mode_ in [the egress proxy](../networking/network.md#egress-proxy-squid).
|
||||
|
||||
**How a change applies** —
|
||||
- The agent's harness reads its own key every 10 seconds and builds every
|
||||
turn's `--tools`, `--allowedTools` and MCP config from the last value, so a
|
||||
|
|
|
|||
Loading…
Reference in a new issue