Commit Graph

149227 Commits

Author SHA1 Message Date
vs-code-engineering[bot]
0f2816f565 Update distro commit (main) (#304506)
Update distro commit to d48ce3e6

Co-authored-by: vs-code-engineering[bot] <122617954+vs-code-engineering[bot]@users.noreply.github.com>
2026-03-24 17:40:18 +00:00
Ladislau Szomoru
6973c352c9 Sessions - expose session resource to actions (#304497) 2026-03-24 10:36:06 -07:00
Megan Rogge
c0a0761df4 Fix get_terminal_output Invalid ID Handling and Clarify Background Terminal ID Contract (#303255)
fix #298433
2026-03-24 10:35:49 -07:00
Lee Murray
ce19b8e0e9 Refactor theme and layout for sidebar, panel, and auxiliary components (#304447)
* refactor: update theme colors for sidebar, panel, and auxiliary bar components

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

* refactor: update sidebar and panel styles to remove right borders and adjust colors

* refactor: adjust margin values for chatbar, auxiliary bar, and panel components

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

* refactor: adjust layout margins for chatbar, panel, and sidebar components

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

* refactor: update padding for account widget and agent sessions viewer components

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

* refactor: adjust footer margins and add bottom margin for sessions view pane

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

* Apply suggestion from @Copilot

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

* Apply suggestion from @Copilot

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

* refactor: remove unused imports in sidebarPart.ts

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

* refactor: update theme colors for sessions components and adjust background properties

Co-authored-by: Copilot <copilot@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-24 17:10:18 +00:00
Daniel Imms
a31e6e0080 Merge pull request #304498 from microsoft/tyriar/remove
Remove self from notify, classifier, events, etc.
2026-03-24 09:09:10 -07:00
Daniel Imms
8657f4358e Remove self from notify, classifier, events, etc. 2026-03-24 08:54:12 -07:00
Ladislau Szomoru
754b67fe92 Sessions - expose Changes view menu (#304489)
Sessions - expose changes view menus
2026-03-24 15:43:31 +00:00
Martin Aeschlimann
b7d981c0ca show warning when subagents are used but not enabled (#290746)
* show warning when subagents are used but not enabled

* update test
2026-03-24 16:24:39 +01:00
Benjamin Christopher Simmonds
3582df302f Merge pull request #304479 from microsoft/benibenj/amateur-marlin
Support color override for sessions
2026-03-24 16:18:39 +01:00
Benjamin Christopher Simmonds
ec4b9c6bcc Update src/vs/platform/theme/common/colorUtils.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-24 16:03:30 +01:00
BeniBenj
d8f0ea0317 Support color override for sessions 2026-03-24 15:54:27 +01:00
Lee Murray
29a9060ca3 Merge pull request #304433 from microsoft/mrleemurray/solid-blush-shark
Implement changes indicator in titlebar and clean up auxiliary bar widget
2026-03-24 14:41:39 +00:00
mrleemurray
f267d174ed style: update titlebar-right layout for mac in agent sessions workbench
Co-authored-by: Copilot <copilot@github.com>
2026-03-24 14:27:23 +00:00
mrleemurray
38d366ba15 style: refine titlebar-right layout for non-Windows workbench
Co-authored-by: Copilot <copilot@github.com>
2026-03-24 14:10:53 +00:00
mrleemurray
6276ee733b style: adjust margin for titlebar-right-layout-container in non-Windows workbench
Co-authored-by: Copilot <copilot@github.com>
2026-03-24 14:01:01 +00:00
Martin Aeschlimann
b9f6b79fda chat session actions: parse slash command (#304225)
* chat session actions: parse slash command

* Update src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.ts

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

* updates

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-24 14:08:49 +01:00
Martin Aeschlimann
d70ac11ea4 Replace chat.subagents.maxDepth with chat.subagents.allowInvocationsFromSubagents (#304434) 2026-03-24 18:01:47 +05:00
mrleemurray
b2529c3528 Merge remote-tracking branch 'origin/main' into mrleemurray/solid-blush-shark
Co-authored-by: Copilot <copilot@github.com>
2026-03-24 12:57:06 +00:00
Lee Murray
6575b131b2 Merge pull request #304424 from microsoft/mrleemurray/systematic-teal-swift
Sessions: Refactor and enhance session status widget in titlebar
2026-03-24 12:02:07 +00:00
mrleemurray
b4f8b08466 refactor: update comments and clean up ChangesTitleBarActionViewItem class
Co-authored-by: Copilot <copilot@github.com>
2026-03-24 11:40:05 +00:00
mrleemurray
ad0f5e5e2e feat: implement changes indicator in titlebar and clean up auxiliary bar widget
Co-authored-by: Copilot <copilot@github.com>
2026-03-24 11:33:06 +00:00
Johannes Rieken
576cc0a5e1 Merge pull request #303513 from microsoft/joh/copilot/steep-weasel
Attach to chat from QP
2026-03-24 12:20:29 +01:00
Copilot
a12f544056 Fix dragging editor tab issue with truncated filenames (#304037)
* Initial plan

* Fix drag image for shrink-sized tabs to avoid tab header UI artifacts

Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>
Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/33fedcaa-392b-498d-9f3c-739f96e032e5

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: benibenj <44439583+benibenj@users.noreply.github.com>
2026-03-24 11:19:50 +00:00
mrleemurray
5d16f08a8c refactor: remove unused CollapsedSidebarWidget class and related CSS styles
Co-authored-by: Copilot <copilot@github.com>
2026-03-24 11:10:51 +00:00
mrleemurray
17abe50723 feat: add countUnreadSessions function to streamline unread session counting in sidebar and title bar
Co-authored-by: Copilot <copilot@github.com>
2026-03-24 11:06:47 +00:00
Johannes Rieken
46c65bcd05 run oss tool (#304416) 2026-03-24 12:05:30 +01:00
mrleemurray
85dff957e6 refactor: update session status widget and titlebar count button for improved accessibility and styling
Co-authored-by: Copilot <copilot@github.com>
2026-03-24 11:04:09 +00:00
mrleemurray
f8aa82cf21 feat: implement session count widget in titlebar with unread session tracking
Co-authored-by: Copilot <copilot@github.com>
2026-03-24 10:48:36 +00:00
mrleemurray
148436bef6 refactor: rename CollapsedSidebarWidget to SessionStatusWidget and update its functionality in the titlebar
Co-authored-by: Copilot <copilot@github.com>
2026-03-24 10:34:16 +00:00
Alexandru Dima
5d82d8ab1e fix: correct terminal sandbox icon in thinking dropdown (#304327)
When sandbox is enabled, the tool-level icon was set to terminalSecure (lock)
at registration time, which leaked into every rendering path during streaming
before we knew if a specific command was actually sandboxed. This caused
unsandboxed commands (requestUnsandboxedExecution=true) to show the lock icon.

Fix:
- Set toolData.icon to always be Codicon.terminal (no lock). The per-command
  isSandboxWrapped flag in toolSpecificData is the authoritative source.
- In the existing autorun in trackToolMetadata, update the icon element when
  the tool transitions out of streaming and toolSpecificData becomes available.
- Store icon elements in toolIconsByCallId map for direct access.

Fixes #303505
2026-03-24 10:27:57 +00:00
Ladislau Szomoru
0f66161e36 Sessions - customize badge rendering (#304411)
* Sessions - customize badge rendering

* Fix comment format
2026-03-24 10:16:30 +00:00
Benjamin Christopher Simmonds
d847f21d2f Merge pull request #304412 from microsoft/benibenj/big-kite
Revert "Session grouping api"
2026-03-24 11:10:01 +01:00
Benjamin Christopher Simmonds
de4d27aa3b Sessions: Use ITaskService to run tasks instead of terminal commands (#304397)
Use ITaskService to run tasks in sessions window

Replace the hacky terminal-based task execution (creating a terminal and
sending commands directly) with proper ITaskService.run() delegation.
This ensures all task types are supported on all platforms, not just
shell and npm tasks.

Changes:
- runTask now looks up the task by label via ITaskService.getTask() using
  the workspace folder for the session worktree, then runs it via
  ITaskService.run()
- Removed _resolveCommand, _appendArgs, _getExistingTerminalInstance
  and the _taskTerminals cache (no longer needed)
- Removed _SUPPORTED_TASK_TYPES filter since the task service handles
  all task types
- Replaced ITerminalService dependency with ITaskService and
  IWorkspaceContextService
- Updated tests to mock ITaskService and IWorkspaceContextService

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-24 10:56:22 +01:00
BeniBenj
49610e6f17 Revert "Session grouping api"
This reverts commit 9ea434f320.
2026-03-24 10:55:22 +01:00
João Moreno
fc6b2053dd fix: trigger stable build instead of insider build on release branches (#304406)
Co-authored-by: Copilot <copilot@github.com>
2026-03-24 09:37:56 +00:00
Benjamin Christopher Simmonds
bb77888173 Fix Windows agent harness links in postinstall (#304392)
* Fix Windows agent harness links in postinstall

* Update build/npm/postinstall.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-24 09:57:28 +01:00
Johannes Rieken
7674c073de fix: update TPI_CREATION variable reference in GitHub issues queries (#304389) 2026-03-24 09:35:49 +01:00
Johannes
599a33b0ee Refactor symbol ID generation in GotoSymbolQuickAccessProvider and SymbolsQuickAccessProvider to use JSON.stringify for better structure 2026-03-24 09:22:47 +01:00
Johannes Rieken
e3ecdcfe70 Update src/vs/platform/quickinput/browser/quickInputActions.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-24 09:18:27 +01:00
Don Jayamanne
d1c20135ee refactor: Copilot CLI simplify preselectModelFromSessionHistory (#304378) 2026-03-24 07:45:18 +00:00
Don Jayamanne
3ad404e869 refactor: Copilot CLI resort to restoring model from history (#304364)
* refactor: Copilot CLI resort to restoring model from history

* Updates
2026-03-24 00:21:13 -07:00
Rob Lourens
a2e920987e Fix loading sessions that were created by a previous remote agent host instance (#304344)
* Fix loading sessions that were created by a previous instance of the server

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

* Add handleRestoreSession to agentHostMain side effects

Wire up the handleRestoreSession method in the utility process
agent host entry point, delegating to AgentService which forwards
to AgentSideEffects. This was missing after the interface was
updated to require session restore support.

* Address Copilot review: wrap backend errors, use Cancelled for interrupted turns

- Wrap agent.listSessions() and agent.getSessionMessages() calls in
  try/catch so raw backend errors become ProtocolErrors instead of
  leaking stack traces to clients.
- Use TurnState.Cancelled instead of TurnState.Complete for
  interrupted/dangling turns during session restoration.
- Update test assertions to match new interrupted turn state.

(Written by Copilot)

---------

Co-authored-by: Copilot <copilot@github.com>
2026-03-24 04:41:48 +00:00
Peng Lyu
5ac5e8a146 Merge pull request #304252 from microsoft/rebornix/icy-aardvark
fix #303771
2026-03-23 21:34:45 -07:00
Don Jayamanne
cdf4f2f548 feat: updates for Copilot CLI to include mode instructions (#303962)
* feat: updates for Copilot CLI to include mode instructions

* Update src/vs/workbench/contrib/chat/browser/chatSessions/chatSessions.contribution.ts

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

* Update src/vs/workbench/contrib/chat/common/chatSessionsService.ts

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

* Updates

* Updates

* Updates

* Updates

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-24 15:08:25 +11:00
Rob Lourens
35358544a0 IPC logging for agent hosts (#304338)
Co-authored-by: Copilot <copilot@github.com>
2026-03-24 03:15:23 +00:00
Rob Lourens
efb9c8bab8 Remove outdated docs/instructions for remote agent host (#304341) 2026-03-24 03:15:12 +00:00
Rob Lourens
c82bc515c2 More specific log string for cli agent host proxy (#304339) 2026-03-24 14:14:44 +11:00
Connor Peet
b9ef737e49 Merge pull request #304303 from microsoft/connor4312/agent-edits
agentHost: support edit tracking
2026-03-23 19:42:19 -07:00
Connor Peet
007f51c600 Merge remote-tracking branch 'origin/main' into connor4312/agent-edits 2026-03-23 19:04:03 -07:00
Alexandru Dima
f6558461a3 Revert "Accessible View: include file paths for inline references in chat responses" (#304331)
Revert "Accessible View: include file paths for inline references in chat res…"

This reverts commit 29359eff77.
2026-03-24 01:40:57 +00:00