Commit Graph
36 Commits
Author SHA1 Message Date
dependabot[bot]andGitHub 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
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 OrtegaandGitHub 72c29a534a CAPI package update (#318481) 2026-05-27 05:35:29 +00:00
Logan RamosandGitHub a2d2b10956 Long context pricing (#317820)
* Long context pricing

* Fix
2026-05-21 15:00:31 -07:00
Raymond ZhaoandGitHub 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 ZhaoandGitHub 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
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
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 SpicerGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
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]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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
Christof MartiandGitHub f24703087b Update dependencies (#4664) 2026-03-26 14:55:18 +00:00
Christof MartiandGitHub 09126ae9ea WebSocket request/response headers (#4166) 2026-03-03 21:25:38 +00:00
Christof MartiandGitHub 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 LourensandGitHub 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
Christof MartiandGitHub de441dc178 Block power save during chat requests (#3483) 2026-02-05 15:58:22 +00:00
Ulugbek AbdullaevandGitHub 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 MartiandGitHub f492228270 Move chat-lib tests to main src folder (#3004) 2026-01-20 17:05:51 +00:00
Christof MartiandGitHub a2a163471d Cleanup Response (#2876) 2026-01-15 20:28:17 +00:00
Christof MartiandGitHub ed1b99deb4 Fix chat-lib (#2238) 2025-11-27 10:27:29 +00:00
Christof MartiandGitHub 84e2946b3a Fix chat-lib (#2163) 2025-11-24 10:30:32 +00:00
Jeff HunterandGitHub e03523967f fix install script and required package (#2134) 2025-11-21 21:39:21 +00:00
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 MartiandGitHub 160df22b2a Add @anthropic-ai/sdk (#2078) 2025-11-19 12:44:22 +00:00
Christof MartiandGitHub 0f9c634e19 Update @vscode/copilot-api (#2077) 2025-11-19 11:01:08 +00:00
Christof MartiandGitHub 16ec7c3517 Fix chat-lib build (#1854) 2025-11-07 12:36:24 +00:00
Christof MartiandGitHub 6829589966 Version is ignored (#1470) 2025-10-21 15:44:10 +00:00
Christof MartiandGitHub 9c37caf977 Fix updating of dependencies (#1458) 2025-10-21 09:28:52 +00:00
Devraj MehtaandGitHub b0f30861e8 Update repo URL in @vscode/chat-lib package (#1255) 2025-10-07 15:59:11 +00:00
Christof MartiandGitHub feb8766822 Fix telemetry (#1191) 2025-09-29 21:06:05 +00:00
Christof MartiandGitHub 9a4376e1ed Add missing dependency (#985) 2025-09-09 19:40:43 +00:00
Christof MartiandGitHub 044915f2fe Surface ITelemetrySender (#979) 2025-09-09 15:58:21 +00:00
Christof MartiandGitHub 31799df2cc Add missing methods (#881)
* Update @vscode/copilot-api

* Add missing methods

* Omit source
2025-09-03 10:03:36 +00:00
Christof MartiandGitHub 6bb35cdf2c Fix dependencies (#839) 2025-08-29 18:48:37 +00:00
Christof MartiandGitHub 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