Commit Graph

111179 Commits

Author SHA1 Message Date
Rob Lourens
e69420f2b5 Fix inconsistent tool progress opacity (#274613)
I think this matches the original intent of this rule
Fix microsoft/vscode-copilot#18275
2025-11-02 16:44:27 +00:00
Daniel Imms
4b4ab95427 Increase confirmation button padding
Fixes #267861
2025-11-02 02:27:34 -08:00
Daniel Imms
d8a36d120f Merge pull request #274577 from microsoft/tyriar/269213_unknown
Use as unknown for unimportant as any cases in tests
2025-11-02 01:45:23 -08:00
Benjamin Pasero
b487c0264d eslint - disallow querySelector and friends (#274582) 2025-11-02 09:03:41 +00:00
Daniel Imms
3709e948ed Use as unknown for unimportant as any cases in tests
Part of #269213
2025-11-02 01:14:39 -07:00
Matt Bierner
b98669fcbd Fix wrong session opened in new window
Fixes #274552

We need to grab the session resource before clearing
2025-11-02 01:01:33 -07:00
Connor Peet
ceb31bb8f5 edits: fix 'restore checkpoint' leaving the request (#274542)
- For restoring to a request, we actually want to restore the request's
  initial checkpoint but put our pointer before it, so that further
  requests overwrite that request checkpoint.
- We previously didn't discard undone checkpoints when new ones were applied
- Refined the behavior of disablement to more explicitly provide the
  right UX (show up to and including the last checkpoint that contains
  any applied operation)
2025-11-02 07:05:54 +00:00
Martin Aeschlimann
10650218a3 support disabling custom modes (#274553)
* support disabling custom modes

* fix tests

* Update src/vs/workbench/contrib/chat/browser/promptSyntax/pickers/promptFilePickers.ts

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

* fix

* fix

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-01 19:02:19 -07:00
Martin Aeschlimann
321ee5586b Remove unused code (#274549)
remove unused code
2025-11-01 14:16:54 -07:00
Daniel Imms
9ae0922644 Fix rendering of markdown inside HEREDOC
Fixes #274470
2025-11-01 13:18:01 -07:00
Connor Peet
ac19bb5794 Merge pull request #274453 from microsoft/connor4312/extensible-tool-confirmations
tools: split out confirmation service from tools service
2025-11-01 12:45:49 -07:00
Ladislau Szomoru
9f0c40023e SCM - more graph polish (#274537) 2025-11-01 19:19:08 +00:00
Connor Peet
bfd31ff1e0 comments and tests 2025-11-01 10:49:30 -07:00
Connor Peet
fe7b7c47ed fix typo and add tests 2025-11-01 10:12:13 -07:00
Daniel Imms
3336490200 Merge branch 'main' into tyriar/274496__cwd__274511 2025-11-01 08:58:38 -07:00
Ladislau Szomoru
9651f5487b SCM - fix background for selected graph node (#274512)
* SCM - fix background for selected graph node

* SCM - use inactive background for graph
2025-11-01 15:46:35 +00:00
Daniel Imms
0ff3b89943 Merge pull request #274504 from microsoft/tyriar/274497
Cache tree sitter trees temporarily
2025-11-01 08:25:37 -07:00
Daniel Imms
c60b2c6efb Do async terminal tool prep in parallel
Fixes #274511
2025-11-01 08:22:04 -07:00
Daniel Imms
7321647e10 Ensure parser is registered in test to avoid leak 2025-11-01 08:04:43 -07:00
Daniel Imms
967dec9b82 Merge remote-tracking branch 'origin/main' into tyriar/274497 2025-11-01 08:02:55 -07:00
Daniel Imms
5279e6bbe2 Merge branch 'main' into tyriar/274496__cwd 2025-11-01 08:00:49 -07:00
Daniel Imms
ab627b8d08 Merge pull request #274502 from microsoft/tyriar/274496
Make command re-writing pluggable
2025-11-01 07:59:39 -07:00
Daniel Imms
21e6118b0c Resolve cwd for analyzers/rewriters in single place
Part of #274496
2025-11-01 07:46:46 -07:00
Daniel Imms
cd677c28fe Remove instance from analyzer options 2025-11-01 07:34:46 -07:00
Daniel Imms
d1fe1c8db6 Move private to after publics 2025-11-01 07:22:20 -07:00
Daniel Imms
8efff37c11 Add parser to store to pass test 2025-11-01 07:14:33 -07:00
Daniel Imms
a31449505b Lazily init tree sitter parser
Fixes #274482
2025-11-01 06:59:51 -07:00
Daniel Imms
0e5f19005a Cache tree sitter trees temporarily
Fixes #274497
2025-11-01 06:49:18 -07:00
Daniel Imms
b688f7c67f Simplify tests 2025-11-01 06:31:27 -07:00
Daniel Imms
bc54d719c9 Move tests into new files 2025-11-01 06:29:38 -07:00
Daniel Imms
5fb77312a5 Make command re-writing pluggable
Fixes #274496
2025-11-01 06:18:35 -07:00
Ladislau Szomoru
6c86512615 Git - use different icon for current branch + code cleanup (#274479) 2025-11-01 07:56:16 +00:00
Copilot
63553dfa36 Add attachment removal instructions to chat accessibility help dialog (#274409) 2025-10-31 21:44:04 -04:00
Bhavya U
b22b363582 Remove query-selector use from todo widget (#274456) 2025-10-31 17:04:02 -07:00
Bhavya U
9c6735c876 Remove chat suggest-next RunOnceScheduler and call render directly (#274446) 2025-10-31 16:58:47 -07:00
Connor Peet
24b129ba6f tools: split out confirmation service from tools service
- Refactors tool confirmation logic from LanguageModelToolsService into
  a dedicated ILanguageModelToolsConfirmationService. This cleans up some
  increasingly large state in the LanguageModelToolsService
- Adds an MCP/extension-wide approval mechanism. This is useful for cases
  like playwright which are correctly marked as openWorldHint but it's
  really annoying to use practically because every result needs approval.
- Adds a contribution model so that other tools can register their custom
  logic, either in addition to or replacing the base confirmation logic.
2025-10-31 16:14:01 -07:00
Peng Lyu
ac5fbd2b87 Merge pull request #274440 from microsoft/rebornix/monetary-falcon
Improve chat session description row alignment
2025-10-31 15:24:30 -07:00
Peng Lyu
a520805118 Merge pull request #272837 from microsoft/dineshc/searchAgentSessions
Enabled search in agent sessions panes for GH coding agent, local ses…
2025-10-31 15:14:40 -07:00
Ladislau Szomoru
edf5868b02 SCM - more improvements to the repositories view (#274438)
* SCM - tweak artifact folder compression

* SCM - fixed more commands and layout

* SCM - more compression changes
2025-10-31 21:49:50 +00:00
Megan Rogge
ff488e306c persist command in pty service, refactor how commands are restored on window reload for inline chat terminal (#274417) 2025-10-31 14:48:26 -07:00
Takashi Tamura
03079e9f6f Prevent quickInput.accept from firing during IME composition. Fix #272407 (#273453) 2025-10-31 21:47:41 +00:00
Peng Lyu
9a1dbb08ff resolve comments. 2025-10-31 14:34:47 -07:00
Copilot
58cbc9d47e Reverse agent and model order in chat input aria label (#274410) 2025-10-31 17:20:18 -04:00
Peng Lyu
9a385fd66e Improve chat session description row alignment 2025-10-31 14:13:32 -07:00
Tyler James Leonhardt
7707e8cdc7 Add Manage Extension Account Preferences to the Account Menu to make it more discoverable (#274424)
I've gotten an increased number of issues related to switching Copilot account preferences. This will help users self service that because right now it's only available via the Command Palette, on the Extension view item, or in other hard to find places.
2025-10-31 20:30:34 +00:00
Alexandru Dima
dfeaceca69 Fix another problem in SparseMultilineTokensStorage (#274415) 2025-10-31 13:07:08 -07:00
Matt Bierner
d9d1b03c6b Merge pull request #274402 from mjbvz/dev/mjbvz/rear-fox
More sessionId -> sessionResource conversation
2025-10-31 11:52:16 -07:00
Megan Rogge
cd4abdd71c only show chat terminal hint if there are hidden terminals (#274399) 2025-10-31 18:34:55 +00:00
Justin Chen
201303499f fix some padding and styling for todos (#274400) 2025-10-31 18:27:17 +00:00
Matt Bierner
a1f7be35bf More sessionId -> sessionResource conversation
- Adopting for code blocks
- Switching to use safer `LocalChatSessionUri.parseLocalSessionId` in a few more spots
- Adopting for some contexts and a few more apis
2025-10-31 11:25:00 -07:00