Commit Graph

1380 Commits

Author SHA1 Message Date
Rob Lourens c4da3df01d Filter out unsupported codex tool type (#1748) 2025-11-01 19:02:33 +00:00
Don Jayamanne 9ae8037d24 Updates (#1745) 2025-11-01 08:58:05 +00:00
Osvaldo Ortega ded9889742 Support for worktree working directory (#1172)
* Support for worktree working directory

* fix merge

* remove unnecessary command

* revert package.json change

* 💄

* copilot cli worktree

* fix default isolation preferrence

* 💄 revert cc worktree integration for now.

* Persist working tree relationship

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2025-10-31 23:39:30 +00:00
Aaron Munger c9669ffac1 unit test for replay parsing (#1744)
* add parsing test

* just directly push to result array

* generate path to find test file
2025-10-31 17:10:09 +00:00
Zhichao Li 15d8d073e7 Fix tool calls property normalization and stream options handling for non-streaming responses (#1732)
* add log

* try streaming false

* try undefined

* correct fix

* correct fix 2

* fixxxx

* consume resp just once

* fix message

* no replacement of content

* clean up but need to make stream configurable for byok

* update

* update
2025-10-31 16:50:33 +00:00
Aaron Munger 143f1c28da no need for regex (#1742) 2025-10-31 15:38:31 +00:00
Martin Aeschlimann c980e6e5e4 add IPromptsService (#1741) 2025-10-31 15:35:45 +00:00
Martin Aeschlimann 8d5ccde8c7 plan prompt: improve 'Open in Editor' (#1740)
* plan prompt: improve 'Open in Editor'

* accept suggestions
2025-10-31 15:05:33 +00:00
Martin Aeschlimann 50a91a7d84 fix savePrompt contribution (#1738)
* fix savePrompt contribution

* update prompt

* Apply suggestions from code review

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-31 15:00:28 +00:00
Dirk Bäumer 20ac697e4e Add support for n context provider ids (#1737)
* Add support for n context provider ids

* Address review comments
2025-10-31 13:39:57 +00:00
Logan Ramos c112726676 Fix hidden auto mode (#1736) 2025-10-31 12:14:15 +00:00
Benjamin Christopher Simmonds ce9a93a109 Support more functionality from the chat extension (#1725) 2025-10-31 09:42:07 +00:00
Alexandru Dima 5730aa7ffe update team setting (#1734) 2025-10-31 09:31:41 +00:00
Connor Peet 7b81eec536 edits: fix race condition that leading to clobbering paralle edits (#1724)
This fixes a race condition that can happen in LM results that contain
multiple edit tool calls. The emission and application of edits is
async, and so it is possible that an edit can be emitted and the next
edit generated before the first edit's changes are propagated to the
extension host's model.

This resolves the issue by keeping, updating, and reusing snapshotted
documents on each turn's prompt context.

cc @DonJayamanne for notebook stuff. This is a little shakier but it
seems to work (and I know NB prefers the separate notebook edit tool
anyway.)
2025-10-31 09:07:07 +00:00
Don Jayamanne a13077b75d Use new env variable for Copilot CLI in terminal (#1731) 2025-10-31 07:37:48 +00:00
Karthik Nadig 097c1dc923 chore: Remove ProxyExperimentEndpoint (#1727)
* remove `ProxyExperimentEndpoint`

* simplify `getAllChatEndpoints`
2025-10-31 05:50:59 +00:00
Bhavya U e639b4fd15 Add Memory tool: implementation (#1728)
* Add Memory tool: implementation, wiring, config, Anthropic beta support, and SDK bump

* Update tests
2025-10-31 04:27:15 +00:00
Don Jayamanne f9ed6387cd Refactor Copilot CLI loading and session management (#1730)
* Move Copilot CLI session out into own file

* Remvoe a few methods

* Updates
2025-10-31 04:23:45 +00:00
Don Jayamanne e03b73d0fd Refactor Copilot CLI loading and model fetching (#1729)
* Refactor loading Copilot CLI npm, and feching Copilot CLI models

* Updates

* Fix test

* Update src/extension/chatSessions/vscode-node/copilotCLIChatSessionsContribution.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-31 03:29:24 +00:00
Karthik Nadig 52cb61ddbb fix: remove thinking content in history for custom model (#1679) 2025-10-31 01:21:23 +00:00
Rob Lourens 78507ca268 Add response rate to log (#1726)
* Add response rate to log

* fix
2025-10-31 00:41:57 +00:00
Peng Lyu b5ff52a6d4 Support file content change part for cloud agent (#1641)
* Support file content change part for cloud agent

* move off Buffer

* 💄
2025-10-30 23:15:48 +00:00
Dirk Bäumer c8eb02ba8b Read context provider Exp values specific to language ID (#1719)
* Read context provider Exp values specific to language ID

* Remove if true
2025-10-30 22:11:18 +00:00
SteVen Batten e5f3898c6c add show in picker exp + refactor (#1723)
* add show in picker exp + refactor

* more concise

* Update src/platform/endpoint/node/modelMetadataFetcher.ts

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

* remove unnecessary async

* no really remove it

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-30 22:07:02 +00:00
Logan Ramos 7b76fcc67e Hide warnings from auto (#1721) 2025-10-30 21:37:52 +00:00
Alexandru Dima bf8d603492 Configure a different model for selfhosting (#1712) 2025-10-30 20:36:24 +00:00
Connor Peet 36977078db edits: adopt edit session tracking for copilot cli (#1718) 2025-10-30 20:21:11 +00:00
Paul 7ec5f0fd9a Pull xAI BYOK models directly from API (#1680)
* add language models support

* Update

* cleaner names

* Update src/extension/byok/vscode-node/xAIProvider.ts

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

* update prompts as well

* PR

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-30 19:56:37 +00:00
SteVen Batten 7df4836475 make copilot-fast callable from api (#1697)
* make copilot-fast callable from api

* Update src/platform/endpoint/common/modelAliasRegistry.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Logan Ramos <loganramos@microsoft.com>
2025-10-30 19:33:13 +00:00
Aaron Munger e25ee3a3a7 more specialized prompt for notebook inline (#1685) 2025-10-30 18:05:59 +00:00
Don Jayamanne 8b877f5db1 Unify terminal contribution descriptions for contributd terminal commands (#1716) 2025-10-30 17:54:40 +00:00
Logan Ramos 1fae237a9f Add more telemtry for auto (#1714)
* Add more telemtry for auto

* Update src/extension/byok/node/openAIEndpoint.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-30 17:51:21 +00:00
Martin Aeschlimann 7713df5870 add savePrompt prompt (#1715) 2025-10-30 17:44:31 +00:00
Sandeep Somavarapu fb68f92ce4 write tests for internal settings validation (#1713) 2025-10-30 17:42:46 +00:00
Bhavya U d40c405c83 Remove raw citation text emission for web search citations (#1710) 2025-10-30 17:28:43 +00:00
Paul a3a569cd00 Remove model (#1668)
* remove

* fix
2025-10-30 17:00:20 +00:00
Logan Ramos 7079283757 Cleanup how auto passes headers (#1711)
* Cleanup how auto passes headers

* Tests?
2025-10-30 16:35:27 +00:00
Ulugbek Abdullaev 8ed2758bd6 nes: refactor: more sane way to tweak response format (#1709) 2025-10-30 15:38:09 +00:00
Ulugbek Abdullaev fe96b6d014 update cache (#1705) 2025-10-30 13:09:03 +00:00
Ulugbek Abdullaev 87d601c0db chore: bump engine to fix compat with core https://github.com/microsoft/vscode/pull/274025 (#1703) 2025-10-30 10:53:22 +00:00
Dirk Bäumer 6c0f008bf2 Bring back completion panel. (#1702)
* Bring back Copilot panel in chat

* Use ICompletionsContextService

* WIP

* Convert to service accessor

* More accessor work

* Some more accessor adaption

* Remove command from UI

* fix service accessors

---------

Co-authored-by: BeniBenj <besimmonds@microsoft.com>
2025-10-30 10:26:28 +00:00
Benjamin Christopher Simmonds 6847091f87 Support service injection for completions (#1698) 2025-10-30 06:50:27 +00:00
Bhavya U eb58023287 Add support for claude web_search tool (#1701)
* Add Anthropic web-search tool support and tool result handling

* Add TODO to handle citations as specialized Citation part

* Update src/extension/byok/vscode-node/anthropicProvider.ts

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

* Guard against missing pendingServerToolCall.toolId when processing web_search tool results in Anthropic provider

* Report citation metadata as LanguageModelToolResultPart for web_search citations in Anthropic provider

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-30 06:50:19 +00:00
Vijay Upadya ff85978509 Update linkifier to navigate to correct method in qualified names (#1604)
* Handle function names correctly

* Few optimizations

* simplification

* Make solution generic

---------

Co-authored-by: vijay upadya <vj@example.com>
2025-10-30 03:32:57 +00:00
Connor Peet 423435b29c edits: integrate claude code edits with our edit session model (#1699)
The extension side of https://github.com/microsoft/vscode/pull/274025
(lockstep w/ main API is not required)
2025-10-30 00:50:20 +00:00
SteVen Batten 2c0422f343 Add experimental reranker service (#1401)
* add remote rerank service

* setup exp

* fix up style

* remove _fallback as this logic can be handled outside for reranker service

* Apply suggestion from @Copilot

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

* rereank in semantic search view

* 💄

* rerank is fire and forget

* 💄

* error logging

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2025-10-29 23:52:01 +00:00
Don Jayamanne 7fc9a5e31a Refactor and add tests to Copilot CLI (#1695)
* Refactor and add tests to Copilot CLI

* address code review

* Address review comments
2025-10-29 14:47:48 +00:00
Don Jayamanne f81995c82d Add type ChatSessionStatus into vscodeTypes (#1694) 2025-10-29 14:43:44 +00:00
Don Jayamanne f65f77650c Remove Copilot CLI information from the terminal (#1692) 2025-10-29 14:35:52 +00:00
Logan Ramos bcc99f6404 Fix auto not properly applying model specific capabilities (#1677)
* Fix auto not properly applying model specific capabilities

* Update src/extension/prompt/vscode-node/endpointProviderImpl.ts

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

* Update src/platform/endpoint/common/autoChatEndpoint.ts

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

* Update src/extension/conversation/vscode-node/languageModelAccess.ts

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

* Fix spelling

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-29 13:07:55 +00:00