Raymond Zhao
444aca6149
chore: run npm audit fix ( #323923 )
2026-07-01 20:49:54 +00:00
dependabot[bot]
bf2b215f3b
Bump esbuild, @vitest/coverage-v8, tsx, vite, vite-plugin-wasm and vitest in /extensions/copilot ( #321235 )
...
* Bump esbuild, @vitest/coverage-v8, tsx, vite, vite-plugin-wasm and vitest
2026-06-16 21:20:21 -07:00
dependabot[bot]
158e9ed4a1
Bump shell-quote from 1.8.1 to 1.8.4 in /extensions/copilot/chat-lib ( #321068 )
...
Bumps [shell-quote](https://github.com/ljharb/shell-quote ) from 1.8.1 to 1.8.4.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.8.1...v1.8.4 )
---
updated-dependencies:
- dependency-name: shell-quote
dependency-version: 1.8.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-12 02:23:13 +00:00
dependabot[bot]
064c46b5ce
Bump vitest from 3.2.4 to 3.2.6 in /extensions/copilot/chat-lib ( #320449 )
...
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest ) from 3.2.4 to 3.2.6.
- [Release notes](https://github.com/vitest-dev/vitest/releases )
- [Changelog](https://github.com/vitest-dev/vitest/blob/main/docs/releases.md )
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.6/packages/vitest )
---
updated-dependencies:
- dependency-name: vitest
dependency-version: 3.2.6
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-08 10:51:58 -07:00
Osvaldo Ortega
d53d505759
Render cloud task history from typed session events ( #318646 )
...
* CAPI package update
* Missindg updates
* Missing lock
* Render cloud task history from typed events
- Extract shared session-event-to-chat-parts renderer into
chatSessions/common/sessionEventRenderer.ts so both the Copilot CLI
and Cloud Tasks providers produce identical tool/text formatting.
- Render Task API history via the shared renderer, remapping
custom_agent.* to the equivalent subagent.* names so tool cards,
bash terminal output, edits, search results, MCP results and
subagent groups all render the same way they do in the CLI.
- Match github.com/github/github-ui presentation by suppressing
intermediate assistant.message events that echo tool input/output
and only rendering the final summary message per turn.
* Address review: break circular dep & restore flush timing
- Inject CLI tool-event handlers (processStart/processComplete/
enrichSubagent/isEditToolCall/getEditedUris) into the shared
renderer via a ToolEventHandlers<T> bundle, so common/sessionEventRenderer
no longer imports from copilotcli/. Layering now only flows one way.
- Flush buffered assistant.message_delta chunks at the top of the
CLI loop for non-message events so the session.model_change /
assistant.usage guards see streamed text exactly the way the
pre-extraction code did.
* Missing lock changes
* Revert unintended copilot package manifest edits
* Revert unintended root package manifest edits
* remote package revert
* lock
---------
Co-authored-by: Dmitriy Vasyura <dmitriv@microsoft.com >
2026-05-28 10:59:15 -07:00
Osvaldo Ortega
72c29a534a
CAPI package update ( #318481 )
2026-05-27 05:35:29 +00:00
Logan Ramos
a2d2b10956
Long context pricing ( #317820 )
...
* Long context pricing
* Fix
2026-05-21 15:00:31 -07:00
Raymond Zhao
628e477608
Revert "chore: bump octokit and engine versions" ( #317402 )
...
Revert "chore: bump octokit and engine versions (#317359 )"
This reverts commit 6fe5e43b79 .
2026-05-19 22:57:05 +00:00
Raymond Zhao
6fe5e43b79
chore: bump octokit and engine versions ( #317359 )
...
* chore: bump octokit and engine versions
* Add missing lockfile change
2026-05-19 13:56:35 -07:00
Raymond Zhao
926e9f84b8
chore: npm audit fix ( #317334 )
...
* chore: npm audit fix
* address feedback
2026-05-19 17:49:10 +00:00
dependabot[bot]
ce1ec59f43
Bump @anthropic-ai/sdk from 0.82.0 to 0.91.1 in /extensions/copilot/chat-lib ( #313636 )
...
Bump @anthropic-ai/sdk in /extensions/copilot/chat-lib
Bumps [@anthropic-ai/sdk](https://github.com/anthropics/anthropic-sdk-typescript ) from 0.82.0 to 0.91.1.
- [Release notes](https://github.com/anthropics/anthropic-sdk-typescript/releases )
- [Changelog](https://github.com/anthropics/anthropic-sdk-typescript/blob/main/CHANGELOG.md )
- [Commits](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.82.0...sdk-v0.91.1 )
---
updated-dependencies:
- dependency-name: "@anthropic-ai/sdk"
dependency-version: 0.91.1
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-05 11:10:10 -07:00
dependabot[bot]
ee624d950b
Bump postcss from 8.5.6 to 8.5.12 in /extensions/copilot/chat-lib ( #312573 )
...
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 16:55:00 +00: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
Matt Bierner
5b27b7a752
Remove whitespace edit
2026-04-09 11:00:59 -07:00
Matt Bierner
72c7ba84e0
Merge branch 'main' into dev/mjbvz/potential-narwhal
2026-04-09 10:58:10 -07:00
Christof Marti
16be18337a
Move chat-lib workflow up
2026-04-09 16:27:21 +00:00
Josh Spicer
302255a747
update copilot-api and send event_content ( #4928 )
...
* update copilot-api
* bump @vscode/copilot-api to ^0.2.19 in chat-lib
Agent-Logs-Url: https://github.com/microsoft/vscode-copilot-chat/sessions/90d7cd27-17c0-485e-9c91-26a3be612848
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com >
* Add event_content to RemoteAgentJobPayload
ref https://github.com/microsoft/vscode-copilot-chat/pull/4819
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2026-04-02 17:26:43 +00:00
dependabot[bot]
df87283799
Bump @anthropic-ai/sdk from 0.80.0 to 0.81.0 in /chat-lib ( #4915 )
...
Bumps [@anthropic-ai/sdk](https://github.com/anthropics/anthropic-sdk-typescript ) from 0.80.0 to 0.81.0.
- [Release notes](https://github.com/anthropics/anthropic-sdk-typescript/releases )
- [Changelog](https://github.com/anthropics/anthropic-sdk-typescript/blob/main/CHANGELOG.md )
- [Commits](https://github.com/anthropics/anthropic-sdk-typescript/compare/sdk-v0.80.0...sdk-v0.81.0 )
---
updated-dependencies:
- dependency-name: "@anthropic-ai/sdk"
dependency-version: 0.81.0
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-02 15:02:13 +00:00
dependabot[bot]
e7f16dd0d1
Bump yaml from 2.8.0 to 2.8.3 in /chat-lib ( #4726 )
...
Bumps [yaml](https://github.com/eemeli/yaml ) from 2.8.0 to 2.8.3.
- [Release notes](https://github.com/eemeli/yaml/releases )
- [Commits](https://github.com/eemeli/yaml/compare/v2.8.0...v2.8.3 )
---
updated-dependencies:
- dependency-name: yaml
dependency-version: 2.8.3
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-03-26 16:58:15 +00:00
dependabot[bot]
4f551c7d8e
Bump picomatch from 4.0.3 to 4.0.4 in /chat-lib ( #4717 )
...
Bumps [picomatch](https://github.com/micromatch/picomatch ) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/micromatch/picomatch/releases )
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/picomatch/compare/4.0.3...4.0.4 )
---
updated-dependencies:
- dependency-name: picomatch
dependency-version: 4.0.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-26 15:19:59 +00:00
Christof Marti
f24703087b
Update dependencies ( #4664 )
2026-03-26 14:55:18 +00:00
dependabot[bot]
90bc1458ca
Bump undici from 7.22.0 to 7.24.0 in /chat-lib ( #4402 )
...
Bumps [undici](https://github.com/nodejs/undici ) from 7.22.0 to 7.24.0.
- [Release notes](https://github.com/nodejs/undici/releases )
- [Commits](https://github.com/nodejs/undici/compare/v7.22.0...v7.24.0 )
---
updated-dependencies:
- dependency-name: undici
dependency-version: 7.24.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-03-14 00:51:04 +00:00
Christof Marti
09126ae9ea
WebSocket request/response headers ( #4166 )
2026-03-03 21:25:38 +00:00
Christof Marti
2195d72ce9
Telemetry and stateful marker ( #4097 )
...
* Add WebSocket telemetry
* Use stateful marker
* Update chat-lib package.json
2026-03-02 02:34:55 +00:00
Rob Lourens
5a1c6b7b4d
Update @vscode/copilot-api to 0.2.13 and pass devDeviceId ( #4089 )
...
* Copilot-authored message: Update @vscode/copilot-api to 0.2.13 and pass devDeviceId
* fix tests
2026-02-28 21:42:05 +00:00
dependabot[bot]
410b84ea93
Bump minimatch in /chat-lib ( #4049 )
...
Bumps and [minimatch](https://github.com/isaacs/minimatch ). These dependencies needed to be updated together.
Updates `minimatch` from 3.1.2 to 3.1.5
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5 )
Updates `minimatch` from 10.1.1 to 10.2.4
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.5 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-version: 3.1.5
dependency-type: indirect
- dependency-name: minimatch
dependency-version: 10.2.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 00:15:08 +00:00
dependabot[bot]
7ce44e13ca
Bump rollup from 4.53.3 to 4.59.0 in /chat-lib ( #4012 )
...
Bumps [rollup](https://github.com/rollup/rollup ) from 4.53.3 to 4.59.0.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v4.53.3...v4.59.0 )
---
updated-dependencies:
- dependency-name: rollup
dependency-version: 4.59.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-02-26 23:40:10 +00:00
Christof Marti
de441dc178
Block power save during chat requests ( #3483 )
2026-02-05 15:58:22 +00:00
Ulugbek Abdullaev
e2b748adf8
Fix isCustomTeamDefaultValue type guard to check all required properties ( #3315 )
...
* Fix isCustomTeamDefaultValue type guard to check all required properties
The type guard was only checking for 'defaultValue' and 'teamDefaultValue'
properties, allowing objects missing 'owner' and 'expirationDate' to pass
the check. This caused runtime errors when accessing expirationDate on
incomplete objects.
Now checks for all four required properties of CustomTeamDefaultValue<T>.
* chat-lib: update package to match main package.json
2026-01-30 14:41:52 +00:00
Christof Marti
f492228270
Move chat-lib tests to main src folder ( #3004 )
2026-01-20 17:05:51 +00:00
Ulugbek Abdullaev
5aff59830d
exp: add a filter for team members ( #2979 )
...
* exp: add a filter for team members
* fix test
* fix formatting
* lint-staged: fix: do not lint if there're no files to lint
otherwise, all files in workspace are linted which just causes headache for the committer
* fix test
2026-01-19 15:36:24 +00:00
Christof Marti
a2a163471d
Cleanup Response ( #2876 )
2026-01-15 20:28:17 +00:00
Tyler James Leonhardt
7f5eb1b88f
Validate token endpoint payload ( #2769 )
...
* First Cut of Validating token endpoint payload
To help us get to the bottom of https://github.com/microsoft/vscode/issues/283560
* Include required properties fallback
* fix chat lib tests
* Fix other tests
2026-01-09 20:34:39 +00:00
Ulugbek Abdullaev
04f265596f
completionsFetchService: improve API to prep it for ghost-text use ( #2693 )
...
* fetcherService: change `FetchOptions#json` to be `unknown` instead of `any` and document it
* completionsFetchService: don't use `any`
* completionsFetchService: less logic within service
try reducing logic such that the service's easier to evolve
* completionsFetchService: refactor: cleanup
* address comments
* fix ci
2026-01-01 21:39:00 +00:00
Christof Marti
0c382b3574
Catch up with IAuthenticationService change ( #2605 )
2025-12-16 16:34:07 +00:00
Jeff Hunter
c5285fa9f8
allow speculative requests to be initiated using chat-lib ( #2591 )
2025-12-16 15:52:05 +00:00
Tyler James Leonhardt
c90db9ae49
Move to new auth API shape ( #2595 )
...
This will be more intentional on when one token is needed than the other.
2025-12-15 23:39:33 +00:00
Jeff Hunter
f07bda68c2
remove unnecessary service from test ( #2488 )
2025-12-08 17:12:30 +00:00
Jeff Hunter
eb297311f3
Update completions fallback model id ( #2370 )
...
* update fallback model id for completions to gpt-41-copilot
* update test URL
2025-12-04 16:39:18 +00:00
Christof Marti
81d78b83a4
Fix chat-lib: Include models lookup ( #2366 )
2025-12-03 20:32:35 +00:00
Christof Marti
1904e7246e
Fix chat-lib: Propagate exp update through config event ( #2351 )
2025-12-03 11:01:57 +00:00
Christof Marti
d839bec268
Add fetcher to telemetry events ( #2271 )
2025-11-30 19:38:23 +00:00
Christof Marti
1b0c6c2fa6
Fix experiment lookup ( #2239 )
2025-11-27 10:28:27 +00:00
Christof Marti
ed1b99deb4
Fix chat-lib ( #2238 )
2025-11-27 10:27:29 +00:00
dependabot[bot]
93dfcdc5c8
Bump glob from 11.0.3 to 11.1.0 in /chat-lib ( #2044 )
...
Bumps [glob](https://github.com/isaacs/node-glob ) from 11.0.3 to 11.1.0.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md )
- [Commits](https://github.com/isaacs/node-glob/compare/v11.0.3...v11.1.0 )
---
updated-dependencies:
- dependency-name: glob
dependency-version: 11.1.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: Don Jayamanne <don.jayamanne@outlook.com >
2025-11-25 19:20:47 +00:00
dependabot[bot]
b465a6a9e1
Bump vite from 7.1.5 to 7.1.11 in /chat-lib ( #1450 )
...
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite ) from 7.1.5 to 7.1.11.
- [Release notes](https://github.com/vitejs/vite/releases )
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md )
- [Commits](https://github.com/vitejs/vite/commits/v7.1.11/packages/vite )
---
updated-dependencies:
- dependency-name: vite
dependency-version: 7.1.11
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: Don Jayamanne <don.jayamanne@outlook.com >
2025-11-25 05:48:33 +00:00
Christof Marti
84e2946b3a
Fix chat-lib ( #2163 )
2025-11-24 10:30:32 +00:00
Jeff Hunter
e03523967f
fix install script and required package ( #2134 )
2025-11-21 21:39:21 +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
Christof Marti
160df22b2a
Add @anthropic-ai/sdk ( #2078 )
2025-11-19 12:44:22 +00:00