Commit Graph

273 Commits

Author SHA1 Message Date
Don Jayamanne
3b2b5e066d Update GitHub Copilot npm and permission handling (#313364)
* update github copilot npm and update permission handling to use 'approve-once' instead of 'approved'

* Updates

* Fix permissionHelpers tests: update 'approved' to 'approve-once' and fix conditional check

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/6e5d31b2-034c-4c94-8145-c6a5c7c9c81b

Co-authored-by: DonJayamanne <1948812+DonJayamanne@users.noreply.github.com>

* Add setPermissionsRequired to MockCliSdkSession test helper

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/25f015e8-12a6-41d3-84b5-26cc1ef86ea1

Co-authored-by: DonJayamanne <1948812+DonJayamanne@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-04-29 19:07:15 -07:00
Matt Bierner
9569e3727c Restore formatting 2026-04-29 14:59:36 -07:00
Matt Bierner
0f15f3b859 Merge branch 'main' into dev/mjbvz/copilot-ts-go 2026-04-29 13:57:24 -07:00
Tyler James Leonhardt
f5e05a0253 chore: migrate agent-browser to @playwright/cli (#313316)
* chore: migrate agent-browser to @playwright/cli

Replace all uses of the `agent-browser` automation tool with `@playwright/cli`,
which supports `npx @playwright/cli attach --cdp=<port>` for connecting to
Electron/Chromium apps via CDP.

- Rewrite launch SKILL.md files (Code OSS and Copilot variants) with new
  command mappings: attach --cdp, tab-list, snapshot, screenshot --filename,
  fill, press
- Update auto-perf-optimize and chat-customizations-editor skills with
  @playwright/cli commands; fix eval blocks to use IIFE syntax required by
  the new tool
- Migrate testRemoteAgentHost.sh: connect→attach --cdp, snapshot -i→snapshot,
  screenshot path→screenshot --filename=path; verified end-to-end with --skip-message
- Remove agent-browser from extensions/copilot/package.json (covered by root
  devDependency); bump @playwright/cli to ^0.1.9 in root package.json

* fix: add @types/ws as explicit devDependency in copilot extension

Previously pulled in transitively via agent-browser -> webdriver.
Now that agent-browser is removed, @types/ws must be declared directly.
2026-04-29 20:55:11 +00:00
Matt Bierner
4a8cccf2cd Use tsgo for typechecking copilot 2026-04-29 12:24:36 -07:00
Matt Bierner
1c4bbc26c1 Re-run npm i 2026-04-29 09:05:44 -07:00
Matt Bierner
b14478b0fe npm i 2026-04-29 08:51:36 -07:00
Matt Bierner
75d676cce9 Merge branch 'main' into dev/mjbvz/copilot-eslint-unify 2026-04-29 08:00:31 -07:00
Henning Dieterichs
19b3119b33 Pin @github/copilot to exact 1.0.34 and regenerate lockfiles
The previous reverts only changed the spec to ^1.0.34, but the resolved entries in the lockfiles still pointed at 1.0.38 (with 1.0.38 tarballs and integrity hashes). Since ^1.0.34 satisfies 1.0.38, npm ci would still install the broken version. Pin to exact 1.0.34 in all three package.json files and regenerate the lockfiles.
2026-04-29 16:46:30 +02:00
Peng Lyu
f2cc84be85 Revert Copilot CLI version 1.0.34 (#313125)
Co-authored-by: Copilot <copilot@github.com>
2026-04-29 16:46:30 +02:00
Johannes Rieken
40b9c37eef Merge pull request #312688 from microsoft/joh/following-crayfish
refactor: improve formatting verification and update lint-staged commands
2026-04-29 09:38:31 +02:00
Matt Bierner
371c4a0a73 Use root eslint for copilot 2026-04-28 15:20:59 -07:00
Matt Bierner
b1a7a65457 Bump dom purify in extensions
For #313084
2026-04-28 13:35:56 -07:00
Johannes
91e2d5c196 Merge branch 'main' into joh/following-crayfish 2026-04-28 13:45:30 +02:00
vs-code-engineering[bot]
243897eed0 [cherry-pick] Update GitHub Copilot dependency to version 1.0.38 (#312954)
Co-authored-by: vs-code-engineering[bot] <vs-code-engineering[bot]@users.noreply.github.com>
2026-04-28 02:50:26 +00:00
Paul
b712765852 Add support for usage-based billing (#312892) 2026-04-28 02:37:05 +00:00
dependabot[bot]
8e3579d02c Bump postcss from 8.5.6 to 8.5.12 in /extensions/copilot (#312410)
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.6 to 8.5.12.
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.6...8.5.12)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.10
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-27 17:33:34 +00:00
vs-code-engineering[bot]
61fa519123 Bump version to 1.119.0 (#312684) 2026-04-27 09:30:17 -07:00
Johannes
67a41c83bb refactor: improve formatting verification and update lint-staged commands
Co-authored-by: Copilot <copilot@github.com>
2026-04-27 11:06:15 +02:00
Matt Bierner
1a54933643 Revert "Use main eslint config for copilot extension too" 2026-04-23 15:17:22 -07:00
Matt Bierner
74fca4377e Merge pull request #311606 from microsoft/dev/mjbvz/advisory-swallow
Use main eslint config for copilot extension too
2026-04-23 14:29:25 -07:00
dependabot[bot]
8bcec198e1 Bump fast-xml-parser from 5.5.7 to 5.7.1 in /extensions/copilot (#312023)
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.5.7 to 5.7.1.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.5.7...v5.7.1)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-version: 5.7.1
  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>
2026-04-23 16:10:36 +00:00
Don Jayamanne
4e26289a06 fix: update @github/copilot to version 1.0.34 and integrate AutoModeSessionManager in session services (#311650)
chore: update @github/copilot to version 1.0.34 and integrate AutoModeSessionManager in session services
2026-04-21 05:03:45 -07:00
Matt Bierner
ad6844f64d Use main eslint config for copilot extension too
- Moves copilot eslint config into top level eslint config
- Adopts some standard rules
- Suppress a few new shared rules
2026-04-20 22:46:02 -07:00
Raymond Zhao
8974e74593 chore: bump SDK (#311451)
* chore: bump SDK

* Lower version due to breaking changes
2026-04-21 06:32:26 +10:00
Alex Ross
2ac46efee4 Bump version to 1.118.0 (#311304)
* Bump version to 1.118.0

* Fix engine version in lock file

* npm i

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-20 09:07:06 +00:00
Raymond Zhao
8ba4c72aa2 chore: run npm audit fix (#311104) 2026-04-17 15:49:13 -07:00
dependabot[bot]
0f937746f4 Bump dompurify from 3.3.2 to 3.4.0 in /extensions/copilot (#310375)
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.3.2 to 3.4.0.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.3.2...3.4.0)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.4.0
  dependency-type: direct:production
...

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>
2026-04-17 21:06:21 +00:00
dependabot[bot]
8a9f429548 Bump protobufjs from 7.5.4 to 7.5.5 in /extensions/copilot (#311017)
Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) from 7.5.4 to 7.5.5.
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v7.5.4...protobufjs-v7.5.5)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-version: 7.5.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-17 15:49:36 +00:00
dependabot[bot]
db40a9e19d Bump protobufjs, @opentelemetry/exporter-logs-otlp-grpc, @opentelemetry/exporter-logs-otlp-http, @opentelemetry/exporter-metrics-otlp-grpc, @opentelemetry/exporter-metrics-otlp-http, @opentelemetry/exporter-trace-otlp-grpc and @opentelemetry/exporter-trace-otlp-http in /extensions/copilot (#310874)
Bump protobufjs, @opentelemetry/exporter-logs-otlp-grpc, @opentelemetry/exporter-logs-otlp-http, @opentelemetry/exporter-metrics-otlp-grpc, @opentelemetry/exporter-metrics-otlp-http, @opentelemetry/exporter-trace-otlp-grpc and @opentelemetry/exporter-trace-otlp-http

Bumps [protobufjs](https://github.com/protobufjs/protobuf.js) to 7.5.5 and updates ancestor dependencies [protobufjs](https://github.com/protobufjs/protobuf.js), [@opentelemetry/exporter-logs-otlp-grpc](https://github.com/open-telemetry/opentelemetry-js), [@opentelemetry/exporter-logs-otlp-http](https://github.com/open-telemetry/opentelemetry-js), [@opentelemetry/exporter-metrics-otlp-grpc](https://github.com/open-telemetry/opentelemetry-js), [@opentelemetry/exporter-metrics-otlp-http](https://github.com/open-telemetry/opentelemetry-js), [@opentelemetry/exporter-trace-otlp-grpc](https://github.com/open-telemetry/opentelemetry-js) and [@opentelemetry/exporter-trace-otlp-http](https://github.com/open-telemetry/opentelemetry-js). These dependencies need to be updated together.


Updates `protobufjs` from 8.0.0 to 7.5.5
- [Release notes](https://github.com/protobufjs/protobuf.js/releases)
- [Changelog](https://github.com/protobufjs/protobuf.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/protobufjs/protobuf.js/compare/protobufjs-v8.0.0...protobufjs-v7.5.5)

Updates `@opentelemetry/exporter-logs-otlp-grpc` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0)

Updates `@opentelemetry/exporter-logs-otlp-http` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0)

Updates `@opentelemetry/exporter-metrics-otlp-grpc` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0)

Updates `@opentelemetry/exporter-metrics-otlp-http` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0)

Updates `@opentelemetry/exporter-trace-otlp-grpc` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0)

Updates `@opentelemetry/exporter-trace-otlp-http` from 0.212.0 to 0.214.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-js/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-js/compare/experimental/v0.212.0...experimental/v0.214.0)

---
updated-dependencies:
- dependency-name: protobufjs
  dependency-version: 7.5.5
  dependency-type: indirect
- dependency-name: "@opentelemetry/exporter-logs-otlp-grpc"
  dependency-version: 0.214.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-logs-otlp-http"
  dependency-version: 0.214.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-metrics-otlp-grpc"
  dependency-version: 0.214.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-metrics-otlp-http"
  dependency-version: 0.214.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-trace-otlp-grpc"
  dependency-version: 0.214.0
  dependency-type: direct:production
- dependency-name: "@opentelemetry/exporter-trace-otlp-http"
  dependency-version: 0.214.0
  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-04-17 08:14:41 -07:00
dependabot[bot]
5f42e17cf9 Bump hono from 4.12.12 to 4.12.14 in /extensions/copilot (#310373)
Bumps [hono](https://github.com/honojs/hono) from 4.12.12 to 4.12.14.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.12...v4.12.14)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.14
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-16 23:21:15 +00:00
Don Jayamanne
4ab3ca5546 chore: update @github/copilot to version 1.0.28 (#310378)
* chore: update @github/copilot to version 1.0.28

* updates
2026-04-15 21:14:21 -07:00
Don Jayamanne
521013fd76 chore: update @github/copilot to version 1.0.26 and remove unused telemetry binder (#309955)
* chore: update @github/copilot to version 1.0.26 and remove unused telemetry binder

* Update tests
2026-04-15 16:38:35 +10:00
dependabot[bot]
6c3070a885 Bump basic-ftp from 5.2.0 to 5.2.2 in /extensions/copilot (#310011)
Bumps [basic-ftp](https://github.com/patrickjuchli/basic-ftp) from 5.2.0 to 5.2.2.
- [Release notes](https://github.com/patrickjuchli/basic-ftp/releases)
- [Changelog](https://github.com/patrickjuchli/basic-ftp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patrickjuchli/basic-ftp/compare/v5.2.0...v5.2.2)

---
updated-dependencies:
- dependency-name: basic-ftp
  dependency-version: 5.2.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-04-14 23:31:06 +00:00
Ulugbek Abdullaev
593c13a850 copilot: bump esbuild from 0.25.6 to 0.27.2 (#309975)
The copilot extension was using esbuild 0.25.6 (transitive via tsx),
which has a memory leak in long-running watch mode. The esbuild service
process grows to 1-2.7 GB over hours of watch usage, while esbuild
0.27.2 (used by vscode's own build) stays at 7-29 MB even after days.

Add esbuild 0.27.2 as a direct devDependency so the build script
resolves to the fixed version. tsx retains its own nested 0.25.x.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-14 21:46:13 +00:00
Matt Bierner
f8e1706349 Merge branch 'main' into dev/mjbvz/potential-narwhal 2026-04-13 10:24:52 -07:00
Alex Ross
027a4d3ce4 Bump version to 1.117.0 (#309394)
* Bump version to 1.117.0

* npm i

* wait to do engine version bump

* Revert "wait to do engine version bump"

This reverts commit 9db1c0feb6.

* Add Copilot extension tests to Linux/Windows Electron integration test runs

* Remove failing step that we moved to the main build

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-04-13 14:52:32 +02:00
Don Jayamanne
3913b503a3 Update @github/copilot to version 1.0.24 in package.json and package-lock.json (#309257)
* Update Copilot SDK to version 1.0.24

* Updates

* Fix tets

* Fixes
2026-04-12 08:48:34 -07:00
Raymond Zhao
a37ccb456c chore: run npm audit fix (#309045) 2026-04-10 18:53:31 +00:00
Matt Bierner
a3c96b78c9 Npm i 2026-04-09 12:56:40 -07:00
Matt Bierner
0f60dd3e7a Use core vscode*d.ts files for copilot 2026-04-09 10:53:58 -07:00
dependabot[bot]
63c42301f2 Bump basic-ftp from 5.2.0 to 5.2.1 in /extensions/copilot (#308600)
Bumps [basic-ftp](https://github.com/patrickjuchli/basic-ftp) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/patrickjuchli/basic-ftp/releases)
- [Changelog](https://github.com/patrickjuchli/basic-ftp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patrickjuchli/basic-ftp/compare/v5.2.0...v5.2.1)

---
updated-dependencies:
- dependency-name: basic-ftp
  dependency-version: 5.2.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-09 08:43:57 -07:00
João Moreno
537b43cc54 Refactor applyPackageJsonPatch to remove isPreRelease parameter and derive it from VSCODE_QUALITY environment variable; add getDateBasedPatch function for versioning (#308737)
lock versions up
2026-04-09 10:29:36 +00:00
João Moreno
591f06894d Remove husky pre-commit and pre-push hooks; integrate copilot pre-commit checks directly in hygiene function (#308698) 2026-04-09 07:48:18 +00:00
Don Jayamanne
d675efeebd Update Copilot dependency to version 1.0.21 (#308440)
* feat(copilot): update Copilot dependency to version 1.0.21

* Address review comments

* Updates

* Fix tests
2026-04-08 18:48:08 +00:00
dependabot[bot]
3cebc86a32 Bump @hono/node-server from 1.19.10 to 1.19.13 in /extensions/copilot (#308567)
Bumps [@hono/node-server](https://github.com/honojs/node-server) from 1.19.10 to 1.19.13.
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](https://github.com/honojs/node-server/compare/v1.19.10...v1.19.13)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-version: 1.19.13
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-08 18:13:20 +00:00
dependabot[bot]
be2c629601 Bump hono from 4.12.7 to 4.12.12 in /extensions/copilot (#308560)
Bumps [hono](https://github.com/honojs/hono) from 4.12.7 to 4.12.12.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.7...v4.12.12)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-08 17:37:11 +00:00
Logan Ramos
91113ba0f7 Fix Copilot Chat debug experience (#308264) 2026-04-07 21:13:27 +00:00
João Moreno
9700aa12c9 Merge remote-tracking branch 'origin/main' into joao/copilot-builtin 2026-04-07 11:33:02 +02:00
Copilot
777e9a1151 chore: bump @vscode/test-web to ^0.0.80 and run npm audit fix (#5002)
Agent-Logs-Url: https://github.com/microsoft/vscode-copilot-chat/sessions/02ce514d-f6dc-4589-a802-bc94fde78db2

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>
2026-04-06 19:28:41 +00:00