Commit Graph
164668 Commits
Author SHA1 Message Date
vs-code-engineering[bot]andgithub-actions[bot] c4dd6e05ae Update endgame notebook milestones to 1.137.0 (#334540)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-04 18:32:51 +00:00
vs-code-engineering[bot]andgithub-actions[bot] 31c4094071 Bump version to 1.138.0 (#334539)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-04 18:31:41 +00:00
Birarpanjot Singh Kanwer fd633c0502 fix(copilot): don't auto-retry expired vision attachments, show actionable error (#334129)
* fix(copilot): don't auto-retry expired vision attachments, show actionable error

Expired pasted images return vision_attachment_not_accessible 400 on every
request. ToolCallingLoop retried the same poisoned payload 3x with
'Recovering from request error'. Skip auto-retry for this error (mirrors
isContextOverflowBadRequest precedent) and surface remove-attachment /
new conversation guidance.

Fixes #334126

* fix(copilot): centralize vision-attachment check, add retry and formatter tests

Address Copilot review on #334129: extract shared
isVisionAttachmentInaccessibleError helper in commonTypes and reuse it
from ToolCallingLoop.shouldAutoRetry; cover the retry exemption and both
error-message variants with tests.
2026-09-04 10:41:35 -07:00
Vijay Upadya 003a5b4df3 Bump tas-client to 0.4.6 and vscode-tas-client to 0.3.3 (#334538) 2026-09-04 17:12:33 +00:00
Bryan ChenandCopilot b185f5fcfb Support queue-time build title prefixes (#334533)
build: support queue-time build title prefixes

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 09:52:55 -07:00
Martin Aeschlimann 68c44ee2c2 Separate the configuration migration settings again (#334546)
separate settings for chat customization migrations
2026-09-04 16:49:27 +00:00
Megan Rogge 13f40bd750 chat: Avoid underlining rich link pills (#334545)
Fixes #334455\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 16:47:34 +00:00
Henning DieterichsandCopilot 105fc025e6 Fix Multi Diff debug command in Agents window
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 18:42:34 +02:00
Megan RoggeandCopilot a6e243668e dictation: fix indefinite hangs by adding timeouts to Foundry Local native calls (#334526)
Fix dictation hangs by adding timeouts to Foundry Local native calls

The on-device (nemo/Foundry Local) dictation backend awaited several
native SDK calls with no timeout and no AbortSignal: the model catalog
lookup, model.load(), session.start(), each session.append() call
(chained serially so one stuck append blocks every later chunk and
stop()), the result stream's next(), and session.stop()/dispose().

If any of these stalls (proxy/firewall silently dropping packets, a
wedged native addon, a driver hiccup during model load), the awaiting
promise never settles. Since start()/pushAudio()/stop()/cancel() all
await these calls directly or transitively, dictation would hang
indefinitely with no error surfaced to the user and no way to recover
short of restarting VS Code.

Guard each of these awaits with a hard timeout that rejects with a
descriptive error, mirroring the existing inactivity-timeout pattern
already used for the native runtime tarball download. A timeout now
surfaces as a normal model/session Error (with a new 'timeout' error
code from classifyModelError) so the existing error-handling UI path
picks it up, and Stop/Cancel can no longer hang forever.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 16:27:39 +00:00
Logan RamosandCopilot 50f4d0e02d Cleanup some minor issues on new model picker (#334522)
* Cleanup some minor issues on new model picker

* Use the sizing tab's own list options for its row heights

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

* Align the search field with the search button in the picker tab bar

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 12:20:59 -04:00
Copilotandbenibenj 151fca25a2 Allow dragging a grouped session back into its workspace section (#333998)
* Initial plan

* Allow dragging a grouped session back into its workspace section

Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>

* Keep the section a session belongs to in a single helper

Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>
2026-09-04 16:18:52 +00:00
Anthony Kim 2145e84f0a chat: add telemetry for collapsible content toggles (#332656)
* chat: add telemetry for toggling terminal thinking blocks

Track user expand/collapse of the terminal command header in thinking
and simple-collapsible wrappers, without counting auto-expand.

* chat: log collapsible toggles from the shared parent

Move user-toggle telemetry onto ChatCollapsibleContentPart so thinking,
terminal, references, and other wrappers share one event. Keep the
terminal-specific event when kind is terminal.
2026-09-04 16:11:14 +00:00
Martin Aeschlimann de8cc55dae deprecation message for customization location settings + merge migrate.enabled settings (default true) (#334518)
* Enhance customization migration: add severity levels for deprecation messages and deprecation message for csutomization location settings + one single migrate.enabled setting (default true)

* update
2026-09-04 15:53:39 +00:00
Henning Dieterichs 2e12155dfa Implements "Diff View" submenu for agents window and multi file diff editors (#334498) 2026-09-04 14:02:26 +00:00
Martin AeschlimannandCopilot 1c84e6239e Improve customization message UI and migration behavior (#334303)
* Agent Host changes for aeschli/agents/improve-customization-message-ui

* Address customization hint review feedback

Route review links to the relevant customization surface and avoid reporting an unverifiable instruction count when collection is extension-owned. Add coverage for disabled customizations and each hint destination.

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

* Avoid blocking agent dispatch on customization summaries

Start summary discovery alongside request setup, but publish it only after agent invocation has begun. Forward request cancellation through customization discovery so abandoned sends stop outstanding work.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix customization summary ordering test leak

Await the agent invocation gate directly while summary discovery remains blocked, avoiding a leftover cancelable timeout in browser unit tests.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Remove customization availability summary

Keep migration hints focused on workspace and user candidate counts and retain migration-page deep linking, while removing the summary setting and inventory enumeration path.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 13:55:42 +00:00
Christof Marti 0fb6ef6a82 Agent Host: Use VS Code certificates for Dev Container CLI (#334490) 2026-09-04 15:37:24 +02:00
Sandeep SomavarapuandCopilot f8a2115ebc sessions: consolidate remote workspace selection (#334487)
* sessions: consolidate remote workspace selection

Route quick chat creation through the unified workspace picker when consolidated remote workspaces are enabled. Persist No workspace as the last selected target so new sessions restore it consistently, and enable the experience by default on Insiders.

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

* sessions: handle delayed quick chat providers

Preserve the persisted No workspace target while quick-chat providers register and retry draft restoration when session types change. Avoid discarding the current draft when the Chats action runs before a quick-chat target is available.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 13:24:37 +00:00
Ladislau Szomoru 6e61ad439f Agents - only show the badge for uncommitted changes on the new session page (#334488) 2026-09-04 13:20:41 +00:00
adb0399342 Engineering - bump timeout for macOS jobs (#334471)
* Engineering - bump timeout for macOS jobs

* Disable flaky compact chat input screenshot gate

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3ab38087-cdb0-46c0-bd9f-0e048e7e9563

* Remove compact chat input screenshot baseline

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3ab38087-cdb0-46c0-bd9f-0e048e7e9563

---------

Co-authored-by: Henning Dieterichs <hdieterichs@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 3ab38087-cdb0-46c0-bd9f-0e048e7e9563
2026-09-04 13:04:48 +00:00
Martin Aeschlimann 4d9dfbaa0a Implement migration page for chat customization dialog (#334270)
* Agent Host changes for aeschli/agents/migration-chat-customization-dialog

* update

* Enhance AI Customization Management: Add migration settings UI and logic

- Introduced a checkbox for clearing unused location settings after migration.
- Updated migration category to include configuration setting IDs.
- Enhanced banner messages to link to affected settings with markdown support.
- Improved CSS styles for migration settings items.
- Added tests for migration settings functionality and banner behavior.

* update

* update

* update

* update
2026-09-04 13:02:01 +00:00
Henning Dieterichs ae81987cfc Merge pull request #334375 from microsoft/hediet/update-component-explorer
Update Component Explorer packages
2026-09-04 14:44:27 +02:00
Benjamin Christopher SimmondsandCopilot d52881e2e4 agentHost: Keep Agent Merge notice changesets empty (#334465)
agentHost: keep Agent Merge notice changesets empty

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 11:33:45 +00:00
Ladislau Szomoru dff3e35567 Agents - handle errors during branch checkout (#334452) 2026-09-04 11:06:35 +00:00
Christof MartiandCopilot c772f67cd2 Agent Host: Open Dev Container workspaces in Agents (#334249)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 10:49:27 +00:00
Lee Murray 0f2eb0c7d7 Merge pull request #334449 from microsoft/mrleemurray/tragic-lime-galliform
Keep auto experiment defaults applied when assignments are refetched
2026-09-04 11:41:04 +01:00
12ae77ebcd Make extensions.gallery.authProvider policy-controlled (#333837)
* Make extensions.gallery.authProvider policy-controlled

Adds an `ExtensionGalleryAuthProvider` policy to the
`extensions.gallery.authProvider` setting so administrators can manage
which authentication provider is used for the Extensions Marketplace,
matching the neighbouring `extensions.gallery.serviceUrl` setting.

Since the setting is a string enum, the policy declares one localized
`enumDescriptions` entry per value, reusing the existing nls keys.

Regenerated build/lib/policies/policyData.jsonc via
`npm run export-policy-data`.

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

* Attestation commit

---------

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Sandeep Somavarapu <sasomava@microsoft.com>
2026-09-04 12:31:42 +02:00
Sandeep SomavarapuandCopilot a9864c0279 Convert workspace-less sessions to workspace sessions (#334250)
* agentHost: support setting workspace on existing sessions

Allow an agent to attach a workspace-less session to a folder or managed worktree without replacing the session or losing conversation history. Propagate the new project, working directory, continuation, and activity state through Agent Host and Sessions UI.

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

* Agent Host changes for sandy081/agents/workspace-less-to-workspace-conversion

* Keep workspace conversion progress continuous

Reserve a visible host-authored turn while workspace setup completes, then route that same turn through normal provider admission. Keep project updates catalog-only, durably quarantine disposed provider sessions, atomically persist Copilot workspace metadata, and wire conversion without lazy service lookup.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Show workspace conversion outcome in transcript

Use a stable visible continuation request and add synchronized Workspace Set or Workspace Setup Failed notifications to the same turn.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Remove stale workspace conversion imports

Clean up imports left behind while adapting the workspace conversion changes to the current Agent Host composition.

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

* Adapt workspace conversion to chat queue diagnostics

Pass operation names through the updated Copilot chat queue API for working-directory mutations and their sequencing tests.

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

* Fix workspace conversion tests on Windows

Create in-memory customization directories before writing fixtures and derive expected paths from URI.fsPath so assertions follow the host platform.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Avoid concurrent in-memory folder creation

Serialize creation of customization fixture directories because the in-memory filesystem's recursive mkdir path is not safe when sibling operations race.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* Fix remaining workspace conversion CI failures

Use the real disk provider for native Windows customization paths, prevent late aborted-idle events from cancelling replacement turns, and give the full property initialization checker enough heap for the expanded Agent Host sources.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 12:06:21 +02:00
Lee Murrayandmrleemurray 5e4368079a Update file icon mask properties for better alignment and sizing (#334450)
style: update file icon mask properties for better alignment and sizing

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
2026-09-04 10:01:21 +00:00
Sandeep SomavarapuandCopilot be6bce25cb Implement queueing for busy target chats in send_message tool (#334260)
* Agent Host changes for sandy081/agents/send-message-tool-overview-limitations-200967e2

* agentHost: preserve send_message queue ordering

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 11:30:10 +02:00
mrleemurrayandCopilot ba16d5bc98 Address review feedback: extract test fixture helper and condense comments
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 10:28:59 +01:00
Copilotandalexr00 dac655d1a7 Prevent duplicate implicit PR attachments (#334215)
* Initial plan

* Fix duplicate implicit PR attachment

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

* Keep implicit attachment matching type aware

Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>

* Attestation commit

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: alexr00 <38270282+alexr00@users.noreply.github.com>
2026-09-04 09:20:11 +00:00
Henning DieterichsandCopilot 94eae81829 Preserve existing transitive dependency versions
Limit the package lock updates to the Component Explorer packages so the existing webpack version remains available from the VS Code npm feed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ce266339-31ab-4cfb-a049-5b65fea0c7c8
2026-09-04 11:18:47 +02:00
Ulugbek AbdullaevandCopilot 463b2fbd16 sessions: polish: add new session button treatments (#334269)
* sessions: polish: add new session button treatments

Keep the existing keybinding chip as the control and add flat and subtle-background treatments behind a hidden experiment-backed setting. Cover both redesigned treatments with themed component fixtures and platform-resolved keybinding labels.

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

Copilot-Session: 250ea0a1-1160-437f-a1b5-70cc3fa061a3

* sessions: fix: resolve hidden button treatment

Resolve agentSessionsNewSessionButtonStyle explicitly because hidden configuration schemas are excluded from automatic experiment processing. Drive all button instances from one observable while preserving direct developer overrides and assignment refetches.

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

Copilot-Session: 250ea0a1-1160-437f-a1b5-70cc3fa061a3

* sessions: polish: demote new button shortcut

Use the quieter label2 type role for the redesigned keybinding treatments so the New label remains the visual lead while platform shortcut text stays legible.

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

Copilot-Session: 250ea0a1-1160-437f-a1b5-70cc3fa061a3

* sessions: test: update new button screenshot hashes

Accept the Ubuntu blocks-CI baselines for the six new lightweight New Session button fixtures after verifying the deltas are confined to the intended control.

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

Copilot-Session: 250ea0a1-1160-437f-a1b5-70cc3fa061a3

---------

Copilot-Session: 250ea0a1-1160-437f-a1b5-70cc3fa061a3
2026-09-04 14:18:16 +05:00
吉井 啓人(YOSHII, Hiroto) df0ea766fc Support opening MHTML files in integrated browser (#333307)
* Support opening MHTML files in integrated browser

* Support opening MHTML files with editor resolver
2026-09-04 08:28:15 +00:00
Ladislau Szomoru ee99b8a2b8 Agents - fix vertical alignment of the badge number (#334430) 2026-09-04 08:19:03 +00:00
mrleemurray 4786d2b63f Enhance ConfigurationDefaultOverridesContribution to retain auto experiment overrides and apply schema defaults 2026-09-04 08:43:40 +01:00
Sandeep SomavarapuandCopilot 85ce8ef082 sessions: add Agents window layout telemetry (#334255)
* sessions: add Agents window layout telemetry

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

* sessions: test Agents window layout telemetry

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 07:40:43 +00:00
Henning DieterichsandCopilot db93d8ccc7 Fix Rspack dependency lockfile
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ce266339-31ab-4cfb-a049-5b65fea0c7c8
2026-09-04 09:07:09 +02:00
Dileep Yavanmandha 55af5cecaa Keep sandbox toggle editable when managed policy allows bypass (#334370)
* enable/disable sandbox toggle based on allowBypass

* adding observable when allowBypass changes
2026-09-04 06:55:46 +00:00
Bhavya U 3aa2577ec0 Add experimental Opus thinking effort setting (#334426) 2026-09-04 06:26:56 +00:00
Dileep YavanmandhaandCopilot dee137a486 Align Agent Host sandbox network and credential defaults (#334390)
* Updating default settings

* Update sandbox tests for runtime-aligned defaults

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

* Set explicit network restriction in sandbox smoke test

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

* Cover default-allowed and explicitly restricted sandbox networking

Exercise network access with no override before explicitly restricting it, avoiding duplicate settings keys in smoke tests. Add network default and override coverage and make restrictive unit fixtures explicit.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 06:25:57 +00:00
Justin ChenandCopilot 06c80b32d8 chat: fix picker focus and keyboard navigation (#334416)
* sessions: fix active session picker focus outlines

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

* chat: keep input pickers in the tab order

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 05:28:57 +00:00
Henning Dieterichs 8cc6591ff9 Fixes github pr and issue link presentation data fetching (#334374) 2026-09-04 05:27:17 +00:00
Don JayamanneandCopilot 2a9aad22f1 sessions: rename focused chat with F2 (#334163)
* sessions: rename focused chat with F2

Add a higher-priority chat rename command that mirrors the existing chat-close command layering while preserving session rename for the main chat. Track active and nested-chat focus so F2 targets peer chats and unsupported or untitled chats cannot fall through to session rename.

Fixes #334162

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

* sessions: resolve focused chat before rename

Derive the rename keybinding and target from the DOM-focused chat group so split-group activation cannot rename stale session state. Scope the accessibility guidance to chats where Rename is available.

Addresses review feedback on #334163.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 05:11:45 +00:00
Justin ChenandCopilot dbdc289aa9 chat: Add setting for subagent credit usage (#334384)
* chat: Add setting for subagent credit usage

Allow users to hide subagent credit usage from the pill, tooltip, and accessible label while preserving the existing default.

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

* chat: Default subagent credit usage to hidden

Keep credit usage opt-in and cover the tooltip alongside the visible and accessible presentation paths.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-04 05:08:03 +00:00
Vijay Upadya 60e6485775 Stop ABExp.queriedFeature telemetry from being redacted as a file path (#334379)
* Stop ABExp.queriedFeature telemetry from being redacted as a file path

* Feedback update
2026-09-04 05:07:07 +00:00
Justin Chen a92c2f9316 Fix chat response jump by reserving space for visible chat pets (#334336)
Agent Host changes for agents/chat-resize-space-issue
2026-09-04 04:30:10 +00:00
Justin Chen 48fc9bff84 plan widget: show implementation dropdown when plan is open (#334381)
* plan widget: show implementation dropdown when plan is open

* address comments
2026-09-04 04:30:04 +00:00
008427a901 Browser: skip unused screenshot after load failure (#333737)
* browser: skip unused screenshot after load failure

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

* browser: centralize placeholder screenshot guard

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

* browser: restart screenshot capture after navigation

Restart the renderer screenshot loop when URL or error state changes without requiring a visibility transition.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Kyle Cutler <kycutler@microsoft.com>
2026-09-04 00:29:54 +00:00
Connor PeetandCopilot 0758edeec1 agentHost: classify inline chat telemetry (#334378)
* agentHost: classify inline chat telemetry

Use the existing ephemeral-session marker to identify Agent Host turns that
started from inline chat.

- Add inline to the bounded message origin telemetry values.
- Apply the value to direct, queued, resumed, and subagent turns.
- Include message origin in completion, failure, hang, and recovery events.
- Add coverage for standard, queued, failed, and hung turns.

(Commit message generated by Copilot)

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

* agentHost: clarify inline telemetry origin

Explain that message origin telemetry includes host-owned classifications and
that inline is derived from the existing ephemeral-session marker.

(Commit message generated by Copilot)

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-09-03 23:13:02 +00:00