58 Commits

Author SHA1 Message Date
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
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
Peng Lyu
51fdf0fc97 Experiment: copilot cli integration (#1293)
* 💄 experiment

* history building

* 💄 types

* simplify session creation

* update session title

* generate label

* adopt upstream api

* fix build.

* 💄

* create/resume with terminal

* terminal execute command

* support terminal

* Adopt sdk and handle terminal sessions better.

* 💄

* ignore files

* cli auth

* experimental shim

* continue to reduce the potentional size

* 💄

* fix regression.

* Create shims for sharp dependency of @github/copilot

* mcp tool confirmation

* simplify modules.

* 💄 npe

---------

Co-authored-by: Don Jayamanne <don.jayamanne@outlook.com>
2025-10-14 02:16:58 +00:00
Peng Lyu
27db4664a3 Revert "Migrate to @anthropic-ai/claude-agent-sdk (#1257)" (#1298)
This reverts commit a31cfe4bb1.
2025-10-13 03:17:38 +00:00
Ross Wollman
8ab39ea0f1 simulator: use Copilot Chat Token (#1288) 2025-10-10 17:39:14 +00:00
Rob Lourens
a31cfe4bb1 Migrate to @anthropic-ai/claude-agent-sdk (#1257) 2025-10-07 19:47:34 +00:00
Ulugbek Abdullaev
85f87dc477 altAction: feat: show model-proposed next edit (#1158)
* altAction script: fix incorrect await

* altAction: feat: show model-proposed next edit
2025-09-26 10:32:26 +00:00
Robo
54a5246f7b chore: bump zeromq.js (#1138) 2025-09-25 00:43:04 +00:00
Robo
39948c4327 ci: move zeromq.js setup into postinstall (#1136) 2025-09-24 23:48:24 +00:00
Ulugbek Abdullaev
2a236a3a51 nes: remove XTAB_KEY secret pull (#1070) 2025-09-20 18:27:54 +00:00
Ulugbek Abdullaev
c5dde3a559 nes: implement script to convert alternative action to a recording (untested) (#1066) 2025-09-18 22:51:17 +00:00
Christof Marti
044915f2fe Surface ITelemetrySender (#979) 2025-09-09 15:58:21 +00:00
Dirk Bäumer
7d2670d61e Dbaeumer/bare-frog-silver (#899)
* Bring back copilot-client tests

* Move to @vscode/tree-sitter-wasm version 0.0.5-php.1 and adapt latest completions-core
2025-09-04 10:36:48 +00:00
Christof Marti
da801157c6 Fix chat-lib build (#854)
* Fix for Windows

* Windows paths

* All platforms

* bash
2025-08-31 19:04:14 +00:00
Alexandru Dima
8956a62b06 Reuse more code from vscode (#836) 2025-08-29 16:30:23 +00:00
Christof Marti
3b795b1e58 Extract @vscode/chat-lib (#807)
* Extract chat lib

* Extract chat lib

* Add test

* Get test working

* Simulate response

* Fix type issue

* Package

* Cleanup

* Tuck away workspace service

* Include package.json

* Ensure shim is used

* Include tiktoken files in package

* Update @vscode/copilot-api

* Ignore chat-lib
2025-08-29 14:41:27 +00:00
Alexandru Dima
6ddc031f00 Reduce code in /shims/ and rely on code coming in from vscode (#784)
* Reduce code in /shims/ and rely on code coming in from vscode

* update snapshots as a consequence of using MarkdownString from vscode
2025-08-29 14:10:37 +00:00
Rob Lourens
4aad4912eb Enable claude code agents (#734)
* Codex agent test

* more

* Fix model server for openai

* Some improvements

* Fix tool calling

* Get it building again

* Add output delta event

* stuff

* Add claude-code dependency

* Fix

* Clean up copied anthropic types, and message conversion code

* Update cc sdk

* Set up permission MCP server

* Basic mcp permission tool

* Bump version

* Use a chat session provider for claude code

* Use IChatEndpoint instead of ext api lm

* Cleanup

* Bump engine version

* Delete codex tool

* try to fix paths
2025-08-24 05:40:29 +00:00