Commit Graph
616 Commits
Author SHA1 Message Date
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
24be8b3cb4 chore: npm audit fix (#326903)
Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
2026-07-22 09:23:06 -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
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2ce20beec7 build(deps-dev): bump svgo from 2.8.2 to 2.8.3 (#326884)
Bumps [svgo](https://github.com/svg/svgo) from 2.8.2 to 2.8.3.
- [Release notes](https://github.com/svg/svgo/releases)
- [Commits](https://github.com/svg/svgo/compare/v2.8.2...v2.8.3)

---
updated-dependencies:
- dependency-name: svgo
  dependency-version: 2.8.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-22 00:39:32 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
8a835d9dc2 build(deps-dev): bump linkify-it from 5.0.1 to 5.0.2 (#326883)
Bumps [linkify-it](https://github.com/markdown-it/linkify-it) from 5.0.1 to 5.0.2.
- [Changelog](https://github.com/markdown-it/linkify-it/blob/master/CHANGELOG.md)
- [Commits](https://github.com/markdown-it/linkify-it/compare/5.0.1...5.0.2)

---
updated-dependencies:
- dependency-name: linkify-it
  dependency-version: 5.0.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-22 00:10:19 +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
Raymond ZhaoandGitHub 19e37d7dd4 chore: bump colliding package versions and morgan (#325868) 2026-07-14 22:56:30 +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
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
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
Don JayamanneandGitHub fa84c09861 Bump Copilot npm packages (#324667)
chore: update @github/copilot and @github/copilot-sdk to latest versions

- Bump @github/copilot from ^1.0.67 to ^1.0.69-0 in package.json and package-lock.json.
- Update @github/copilot-sdk from ^1.0.5 to ^1.0.6-preview.1 in package.json and package-lock.json.
- Refactor copilotcliSessionService.ts to use the new AutoModeSessionManager directly, removing compatibility fallback.
- Remove compatibility tests for AutoModeSessionManager in copilotCliSessionService.spec.ts.
- Adjust npm configuration in remote/.npmrc.
2026-07-07 15:16:11 +10:00
vs-code-engineering[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
7bbfe96e44 Bump version to 1.129.0 (#324433)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-06 08:21:14 +00:00
Christof MartiandGitHub ac3c7f9168 Include proxy config source in telemetry event (#324056) 2026-07-03 21:46:52 +00:00
1df3ac5711 Bump @anthropic-ai/claude-agent-sdk to 0.3.198 (#324105)
* Bump @anthropic-ai/claude-agent-sdk to 0.3.198

Bumps the pinned Claude agent SDK from 0.3.187 to 0.3.198 following
build/agent-sdk/README.md: updates the exact version in the build
agent-sdk pin and its lockfile, plus the matching root devDependency
types pin and root lockfile so shipped types and the build-time pin
stay in lockstep.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* Implement Query.reinitialize in test fakes

0.3.198 adds reinitialize() to the SDK's Query interface. Add the
matching stub to the three test doubles that implement Query
(FakeQuery, RoundTripQuery, ImmediatelyDoneQuery), following each
file's existing "not modeled" pattern.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-03 00:41:41 +00:00
Raymond ZhaoandGitHub 444aca6149 chore: run npm audit fix (#323923) 2026-07-01 20:49:54 +00:00
Don JayamanneandGitHub bcb41c82e4 Update @github/copilot-sdk version to 1.0.5 (#323911) 2026-07-01 18:04:23 +00:00
bce3ff255b Update @github/copilot and @github/copilot-sdk to version 1.0.67 and 1.0.5-preview.1 respectively (#323862)
* Update @github/copilot and @github/copilot-sdk to version 1.0.67 and 1.0.5-preview.1 respectively

- Updated package.json and package-lock.json in both root and remote directories to reflect the new versions of @github/copilot and @github/copilot-sdk.
- Modified copilotSessionLauncher.ts to include new hooks in the Copilot session configuration.

* Potential fix for pull request finding

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

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-01 14:07:14 +00:00
Anthony KimandGitHub acc4a18ea6 Update xterm.js to 6.1.0-beta.288 (#323792) 2026-06-30 23:16:24 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>rzhao271
72f712f2ad build(deps): bump @koa/router and @vscode/test-web (#323784)
* build(deps): bump @koa/router and @vscode/test-web

Bumps [@koa/router](https://github.com/koajs/router) to 15.6.0 and updates ancestor dependency [@vscode/test-web](https://github.com/microsoft/vscode-test-web). These dependencies need to be updated together.


Updates `@koa/router` from 14.0.0 to 15.6.0
- [Release notes](https://github.com/koajs/router/releases)
- [Commits](https://github.com/koajs/router/compare/v14.0.0...v15.6.0)

Updates `@vscode/test-web` from 0.0.76 to 0.0.81
- [Release notes](https://github.com/microsoft/vscode-test-web/releases)
- [Changelog](https://github.com/microsoft/vscode-test-web/blob/main/CHANGELOG.md)
- [Commits](https://github.com/microsoft/vscode-test-web/compare/v0.0.76...v0.0.81)

---
updated-dependencies:
- dependency-name: "@koa/router"
  dependency-version: 15.6.0
  dependency-type: indirect
- dependency-name: "@vscode/test-web"
  dependency-version: 0.0.81
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: sync lockfile with cpu-features optional dependency

Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
2026-06-30 16:05:13 -07:00
2bdc0be5a2 Update @github/copilot and related dependencies to version 1.0.66-2 (#323657)
* Update @github/copilot and related dependencies to version 1.0.66-2

- Bumped @github/copilot to version 1.0.66-2 in package.json and package-lock.json.
- Updated optional dependencies for various platforms to match the new version.
- Adjusted @github/copilot-sdk to version 1.0.5-preview.0.
- Enhanced filtering logic in copilotCLITools.ts to include additional attachment types.

* Enhance attachment rendering in CopilotCLISession with additional GitHub attachment types

* Remove optional suppressResumeEvent property from ICopilotResumeSessionLaunchPlan interface

---------

Co-authored-by: Anthony Kim <62267334+anthonykim1@users.noreply.github.com>
2026-06-30 17:49:47 +00:00
Raymond ZhaoandGitHub b7e0a87054 chore: run npm audit fix (#323165) 2026-06-29 13:31:39 -07:00
4b6f5e55bb chore: bump electron@42.5.0 (#321629)
* chore: bump electron@42.4.0

* chore: apply temp dir workaround for short paths

* chore: use 24.15.x for CI node

* chore: update nodejs build

* chore: bump electron@42.5.0

* fix: unblock playwright install on node 24.17

Node 24.16+ made Readable pause()/resume() a no-op on destroyed streams
which makes yauzl 2.x / extract-zip 2.x and older playwright extraction
hang forever.

- extensions/copilot: add "yauzl": "^3.3.1" override (was missed by #318682)
  so electron and @vscode/vsce no longer resolve the broken yauzl 2.10, fixing the
  hung `npm ci` in the Copilot and Extract chat-lib pipelines.
- extensions/copilot: bump electron ^39.8.5 -> ^42.5.0 so its install
  script uses the native @electron-internal/extract-zip instead of extract-zip.
- bump @playwright/test ^1.56.1 -> ^1.61.1 so `playwright install`
  uses the fixed extractor, unblocking the "Download Electron and
  Playwright" step in all electron test pipelines.

* chore: update build

* agentHost: fix macOS sandbox smoke sentinel parsing

On macOS CI, the AgentHost sandbox smoke test resolves the shell to
/bin/sh, which uses the sentinel-based completion path. In that path, the
parser could consume the echoed sentinel command text
(`<<<COPILOT_SENTINEL_..._EXIT_$?>>>`) before the real numeric marker
arrived, causing a false `Exit code: -1` failure even though the command
later completed successfully.

Harden the sentinel parser to ignore echoed/non-numeric sentinel text
and use the latest complete numeric marker instead. Also force the
macOS AgentHost sandbox smoke test to use /bin/sh and assert that in the
suite log so local runs exercise the same path as CI.

Adds a regression test for echoed sentinel command text.

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

* chore: update screenshot baseline after playwright bump

* chore: bump distro

* chore: fix typecheck

* chore: bump distro

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-29 13:53:48 +00:00
vs-code-engineering[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>Giuseppe Cianci
6387b615a0 Bump version to 1.128.0 (#323406)
* Bump version to 1.128.0

* signing commit

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Giuseppe Cianci <gcianci@microsoft.com>
2026-06-29 09:45:37 +00:00
dileepyavanandGitHub be5b7e42b7 Updates for windows sandboxing (#323062) 2026-06-26 20:18:47 +00:00
Anthony KimandGitHub 8a9cd3dd36 Bump Copilot CLI package to 1.0.65 (#322747)
* Bump Copilot CLI package to stable 1.0.64

* Try to bump to 1.0.65 instead

* Remove stale Copilot sdk/worker materialization for 1.0.65

* Update Debian amd64 deps after excluding Copilot native executable

* Remove stale RPM x64 libstdc++ deps after Copilot CLI 1.0.65 packaging

* Prune Copilot SEA executable before CI packaging

* Exclude Copilot SEA executable from packaging stream

* SDK should be 1.0.4
2026-06-25 12:03:54 -07:00
0631fed7dd agentHost: fix subagent transcript replay + bump Claude/Codex SDKs (#322865)
* agentHost: reconstruct prompt-less subagent transcripts on session reopen

The Claude replay mapper only opened a turn on a `user-text` message and
dropped any assistant message that arrived with no active turn. Subagent
transcripts returned by `getSubagentMessages` carry a `parent_tool_use_id`
on every envelope and have no synthetic spawning prompt, so they open
directly with an assistant message — which meant every inner assistant
message (including the subagent's final reply) was dropped and the
transcript reconstructed as zero turns on reopen.

Thread an `isInner` flag (set when `parent_tool_use_id !== null`) through
the parsed assistant message and, when there is no active turn, synthesize
an empty-prompt turn for inner messages instead of dropping them. Top-level
assistant-before-user envelopes remain anomalous and are still dropped, so
the change is scoped strictly to subagent transcripts.

Adds unit fixtures covering the prompt-less subagent transcript shape and
the unchanged top-level drop behavior.

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

* agentHost: enable Codex provider in real-SDK test server

`startRealServer` forwarded `--codex-sdk-root` but never set the Codex
enable flag, and the Codex agent defaults to disabled, so the provider was
never registered and every Codex real-SDK test failed with "No agent
provider registered for: codex". Set `VSCODE_AGENT_HOST_CODEX_AGENT_ENABLED`
on the forked server when a codex SDK root is supplied so the provider
registers for the real-SDK suite.

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

* agentHost: bump Claude (0.3.187) and Codex (0.142.0) SDKs

Update the @anthropic-ai/claude-agent-sdk and @openai/codex devDependencies
(and the build/agent-sdk tarball pins) to 0.3.187 / 0.142.0.

The new Claude SDK adds `setMcpPermissionModeOverride` to the `Query`
interface, so the test doubles that implement `Query` are updated to satisfy
it: `ImmediatelyDoneQuery` (and the `RecordingQuery` that extends it),
`FakeQuery`, and `RoundTripQuery`.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-25 04:08:35 +00:00
Anthony KimandGitHub 1c0b4bea4c Bump Copilot CLI SDK packages to 1.0.64-1 / 1.0.3 (#322645)
* Bump Copilot CLI packages to @github/copilot@1.0.64-1 and @github/copilot-sdk@1.0.3

* Resolve Agent Host Copilot CLI through @github/copilot/bin.copilot

* Materialize @github/copilot/sdk from @github/copilot-<platform> in extension postinstall

* Package @github/copilot-<platform>/copilot for Agent Host and linuxmusl

* Exclude Copilot optional native payloads from extension package

* Scan @github/copilot-*/copilot for Linux package dependencies

* Tighten Copilot SDK 1.0.64-1 attachment and RPC typings

* Increase Copilot SDK native binary scan test timeout

* Update amd64 deb deps for @github/copilot-linux-x64/copilot

* Update arm64 rpm deps for Copilot package layout

* Update x64 rpm deps for @github/copilot-linux-x64/copilot

* Try to fix windows smoke test

* Try to fix platform runtime files for agent host

* exclude copilot computer.node from agent host packaging

* Another attempt to try to get packaging right

* Should only try to load 1.0.64-1

* Try to fix packaing for windows, macos, deb deps

* Update armhf/arm64 deb and x64 rpm Copilot dependency baselines

* Copilot darwin ripgrep universal merge and arm64 rpm deps

* Restore target Copilot SDK prebuilds for built-in extension packaging

* see if changes to gulpfile.reh.ts would help

* dont mess with formatting

* Launch copilot cli from platform index.js and exclude SEA
2026-06-24 06:47:26 -07:00
754537e133 Bump codicons version and add voiceModeCompact icon (#322562)
bump codicons version to 0.0.46-21 and add voiceModeCompact icon

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
2026-06-23 18:24:02 +00:00
0b56f62682 Remove distro PAT (#322052)
* build: derive GitHub token from Monaco GitHub App instead of PAT

Replace the github-distro-mixin-password PAT (subject to 7-day rotation)
with a GitHub App installation token extracted from the persisted checkout
credentials. The token is republished under the same variable name to avoid
churning the many GITHUB_TOKEN consumers, and the distro netrc auth now uses
the x-access-token login.

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

* build: probe vscode-distro checkout via Monaco GitHub App endpoint

Reverts the failed token-extraction approach (1ES persists only a credential
placeholder, so the GitHub App token cannot be read from disk).

Instead validate Option A: add microsoft/vscode-distro as a pipeline repository
resource authenticated via the Monaco GitHub App endpoint, then check out the
exact pinned SHA locally. This probe job confirms the agent can authenticate the
distro checkout and that a local `git checkout <sha>` resolves the pinned commit.

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

* build: check out vscode-distro via Monaco GitHub App instead of PAT

Replace the PAT-based zipball download of the private microsoft/vscode-distro
repository with an agent-authenticated checkout of the distro repository
resource (Monaco GitHub App). The distro is checked out into .build/distro and
the pinned commit from package.json is checked out locally, preserving the
existing contract for mixin-npm.ts / mixin-quality.ts.

Self is pinned to the default sources directory so the added distro checkout
does not relocate it.

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

* build: route vscode-capi and vscode-encrypt through Monaco GitHub App

The github-distro-mixin-password PAT was also (via netrc) authenticating two
other private repositories that are no longer reachable once the netrc is gone:

- vscode-capi: cloned by common/mixin-vscode-capi.yml. Now checked out as a
  Monaco GitHub App repository resource and consumed from .build/vscode-capi.
- vscode-encrypt: a cargo git dependency injected by the distro cli-patches.
  Checked out via the Monaco GitHub App and redirected with git insteadOf to the
  local checkout so cargo (CARGO_NET_GIT_FETCH_WITH_CLI) resolves it without a PAT.

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

* build: also route vsda cargo dependency through Monaco GitHub App

The distro cli-patches inject both vscode-encrypt and vsda as private cargo git
dependencies. Add vsda as a Monaco GitHub App repository resource and redirect it
to a local checkout via git insteadOf, mirroring the vscode-encrypt handling.

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

* build: drop github-distro-mixin-password PAT

Replace the broad github-distro-mixin-password PAT with:
- Monaco GitHub App repo-resource checkouts for private repos
  (vscode-distro, vscode-capi, vscode-encrypt, vsda)
- the public github-token-code-oss secret (vscode-oss-build-secrets
  keyvault) for generic GITHUB_TOKEN rate-limit usages

Copilot now checks out vscode-capi via the Monaco App instead of a
netrc clone; checkDistroCommit derives the distro branch head from the
local checkout instead of the private GitHub API.

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

* build: check out vscode-extensions-loc via Monaco App

The copilot l10n import cloned the private microsoft/vscode-extensions-loc
repository with the distro PAT. Replace it with a Monaco GitHub App
repo-resource checkout (sparse) so no PAT is needed.

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

* build: download prebuilt Electron from Azure Artifacts feed

Replaces the private GitHub release download (which required the
github-distro-mixin-password PAT) with an on-demand fetch from the
vscode-electron-prebuilt Azure Artifacts feed, via the new asset-resolver
support in @vscode/gulp-electron 1.42.0.

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

* build: resolve private vsda/vscode-encrypt git deps via local checkouts

The distro's npm postinstall and the CLI cargo patches both depend on the
private microsoft/vsda and microsoft/vscode-encrypt repositories. Now that the
distro PAT/.netrc is gone, redirect their public GitHub URLs (https and ssh) to
local GitHub App checkouts via git insteadOf in download-distro.yml so every job
that consumes the distro can resolve them without a PAT.

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

* build: download Alpine musl Node.js from Azure Artifacts feed

The Alpine build downloaded the musl Node.js tarball from the private
microsoft/vscode-node GitHub releases, which the public github-token-code-oss
cannot access. Consume the new vscode-node Azure Artifacts feed via
az artifacts universal download instead (authenticated with System.AccessToken),
mirroring the Electron prebuilt download.

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

* build: resolve private vscode-regexp-languagedetection git dep via local checkout

The distro's npm dependencies reference microsoft/vscode-regexp-languagedetection
in addition to microsoft/vsda. Check it out via the Monaco GitHub App and redirect
its public GitHub URL (https and ssh) to the local checkout so the distro npm
postinstall resolves it without a PAT.

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

* build: download server Node.js from Azure Artifacts feed

Fetch the prebuilt server (reh) Node.js binaries on demand from the
vscode-node Azure Artifacts feed (gated on VSCODE_NODEJS_INTERNAL_FEED)
instead of from a private GitHub release, so the build no longer needs a
long-lived PAT. Extracts the shared az universal-package download helper
into build/lib/azureFeed.ts, reused by the Electron resolver. Bumps the
server node ms_build_id to 449655 to match the feed.

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

* build: resolve distro private git deps inside the Alpine container

The Alpine server build installs the distro's npm dependencies (which
reference the private vsda and vscode-regexp-languagedetection git repos)
inside a docker container. The host git insteadOf redirects are not
visible there and use host paths, so emit a container-pathed gitconfig
(.build/.gitconfig-distro) from download-distro.yml and bind-mount it as
/root/.gitconfig, replacing the now-unused .netrc mount.

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

* build: use Electron/Node feeds job-wide and fix cmd.exe git redirect

Promote VSCODE_ELECTRON_PREBUILT_FEED, VSCODE_NODEJS_INTERNAL_FEED and
AZURE_DEVOPS_EXT_PAT to job-level variables so every step (including the
integration/smoke test steps that download Electron) resolves binaries
from our Azure Artifacts feeds instead of private GitHub releases.

Also keep the cross-platform private git redirect step to plain 'git
config' invocations so it works in cmd.exe on Windows agents, and move
the bash-only container gitconfig generation into a Linux-only step.

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

* build: pin server Node.js to build 438265 to match distro checksums

The distro overlays build/checksums/nodejs.txt with checksums for the
original 24.15.0-438265 Node.js build (including the Alpine musl binary,
whose contents differ from later rebuilds). Republish the original
438265 artifacts to the vscode-node Azure Artifacts feed and pin
ms_build_id back to 438265 so feed downloads match the pinned checksums.

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

* build: require ADO org/project from pipeline env vars

Resolve the Azure Artifacts organization and project from the
SYSTEM_COLLECTIONURI / SYSTEM_TEAMPROJECT pipeline variables (the
predefined System.CollectionUri / System.TeamProject), failing fast if
either is missing instead of falling back to hardcoded values.

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

* refactor: remove internal feed variables for Node.js and Electron from build configurations

* build: scope AZURE_DEVOPS_EXT_PAT to individual steps

Move the System.AccessToken propagation out of the job-level variables in
the alpine/darwin/linux/win32 product-build jobs and onto only the steps
that actually download Electron or Node.js from the Azure Artifacts feeds.
Adds it to the test 'Download Electron and Playwright' step (the sole feed
download outside the compile templates); every other download step already
declared it at step scope.

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

* :lipsitck:

* update distro

* build: declare vscode-capi for SDL scan in copilot recovery pipeline

The Copilot build steps now check out microsoft/vscode-capi via the Monaco
GitHub App (instead of a PAT). The product-copilot-recovery pipeline extends
the 1ES extension template, which requires every checked-out repository to be
declared under sdl.sourceRepositoriesToScan. Re-declare the template's default
excludes plus capi to fix 'repository "capi" ... has not been specified'.

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

* refactor: add assertDistroCheckout function to validate vscode-distro checkout

* build: fix NPM registry corruption in copilot recovery pipeline

setup-npm-registry.ts silently substituted the literal string "undefined"
into package-lock.json resolved URLs when invoked without a registry URL,
producing build/undefined<pkg>/... paths that npm ci could not resolve.

- Fail fast in setup-npm-registry.ts when no registry URL is provided.
- Set NPM_REGISTRY=none in product-copilot-recovery.yml so the shared
  copilot/setup-steps.yml skips its registry rewrite; the 1ES extension
  template already configures the registry via customNPMRegistry.

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

* build: fix self checkout and l10n in copilot recovery pipeline

The 1ES extension template's package job runs import-localized-files before
buildSteps, relying on an implicit self checkout. That implicit checkout is
disabled because copilot/build-steps.yml checks out microsoft/vscode-capi,
so the source tree was missing and the l10n-detection step failed with
'Not found workingDirectory: .../extensions/copilot'.

Mirror product-copilot.yml: check out self at the start of buildSteps, import
translations via copilot/l10n-steps.yml (with the vscode_loc resource), and
disable the template's own l10n jobs/import (l10nShouldProcess: false).

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

* build: exclude vscode build-tooling natives from copilot recovery GLIBC check

The 1ES extension template's GLIBC/GLIBCXX check scans every .node under the
sources root, but only extensions/copilot is packaged into the VSIX. Native
modules outside it (e.g. build/node_modules/tree-sitter) belong to the vscode
build tooling and are never shipped, yet their newer GLIBC/GLIBCXX deps fail
the check. Remove them before the check so it only validates the copilot
extension's own shipped natives, alongside the existing pvrecorder removal.

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

* build: disable sysroot GLIBC check in copilot recovery pipeline

The copilot extension is bundled with esbuild and vendors prebuilt native
modules (@os-theme, @picovoice/pvrecorder-node) that depend on a newer GLIBC
than the 1ES template's sysroot check allows. The main product build ships
these natives without a sysroot or GLIBC check, so set useSysroot: false on the
recovery pipeline's Linux platform for parity, which skips the toolchain setup
and the GLIBC/GLIBCXX verification. Drop the now-unnecessary native-removal
workaround.

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

* fix: update distro version in package.json

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-23 07:22:42 +00:00
Henning DieterichsandHenning Dieterichs 106899a9ae updates component explorer 2026-06-22 16:36:02 +02:00
vs-code-engineering[bot]GitHubgithub-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>Aiday Marlen Kyzy
bfea8226d3 Bump version to 1.127.0 (#322339)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aiday Marlen Kyzy <amarlenkyzy@microsoft.com>
2026-06-22 12:03:16 +00:00