Watch
0
0
Fork
You've already forked hyperhive
0

docs, swarm ui: a deleted login now logs the agent out, and the dialog and docs say so

With the harness poll, an agent that holds a session logs out within 5
minutes of its stored login being deleted. The confirmation and the
claude-login page said the agent keeps its session.
This commit is contained in:
iris 2026-11-09 22:23:43 +01:00 • committed by mara
commit 5f5933fde9

View file

@ -24,8 +24,8 @@ export function storedAtMs(login: StoredLogin): number | null {
return Number.isNaN(ms) ? null : ms;
}
// What the delete's confirmation says: it removes the swarm's copy, and an
// agent that already holds a session keeps it. The agent is not logged out.
// What the delete's confirmation says: it removes the swarm's copy, and the
// agent reads the store every 5 minutes and logs out when the copy is gone.
export function deleteMessage(agent: string): string {
return `Delete the stored claude login for ${agent}? ${agent} is not logged out: it keeps its current session. A new login has to be made to get another stored copy.`;
return `Delete the stored claude login for ${agent}? ${agent} is logged out within 5 minutes, and needs a new login.`;
}