Commit Graph

149068 Commits

Author SHA1 Message Date
Rob Lourens
1c93387212 Fix paths 2026-03-10 17:12:54 -07:00
Osvaldo Ortega
6db7214593 npm i 2026-03-10 17:07:09 -07:00
Matt Bierner
84d9d336e0 Merge pull request #300587 from mjbvz/dev/mjbvz/ill-herring
Reduce `IChatSessionsService` interface size
2026-03-10 16:59:38 -07:00
Rob Lourens
6bcaba333e Rename folder to agentHost 2026-03-10 16:52:59 -07:00
Matt Bierner
c90b72e2e5 Add cancellation checks 2026-03-10 16:52:42 -07:00
Justin Chen
46ec7ff25d autopilot plan mode handoff (#300580)
* autopilot plan mode handoff

* revert changes here
2026-03-10 16:52:11 -07:00
Elijah King
9ac0b682bc Merge branch 'main' into eli/compact-command-center-status 2026-03-10 16:46:41 -07:00
Elijah King
5b6becae3a Merge pull request #300591 from microsoft/copilot/sub-pr-300560-another-one
Compact agent status: fix review feedback
2026-03-10 16:42:45 -07:00
Matt Bierner
6e4ca3bcbe Make getChatSessionItem return an async iterable
For #298507
2026-03-10 16:38:49 -07:00
Osvaldo Ortega
68a4e6dd69 transpile 2026-03-10 16:36:06 -07:00
copilot-swe-agent[bot]
a09dc298de Address review feedback: fix order comment, needsInput filtered state, toggle badge preservation, and description updates
Co-authored-by: eli-w-king <201316543+eli-w-king@users.noreply.github.com>
2026-03-10 23:35:39 +00:00
copilot-swe-agent[bot]
60b9060780 Initial plan 2026-03-10 23:27:04 +00:00
Osvaldo Ortega
01c89399b5 Update 2026-03-10 16:25:16 -07:00
Osvaldo Ortega
82e5207443 npm i 2026-03-10 16:20:04 -07:00
Justin Chen
7e36df6404 fix issue where hidden tool call stays at the top (#300578)
fix codeblock issue
2026-03-10 16:19:20 -07:00
Matt Bierner
2dc91fd2cd Reduce IChatSessionsService interface size
Make everything go through the contributions instead off having separate getters for each value
2026-03-10 16:18:49 -07:00
Josh Spicer
d8b77d0c59 sessions: Update create-pr prompt and add sessions developer agent (#300575)
* Add sessions.md for Sessions Window Developer instructions and tools

* Remove unnecessary tools section from Sessions Window Developer documentation

* Clarify developer role description in sessions.md
2026-03-10 16:12:17 -07:00
Benjamin Christopher Simmonds
03b38ff88a Merge pull request #300576 from microsoft/benibenj/chief-aardwolf
Small session tweaks
2026-03-11 00:09:24 +01:00
Osvaldo Ortega
ae536d389c Exclude web.test.js 2026-03-10 16:00:59 -07:00
Osvaldo Ortega
2b1926511a ignore scripts 2026-03-10 15:58:40 -07:00
eli-w-king
7fffb1b10a adjusting spacing 2026-03-10 15:54:05 -07:00
Osvaldo Ortega
da5b9e899c CI 2026-03-10 15:53:16 -07:00
Osvaldo Ortega
f22a90205c Updates 2026-03-10 15:48:52 -07:00
Osvaldo Ortega
2879e48d56 Merge pull request #300492 from microsoft/copilot/genetic-gibbon
Sessions: Fix repository grouping bugs (duplicates, "Other" fallback, worktree resolution)
2026-03-10 15:36:26 -07:00
eli-w-king
f6ce69d506 debug edgecase 2026-03-10 15:35:00 -07:00
BeniBenj
3b88583430 small session tweaks 2026-03-10 23:32:37 +01:00
Tyler James Leonhardt
09df607c61 docs: enhance SKILL.md with screenshot guidance and restart workflow (#300564)
* docs: enhance SKILL.md with screenshot guidance and restart workflow

seems to work well

* fix: guard kill commands and remove npm run compile from SKILL.md

Address PR review feedback:
- Make `kill $(lsof -t -i :9224)` resilient to empty PIDs by checking
  before killing, so cleanup/restart instructions don't fail when Code
  OSS is already stopped.
- Replace `npm run compile` with a comment directing users to let
  `./scripts/code.sh` handle the build or use `npm run watch`, aligning
  with repo guidance that prohibits `npm run compile` for TS validation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 15:32:29 -07:00
Matt Bierner
3140ee08de Merge pull request #300562 from mjbvz/dev/mjbvz/tragic-tyrannosaurus
Log when `untitled` sessions cross the ext host boundary
2026-03-10 15:20:23 -07:00
Osvaldo Ortega
63b43291ff Merge branch 'main' of https://github.com/microsoft/vscode into copilot-worktree-2026-02-27T00-36-54 2026-03-10 14:57:02 -07:00
Benjamin Christopher Simmonds
6097683cb7 Merge pull request #300475 from microsoft/benibenj/northern-tahr
Prevent local cwd evaluation in sessions window
2026-03-10 22:48:34 +01:00
copilot-swe-agent[bot]
3681826ab6 Fix terminal OverviewRulerRenderer crash on disposal
During terminal disposal, DecorationAddon._dispose() was calling
clearDecorations() which individually disposed each xterm IDecoration.
Each disposal triggered DecorationService.onDecorationRemoved events
that caused the OverviewRulerRenderer to queue requestAnimationFrame
callbacks. These callbacks fired after the renderer was disposed,
crashing when accessing RenderService.dimensions (since the underlying
renderer MutableDisposable returned undefined).

Fix: Only clean up VS Code-side resources (event listeners, context
menus, etc.) during disposal. xterm handles its own decoration cleanup
when the terminal is disposed.

Fixes: Cannot read properties of undefined (reading 'dimensions')

Co-authored-by: bryanchen-d <41454397+bryanchen-d@users.noreply.github.com>
2026-03-10 21:47:49 +00:00
Matt Bierner
ec2b57c283 Merge pull request #300547 from mjbvz/dev/mjbvz/glorious-sparrow
Re-remove webpack
2026-03-10 14:44:41 -07:00
Josh Spicer
a200e8b166 ai-customizations: improve list visual scannability (#300551)
* ai-customizations: improve list visual scannability (#299211)

- Add type-specific icon to each list item (agent, skill, instructions, prompt, hook)
- Format item names: convert dashes/underscores to spaces and apply title case
- Truncate descriptions to first sentence (max 120 chars fallback) to reduce visual noise
- Make item name font-weight 500 so titles pop against secondary text

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

* ai-customizations: add type icon + name/description polish for MCP servers and plugins (#299211)

- Export formatDisplayName and truncateToFirstSentence helpers from aiCustomizationListWidget
- Add mcpServerIcon to McpServerItemRenderer (local + builtin items)
- Add pluginIcon to PluginInstalledItemRenderer
- Apply formatDisplayName (dash/underscore → spaces, title case) to names
- Apply truncateToFirstSentence to descriptions
- Set font-weight: 500 on mcp-server-name to match AI customization list style
- Remove left-indent padding on mcp-server-item now that the icon fills that space

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

* ai-customizations: mute group count badges (#299211)

Replace badge-background/foreground pill styling with plain descriptionForeground
text (opacity 0.8) on both the group-header count and the sidebar section count.
This lets the section label dominate visually.

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

* ai-customizations: restore badge pill with reduced opacity (#299211)

Keep badge-background/foreground colors but apply opacity: 0.6 so the
pill is still visible but clearly secondary to the section label.

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

* ai-customizations: use keybindingLabel tokens for count badges (#299211)

Switch from badge-background (bright accent) to keybindingLabel-background/
foreground/border tokens, which are designed for subtle inline labels.
No opacity hacks needed — the color itself is naturally muted.

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

* ai-customizations: use list.inactiveSelection tokens for count badges (#299211)

Switch to list.inactiveSelectionBackground/Foreground — the semantically
closest tokens for a secondary/muted count pill in a list/tree context.
No opacity hacks needed and the name directly reflects the role.

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

* ai-customizations: strip trailing .md from display names (#299211)

formatDisplayName now strips a case-insensitive .md suffix before
applying the title-case transform, so 'my-file.Md' no longer
appears as a title.

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

* ai-customizations: remove explicit font-weight from item titles (#299211)

Drop the font-weight: 500 on item-name and mcp-server-name. The visual
hierarchy is already established by the 13px full-foreground title vs the
11px muted descriptionForeground description below it, without needing an
explicit weight bump.

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

* ai-customizations: use star icon for built-in MCP server items (#299211)

Built-in MCP items now show builtinIcon (star) instead of mcpServerIcon,
consistent with the prompts built-in group. Icon is now set per-element
in renderElement so the two item types can show different icons.

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

* Revert "ai-customizations: use star icon for built-in MCP server items (#299211)"

This reverts commit 6b08675a22.

* ai-customizations: use star icon for Built-in MCP group header (#299211)

Change the Built-in group header icon from extensionIcon to builtinIcon
(starFull), consistent with the Built-in group in the prompts list.

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

* ai-customizations: remove unused extensionIcon import from mcpListWidget (#299211)

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

* prompts: add create-pr prompt with compile-check reminder

Ensures the TypeScript compile check is run before opening a PR,
catching unused import and type errors that tsgo would flag in CI.

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

* ai-customizations: fix IMatch highlight positions for formatted names (#299211)

nameMatches are now computed against formatDisplayName(item.name) in
filterItems so highlight positions align with the displayed string.
The .md stripping in formatDisplayName changes string length, so matches
against the raw name would produce incorrect highlight spans.
Also removed the outdated '1:1 transformation' claim from the JSDoc.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-10 14:43:53 -07:00
Matt Bierner
f6a8182caa Remove one log 2026-03-10 14:40:33 -07:00
Liam
eab1e8b236 Merge branch 'main' into affordance-fix 2026-03-10 17:37:08 -04:00
Matt Bierner
b971893e34 Log when untitled sessions cross the ext host boundary 2026-03-10 14:33:19 -07:00
lammmab
72276c93da Fix issue #300500 by checking value of the chat entitlement context key 2026-03-10 17:29:46 -04:00
copilot-swe-agent[bot]
e01a90043c Initial plan 2026-03-10 21:24:52 +00:00
Ladislau Szomoru
4863c500a8 Sessions - add prompt for the draft pull request (#300543)
* Sessions - add prompt for the draft 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-10 14:11:42 -07:00
Paul
d71bb75a3a Remove await in discovery phase (#300537) 2026-03-10 13:52:16 -07:00
Matt Bierner
03968c2076 Re-remove webpack
All of our extensions are now using esbuild
2026-03-10 13:42:52 -07:00
Josh Spicer
f01d41c784 Keep Chat customizations section selected while active (#300528)
Keep active customization section selected

Ensure the left sections list re-applies selection/focus for the active section when the list selection is cleared, so the active view remains persistently selected.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-10 13:29:24 -07:00
Bhavya U
9a1fe573bb Fix registerToolDefinition tools from default chat agent being filtered out (#300529)
Tools registered via registerToolDefinition by the default chat agent
(copilot-chat) were incorrectly getting source type 'extension' instead
of ToolDataSource.Internal. This caused them to be filtered out by the
chat.extensionTools.enabled setting check in getAllToolsIncludingDisabled().

Package.json-contributed tools from the same extension correctly got
ToolDataSource.Internal via the isBuiltinTool check in
languageModelToolsContribution.ts. Apply the same logic in
$registerToolWithDefinition on the main thread.
2026-03-10 20:21:19 +00:00
Connor Peet
ea9e9386aa chat: simplify symbol reference cache to an array (#300489)
* chat: simplify symbol reference cache to an array

Replaces the Map-based symbol reference cache with a simple array that
keeps only the last 3 copied symbols. This removes the 15-second TTL
expiration logic and relies on insertion order instead.

- Changed symbolReferenceCache from Map to array
- Removed symbolCacheTtlMs constant and pruning logic
- Added symbolCacheMaxSize constant for max entries
- Simplified cache lookups with array.find()
- Automatically evicts oldest entry when exceeding capacity

(Commit message generated by Copilot)

* comment

* skip flakey test, suggested by Megan
2026-03-10 12:51:52 -07:00
Megan Rogge
bcc83ce105 Fix cannot read properties of undefined (reading 'filter') (#300518)
prevent error from throwing
2026-03-10 12:39:28 -07:00
Matt Bierner
3aa9077237 Merge pull request #300358 from mjbvz/dev/mjbvz/faithful-crow
Reduce `....args: any[]` usage
2026-03-10 12:22:19 -07:00
Dmitriy Vasyura
cfe3b3286e Update action for the title bar (#300453) 2026-03-10 19:20:43 +00:00
Megan Rogge
b50d56f99a do not send freeform input for autoreply, just return (#300515) 2026-03-10 12:19:26 -07:00
JeffreyCA
db2c7eebf0 Update Fig spec for Azure Developer CLI (azd) (#299892)
Add azd terminal completions for new extension and core commands
2026-03-10 15:11:37 -04:00
Ladislau Szomoru
97c94c2a79 Sessions - update context key calculation (#300514) 2026-03-10 12:04:01 -07:00