Commit Graph
144 Commits
Author SHA1 Message Date
Matt Bierner 7da3c60129 Fixes for external ingest (#2778)
* Fixes for external ingest

- Make sure we use relative paths
- Add command to clear
- Avoid requests if the index is already up to date

* Small cleanup
2026-01-10 00:14:12 +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
Don Jayamanne 554a6adfaa Update CLI tests to test terminal commands (#2473)
* Use fs.mkdir with recursive option instead of IFileSystem.createDirectory to account for dir already existing

* Update CLI tests to test terminal commands

* Fixes

* Updates

* More fixes
2025-12-23 08:45:45 +00:00
Don Jayamanne c3083d8402 Give preference to paths in WorkTree (#2542)
* Give preference to paths in WorkTree as opposed to workspace

* fix tests
2025-12-11 22:55:49 +00:00
Johannes RiekenandCopilot 1b8308f1fd Inline chat handles empty selections explicitly (#2535)
* handle empty selection better in inline chat

* stests

* add unit tests

* Update src/extension/prompts/node/inline/inlineChat2Prompt.tsx

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

* stests

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-11 13:50:17 +00:00
Ulugbek Abdullaev 3417fc6d7c update cache (#2533) 2025-12-11 10:36:12 +00:00
Matt Bierner 3c8134184b Enable no-unexternalized-strings in repo (#2448)
Enables the same `no-unexternalized-strings` with have in `vscode` in this repo. This make sure we have a more consistent style across repos and when generating edits
2025-12-05 18:45:12 +00:00
Johannes Rieken 02d7754061 * drive inline chat feedback telemetry from CopilotInteractiveEditorResponse (#2435)
* `CopilotInteractiveEditorResponse.kind` is always 'ok' -> remove it

fixes https://github.com/microsoft/vscode/issues/280959
2025-12-05 13:26:45 +00:00
Ulugbek Abdullaev aee2abe2e1 nes: joint: don't enforce cache delay if document hasn't changed (#2409) 2025-12-04 22:13:16 +00:00
Johannes Rieken 36f0ab1f6f inline chat fixes (#2348)
* make sure the exit-tool is called when nothing else has been called

fixes https://github.com/microsoft/vscode/issues/280775

* tweak inline prompt for better prefix-caching

https://github.com/microsoft/vscode-internalbacklog/issues/6337
2025-12-03 10:14:20 +00:00
Ulugbek Abdullaev 3c78ed81dd nes: support /models on proxy and model picker (#2325) 2025-12-02 14:14:53 +00:00
Matt Bierner 4daa76719c Split up code search files (#2300) 2025-12-01 19:03:24 +00:00
Matt Bierner 79099f491d Re-work code search implementation (#2279)
* init

* Re-work code search implementation

Prepping for future work by making it easier to have individual repos in a workspace handle code search their own way. The previous implementation had gotten kind of unwieldy after we bolted on the ADO support. Extending it further would have made this even worse
2025-12-01 01:28:54 +00:00
Rob Lourens 2307f0294f Custom todo tool description for gpt models (#2274)
Fix #269031
2025-11-30 22:50:43 +00:00
Don Jayamanne e03ab5c0f8 Support image attachments in Copilot CLI (#2270)
* Support image attachments in Copilot CLI

* Fix tests
2025-11-30 05:23:51 +00:00
Johannes Rieken 0231290715 keep intent detection for inline v1 intact (#2264) 2025-11-28 14:29:05 +00:00
Don Jayamanne aa2b9761fb Exclude incorrect workspace chat ref vars for Copilot CLI (#2254) 2025-11-28 06:17:34 +00:00
Ulugbek Abdullaev 71803ce30f nes: support jump-to label (#2248)
* nes: update to latest core API for completions

* nes: support jump-to
2025-11-27 18:41:52 +00:00
Johannes RiekenandCopilot bfc3fe5285 check edit tool results for errors and try again if editing failed (#2246)
* check edit tool results for errors and try again if editing failed

https://github.com/microsoft/vscode/issues/275056

* Update src/extension/prompts/node/inline/inlineChat2Prompt.tsx

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

* fix prompt

* update-baseline

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-27 17:09:20 +00:00
Don JayamanneandCopilot 009c68c9cf When delegating to Copilot CLI do not open chat editor (#2232)
* When delegating to Copilot CLI do not open chat editor

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

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

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

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

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

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

* Address code review

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-27 00:16:11 +00:00
Matt Bierner 6e7e60afd9 Reorganize code search repo management files (#2225)
Splitting these up and making sure we have better separation of concerns between the repo tracker and manager
2025-11-26 20:02:44 +00:00
Don Jayamanne 69064c944d Restore edits for background sessions (#2180) 2025-11-26 12:29:49 +00:00
Don Jayamanne 369b888d45 Support Custom Agents in Copilot CLI (#2200)
* Support Custom Agents in Copilot CLI

* address comments

* Updates

* skip stests
2025-11-26 05:17:45 +00:00
Don Jayamanne 14d8804d99 Move Copilot CLI working directory compulation into common layer and change to URI (#2197) 2025-11-25 23:26:34 +00:00
Don Jayamanne f9a5fd886a Attach untitled files to Copilot CLI (#2185) 2025-11-25 11:53:14 +00:00
Don JayamanneandCopilot 288f24700a Update @github/copilot and add more stests (#2123)
* Update @github/copilot and add more stests

* Updates

* Fixes

* Add more tests

* Fix tests

* Account for new binaries in SDK.

* skip stests

* Update test/e2e/cli.stest.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-24 00:53:41 +00:00
Don Jayamanne c51596fab7 Support cacheable Github Copilot CLI stests (#2101)
* Add cacheable stests for Copilot CLI

* Support cacheable Github Copilot CLI stests

* Fix tests

* Fixes

* Fixes
2025-11-20 10:16:04 +00:00
Johannes Rieken a951ba62d1 fix https://github.com/microsoft/vscode/issues/277850 (#2079) 2025-11-19 15:17:31 +00:00
Johannes Rieken 34393c52c7 Always use github.copilot.editingSessionEditor, enable slash-command based on v2-config (#2060)
* Always use `github.copilot.editingSessionEditor`, enable slash-command based on v2-config

This makes all requests go to the `InlineChatIntent` and it decides (based on the v2-config) if it uses the "old world" for making inline chat requests happen

* re-run tests
2025-11-18 16:57:12 +00:00
Sandeep Somavarapu fedde4f1f1 clean up: (#2040)
* clean up:
- simplify namespaces
- simplify defining settings

* fix unused configs
2025-11-17 14:32:52 +00:00
Don Jayamanne 180901c825 Copy ripgrep files for copilot CLI (#2037)
* Copy ripgrep files for copilot CLI

* Fix path
2025-11-17 05:51:47 +00:00
Don Jayamanne 07a3e71f76 Update @github/copilot to 0.0.336 (#1992)
* fix: export UnknownToolCall type and update its usage in CopilotCLISession

* Update @github/copilot to 0.0.336

* Updates
2025-11-13 21:25:51 +00:00
Johannes Rieken a3a3829ee3 remove temporal context experiment (#1957)
fixes https://github.com/microsoft/vscode-copilot/issues/17115
fixes https://github.com/microsoft/vscode-copilot/issues/12756
fixes https://github.com/microsoft/vscode-copilot/issues/11674
2025-11-12 16:52:08 +00:00
Johannes Rieken 72dc56bdf3 Use cacheBreakpoint for inline chat prompt (#1954) 2025-11-12 16:15:07 +00:00
Don Jayamanne d0f16d6dc2 Remove zeromq and related unwanted notebook execution tests (#1941) 2025-11-12 04:31:49 +00:00
Don Jayamanne ed46cfe7d0 Ensure Copilot CLI session handling is consistent (#1908) 2025-11-11 05:56:12 +00:00
Don Jayamanne ecbc197955 Remove Copilot CLI Session Options (#1894)
* Remove Copilot CLI Session Options

* Fix tests

* Fix tests

* Updates

* Fix tests

* Dispose unwanted readonly sessions
2025-11-10 12:51:32 +00:00
Ladislau Szomoru 69be7776e1 Copilot CLI - publish statistics for session using git worktree (#1874)
* Copilot CLI - publish statistics for session using git worktree

* Refactor things to stage changes

* Fix test

* Pull request feedback

* Fix test

* Another attempt to fix tests
2025-11-10 06:34:43 +00:00
Don Jayamanne ee252003d6 Copilot CLI integration stests (#1889) 2025-11-10 05:20:38 +00:00
Bryan Chen 764f0d6a63 tool can give alternative definition by model (#1400)
* tool can give alternative definition by model

* Pass IChatEndpoint in getEnabledTools for calling tools' alternativeDefinition

* Introduce a ICopilotToolExtension to support override existing built-in tools and provide alternative definition.

* Fix errors

* add gpt-5-codex

* remove gpt-5
2025-11-07 22:42:45 +00:00
Ulugbek Abdullaev 1bd445ec60 update cache (#1822) 2025-11-07 10:39:59 +00:00
Bhavya U 8208f3bd8a tools: add "Open Memory Folder" command (#1839) 2025-11-06 21:12:53 +00:00
Ulugbek Abdullaev 4e4997c6d8 update cache (#1824) 2025-11-06 14:04:19 +00:00
Ulugbek Abdullaev f082551888 nes: remove old settings to configure model (#1823) 2025-11-06 14:04:18 +00:00
Ladislau Szomoru 2c92092e40 Git - add repository/branch name to the commit message generation context (#1756) 2025-11-02 19:26:50 +00:00
Ulugbek Abdullaev fe96b6d014 update cache (#1705) 2025-10-30 13:09:03 +00:00
Ulugbek Abdullaev 66fc3dc3fd update cache (#1688) 2025-10-29 11:39:45 +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
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
Kyle CutlerandUlugbek Abdullaev 7be42d291f Regenerate model metadata cache and fix outdated s-test (#1551)
Co-authored-by: Ulugbek Abdullaev <ulugbekna@gmail.com>
2025-10-24 15:49:26 +00:00