Commit Graph

147687 Commits

Author SHA1 Message Date
Connor Peet
9a207cb696 chat: fix undo/redo skipping multiple no-edit requests (#299330)
- Fixes _willRedoToEpoch to advance one request at a time when there are
  no edit operations ahead, instead of jumping past all remaining requests
- When redoing with no operations in the queue, now finds the next
  request-start checkpoint boundary and advances there, following the same
  single-step pattern as undo
- Adds test case verifying undo and redo step through consecutive no-edit
  requests one at a time

Fixes #275234

(Commit message generated by Copilot)
2026-03-04 16:51:57 -08:00
Paul
5222fc6f55 Add feature flag for custom agent hooks (#299316) 2026-03-04 16:51:02 -08:00
Peng Lyu
44e1948e8c Refactor agent session provider handling and update background agent display name logic (#299328) 2026-03-05 00:24:52 +00:00
Connor Peet
0485c21d6b plugins: refactor pluginSources with proper deletion (#299319)
* plugins: refactor pluginSources with proper deletion

- Consolidate source logic into IPluginSource implementations
- Use that to implement more robust cleanup logic

Closes https://github.com/microsoft/vscode/issues/297251

* pr comments
2026-03-05 00:17:38 +00:00
David Dossett
5b2bd4495b Action widget: hover background for open pickers (#299301)
* Action widget: full-width separators and hover background for open pickers

- Remove horizontal padding from action widget, inset list rows instead
  so separators span edge-to-edge
- Fire onDidChangeVisibility in ActionWidgetDropdown so aria-expanded
  is set correctly for all picker types
- Apply toolbar hover background to picker buttons while their
  dropdown is open

* Revert separator layout hack, keep hover background for open pickers
2026-03-04 16:16:59 -08:00
Josh Spicer
01fea9a369 Enhance slash command expansion to include prompt type in message (#299305)
* Enhance slash command expansion to include prompt type in message

* Update src/vs/sessions/contrib/chat/browser/slashCommands.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 15:33:42 -08:00
Benjamin Christopher Simmonds
fa505bc192 Merge pull request #299308 from microsoft/benibenj/wet-swift
Better sessions terminal tracking
2026-03-05 00:33:21 +01:00
Benjamin Christopher Simmonds
d2eafcf90f Merge pull request #299303 from microsoft/benibenj/identical-sturgeon
Don't steal focus for readonly editors
2026-03-05 00:33:10 +01:00
Benjamin Christopher Simmonds
4c96007842 Merge pull request #299304 from microsoft/benibenj/wicked-salmon
Maximize editor group on double click
2026-03-05 00:25:14 +01:00
Megan Rogge
e563f3c801 test change (#299310) 2026-03-04 23:22:53 +00:00
Kyle Cutler
d356c797a7 Browser: make Playwright per workspace (#299055)
* Browser: make Playwright per workspace

* Feedback, fixes
2026-03-04 15:08:23 -08:00
BeniBenj
f48d290224 better sessions terminal tracking 2026-03-04 23:37:42 +01:00
Matt Bierner
77e2c305f3 Merge pull request #299299 from mjbvz/dev/mjbvz-295182
Resubmit https://github.com/microsoft/vscode/pull/295182
2026-03-04 14:35:37 -08:00
Matt Bierner
0c0f1245cd Merge pull request #299003 from microsoft/robo/add_tsserver_diagnostics
feat: support heap profile and snapshot capture for tsserver
2026-03-04 14:34:46 -08:00
BeniBenj
0cb758d145 maximize editor group on double click 2026-03-04 23:27:32 +01:00
BeniBenj
8d491919b2 don't steal focus for readonly editors 2026-03-04 23:26:04 +01:00
Benjamin Pasero
c492347a8c Fix AI customization section list showing wrong items on fast switching (#299262)
* fix - update TypeScript compilation commands in docs

* fix - update section handling in AICustomizationListWidget

* undo unrelated changes

* ccr
2026-03-04 14:21:05 -08:00
Aaron Munger
edb2ef4595 add logs to troubleshoot contribution availability in evals (#299294) 2026-03-04 14:17:04 -08:00
David Dossett
0471f8c218 Polish chat input part: picker collapse, padding, and icon sizing (#299293)
* Polish chat input part: adjust padding, prevent picker collapse, size add context icon

* Increase action widget row gap to 8px
2026-03-04 22:02:50 +00:00
Justin Chen
cd7b736541 no copy button on request (#299209)
no copy button on response
2026-03-04 14:02:23 -08:00
dependabot[bot]
21ebaf37a1 Bump @hono/node-server from 1.19.9 to 1.19.10 in /test/mcp (#299283)
Bumps [@hono/node-server](https://github.com/honojs/node-server) from 1.19.9 to 1.19.10.
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](https://github.com/honojs/node-server/compare/v1.19.9...v1.19.10)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-version: 1.19.10
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-04 21:58:26 +00:00
Dmitriy Vasyura
a6fb33c237 Improve extension installation wait condition (#299292) 2026-03-04 21:57:23 +00:00
Don Jayamanne
37141e3b14 feat: set session options when providing chat session content (#299126)
* feat: set session options when providing chat session content

* refactor: streamline session option setting in ChatSessionsService
2026-03-04 13:56:16 -08:00
David Dossett
a1bbcb5581 Question carousel UI polish (#299272)
* Polish question carousel: simplify title bar, footer nav, and layout

* Question carousel UI polish

- Border radius matches chat input (cornerRadius-large)
- Background uses panel background
- Remove colon prefix from option descriptions
- Option list items use cornerRadius-medium
- Footer padding: 8px left, 16px right
- 12px gap between number and labels
- Freeform row aligned with preset options
- Close button vertically centered in titlebar
- Checkboxes center-aligned in list items
- has-description class for title+description items
- Number elements use consistent width
- Focus outline consistent across all list items
- Tighter gap between presets and custom answer
- Summary Q/A always on separate rows
- Hide submit icon when carousel is open (show stop only)
- Show submit when user types to steer

* Add close button to single-question carousel title row

* Add submit footer for single-question multi-select carousels

* Align single-question submit footer to the right with hint

* Fix failing carousel unit tests

Update test selectors and structure to match current DOM:
- Remove .chat-question-carousel-nav assertion (element no longer exists)
- Update markdown/message tests to use .chat-question-title
- Fix nav button tests to use multi-question carousels with .chat-question-nav-arrow
- Fix submit button test to use multi-question carousel

* Fix chat question carousel navigation and summary test regressions
2026-03-04 13:52:19 -08:00
Paul
ffe529eced Add support for agent-scoped hooks (#299029) 2026-03-04 13:50:19 -08:00
Benjamin Christopher Simmonds
1b44525f0e Clear previous sync action before registering a new one in GitSyncCon… (#298898)
Clear previous sync action before registering a new one in GitSyncContribution
2026-03-04 22:45:34 +01:00
Justin Chen
49b4ea3cf6 don't allow expanding until hitting max height in thinking (#299249)
* don't allow expanding until hitting max height in thinking

* Address comments
2026-03-04 13:44:18 -08:00
Megan Rogge
d405135f71 add experiment to elevate AI terminal profiles (#299270) 2026-03-04 20:41:25 +00:00
Remco Haszing
87cec2bf5b Add .ronn extension to markdown 2026-03-04 21:37:19 +01:00
Connor Peet
b3ad9079ba plugins: add Plugins section to Chat Customizations (#299265)
* plugins: show in customizations view

* plugins: address PR review comments
2026-03-04 20:34:53 +00:00
Benjamin Pasero
fdceca105c Scope EditorTabsVisibleContext to editor parts for correct action resolution (#299261)
feat - add EditorTabsVisibleContext handling
2026-03-04 20:20:48 +00:00
Lee Murray
1def3817c6 Merge pull request #299237 from microsoft/mrleemurray/port-misc-2026-theme-styles-2
Final port of misc 2026 theme styles - refine color theme styles for improved UI consistency
2026-03-04 20:01:36 +00:00
Benjamin Pasero
9495e313c0 sessions - clarify instructions around compiling and testing (#299255) 2026-03-04 11:45:50 -08:00
Justin Chen
7508207d29 autopilot mode + secondary chat input toolbar (#296691)
* autopilot mode + /yolo commands

* fix tests

* revert fix

* fix disposable leak

* address a few comments, make sure it works when switching sessions

* make some tests

* fix tests

* some reverts to cleaner state

* add secondary toolbar, permissions

* don't use query selector, surface toolbar in the template

* UI polish: context usage widget, secondary toolbar layout, theme tweaks

- Move context usage widget to secondary toolbar with percentage label on hover
- Adjust secondary toolbar padding/gap and input part bottom padding
- Lower icon-only threshold to 300px
- Darken input placeholder foreground in 2026 dark theme
- Update agent mode description

* update names

* update api for tool call limits

* add true autopilot

* move error retry logic to extension

* address some more comments

* make sure to hide tool

* bump version #

* better tool description

* fix conflict

* enterprise restrictions

* revert some stuff, fix sessions window containers

* fix actions

* fix delegate vs. session target

* fix compile + add setting

---------

Co-authored-by: David Dossett <25163139+daviddossett@users.noreply.github.com>
2026-03-04 19:45:02 +00:00
Logan Ramos
9404c9733f Fix context widget hover race (#298273) 2026-03-04 11:44:12 -08:00
Henning Dieterichs
a1ef9c86f2 fixes change detection in vscode-extras 2026-03-04 20:40:28 +01:00
Henning Dieterichs
1a29c31071 update screenshot baselines from CI 2026-03-04 20:33:16 +01:00
dileepyavan
02c0cbabce [MCP-Sandboxing]Changes for variable substitution and code refactor (#299124)
changes to enable variable substitution for sandboxing
2026-03-04 19:18:03 +00:00
mrleemurray
730e1e37ef Merge branch 'main' into mrleemurray/port-misc-2026-theme-styles-2 2026-03-04 19:04:21 +00:00
Sandeep Somavarapu
54780aa577 Sessions: Ask for workspace trust when picking a folder in new chat view (#299242)
* feat: enhance folder selection with workspace trust verification

* feat: add workspace trust request for local targets in NewChatWidget

* feat: implement workspace trust request for folder selection in NewChatWidget

* fix: update trust message for folder selection in NewChatWidget

* fix: update trust message to clarify agent session capabilities in folder selection

* fix: handle folder selection trust request and restore previous selection if untrusted

* fix: simplify trust message for folder selection in NewChatWidget

* fix: refactor folder trust handling in NewChatWidget for improved clarity and maintainability

* fix: make _setNewSession and folder trust request asynchronous in NewChatWidget

* fix: update cursor styles for send button states in chat widget

* fix: refactor folder trust handling in NewChatWidget for improved session management

* fix: simplify default repository URI handling in NewChatWidget

* fix: handle undefined default repository URI in new session creation

* fix: remove 'diffEditor.renderSideBySide' configuration from default settings

* fix: remove unused workspace context service from NewChatWidget
2026-03-04 19:03:28 +00:00
Raymond Zhao
7dee96c44e chore: fix serialize-javascript alerts (#299248) 2026-03-04 19:02:44 +00:00
Ladislau Szomoru
252340a237 Engineering - update notebooks (#299232)
Co-authored-by: Johannes Rieken <johannes.rieken@gmail.com>
2026-03-04 18:34:24 +00:00
Henning Dieterichs
4ab6fddf3e Revert "Adds support for stronglyRecommended extensions. Implements #299039"
This reverts commit 240196b595.
2026-03-04 19:27:59 +01:00
Elie Richa
a19a6969a2 Include remote debug extension host env in remote terminal shell env (#299007)
* Include remote debug extension host env in remote terminal shell env

* Update src/vs/workbench/services/environment/browser/environmentService.ts

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

* Update src/vs/workbench/contrib/terminal/common/remote/remoteTerminalChannel.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 18:17:46 +00:00
Anthony Kim
587cae6666 Bump xterm for imageAdded api (#299073) 2026-03-04 10:17:14 -08:00
Copilot
48661ac851 Fix singleSelect freeform answer showing [object Object] after reload (#299235) 2026-03-04 18:06:32 +00:00
David Dossett
450351e619 Revert "Polish question carousel (#298377)" (#299096)
This reverts commit 2f76a2d972.
2026-03-04 17:53:39 +00:00
Robo
4c1cc1582a fix: add version folder to visualelements manifest icon path (#299239) 2026-03-04 17:31:07 +00:00
mrleemurray
defff987fa update: remove unused CSS file and clean up theme-related styles for better maintainability
Co-authored-by: Copilot <copilot@github.com>
2026-03-04 17:02:26 +00:00
Logan Ramos
98dc3fd3a4 Refactor model selection logic into separate file. Add tons of tests (#299210)
* Refactor model selection logic into separate file. Add tons of tests

* Use one get all models function

* Copilot comments
2026-03-04 11:48:18 -05:00