Commit Graph
255 Commits
Author SHA1 Message Date
vs-code-engineering[bot]andgithub-actions[bot] 6c27443ce6 chore: bump @github/copilot-sdk to 1.0.11 and @github/copilot to 1.0.81-0 (#330990)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-15 05:41:30 +00:00
50e03bd878 chore: bump @github/copilot-sdk to 1.0.11-preview.2 and @github/copilot to 1.0.80 (#330782)
* chore: bump @github/copilot-sdk to 1.0.11-preview.2 and @github/copilot to 1.0.80-1

* Adapt agentHost to SDK JsonValue tool-args/settings widening

SDK 1.0.11-preview.2 widened PermissionRequest custom-tool args,
tool.execution_start arguments, callTool arguments, and managed-settings
resolved data from Record<string, unknown> to the recursive JsonValue type.
Migrate the VS Code call sites (and their tests) to the new contract,
narrowing JsonValue back to an object where property access is needed.

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

* Fix Copilot agent host E2E regressions

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

Copilot-Session: e206fce0-c0c1-4d83-8462-4fca8ed4d5cc

* Update Copilot CLI to 1.0.80

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

Copilot-Session: e206fce0-c0c1-4d83-8462-4fca8ed4d5cc

* Isolate Copilot state in smoke tests

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

Copilot-Session: e206fce0-c0c1-4d83-8462-4fca8ed4d5cc

* Isolate Codex state in smoke tests

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

Copilot-Session: e206fce0-c0c1-4d83-8462-4fca8ed4d5cc

---------

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 Wang <8560030+pwang347@users.noreply.github.com>
Copilot-Session: e206fce0-c0c1-4d83-8462-4fca8ed4d5cc
2026-08-14 23:33:28 +00:00
Dileep Yavanmandha 3c33351abb Sandboxing: mxc update to 0.7.0 (#330770)
mxc update to 0.7.0
2026-08-14 00:23:32 +00:00
Vijay Upadya 8bed878286 Re enablenew TAS assignments endpoint with proxy-aware transport fix (#330389)
* Revert "Revert new TAS endpoint changes (#330175)"

This reverts commit f30e3f3600.

* Re-land new TAS assignments endpoint with proxy-aware transport + tas-call telemetry

* bump remote + remote/web to tas-client 0.4.3

* Add tests and feedback update
2026-08-13 05:37:11 +00:00
vs-code-engineering[bot]andgithub-actions[bot] 474febf468 chore: bump @github/copilot to 1.0.79 (#330228)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-12 18:22:07 +00:00
Vijay Upadya f30e3f3600 Revert new TAS endpoint changes (#330175)
* Revert "New TAS assignments endpoint updates (lifecycle, readiness, disposal) (#329736)"

This reverts commit c780ea9613.

* Revert "Add new exp TAS assignments endpoint (/api/v1/assignments) alongside legacy TAS (#329653)"

This reverts commit 58dc612992.

* Fix lockfile: add MIT license fields to reverted tas-client entries
2026-08-11 06:42:09 +00:00
Logan Ramos b30dc6c77e Remove fake prompt discount probe (#330058)
* Remove fake prompt discount probe

* fix package lock
2026-08-10 20:24:44 +00:00
1f1c6417e9 chore: bump @github/copilot-sdk to 1.0.10-preview.0 and @github/copilot to 1.0.79-9 (#329759)
* chore: bump @github/copilot-sdk to 1.0.10-preview.0 and @github/copilot to 1.0.79-9

* Align managed-settings snapshot with SDK 1.0.10 contract

ManagedSettingsResolvedData widened its source union with 'client'/'mixed'
and added an optional clientManaged flag; mirror both on
IAgentHostManagedSettingsSnapshot so the spread in copilotAgent.ts typechecks.

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

* Gate Copilot terminal command-detection E2E test as record-only

The 'custom terminal tool preserves a nonzero shell exit code' test asserts on
live shell-integration state (supportsCommandDetection + OSC 633 command part)
captured from a real PTY in real time, which cannot be preserved across a
deterministic replay; the SDK/CLI bump's altered turn timing surfaced the
non-determinism on the macOS product build. Gate it record-only like the
sibling async shell-lifecycle tests and document it in KNOWN_ISSUES.md.

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

* test: keep terminal metadata E2E enabled

Select bash explicitly on POSIX so the custom terminal test reliably receives OSC 633 command metadata during deterministic replay. Remove the record-only gate and obsolete known-issue entry.\n\nCo-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: Josh Spicer <23246594+joshspicer@users.noreply.github.com>
2026-08-10 12:56:44 -07:00
6fb8150d09 build(deps): bump ip-address from 10.2.0 to 10.4.0 in /remote (#329078)
Bumps [ip-address](https://github.com/beaugunderson/ip-address) from 10.2.0 to 10.4.0.
- [Release notes](https://github.com/beaugunderson/ip-address/releases)
- [Commits](https://github.com/beaugunderson/ip-address/compare/v10.2.0...v10.4.0)

---
updated-dependencies:
- dependency-name: ip-address
  dependency-version: 10.4.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com>
2026-08-07 22:37:08 +00:00
Vijay Upadya 58dc612992 Add new exp TAS assignments endpoint (/api/v1/assignments) alongside legacy TAS (#329653)
* Add new exp TAS assignments endpoint (/api/v1/assignments) alongside legacy TAS

* feedback updates

* Add dispose old client
2026-08-07 21:19:23 +00:00
vs-code-engineering[bot]andgithub-actions[bot] 7dd6daca01 chore: bump @github/copilot-sdk to 1.0.9 and @github/copilot to 1.0.79-6 (#329574)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-07 17:46:54 +00:00
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
Anthony KimandCopilot 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
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 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
Robo 012f594c44 chore: bump node-pty@1.2.0-beta.15 (#328949) 2026-08-04 14:27:43 +00:00
dependabot[bot] 5a467963eb build(deps): bump undici from 7.28.0 to 7.29.0 in /remote (#328826)
Bumps [undici](https://github.com/nodejs/undici) from 7.28.0 to 7.29.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v7.28.0...v7.29.0)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 7.29.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-08-03 14:27:51 -07:00
Henning Dieterichs 94e56d98de Update Component Explorer to latest prerelease 2026-08-03 18:04:13 +00:00
vs-code-engineering[bot]andgithub-actions[bot] 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
Anthony KimandCopilot 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
Anthony KimandCopilot 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
Anthony KimandCopilot 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
Anthony Kim c840e22106 Bump xterm to 6.1.0-beta.291 (#326772) 2026-07-21 07:38:21 +00:00
Anthony KimandDon Jayamanne 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
dependabot[bot] 41fe30d01a build(deps): bump shell-quote from 1.8.4 to 1.10.0 in /remote (#326755)
Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.4 to 1.10.0.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.8.4...v1.10.0)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.10.0
  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-20 20:01:57 -07:00
dependabot[bot] 9400498e77 build(deps): bump tar from 7.5.17 to 7.5.20 in /remote (#326742)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.17 to 7.5.20.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.17...v7.5.20)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.20
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-20 20:00:50 -07:00
Rob LourensandCopilot b7d0a0bb1c Fix remote Agent Host dependency packaging (#326019)
* Fix remote Agent Host dependencies

Include fs-copyfile in REH packages and verify that startup imports are declared in the remote manifest.

(Written by Copilot)

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

* Smoke test packaged remote Agent Host

Launch the packaged Agent Host with its bundled Node after native REH builds and require it to bind a WebSocket listener.

(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-15 23:08:06 +00:00
Shahrier Islam Arhamanddeepak1556 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 Marti ff13883751 Add proxy auth support to Agent Host (#325614) 2026-07-13 20:31:11 +00:00
Robo 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 Jayamanne 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
Don Jayamanne 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
Christof Marti ac3c7f9168 Include proxy config source in telemetry event (#324056) 2026-07-03 21:46:52 +00:00
Don Jayamanne bcb41c82e4 Update @github/copilot-sdk version to 1.0.5 (#323911) 2026-07-01 18:04:23 +00:00
Don JayamanneandCopilot Autofix powered by AI 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 Kim acc4a18ea6 Update xterm.js to 6.1.0-beta.288 (#323792) 2026-06-30 23:16:24 -07:00
Don JayamanneandAnthony Kim 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 Zhao b7e0a87054 chore: run npm audit fix (#323165) 2026-06-29 13:31:39 -07:00
dileepyavan be5b7e42b7 Updates for windows sandboxing (#323062) 2026-06-26 20:18:47 +00:00
Anthony Kim 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
Anthony Kim 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
Tyler James LeonhardtandCopilot e6f4d6c6f2 Avoid CPU-pegging process report in libc detection (#322260)
* Avoid CPU-pegging process report in libc detection

detectLibc() called process.report.getReport() on every Linux process to
tell glibc from musl. That report serializes heap, native stack and libuv
state, and the network/socket enumeration can peg the CPU on busy hosts.

Detect cheapest-first instead: parse the ELF PT_INTERP dynamic-linker path
from the head of /proc/self/exe, then string-match the head of /usr/bin/ldd,
and only fall back to the process report (now with excludeNetwork = true to
skip the expensive libuv section, also inspecting sharedObjects). Default to
glibc when nothing is conclusive.

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

* Read ELF64 offsets as 64-bit with safe-integer guards

Address PR review: e_phoff, p_offset and p_filesz are 64-bit fields in
ELF64. Read them via readBigUInt64LE through a bounded helper that rejects
values past Number.MAX_SAFE_INTEGER, validate e_phentsize covers a full
Elf64_Phdr, and widen the per-entry bounds check to the 8-byte p_filesz.

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

* Use detect-libc package instead of hand-rolled libc detection

Replace the bespoke ELF/ldd/process-report probing in detectLibc() with the
detect-libc package (already present transitively, now a direct dependency).
It performs the same cheapest-first detection and sets process.report's
excludeNetwork flag internally, so the CPU-pegging libuv enumeration is still
avoided without us maintaining the ELF parser. Add detect-libc to the
hasNode import allowlist in eslint.config.js.

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

* Declare detect-libc in remote/package.json

detectLibc() (via agentSdkDownloader) is reached from agentHostServerMain,
so the server/REH build requires detect-libc. It was only present in the
remote node_modules transitively (through @parcel/watcher); declare it
directly to match the root manifest and the direct import.

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

* Rename detectLibc to detectLibcSync

Signal the blocking nature in the name and leave room for a future
promise-based detectLibc that wraps detect-libc's async family(). Update
the agentSdkDownloader consumer and the unit test.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-21 19:43:34 -07:00
Don Jayamanne a0c54ca2e9 Update GitHub Copilot and SDK versions to 1.0.64-0 in package and package-lock files (#322020)
* Update GitHub Copilot and SDK versions to 1.0.64-0 in package and package-lock files

* Increase timeout for CopilotAgent tests to 30 seconds
2026-06-19 16:35:16 +02:00
Don Jayamanne e364243a0d chore: update @github/copilot to version 1.0.63 (#321608)
* chore: update @github/copilot to version 1.0.63 in package.json and package-lock.json

* chore: update @github/copilot to version 1.0.63 in package.json and package-lock.json
2026-06-17 09:35:41 +10:00
Raymond Zhao 42b70f5d09 chore: run npm audit fix (#321005) 2026-06-11 19:38:19 +00:00
Don Jayamanne 847d569028 chore: update @github/copilot and related dependencies to version 1.0.61 (#320868)
* chore: update @github/copilot and @github/copilot-sdk to version 1.0.61 and 1.0.1 respectively

- Bump @github/copilot from 1.0.60 to 1.0.61 in package.json and package-lock.json
- Update @github/copilot-sdk from 1.0.0 to 1.0.1 in package.json and package-lock.json
- Modify postinstall script to copy tgrep files instead of sharp files
- Update tests to include tgrep binaries
- Change model in e2e tests from 'claude-opus-4.7' to 'gpt-5-mini'

* fix: add libm.so.6(GLIBC_2.27)(64bit) to referenceGeneratedDepsByArch
2026-06-11 20:46:55 +10:00
Tyler James Leonhardt f57a83c819 Distribute Claude and Codex agent SDKs via product.json (#320709)
* Add tar to REH dependencies and eslint allowlist

The agent SDK downloader uses node-tar to extract the per-platform
SDK tarballs it downloads from product.json — pure JS, zero native
deps, so the agent host works on every server install footprint
without relying on a system tar binary.

* Distribute Claude and Codex agent SDKs via product.json

Adds IAgentSdkDownloader, which fetches the per-platform Claude
and Codex SDKs from a CDN configured through product.agentSdks
(populated by vscode-distro), verifies the sha256 anchored in
product.json, and caches the extracted root under userDataPath.
Providers register iff the SDK is available — either a dev override
env var or a product.agentSdks entry whose sha256 declares the
current platform. Falls through to today's no-op behavior in OSS
builds with neither.

Tracks microsoft/vscode-internalbacklog#7885.

* Fix lockfiles after merge resolve

The previous merge took upstream's @anthropic-ai/sdk@0.82.0 in
package.json but left the lock file's nested resolution tree
pointing at 0.102.0, so npm ci rejected the workspace. Re-resolve
via npm install. Also adds the remote/package-lock.json entry for
tar that was missed in the first commit.

* Address PR review feedback

- nodeAgentHostStarter: pass process.env (not the local shell-env
  snapshot) to buildAgentSdkEnv so a developer's env-var dev override
  actually wins over a settings value. Matches electronAgentHostStarter.
- agentSdkDownloader: write the .complete sentinel inside tmpDir BEFORE
  the move so cache publish is atomic. A crash between move and
  sentinel-write previously left a wedged cacheDir that subsequent runs
  could not recover from (rename-loser path requires a valid sentinel).
- agentHostBootstrap: register RequestService with the DisposableStore
  so its config-change listener is cleaned up at shutdown.
- agentSdkDownloader.test: build the fixture tarball via node-tar
  (already a dep) instead of spawning the host tar binary; drops the
  bsdtar/gnutar portability surface.
- agentHostMain: comment referenced the renamed VSCODE_AGENT_HOST_*_PATH
  env var; corrected to VSCODE_AGENT_HOST_*_SDK_ROOT.

* Drop test-stub fields not present in @anthropic-ai/sdk 0.82

The earlier merge took upstream's @anthropic-ai/sdk@0.82.0 over the
stash's 0.102.0; some test stubs had been authored on a branch using
0.102.0 and reference fields that don't exist in 0.82
(output_tokens_details, estimated_tokens, diagnostics on BetaMessage).
Strip the optional fields — they're shape-only filler in the test
fixtures and aren't asserted on.
2026-06-10 14:20:12 -07:00
Megan RoggeandMegan Rogge 4b47f077e4 xterm@6.1.0-beta.285 (#320646)
Diff: https://github.com/xtermjs/xterm.js/compare/6.1.0-beta.220...6.1.0-beta.285

Updates @xterm/* from beta.220 to beta.285 (addon-webgl to beta.284, its latest published).

Co-authored-by: Megan Rogge <meganrogge@Megans-MacBook-Pro.local>
2026-06-09 19:04:24 +00:00
Don Jayamanne 8ad4bc41d2 chore: update @github/copilot to version 1.0.60 in package.json and package-lock.json (#320521)
* chore: update @github/copilot to version 1.0.60 in package.json and package-lock.json

* chore: update @github/copilot to version 1.0.60 in package.json and package-lock.json

* test: update feature flag service creation in Copilot CLI tests
2026-06-08 22:25:38 -07:00
Don Jayamanne 764764d15c Update GitHub Copilot and SDK dependencies to latest versions (#319677) 2026-06-03 16:06:08 +02:00