[pull] main from microsoft:main - #1572
Merged
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Bound Agent Host response file caches Use LRU caches for per-request change and file-edit observables so large sessions cannot retain every turn forever. (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* agentHost: classify Copilot startup failures Add bounded startup cause, resource, and exit-code telemetry, including SDK timeouts and permission failures.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: narrow sandbox failure matching Match concrete sandbox executables and cover unrelated path segments.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
agentHost: keep shell read helpers non-terminal Only synthesize terminal result content for primary shell command tools, and cover completed shell-read helpers across live events, history replay, and provider E2E traffic.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Select bash explicitly on POSIX for the scenario that verifies OSC 633 command metadata, instead of depending on the build account's system shell. Restore the default-shell config after the test so shared-server siblings remain isolated.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* agentHost: track SSH connection outcomes Pause automatic reconnect after host key denial and add privacy-safe SSH connection attempt telemetry.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: cover all SSH connect paths Instrument the primary first-time SSH flow and add explicit automatic versus user resume coverage.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Address prompt option review feedback Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* sessions: prevent transient duplicate Agent Host sessions Prefer the pending draft while its committed adapter is cached, and avoid a redundant host-wide session refresh when SessionAdded already supplied the commit. (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * sessions: simplify transient duplicate fix Keep the fix scoped to the provider's advertised-session invariant and cover both SessionAdded orderings. This avoids changing commit matching semantics. (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Restore persisted agent request errors (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Restore errors on subagent turns (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Remove obsolete proxy error reference (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…4609) The model picker showed a "Sign in to use Copilot" affordance whenever chatRequiresSetup(...) was true, which also matched returning users with a cached Free/Pro/EDU entitlement and completed === false. For that cohort triggerSetup takes the silent DefaultSetup path, so the click was a no-op that self-dismissed without signing anyone in -- notably in Codespaces, where the title-bar Sign In badge is suppressed in web. Narrow the picker's setup condition to the cohorts for whom triggering setup actually shows a dialog: signed out (Unknown -> sign-in) and sign-up eligible (Available -> sign-up), via a new pure, unit-tested helper modelPickerRequiresSetup. This is chatRequiresSetup branches 4 (Available) + 5 (Unknown && !anonymous && !hasByokModels); the !completed and disabled branches are intentionally dropped. Restricted Mode and the shared chatRequiresSetup (still used by the chat setup flow) are unchanged. Fixes #323562 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
* agentHost: add local host restart command Add a Developer command that replaces the shared local Agent Host process and reconnects every local client immediately. Preserve fresh-host subscriptions and restore cold sessions before applying queued actions so existing chats and tool confirmations continue after restart.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * agentHost: harden restart recovery Recover interrupted initial handshakes, restore cold subagents through their parent sessions, and bound restart lifecycle disposables. Add regression coverage for each review finding.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add full-text hover to prompt options Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Show three onboarding prompt options Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* chat: preserve scroll position between sessions Keep bounded per-chat widget view state across the Chat panel, chat editors, and Agents window. Restore exact offsets when scrolled up and follow new content when previously pinned to the bottom.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * chat: capture view state before session UI updates Save the outgoing transcript before applying the incoming chat's read-only layout so relayout cannot alter the captured position.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Clean deleted Agent Host session state Release metadata, snapshots, subscriptions, and timers when sessions are explicitly deleted or removed. (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Strengthen deleted session cleanup Centralize provider state cleanup and cover subscription, timer, state, metadata, and notification race behavior. (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * Flush successful session deletions on failure Publish and dispose successful removals before propagating a later batch deletion error. (Written by Copilot) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Mute GitHub numbers in prompt options Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix slow sash resizing with chat sessions * address comments
* pet: keyboard hop * address comments
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )