Commit Graph

1341 Commits

Author SHA1 Message Date
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
Logan Ramos 60fb562ad8 Log verbose error (#1683) 2025-10-29 13:06:39 +00:00
Ulugbek Abdullaev 66fc3dc3fd update cache (#1688) 2025-10-29 11:39:45 +00:00
Christof Marti 965bd9c204 Include additional information (#1689) 2025-10-29 11:24:09 +00:00
Johannes Rieken fcbff5831a InlineChatIntent (#1549)
* remove references to old setting `github.copilot.chat.advanced.inlineChat2`

* play with `InlineChatIntent`

* wip

* move things, better/simpler prompt

* cleanup, renames, stuff

* more wip

* done after tool call

* edit and generate stest for new InlineChatIntent

* use codebook for diagnostics

* inline chat fixing stests

* stest run

* remove old Inline2 tests

* remove slash commands for v2, remove the editCodeIntent path for v2

* 💄

* 💄

* Don't use `diagnosticsTimeout` when with inline chat because the new diagnostics will never be read but slow down the result

* fix compile error

* stest run

* update baseline

* prevent some JSON errors from empty output

* unfresh baseline.json

* use `MockGithubAvailableEmbeddingTypesService` in stests

* back to hamfisted skipping of stests

* send telemetry from inline chat intent

* tweak some stests
2025-10-29 10:44:00 +00:00
Zhichao Li cb148993df default change (#1682) 2025-10-28 22:41:42 +00:00
Bhavya U 50d90a1b7c Remove Grok Code alternate prompt experiment and V2 prompt (#1678) 2025-10-28 17:45:12 +00:00
Ulugbek Abdullaev 590db1d97d nes: version 2 for editWouldDeleteWhatWasJustInserted (#1675) 2025-10-28 16:54:10 +00:00
Logan Ramos 4826ad4efd Render auto discount more transparently (#1674) 2025-10-28 15:06:25 +00:00
Logan Ramos 7b836c28f4 Update isBYOK telemetry (#1673) 2025-10-28 14:42:04 +00:00
Dirk Bäumer 3705a219de Write telemetry about context provider stats (#1672)
* WIP

* WIP

* Send context provider telemetry to vscode-chat as well

* Better event name

* Address PR comments
2025-10-28 13:21:35 +00:00
Brigit Murtaugh 05ca76fe48 Update terminology (#1667)
Co-authored-by: Brigit Murtaugh <brmurtau@microsoft.com>
2025-10-28 10:55:50 +00:00
SteVen Batten 305c0e3455 introduce copilot-fast (#1666) 2025-10-27 19:52:34 +00:00
Bhavya U 733e115ad3 update Claude-*-4.5 default prompt (#1665) 2025-10-27 18:03:50 +00:00
Ulugbek Abdullaev 0ea7b0e7f9 nes: refactor: remove ghNearbyNesProvider.ts (#1664)
* nes: refactor: move out `editWouldUndo`

* nes: refactor:  rename file to better reflect what it is
2025-10-27 17:27:26 +00:00
Logan Ramos b005e33eff Hide custom open ai compatible from stable (#1661) 2025-10-27 16:26:17 +00:00
dependabot[bot] cbda5e8f7f Bump playwright from 1.54.0 to 1.56.1 (#1444)
Bumps [playwright](https://github.com/microsoft/playwright) from 1.54.0 to 1.56.1.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.54.0...v1.56.1)

---
updated-dependencies:
- dependency-name: playwright
  dependency-version: 1.56.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>
2025-10-27 15:52:23 +00:00
Benjamin Christopher Simmonds 3dc8dafd54 first round of service injection adoption (#1655) 2025-10-27 15:08:14 +00:00
Ulugbek Abdullaev 0cf5d34f9f nes: use string '1' and '0' for FCV1 exp filter (#1658) 2025-10-27 15:06:45 +00:00
Josh Spicer 0a556bd8f2 remove horizontal line (#1657) 2025-10-27 14:50:54 +00:00
Ulugbek Abdullaev 573b490a3f nes: no log context files without setting (#1656)
* nes: no log context files without setting

* Update src/extension/inlineEdits/vscode-node/components/logContextRecorder.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-27 14:29:56 +00:00
Kyle Cutler d316af6ada Support generating PR descriptions based on a template (#1431)
* Support generating PR descriptions based on a template

* Try fix tests

* Comment

* Update cache
2025-10-27 14:07:07 +00:00
Ulugbek Abdullaev 1581fe3bc4 nes: send telemetry for supersededBy (#1654)
to track down when superseded by item has the same opp id as the item itself
2025-10-27 11:36:14 +00:00
Dirk Bäumer 8151f3ecc8 Return the token on getter. (#1653) 2025-10-27 10:55:28 +00:00
Dirk Bäumer 43d1664c91 Add completions core tests to pre-release and release pipeline (#1652)
* Add completions core test to release and pre-release pipeline

* name -> script

* Use correct script
2025-10-27 10:41:59 +00:00
Dirk Bäumer 45b1b2311a Include completions core test during PR build (#1584)
* Include completions core test during PR build

* Implement a FakeCopilotTokenManager to run completions core test without a GitHub token

* Small naming fix

* Run tests also under Windows

* Fix running Windows tests
2025-10-27 10:01:26 +00:00
Dirk Bäumer 54744e0bce Implement a FakeCopilotTokenManager to run completions core test without a GitHub token (#1651) 2025-10-27 09:21:52 +00:00
Benjamin Christopher Simmonds 5139e5e3b6 fixes https://github.com/microsoft/vscode-internalbacklog/issues/6082 (#1649) 2025-10-27 07:55:17 +00:00
Peng Lyu 369d32529a Custom cloud agent icon (#1648)
* Custom cloud agent icon

* support dark/light theme for icon

* 💄
2025-10-27 05:28:00 +00:00
Rob Lourens 04ced26ff5 Log external chat providers (#1646)
* Log external chat providers
Like Cerebras. We miss usage data though.

* cleanup
2025-10-27 05:18:18 +00:00
Josh Spicer 5ddea63996 fix github.copilot.viewsWelcome.cloudSessionsEmpty.contents (#1640) 2025-10-26 22:34:04 +00:00
Rob Lourens 3ba906bee5 Fixes for message logging in responses proxy (#1628)
* Fixes for message logging in responses proxy

* Safe
2025-10-26 20:22:40 +00:00
Bhavya U e8e99fdea3 Update codeowners (#1638) 2025-10-26 19:59:38 +00:00
Josh Spicer 75c6b7f3b9 Fix uncommitted flow not behaving like other flows (#1618)
* Fix uncommitted flow not behaving like other flows

* handle uncommited changes confirmation.

* isUntitled case

* add satisifies type check

* 💄

---------

Co-authored-by: Peng Lyu <penn.lv@gmail.com>
2025-10-26 17:28:10 +00:00
Peng Lyu 2c4eb0d919 truncate bash scripts when it's generating long files (#1636) 2025-10-26 17:00:05 +00:00
Justin Chen a7906e9da3 add additional metadata for when thinking is done (#1633) 2025-10-26 06:40:54 +00:00
Rob Lourens 4115971593 Remove dead request logging code (#1627)
* Remove dead request logging code
I don't know what PendingLoggedCompletionRequest was used for but it's not used anymore, and removing it hugely simplifies the log to markdown code

* Clean up postOptions usage

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

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

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

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

* Clean up after copilot

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-26 03:52:16 +00:00
Bhavya U 5a3b1b1490 Include claude-haiku-4.5 in file creation reminder (#1626) 2025-10-26 03:47:57 +00:00
Bhavya U 237bb568c9 Add authoring guide for model-specific prompts (#1625)
* Add authoring guide for model-specific prompts

* Update docs/prompts.md

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

* Update docs/prompts.md

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

* Update docs/prompts.md

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-26 03:36:50 +00:00
Rob Lourens 6aa67c8ecb Merge pull request #1623 from microsoft/roblou/acceptable-goldfish (#1624)
Improve logging for responses proxy
2025-10-25 22:21:39 +00:00