Commit Graph

148279 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
41c9352546 fix: pass Codicon.vscode directly instead of registering a new icon
Co-authored-by: mjbvz <12821956+mjbvz@users.noreply.github.com>
2026-03-06 18:02:12 +00:00
dileepyavan
43db920e00 [MCP_Sandboxing]: Notifying network domains that need access (#299701)
* changes to ensure all the network requests are passed through proxy

* changes to ensure all the network requests are passed through proxy
2026-03-06 17:58:10 +00:00
Matt Bierner
844d9b263b Always require tooltips for markdown command links
Fixes #299657

Also gives the displayed text argument a clearer name
2026-03-06 09:52:09 -08:00
Henning Dieterichs
77375f1dc7 Ensures ColorId.DefaultBackground is set when no colors are registered. 2026-03-06 18:40:00 +01:00
Henning Dieterichs
be9986cffd Fixes problem with code coverage on windows 2026-03-06 18:25:39 +01:00
Christof Marti
3b4da4f334 Revert "chore - Refactor inline chat classes to use private class fields (#29…"
This reverts commit 81f2b5cd2f.
2026-03-06 17:25:16 +00:00
Sergei Druzhkov
8734c3f392 debug: fix variable updating after set response (#299473) 2026-03-06 09:16:30 -08:00
Copilot
6bb50a9e22 fix: accept Azure DevOps Git URLs without .git suffix in plugin marketplace (#299576)
* Initial plan

* fix: accept Azure DevOps Git URLs without .git suffix in plugin marketplace

- Remove the `.git` suffix requirement from `normalizeGitRepoPath`; the function
  now accepts any URL path that has at least two segments.
- Update `parseUriMarketplaceReference` to handle paths with and without `.git`:
  - `cacheSegments` are built without the suffix in both cases.
  - `canonicalId` is always normalized to include `.git` so that the same repo
    specified with and without the suffix deduplicates correctly.
- Add a JSDoc comment on `normalizeGitRepoPath` explaining the new semantics.
- Update the test that expected HTTPS/SSH URLs without `.git` to be rejected;
  these are now accepted. SCP-style (`git@host:path`) still requires `.git`.
- Add tests for Azure DevOps-style URLs and cross-suffix deduplication.

Co-authored-by: connor4312 <2230985+connor4312@users.noreply.github.com>

* refactor: use gitSuffix constant instead of magic number -4

Co-authored-by: connor4312 <2230985+connor4312@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: connor4312 <2230985+connor4312@users.noreply.github.com>
2026-03-06 09:16:16 -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
Megan Rogge
3623d50299 Render command title vs ID for chat tip hover (#299811)
fixes #299579
2026-03-06 09:04:21 -08:00
Lee Murray
8e0baf5de1 Refactor workspace trust editor styles for improved layout (#299798)
* refactor workspace trust editor styles for improved layout and responsiveness

Co-authored-by: Copilot <copilot@github.com>

* set max-width for workspace trust editor to improve layout

---------

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
2026-03-06 08:59:42 -08:00
Connor Peet
2dbd83bd9f chat: register file system provider via workbench contribution (#299528)
* chat: register file system provider via workbench contribution

- Moves the registerProvider call from ChatResponseResourceFileSystemProvider constructor
  to a new ChatResponseResourceWorkbenchContribution class that gets instantiated by
  the workbench. This ensures the vscode-chat-response-resource:// file system provider
  is registered even though the service has no other dependencies that would trigger
  eager instantiation.
- Changes the singleton registration from Eager to Delayed since the workbench
  contribution now depends on it, triggering instantiation.
- Fixes file system provider not being found errors (ENOPRO) when MCPs or extensions
  try to access chat response resources.

Fixes #299504

(Commit message generated by Copilot)

* bump
2026-03-06 17:26:53 +01:00
Benjamin Christopher Simmonds
3d66185c28 Merge pull request #299730 from microsoft/benibenj/federal-penguin
Fix Claude pickers in overflow menu
2026-03-06 17:07:30 +01:00
BeniBenj
4b1876f38c fix tests 2026-03-06 16:52:29 +01:00
Kyle Cutler
dc94486ab9 Browser: context menus (#299013)
* Browser: context menus

* feedback

* feedback

* auxiliary fix
2026-03-06 07:29:58 -08:00
Johannes Rieken
81f2b5cd2f chore - Refactor inline chat classes to use private class fields (#299778)
* Refactor inline chat affordance classes to use private class fields

* native privates for inline chat
2026-03-06 10:14:04 -05:00
Justin Chen
db73eef8c4 fix quick chat input not showing label (#299750)
* fix quick chat input not showing label

* don't use workaround
2026-03-06 14:22:27 +01:00
mrleemurray
235346a65c Remove unnecessary flex display from dialog buttons row for improved layout 2026-03-06 13:00:33 +00:00
mrleemurray
979ed7c014 Fix dialog message container min-height comment for clarity 2026-03-06 12:59:27 +00:00
mrleemurray
4ed8d528f3 Update dialog shadow border radius to use xLarge corner radius 2026-03-06 12:58:23 +00:00
mrleemurray
6727bcbf51 Refactor dialog CSS styles for improved layout and spacing 2026-03-06 12:51:28 +00:00
Lee Murray
37f60cfd11 Merge pull request #299751 from microsoft/mrleemurray/working-salmon-hornet
Add background color to resizable hover widget
2026-03-06 12:25:57 +00: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
66aa46c943 Add background color to resizable hover widget in hover.css
Co-authored-by: Copilot <copilot@github.com>
2026-03-06 12:06:13 +00:00
mrleemurray
ae0eadc1ff Update tab borders in 2026 dark and light themes 2026-03-06 11:33:22 +00:00
Johannes Rieken
a9a9436b2b Bump version to 1.112.0 in package.json and package-lock.json (#299736) 2026-03-06 11:26:44 +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
Johannes Rieken
176d771e8e run oss-tool, update distro (#299717) 2026-03-06 11:34:44 +01:00
BeniBenj
c3c31a2ba5 fix claude pickers when in overflow menu 2026-03-06 11:30:50 +01:00
Johannes Rieken
80c418069f hide inline chat affordance when editor loses focus (#299716)
Fixes #299616
2026-03-06 02:27:46 -08: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
dependabot[bot]
e85cb66e53 Bump tar from 7.5.9 to 7.5.10 in /build/npm/gyp (#299352)
Bumps [tar](https://github.com/isaacs/node-tar) from 7.5.9 to 7.5.10.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v7.5.9...v7.5.10)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.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-05 21:46:45 -08:00
dependabot[bot]
22c9742134 Bump @vscode/component-explorer from 0.1.1-19 to 0.1.1-20 in /build/vite (#299463)
Bumps [@vscode/component-explorer](https://github.com/microsoft/vscode-packages/tree/HEAD/js-component-explorer/packages/explorer) from 0.1.1-19 to 0.1.1-20.
- [Commits](https://github.com/microsoft/vscode-packages/commits/HEAD/js-component-explorer/packages/explorer)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-05 21:46:35 -08:00
dependabot[bot]
68c79600df Bump @tootallnate/once from 3.0.0 to 3.0.1 in /remote (#299311)
Bumps [@tootallnate/once](https://github.com/TooTallNate/once) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/TooTallNate/once/releases)
- [Changelog](https://github.com/TooTallNate/once/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TooTallNate/once/compare/3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: "@tootallnate/once"
  dependency-version: 3.0.1
  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-05 21:45:41 -08:00
Osvaldo Ortega
43971f5a6c Test updates 2026-03-05 20:57:12 -08:00
Osvaldo Ortega
e3f5eb1210 Tests updates 2026-03-05 18:35:57 -08:00
Elijah King
de052c15ea Merge pull request #299634 from microsoft/eli/steer-button-swap
steer uses up arrow (same as send default)
2026-03-05 17:35:21 -08:00
Paul
199e9f9759 Use debug as attachment when clicking debug agent panel button (#299610) 2026-03-06 01:23:30 +00:00
dileepyavan
295e194e0e Dileep y/299224 (#299656)
* code changes

* updating tmp folder based on OS

* fixing the bug when file system setting is empty
2026-03-06 01:18:27 +00:00
copilot-swe-agent[bot]
d8bad4f1d4 Fix file:// links showing ugly URL-encoded hover tooltip in markdown renderer
Co-authored-by: mjbvz <12821956+mjbvz@users.noreply.github.com>
2026-03-06 01:17:56 +00:00
Elijah King
57fe871284 Merge branch 'main' into eli/steer-button-swap 2026-03-05 17:15:22 -08:00
Paul
d004864553 Check workspace trust for hooks (#299638) 2026-03-05 17:13:04 -08:00
copilot-swe-agent[bot]
56bb369855 Initial plan 2026-03-06 01:09:19 +00:00
David Dossett
3a1f21945b Chat input: allow narrower sidebar before icon-only collapse, stop hiding tools button (#299644)
* chat: delay picker collapse and keep tools in toolbar overflow

* rename constant to CHAT_INPUT_PICKER_COLLAPSE_WIDTH per review
2026-03-05 17:08:57 -08:00
copilot-swe-agent[bot]
e168dd04de feat: add Side option to minimap context menu
Co-authored-by: mjbvz <12821956+mjbvz@users.noreply.github.com>
2026-03-06 01:05:48 +00:00
Osvaldo Ortega
cb162a431b Test updates 2026-03-05 17:05:34 -08:00