Commit Graph
31 Commits
Author SHA1 Message Date
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]andDon Jayamanne 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]andDon Jayamanne 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 HunterandChristof Marti 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
Christof Marti 0f9c634e19 Update @vscode/copilot-api (#2077) 2025-11-19 11:01:08 +00:00
Christof MartiandCopilot 497c81944b Add INESProvider.updateTreatmentVariables() (#1932)
* Add INESProvider.updateTreatmentVariables()

* Update src/lib/node/chatLibMain.ts

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

* Dispose

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-11 22:07:33 +00:00
Christof Marti 16ec7c3517 Fix chat-lib build (#1854) 2025-11-07 12:36:24 +00:00
Christof Marti 6829589966 Version is ignored (#1470) 2025-10-21 15:44:10 +00:00
Christof Marti 9c37caf977 Fix updating of dependencies (#1458) 2025-10-21 09:28:52 +00:00
Devraj Mehta b0f30861e8 Update repo URL in @vscode/chat-lib package (#1255) 2025-10-07 15:59:11 +00:00
Christof Marti feb8766822 Fix telemetry (#1191) 2025-09-29 21:06:05 +00:00
Christof Marti 9a4376e1ed Add missing dependency (#985) 2025-09-09 19:40:43 +00:00
Christof Marti 044915f2fe Surface ITelemetrySender (#979) 2025-09-09 15:58:21 +00:00
Christof Marti 31799df2cc Add missing methods (#881)
* Update @vscode/copilot-api

* Add missing methods

* Omit source
2025-09-03 10:03:36 +00:00
Christof Marti 0be86a82bf Run without actual token (#843) 2025-08-29 21:10:29 +00:00
Christof Marti 6bb35cdf2c Fix dependencies (#839) 2025-08-29 18:48:37 +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