Commit Graph
162452 Commits
Author SHA1 Message Date
Nick Trogh 6e42b93b60 Update docs links 2026-08-05 09:31:05 +02:00
Robo 7a9f946766 build: validate package-lock changes with pinned npm (#329098)
* chore: restore libc fields for platform packages

* build: validate package-lock changes with pinned npm

* build: ignore registry specific integrity in lockfile validation
2026-08-05 05:01:51 +00:00
Paul d90b903325 smoke: wait for the window reload to actually happen (#329052)
`whenWorkbenchRestored()` can be answered by the pre-reload document, so the
'Extension Host Restart' tests continued while the window was still reloading.
The next test then dispatched its command palette keybinding into a tearing
down window, `openQuickAccessWithRetry` exhausted its retries and fell through
to `type()`, which failed with a misleading 'set value ... after 20 seconds'.

Add `Code#reloadWindow()` which stamps the current document, triggers the
reload and waits for a new document before awaiting the workbench restore.
2026-08-05 04:42:09 +00:00
Anthony KimandCopilot 6f7ea79f58 Restrict terminal auto-approval setting in untrusted workspaces (#329069)
* Restrict terminal safety settings in untrusted workspaces

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: bda42f98-e73f-417f-b7e6-03cff9e2f604

* Fix terminal configuration test typing

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: bda42f98-e73f-417f-b7e6-03cff9e2f604

* Restrict deprecated terminal auto-approve rules

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: bda42f98-e73f-417f-b7e6-03cff9e2f604

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: bda42f98-e73f-417f-b7e6-03cff9e2f604
2026-08-04 21:36:17 -07:00
Don Jayamanne a6c537939a feat: forward additionalDirectories to SDK session config in multi-root sessions (#329102)
* feat: forward additionalDirectories to SDK session config in multi-root sessions

* feat: enhance multi-root session handling for additionalDirectories in CopilotAgent
2026-08-05 04:27:03 +00:00
Don Jayamanne e165603c97 refactor: remove 'name' property from multi-root workspace metadata (#329096) 2026-08-05 03:58:14 +00:00
Rob LourensandCopilot fadee07f12 Include fallback Copilot process log in Agent Host debug exports (#329088)
* chat: fall back to latest Copilot process log

Include the newest Copilot process log when no recent log matches the Agent Host session ID, or when the export has no active session context. Search only the ten newest logs while allowing streamed scans up to 1 GiB per file. (Written by Copilot)

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

* chat: address Copilot log export review

Apply the scan limits to the ten newest logs, avoid Copilot fallbacks for other local agents, and cap remote inline exports to prevent large renderer allocations. (Written by Copilot)

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-05 03:48:40 +00:00
Rob LourensandCopilot 385624ad00 agent host: expand file operation E2E coverage (#328644)
* Expand Agent Host file operation E2E coverage

Enable shell-backed Codex file scenarios and the five previously skipped Copilot variants with portable prompts, strict fixtures, and semantic AHP snapshots. Fix Codex command completion mapping when app-server drops item completion before the following response, and remove the resolved known-issue entries. (Written by Copilot)

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

* Clarify Agent Host E2E known issues

Keep the inventory focused on active gaps, remove resolved history and general test guidance, and align stale source comments with the current gates. (Written by Copilot)

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

* Address Codex completion feedback

Restrict turn-snapshot recovery to command executions with observed outcomes, preserve response ordering around command preflights, and scope snapshot relaxation to Codex shell completion status where direct assertions prove behavior. (Written by Copilot)

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

* agent host: integrate file coverage with main

Match strict tool-result assertions to each provider's file operation strategy and refresh generated Agent Host E2E coverage baselines. (Written by Copilot)

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

* agent host: address E2E review feedback

Match snapshot omissions against provider tool names before normalization and add a direct execution oracle for spaced-filename reads. (Written by Copilot)

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

* agent host: preserve E2E guidance after rebase

Retain newly landed prompt snapshot and cumulative-state assertion guidance while removing resolved file-operation gaps. (Written by Copilot)

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

* agent host: adapt E2E coverage to latest Codex

Preserve Codex tool lifecycles across steering, adapt the spaced-path execution oracle to Codex 0.146, and refresh generated coverage baselines. (Written by Copilot)

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

* agent host: refresh E2E coverage after conflict resolution

Regenerate the Agent Host E2E coverage summary after rebasing onto current main and validating the Codex steering lifecycle adaptation. (Written by Copilot)

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

* agent host: make Codex path oracle shell-neutral

Correlate the Codex shell lifecycle by tool-call id and validate the semantic read command without requiring platform-identical quoting. Refresh the E2E coverage baseline. (Written by Copilot)

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-05 03:48:29 +00:00
Rob LourensandCopilot 6657034366 sessions: Register user data sync utility channel (#329085)
* sessions: Register user data sync utility channel

Ensure the Agents window exposes the renderer-owned user data sync utility channel to the shared process. (Written by Copilot)

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

* sessions: Revert unrelated README change

Keep the PR scoped to the user data sync channel fix. (Written by Copilot)

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-05 03:41:43 +00:00
Paul 121da1b979 Exclude musl os-proxy-resolver binaries from Linux packages (#329084) 2026-08-04 19:56:07 -07:00
5ae97b73dd chore: bump @github/copilot-sdk to 1.0.9-preview.3 and @github/copilot to 1.0.78 (#328948)
* chore: bump @github/copilot-sdk to 1.0.9-preview.3 and @github/copilot to 1.0.78

* Adapt agentHost to SDK 1.0.9-preview.3 type contract

SDK 1.0.9-preview.3 changed several session-events/rpc types consumed by
agentHost:
- Model dropped defaultReasoningEffort; pass undefined so the schema resolver
  falls back (BYOK IByokLmModelInfo path is unaffected and keeps the field).
- Added factory permission kind; add 'factory' to the host permissionKind union.
- Added factory_completed system notification; handle it in the notification
  switch with localized status messages.
- ShutdownData gained required fields; widen the test cast via unknown.
- PermissionPromptRequestPath dropped managedApprovalRequired; remove it from
  the path promptRequest test literal (the permissionRequest still carries it,
  which is what the host reads).

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

* Adapt customizations test to new builtin skill in CLI 1.0.78

CLI 1.0.78 ships an additional builtin skill (github-pr-media) alongside
customize-cloud-agent; generalize the test's builtInCustomizations filter to
strip any @github/copilot builtin skill dir so discovery assertions stay green.

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

* Regenerate Copilot prompt snapshots for CLI 1.0.78

CLI 1.0.78 reworded its baked-in system prompt (consolidated tips_and_tricks/SQL/session-context guidance and added the github-pr-media builtin skill), so the committed AHP prompt baselines no longer matched the wire prompt and the copilotPromptsE2E integration test failed in product build 461312. Regenerated the baselines via AGENT_HOST_UPDATE_AHP_SNAPSHOTS=1; all 21 cases pass in replay mode.

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

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: vs-code-engineering[bot] <122617954+vs-code-engineering[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Paul <8560030+pwang347@users.noreply.github.com>
2026-08-04 18:28:02 -07:00
Ben VillalobosandCopilot 68f210a0a2 Add deletion actions to automation run history (#329068)
* Add deletion actions to automation run history
* Address automation history deletion review feedback

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-05 01:20:47 +00:00
Justin Chenandcopilot-swe-agent[bot] d378c2b428 modernize ui: performance fixes (#329067)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-08-05 01:19:49 +00:00
Logan Ramos d49227af15 Adopt latest models in Auto (#329021)
* Start auto v2 exploration

* Auto V2

* Update based on comments
2026-08-05 00:59:45 +00:00
Vijay Upadya b252e16ef8 Capture chat-completions reasoning effort in telemetry and log dropped values (#329059)
* Capture chat-completions reasoning effort in telemetry and log dropped values

* Address PR feedback: log dropped effort for explicitly-empty server levels; fix test log mock
2026-08-05 00:39:34 +00:00
Connor PeetandCopilot aa23e75a7a agentHost: lazily restore peer chats (#329071)
* agentHost: lazily restore peer chats

Keep restored peer chats as state-manager-owned entries and materialize their SDK histories only when content is requested. Consolidate per-session resume, sequencing, and teardown coordination so distinct peers can resume concurrently without racing session disposal.

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

* agentHost: preserve peer restore failures

Propagate known peer-session resume failures so lazy chat hydration remains retryable instead of committing an empty history.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-05 00:30:31 +00:00
Benjamin Christopher Simmonds f4850e0faa Merge pull request #328999 from microsoft/benibenj/financial-lungfish
Show Markdown preview pills for external session files
2026-08-05 01:08:17 +02:00
Raymond Zhao 723f84ed3c chore: list libc.so dependency (#329054) 2026-08-04 23:03:30 +00:00
Ben VillalobosandCopilot <223556219+Copilot@users.noreply.github.com> 1470017f06 Fix automations card keyboard accessibility (#329053)
* Fix automations card keyboard accessibility

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com><223556219+Copilot@users.noreply.github.com>
2026-08-04 22:57:31 +00:00
Copilotandmeganrogge f5e4d60816 Fix transparent microphone picker dropdown in Voice Mode onboarding (#328770)
* Initial plan

* Fix transparent microphone picker dropdown in voice mode onboarding

Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>
2026-08-04 22:55:48 +00:00
Rob LourensandCopilot f30e956db5 Increase Agent Host end-to-end test coverage (#328733)
* test: increase agent host e2e coverage

Add coverage for server tools, customization discovery, persistence, peer chats, and changesets.

(Written by Copilot)

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

* test: fix agent host e2e CI failures

Make persistence assertions path-identity safe on Windows, remove timing-based restart waits, wait deterministically for server tool advertisement, preserve teardown tracking through assertions, and clarify the addComment range contract.

(Written by Copilot)

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

* fix: serialize agent session release and restore

Track in-flight provider releases so restoration cannot race provider shutdown. Strengthen persistence coverage to prove complete durable transcript reconstruction before restarting the host.

(Written by Copilot)

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

* test: fix persistence oracle typing

Read optional response-part IDs through Reflect so both the TypeScript compiler and hygiene rules accept the durable reconstruction oracle.

(Written by Copilot)

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

* test: stabilize server tool catalog assertion

Read the authoritative session snapshot with bounded retry so the test handles server-tool advertisement that occurs before or after the client begins observing actions.

(Written by Copilot)

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-04 22:55:45 +00:00
Copilotandmeganrogge 2e25908e06 Fix keyboard activation of the voice input mode microphone button (#328768)
* Initial plan

* Enable keyboard activation (Enter/Space) for segmented voice/dictation cells

Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>
2026-08-04 22:55:19 +00:00
431a4c08bf Allow hiding dictation/voice mode buttons (#328832)
* Initial plan

* Allow hiding the dictation mic button while keeping Cmd/Ctrl+I

Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>

* Allow hiding Voice Mode controls

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

Copilot-Session: b11adb7d-72c1-4e64-ba1e-f798dd9bf490

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>
Co-authored-by: Megan Rogge <merogge@microsoft.com>
Copilot-Session: b11adb7d-72c1-4e64-ba1e-f798dd9bf490
2026-08-04 22:55:04 +00:00
5e90183d30 Fix terminal Stop Dictation clearing text with the built-in engine (#328742)
* Initial plan

* Fix terminal stop dictation dropping text during built-in finalize

Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>

* Add regression test for terminal stop dictation; remove scratch test

Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>

* Apply suggestion from @meganrogge

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>
Co-authored-by: Megan Rogge <merogge@microsoft.com>
2026-08-04 22:55:02 +00:00
Copilotandmeganrogge be5250854d Drop pill border on single-icon voice/dictation toggle (#328834)
* Initial plan

* Remove pill border on single-icon voice/dictation toggle

Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: meganrogge <29464607+meganrogge@users.noreply.github.com>
2026-08-04 22:54:44 +00:00
Rob Lourens 8e3f97149d Delete hygiene skill (#329061) 2026-08-04 22:49:27 +00:00
BeniBenjandCopilot ed83268331 chat: include project root in file classification
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-05 00:49:23 +02:00
Hawk Ticehurst 435637a829 Add space between status bar buttons (#329039)
* Add space between status bar buttons

* Address PR feedback
2026-08-04 22:43:18 +00:00
Paul 7fd1bdb265 Raise Copilot vitest timeouts to absorb CI agent jitter (#329058) 2026-08-04 22:36:09 +00:00
BeniBenjandCopilot 3269a141bf chat: align turn pill fixtures with external previews
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-05 00:35:20 +02:00
Anthony Kim 5e48b6b349 Require confirmation for CMD delayed-expansion redirects in terminal auto-approval (#329055) 2026-08-04 22:32:15 +00:00
Copilot 228c981e7d Announce dictation and voice mode introduction cards to screen readers (#329037) 2026-08-04 22:21:47 +00:00
BeniBenjandCopilot fc44c726c5 agentHost: stabilize derived session values
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-05 00:14:22 +02:00
Anthony KimandCopilot 6d3806145c Require approval incomplete PowerShell parses and restrict terminal auto-approval to known cmdlets (#329048)
* require confirmation when PowerShell terminal auto-approval parsing is incomplete

* address more

* Preserve Bash sort auto-approval behavior

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: bda42f98-e73f-417f-b7e6-03cff9e2f604

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: bda42f98-e73f-417f-b7e6-03cff9e2f604
2026-08-04 22:12:30 +00:00
Copilotandhawkticehurst b27218f502 Remove Agents customization modal header border (#329038)
Fix customization modal header border

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hawkticehurst <39639992+hawkticehurst@users.noreply.github.com>
2026-08-04 22:10:11 +00:00
BeniBenjandCopilot e63a5ae2c8 agentHost: compare peer chat values structurally
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-05 00:06:31 +02:00
Paul 042bcc57ca Update to eng changes requirement (#329043) 2026-08-04 21:58:09 +00:00
BeniBenjandCopilot d7891ec20f agentHost: suppress equivalent chat catalogs
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-04 23:34:56 +02:00
Megan Rogge 8071803783 Respect display language for automatic voice locale (#329016) 2026-08-04 21:31:57 +00:00
Hawk Ticehurst 78e7c8db9c Remove extra top padding in primary sidebar (#329033)
Fix top padding issue in primary sidebar
2026-08-04 21:19:16 +00:00
Sandeep Somavarapu a234109a10 Revert "sessions: group multi-root sessions by workspace (#328876)" (#329041)
This reverts commit 40bb65acab.
2026-08-04 21:15:56 +00:00
BeniBenjandCopilot 389c457a1f agentHost: isolate last-turn chat dependencies
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-04 23:06:49 +02:00
BeniBenjandCopilot a6bcea1d3f Merge main into benibenj/financial-lungfish
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-04 22:46:25 +02:00
Kyle Cutler 3774a5b0f7 Browser: add auto-reload toggle, watch background tabs (#329015)
* Browser: add auto-reload toggle, watch background tabs

* feedback
2026-08-04 20:43:17 +00:00
Rob Lourens 063821f3f5 dialogs: show Copilot package versions in About (#329027)
Stamp the locked Copilot runtime and SDK versions into product metadata so the native About dialog can report the exact bundled packages in both source and packaged builds.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-04 13:13:44 -07:00
Anthony KimandCopilot 0e09b39743 Require confirmation for git show --output in terminal auto-approval (#329026)
Require confirmation for git show --output

Share the existing Git auto-approval rules across workbench and Agent Host,
and deny automatic approval when git show writes through --output.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: bda42f98-e73f-417f-b7e6-03cff9e2f604
2026-08-04 20:04:56 +00:00
56483175c3 Align chat pill previews with diff counts (#328650)
* Initial plan

* Fix chat pill preview and diff alignment

Co-authored-by: justschen <54879025+justschen@users.noreply.github.com>

* update to be less bold

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: justschen <54879025+justschen@users.noreply.github.com>
Co-authored-by: justschen <justchen@microsoft.com>
2026-08-04 19:57:33 +00:00
Giuseppe Cianci a12a57df52 sessions: add per-session Codex model providers (#328461)
* agentHost: update Codex to 0.146.0

Update the packaged Codex runtime and protocol-generation pin together, regenerate the app-server types, and adapt the handwritten integration to the updated schema.

* sessions: add per-session Codex model providers

Expose ChatGPT account state and subscription usage, add provider-qualified Copilot and ChatGPT model inventories, persist selections per session, and route Codex requests through each session's selected provider.

* sessions: simplify provider account usage

* agentHost: fix Codex model provider E2E expectation
2026-08-04 19:57:29 +00:00
Aaron MungerandCopilot f7afe5dd5c agentHost: Track tool result size and model (#328866)
* agentHost: Track tool result size

Add a serialized result-size measurement to languageModelToolInvoked so Agent Host telemetry preserves tool response-size analysis without duplicating the legacy event schema.

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

* agentHost: Add model to tool telemetry

Track the resolved usage model and turn identifier on Agent Host tool invocation events. Preserve Auto as the selection kind while applying the existing trusted, BYOK, and unknown model privacy treatment.

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

* agentHost: Wait for resolved tool model

Defer tool invocation telemetry until usage supplies the resolved model, with turn-end fallback and explicit cleanup for chat, session, and subagent disposal paths.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-04 19:32:48 +00:00
Megan Rogge 43db17b41c Stop dictation when submitting chat input (#329017) 2026-08-04 15:07:51 -04:00