Commit Graph

147422 Commits

Author SHA1 Message Date
Matt Bierner 9507bbb06d Merge pull request #298808 from mjbvz/dev/mjbvz/occasional-chipmunk
Port github-authentication extension to use esbuild
2026-03-02 14:13:29 -08:00
Connor Peet c6ae208533 chat: deduplicate global auto-approve warning across windows (#298787)
* chat: deduplicate global auto-approve warning across windows

Add CancellationToken support to IDialogService.prompt() and implement
cross-window deduplication for the global auto-approve confirmation dialog.

When \chat.tools.global.autoApprove\ is enabled, the opt-in warning
previously appeared in every window because each window independently
checked the APPLICATION-scoped storage flag and showed the dialog without
coordination.

Changes:
- Add <token?: CancellationToken> to IBaseDialogOptions, allowing dialogs
  to be programmatically dismissed via cancellation
- Update BrowserDialogHandler.doShow() to register token cancellation and
  dispose the dialog when the token fires
- In LanguageModelToolsService._checkGlobalAutoApprove(), use
  CancellationTokenSource + storageService.onDidChangeValue listener to
  detect when another window stores the opt-in flag and cancel the dialog
- Apply the same pattern to the /autoApprove slash command handler
- Within-window deduplication: pending promise cached in
  _pendingGlobalAutoApproveCheck prevents duplicate dialogs from multiple
  simultaneous tool invocations

After opt-in is stored by any window, other windows detect the storage
change via the token listener and cancel their dialogs. The prompt then
resolves as if approved, avoiding duplicate user interaction.

Fixes https://github.com/microsoft/vscode/issues/292150

(Commit message generated by Copilot)

* pr comments
2026-03-03 09:13:11 +11:00
Megan Rogge 119cb000f2 retain input in question carousel (#298795)
* retain input state for chat questions

* better approach
2026-03-02 22:07:04 +00:00
Benjamin Pasero 2c494f110b sessions - wording (#298799)
* fix - update notification messages to use 'session'

* fix - update toast action label to 'Open Session'
2026-03-02 14:04:38 -08:00
Matt Bierner 46b8e82a0d Update extensions/github-authentication/esbuild.browser.mts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-02 13:22:20 -08:00
Matt Bierner 305a82d762 Port github-authentication extension to use esbuild 2026-03-02 13:07:56 -08:00
Benjamin Pasero b4e1496065 sessions - restore sessions window when all windows closed (#298793) 2026-03-02 12:47:24 -08:00
Henning Dieterichs bafa1dff7b removes dependency 2026-03-02 21:10:40 +01:00
Benjamin Pasero c62b267ddf sessions - revert too annoying toasts display (#298771) 2026-03-02 14:46:00 -05:00
Connor Peet 5b46a7924f chat: make sendChatRequest extensionIdentifier parameter optional (#298767)
* chat: make sendChatRequest extensionIdentifier parameter optional

Makes the 'from' parameter optional (ExtensionIdentifier | undefined) in the
sendChatRequest method chain across ILanguageModelsService, RPC protocol, and
implementations. This allows internal VS Code calls to pass undefined instead
of instantiating invalid ExtensionIdentifier('core') identifiers.

- Updates ILanguageModelsService.sendChatRequest signature
- Updates ILanguageModelChatProvider.sendChatRequest signature
- Updates ExtHostLanguageModelsShape protocol
- Updates ExtHostLanguageModels \ implementation
- Removes new ExtensionIdentifier('core') from 5 internal callers
- Passes undefined as requestInitiator when from is absent
- Bumps vscode.proposed.chatProvider API version to 5
- Updates test mocks to accept optional from parameter

Refs https://github.com/microsoft/vscode/issues/290436

(Commit message generated by Copilot)

* keep api as old version for now

* Update src/vs/workbench/contrib/mcp/common/mcpSamplingService.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-02 14:45:16 -05:00
Megan Rogge 7373db526d hide tip widget for session if a tip is dismissed or actioned (#298766)
fixes #297682
2026-03-02 14:44:14 -05:00
Megan Rogge cff799b502 replace /create-instructions tip with /init one (#298764)
fix #298759
2026-03-02 11:15:30 -08:00
dileepyavan 83601ca509 Dialog Notification when MCP server start fails in sandbox mode. (#297797)
* changes for showing start up errors in a dialog

* changes for showing start up errors in a dialog

* changes for showing start up errors in a dialog

* changes for showing start up errors in a dialog

* changes

* changes

* changes

* migrating to event from taillog

* changes for runtime errors

* refactoring changes

* refactoring changes

* refactoring changes

* changes
2026-03-02 10:46:54 -08:00
Connor Peet 20af5962cf chore: bump distro (#298761)
lm: fix mcpServerDefinitions proposal validation for packed extensions

Updates distro hash to include a fix for mcpServerDefinitions API proposal
validation when extensions are installed as VSIX. Extensions can now
properly declare and use vscode.lm.startMcpGateway without validation errors.

- Fixes validation logic for packed extension API proposal declarations
- Enables mcpServerDefinitions to be properly recognized in extension
  package.json enabledApiProposals
- Resolves failure when calling vscode.lm.startMcpGateway on installed VSIX
  extensions

Fixes https://github.com/microsoft/vscode/issues/298643

(Commit message generated by Copilot)
2026-03-02 18:36:27 +00:00
Connor Peet 7a45ba7984 chat: add plugin details editor with reactive action updates (#298370)
* chat: add plugin details editor with reactive action updates

- Implements a new AgentPluginEditor details pane that displays plugin information, readme, and action buttons for both installed plugins and marketplace items
- Adds reactive action button updates: when a plugin is enabled/disabled, installed/uninstalled, buttons update in real-time without re-rendering the entire editor
- Makes the marketplace name a clickable link to the GitHub repository (when githubRepo is available)
- Adds proper CSS classes to action buttons (install, enable, disable, uninstall) so they render correctly in the header
- Handles state transitions: marketplace items automatically become installed items when installed, and vice versa
- Supports readme rendering from local files, remote repositories, and GitHub blob URLs (converting to raw.githubusercontent.com for proper fetching)

Fixes #297246

(Commit message generated by Copilot)

* pr comments

* test

* merge

* fix circular dep
2026-03-02 10:20:49 -08:00
John Sanchirico cceac1afda Fix chat terminal flicker during streaming (#298598) 2026-03-02 18:07:18 +00:00
Megan Rogge 9497369946 when in question carousel, do not allow delete to undo requests (#298752)
fixes #294109
2026-03-02 10:06:38 -08:00
Megan Rogge d356f40d90 weight and maintain specific order for foundational tips (#298745) 2026-03-02 10:06:15 -08:00
Ben Villalobos 0158c05e5c Bump minor version to 1.111 (#298150) 2026-03-02 17:28:37 +00:00
Sandeep Somavarapu 534cace4f7 fix setting active session for new session (#298742) 2026-03-02 18:13:29 +01:00
Matt Bierner fc4a565437 Merge pull request #298108 from microsoft/dev/mjbvz/other-meadowlark
Port git extension to use esbuild
2026-03-02 09:11:02 -08:00
David Dossett 0321be04fe Simplify chat input toolbar responsive behavior (#298467)
* Reduce chat input label hide threshold from 650 to 400

* Collapse chat input picker buttons to 22x22 icons at narrow widths

When the chat input is narrow (<250px), hide chevrons on mode, session
target, model, and workspace pickers. Mode and session target pickers
collapse to centered 22x22 icon-only buttons matching the add-context
button size. Update actionMinWidth to 22 and toolbar gap to 4px.

* Simplify chat input toolbar responsive behavior

* Apply initial hideChevrons state in render()
2026-03-02 09:04:27 -08:00
Matt Bierner 834fd36b6e Merge pull request #298736 from mjbvz/dev/mjbvz/familiar-bobolink
Align `js/ts.suggest.completeJSDocs` with other names
2026-03-02 08:43:03 -08:00
Sandeep Somavarapu b36e69af37 fix setting repo uri for new session (#298735) 2026-03-02 16:39:23 +00:00
Matt Bierner c100c1fd24 Align js/ts.suggest.completeJSDocs with other names
Fixes #298734

Aligning this to use the id `js/ts.suggest.jsdoc.enabled` because we have another setting in the `#js/ts.suggest.jsdoc.*` scope
2026-03-02 08:26:55 -08:00
Matt Bierner 68f4b3a2dc Merge pull request #297500 from microsoft/dev/mjbvz/youthful-whale
Add definition support for nls strings in package.json
2026-03-02 08:03:50 -08:00
Copilot 952b80928b Add chat tip for /fork conversation feature (#298084) 2026-03-02 15:58:25 +00:00
Benjamin Christopher Simmonds 318314bf8e Merge pull request #298692 from microsoft/benibenj/rival-snake
Disable actions when cloud session is selected
2026-03-02 16:21:57 +01:00
Elie Richa b9b33d2877 include debug extension host env in shell env (#241078) (#298276)
* include debug extension host env in shell env (#241078)

* Use terminalEnvironment.mergeEnvironments for platform-specific considerations

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

* Clone the shell env to avoid mutation of a shared object

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-02 15:04:43 +00:00
Benjamin Christopher Simmonds 41d62661ee Enhance sync functionality with loading state and improved UI feedback (#298699) 2026-03-02 06:55:23 -08:00
BeniBenj 61e42ed837 remove test 2026-03-02 15:50:29 +01:00
Benjamin Pasero 610ebdc1c9 sessions - when applying changes, offer action to open (#298718)
* feat - add open folder action to applyToParentRepo

* feat - add query parameters to `open` action
2026-03-02 14:37:40 +00:00
Benjamin Pasero cb9e1165f2 chat - confirm from toast should not force reveal session (#298693)
* chat - confirm from toast should not force reveal session

* ccr
2026-03-03 00:31:16 +11:00
Lee Murray f80e83b777 Merge pull request #298702 from microsoft/mrleemurray/2026-themes-remove-blur-backgrounds
Remove background blurs and update theme colors for quick input and breadcrumb components
2026-03-02 13:30:08 +00:00
BeniBenj 967655a586 💄 2026-03-02 14:01:41 +01:00
mrleemurray 16869c2e44 remove background color mixing for suggest widget and title bar hover effect 2026-03-02 12:50:50 +00:00
mrleemurray cfc50baa1f update quick input title background color for improved theme aesthetics 2026-03-02 12:47:18 +00:00
mrleemurray 76944e5e35 update breadcrumbPicker and notificationCenterHeader background colors for improved theme consistency 2026-03-02 12:32:23 +00:00
mrleemurray 53f6daeba0 update hover and background colors in quick input for dark and light themes 2026-03-02 12:29:04 +00:00
Ladislau Szomoru 543e5208ea Sessions - resize body when collapse/expand the tree (#298698) 2026-03-02 12:22:47 +00:00
Kunal Bhujbal 5e4c0d559a Fix typos in user-facing localized strings (#297892)
- Fix "Overriden" -> "Overridden" in terminal cwd picker description
- Fix "requried" -> "required" in notebook renderer messaging description

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-02 07:18:35 -05:00
Sandeep Somavarapu a2dfaa0864 make it more stable (#298691) 2026-03-02 12:03:33 +00:00
Lee Murray 03f25ca16b Merge pull request #298684 from microsoft/mrleemurray/port-2026-border-radius-styles
Consistent use of border-radius across components
2026-03-02 11:46:05 +00:00
Sandeep Somavarapu df5e653ed8 fix continuous auth dialogs in cloud session (#298689) 2026-03-02 11:45:48 +00:00
Lee Murray 9eb1d239e0 Merge pull request #298688 from microsoft/mrleemurray/experienced-jade-jackal
Fix background color handling in terminal editor
2026-03-02 11:43:59 +00:00
Benjamin Pasero a6ac46b470 sessions - resolve items again when trust changes (#298687) 2026-03-02 11:31:57 +00:00
Benjamin Pasero f94268cbd8 sessions - allow to run sub-app when using cli (#298685)
* sessions - allow to run sub-app when using cli

* ccr
2026-03-02 11:25:45 +00:00
BeniBenj 2160dc5cb3 make sure action are disabled when cloud is picked 2026-03-02 12:20:54 +01:00
mrleemurray 2385bef6b6 fix(terminal): update background color handling in terminal editor 2026-03-02 11:20:22 +00:00
mrleemurray 9596633514 style(notifications): update box-shadow to use theme variable for consistency 2026-03-02 11:12:46 +00:00