Commit Graph

148279 Commits

Author SHA1 Message Date
Osvaldo Ortega
164d0f59f5 refactor: move grouping state out of AgentSessionsFilter
The filter should work the same regardless of grouping mode. Moved all
grouping state management (storage, context key, toggle) to the sessions
view pane, which owns it. The filter just receives the current grouping
via its existing groupResults option callback.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-09 18:23:37 -07:00
Osvaldo Ortega
0c354be564 fix: use single static grouping storage key
Simplify GROUPING_STORAGE_KEY to a static constant instead of per-instance
scoped key. The grouping override is guarded by supportsGroupingOverride
(only enabled when options.groupResults is configured), which is sufficient
to prevent unintended interference.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-09 18:19:22 -07:00
Paul
21d682f185 Allow local customizations (#300298) 2026-03-10 01:00:21 +00:00
Henning Dieterichs
74c765017e Disable screenshots until time out bug is fixed (#300293) 2026-03-10 00:52:12 +00:00
Justin Chen
7c24905755 bypass approvals and toolbar in cli (#300228)
* bypass approvals and toolbar in cli

* new picker in new chat state for sessions
2026-03-10 00:49:02 +00:00
Josh Spicer
975cdcf8fe policy: DeprecatedEditModeHidden (#300290)
* Add 'DeprecatedEditModeHidden' policy

* Add 'add-policy' skill
2026-03-10 00:38:04 +00:00
Osvaldo Ortega
4536525e00 Merge pull request #300282 from microsoft/copilot/prior-parrotfish
Fix file icon rendering in sessions context attachments
2026-03-09 17:30:42 -07:00
Osvaldo Ortega
35d87bb110 fix: address PR review feedback
- Scope grouping storage key per filter instance (filterMenuId) to avoid
  cross-instance interference; only enable grouping override when a default
  grouping is configured
- Add isStoringGrouping guard to prevent duplicate onDidChange events
  when setGrouping writes to storage
- Use full owner/repo as section ID for unique grouping; display short
  repo name as section label

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-09 17:28:40 -07:00
Kyle Cutler
944b9d37f7 Normalize URLs in browser tool calls (#299891) 2026-03-09 17:10:20 -07:00
Osvaldo Ortega
0da24326a1 feat: implement grouping actions for sessions by repository and date 2026-03-09 17:00:11 -07:00
Osvaldo Ortega
d438554123 feat: enhance repository name extraction in AgentSessionsDataSource 2026-03-09 16:54:38 -07:00
Osvaldo Ortega
3b84d87a3b feat: add repository name extraction and grouping toggle for agent sessions 2026-03-09 16:50:00 -07:00
Benjamin Christopher Simmonds
01669c2233 Agent feedback improvements (#300202)
* agent feedback improvements

* fix test
2026-03-09 23:47:31 +00:00
Osvaldo Ortega
f8c6fd31e9 feat: enhance session grouping by adding archived sessions and repository name extraction 2026-03-09 16:39:45 -07:00
Osvaldo Ortega
fed1cfdff2 Use ResourceLabels for attachment pill icons
Replace plain spans with getIconClasses() with proper ResourceLabels
and label.setFile() for attachment pills, matching how core chat
attachments render file icons via the monaco-icon-label system.

Add CSS for .monaco-icon-label inside pills to ensure correct sizing
and layout of file icon theme ::before pseudo-elements.

Keep getIconClasses for QuickPick file items where the QuickPick's
internal IconLabel handles rendering.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-09 16:37:17 -07:00
Connor Peet
c3788b7bbe plugins/mcp: allow disabling/enabling similar to extensions (#300273)
* plugins/mcp: allow disabling/enabling similar to extensions

Introduces an EnablementModel which is used to allow users to enable and disable both plugins and MCP at both a workspace and global level. Accessible on the mcp/plugins editors, inline within the marketplace view, and in the chat customizations view.

* comments
2026-03-09 23:36:39 +00:00
Matt Bierner
c02f8e3766 Move registerChatModelChangeListeners onto chat service
No sure what this method was doing on the sessions service. Really should be deleted entirely but moving to a better home on the chat service as a first step
2026-03-09 16:15:32 -07:00
Matt Bierner
c3c17667b9 Merge pull request #300266 from mjbvz/dev/mjbvz/characteristic-salamander
Reduce size of `IChatSessionContext`
2026-03-09 15:55:03 -07:00
Josh Spicer
783a493479 Merging copilot/popular-wallaby to main (#300265)
Exclude Claude hook file paths from sessions app

Disable the Claude-specific hook file locations (.claude/settings.json,
.claude/settings.local.json, ~/.claude/settings.json) in the sessions
window by setting them to false in the chat.hookFilesLocations config
default. This uses the existing PromptsConfig mechanism for disabling
individual default paths.

Fixes microsoft/vscode#300138

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-09 22:53:16 +00:00
Osvaldo Ortega
ec99a8f391 feat: add repository grouping option for agent sessions 2026-03-09 15:44:37 -07:00
Osvaldo Ortega
cc30b97f4a feat: enhance file attachment rendering with icons and language support 2026-03-09 15:41:31 -07:00
dileepyavan
f36dd9fa16 Add experiment mode to terminal sandbox (#300259) 2026-03-09 22:36:17 +00:00
Copilot
2817ed09f5 Fix JavaScript syntax highlighting for RunPlaywrightCode tool input (#299918)
* Initial plan

* fix: use correct language for input syntax highlighting in tool invocation parts

Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: jruales <1588988+jruales@users.noreply.github.com>
2026-03-09 22:30:47 +00:00
dileepyavan
cd1a5c39cb Ensure all the commands passed to srt as positional params instead of options. (#300252)
* 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
2026-03-09 15:19:44 -07:00
Don Jayamanne
4bfee9c8ea fix: add resultDetails to ChatToolInvocationPart and Response handling (#300238) 2026-03-09 15:19:23 -07:00
Matt Bierner
b3fff3f210 Reduce size of IChatSessionContext
All of this info is already on the chatSessionResource
2026-03-09 14:22:34 -07:00
Connor Peet
6c1f6d84e8 chat: add symbol paste provider (#300243)
* chat: add symbol paste provider

Adds PasteSymbolProvider to automatically convert copied symbol
identifiers into chat symbol variable references (@sym:identifier) when
pasting into the chat input.

- Adds ResolvedSymbolReference interface to represent a resolved symbol
  with location, icon, and metadata
- Implements CopyTextProvider.prepareDocumentPaste to prime a symbol
  reference cache when copying from code editors
- Adds resolveSymbolReference function that uses language definition
  providers and document outline to resolve copied identifiers to their
  definitions and determine appropriate icons
- Adds symbol reference cache with TTL-based expiration to avoid
  repeatedly resolving the same symbols
- Implements PasteSymbolProvider.provideDocumentPasteEdits to detect
  when an identifier is pasted into chat input and convert it to a
  symbol variable reference
- Registers PasteSymbolProvider alongside other paste providers in
  ChatPasteProvidersFeature

(Commit message generated by Copilot)

* comment
2026-03-09 20:53:33 +00:00
Matt Bierner
8c35874626 Merge pull request #300236 from mjbvz/dev/mjbvz/blonde-otter
Remove confusing `chatResource` from `NewChatSessionOpenOptions`
2026-03-09 12:36:33 -07:00
Matt Bierner
7d218815d5 Merge pull request #300221 from microsoft/dev/mjbvz/esbuild-github
Port GitHub extension to use esbuild again
2026-03-09 12:29:48 -07:00
Matt Bierner
600073511e Remove confusing chatResource from NewChatSessionOpenOptions
Looks like this is no longer being used
2026-03-09 12:09:48 -07:00
Kyle Cutler
072e99c121 Fix browser preventing system sleep (#300215)
No more insomnia
2026-03-09 17:58:54 +00:00
dependabot[bot]
7b4ba7d093 Bump express-rate-limit from 8.2.1 to 8.3.0 in /test/mcp (#299836)
Bumps [express-rate-limit](https://github.com/express-rate-limit/express-rate-limit) from 8.2.1 to 8.3.0.
- [Release notes](https://github.com/express-rate-limit/express-rate-limit/releases)
- [Commits](https://github.com/express-rate-limit/express-rate-limit/compare/v8.2.1...v8.3.0)

---
updated-dependencies:
- dependency-name: express-rate-limit
  dependency-version: 8.3.0
  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-09 10:51:20 -07:00
dependabot[bot]
dcea9a598c Bump dompurify from 3.2.7 to 3.3.2 in /extensions/markdown-language-features (#299899)
Bump dompurify in /extensions/markdown-language-features

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>
2026-03-09 10:48:14 -07:00
Robo
0fb3dfe61f fix: remove applications folder on stable (#300211) 2026-03-09 13:09:51 -04:00
Matt Bierner
e74071cd63 Fix import 2026-03-09 09:38:32 -07:00
Matt Bierner
02d9c6d239 Also set type: module again 2026-03-09 09:38:05 -07:00
Matt Bierner
26876d30a1 Revert main change 2026-03-09 08:59:46 -07:00
Benjamin Pasero
9cf71aa122 fix - update workspace identifier path in SessionsMain 2026-03-09 08:55:19 -07:00
Matt Bierner
da486ede06 Merge pull request #300194 from microsoft/dev/mjbvz/joint-chimpanzee
Bump default extension target version
2026-03-09 08:37:25 -07:00
Martin Aeschlimann
2d85f4314e cleanup for prompt file variables (#300185) 2026-03-09 16:36:45 +01:00
Benjamin Pasero
798b580537 Merging copilot/outstanding-cod to main (#300187)
style - reduce padding in `interactive-item-container`
2026-03-09 16:32:32 +01:00
Matt Bierner
9c1300d59a Bump default extension target version
Let's use a more modern default
2026-03-09 08:15:47 -07:00
Matt Bierner
13a604e50c Revert "Revert "Port github extension to use esbuild" (#298920)"
This reverts commit 51f5cafd6f.
2026-03-09 08:10:36 -07:00
Sandeep Somavarapu
4a4e6624c3 Show manage models action in the search input (#300165)
* Add filter actions to ActionList and manage models option in chat model picker

* Refactor model picker to support additional entries and improve manage models action handling

* Refactor model picker to conditionally add separator for additional entries and streamline manage models action handling

* Improve manage models action visibility logic in ModelPickerWidget

* Refactor model picker to streamline additional entry handling and improve action management

* Refactor model picker to integrate manage models action and streamline additional entry handling
2026-03-09 16:06:15 +01:00
Benjamin Pasero
8c6775810b style - reduce padding in interactive-item-container 2026-03-09 15:45:07 +01:00
Lee Murray
812058f3c3 Merge pull request #288925 from microsoft/copilot/fix-hover-corner-radius
Reduce border-radius for hovers with pointers
2026-03-09 15:39:00 +01:00
Lee Murray
01b0d3a7b3 Merge pull request #299756 from microsoft/mrleemurray/yappiest-amaranth-tapir
Refactor dialog CSS styles for improved layout and spacing
2026-03-09 15:28:58 +01:00
Sandeep Somavarapu
75be16739a Send workspace data by default to ext host in sessions app
* Remove unused IConfigurationService references from workspaceContextService

* Refactor configuration service creation in SessionsMain to streamline workspace context handling
2026-03-09 13:10:19 +01:00
Martin Aeschlimann
ed27cb432e Chat: Editing a SKILL.md file won't surface it as automatic context in chat (#300141) 2026-03-09 12:56:37 +01:00
Harald Kirschner
acd63e770b Fix handoff widget visibility: derive from response mode, persist modeInfo (#298867)
* Fix handoff widget visibility: derive from response mode, persist modeInfo, fix lifecycle

* Fix handoff widget response mode logic

* Make findModeByName search _customModeInstances directly like findModeById does, bypassing the getCustomModes() gate

* Fix tests

* Fix custom mode lookup to avoid builtin name collisions

* address review: use findModeByName consistently, respect getCustomModes guard
2026-03-09 10:42:55 +01:00