Commit Graph

17181 Commits

Author SHA1 Message Date
Connor Peet
0a8edf7b2f plugins: allow updating agent plugins (#300344)
* plugins: allow updating agent plugins

Add update detection and update buttons to the agent plugins view and editor.
This allows users to see when installed plugins have newer versions available
and update them directly from the UI without manually checking for updates.

- Export hasSourceChanged() from pluginMarketplaceService for reuse
- Add 'outdated' and 'liveMarketplacePlugin' fields to IInstalledPluginItem
- Fetch marketplace data in AgentPluginsListView.show() to cross-reference
  installed vs live versions and mark outdated plugins
- Add UpdatePluginAction to list view with live marketplace data
- Add UpdatePluginEditorAction to plugin editor with live marketplace data
- Both update actions re-register the plugin with updated metadata after
  successful update so the UI immediately reflects the new version
- Read fresh installed metadata from pluginMarketplaceService.installedPlugins
  store (not stale IAgentPlugin.fromMarketplace) for accurate version checks
- Pass 'silent' option to runInstall() to show non-blocking notification
  instead of dialog when silent=true
- Re-register plugins with live data after updateAllPlugins() completes
  so stored sourceDescriptor reflects new version/ref/sha

(Commit message generated by Copilot)

* pr comments and cleanup

* fix test failure
2026-03-11 04:57:13 +11:00
Ladislau Szomoru
c56c7bc071 Revert "Git - adopt the new package to use copy-on-write for the worktree include files (#299583)" (#300448)
This reverts commit 950ab0704b.
2026-03-10 15:01:11 +01:00
Ladislau Szomoru
35e0427ee2 Sessions - expose session base branch information (#300415)
* Sessions - expose session base branch information

* Pull request feedback
2026-03-10 11:18:21 +00:00
Ladislau Szomoru
950ab0704b Git - adopt the new package to use copy-on-write for the worktree include files (#299583)
* Git - adopt the new package to use copy-on-write for the worktree include files

---------

Co-authored-by: deepak1556 <hop2deep@gmail.com>
2026-03-10 11:51:57 +01:00
Matt Bierner
f2bd744896 Keep .md file extension as default extension
Fixes #300239
2026-03-09 23:19:55 -07:00
Matt Bierner
7d218815d5 Merge pull request #300221 from microsoft/dev/mjbvz/esbuild-github
Port GitHub extension to use esbuild again
2026-03-09 12:29:48 -07:00
dependabot[bot]
dcea9a598c Bump dompurify from 3.2.7 to 3.3.2 in /extensions/markdown-language-features (#299899)
Bump dompurify in /extensions/markdown-language-features

Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.2.7 to 3.3.2.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.2.7...3.3.2)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.3.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-09 10:48:14 -07:00
Matt Bierner
e74071cd63 Fix import 2026-03-09 09:38:32 -07:00
Matt Bierner
02d9c6d239 Also set type: module again 2026-03-09 09:38:05 -07:00
Matt Bierner
26876d30a1 Revert main change 2026-03-09 08:59:46 -07:00
Matt Bierner
13a604e50c Revert "Revert "Port github extension to use esbuild" (#298920)"
This reverts commit 51f5cafd6f.
2026-03-09 08:10:36 -07:00
Matt Bierner
a2f85b65d2 Fix a few more uint8array errors 2026-03-08 23:30:42 -07:00
Matt Bierner
b3740268a3 Fixing errors 2026-03-08 23:23:29 -07:00
Matt Bierner
527f8aa38c Merge pull request #299397 from mjbvz/dev/mjbvz/polite-chipmunk
Fix terminal-suggest extension icon
2026-03-06 10:40:22 -08:00
Matt Bierner
705054b178 Merge pull request #299613 from microsoft/copilot/fix-tooltip-deprecated-typescript-setting
fix: correct setting name in deprecation message for typescript.format.enable
2026-03-06 10:39:59 -08:00
Sandeep Somavarapu
2b32258b0e merge to main (#299794)
* sessions - fix chat input shrinking at narrow widths (#299498)

style - set width to 100% for `interactive-input-part`

* modal - force focus into first modal editor always

* fix: update precondition for FixDiagnosticsAction and hide input widget on command execution (#299499)

fixes https://github.com/microsoft/vscode/issues/299251

* refactor: remove workspace context service dependency from FolderPicker

* Add logging for agent feedback actions

* modal - some fixes to actions and layout

* modal - surface some editor actions in a new toolbar (#299582)

* modal - surface some editor actions in a new toolbar

* ccr

* keybindings - remove "Edit as JSON" as its now available from the title menu

* settings - remove "Edit as JSON" as its now available from the title menu

* update hover fixes

* terminal fixes

* terminal improvements

* Sessions: fix auth scopes of gh FSP

* sessions customizations: make it easier to scan mcp/plugin marketplac… (#299636)

sessions customizations: make it easier to scan mcp/plugin marketplace list

* sessions: add built-in prompt files with override support (#299629)

* sessions: add built-in prompt files with override support

Ship bundled .prompt.md files with the Sessions app that appear as
slash commands out of the box. Built-in prompts use a BUILTIN_STORAGE
constant (cast as PromptsStorage) defined in the aiCustomization layer,
avoiding changes to the core PromptsStorage enum and prompt service types.

- AgenticPromptsService discovers prompts from vs/sessions/prompts/
  at runtime via FileAccess and injects them into the listing pipeline
- Override logic: user/workspace prompts with matching names take
  precedence over built-in ones
- Built-in prompts open as read-only in the management editor
- Sessions tree view, workspace service, and counts handle BUILTIN_STORAGE
- Add /create-pr as the first built-in prompt
- Bundle prompt files via gulpfile resource includes

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

* Update src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.ts

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

* sessions: use AICustomizationPromptsStorage type for builtin storage

Adopt the new AICustomizationPromptsStorage union type in the sessions
tree view method signature. Use string-keyed Records and targeted casts
at the PromptsStorage boundary to stay type-safe.

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

* sessions: remove PromptsStorage casts, widen IStorageSourceFilter

Use AICustomizationPromptsStorage in sessions-local interfaces
(IAICustomizationGroupItem, IAICustomizationFileItem) and widen
IStorageSourceFilter.sources to readonly string[] so BUILTIN_STORAGE
flows through without casts. The only remaining cast is at the
IPromptPath creation boundary in AgenticPromptsService.

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

* sessions: move BUILTIN_STORAGE to sessions common layer

Move AICustomizationPromptsStorage type and BUILTIN_STORAGE constant
from the workbench browser UI module to sessions/contrib/chat/common
so that AgenticPromptsService (a service) does not depend on UI code.

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

---------

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

* sessions: fix ESLint dangerous type assertion in builtin prompts (#299663)

Replace the `as IPromptPath` cast in discoverBuiltinPrompts with a
createBuiltinPromptPath factory function that contains the type
narrowing in one place, satisfying the code-no-dangerous-type-assertions
ESLint rule.

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

* Enhance Agent Sessions Control and Renderer with observable active session resource

* fix terminal

* Enable model management in NewChatWidget

* review feedback

* different competion settings for copilot markdown and plaintext

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@gmail.com>
Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
Co-authored-by: Johannes Rieken <johannes.rieken@gmail.com>
Co-authored-by: BeniBenj <besimmonds@microsoft.com>
Co-authored-by: Osvaldo Ortega <osortega@microsoft.com>
Co-authored-by: Josh Spicer <23246594+joshspicer@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-06 09:09:01 -08:00
Lee Murray
9b7e8ec3fa Merge pull request #299742 from microsoft/mrleemurray/1-111-tpi-fixes
Update colors for 2026 dark and light themes
2026-03-06 12:25:17 +00:00
mrleemurray
ae0eadc1ff Update tab borders in 2026 dark and light themes 2026-03-06 11:33:22 +00:00
mrleemurray
13c7b019e2 Update widget and menu border colors in 2026 light theme
Co-authored-by: Copilot <copilot@github.com>
2026-03-06 10:57:11 +00:00
Don Jayamanne
5b38f1d529 Update default model selection to prioritize 'copilot' vendor in ExtHostLanguageModels (#298903)
* Update default model selection to prioritize 'copilot' vendor in ExtHostLanguageModels

* Fix tests

* Fix tests
2026-03-06 21:48:45 +11:00
mrleemurray
78e13de8de Add minimap slider colors to 2026 dark and light themes 2026-03-06 10:42:45 +00:00
mrleemurray
6d53d3e192 Update toolbar hover background colors in 2026 dark and light themes 2026-03-06 10:02:48 +00:00
dependabot[bot]
e528731081 Bump dompurify from 3.2.7 to 3.3.2 in /extensions/mermaid-chat-features (#299626)
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.2.7 to 3.3.2.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.2.7...3.3.2)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-version: 3.3.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2026-03-06 06:04:35 +00:00
dependabot[bot]
795b1858a1 Bump @tootallnate/once and jsdom in /extensions/notebook-renderers (#299312)
Removes [@tootallnate/once](https://github.com/TooTallNate/once). It's no longer used after updating ancestor dependency [jsdom](https://github.com/jsdom/jsdom). These dependencies need to be updated together.


Removes `@tootallnate/once`

Updates `jsdom` from 21.1.1 to 28.1.0
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/21.1.1...28.1.0)

---
updated-dependencies:
- dependency-name: "@tootallnate/once"
  dependency-version: 
  dependency-type: indirect
- dependency-name: jsdom
  dependency-version: 28.1.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 21:47:05 -08:00
copilot-swe-agent[bot]
002eadd84c fix: correct deprecated TypeScript format.enable setting name in tooltip
Co-authored-by: mjbvz <12821956+mjbvz@users.noreply.github.com>
2026-03-05 21:52:35 +00:00
Matt Bierner
9086b47862 Temporarily restore webpack ext builds
Needed since https://github.com/microsoft/vscode/pull/298920 snuck in which brought back webpack for the github extension
2026-03-05 08:45:54 -08:00
Lee Murray
8017e756f0 Merge pull request #299458 from microsoft/mrleemurray/smoggy-orange-scorpion
Make disabledForeground color darker in 2026 Dark theme
2026-03-05 12:16:08 +00:00
mrleemurray
a29d3c0f6f Fix disabledForeground color in 2026 Dark theme 2026-03-05 11:37:45 +00:00
mrleemurray
6ae33b0d28 update selection background colors in 2026 dark and light themes for better visibility 2026-03-05 11:10:37 +00:00
Matt Bierner
5cecdadd6f Merge pull request #299396 from mjbvz/dev/mjbvz/significant-moose
Copy over .sh scripts in git extension too
2026-03-04 23:28:14 -08:00
Matt Bierner
08535d9c5e Fix terminal-suggest extension icon
Same root cause as #299396 but only caused the icon to be missing so not critical
2026-03-04 23:13:55 -08:00
Matt Bierner
59cb786bc1 Copy over .sh scripts in git extension too
Fixes #299332

Restoring previous webpack behavior. In the future let's consider just moving these to the `git/scripts` folder so we don't have to copy them around
2026-03-04 23:07:52 -08:00
Osvaldo Ortega
1e94089613 Merge pull request #299327 from microsoft/osortega/squealing-flamingo
Sessions window: contributed pr actions
2026-03-04 20:30:27 -08:00
Osvaldo Ortega
093376241c Sessions window: contributed pr actions 2026-03-04 15:45:55 -08: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
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
Remco Haszing
87cec2bf5b Add .ronn extension to markdown 2026-03-04 21:37:19 +01: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
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
mrleemurray
730e1e37ef Merge branch 'main' into mrleemurray/port-misc-2026-theme-styles-2 2026-03-04 19:04:21 +00:00
David Dossett
450351e619 Revert "Polish question carousel (#298377)" (#299096)
This reverts commit 2f76a2d972.
2026-03-04 17:53:39 +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
mrleemurray
43b50946c6 update: adjust tab border styles for improved theme consistency 2026-03-04 16:07:16 +00:00
mrleemurray
b2fcfb568f update: remove contrastBorder and use editorWidget-border for chat overlay styles 2026-03-04 15:59:55 +00:00
mrleemurray
b31b8d535b update: refine color theme styles and improve CSS for better UI consistency 2026-03-04 15:50:31 +00:00
Connor Peet
a4e35e0d69 chat: add support for agent plugin sources (#299081)
* chat: add support for agent plugin sources

- Adds support for agent plugins to reference sources as specified in
  PLUGIN_SOURCES.md, enabling installation from GitHub, npm, pip, and
  other package registries
- Integrates source parsing and validation into the plugin installation
  service and repository service
- Adds comprehensive test coverage for plugin source handling and
  installation from various sources
- Creates PLUGIN_SOURCES.md documentation describing how to specify
  plugin source configurations

(Commit message generated by Copilot)

* comments

* windows fixes and fault handling

* fix tests
2026-03-04 07:20:21 -08:00
Don Jayamanne
284bd98ce3 Add support for custom chat agents in the API (#298227)
* Add support for custom chat agents in the API

- Introduced `chatCustomAgents` proposal in extensions API.
- Implemented methods to handle custom agents in `MainThreadChatAgents2`.
- Added `ICustomAgentDto` interface and related functionality in extHost.
- Created new type definitions for custom agents in `vscode.proposed.chatCustomAgents.d.ts`.

* Filter custom agents by visibility before pushing to the proxy

* Refactor onDidChangeCustomAgents to use direct event listener

* Update custom agent tools property to allow undefined values

* Add chatCustomAgents to enabledApiProposals in package.json

* update

* update

* support skills

* support instructions

* update

* update

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2026-03-04 13:38:47 +00:00
Lee Murray
fefd2c95c6 Merge pull request #299173 from microsoft/mrleemurray/port-misc-2026-theme-styles-1
2026 theme: update misc UI component styles
2026-03-04 13:04:59 +00:00
Alex Ross
856ea291a5 No need to throw when an element with the same ID comes in (#299154)
* No need to throw when an element with the same ID comes in
Fixes microsoft/vscode-pull-request-github#8073

* Fix tests
2026-03-04 13:50:35 +01:00