Commit Graph

74 Commits

Author SHA1 Message Date
Don Jayamanne
b2116077b9 Update GitHub Copilot dependency to version 1.0.54 and enhance CLI session handling
- Updated @github/copilot dependency in package.json and package-lock.json to version 1.0.54.
- Modified postinstall script to include 'cli-native.node' in the file copy process.
- Refactored session management to utilize updated SDK methods for setting authentication info and permissions.
- Improved type definitions and imports for better clarity and maintainability.
- Added tests to ensure new functionality and compatibility with updated SDK.
2026-05-28 11:18:17 +10:00
Anthony Kim
79ff5c49e7 Bump Agent host Copilot CLI to 1.0.49 (#317241)
* Bump Agent host Copilot CLI to 1.0.48

* Copilot Cli to 1.0.48 sdk to 1.0.0-beta.4

* Exclude pvrecorder, foundry-local-sdk, mxc-bin

* Parity for copilot/sharp

* Add back missing binary

* Update dependencies for public copilot cli sdk

* remove icu-native.node for now

* Remove win32-native.node, icu-native.node

* Bump both internal and public to 1.0.49

* Only copy required Copilot SDK prebuilds

* Fix Copilot SDK native binary handling
2026-05-21 23:43:38 +00:00
Anthony Kim
901c4fdb6c Update Copilot CLI to 1.0.48 (#316566)
* Bump version

* Updates

* Updates

* Potential fix for pull request finding

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

* chore: update @github/copilot to version 1.0.48 and enhance file copy logic in postinstall script

* Updates

* updates

* Include other files

* udpates

* updates

* Also filter prebuilds one

* Prune non-target Copilot SDK prebuilds

* Try clean-up

* revert

* try with foundtry, pvrecorder,mxcbin

* try if excluding computer.node helps

* Try if stripping cli signatures would work

* Revert "try if excluding computer.node helps"

This reverts commit c51a9e742f.

* Revert "try with foundtry, pvrecorder,mxcbin"

This reverts commit 4c98422afc.

* build: remove PE signature before patching via rcedit (#316948)

* build: remove PE signature before patching via rcedit

* build: also apply to reh

* Need to update properly

---------

Co-authored-by: Don Jayamanne <don.jayamanne@outlook.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Robo <hop2deep@gmail.com>
2026-05-19 09:50:42 +10:00
Martin Aeschlimann
904c914799 copilot: updateSources (#315005)
* copilot: updateSources

* update
2026-05-07 18:13:04 +02:00
Matt Bierner
371c4a0a73 Use root eslint for copilot 2026-04-28 15:20:59 -07:00
Matt Bierner
1a54933643 Revert "Use main eslint config for copilot extension too" 2026-04-23 15:17:22 -07:00
Matt Bierner
766e6a9698 More fixes
Co-authored-by: Copilot <copilot@github.com>
2026-04-20 23:14:43 -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
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
Don Jayamanne
23699671ae feat: remove Copilot CLI shim and clean up worker file copying (#309681)
* feat: remove Copilot CLI shim and clean up worker file copying

* updates

* oops
2026-04-13 19:41:13 -07:00
Matt Bierner
f8e1706349 Merge branch 'main' into dev/mjbvz/potential-narwhal 2026-04-13 10:24:52 -07: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
Logan Ramos
4c01ed2e76 Stop fetching GHCR pat (#309086)
* Stop fetching GHCR pat

* MAKE IT RED
2026-04-10 19:48:27 +00:00
Alex Ross
8b5518b088 Show combination tool approval args (#308747) 2026-04-10 12:05:03 +02:00
Matt Bierner
8a370f0f75 move under ext src 2026-04-09 13:31:06 -07:00
Matt Bierner
ae4af364ad Fix a few subprojects 2026-04-09 11:39:04 -07:00
Matt Bierner
7c652f23ac Fix chat lib build 2026-04-09 11:25:28 -07:00
Matt Bierner
0f60dd3e7a Use core vscode*d.ts files for copilot 2026-04-09 10:53:58 -07: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
João Moreno
ee6b7639ca Merge remote-tracking branch 'origin/main' into joao/copilot-builtin 2026-04-02 12:31:52 +02:00
Federico Brancasi
c33e376aa0 Allow invoking simulationMain with alternative action input (#4304)
* Allow invoking simulationMain with alternative action input

* Address review comments: rename CLI opts, extract pipeline, fix correctness issues

- Rename CLI options with --train- prefix (--train-input, --train-strategy,
  --train-out, --train-row-offset, --train-worker) and document all options
- Extract runInputPipeline/runInputPipelineParallel to test/pipeline/trainPipeline.ts
- Preserve original row index through parse/replay/prompt pipeline to fix
  sample numbering drift when rows are filtered out
- Fix parseSuggestedEdit: use JSON.parse for escaped text, handle missing delimiter
- Fix line number regex to accept optional space after | (WithoutSpace format)
- Clamp concurrency to >= 1, type samples as ISample[], wrap dispose in try/finally
- Gate verbose logging in loadAndParseInput behind verbose flag
- Use splitLines from existing utility instead of local duplicate

* move nes-datagen to a subcommand

* more code reuse around setting promptStrategy and model config

* Address review: use ResponseFormat, Limiter, assertNever, and raw messages

* minor refactor runPipeline

* finalize

* use POT instead of custom code

* move files from script/ to test/pipeline/

---------

Co-authored-by: ulugbekna <ulugbekna@gmail.com>
2026-03-30 15:44:46 +00:00
Raymond Zhao
212f9d5e17 fix: do not create symlinks on Windows (#4741)
* fix: do not create symlinks on Windows

* Apply suggestion from @Copilot

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-26 23:04:51 +00:00
Tyler James Leonhardt
350ac2aa3d Move .claude creation for testing agent harness to postinstall (#4624)
* Move .claude creation for testing agent harness to postinstall

title says it all.

* fix: simplify symlink creation logic in createClaudeSymlinks function

---------

Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2026-03-26 21:08:58 +00:00
João Moreno
771a44ba4b Run postinstall from esbuild instead of duplicating logic
Instead of duplicating the tiktoken compression and static asset copying
in .esbuild.ts, simply run the postinstall script via tsx. This keeps a
single source of truth for what gets copied to dist/.

Also make the base.sqlite check a warning instead of a fatal error,
since it's a dev-only sanity check that shouldn't block CI builds.
2026-03-22 13:58:13 +01:00
Daniel Rosenwasser
b6aa5a1828 Make development more-friendly for TypeScript 6/7 (#4272)
* Update devcontainer.

* Switch module settings, turn on `noEmit`, and drop explicit `lib`.

* module->namespace

* Switch troublesome packages to use `import = require()` syntax.

* Remove unnecessary declaration file.

* Drop DOM declarations.

* Fix up errors from more restrictive signature of `vscode.l10n.t`.

* Fix chat-lib script - we no longer have that stray file.

* Update dependencies.
2026-03-09 16:28:43 +00:00
Don Jayamanne
19aff91864 Include sdk/definitions/*.yaml files in release (#4107) 2026-03-02 10:25:47 +00:00
Alex Ross
45bbb4f4da The reckoning: Update all the vscode.proposed.*.d.ts files (#3895)
* The reckoning: Update all the vscode.proposed.*.d.ts files
and run the update on post install

* Improve proposed update and check
- Pin it to a commit
- Require that update be run manually, not as post install
- Add PR check

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
2026-02-20 14:06:58 +00:00
Don Jayamanne
60b0d9ca1a Update sources to include date.ts (#3359) 2026-02-02 08:27:31 +00:00
Christof Marti
f492228270 Move chat-lib tests to main src folder (#3004) 2026-01-20 17:05:51 +00:00
Don Jayamanne
dfaa4f6d5f Update Github Copilot to latest version (#2864)
* Update to latest version of Github Copilot CLI

* Use 0.0.381

* Reverts

* Update src/extension/agents/copilotcli/node/copilotcliSession.ts

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

* Updates

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-15 01:36:52 +00:00
Ulugbek Abdullaev
b2ca2cdf06 chore: add a script to clean logs (#2812)
* chore: add a script to clean logs

* Update script/cleanLog.ts

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

* Update script/cleanLog.ts

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

* Update script/cleanLog.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-13 18:24:41 +00:00
Matt Bierner
8ac955f91b Hook up prototype external ingest support (#2618)
* Hook up prototype external ingest support

* User clearer file name

* Fix for merge

* Rename setting

* Move to team internal

* Fix reference

* Copy over wasm file to dist

* Wrong postinstall script :/
2025-12-18 05:53:04 +00:00
Don Jayamanne
cd3d0896dc Fix running windows shell commands in Background Agent (#2468) 2025-12-07 22:47:39 +00:00
Rob Lourens
ca58b7eeec Bump claude-code again (#2413)
* Revert "Revert "Bump claude-code module (#2167)" (#2179)"

This reverts commit 18092fc6a3.

* Try this
2025-12-04 23:42:51 +00:00
Copilot
288fd20100 Replace localize with l10n.t and add ESLint rule to prevent nls imports (#2301)
* Initial plan

* Replace localize with l10n.t and add ESLint rule to prevent nls imports

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* Use named import { l10n } from 'vscode' in nuget.ts

Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>

* replace errorMessage usage with a l10n.t based one

* apply

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TylerLeonhardt <2644648+TylerLeonhardt@users.noreply.github.com>
Co-authored-by: Tyler Leonhardt <tyleonha@microsoft.com>
2025-12-03 04:16:52 +00:00
Rob Lourens
18092fc6a3 Revert "Bump claude-code module (#2167)" (#2179)
This reverts commit c0eceff1c3.
2025-11-25 03:32:38 +00:00
SteVen Batten
c26394e68b remove dep on dev kv client (#2176) 2025-11-25 00:18:03 +00:00
Rob Lourens
c0eceff1c3 Bump claude-code module (#2167)
* Bump claude-code module
Because of CG issue

* Remove

* Fix
2025-11-24 20:15:40 +00:00
Connor Peet
7eaf16a3c2 eng: update analyze edits script for new evals (#2144) 2025-11-21 23:01:24 +00:00
Jeff Hunter
4cbd1042c0 Inline completions in @vscode/chat-lib (#2131)
* Include inline completions in @vscode/chat-lib

* Follow type imports, * exports without "as", and jsxImportSource pragmas for dependency extraction

* update @vscode/chat-lib test configuration

* update chat lib extraction with new path and add context setup for lib

* initial stubs for inline completions test

* round trip test for getInlineCompletions

* remove unused path mappings

* fix type import

* send only original event names for chat-lib telemetry

* fix wasm loading in chat-lib

* have locateFile default to the current dir if the expected parent directory cannot be found

* update to use service injection with completions in chat-lib

* update citation and ExP handling for completions in chat-lib

* hook up enhanced telemetry for chat-lib

* add missing tsx package

* update post-install script to work with pre-built and unbuilt versions of chat-lib and add missing completions dependencies

* remove unneeded try/catch block

* correct typo

* generate package-lock from correct npm version

---------

Co-authored-by: Christof Marti <chrmarti@microsoft.com>
2025-11-21 15:47:14 +00:00
Ulugbek Abdullaev
b1f76d35eb eslint blamer: fix: nicer rendering (#1947) 2025-11-12 11:57:22 +00:00
Ulugbek Abdullaev
2ecc1fbe54 chore: enable no-explicit-any (#1943) 2025-11-12 09:23:24 +00:00
Don Jayamanne
d0f16d6dc2 Remove zeromq and related unwanted notebook execution tests (#1941) 2025-11-12 04:31:49 +00:00
Christof Marti
16ec7c3517 Fix chat-lib build (#1854) 2025-11-07 12:36:24 +00:00
Ulugbek Abdullaev
a108d7f197 altAction: fix: support for csv files & adopt new format of Data (#1543) 2025-10-23 11:21:28 +00:00
Martin Aeschlimann
f2bceb9945 add promptFileParser (#1477) 2025-10-21 21:24:00 +00:00
Martin Aeschlimann
3f4cb59fc5 copy vscode sources, add base/common/yaml (#1468)
* copy vscode sources, add base/common/yaml

* fix tests (due to change of toStringEdit)
2025-10-21 17:22:20 +00:00
Christof Marti
9c37caf977 Fix updating of dependencies (#1458) 2025-10-21 09:28:52 +00:00
Connor Peet
1f89c5b2d7 edits: allow retry flow following in analyzeEdits (#1355) 2025-10-15 21:56:38 +00:00
Connor Peet
ed514427f6 edits: add edit tool logging and small success analyzer tool (#1334) 2025-10-15 02:12:51 +00:00