* Agent Host changes for agents/adhoc-request-sender-mode-extension-55e2bb6f
* Remove unconfigured react-hooks/exhaustive-deps eslint directive
The eslint-disable directive referenced a rule that isn't registered in
this repo's ESLint config, which caused ESLint to error with
"Definition for rule 'react-hooks/exhaustive-deps' was not found" and
failed the Compile & Hygiene and Copilot - Test CI checks.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Coalesce adhoc tag-decoration rescans with requestAnimationFrame
Rescanning the whole editor text on every content change is wasteful for
bursty updates (e.g. a streamed response). Debounce the decoration update
to at most once per animation frame and cancel any pending frame during
cleanup so the callback can't run after the editor is disposed. The
initial scan stays synchronous so tags are highlighted immediately on mount.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Address PR feedback: dispose token source; validate adhoc request JSON
- adhocRequestSender: always dispose the per-send CancellationTokenSource
in the finally block (separate from the current-send guard) so its
cancellation listeners don't leak across repeated Send/Stop cycles.
- simulationMain: validate and normalize the adhoc request JSON before use
so malformed input (missing/null/wrong-typed model/user/system) yields a
focused error message instead of a thrown stack trace.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* 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
The getEnv.mts error handler only used console.error (stderr), which gets
swallowed by the npm/PowerShell chain on Windows CI agents. Add a
console.log call so the error message appears in Azure DevOps logs.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* 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
* 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.
* fix: improve token handling and user info resolution in CopilotCLISDK
* fix: update GitHub Copilot dependency to version 1.0.56-1
* fix: add missing linux-test-proxy binaries to CopilotCLI SDK upgrade tests
* fix: enhance CopilotCLISDK test setup with mock package implementation and path import
* fix: update GitHub Copilot dependency to version 1.0.57
* fix: add support for 'extension_context' attachment type in chat history and logging
* Ignore the new mxc binaries
* 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
* 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>
* 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>
* 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>
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.
* 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.
* 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>
* 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 :/
* 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>