swarm ui: a log in button in the claude login row of an agent's settings
An agent with no stored login, or one to log in again, can be logged in from the settings panel instead of waiting for its turns to fail with a login needed badge first. The button opens the same dialog as the card's.
This commit is contained in:
parent
c7d7f0df55
commit
e9ddfd61ec
2 changed files with 34 additions and 5 deletions
|
|
@ -20,6 +20,11 @@ A started login waits 15 minutes for its code, then stops. Starting another logi
|
|||
for the same agent replaces the running one. A refused code fails the login, and
|
||||
the dialog shows what claude printed.
|
||||
|
||||
You don't have to wait for the agent to fail first: the **claude login** row in the
|
||||
card's settings has a **log in** button too, which reads **log in again** once the swarm has a
|
||||
login for the agent, so a fresh agent or a forced relogin starts there. It opens the
|
||||
same dialog.
|
||||
|
||||
The agent's own web UI login (`/login`) still works, unchanged. It goes away once
|
||||
you have confirmed the swarm login works.
|
||||
|
||||
|
|
|
|||
|
|
@ -71,8 +71,9 @@ the code back. When the secret store has the login, the dialog closes and a
|
|||
short toast in the top-right corner says so. The credentials go to the agent through the secret store
|
||||
([`claude-login.md`](../../2-handbook/swarm/claude-login.md)). The agent's own web UI login still
|
||||
works too. The settings section of an opened card has a **claude login** row: when
|
||||
the swarm stored the agent's login, or that none is, with a **delete login**
|
||||
action that asks first.
|
||||
the swarm stored the agent's login, or that none is, with a **log in** button
|
||||
(**log in again** when the swarm holds one) that opens the same dialog, and a **delete
|
||||
login** action that asks first.
|
||||
|
||||
A card shows **updating** when the agent's status snapshot has `updating` set.
|
||||
The hive sets it when an update stops a running container and clears it when
|
||||
|
|
|
|||
Loading…
Reference in a new issue