Assistant: a new tab keeps the agent's sign-in (#9293) (#9669)

* claim: #9293

* Assistant: a sign-in confirmed in one tab holds in every tab (#9293)

The latest sign-in evidence per agent is window state: keep it across
tab switches, new tabs and replaced designs instead of resetting it with
the tab's conversation, so a new tab no longer marks the agent as signed
out when discovery's login probe is older than the chat's proof.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
PaddleStroke
2026-10-31 04:01:52 +00:00
committed by GitHub
parent d7cba9e96d
commit f1c2fc8804
4 changed files with 39 additions and 3 deletions
+2 -1
View File
@@ -133,7 +133,8 @@ clears the files waiting on the chips too.
## Typing while the agent works
Each design tab has its own conversation, agent session, draft, attachments and queued messages.
A new tab starts with an empty chat. Switching away stops the current turn and keeps its
A new tab starts with an empty chat and a session of its own; a sign-in the chat confirmed in one
tab still counts in the others, so a new tab doesn't mark the agent as signed out. Switching away stops the current turn and keeps its
completed changes in that design's undo history. Returning restores the conversation; queued
messages wait for **Send**. Closing a design closes its conversation. Conversations are kept
only while the tabs remain open.
+2 -2
View File
@@ -184,8 +184,8 @@ conversation shows the merged step with an Undo button while it's still the late
Each open design tab owns an `AgentChat`, including its transcript, backend session, agent
selection, sign-in retry, draft, attachments, pending messages and approval state. `DocSlot`
parks that state alongside its `Session`; switching restores both together. Panel visibility,
placement, agent discovery, endpoint model cache, settings dialogs and the desktop endpoint
starter remain window state. A new tab gets a fresh conversation. Closing a tab drops its
placement, agent discovery, the latest sign-in evidence per agent, endpoint model cache,
settings dialogs and the desktop endpoint starter remain window state. A new tab gets a fresh conversation. Closing a tab drops its
backend; closing the last tab or replacing its design (including programmatic New, Open and
Recover commands or scripts) clears its conversation.
Conversation state is in memory only and does not change the design file format.