Commit Graph

21153 Commits

Author SHA1 Message Date
Matt Bierner
5e957b6922 Update build ts version 2026-04-08 20:49:29 -07:00
Don Jayamanne
e4f6e11485 chatSessions: optimize workspace changes handling for shared repositories (#308649)
* chatSessions: optimize workspace changes handling for shared repositories

* Updates

* updates
2026-04-08 20:24:58 -07:00
Don Jayamanne
edfbe283a9 feat(copilot): implement session forking using Copilot API with metadata storage and deprecate old forkSession method (#308652)
feat: implement session forking using Copilot API with metadata storage and deprecate old forkSession method
2026-04-08 20:24:20 -07:00
Tyler James Leonhardt
aadb61a877 Use the modelProvider instead looking for claude for Claude agent (#308657)
* Use the modelProvider instead looking for claude for Claude agent

A little cleaner.

* feedback
2026-04-09 03:09:18 +00:00
Tyler James Leonhardt
d632fa37d2 Add oauth section to mcp.json to allow overriding of client id (#308648)
* Add `oauth` section to mcp.json to allow overriding of client id

More properties (like client secret) can come later... but this is the foundation, which is a lot of plumbing...

ref https://github.com/microsoft/vscode/issues/257415

* feedback
2026-04-08 19:40:23 -07:00
Don Jayamanne
99d79c60bf feat(copilot): update session option group handling (#308611)
* feat(copilot): update session option group handling

* Fix tests

* Fixes
2026-04-09 11:17:45 +10:00
dileepyavan
4db687e436 Prompt update for evals (#308641)
* Update hidden Model B agent prompt for evals

* Refine hidden Model B prompt tag structure
2026-04-08 17:16:07 -07:00
Matt Bierner
c61a9b5cef Merge pull request #308631 from mjbvz/dev/mjbvz/straight-barnacle
Add telemetry event for search timeouts
2026-04-08 16:44:55 -07:00
Matt Bierner
5a53dcc899 Merge pull request #308630 from mjbvz/dev/mjbvz/registered-flamingo
Fire chat input state commands with correct arguments
2026-04-08 16:27:45 -07:00
Osvaldo Ortega
8102919404 sessions: support worktree cleanup/recreation on archive state changes (#308621)
Adds worktree deletion on archive and recreation on unarchive for both
the legacy provider API and the new controller API.

- Expose onDidChangeChatSessionItemState on the return value of
  registerChatSessionItemProvider via Object.assign
- Wire up archive/unarchive handling at the V1 registration site in
  chatSessions.ts using the exposed event
- Refresh session items after worktree recreation so changes and stats
  are recomputed in the UI

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-08 16:27:12 -07:00
Ladislau Szomoru
6c60260c98 Sessions - detect GitHub remote (#308620)
* Add context key got GitHub remote

* Sdopt the new context key

* Fix issue with detecting the repository path
2026-04-08 16:26:28 -07:00
Matt Bierner
e21e30f19b Update extensions/copilot/src/platform/workspaceChunkSearch/node/codeSearch/externalIngestIndex.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-08 16:22:39 -07:00
Matt Bierner
e010ff4822 Add telemetry event for search timeouts 2026-04-08 15:49:21 -07:00
Matt Bierner
67410d5990 Fire chat input state commands with correct arguments 2026-04-08 15:41:37 -07:00
Tyler James Leonhardt
361cf36051 Use official APIs for listing subagent messages (#308619)
* Use official APIs for listing subagent messages

* feedback
2026-04-08 22:23:24 +00:00
Tyler James Leonhardt
72a1143f54 Simplify model handling in Claude (#308589)
* Simplify model handling in Claude

It's gotten so complicated and now that we use the built-in model picker, we can simplify this code a lot.

* refactor(claude): remove unused mock class and simplify model retrieval

* Move selecting the endpoint into the IClaudeCodeModels
2026-04-08 21:37:14 +00:00
Ladislau Szomoru
bf472a2811 Sessions - only show "Commit & Sync" and "Sync Changes" action when the branch has an upstream (#308583) 2026-04-08 19:19:17 +00:00
Ross Wollman
2d7de17837 feat(testing): support alternative semantic index endpoints (#308394)
* Add localhost embeddings support for scenario automation

Updates to support semantic search with blackbird in MSBench.

- ScenarioAutomationWorkspaceChunkSearchService: directly calls Blackbird
  localhost:4443 embeddings endpoint bypassing production strategies
- ScenarioAutomationEndpointProviderImpl: add fallback to copilot-base when
  model family resolution fails in scenario automation
- Move IWorkspaceChunkSearchService registration into isScenarioAutomation
  if/else branch in services.ts
- Move IGithubCodeSearchService and IGithubAvailableEmbeddingTypesService
  registrations to shared (non-branched) section

Moved from microsoft/vscode-copilot-chat#3947

Co-authored-by: gryan11 <415784+gryan11@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix scenario automation workspace chunk search review feedback

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/be3a88b1-d355-40f5-94df-a71c1d2429b6

Co-authored-by: rwoll <11915034+rwoll@users.noreply.github.com>

---------

Co-authored-by: gryan11 <415784+gryan11@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: rwoll <11915034+rwoll@users.noreply.github.com>
2026-04-08 19:00:35 +00: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
Don Jayamanne
fc30bdf444 feat(copilot): add AI-generated branch names (#308441) 2026-04-09 04:32:05 +10:00
Vijay Upadya
fc67f14caa Fix debug panel subagent display: parallel trace routing, hooks routing (#308574)
* Fix debug panel subagent display: parallel trace routing, hook routing, and event ID collisions

* feedback updates
2026-04-08 18:15:15 +00:00
dependabot[bot]
3cebc86a32 Bump @hono/node-server from 1.19.10 to 1.19.13 in /extensions/copilot (#308567)
Bumps [@hono/node-server](https://github.com/honojs/node-server) from 1.19.10 to 1.19.13.
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](https://github.com/honojs/node-server/compare/v1.19.10...v1.19.13)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-version: 1.19.13
  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-08 18:13:20 +00:00
dependabot[bot]
be2c629601 Bump hono from 4.12.7 to 4.12.12 in /extensions/copilot (#308560)
Bumps [hono](https://github.com/honojs/hono) from 4.12.7 to 4.12.12.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](https://github.com/honojs/hono/compare/v4.12.7...v4.12.12)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.12
  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-08 17:37:11 +00:00
Logan Ramos
ba8d730bd0 Support timing out hung streams (#308517)
* Support timing out hung streams

* Fix tests

* Address comments

* Fix tests
2026-04-08 17:12:01 +00:00
Martin Aeschlimann
5f30c374a7 remove internal skill support (#308467) 2026-04-08 17:51:24 +02:00
Ladislau Szomoru
7f5c298309 Sessions - fix changes view when initializing a repository (#308513) 2026-04-08 14:40:37 +00:00
Martin Aeschlimann
8be4565891 update d.ts in copilot (#308502)
* update d.ts in copilot

* Update extensions/copilot/src/extension/chatSessions/vscode-node/chatCustomAgentsService.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-08 14:19:44 +00:00
Ulugbek Abdullaev
98f116171a nes: add tests for cursor jump and recursion (#308499)
* nes: add tests for cursor jump and recursion

* fix test
2026-04-08 13:37:40 +00:00
Ulugbek Abdullaev
5fe8ed6c17 nes: cleanup: unite params by semantic proximity into entities (#308481) 2026-04-08 14:56:39 +02:00
Ulugbek Abdullaev
5be5cffdef nes: fix: NES cache should respect line endings when applying edits to document contents ' (#308479)
otherwise, cached document contents do not match because of those line endings
2026-04-08 11:17:27 +00:00
dileepyavan
5207a1ab20 Update Responses API compaction and telemetry (#308436)
* fixing compaction

* Update extensions/copilot/src/platform/networking/node/chatStream.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-08 11:13:20 +00:00
Henning Dieterichs
9f15197f0a Adds memory file path support to the artifacts view 2026-04-08 12:59:52 +02:00
Martin Aeschlimann
f0069609a2 convert built-in prompt files to skills (#308472) 2026-04-08 12:59:32 +02:00
Ladislau Szomoru
147c6066ec Sessions - add noTrack option to worktree creation and adopt new option (#308471) 2026-04-08 12:58:07 +02:00
Ulugbek Abdullaev
b7edac1b5f nes: feat: implement early cancellation if user's cursor-line changes are not a subset of model-proposed change to cursor-line 2026-04-08 12:37:24 +02:00
Johannes Rieken
1e4cd5fa2f Merge pull request #308470 from microsoft/joh/inline-chat-skip-schema-normalization
inline chat: skip normalizeToolSchema for internal tools
2026-04-08 11:54:58 +02:00
Johannes
19e70a821d inline chat: skip normalizeToolSchema for internal tools 2026-04-08 11:30:50 +02:00
Christof Marti
89e986ac9e Fix: Request id changes over lifetime of WebSocket connection (#298236) 2026-04-08 09:04:53 +00:00
Martin Aeschlimann
724c5c7516 CopilotCloudSessionsProvider to use IFileSystemService for reading agent files (#308459) 2026-04-08 09:03:38 +00:00
Ulugbek Abdullaev
630cbcfafc nes: clipping strategy is AroundEditRange (#308451) 2026-04-08 08:27:12 +00:00
Christof Marti
bd9c0c4919 Fix flaky test 2026-04-08 08:13:59 +00:00
Christof Marti
43f7117748 Surface network errors with proxies (microsoft/vscode#298236) 2026-04-08 08:13:59 +00:00
Don Jayamanne
b0ee7a156a Copilot CLI: Controller API Changes (#308435)
* Copilot CLI: Controller API Changes

* Fix tets

* Fix tets

* Update extensions/copilot/src/extension/chatSessions/vscode-node/sessionOptionGroupBuilder.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-04-08 16:21:22 +10:00
Don Jayamanne
0afa58dace feat(copilot): Updated the Copilot CLI options to support a model interface (#308418)
* feat(copilot): Updated the Copilot CLI optoins to support a model interface

* Fix tests
2026-04-07 21:43:05 -07:00
Bhavya U
daf6df8f18 Refine Anthropic prompt resolution and effort defaults (#308415) 2026-04-08 04:15:03 +00:00
Don Jayamanne
b15676b22b Fix answer retrieval logic in UserQuestionHandler to include header fallback (#308413) 2026-04-08 03:27:05 +00:00
Bhavya U
80cb675c3b Refactor enableThinking/reasoningEffort into IModelCapabilityOptions (#308387)
Some checks failed
Component Fixture Tests / Component Fixture Tests (push) Has been cancelled
Monaco Editor checks / Monaco Editor checks (push) Has been cancelled
Code OSS (node_modules) / Compile (push) Has been cancelled
Code OSS (node_modules) / Linux (push) Has been cancelled
Code OSS (node_modules) / macOS (push) Has been cancelled
Code OSS (node_modules) / Windows (push) Has been cancelled
Checking Component Screenshots / Checking Component Screenshots (push) Has been cancelled
* Refactor enableThinking/reasoningEffort into IModelCapabilityOptions

* Strip reasoningEffort from search/execution subagent loops

* Fix stale comment referencing options.enableThinking
2026-04-08 00:08:29 +00:00
Bhavya U
7ab3939bb7 Configure Explore Subagent Enabled (#308324)
* make explore subagent configurable (porting changes from copilot chat repo

Signed-off-by: bhavyaus <bhavyau@microsoft.com>

* Remove redundant onDidTreatmentsChange listener

---------

Signed-off-by: bhavyaus <bhavyau@microsoft.com>
Co-authored-by: Anisha Agarwal <anisagarwal@microsoft.com>
2026-04-07 21:55:38 +00:00
Tyler James Leonhardt
595ef3ed1a Handle hook messages for Claude (#308332)
* Enable `includeHookEvents: true` in SDK query options to receive hook lifecycle messages (`hook_started`, `hook_progress`, `hook_response`) for all hook event types
* Forward through OTel
* Show errors to the user

Follow up from https://github.com/microsoft/vscode-copilot-chat/pull/4689
2026-04-07 14:54:05 -07:00
Bhavya U
c75b65f00e Revert "Refactor enableThinking/reasoningEffort into IModelCapabilityOptions" (#308330)
Revert "Refactor enableThinking/reasoningEffort into IModelCapabilityOptions …"

This reverts commit 6b33538396.
2026-04-07 21:50:23 +00:00