Commit Graph

149887 Commits

Author SHA1 Message Date
mrleemurray
9341e572cf Hide status counts on hover and focus for improved UI clarity
Co-authored-by: Copilot <copilot@github.com>
2026-03-31 15:54:07 +01:00
mrleemurray
d6c22f5130 Refactor CI Status Widget CSS for improved layout and visibility
Co-authored-by: Copilot <copilot@github.com>
2026-03-31 15:41:55 +01:00
mrleemurray
8c99a135c1 Add right padding to header on focus for improved accessibility 2026-03-31 15:24:40 +01:00
mrleemurray
9135ca9ba3 Add right padding to header on focus for improved accessibility
Co-authored-by: Copilot <copilot@github.com>
2026-03-31 15:22:19 +01:00
mrleemurray
fc209bb848 Adjust CI Status Widget header height and margin for improved layout 2026-03-31 15:19:11 +01:00
Isidor Nikolic
6b7cce125d Merge pull request #306750 from microsoft/isidor/terminal-failure-telemetry
Add exit code and command output to runInTerminal telemetry
2026-03-31 16:18:33 +02:00
mrleemurray
055a4758bc address pr ccr feedback
Co-authored-by: Copilot <copilot@github.com>
2026-03-31 15:15:29 +01:00
Benjamin Pasero
0e2d1c5a1d Sessions goes black on Reload (fix #305568) (#306742)
* Sessions goes black on Reload (fix #305568)

* Update src/vs/sessions/electron-browser/sessions.ts

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

* ccr

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 14:15:13 +00:00
Benjamin Pasero
e98b050ee0 sessions - surface app in chat menu (#306741)
* sessions - surface app in chat menu

* Update src/vs/workbench/contrib/chat/electron-browser/agentSessions/agentSessionsActions.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 14:09:52 +00:00
Benjamin Pasero
826458abb0 sessions - tweaks to modal editor sidebar (persist width, allow to toggle visibility) (#306704)
* sessions - tweaks to modal editor sidebar

* respect sizes

* clamp width

* .

* yauzl

* layout
2026-03-31 16:05:17 +02:00
Lee Murray
5f8a459600 Update src/vs/sessions/contrib/changes/browser/ciStatusWidget.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 15:02:10 +01:00
Isidor
ff26d2f53e Add exact exit code to runInTerminal telemetry
Add exitCodeValue field to the existing toolUse.runInTerminal telemetry
event, reporting the actual numeric exit code (-1 if unknown). Previously
only a tri-state nonZeroExitCode (0/1/-1) was available.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-31 15:58:13 +02:00
mrleemurray
a29a7d7c22 Enhance CI Status Widget: Add aria-label for accessibility and remove unnecessary CSS property
Co-authored-by: Copilot <copilot@github.com>
2026-03-31 14:55:09 +01:00
mrleemurray
0fbb436619 Refactor CI Status Widget: Adjust header height, improve padding, and enhance hover/focus styles
Co-authored-by: Copilot <copilot@github.com>
2026-03-31 14:52:42 +01:00
mrleemurray
2caf5f7a9c Enhance CI Status Widget: Adjust header height, improve accessibility, and refine styles
Co-authored-by: Copilot <copilot@github.com>
2026-03-31 14:48:52 +01:00
mrleemurray
9a1e226c62 Enhance CI Status Widget: Add collapse/expand functionality and update styles
Co-authored-by: Copilot <copilot@github.com>
2026-03-31 14:31:46 +01:00
Benjamin Pasero
eeaba7db52 title - restore scoped editor service for title compute (#306699)
* title - restore scoped editor service for title compute

* ccr
2026-03-31 14:56:16 +02:00
Lee Murray
803326c2a3 Update src/vs/sessions/contrib/changes/browser/changesView.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 13:52:46 +01:00
mrleemurray
9a63d66c8a Enhance action button styling in ChangesViewPane for consistency and improved layout 2026-03-31 13:08:42 +01:00
Martin Aeschlimann
d10d2b420b prompt service: cache ISlashCommandDiscoveryInfo and IAgentDiscoveryInfo (#306144)
* prompt service: cache ISlashCommandDiscoveryInfo and IAgentDiscoveryInfo

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

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

* update

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 14:08:12 +02:00
Lee Murray
2b780fc675 Improve alignment and spacing in changes file list (#306697)
* Sessions: improve alignment and spacing in changes file list

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

* Update src/vs/sessions/contrib/changes/browser/media/changesView.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-31 14:07:54 +02:00
Ladislau Szomoru
fa7634c279 Sessions - disable view all changes action if there is not git repository (#306693) 2026-03-31 14:07:40 +02:00
mrleemurray
ebfa569ab8 Refactor button configuration in ChangesViewPane for improved action handling 2026-03-31 12:42:38 +01:00
mrleemurray
b22143bb78 Refactor button configuration and adjust CSS padding and gap for improved layout 2026-03-31 12:34:22 +01:00
Lee Murray
e999a2414e Update src/vs/sessions/contrib/changes/browser/ciStatusWidget.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 12:04:56 +01:00
mrleemurray
63a85bd46b Update CI status widget labels and styles for improved clarity
Co-authored-by: Copilot <copilot@github.com>
2026-03-31 11:58:46 +01:00
vs-code-engineering[bot]
c69a19a58b Update distro commit (main) (#306692)
Update distro commit to f7bd750d

Co-authored-by: vs-code-engineering[bot] <122617954+vs-code-engineering[bot]@users.noreply.github.com>
2026-03-31 10:48:54 +00:00
Martin Aeschlimann
295ea75acd #tool: reference in prompt files is partially replaced, leaving trailing characters (#306276) 2026-03-31 10:45:12 +00:00
Lee Murray
be354064a9 Merge pull request #306297 from microsoft/mrleemurray/adjacent-rose-hyena
Increase minimum width for SidebarPart
2026-03-31 11:22:37 +01:00
Ladislau Szomoru
e97cc36916 Sessions - improve file tree rendering (#306681)
* Initial implementation

* Fix dropdown action label

* Delete old controller

* Improve root node rendering

* Set the context for the root element
2026-03-31 10:15:34 +00:00
Alex Ross
3c51a00d73 OSS tool (#306679) 2026-03-31 09:56:27 +00:00
Ladislau Szomoru
ed0f1369a8 Sessions - clean-up some of the actions rendering code (#306466)
* Sessions - clean-up some of the actions rendering code

* Pull request feedback
2026-03-31 09:34:01 +00:00
Alex Ross
8906163852 Skip flaky terminal test (#306668) 2026-03-31 20:23:15 +11:00
Lee Murray
159bc7357b Revert "theme: add notification for auto-updated default themes" (#306650)
Revert "theme: add notification for auto-updated default themes (#306341)"

This reverts commit e231798dee.
2026-03-31 11:01:52 +02:00
Benjamin Pasero
d527672704 Revert "fix: scope editor service in window title to own editor groups container" (#306634)
Revert "fix: scope editor service in window title to own editor groups contai…"

This reverts commit 4003d390fb.
2026-03-31 08:26:56 +00:00
Copilot
bb01c58f40 Mark session as read when opened in Sessions window (#306603)
* Initial plan

* fix: mark session as read when opening it in Sessions window

When a session was marked as unread via the context menu, clicking on it
again did not change it back to read. This adds setRead(session, true) in
sessionsManagementService.openSession() and openChat(), following the same
pattern used in agentSessionsOpener.ts.

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/04e61e19-5790-4bc5-8075-95457ae5adbd

Co-authored-by: bpasero <900690+bpasero@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-31 07:08:46 +00:00
Copilot
121d7eb3cd Add chat tip to open the Sessions Window (#306611)
* Initial plan

* Add chat tip to open the Sessions Window

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/3f6cb57a-adec-4f66-81b5-8897c495f961

Co-authored-by: bpasero <900690+bpasero@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-31 07:05:05 +00:00
Benjamin Pasero
67fdb3ee04 sessions - show changes as tree if configured as tree (#306456)
* sessions - show changes as tree if configured as tree

* skip test

* .

* .
2026-03-31 08:42:06 +02:00
Vijay Upadya
79c33d84df Add copilotTrackingId common telemetry property (#306601)
add copilotTrackingId common property
2026-03-31 08:14:34 +02:00
Rob Lourens
513b43f0b7 Renaming agent host sessions (#306204)
* Renaming agent host sessions

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

* Update

* Resolve comments

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

* Clean up

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

* Fix

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

* fix

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

* fixes

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

* Update version

* Cleanup

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

---------

Co-authored-by: Copilot <copilot@github.com>
2026-03-31 07:46:14 +02:00
Ladislau Szomoru
ff96816525 Sessions - fix discard changes action on a folder (#306500)
* Sessions - fix discard changes action on a folder

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

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

* Pull request feedback

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-31 05:45:21 +00:00
copilot-swe-agent[bot]
ebbc16c20b Fix null check in fixReferences to prevent crash on null property values
The fixReferences function in jsonSchema_v2.ts would crash with
"Cannot read properties of null (reading '$ref')" when a task
definition from an extension contained null property values.

typeof null === 'object' in JavaScript, so the guard on line 31
would pass for null values, causing a recursive call into null.
The array element path (line 21) already had a null check but
the object property path was missing it.

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/97290369-e210-4404-b2b7-7c8ca4a2f84b

Co-authored-by: bryanchen-d <41454397+bryanchen-d@users.noreply.github.com>
2026-03-31 04:08:54 +00:00
copilot-swe-agent[bot]
eaf6f5ee14 Initial plan 2026-03-31 04:05:41 +00:00
Don Jayamanne
b27242af3a refactor: remove progress service dependency and optimize chat session forking (#306207) 2026-03-31 03:32:10 +00:00
Rob Lourens
99a7b4b084 agentHost: Fix disappearing sessions in list (#306574) 2026-03-31 03:18:49 +00:00
Dmitriy Vasyura
3d91bf7907 Enable CLI DevTunnel sanity tests (#305807) 2026-03-31 14:13:23 +11:00
Rob Lourens
d13d7c7add Remote agent host: fix model picker on new session page (#306553)
* Revert bad merge from #306130

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

* Always resolve language models on provider registration

Previously, registerLanguageModelProvider only eagerly resolved models
when _hasStoredModelForVendor returned true. Otherwise it waited for
onDidChange. This created a hidden temporal coupling: if a provider
populated models before registration (like AgentHostLanguageModelProvider),
the onDidChange event fired with no listener attached, and the models
never appeared.

Fix: always call _resolveAllLanguageModels on registration. This is safe
(the provider guard handles unregistration races, and the per-vendor
sequencer prevents duplicate work).

Also use ActiveSessionProviderIdContext.key instead of a hardcoded string
in the remote agent host context key expression.

(Written by Copilot)

* fix

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

* fix

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

---------

Co-authored-by: Copilot <copilot@github.com>
2026-03-30 19:47:26 -07:00
Rob Lourens
9a11a08c75 Fix remote agent host session issues in Sessions app (#306560)
- Handle message events in AgentEventMapper to emit markdown response
  parts for text that arrives without preceding delta events (e.g. after
  tool calls complete)
- Fix tool call confirmation flickering by guarding PendingConfirmation
  re-entry when the invocation is already waiting for confirmation
- Fix tool call duplication in server-initiated turns and reconnection
  by not removing finalized tool calls from the tracking map
- Add isComplete guard in finish() to avoid overwriting finalized tool
  call state
- Extract processState in _trackServerTurnProgress for immediate state
  reconciliation closing gaps between turn detection and listener
  registration
- Fix session disappearing from list after first message by adding
  pending session tracking and onDidReplaceSession in the remote
  sessions provider
- Wrap all tests using timeouts with runWithFakedTimers
2026-03-30 19:47:10 -07:00
Josh Spicer
ea8cfb1015 align whitespace menu option with setting (#306483)
* align render whitespace menu option (https://github.com/microsoft/vscode/issues/305883)

* Use descriptive titles and shortTitle for render whitespace mode commands

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/d7e269a5-e4e5-4d4c-967d-2b2c9f09b835

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

* Move submenu registration into Action2 menu property, remove duplicate MenuRegistry calls

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/68d6d9ff-b7a9-41b1-89f7-3c561b677802

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-03-30 19:25:17 -07:00
Connor Peet
de413b282f sessions: show status of remote connections, reconnect AH connects (#306538)
* sessions: show status of remote connections, reconnect AH connects

- Add automatic reconnect with exponential backoff (1s-30s) when a
  remote agent host WebSocket connection drops, preserving the session
  cache during reconnect attempts
- Add RemoteAgentHostConnectionStatus enum (Connected/Connecting/
  Disconnected) to IRemoteAgentHostConnectionInfo and expose it on
  ISessionsProvider via an observable
- Add reconnect(address) method to IRemoteAgentHostService for
  explicit reconnect with reset backoff
- Always show configured remote hosts in the workspace picker with
  connection status indicators and a gear button for management
- Gear menu offers Reconnect, Remove Remote, Copy Address, Open
  Settings, and Show Output actions via quickpick
- Remote host browse actions are grouped into the "Select..." submenu
  alongside other providers when multiple providers exist

![](https://memes.peet.io/img/26-03-a1f9e614-1775-4055-99bf-3c4b948a5903.png)

* address PR review comments

- Fix outputChannelId mutability: use getter + setOutputChannelId()
- Fix disposable leak on reconnect: dispose old entry in _connectTo()
- Remove duplicate AGENT_HOST_LABEL_FORMATTER registrations from
  contribution files; centralize in AgentHostFileSystemService
- Fix duplicate IRemoteFilesystemConnection: re-export from provider
- Localize all user-facing status/hover/quickpick strings properly
- Fix setTimeout leak: track timer in _renderDisposables
- Register authority disposal in agentHostChatContribution
- Re-setup ConnectionState when clientId changes on reconnect

* fix tests for new connection status behavior

- Update remoteAgentHostService tests: connections now include
  Connecting/Disconnected entries, use waitForConnected() helper,
  add status field to deepStrictEqual assertions
- Add IAgentHostFileSystemService stub to agentHostChatContribution
  test setup
2026-03-30 18:19:08 -07:00