swarm-ui: show and toggle an agent's unrestricted internet flag, add it to the create dialog
This commit is contained in:
parent
24beb167d8
commit
10508895c4
1 changed files with 136 additions and 2 deletions
|
|
@ -562,6 +562,14 @@ ignores a value it can't parse and the agent would run uncapped, and it
|
|||
refuses, for example, a percentage with a leading zero. The dialog shows the
|
||||
refusal's reason under the fields and leaves them as you typed them.
|
||||
|
||||
Below the list, **internet** shows whether the agent's traffic may leave the
|
||||
host unfiltered: `unrestricted`, `restricted`, or `unrestricted (legacy)` when
|
||||
the swarm never set the flag, which counts as on. The **restrict** or
|
||||
**allow unrestricted** badge flips it with a `PUT` that carries the stored
|
||||
permission list along with the flag, because a `PUT` without the list resets a
|
||||
stored list to the default. An agent with no stored list sends the flag alone.
|
||||
Nothing acts on the flag yet.
|
||||
|
||||
A saved change isn't instant. The hive reads the caps about every 30 seconds,
|
||||
and a running agent takes a changed cap at its next spawn or rebuild, so the
|
||||
row shows the new value before the agent runs under it. The panel reads
|
||||
|
|
@ -605,7 +613,8 @@ order with **next** and can step back through with **back** or the step tabs:
|
|||
2. **instructions**: the text the agent's `AGENTS.md` starts with, in a box
|
||||
of its own.
|
||||
3. **permissions**: one checkbox per permission, starting from the default set
|
||||
or the archetype's.
|
||||
or the archetype's, and an **Unrestricted internet** checkbox, unticked by
|
||||
default. Ticking it adds `unrestricted_internet` to the request.
|
||||
4. **resources and inference**: the optional resource caps and inference
|
||||
settings.
|
||||
5. **summary**: every setting the request will carry, and what stays at its
|
||||
|
|
|
|||
Loading…
Reference in a new issue