Commit Graph
4993 Commits
Author SHA1 Message Date
Henning DieterichsandHenning Dieterichs c1d2babd1d regiters markdown editor commands as vscode commands, so that shortcuts can be customized 2026-08-07 10:42:53 +02:00
8831478021 agentHost: run E2E suites in parallel (#329314)
* agentHost: run E2E suites in parallel

Run the deterministic conformance and provider entrypoints concurrently while preserving serial server reuse within each suite. Integrate the parallel runner into coverage and full integration runs.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* agentHost: harden parallel E2E runner

Preserve Windows argument boundaries through a PowerShell wrapper and fail coverage runs when a worker does not emit protocol-surface observations.

(Written by Copilot)

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

* agentHost: stabilize terminal clear E2E test

Wait for a marker that appears only in command output, not in the shell's echoed input, before clearing terminal state.

(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-06 07:15:51 -07:00
vs-code-engineering[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>Anthony KimAnthony Kim
6b58ab53aa chore: bump @github/copilot to 1.0.79-2 (#329152)
* chore: bump @github/copilot to 1.0.79-2

* fix: pin @github/copilot to 1.0.79-2 exactly

Caret range ^1.0.79-2 resolved to a canary build during lockfile
validation. Pin the prerelease so package-locks stay deterministic.

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Anthony Kim <anthonykim@microsoft.com>
Co-authored-by: Anthony Kim <62267334+anthonykim1@users.noreply.github.com>
2026-08-05 21:41:33 -07:00
Megan RoggeandGitHub 63f64cda22 Update Codicons to 0.0.46-31 (#329268)
* Update Codicons to 0.0.46-31

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

Copilot-Session: 5acd6499-25c6-4115-98a7-6183cbd1a60f

* Update web Codicons dependency

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

Copilot-Session: 5acd6499-25c6-4115-98a7-6183cbd1a60f

---------

Copilot-Session: 5acd6499-25c6-4115-98a7-6183cbd1a60f
2026-08-06 02:22:14 +00:00
4fd51574d3 Bump xterm to 6.1.0-beta.292 (#329126)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 9d367c87-577d-437d-a992-f97bfa2446eb
2026-08-05 16:09:53 +00:00
vs-code-engineering[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>vs-code-engineering[bot] <122617954+vs-code-engineering[bot]@users.noreply.github.com>CopilotPaul
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
Logan RamosandGitHub 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
Giuseppe CianciandGitHub 8866080162 agentHost: update Codex to 0.146.0 (#328962)
Update the packaged Codex runtime and protocol-generation pin together, regenerate the app-server types, and adapt the handwritten integration to the updated schema.
2026-08-04 18:42:40 +00:00
RoboandGitHub 012f594c44 chore: bump node-pty@1.2.0-beta.15 (#328949) 2026-08-04 14:27:43 +00:00
RoboandGitHub 28cf0a82a0 chore: bump electron@42.8.0 (#328712)
* chore: bump electron@42.8.0

* chore: bump distro
2026-08-04 02:51:43 +00:00
Henning DieterichsandGitHub 94e56d98de Update Component Explorer to latest prerelease 2026-08-03 18:04:13 +00:00
vs-code-engineering[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
365903f368 Bump version to 1.133.0 (#328671)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-03 13:43:30 +00:00
vs-code-engineering[bot]GitHubvs-code-engineering[bot] <122617954+vs-code-engineering[bot]@users.noreply.github.com>
47bfc501ed Update distro commit (main) (#328534)
Update distro commit to b2ef7d83

Co-authored-by: vs-code-engineering[bot] <122617954+vs-code-engineering[bot]@users.noreply.github.com>
2026-08-02 13:59:17 -07:00
Rob LourensandGitHub 08fe2b7a97 build: harden validation script contracts (#328584)
* build: harden targeted validation scripts

Reject validation commands that would otherwise succeed without checking files, support multiple stylelint targets, and report validation scope and elapsed time. Document how to avoid redundant typechecking before compilation.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* build: count files entering hygiene checks

Track requested files only when they reach an actual hygiene checker, deduplicate across checker branches, and cover non-checkable assets.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-01 23:36:31 +00:00
vs-code-engineering[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
add330dbd5 chore: bump @github/copilot-sdk to 1.0.9-preview.1 and @github/copilot to 1.0.77 (#328392)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-31 17:07:31 +00:00
Giuseppe CianciandGitHub 4b2897c7cb Add xAI model provider icon (#328413)
* Add xAI model provider icon

* signing commit
2026-07-31 17:02:52 +02:00
31308e8dce bump github/copilot 1.0.76 + SDK 1.0.9-preview.0 (#328161)
* Try bump github/copilot 1.0.76 + SDK 1.0.9-preview.0

* Exclude Copilot mediaremote-adapter from product packaging

CLI 1.0.76 ships a nested macOS MediaRemote helper under
prebuilds/*/mediaremote-adapter that broke darwin universal merge.
Strip it from app/runtime packaging and built-in extension
materialization; voice media-pause detection degrades without it.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 255220ee-f851-47ce-a71d-45db46de336d

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 255220ee-f851-47ce-a71d-45db46de336d
2026-07-30 20:32:44 +00:00
dde569a9f6 Speed up valid-layers-check by ~11x (#328087)
The check took ~257s and would sometimes run out of memory. Two separate
bottlenecks were responsible.

layersChecker.ts built a full in-process ts.Program (15s, 2GB) and then
asked the type checker for a symbol at every property access in the
program, ~2.5M identifiers. Each lookup materialized symbol and type
objects, pushing the heap past 3.6GB, and the alias/containment chain was
then walked per symbol.

It now runs on the TS7 native API that the repo already vendors for
build/lib/tsgo.ts:

- updateSnapshot replaces createProgram, so the program lives in the
  compiler rather than the V8 heap
- the disallowed types are resolved to symbols once up front, turning the
  per-reference check into a local id lookup
- symbol lookups are batched instead of issued one node at a time
- property accesses are prefiltered by member name, so only those that
  could name a member of a disallowed type are resolved at all

That brings it from 48.6s and 3.8GB peak to 11.7s and 0.8GB peak.

The six tsconfig.<layer>.json projects were type checked serially with
TS6, which accounted for the remaining ~208s. They move to the native
compiler and run in parallel in the new layersTypeCheck.ts, taking ~11s.
Concurrency is derived from free memory (the largest project peaks at
~3.5GB) so a memory-constrained machine falls back towards serial
execution rather than swapping.

Verified to report byte-identical violations, including line and column,
against a seeded set covering direct references, import aliases,
inherited members, nested member access and ipcMain.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-29 20:24:47 +00:00
50b1915ca1 Increase layer checker heap limit (#327942)
build: increase layer checker heap

(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-29 02:14:51 +00:00
4b89fd4bdb chore: bump @anthropic-ai/claude-agent-sdk to 0.3.220 (#327892)
Updates the runtime pin in the repo-root devDependencies and the build
pin used to produce the deterministic Claude SDK tarball, plus both
lockfiles.

0.3.220 tightens three test-facing SDK types, so the agent host test
doubles and transcript fixtures are updated to match:

- `Query.interrupt()` now returns `Promise<SDKControlInterruptResponse | undefined>`
- `canUseTool` options now require `requestId`
- `SessionMessage` now requires `parent_agent_id`

No committed replay fixtures needed re-recording: the existing captures
already replay green against the new SDK.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-28 21:27:19 +00:00
Hawk TicehurstandGitHub 0502d65e6d Bump codicons package to 0.0.46-27 and register new icons (#327876)
Bump codicons package and register new icons
2026-07-28 15:20:50 -04:00
RoboandGitHub 4277fad664 chore: bump electron@42.7.1 (#327764)
* chore: bump electron@42.7.1

* chore: bump distro
2026-07-28 06:27:05 +00:00
vs-code-engineering[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
6fdbfab6f7 Bump version to 1.132.0 (#327594)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-27 09:18:05 +00:00
Anthony KimandGitHub f9aad8156e Bump Copilot SDK to 1.0.8 and Copilot to 1.0.73 (#327165)
Bump Copilot SDK to 1.0.8

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

Copilot-Session: 5083fb1f-34d7-44bf-82a1-c4582e57683b
2026-07-24 02:29:26 +00:00
fcdf9915da Update @vscode/codicons to version 0.0.46-24 and add new icons (#327161)
Update @vscode/codicons to version 0.0.46-24 and add new fish and person voice icons

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
2026-07-23 17:41:11 +00:00
Anthony KimandGitHub a7eb7fe0e1 Bump Copilot SDK to 1.0.8 preview (#327054)
* Bump Copilot SDK to 1.0.8 preview

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

Copilot-Session: 5083fb1f-34d7-44bf-82a1-c4582e57683b

* Exclude unused Koffi native modules

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

Copilot-Session: 5083fb1f-34d7-44bf-82a1-c4582e57683b

---------

Copilot-Session: 5083fb1f-34d7-44bf-82a1-c4582e57683b
2026-07-22 16:27:50 -07:00
9fd648ee4e Update codicons version to 0.0.46-23 and add new icons (#326992)
Update codicons version to 0.0.46-23 and add new icons to codicons library

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
2026-07-22 16:18:53 +00:00
Megan RoggeandGitHub eb62e28c3c Dictation: download Foundry Local native runtime on demand (#326839) 2026-07-21 20:51:23 +00:00
Martin AeschlimannandGitHub 3fa380ff09 Revert 326678 and 326718 (#326769)
* Revert "Chat dictation: always use Nemotron model, remove model setting (#326718)"

This reverts commit 6d02468e2c.

* Revert "Dictation: migrate on-device runtime to Foundry Local streaming ASR (#326678)"

This reverts commit 6b3ff3c7f0.
2026-07-21 08:52:50 +00:00
RoboandGitHub 3b3c93912d chore: bump electron@42.7.0 (#326776)
* chore: bump electron@42.7.0

* chore: bump distro
2026-07-21 08:48:49 +00:00
Anthony KimandGitHub c840e22106 Bump xterm to 6.1.0-beta.291 (#326772) 2026-07-21 07:38:21 +00:00
648d169d92 Bump github/copilot 1.0.72 (#326704)
* Bump github/copilot 1.0.72

* need to exclude webview

* Try skipping notification/tools/list_changed

* Capture tool list changes in agent host e2e snapshot

* Filter machine-dependent tools/list_changed notification from AHP snapshots

* Add glob patterns for Copilot Win32 built-in plugins in gulpfile tasks

* Update glob patterns for Copilot Win32 built-in plugins in gulpfile tasks

---------

Co-authored-by: Don Jayamanne <don.jayamanne@outlook.com>
2026-07-21 17:36:26 +10:00
Megan RoggeandGitHub 6b3ff3c7f0 Dictation: migrate on-device runtime to Foundry Local streaming ASR (#326678) 2026-07-20 18:29:05 +00:00
vs-code-engineering[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
f8e9f993cc Bump version to 1.131.0 (#326568)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-20 10:04:21 +00:00
693614c9f2 Add Agent Host E2E coverage and expand protocol scenarios (#326493)
* Add Agent Host E2E coverage and scenarios

(Written by Copilot)

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

* Stabilize Agent Host E2E tests across platforms

(Written by Copilot)

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

* Gate macOS-recorded Agent Host snapshots on Windows

(Written by Copilot)

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

* Use behavior snapshots for Agent Host scenarios

(Written by Copilot)

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-19 16:34:00 +00:00
Megan RoggeandGitHub 51830990ff Chat dictation: support both Whisper and Nemotron models (user-selectable, Whisper default) (#326398) 2026-07-18 02:20:07 +00:00
Christof MartiandGitHub 451e21ee15 Update to @vscode/os-proxy-resolver 0.3.0 (#326337) 2026-07-17 19:57:26 +00:00
Henning DieterichsandHenning Dieterichs d5e96dc67c Fix deterministic Copilot telemetry extraction 2026-07-16 18:33:31 +02:00
Megan RoggeandGitHub 85264502e4 Chat input dictation (speech-to-text) (#326044) 2026-07-16 15:18:06 +00:00
Christof MartiandGitHub ca2e4407da Use @vscode/os-proxy-resolver for additional info (#325916) 2026-07-15 21:42:31 +00:00
Dirk BäumerandGitHub 7e4e91cab4 Adapt to TypeScript 7 (#325757)
* Adapt TypeScript 7

* Ensure that we always call TS7 from spawnTsgo

* Fix package lock file

* tsc - tsc6

* More tsc -> tsc6

* More TSGO conversion

* More moves from tsgo -> tsc

* Fix tsgo resolving in extension folder

* Call TS7 compiler directly

* Update package-lock.json

* Remove tsc:version again
2026-07-14 12:34:04 +02:00
94aab9d0f4 chore: bump windows-process-tree to fix UTF-8 command lines in Process Explorer (#324283)
* chore: bump windows-process-tree to 0.8.0

Picks up microsoft/vscode-windows-process-tree#87, which fixes
process command lines being converted with CP_ACP instead of CP_UTF8,
so non-ANSI characters (e.g. Cyrillic) rendered as ? in the Process
Explorer.

Fixes #219183

* fix: update allow-scripts

---------

Co-authored-by: deepak1556 <hop2deep@gmail.com>
2026-07-13 22:42:48 +00:00
Christof MartiandGitHub ff13883751 Add proxy auth support to Agent Host (#325614) 2026-07-13 20:31:11 +00:00
Kyle CutlerandGitHub f0d52a9228 Fix OOM error in CI builds (#325678) 2026-07-13 12:43:20 -07:00
vs-code-engineering[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
a4ca0a5e14 Bump version to 1.130.0 (#325543)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-13 10:04:15 +00:00
RoboandGitHub dc7db07400 chore: update electron@42.6.0 (#325428)
* chore: update electron@42.6.0

* chore: update node.js build

* temp: bump distro

* chore: update deb dependencies

* chore: update rpm dependencies

* chore: add missing platform dep to allow-scripts

* chore: bump distro
2026-07-12 20:30:31 +00:00
Don JayamanneandGitHub a10ba5f91d chore: update GitHub Copilot and SDK versions to 1.0.70-0 and 1.0.7-preview.0 respectively across all package files (#325401) 2026-07-11 09:22:43 +00:00
Giuseppe CianciandCopilot 5f3d6235d8 build: verify codex protocol client is regenerated in lockstep
Add a PR CI check that fails when the committed codex app-server protocol
client (src/vs/platform/agentHost/node/codex/protocol/generated/**) does not
match what `codex app-server generate-ts` produces for the @openai/codex
dev-dependency version, but only when a PR actually changes the generated
client or the version pin.

- build/codex/generate-protocol.mjs: export the reusable pieces (generate,
  resolveCodexBinary, readBinaryVersion, readPinnedVersion, paths) and only
  run main() when invoked directly, so the check can import it side-effect
  free. Types provided by generate-protocol.d.mts.
- build/codex/check-protocol-sync.ts: gate on a git diff touching the
  generated dir or codex-version.txt (its README.md excluded — preserved
  across regen), regenerate into a scratch dir with the dev-dependency binary,
  byte-compare against the committed client, and assert the pin matches. Never
  touches the working tree.
- build/codex/test/checkProtocolSync.test.ts: unit tests for the gate + diff
  helpers; wired in via the build/package.json test glob (adds `codex`).
- package.json: `codex:check-protocol` script.
- .github/workflows/pr.yml: run the gated check in the Compile & Hygiene job.
- generated/README.md: document the check.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-10 13:40:10 +02:00
PaulandGitHub 1e9d77576d Add support for replay tests (#324849) 2026-07-09 18:51:35 -07:00
Ladislau SzomoruandGitHub 6231220a62 AgentHost - support git.worktreeIncludeFiles setting (#325118)
* WIP - initial implementation

* Revert changes that are not needed

* Refactor the calculation of paths to be copied

* Fix test

* Add back the test that was removed by mistake
2026-07-09 12:10:04 +00:00