* claim: #7526 * Agent chat: continue across agent-initiated design changes
This commit is contained in:
committed by
GitHub
parent
60de59d5a9
commit
3eb76a8b3b
@@ -139,6 +139,13 @@ completed changes in that design's undo history. Returning restores the conversa
|
||||
messages wait for **Send**. Closing a design closes its conversation. Conversations are kept
|
||||
only while the tabs remain open.
|
||||
|
||||
When the agent itself creates a new design or opens a file, its conversation follows the new
|
||||
design and the same turn continues. Its completed changes stay in each design's own undo
|
||||
history. The original tab starts a fresh conversation if you return to it. Opening a file that
|
||||
is already in another tab returns an error instead of displacing that tab's conversation;
|
||||
select that tab yourself to continue there. Your own New, Open and tab switches still stop
|
||||
the current turn. Stop also cancels a file the agent is still opening.
|
||||
|
||||
The input stays enabled during a turn. **Enter** queues the message: it shows in the conversation
|
||||
as a **Queued** bubble that you can **Edit** or remove (×) until it is sent. Several queued
|
||||
messages go as one prompt, in order, when the turn ends normally.
|
||||
|
||||
@@ -187,9 +187,19 @@ parks that state alongside its `Session`; switching restores both together. Pane
|
||||
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.
|
||||
Recover commands or scripts from external callers) clears its conversation.
|
||||
Conversation state is in memory only and does not change the design file format.
|
||||
|
||||
An admitted request from the current chat carries its turn's validity flag through direct
|
||||
dispatch, cursor animation and asynchronous file loading. Only while that request applies,
|
||||
`with_tool_request` marks its document changes as agent-initiated. New/Recover replacements
|
||||
retain the chat and reset its undo boundary to the new design. Opening a new tab groups the
|
||||
old design's completed changes, moves the conversation and its endpoint into the new tab,
|
||||
and starts a new undo segment without resetting the turn's limits. A failed batch that
|
||||
restores its original design also restores its original turn boundary. Opening an already
|
||||
active file is unchanged; opening a file owned by another tab is refused, preserving both
|
||||
conversations. The marker is never taken from JSON and does not persist between requests.
|
||||
|
||||
Leaving a tab cancels its running turn, declines outstanding approvals, and merges completed
|
||||
changes into that design's undo history before swapping sessions. Its backend conversation
|
||||
remains available when the tab is selected again. Pending messages stay with that tab and wait
|
||||
|
||||
Reference in New Issue
Block a user