Commit Graph

147980 Commits

Author SHA1 Message Date
Matt Bierner
a440ae0518 Add min-release-age in npmrc files
For #299632

Not fully enabled unless you're using a recent npm. Next step will be to bump the min node/npm versions for the workspace too
2026-03-10 20:33:07 -07:00
Matt Bierner
ec2b57c283 Merge pull request #300547 from mjbvz/dev/mjbvz/glorious-sparrow
Re-remove webpack
2026-03-10 14:44:41 -07:00
Josh Spicer
a200e8b166 ai-customizations: improve list visual scannability (#300551)
* ai-customizations: improve list visual scannability (#299211)

- Add type-specific icon to each list item (agent, skill, instructions, prompt, hook)
- Format item names: convert dashes/underscores to spaces and apply title case
- Truncate descriptions to first sentence (max 120 chars fallback) to reduce visual noise
- Make item name font-weight 500 so titles pop against secondary text

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

* ai-customizations: add type icon + name/description polish for MCP servers and plugins (#299211)

- Export formatDisplayName and truncateToFirstSentence helpers from aiCustomizationListWidget
- Add mcpServerIcon to McpServerItemRenderer (local + builtin items)
- Add pluginIcon to PluginInstalledItemRenderer
- Apply formatDisplayName (dash/underscore → spaces, title case) to names
- Apply truncateToFirstSentence to descriptions
- Set font-weight: 500 on mcp-server-name to match AI customization list style
- Remove left-indent padding on mcp-server-item now that the icon fills that space

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

* ai-customizations: mute group count badges (#299211)

Replace badge-background/foreground pill styling with plain descriptionForeground
text (opacity 0.8) on both the group-header count and the sidebar section count.
This lets the section label dominate visually.

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

* ai-customizations: restore badge pill with reduced opacity (#299211)

Keep badge-background/foreground colors but apply opacity: 0.6 so the
pill is still visible but clearly secondary to the section label.

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

* ai-customizations: use keybindingLabel tokens for count badges (#299211)

Switch from badge-background (bright accent) to keybindingLabel-background/
foreground/border tokens, which are designed for subtle inline labels.
No opacity hacks needed — the color itself is naturally muted.

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

* ai-customizations: use list.inactiveSelection tokens for count badges (#299211)

Switch to list.inactiveSelectionBackground/Foreground — the semantically
closest tokens for a secondary/muted count pill in a list/tree context.
No opacity hacks needed and the name directly reflects the role.

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

* ai-customizations: strip trailing .md from display names (#299211)

formatDisplayName now strips a case-insensitive .md suffix before
applying the title-case transform, so 'my-file.Md' no longer
appears as a title.

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

* ai-customizations: remove explicit font-weight from item titles (#299211)

Drop the font-weight: 500 on item-name and mcp-server-name. The visual
hierarchy is already established by the 13px full-foreground title vs the
11px muted descriptionForeground description below it, without needing an
explicit weight bump.

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

* ai-customizations: use star icon for built-in MCP server items (#299211)

Built-in MCP items now show builtinIcon (star) instead of mcpServerIcon,
consistent with the prompts built-in group. Icon is now set per-element
in renderElement so the two item types can show different icons.

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

* Revert "ai-customizations: use star icon for built-in MCP server items (#299211)"

This reverts commit 6b08675a22.

* ai-customizations: use star icon for Built-in MCP group header (#299211)

Change the Built-in group header icon from extensionIcon to builtinIcon
(starFull), consistent with the Built-in group in the prompts list.

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

* ai-customizations: remove unused extensionIcon import from mcpListWidget (#299211)

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

* prompts: add create-pr prompt with compile-check reminder

Ensures the TypeScript compile check is run before opening a PR,
catching unused import and type errors that tsgo would flag in CI.

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

* ai-customizations: fix IMatch highlight positions for formatted names (#299211)

nameMatches are now computed against formatDisplayName(item.name) in
filterItems so highlight positions align with the displayed string.
The .md stripping in formatDisplayName changes string length, so matches
against the raw name would produce incorrect highlight spans.
Also removed the outdated '1:1 transformation' claim from the JSDoc.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-10 14:43:53 -07:00
Ladislau Szomoru
4863c500a8 Sessions - add prompt for the draft pull request (#300543)
* Sessions - add prompt for the draft pull request

* Apply suggestion from @Copilot

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-10 14:11:42 -07:00
Paul
d71bb75a3a Remove await in discovery phase (#300537) 2026-03-10 13:52:16 -07:00
Matt Bierner
03968c2076 Re-remove webpack
All of our extensions are now using esbuild
2026-03-10 13:42:52 -07:00
Josh Spicer
f01d41c784 Keep Chat customizations section selected while active (#300528)
Keep active customization section selected

Ensure the left sections list re-applies selection/focus for the active section when the list selection is cleared, so the active view remains persistently selected.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-10 13:29:24 -07:00
Bhavya U
9a1fe573bb Fix registerToolDefinition tools from default chat agent being filtered out (#300529)
Tools registered via registerToolDefinition by the default chat agent
(copilot-chat) were incorrectly getting source type 'extension' instead
of ToolDataSource.Internal. This caused them to be filtered out by the
chat.extensionTools.enabled setting check in getAllToolsIncludingDisabled().

Package.json-contributed tools from the same extension correctly got
ToolDataSource.Internal via the isBuiltinTool check in
languageModelToolsContribution.ts. Apply the same logic in
$registerToolWithDefinition on the main thread.
2026-03-10 20:21:19 +00:00
Connor Peet
ea9e9386aa chat: simplify symbol reference cache to an array (#300489)
* chat: simplify symbol reference cache to an array

Replaces the Map-based symbol reference cache with a simple array that
keeps only the last 3 copied symbols. This removes the 15-second TTL
expiration logic and relies on insertion order instead.

- Changed symbolReferenceCache from Map to array
- Removed symbolCacheTtlMs constant and pruning logic
- Added symbolCacheMaxSize constant for max entries
- Simplified cache lookups with array.find()
- Automatically evicts oldest entry when exceeding capacity

(Commit message generated by Copilot)

* comment

* skip flakey test, suggested by Megan
2026-03-10 12:51:52 -07:00
Megan Rogge
bcc83ce105 Fix cannot read properties of undefined (reading 'filter') (#300518)
prevent error from throwing
2026-03-10 12:39:28 -07:00
Matt Bierner
3aa9077237 Merge pull request #300358 from mjbvz/dev/mjbvz/faithful-crow
Reduce `....args: any[]` usage
2026-03-10 12:22:19 -07:00
Dmitriy Vasyura
cfe3b3286e Update action for the title bar (#300453) 2026-03-10 19:20:43 +00:00
Megan Rogge
b50d56f99a do not send freeform input for autoreply, just return (#300515) 2026-03-10 12:19:26 -07:00
JeffreyCA
db2c7eebf0 Update Fig spec for Azure Developer CLI (azd) (#299892)
Add azd terminal completions for new extension and core commands
2026-03-10 15:11:37 -04:00
Ladislau Szomoru
97c94c2a79 Sessions - update context key calculation (#300514) 2026-03-10 12:04:01 -07:00
Megan Rogge
13262e38d8 fix cannot read properties of undefined (reading 'getCell') error that causes terminal benchmarks to fail (#300517)
fix error
2026-03-10 11:58:55 -07:00
dependabot[bot]
82ee6ebf02 Bump the component-explorer group with 2 updates (#300168)
Bumps the component-explorer group with 2 updates: [@vscode/component-explorer](https://github.com/microsoft/vscode-packages/tree/HEAD/js-component-explorer/packages/explorer) and [@vscode/component-explorer-cli](https://github.com/microsoft/vscode-packages/tree/HEAD/js-component-explorer/packages/cli).


Updates `@vscode/component-explorer` from 0.1.1-19 to 0.1.1-22
- [Commits](https://github.com/microsoft/vscode-packages/commits/HEAD/js-component-explorer/packages/explorer)

Updates `@vscode/component-explorer-cli` from 0.1.1-15 to 0.1.1-18
- [Commits](https://github.com/microsoft/vscode-packages/commits/HEAD/js-component-explorer/packages/cli)

---
updated-dependencies:
- dependency-name: "@vscode/component-explorer"
  dependency-version: 0.1.1-22
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: component-explorer
- dependency-name: "@vscode/component-explorer-cli"
  dependency-version: 0.1.1-18
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: component-explorer
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-10 11:52:14 -07:00
Matt Bierner
d42b123a3c Merge pull request #297570 from microsoft/copilot/fix-tooltip-markdown-syntax
Fix: Strip markdown syntax from deprecated setting diagnostic messages
2026-03-10 11:34:27 -07:00
Anthony Kim
01eb53f0f9 Bump xterm to take IME overflow fix (#300322)
Bump xterm to take IME fix
2026-03-10 11:03:43 -07:00
Matt Bierner
929482dd58 Merge branch 'main' into dev/mjbvz/faithful-crow 2026-03-10 11:01:15 -07:00
Johannes Rieken
cb61e0d5bd Fix source path duplication in NLS plugin source maps and add corresponding test (#300487) 2026-03-11 04:57:33 +11:00
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
Matt Bierner
2eefd9e554 Merge pull request #300495 from mjbvz/dev/mjbvz/fierce-hawk
Disable api-version-check for now
2026-03-10 10:45:12 -07:00
Vijay Upadya
34bfd71aea Revert "Revert "Debug Panel: oTel data source support and Import/export (#299256)"" (#300477)
Revert "Revert "Debug Panel: oTel data source support and Import/export (#299…"

This reverts commit 11246017b6.
2026-03-10 17:32:58 +00:00
Matt Bierner
0cd1e5976a Disable api-version-check for now
Needed to unblock #300477
2026-03-10 10:22:07 -07:00
Anthony Kim
7daf926d27 Add telemetry for xterm imageAddon (#299017)
* Add telemetry imageAddon loaded

* edit descr

* add more individual telmetry from xterm.js api

* Make sure we have telemetry for setting AND image count
2026-03-10 10:16:03 -07:00
dileepyavan
c2da2674e1 [MCP_Sandboxing]Updating regex for extracting paths from sandbox errors (#300354)
* changes to ensure all the network requests are passed through proxy

* changes to ensure all the network requests are passed through proxy

* changes to quote shell arguments passed to sandbox

* updates to default paths

* Updating regex to extract file name
2026-03-10 09:35:15 -07:00
Matt Bierner
3f2a0f6fdc Merge pull request #300472 from mjbvz/dev/mjbvz/stable-lark
Consolidate `MockChatService`
2026-03-10 09:26:07 -07:00
Kyle Cutler
e03506d1b0 Browser: CDP over IPC (#300292) 2026-03-10 09:17:48 -07:00
Benjamin Christopher Simmonds
5e86484f5f Merge pull request #300469 from microsoft/benibenj/coastal-coyote
Hover for attach button in chat widget context action
2026-03-10 17:12:49 +01:00
Connor Peet
71d74966ec chat: use softAssertNever for unknown response parts (#300470)
Closes https://github.com/microsoft/vscode/issues/300204
2026-03-10 16:09:40 +00:00
Matt Bierner
3ef1baf097 Consolidate MockChatService
We have two `MockChatService` classes. This makes updating the interface slow since you have to update both locations. The two also behave slightly differently
2026-03-10 09:02:25 -07:00
Sandeep Somavarapu
ce4a1cfa8d Revert "config: make all settings experiment-aware by default (#300437)" (#300467)
This reverts commit e9eb2fd0cc.
2026-03-10 08:58:40 -07:00
BeniBenj
368df9ea1c hover for attach button in chat widget context action 2026-03-10 16:48:04 +01:00
Alex Ross
4198c6b4c4 Try fix workflow list (#300458)
* Try fix workflow list

* Fix API name again.
2026-03-10 16:30:39 +01:00
Lee Murray
31fa18a9e4 Update @vscode/codicons to version 0.0.45-14 (#300457)
chore: update @vscode/codicons version to 0.0.45-14 in package.json and package-lock.json

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
2026-03-10 15:13:09 +00:00
Sandeep Somavarapu
e9eb2fd0cc config: make all settings experiment-aware by default (#300437)
* fix: improve experiment handling in configuration defaults

* refactor: simplify experiment property structure in configuration schemas

* Copilot CLI session f7a6aaaa-477b-497b-bfe8-9a59c2c61ed8 changes

* refactor: remove 'experimentMode: auto' from configuration schemas

* feat: export ConfigurationDefaultOverridesContribution class and add tests for configuration overrides

* fix: update experimentMode assignment logic in configuration properties

* fix: ensure experimentMode is always set to 'startup' in property configuration
2026-03-10 16:01:17 +01:00
Sandeep Somavarapu
62fcd7cac0 Mode picker in Sessions app (#298199)
* feat: add mode picker functionality and integrate mode management in chat sessions

* feat: integrate IChatSessionsService and enhance mode picker with custom agent target

* feat: update mode picker to use MenuItemAction and remove setMode callback

* fix: update available modes logic to use effective target for custom agent selection

* feat: enhance mode picker to support configuration of custom agents and update item structure

* feat: integrate ILanguageModelToolsService and enhance mode handling in SessionsManagementService

* feat: add group property to configure custom agents action in mode picker

* feat: update session mode handling to reflect selected mode in input model

* fix setting agent in session options

* fix

* fix checking untitled session

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

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

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

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

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

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

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

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

* feedback

* open new ai customisations editor

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-10 10:56:16 -04:00
Matt Bierner
eed7ce60dc Merge pull request #300350 from mjbvz/dev/mjbvz/appalling-tahr
Reduce `any` usage in consoleForwarder
2026-03-10 07:52:48 -07: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
Sandeep Somavarapu
526c24b569 chat: refactor model picker delegate and improve picker UX (#300436)
* refactor: update model management methods to use grouped model picker

* refactor: remove showManageModelsAction parameter from model picker functions

* refactor: streamline model picker item construction and improve readability

* refactor: reorganize model picker logic to support grouped model selection

* refactor: disable showManageModelsAction in NewChatWidget and simplify useGroupedModelPicker logic

* fix: increase viewport max height calculation in ActionList class

* feat: add hover position support to model picker and related components
2026-03-10 10:00:17 -04:00
Alex Ross
54b762dd84 Rerun the failed API version check (#300443)
* Rerun the failed API version check

* CCR comments
2026-03-10 14:59:01 +01:00
Benjamin Christopher Simmonds
c8a2659cb7 Merge pull request #300444 from microsoft/benibenj/proposed-lynx
ci and PR review comments in agent feedback
2026-03-10 14:58:46 +01:00
BeniBenj
7cfab2369d revert copilot suggestion 2026-03-10 14:31:04 +01:00
Benjamin Christopher Simmonds
40e2da7a67 Update src/vs/sessions/contrib/codeReview/browser/codeReviewService.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-10 14:20:08 +01:00
BeniBenj
f316d9db7e ci and PR review comments in agent feedback 2026-03-10 14:11:45 +01:00
Ladislau Szomoru
83e4102717 Sessions - tweak toolbar actions (#300434) 2026-03-10 13:51:18 +01:00
Alex Ross
cba3c7aac7 Add API proposal version check (#300392)
* Add API proposal version check

* CCR feedback

* Test with version bump

* Comment improvements

* Undo test version bump

* More comment improvement
2026-03-10 12:52:52 +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