Commit Graph

148979 Commits

Author SHA1 Message Date
Tyler James Leonhardt
a3512f01a6 fix: enhance session resolution in sessionSupportsFork method (#303624)
ref https://github.com/microsoft/vscode/issues/300501
2026-03-20 22:18:17 +00:00
Peng Lyu
8f46cf34c3 integrate image carousel support in sessions. (#303615) 2026-03-20 21:12:58 +00:00
Matt Bierner
d50a3ac1ce Merge pull request #303610 from mjbvz/dev/mjbvz/fit-hare
Remove `as sinon.SinonStub` casts
2026-03-20 14:11:33 -07:00
Connor Peet
5396fe38fc agentPlugins: allow paths in github sources (#303599)
* agentPlugins: allow paths in github sources

Though nonstandard, Github CLI plugins have started to do this. So this supports that.

* fixup
2026-03-20 14:05:26 -07:00
Bryan Chen
4db9da0443 Merge pull request #303226 from microsoft/bryanchen-d/fix-notebook-snapshot-too-large
fix: catch notebook snapshot errors in chat editing with log fallback
2026-03-20 14:05:22 -07:00
Raymond Zhao
a4b2a1610d chore: bump flatted (#303340) 2026-03-20 14:04:42 -07:00
Henning Dieterichs
c9335c2873 node_modules is stale -> ignore node-version changes 2026-03-20 22:04:20 +01:00
Josh Spicer
5f094293b4 sessions: prevent welcome overlay flash on transient entitlement state (#303583)
* Enhance regression handling in SessionsWelcomeContribution: delay overlay display to prevent flashing during transient state changes

* Refactor SessionsWelcomeContribution: replace regression watching with entitlement state monitoring to prevent flashing during transient state changes

* Refactor SessionsWelcomeContribution: replace regression timeout with pending overlay timer to prevent flashing during transient state changes

* Refactor SessionsWelcomeContribution: simplify entitlement state monitoring and remove overlay delay to improve responsiveness

* Refactor SessionsWelcomeContribution: change class visibility to export for better accessibility

* Add test for overlay visibility on first launch with no entitlement

* test(sessions): simplify instantiation service ownership in welcome tests

Address PR review: avoid redundant disposables.add() wrapping around
workbenchInstantiationService(), which already registers itself.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-20 13:55:31 -07:00
Josh Spicer
ef1e52a086 Add inline badge to customization list items for context instructions (#303598)
* Add generic badge support to customization list items

Instructions with applyTo patterns now show context info (e.g.
'always added', 'context matching *.ts') as an inline badge next to
the item name instead of baking it into the display name string. The
badge uses the same visual style as the MCP 'Bridged' badge.

The badge field is generic on IAICustomizationListItem so other
customization types can use it in the future. Badge text is also
included in search filtering.

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

* Show pattern directly in badge with explanatory hover tooltip

Badge now shows just the applyTo pattern (e.g. '**/*.ts') or 'always
added', instead of 'context matching ...'. Hovering the badge shows a
tooltip explaining the behavior. Added badgeTooltip field to
IAICustomizationListItem for generic reuse.

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

* Include badge tooltip in item hover

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

* Add blank line before badge tooltip in hover

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

* Address review: shared badge CSS, flex ellipsis fix, update spec

- Extract shared .inline-badge class used by both MCP bridged badge
  and item badges to avoid style drift.
- Add min-width: 0 and flex: 1 1 auto to .item-name so long names
  truncate correctly inside the flex row.
- Update AI_CUSTOMIZATIONS.md to reflect that badges show the raw
  applyTo pattern with tooltip explanation.

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

* Keep badge adjacent to name instead of right-aligned

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-20 13:55:09 -07:00
Connor Peet
b7462b4a00 Merge pull request #303597 from microsoft/connor4312/agent-host-server-fixups
agentHost: fixup build for server
2026-03-20 13:54:33 -07:00
Ladislau Szomoru
79d5a79218 Sessions - add prompt for merging changes (#303607)
* Sessions - add prompt for merging changes

* Apply suggestion from @Copilot

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-20 20:48:34 +00:00
Kyle Cutler
71b623764e Move find to browser feature contribution (#303562)
* Move find to browser feature contribution

* feedback
2026-03-20 13:33:10 -07:00
Matt Bierner
bde0340390 Use proper typings 2026-03-20 13:29:43 -07:00
dependabot[bot]
6ee1160198 Bump tar from 0.4.44 to 0.4.45 in /cli (#303573)
Bumps [tar](https://github.com/alexcrichton/tar-rs) from 0.4.44 to 0.4.45.
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.44...0.4.45)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 0.4.45
  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-20 13:28:16 -07:00
Matt Bierner
1285a5245d Remove as sinon.SinonStub casts
This is secretly like an any cast as the result isn't typed
2026-03-20 13:22:06 -07:00
Isidor Nikolic
b266620dc6 Merge pull request #303596 from microsoft/isidorn/attractive-goldfish
fixes #303425
2026-03-20 21:13:13 +01:00
Lee Murray
69ca0c3f58 Sessions: Replace badge with inline title count in Changes view (#303482)
* Sessions: Replace Changes view badge with inline title count

Replace the NumberBadge on the Changes view tab with an inline title
that shows the file count directly, e.g. '7 Changes' instead of a
badge overlay.

- Export dynamic changesContainerTitle with a getter-based value
- Add refreshContainerInfo() to IViewContainerModel interface and
  ViewContainerModel implementation
- Remove IActivityService/NumberBadge dependency from ChangesViewPane

* Fix incorrect file count by using topLevelStats

The inline title count was reading from activeSessionChangesObs (raw
session changes only) instead of topLevelStats which accounts for
deduplication and version mode filtering. Move the title update into
onVisible() where topLevelStats is available, and reset the title
when the view is hidden.

* Address review feedback

- Add blank line separator after changesContainerTitle block
- Add constructor-level fallback autorun to keep title in sync when
  the view is hidden and the active session changes
- Reset title to 'Changes' on dispose to avoid stale counts

* Keep inline file count when switching tabs

Remove the updateContainerTitle(0) call from the hide handler so
the count persists when the user switches to another tab. The
fallback autorun in the constructor still handles session switches
while the view is hidden.

* Fix grammar: use singular '1 Change' instead of '1 Changes'

---------

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
2026-03-20 13:04:51 -07:00
Lee Murray
877aceccc2 Sessions: Adjust auxiliary bar margins for improved layout (#303501)
Sessions - adjust auxiliary bar margins for improved layout

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
2026-03-20 20:56:09 +01:00
Lee Murray
dd92840b18 Merge pull request #303499 from microsoft/mrleemurray/sessions-panel-animations
Sessions: add panel animations
2026-03-20 19:48:50 +00:00
Isidor Nikolic
1d47f2365b Update src/vs/workbench/contrib/terminalContrib/chatAgentTools/browser/tools/runInTerminalTool.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-20 20:38:38 +01:00
Josh Spicer
1e6a57bfb4 feat: group chat extension customizations under 'Built-in' in managem… (#303584)
feat: group chat extension customizations under 'Built-in' in management editor

Items contributed by the default chat extension (GitHub Copilot Chat) are
now shown under a 'Built-in' group header instead of 'Extensions' in the
Chat Customizations editor. This applies to agents, skills, prompts, and
instructions — matching the existing pattern used by the MCP list widget.

The grouping is determined at the UI layer using IProductService to
identify the chat extension ID, setting groupKey on matching items.
No data model changes needed.

- Move BUILTIN_STORAGE/AICustomizationPromptsStorage to common layer
- Add BUILTIN_STORAGE to VS Code harness filter sources
- Add isChatExtensionItem() helper using productService.defaultChatAgent
- Set groupKey: BUILTIN_STORAGE for items from the chat extension
- Add tests for builtin source filtering
- Update AI_CUSTOMIZATIONS.md spec
2026-03-20 19:37:47 +00:00
Rob Lourens
c4593178ac Add eslint rule for telemetry props that override common props (#303592) 2026-03-20 12:35:44 -07:00
Ladislau Szomoru
d8238df735 Sessions - remove code that is not needed + increase width for the secondary panel (#303586)
* Sessions - remove code that is not needed + increase width for the secondary panel

* Fix the build
2026-03-20 12:31:50 -07:00
Isidor
2372a22ba1 fixes #303425 2026-03-20 20:27:44 +01:00
Justin Chen
289b95b8b6 fix subagent tool id mismatch (#303580) 2026-03-20 11:55:57 -07:00
Henning Dieterichs
30a711eccb Set Session Artifacts -> artifacts 2026-03-20 19:41:23 +01:00
Ladislau Szomoru
bc389a0b22 Sessions - refactor updating a pull request (#303558)
* Sessions - refactor updating a pull request

* Apply suggestion from @Copilot

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-20 10:57:00 -07:00
Isidor Nikolic
4818a0e094 Merge pull request #303453 from microsoft/isidorn/nursing-marlin
update distro pointer
2026-03-20 18:46:42 +01:00
Lee Murray
25c64d1821 Merge branch 'main' into mrleemurray/sessions-panel-animations 2026-03-20 17:33:16 +00:00
Henning Dieterichs
f74be76566 Mark chat.artifacts.enabled setting as experimental instead of preview 2026-03-20 18:31:50 +01:00
Ben Villalobos
0ce5a87fda Merge branch 'main' into isidorn/nursing-marlin 2026-03-20 10:23:38 -07:00
Henning Dieterichs
193de6c4e4 Fixes artifact view styling issues. 2026-03-20 18:06:24 +01:00
Lee Murray
c99f8109a6 Sessions: Enhance collapsed sidebar widget with session status indicators and panel toggle button (#303521)
* Enhance collapsed sidebar widget with session status indicators and panel toggle button

* Refactor sidebar toggle button and update CSS class for session status

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

---------

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
2026-03-20 09:51:41 -07:00
Ladislau Szomoru
7dcd2c9178 Git - update DotGit file watcher to ignore worktree index.lock files (#303504)
* Git - update DotGit file watcher to ignore worktree index.lock files

* Apply suggestion from @Copilot

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-20 09:47:24 -07:00
Lee Murray
df4e95d005 Merge pull request #303470 from microsoft/mrleemurray/chat-session-header
Sessions: Add chat session header component and styles
2026-03-20 16:37:11 +00:00
Sandeep Somavarapu
939ffba04f Sessions: remove diff changes from title (#303544)
remove changes summary display and related logic from SessionsTitleBarWidget
2026-03-20 16:36:21 +00:00
Matt Bierner
adfabb89bc Merge pull request #303329 from mjbvz/dev/mjbvz/distinct-mockingbird
Try storing all chat session options in a map
2026-03-20 09:34:16 -07:00
Johannes Rieken
95b003130c event: classify listener leak errors as dominated or popular (#303543)
Classify listener leak errors as dominated or popular
2026-03-20 09:33:05 -07:00
Johannes Rieken
21a0998f49 Update milestone version to 1.113.0 in GitHub issues configuration (#303538) 2026-03-20 09:32:26 -07:00
Courtney Webster
5fc1ff43b0 Merge pull request #303365 from microsoft/meerkat
Remove sign in dialog experiment
2026-03-20 11:08:46 -05:00
Matt Bierner
2d909260e5 Merge pull request #301419 from mjbvz/dev/mjbvz/near-octopus
Use markdownDescription for theme properties
2026-03-20 08:52:36 -07:00
Matt Bierner
b6e7b33bca Merge branch 'main' into dev/mjbvz/near-octopus 2026-03-20 08:38:23 -07:00
Berke Batmaz
4743b9431b fix(git): correctly pluralise line_length input validation (#301071)
Correctly pluralise line_length git diagnostic
2026-03-20 15:33:55 +00:00
Ladislau Szomoru
3a3a936a19 Sessions - add new context keys for ahead/behind (#303520) 2026-03-20 15:32:08 +00:00
Lee Murray
c8fda5b0f6 Sessions: Add session count display to agent session sections (#303514)
Add session count display to agent session sections

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
2026-03-20 14:58:27 +00:00
Lee Murray
d5a7770451 Sessions: Enhance auxiliary bar widget functionality and styling (#303510)
* Enhance auxiliary bar widget functionality and styling

- Update CollapsedAuxiliaryBarWidget to always be visible and act as a toggle for the auxiliary bar.
- Improve layout and interaction by adding a button for session changes.
- Adjust CSS for the auxiliary bar widget and titlebar layout actions for better visibility and animation.
- Refactor related components to ensure proper integration and state management.

* Add context key and views service stubs for SessionsTerminalContribution tests

---------

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
2026-03-20 14:57:34 +00:00
Johannes Rieken
a2fa4ea3ef Merge pull request #297684 from microsoft/copilot/update-tool-descriptions-languages
Fix rename/usages tools: skip registration when no providers exist, show language names in UI
2026-03-20 15:55:21 +01:00
dependabot[bot]
702949b935 Bump fast-xml-parser from 5.5.6 to 5.5.7 in /build (#303324)
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.5.6 to 5.5.7.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.5.6...v5.5.7)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-version: 5.5.7
  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-20 07:54:37 -07:00
Johannes Rieken
d05f2f2953 inlineChat: shared history service with persistence (#303471) 2026-03-20 14:51:18 +00:00
Johannes Rieken
f0a991b709 Merge pull request #303476 from microsoft/joh/inline-chat-stepped-resize
inlineChat: use stepped resize for input widget width
2026-03-20 15:40:45 +01:00