Commit Graph

132314 Commits

Author SHA1 Message Date
Johannes Rieken cd71f72e54 Use ChatWidget.input.selectedToolsModel as source of truth for what tools can be selected for a request (#246590)
re https://github.com/microsoft/vscode/issues/246589
2025-04-15 10:53:13 +02:00
Benjamin Pasero a0ce4461e8 chat - properly dispose all panel agents on error (#246586) 2025-04-15 10:35:46 +02:00
hj 541ae30e0f git: make Letter/Text/Color semantically consistency (#245889) 2025-04-15 08:30:51 +00:00
Benjamin Pasero a15e3451d8 chat - prepare for new usage based quota (microsoft/vscode-copilot#15453) (#246480) 2025-04-15 10:09:48 +02:00
Benjamin Pasero 862cead382 chat - add a triggerSetupWithoutDialog action (#246580) 2025-04-15 09:07:51 +02:00
Johannes Rieken 9a85cfbf62 make ChatAttachmentModel#onDidChange more fine-grained so that listeners know what was added/removed/changed (#246575)
re https://github.com/microsoft/vscode/issues/246348
2025-04-15 08:24:11 +02:00
Johannes Rieken 783318d37e fixes https://github.com/microsoft/vscode-copilot/issues/15955 (#246571)
also remove `IChatVariableService#resolveVariables` and inline the sorting of references into the chat service
2025-04-15 08:13:11 +02:00
Johannes Rieken c73f02083e fix https://github.com/microsoft/vscode-copilot/issues/15977 (#246569) 2025-04-15 06:59:57 +02:00
Aaron Munger 4111fd11c2 trigger actions when focused on notebook cell containers as well (#246337)
* trigger actions for notebooks as well

* smaller weight bump
2025-04-15 04:08:35 +00:00
Joyce Er b7beb62a30 fix: handle Continue On in unpublished git repo with no working changes (#246561)
* fix: handle Continue On in unpublished git repo with no working changes

* fix: register leaked disposable

* fix: increase timeout
2025-04-15 02:34:17 +02:00
Connor Peet c5759394bf mcp: support streamable HTTP (#246557)
This PR adds support for 'streamable HTTP' MCP servers. This is
backwards-compatible with existing SSE servers. We'll first try to
initialize the server in streamable HTTP mode, and then fall back to
legacy SSE if that fails.

This PR also adds our own small SSE parser, `eventsource` was too high
level to do what we need to do.

Refs https://github.com/microsoft/vscode/issues/244751
2025-04-14 23:40:28 +00:00
Osvaldo Ortega 59599ee5a7 Merge pull request #246558 from microsoft/osortega/ai-keyword-support
Support for AI suggested keywords
2025-04-14 16:36:48 -07:00
Osvaldo Ortega e2ed4adfea Support for AI suggested keywords 2025-04-14 16:09:49 -07:00
Rob Lourens 63c455f9bf Clean up internal edit file tool, take a proper URI from the extension (#246451)
* Clean up internal edit file tool, take a proper URI from the extension
Move more work back to the extension
For microsoft/vscode-copilot#15348

* Remove this
2025-04-14 15:52:57 -07:00
Jukka Aho bc46bf7d49 Update chatExecuteActions.ts (#246494)
* Update chatExecuteActions.ts

Rephrase text "Would you like to continue?"

* Tweak

---------

Co-authored-by: Rob Lourens <roblourens@gmail.com>
2025-04-14 22:43:15 +00:00
Aaron Munger 894b978a8b revert markdown edit state when no more changes (#246550) 2025-04-15 00:34:35 +02:00
Rob Lourens de5053ff6b Fix #246400 (#246555) 2025-04-15 00:27:02 +02:00
Michael Lively 5a24ed745b Restrict cell output dnd to image mimes (#246549)
restrict cell output dnd to image mimes
2025-04-15 00:21:56 +02:00
Matt Bierner 720589d3ee Merge pull request #246554 from mjbvz/then-jay
Start splitting js/ts settings to subsections
2025-04-14 15:15:27 -07:00
Matt Bierner 2a59b9fa15 Fix capitalization 2025-04-14 15:02:45 -07:00
Matt Bierner 8cd20f6444 Start splitting js/ts settings to subsections 2025-04-14 15:01:14 -07:00
Oleg Solomko 44e9b21cf3 improve unit test output rendering 2025-04-14 14:58:46 -07:00
Oleg Solomko ca26b12845 fix CI compilation issue 2025-04-14 14:58:46 -07:00
Oleg Solomko 74db322d11 cleanup and add more doc comments 2025-04-14 14:58:46 -07:00
Oleg Solomko 958518d349 refactor, cleanup and add more doc comments 2025-04-14 14:58:46 -07:00
Oleg Solomko d1ca9fe532 II of FrontMatterDecoder class 2025-04-14 14:58:46 -07:00
Oleg Solomko 33382cacba II of yaml decoder 2025-04-14 14:58:46 -07:00
Oleg Solomko 4ed92d37c8 add quote/double quote parsing logic and related unit tests 2025-04-14 14:58:46 -07:00
Oleg Solomko 036a0a83d3 add double quote token 2025-04-14 14:58:46 -07:00
Oleg Solomko 010f6a3f1b add quote token 2025-04-14 14:58:46 -07:00
Bhavya U 60e1bdd0b6 remove unused quick input service and simplify AskVSCodeCopilot action (#246546)
remove unused quick input service and simplify AskVSCodeCopilot action
2025-04-14 21:07:23 +00:00
Ladislau Szomoru d2fe294a96 Git - fix git blame status bar item (#246537) 2025-04-14 14:03:54 -07:00
Ladislau Szomoru c586d5cdee Engineering - bump deemon (#246536) 2025-04-14 13:25:03 -07:00
Connor Peet be0720aa98 mcp: update draft typings to 2025-03-26 (#246535)
Note: this does have a variation for https://github.com/modelcontextprotocol/modelcontextprotocol/pull/337 which I noticed was breaking on our existing types.
2025-04-14 21:43:39 +02:00
Connor Peet cf08d5b215 config: fix other platform inputs from config not being removed (#246529)
Fixes #245873
2025-04-14 20:59:46 +02:00
Anthony Kim 74b46b9cc4 Scope down shell env api (#245899)
* Scope down shell env api => zsh

* Define shell env lists, scope down zsh

* Comment out test code

* Scope down bash

* Cleaner comments

* Scope down fish env reporting

* Get rid of stale comment

* -v $key is only supported on bash 4.2+

* scope down pwsh

* Clean up

* better comment

* Take feedback on comment
2025-04-14 10:56:32 -07:00
Aaron Munger 4891751fb9 just set the selected mime type (#246362) 2025-04-14 17:38:50 +00:00
Tran Minh Luan aa8bf445e9 argv: update description for add-mcp (#246473) 2025-04-14 17:01:49 +00:00
Johannes Rieken ef6f1349eb remove #problem suggestion that opens QP (#246502)
* remove #problem suggestion that opens QP

fyi @connor4312

* remove both ends
2025-04-14 14:59:30 +00:00
Johannes Rieken c3d9aa4c49 fixes https://github.com/microsoft/vscode/issues/245023 (#246508) 2025-04-14 07:56:40 -07:00
Benjamin Pasero f1fe073fef notifications - fix leaks (#246452)
* notifications - fix leaks

* fix tests
2025-04-14 14:37:11 +00:00
Johannes Rieken c09ce97c0d tool completions should have detail (#246505)
fixes https://github.com/microsoft/vscode/issues/246298
2025-04-14 16:25:32 +02:00
Johannes Rieken 9635986393 Add close btn to inline chat that shows when no response is showing yet (#246501)
https://github.com/microsoft/vscode-copilot-release/issues/7398
2025-04-14 16:22:26 +02:00
Johannes Rieken 2bad5e0f6c don't attach ChatRequestDynamicVariablePart during resolve variables (#246498)
fixes https://github.com/microsoft/vscode-copilot/issues/15880
2025-04-14 16:21:59 +02:00
James Yang 6717967c2f fix: runCommand type (#246198) 2025-04-14 14:16:46 +00:00
Tyler James Leonhardt 640daa0522 Add aria label to input (#246497)
Fixes https://github.com/microsoft/vscode/issues/245219
2025-04-14 15:06:42 +02:00
Johannes Rieken eaa8839e59 reduce chat attachment model change events (#246495)
re https://github.com/microsoft/vscode/issues/246348
2025-04-14 08:59:36 -04:00
Benjamin Pasero d5fd33b8eb encoding - make options optional again (#246492)
* encoding - make `options` optional again

* tweaks

* updates
2025-04-14 12:46:39 +00:00
Benjamin Christopher Simmonds 24b334fb0b Fix inline edits custom view disposal (#246490)
fix inline edits custom view not being disposed
2025-04-14 14:28:39 +02:00
Benjamin Pasero 3e6075beea chat - use the preferred account when authenticating (#246482) 2025-04-14 07:20:07 -04:00