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:
parent
a2c9e9a8d4
commit
5f5933fde9
1 changed files with 7 additions and 6 deletions
|
|
@ -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.`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue