Commit Graph
166955 Commits
Author SHA1 Message Date
benibenjandCopilot 92985b0366 chat: Scope discovery spinner styles to the result row
Ensure the hidden spinner state wins over the shared spinner stylesheet regardless of CSS load order. This fixes the continuation regression assertion in the full Electron and browser test suites.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 16:13:13 +02:00
benibenjandCopilot 320cbe0cc6 test: Stabilize flaky component fixtures
Use local decoded avatars, browser-owned readiness conditions and deferred paint to keep component screenshots deterministic. Replace the discovery SVG loader with the shared DOM spinner and preserve reduced-motion behavior. Document the fixture design contract and extend loading-state regression coverage.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 15:49:59 +02:00
Ulugbek AbdullaevandCopilot 32a12c70b9 sessions: fix: canvas reopen failures (#339591)
* sessions: fix canvas reopen failures

Treat undefined editor results without a matching open editor as failures, and scope presentation cleanup to the exact canvas input generation. Add regressions for undefined results and overlapping stale/new opens.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: harden canvas reopen cleanup

Ignore disposed editor matches when validating undefined open results, and cover rejected close cleanup so the same live canvas can create a fresh input generation.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 15:41:50 +02:00
Sandeep SomavarapuandCopilot 7d2e8e2469 sessions: Support read state with legacy Agent Hosts (#339704)
* sessions: support read state with legacy Agent Hosts

Treat missing per-chat read state from pre-0.10 Agent Hosts as unknown, preserve the client's conservative state across refreshes, and translate read updates to the legacy session-level action.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: fix legacy chat read fallback

Update the requested chat optimistically on pre-0.10 hosts and always dispatch retryable session-level read actions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: use valid protocol version in remote tests

Use the generated current AHP version in remote provider mocks so capability checks exercise a valid negotiated SemVer.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 13:05:36 +00:00
Sandeep SomavarapuandCopilot 8dab265f0c agentHost: Eagerly load set_workspace for workspaceless chats (#339730)
* agentHost: Eagerly load set_workspace for workspaceless chats

Keep the base tool deferred, but expose it eagerly when a session is workspaceless. Add Copilot and Codex end-to-end coverage for first-prompt workspace conversion.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* agentHost: Expand workspace file URI placeholders on replay

Preserve file URI semantics when replaying workdir placeholders so Windows drive paths are parsed as file paths rather than URI authorities. Regenerate the workspace conversion fixtures and cover the expansion directly.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 14:57:22 +02:00
Sandeep SomavarapuandCopilot 7da3a97f02 agentHost: Synchronize session read state from chats (#339732)
* sessions: synchronize session read aggregate

Dispatch the session-level read action whenever a participating chat changes the effective aggregate, while leaving hidden and tool chats independent.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* agentHost: synchronize session read state from chats

Move aggregate read-state authority to Agent Host so clients only dispatch chat changes. Promote the session when the last participating unread chat becomes read, while preserving explicitly unread sessions on redundant chat updates.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* agentHost: restore chat read action documentation

Keep session aggregate synchronization as an Agent Host implementation detail without changing the existing protocol action contract.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* agentHost: avoid duplicate read state persistence

Apply an explicit session read action before synchronizing its sole chat so the chat transition does not recursively promote and persist the same session state twice.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 12:56:29 +00:00
Simon SiefkeandDmitriy Vasyura 3e28fe0d50 fix: memory leak in MainThreadDebugService (#334102)
fix: dispose debug configuration providers

Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
2026-10-05 12:51:38 +00:00
Christof MartiandCopilot d839efbde6 test: Match Dev Container smoke CLI quality and commit (#339697)
* test: Match Dev Container smoke CLI quality and commit

Prefer the desktop commit CLI when published, and explicitly fall back to the latest CLI in the same quality channel for unpublished builds. Stable smoke runs no longer depend on an Insiders-only fixture.

Fixes #339677

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* test: Match source Dev Container CLI server directory

Apply the runtime source-only -dev suffix after merging product overrides so the provisioned commit-pinned CLI is reused by the production installer. Packaged and legacy fallback paths remain unchanged.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 14:51:21 +02:00
vs-code-engineering[bot]andgithub-actions[bot] 16023148d6 Update endgame notebook milestones to 1.141.0 (#339649)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-05 11:38:56 +00:00
Sandeep SomavarapuandCopilot 01efa1ac56 sessions: Scope PR pills to their creating chat (#339727)
Honor the owning host's automatic PR association setting when resolving chat PR pills. Map recorded artifact owners from host chat URIs to UI resources so created PRs remain visible, including during chat catalog hydration.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 11:22:47 +00:00
Simon SiefkeandDmitriy Vasyura dae0d5919e feature: reduce number of strings by 1200 (#327689)
* perf: avoid premature listener stack traces

* test: inject listener stack trace creation

* refactor: keep listener stack change minimal

---------

Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
2026-10-05 11:01:28 +00:00
Simon SiefkeandDmitriy Vasyura 1d92a977c4 fix: release terminal command history when clearing the normal buffer (#326931)
* fix: clear terminal command history with buffer

* fix: clear partial command detection markers

* fix: clear scrollback command history

* fix: preserve terminal command history when clearing alternate buffer

---------

Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
2026-10-05 10:40:32 +00:00
Simon SiefkeandDmitriy Vasyura 3468b27020 fix: memory leak in debug adapter descriptor factory (#334103)
fix: dispose debug adapter descriptor factories

Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
2026-10-05 10:40:06 +00:00
vs-code-engineering[bot]andgithub-actions[bot] 5a44f782c3 Bump version to 1.142.0 (#339650)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-05 10:39:46 +00:00
Dmitriy VasyuraandCopilot 7f7c7b1acf chat: validate plugin marketplace source and cache paths (#339655)
* chat: validate plugin source paths and skill copy destinations

Keep marketplace identities and cache locations consistent, recover stale cache entries, and validate copied skill filenames against the destination filesystem.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chat: keep skill copying unchanged

Keep the change set focused on plugin marketplace path validation while retaining the latest upstream skill installer behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chat: validate Windows cache names and decoded Git paths

Validate computed and persisted cache components, check decoded source paths before sanitization, and filter invalid source and revision descriptors before catalog rendering.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chat: validate generated marketplace ref cache segments

Reject unsupported ref cache names during marketplace parsing instead of failing later during installation. Cover trailing dots and encoded filename-length boundaries.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 10:38:39 +00:00
Ürem Sancaktutan 1e72bb9dd2 Fix/issue 337524 multidiff order (#337565)
* Fix SCM multi-diff file ordering

* test: cover SCM multi-diff file ordering

* test: cover SCM multi-diff file ordering

* test: simplify SCM multi-diff ordering coverage

* test: organize SCM multi-diff test imports

* test: fix SCM multi-diff review findings
2026-10-05 10:38:28 +00:00
Ladislau Szomoru 45a59e27c2 Agents - fix branch picker defaults for New Worktree and Branch selection (#339701)
Agent Host changes for lszomoru/agents/branch-picker-defaults-fix
2026-10-05 12:27:56 +02:00
Ladislau Szomoru a52d7d628e Git - fix duplicate co-authors in git blame hover for squash merges (#339678)
Agent Host changes for lszomoru/agents/vscode-issue-331109-investigation
2026-10-05 11:38:33 +02:00
Christof MartiandCopilot 2dca67a07a test: Align Node unit test timeouts with Electron (#339290)
Configure the actual Mocha runner with local and CI defaults, and forward explicit timeout overrides instead of relying on the outer CLI.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 09:34:02 +02:00
Simon Siefke 48573218e0 fix: memory leak in output channel disposal listeners (#338240)
* fix: release output channel disposal listeners with their channel

* test: cover output disposal retention without explicit GC

* test: isolate output channel disposal from shared registry

Save and clear pre-existing output channel descriptors before constructing the test service, then restore them after its disposal. This prevents order-dependent active-channel assertions and initialization-after-shutdown leaks when agent-session tests run first.
2026-10-05 06:16:06 +00:00
Connor Peet 1a944823b6 Merge pull request #338278 from denizguney/patch-43
Fix duration calculation for agent stop command
2026-10-05 01:15:45 -05:00
Simon Siefke a8fe268543 fix: memory leak in native context menu dismissal (#338214)
* fix: release native context menu callbacks on dismissal

* fix: preserve file URLs in native context menu test fixture

* test: remove native context menu lifecycle fixture
2026-10-05 06:14:25 +00:00
Simon Siefke 3126b77435 fix: memory leak in document paste edits (#338233)
* fix: release document paste edits using their cache IDs

* Keep paste edit sessions alive through alternative selection

* Simplify paste edit lifetime with reference counting

* Transfer paste edit ownership between replacement widgets

* Encapsulate paste edit ownership in a session class

* Return paste edit sessions directly from getPasteEdits
2026-10-05 06:14:04 +00:00
Osvaldo OrtegaandCopilot ae1080a9ed chat: preserve unchanged history removals (#339635)
* chat: preserve local removals when refreshing history

Keep locally removed historical requests protected from passive history refreshes so checkpoint-discarded turns cannot reappear or change the next request's truncation boundary. Preserve provider-only removal and reintroduction behavior, with service/model/view regressions for explicit and generated request IDs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chat: retain removed anonymous history identities

Remember locally removed anonymous request identities across provider omissions so reintroduced turns cannot bypass removal protection. Preserve unique-match safeguards and cover omission, repeated refreshes, predecessor selection, and ambiguous anonymous histories.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chat: limit removal protection to unchanged history

Keep the fix scoped to the regression from #339458: unchanged history must not recreate a request removed locally. Remove persistent deletion identity tracking so changed and reintroduced turns retain their prior replay behavior, including genuinely new anonymous prompts. Add regression controls and clarify the history-refresh contract; leave older checkpoint-state and local-removal gaps out of scope.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 04:48:02 +00:00
Robo 9592504cbb chore: bump electron@43.7.7 (#339634)
* chore: bump electron@43.7.7

* chore: bump distro
2026-10-05 04:39:50 +00:00
roblourensandCopilot 40bb6fae20 sessions: configure cloud sandbox models and permissions (#339626)
* sessions: configure cloud sandbox models and permissions

Discover cloud models and reasoning options through Mission Control, reuse mode and approval controls for sandbox drafts, and retain selections through the first turn and restoration. Keep service-discovered models available when the sandbox AHP catalog omits them.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* test: update cloud sandbox accessibility help expectations

Assert mode, permissions, model, and reasoning guidance instead of the removed Agent Default placeholder.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: address cloud sandbox picker review feedback

Preserve Allow All defaults, restore toolbar keyboard focus, and share account model discovery and retry notifications across sandbox providers.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 03:53:31 +00:00
roblourensandCopilot 6456d379a8 agentHost: update Copilot SDK to 1.0.17-preview.4 (#339423)
* agentHost: update Copilot SDK to 1.0.17-preview.3

Align the bundled runtime pin with 1.0.92-3 and refresh prompt snapshots for updated write_agent steering guidance and deterministic task model ordering.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* agentHost: align remote Copilot SDK and runtime versions

Keep the remote server dependency in sync with the root SDK upgrade as required by the repository hygiene check.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* test: isolate Copilot OTel batch export scheduling

Use a test-owned 100ms native span batch interval so default or inherited scheduling cannot exhaust the bounded export-readiness wait. Preserve the existing span assertions and wait deadline in both telemetry suites.

Verified that the previous and upgraded SDK both defer the first default Linux export by about 10 seconds. Reproduced the missing-span failure with a long inherited schedule; the unchanged assertions pass after isolating the child schedule.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* agentHost: update Copilot SDK to 1.0.17-preview.4

Align root and remote runtime pins with 1.0.92-4, adapt typed sandbox RPC mocks, normalize standalone runtime change notices, and restore warm managed-telemetry regression coverage.

Keep the upgrade in draft: live exit-only plan approval continued into edits twice with preview.4, while a preview.3 live control passed. Deterministic replay does not establish that the live behavior is correct.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 03:43:01 +00:00
Anthony Kim 3f4682f3ea Keep background shell output visible while it streams (#339636)
* Keep background shell output visible while the elapsed time updates

The Background Shells picker refreshes each row once a second, and a row's
description includes its elapsed time. The dropdown pill's hover cache took
the changed description for a different resource and released the row's
hover disposable, which closed the live output terminal. The picker then
rebuilt it in the open details, so the output vanished and came back on
every update.

The pill now releases a cached hover disposable only when the entry that
replaces it no longer carries it. A removed entry still releases its hover.

* Keep a shared hover disposable cached until its entry is removed

Addresses review thread https://github.com/microsoft/vscode/pull/339636#discussion_r4180441849.

When an entry updated while the dropdown was closed, the pill dropped its
cached hover without releasing the disposable the entry still carried, and
nothing cached it again until the dropdown reopened. Removing the entry or
disposing the pill then no longer released it. The cached hover now stays
until the entry is removed or stops carrying that disposable.
2026-10-05 03:36:29 +00:00
Dileep YavanmandhaandCopilot 3355e668c2 Improve Copilot Agent Host sandbox controls and policy display (#339632)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 02:55:30 +00:00
PaulandCopilot 1828c0f07d Show connector names in MCP authentication (#339431)
* Show connector names in MCP authentication

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Address MCP connector review feedback

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Identify connector names in MCP authentication

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Publish connector labels during reconciliation

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Use connector labels across MCP surfaces

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Refresh pending connector authentication labels

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 01:56:48 +00:00
roblourensandCopilot 548a0c4782 sessions: Use first-prompt titles for Cloud Sandboxes (#339620)
* sessions: Use first-prompt titles for Cloud Sandboxes

Push the draft title to the sandbox host before sending the first turn so new sessions do not retain the default branch name. Cover both creation paths and title normalization in regression tests.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: Retain sandbox titles until the host knows the session

Live sandbox validation reproduced the early rename being lost before host session creation. Retain provisional renames and apply the latest title when the host lists or announces the session.

Cover delayed host discovery, replacement renames, and cleanup in real-provider regression tests.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 00:44:08 +00:00
roblourensandCopilot 3edf2b932b chat: align sandbox Copilot behavior with Copilot CLI (#339631)
Recognize both Copilot agent-host provider IDs for response identity, unsaved editor attachments, semantic search, and telemetry categorization without rewriting URI schemes or protocol identifiers.

Written by Copilot

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 00:43:41 +00:00
Bhavya UandCopilot 3f4647a7f9 Report failed and cancelled subagent turn outcomes (#339628)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-05 00:30:56 +00:00
roblourensandCopilot b3aa323f07 chat: Fix Cloud Sandbox slash command suggestions (#339629)
* chat: fix Cloud Sandbox slash command suggestions

Filter plain-text agent host completions by their insertion text instead of their display label, and show slash command descriptions separately in both chat inputs. Add regression coverage for Monaco filtering and the Agents draft composer.

Fixes microsoft/vscode-internalbacklog#9797

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chat: preserve slash completion labels with acceptance spaces

Avoid treating the command name as a description when the insertion text includes a trailing acceptance space. Cover both trimmed and exact command display labels while retaining descriptive Cloud Sandbox labels.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-04 23:46:15 +00:00
roblourensandCopilot 539b7502df agentHost: distinguish cancelled subscriptions from missing resources (#339627)
Fixes #334196 by classifying superseded subscribe requests from their ownership identity, returning an explicit cancellation error and logging expected cancellation at trace level. Preserve genuine missing-resource failures and newer subscription ownership. Add protocol races and real cold-restoration regression coverage.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-04 23:46:13 +00:00
roblourensandCopilot af89f26fd1 copilot: update nested HTTP runtime to avoid navigator diagnostics (#339630)
Fixes #336853 by adopting the upstream platform-specific environment implementation.\n\n(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-04 23:43:52 +00:00
Bhavya UandCopilot 3d51b7d455 Fix taskless subagent turn completion (#339619)
* Fix taskless subagent turn completion

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Cover taskless subagent completion timing and races

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Report taskless subagent failures as child turn errors

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-04 23:35:48 +00:00
roblourensandCopilot c10f60fd7d agentHost: fix cloud sandbox history replay (#339615)
Skip identical persisted replication frames within each mirror epoch without weakening gap or conflict validation. Resolve the recorded default or sole chat instead of displaying an empty assumed chat.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-04 23:17:19 +00:00
Bhavya UandCopilot d9e6a01454 Describe result_token_count as a local text-output estimate (#339601)
The GDPR comment for `copilotSdk/tool_call_executed.result_token_count`
said the value is measured with the model tokenizer. The Copilot runtime
computes it locally with `o200k_base` scaled by a per-model multiplier, and
only for successful text results up to 20 KiB that carry no binary or
structured-reference content. Say so, and state that absence is not zero,
so consumers do not read the column as an exact or billed token count.

Comment-only. The forwarder already passes SDK metrics through unchanged.

Refs github/copilot-agent-runtime#20172
Refs #335623

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-04 22:29:24 +00:00
roblourensandCopilot 7ca7edcbdb sessions: show Cloud Sandbox setup progress (#339604)
* sessions: show Cloud Sandbox setup progress

Reuse draft preparation progress for sandbox provisioning and repository cloning. Wait for repository readiness before dispatching the first turn and handing off to the remote session.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Merge main into Cloud Sandbox setup progress

Preserve upstream sandbox renaming and startup progress regression coverage.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: harden Cloud Sandbox preparation lifecycle

Keep provisioning protected until its connection attempt settles, reference-count overlapping preparation activities, and preserve clone retry progress. Localize preparation errors and add regression coverage for these cases.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-04 15:25:51 -07:00
roblourensandCopilot f11110f9ea sessions: Sync Cloud Sandbox archives through Mission Control (#339608)
* sessions: Sync Cloud Sandbox archives through Mission Control

Route task archive and unarchive operations through Mission Control without waking sandbox environments. Discover archived tasks and reconcile their flags in both window types, preserving archived history and surfacing rejected mutations. Add cross-client, persistence, ordering, and remote-provider regression coverage.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: Harden Cloud Sandbox archive reconciliation

Persist explicit unarchived task flags, cancel queued archive mutations when their provider is disposed, and notify Editor users when mutations fail. Add focused restoration, lifecycle, and error-reporting regression coverage.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-04 21:49:48 +00:00
roblourensandCopilot d8c14d8a9f agentHost: renew sandbox credentials without prompting for sign-in (#339618)
Handle expired sandbox credentials through connection-owned renewal before applying generic GitHub session retry limits. Preserve duplicate-challenge coalescing, fail-closed renewal, and connection replacement guards, with regression coverage.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-04 21:44:25 +00:00
roblourensandCopilot 15dcffd43f sessions: Fix empty cloud sandbox resume views (#339605)
* sessions: Fix empty cloud sandbox resume views

Join an explicit sandbox wake during session activation instead of resolving offline history while the connection is still pending. Replay an unambiguous recorded chat when no default was announced, while preserving explicit defaults and respecting peer-chat catalogue metadata.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: Respect removed chats during cloud history replay

Distinguish missing chat catalogue evidence from an explicitly emptied catalogue before inferring a default chat. Cover removed user, tool, side, and fork chats, including removals whose additions were not recorded.

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-04 21:42:54 +00:00
Christof MartiandCopilot 4738842112 sessions: Track accepted Dev Container sample selections (#339588)
Record a bounded sampleId after a user selection succeeds across submenu, filtered, and recent workspace entries. Preserve generic picker telemetry privacy filtering and cover non-sample, programmatic, unavailable, failed, declined, and superseded selections.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-04 23:39:47 +02:00
Martin AeschlimannandCopilot 53df301065 Report session customization telemetry (#339291)
* Report session customization telemetry

Collect customization inventory after the first request accepted for a new session, using the shared chat service so both the editor and Agents windows are covered.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* remove cancelation timeout out of whenCustomizationsReady

* update

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-04 20:21:52 +00:00
Martin Aeschlimann 1b412f2dd8 migrate with agent (#339334)
* migrate with agent

* update

* update

* update

* fix tests

* update
2026-10-04 20:21:33 +00:00
Alexandru DimaandCopilot 66fe8a828b sessions: enable unified workspace picker by default (#339518)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-04 20:00:36 +00:00
Justin ChenandCopilot b993b3bce1 chat: add Blobby color customization and True Name achievement (#339561)
* chat: add Blobby color customization

Add the True Name achievement and /blobby flow, with free Stable and Insiders palettes plus unlockable preset and custom colors. Unify achievements and color selection in the customization editor while preserving sprite animations, accessories, accessibility, and persisted choices.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chat: update Blobby customization screenshot baselines

Accept the reviewed Linux CI screenshots for the new customization tabs and True Name account badge.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* chat: hide Blobby commands when AI features are disabled

Gate both slash command descriptors and the new customization actions on chatSetupHidden, independently of whether a default agent is registered. Add regression coverage for hidden and restored availability while retaining the runtime entitlement guards.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-04 19:36:43 +00:00
Ulugbek AbdullaevandCopilot 24a4117814 sessions: Reopen dismissed canvases from Add Tab (#339574)
* sessions: reopen dismissed canvases from Add Tab

Expose live dismissed canvas instances in the editor Add Tab menu, using provider titles and semantic instance IDs to disambiguate duplicates. Keep registrations scoped to the active conversation and clean them up reactively.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* sessions: stabilize canvas reopen lifecycle

Keep Add Tab command identities stable across canvas metadata updates, restore retry state when editor opens fail across chat switches, and guarantee unique instance labels. Cover stale menu actions, canvas lifetime removal, automatic-open failures, and label collisions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-10-04 15:24:44 +00:00
5e86c7c4c2 Copilot: migrate embedding-backed features to Metis (#339532)
* Copilot: migrate embeddings to Metis

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Handle additional file not found error code

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-10-04 10:35:54 +00:00