Commit Graph

132627 Commits

Author SHA1 Message Date
Rob Lourens d9bc5b09ea Add 'isExclusive' flag for tool selection (#247267)
* Add 'isExclusive' flag for tool selection
For prompts with tools to exclude non-selected tools

* Fix
2025-04-23 18:42:00 -07:00
Rob Lourens ed40c856ec Show Working message after "summarizing conversation..." (#247268) 2025-04-23 18:28:44 -07:00
Rob Lourens f02abe34f9 Fix edit text with backticks leaking into chat response (#247261) 2025-04-23 17:16:23 -07:00
Samuel Rigaud e975fc9be8 test: fix typos (#247259)
Co-authored-by: Samuel Rigaud <rigaud@gmail.com>
2025-04-23 23:38:49 +00:00
Connor Peet a3f5b9e40c Merge pull request #247257 from microsoft/connor4312/issue244637
mcp: fix confusing default configuration value
2025-04-23 16:32:30 -07:00
Logan Ramos 52960810b1 Implement switch model command + fix model picker command (#247256)
* Add command for switching chat model

* Fix open model picker command
2025-04-23 15:22:40 -07:00
Connor Peet 845c82152d mcp: fix confusing default configuration value
Fixes #244637
2025-04-23 15:00:10 -07:00
Martin Aeschlimann ac447af639 separate settings for prompt and instructions locations (#247252) 2025-04-23 14:50:58 -07:00
Martin Aeschlimann bc8c3aa1c7 some prompt labels are wrong (#247249) 2025-04-23 14:49:54 -07:00
Aaron Munger e9fdb47639 allow skipping kernel selection if already selected (#247239)
* allow skipping kernel selection if already selected

* translate new param for API command

* comment
2025-04-23 23:48:02 +02:00
Connor Peet 0be40f9403 mcp: adopt api feedback on extension API (#247245) 2025-04-23 14:22:49 -07:00
Tuan Tran Van 30d16b20a1 Replace single line break with double line break for commit description in git blame hover popup (#245779)
* Replace single line break with double line break for commit description in git blame hover popup

Fix issue #245773

* Remove unnecessary pattern `\n\n` when handling commit message

* Remove non-matching group, and fix the same issue for the gragh hover as well

---------

Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
2025-04-23 21:03:48 +00:00
Raymond Zhao 68f70843d6 Add two-phase AI Settings Search (#247177)
* Add AI settings search proposed API
* Use Progress API
* Implement new API into remote search provider
2025-04-23 19:20:23 +00:00
Connor Peet 917dbd8694 mcp: support tildes in definitions (#247242)
Fixes #247076
2025-04-23 11:24:07 -07:00
Connor Peet e7cdecfe55 chat: allow tools to report progress (#246768)
* chat: allow tools to report progress

This adds a `toolProgress` proposed API that allows extensions to report
progress keyed on the `toolInvocationToken`. Internally, when given to a
tool, this now includes the call ID of the tool.

We can use that both from extensions and internally to report progress
for tools, and I hooked this up for MCP servers. Currently only the text
is updated.

Involved some changes in the progress service internally:

- Previously `viewId` was a naked string, I wrapped it in an object to
  make it more identifiable.
- The progress service is in `workbench/services` and directly calls
  into other services to effect progress. In leui of going for a full
  'contribution' model, I made a small `ILanguageModelToolProgressService`
	that it writes state into and that can be read back out. The state
	(an observable) is kept as long as progress is ongoing or this is
	is an observer.

* be less creative ;)

* pr comments

* pass in an options object instead

* Revert "pass in an options object instead"

This reverts commit c6c85b3e9d.

* update with api feedback
2025-04-23 11:23:45 -07:00
Connor Peet fc5d4141f9 mcp: fix URL encoding of entities (#247241)
Fixes #247111
2025-04-23 11:23:06 -07:00
Connor Peet 41cc1e2836 update with api feedback 2025-04-23 11:09:15 -07:00
野迂迂 d8359659bf fix: remove necessary async declaration (#247213) 2025-04-23 18:03:35 +00:00
Connor Peet dd5b6c1235 Revert "pass in an options object instead"
This reverts commit c6c85b3e9d.
2025-04-23 10:58:44 -07:00
Connor Peet 481ed8e939 mcp: allow creating inputs when generating configs (#247229) 2025-04-23 17:25:35 +02:00
Johannes Rieken 8d4b26f837 update milestone (#247226) 2025-04-23 17:13:16 +02:00
Ladislau Szomoru bcfd7a06bf SCM - fix issue with quick diff picker (#247225) 2025-04-23 17:00:04 +02:00
Johannes Rieken 46bf82d9b1 Tweak chat overlay for replace and multipass edits (#247224) 2025-04-23 16:56:49 +02:00
Alex Ross 9f2cb03f49 Merge pull request #247223 from microsoft/alexr00/holy-takin
Bump distro
2025-04-23 16:51:38 +02:00
Alex Ross 600aaf2794 Bump distro 2025-04-23 16:35:04 +02:00
Megan Rogge ca2881aa4f make merge editor more accessible (#247156) 2025-04-23 16:32:59 +02:00
Daniel Imms 343af4184c Merge pull request #247220 from microsoft/tyriar/231998
Provide parsed links for text after brackets
2025-04-23 07:20:32 -07:00
Ladislau Szomoru 477d26e314 SCM - more quick diff code cleanup (#247219) 2025-04-23 15:52:25 +02:00
Daniel Imms 2023ee02fb Provide parsed links for text after brackets
Fixes #231998
2025-04-23 06:51:45 -07:00
Ladislau Szomoru 85ae118243 SCM - 💄 more usage of the quick diff provider id instead of label (#247212) 2025-04-23 22:48:49 +10:00
Ladislau Szomoru b790a4d15d SCM - more quick diff cleanup (#247205)
* SCM - more quick diff cleanup

* Missed something
2025-04-23 11:48:18 +02:00
Ladislau Szomoru 2c44e9cff8 SCM - 💄 quick diff service cleanup (#247198) 2025-04-23 10:33:53 +02:00
Johannes Rieken df1c310586 Merge pull request #246726 from microsoft/joh/blushing-hummingbird
migrate github-extension to ESM
2025-04-23 09:50:14 +02:00
Johannes Rieken 97d28fc687 Tweak file/folder suggestions in chat input (#247196)
* use correct word-pattern when compute file/folder suggestions

fixes https://github.com/microsoft/vscode-copilot/issues/16312

* merge folder and file suggestions into one
2025-04-23 09:37:35 +02:00
Martin Aeschlimann e010f84cae Merge pull request #246939 from RedCMD/addYAMLstringsSuggestionsDefaultSetting
YAML auto trigger code completion in strings #239679
2025-04-23 07:56:56 +02:00
Joyce Er cb66f895f9 fix: chat session ID in MappedEditsRequest (#247167)
* fix: chat session ID in `MappedEditsRequest`

* Plumbing for chat session ID in code blocks
2025-04-23 05:36:01 +02:00
Don Jayamanne 38ec4828ff Notify Notebook changes from user to chat (#247183) 2025-04-23 03:04:13 +02:00
Connor Peet bbaed6818c mcp: fix not using resolved connection from extension api (#247184) 2025-04-23 02:48:39 +02:00
Aaron Munger 0204cf08b0 dont edit added markdown cells on diff navigation (#247178) 2025-04-22 16:19:10 -07:00
Oleg Solomko 894abdf1d6 improve prompts services to not allow for shared prompt parser instance disposal 2025-04-22 14:53:29 -07:00
Oleg Solomko 6619b5d4f6 fix prompt files related chat input message 2025-04-22 14:53:29 -07:00
Oleg Solomko 264a865447 wait on prompt resolve/parse process to settle for implicit prompt context 2025-04-22 14:53:29 -07:00
Oleg Solomko 3fb471595b add documentation comments and cleanup 2025-04-22 14:53:29 -07:00
Oleg Solomko fca0efbf46 remove unused constructor parameter 2025-04-22 14:53:29 -07:00
Oleg Solomko 3dd15b5da0 add prompt reference parsing logic to the implicit context class 2025-04-22 14:53:29 -07:00
Logan Ramos bd5d449fe7 Adopt base dropdown menu for model picker widget (#247170) 2025-04-22 14:34:51 -07:00
Joyce Er 2d6fa91f86 fix: emit chat edit signal rejection before doing rejection (#247165) 2025-04-22 14:34:04 -07:00
Connor Peet 8e191843f7 mcp: fix tools being unavailable after change in cache (#247160)
* mcp: fix tools being unavailable after change in cache

Refs #245921. Not sure if this is all the cases, but it's one.

* fix
2025-04-22 22:01:49 +02:00
Ladislau Szomoru 44627bca57 SCM - fix issue related to deleted line decoration (#247161) 2025-04-22 15:56:41 -04:00
Ladislau Szomoru 8e7731efd3 Engineering - update endgame notebooks (#247154) 2025-04-22 20:33:59 +02:00