mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-03 04:56:44 +01:00
ea3a084767
* sessions: support background send for a new chat in an existing session Add background-send (Alt+Enter) support for a new chat created inside an existing multi-chat session, mirroring the new-session composer behavior. - Plumb a `background` flag and `forceNew` option through the new-chat composer, sessions service, and management service so a background send resets the composer before dispatching (avoiding a shared chat-session state race) and runs fire-and-forget without navigating the visible slot. - Keep tab order in the renderer: move in-composer `Untitled` chats to the end so a just-completed background chat never jumps last. - Agent host: present a freshly created peer chat as `Untitled` until its first request is sent (the host commits it eagerly as `Completed`), so the sessions view shows the composer that owns the Alt+Enter handler. Add a committed-chat branch to `sendRequest` and revert the chat to its real status once sent. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * sessions: update remote provider not-found assertion Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * sessions: partition chat tabs instead of sort for stable status tracking Address CCR feedback: read each chat status exactly once inside the autorun so dependency tracking is complete, and preserve provider order by partition. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>