Watch
0
0
Fork
You've already forked hyperhive
0

swarm-ui: the inference editor fills the section, and the login and API key get a row each

The editor stopped at 60em, and the claude login row packed the login and
the API key badges into one wrapping line. The width cap is gone, and the
API key has its own row beside the login's.
This commit is contained in:
iris 2026-11-26 21:05:47 +01:00
commit 025d39d141

View file

@ -204,8 +204,9 @@ starts open, the other five folded:
- **instructions**: the agent's AGENTS.md, as an editor you can type in.
- **inference**: how the agent thinks and what it costs, as an editor in place:
its model and effort, the subagent settings and the two context limits, then
the claude login and API key (the login's state, **log in**, and **set API
key**), since the key is how the agent reaches claude.
the claude login and API key, each on its own row (the login's state and
**log in**, then the key's state and **set API key**), since the key is how
the agent reaches claude. The editor fills the section's width.
- **access**: what the agent may reach and use: internet, allowed domains,
repositories, SSH, permissions and its resource caps. Each shows a badge;
select it to open the control that changes it (described below).
@ -1180,10 +1181,11 @@ reads back and its box starts with the stored text. The secrets never read back,
so their box starts empty and replaces the stored secrets only when filled and
saved.
The **claude login** row of an agent's details also sets the API key: **set API
key** (or **replace API key**) sends the key as `ANTHROPIC_API_KEY=<key>` to the
agent's secrets, **remove API key** deletes them, and **advanced** opens the
form above. The row shows whether the store holds a key and never the key. The
The **API key** row of an agent's details, under the **claude login** row, sets
the API key: **set API key** (or **replace API key**) sends the key as
`ANTHROPIC_API_KEY=<key>` to the agent's secrets, **remove API key** deletes
them, and **advanced** opens the form above. The row shows whether the store
holds a key and never the key. The
form reads the stored configuration first: a 404 means the store holds none, and any
other failed read shows the error with a **retry** button and keeps **save**
disabled, so a save can't replace text that was never read. A