Commit Graph

149716 Commits

Author SHA1 Message Date
dependabot[bot]
fc734bd35b Bump brace-expansion from 1.1.12 to 1.1.13 in /extensions/markdown-language-features (#305820)
Bump brace-expansion in /extensions/markdown-language-features

Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.12 to 1.1.13.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.12...v1.1.13)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.13
  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-30 17:27:59 +02:00
Martin Aeschlimann
cc13977fc4 rename VS Code Dark -> Dark 2026 (#306364) 2026-03-30 15:24:38 +00:00
Ladislau Szomoru
f91019e767 Sessions - set isolation mode when we cannot detect a repository (#306359) 2026-03-30 15:01:06 +00:00
Lee Murray
e231798dee theme: add notification for auto-updated default themes (#306341)
Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
2026-03-30 16:53:14 +02:00
Sandeep Somavarapu
af50a47c13 sessions: add rerun action for failed CI checks in PR checks view (#306347)
Add a per-check rerun button for failed CI checks in the changes view.
Uses the GitHub Actions rerun-failed-jobs API, extracting the workflow
run ID from the check's detailsUrl.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-30 19:26:58 +05:00
Sandeep Somavarapu
64e73b0366 sessions: fix multi-select context menu to operate on all selected items (#306332)
* sessions: fix multi-select context menu to operate on all selected items

Context menu actions in the sessions list previously only operated on the
right-clicked item, ignoring other selected items. Now the context menu
collects the tree selection and passes all selected sessions to actions.

Changes:
- sessionsList.ts: Pass selected sessions array as arg to context menu actions
- sessionsViewActions.ts: Update all 7 item actions to accept ISession | ISession[]
- copilotChatSessionsActions.ts: Update bridge commands to handle session arrays

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

* ensure right-clicked element is first in multi-selection

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-30 14:14:10 +00:00
Isidor Nikolic
0705ebef87 Merge pull request #306330 from microsoft/isidorn/gorgeous-bee
log requestUnsandboxesExecutionReason
2026-03-30 15:51:11 +02:00
dileepyavan
a2d7b9e13b [Sandbox] Notify user to run out of sandbox if the domain is not included in allowedDomains. (#306121)
* Rename sandbox setting to chat.agent.sandbox (#303421)

Rename the top-level sandbox setting from `chat.tools.terminal.sandbox.enabled`
to `chat.agent.sandbox` to reflect that sandboxing is a general agent concept,
not terminal-specific.

- Update setting ID value to `chat.agent.sandbox`
- Update description to be more general
- Deprecate old `chat.tools.terminal.sandbox.enabled` setting
- Update telemetry event name

Fixes #303421

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

* updating terminal sandbox to agent sandbox

* removed allowTrustedDomains

* correcting the settings keys for sandboxing

* correcting the settings keys for sandboxing

* Explicit notification for blocked domains before running the command

* Fix terminal sandbox follow-ups

* main merge

* fixing tests

* Update src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.ts

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

* Update src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.ts

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

* Update src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.ts

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

* Update src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.ts

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

* Revert "Update src/vs/workbench/contrib/terminalContrib/chatAgentTools/common/terminalSandboxService.ts"

This reverts commit b956dfa719.

* removing local files

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-30 15:33:04 +02:00
Sandeep Somavarapu
03e592c629 actionWidget: fix submenu group label rendered as item description (#306327)
The submenu header (e.g. 'Thinking effort') was incorrectly shown as the
description of the first action item instead of as a proper section header.

Regression from f6218ecb33 which replaced ActionListItemKind.Header items
with inline description on the first child action.

Restore proper Header rendering for SubmenuAction groups that have a label.
For the sessions workspace picker, move the provider label to the first
child action's tooltip so it renders as a description instead of a header.

Fixes #306250

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-30 13:21:38 +00:00
Isidor
3cbe1c0739 log requestUnsandboxesExecutionReason 2026-03-30 14:51:29 +02:00
Sandeep Somavarapu
29f5047784 sessions: fix sidebar layout when customizations toolbar changes (#306314)
* sessions: fix sidebar layout when customizations toolbar changes

- Listen to toolbar's onDidChangeMenuItems to trigger re-layout when
  items are added/removed (e.g., Plugins appearing after extension
  activation)
- Remove redundant height: 100% from sessions-list-control (flex
  sizing handles this)
- Reduce sessions section bottom margin from 12px to 6px
- Rename onDidToggleCollapse to onDidChangeLayout to reflect broader
  layout change handling

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

* Update src/vs/sessions/contrib/sessions/browser/media/sessionsList.css

Co-authored-by: Copilot <175728472+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>
2026-03-30 12:45:47 +00:00
Lee Murray
837894c241 Add styles for toggled state of sidebar toggle button (#306304)
* feat: add styles for toggled state of sidebar toggle button

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

* Update src/vs/sessions/browser/parts/media/sidebarPart.css

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

---------

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-30 14:32:10 +02:00
Robo
d11c632ba8 chore: update electron@39.8.5 (#306292)
* chore: update electron@39.8.5

* chore: bump distro
2026-03-30 11:13:12 +00:00
Lee Murray
eda966ed52 Merge pull request #306272 from microsoft/mrleemurray/sessions-toggle-update
Sessions: refactor toggle action and unread badge
2026-03-30 11:45:08 +01:00
Ladislau Szomoru
f92a4853f7 Git - change the default value for the git.detectWorktrees setting (#306286) 2026-03-30 10:43:16 +00:00
Sandeep Somavarapu
d55c8eb9f1 fix #305321 (#306265)
* fix #305321

* feedback
2026-03-30 10:36:20 +00:00
Lee Murray
3d5035e987 Sessions: Remove line-height from changes-decoration-badge styles in changesView.css (#306275)
style: remove line-height property from button styles in changesView.css

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
2026-03-30 12:19:49 +02:00
mrleemurray
5915e0ff74 feat: enhance sidebar toggle accessibility with aria attributes for unread session count
Co-authored-by: Copilot <copilot@github.com>
2026-03-30 10:48:40 +01:00
mrleemurray
010902acf0 fix: correct sidebar part visibility event handling in SidebarToggleActionViewItem
Co-authored-by: Copilot <copilot@github.com>
2026-03-30 10:46:28 +01:00
Lee Murray
6d8965cb27 Update src/vs/sessions/contrib/sessions/browser/sessionsTitleBarWidget.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-30 10:44:49 +01:00
mrleemurray
4820a094b1 feat: optimize sidebar badge updates with autorun for session state and visibility changes
Co-authored-by: Copilot <copilot@github.com>
2026-03-30 10:36:01 +01:00
mrleemurray
2494659e69 feat: update sidebar toggle actions and badge behavior for session state changes
Co-authored-by: Copilot <copilot@github.com>
2026-03-30 10:31:06 +01:00
Robo
4927766313 chore: add srt sandbox dependencies to deb and rpm (#297819)
* chore: add srt sandbox dependencies to deb and rpm

* fix: move the depedency to recommends
2026-03-30 18:29:20 +09:00
mrleemurray
3bc76baebe feat: enhance sidebar functionality with toggle action and unread badge
Co-authored-by: Copilot <copilot@github.com>
2026-03-30 10:26:39 +01:00
Alex Ross
d96c52ea7d Bump version (#306223) 2026-03-30 08:43:58 +02:00
Kyle Cutler
ee6bfc559a Fix shortcuts double-emitting from browser on Mac (#306198) 2026-03-29 20:21:04 -07:00
Rob Lourens
24982fe889 chat: add "Copy Final Response" context menu action (#306184)
* feat: add getFinalResponse method to IResponse and implement CopyFinalResponseAction

* feat: add context key for response view model in ChatListWidget
2026-03-29 19:14:06 -07:00
Rob Lourens
94c7bf8213 Unify agentHost server-side dispatch: remove IProtocolSideEffectHandler (#306158)
* Unify agentHost server-side dispatch: remove IProtocolSideEffectHandler

Eliminate the IProtocolSideEffectHandler interface and make
ProtocolServerHandler talk to IAgentService directly. This removes
the duplicate adapter layer between the WebSocket protocol server
and the real service implementation.

Changes:
- ProtocolServerHandler now takes IAgentService + SessionStateManager +
  IProtocolServerConfig instead of IProtocolSideEffectHandler
- Deleted ~40-line inline adapter in agentHostMain.ts
- agentHostServerMain.ts now uses AgentService instead of manually
  wiring SessionStateManager + AgentSideEffects
- Removed implements IProtocolSideEffectHandler from AgentSideEffects
- Removed dead methods from AgentSideEffects that were only needed
  by the deleted interface (handleCreateSession, handleDisposeSession,
  handleListSessions, handleGetResourceMetadata, handleAuthenticate,
  getDefaultDirectory)
- Type conversions (URI<->string, IAgentSessionMetadata<->ISessionSummary)
  now happen at the protocol boundary in ProtocolServerHandler
- Fixed dispatchAction double-dispatch: WS path previously dispatched
  to stateManager AND called handleAction (which dispatched again)
- Extension methods (getResourceMetadata, authenticate, etc.) now call
  IAgentService directly instead of untyped fallbacks

(Written by Copilot)

* comments

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

* Simplify further

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

---------

Co-authored-by: Copilot <copilot@github.com>
2026-03-29 19:07:20 -07:00
Justin Chen
bf71412e69 change first checkpoint to something more friendly (#306178) 2026-03-29 23:18:02 +00:00
Martin Aeschlimann
d7ebb2cc7d don't block chat when collecting instructions fail (#306161) 2026-03-30 08:47:37 +11:00
Martin Aeschlimann
ba1bdcd30b send button becomes non-responsive in existing workspaces after enabling parent repository customizations (#306153)
* send button becomes non-responsive in existing workspaces after enabling parent repository customizations

* update

* update
2026-03-29 21:31:55 +00:00
Justin Chen
68cb51843c don't show autopilot handoff when policy is disabled (#306151) 2026-03-29 20:30:26 +00:00
Benjamin Pasero
2e2025216e sessions - update item height when approving (#306146) 2026-03-29 20:03:23 +00:00
Rob Lourens
0dad7e0453 Use URI for workingDirectory across agent host layer (#306117)
* Use URI for workingDirectory across agent host layer

- Change IAgentCreateSessionConfig.workingDirectory and
  IAgentSessionMetadata.workingDirectory from string to URI
- Convert file paths to URI at SDK boundary (CopilotAgent)
- Convert protocol strings to agenthost:// URIs at protocol client boundary
- Convert agenthost:// URIs back to file:// at protocol client on outgoing
- Update resolveWorkingDirectory callback to return URI
- Use extUriBiasedIgnorePathCase.isEqualOrParent for path containment
- Use generateUuid() instead of crypto.randomUUID()
- Add CopilotAgentSession tests and SessionWrapperFactory pattern
- Register all event subscription disposables properly

(Written by Copilot)

* Tweak

* Fix test
2026-03-29 21:56:06 +02:00
Benjamin Pasero
9a6bf81db5 debt - cleanup from sidebar support in modal editors (#306141)
* debt - cleanup from sidebar support in modal editors

* .

* Update src/vs/platform/editor/common/editor.ts

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

* .

* Scope sidebar tree action runner to sidebar selection

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/7e47c5a7-9a3f-4353-975d-ab48a16bdc86

Co-authored-by: bpasero <900690+bpasero@users.noreply.github.com>

* .

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: bpasero <900690+bpasero@users.noreply.github.com>
2026-03-29 19:50:40 +00:00
Martin Aeschlimann
647e421782 prompt service: simplify types, remove ExtensionAgentSourceType & IResolvedPromptFile (#306128) 2026-03-29 18:53:55 +00:00
Sandeep Somavarapu
fcecb74ef9 sessions: decouple sessions layer from agent sessions dependencies (#306132)
* refactor: remove unused import and update session status check in SessionsManagementService

* refactor: remove public getGitHubContext method and change its visibility to private in SessionsManagementService

* refactor: remove getGitHubContextForSession method and its fallback logic in SessionsManagementService

* refactor: replace pullRequest with gitHubInfo in session data structures and related logic

* refactor: rename ISessionGitHubInfo to IGitHubInfo and update references across session data structures

* refactor: update GitHub info structure to encapsulate pull request details

* refactor: update session management to utilize gitHubInfo for pull request details

* refactor: simplify file URI resolution in CodeReviewService and remove unused method from SessionsManagementService

* refactor: remove unused getSessionRepositoryUri method and related logic from SessionsManagementService

* refactor: update session type constants to use string literals in sessionTypes and sessionsManagementService

* refactor: update pull request handling to utilize gitHubInfo in ChangesViewPane

* refactor: replace AgentSessionProviders with session type constants across sessions layer

Replace direct imports of AgentSessionProviders enum from the workbench
agent sessions layer with CopilotCLISessionType/CopilotCloudSessionType
constants from the sessions layer's own sessionTypes module.

Simplify workspaceFolderManagement to use session workspace data instead
of provider-specific branching. Remove fileTreeView component.

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

* refactor: remove agent sessions dependencies from changes and mode picker

- changesTitleBarWidget: use ISessionsManagementService instead of
  IAgentSessionsService for session lookup and change events
- changesView: use sessionManagementService.onDidChangeSessions signal
- modePicker: replace AgentSessionProviders with CopilotCLISessionType

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

* fix: add missing gitHubInfo to mock session in codeReviewService tests

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

* fix compilation

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-29 18:43:12 +00:00
Benjamin Pasero
1bff585f1a debt - fix regression with layer checker and DOM (#306119) 2026-03-29 18:13:02 +00:00
Benjamin Pasero
18675700ad sessions - sidebar support in modal editors for changes (#306122) 2026-03-29 19:58:43 +02:00
Ladislau Szomoru
ccbf5dfcfc Sessions - tweak pull request context keys (#306101)
* Sessions - tweak pull request context keys

* Update src/vs/sessions/contrib/changes/browser/changesView.ts

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

* More changes

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-29 17:46:07 +02:00
Ladislau Szomoru
61f0639ce0 Sessions - use valid location for quick diff progress (#306084)
* Sessions - use valid location for quick diff progress

* Pull request feedback

* Another one
2026-03-29 09:44:50 +00:00
Martin Aeschlimann
d7ba23500a PromptsService: cache IPromptDiscoveryInfo, simplify IPromptDiscoveryInfo (#306082)
* PromptsService: cache IPromptDiscoveryInfo, siimplify IPromptDiscoveryInfo

* Update src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsService.ts

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

* Update src/vs/workbench/contrib/chat/common/promptSyntax/service/promptsServiceImpl.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-29 08:31:02 +00:00
Benjamin Pasero
3b664fd5a0 sessions - top shadow also for chat editors in floating windows (#306020)
* sessions - top shadow also for chat editors in floating windows

* Update src/vs/sessions/browser/media/style.css

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-29 09:24:17 +02:00
Rob Lourens
83700a8c46 chat: fix createModelReference leak in ResolveSymbolsContextAction (#306068)
Improve error handling in ResolveSymbolsContextAction by ensuring model reference disposal
2026-03-29 05:15:27 +00:00
Rob Lourens
1ae3819053 test: skip flaky test for empty array input in getFileEdits (#306062) 2026-03-28 21:15:37 -07:00
Peng Lyu
9a82b04373 carousel: fix image loading placeholder (#306061)
* carousel: fix image loading placeholder

* Resolve Comments
2026-03-29 04:14:27 +00:00
Rob Lourens
9bdf0cba5e Bump notebook milestones (#306052)
Bump notebook milestone
2026-03-29 04:06:58 +00:00
Sandeep Somavarapu
229d6c5920 sessions fixes (#306055)
* Sessions - more fixes

* fix compilation
2026-03-29 03:23:55 +00:00
Sandeep Somavarapu
77e838d5b0 sessions: refactor title bar to use sessions management service and add sessions picker command (#306053)
* refactor: streamline session management in SessionsTitleBarWidget and add Show Sessions Picker action

* feat: add Show Sessions Picker action and refactor session actions

* feat: enhance session visibility by including active session in filtered list

* fix: ensure active session is included in filtered list by matching sessionId

* fix: use sessionId instead of URI toString for picked state comparison

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

* refactor: reuse SessionItemContextMenuId for title bar context menu

Use the same menu ID and context key overlays as the sessions list
view instead of hardcoding actions, ensuring consistency.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-29 03:22:41 +00:00
Rob Lourens
23c0b41d69 Enable test/test-integration scripts to take file.test.ts arguments (#306039)
* Enable test/test-integration scripts to take file.test.ts arguments
The agent likes to use them this way, when it doesn't read the skill

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

* And this

* Fixes

* update

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

---------

Co-authored-by: Copilot <copilot@github.com>
2026-03-29 02:48:59 +00:00