Commit Graph
161646 Commits
Author SHA1 Message Date
Ulugbek AbdullaevandGitHub 2dbf97f311 automations: UI: fix hidden Automations list layout (#327254)
Defer dynamic-height list updates while the Automations section is hidden and remeasure rows when it becomes visible.

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

Copilot-Session: b4bb084c-7e34-4dcc-99de-0ad3b864fa59
2026-07-24 15:00:29 +05:00
Ladislau SzomoruandGitHub a9a72955ef Agent - show "Changes" tab for new session (#327189)
* Show the Changes tab on the new session page

* Show the uncommitted changes changeset

* Attempt to fix git status integration test

* Missed a file
2026-07-24 09:24:00 +00:00
Justin ChenandGitHub 1eee66c0ba bundle sprite correctly (#327258) 2026-07-24 09:23:45 +00:00
Alex RossandGitHub f255559214 Fix flaky smoke test pipeline infra issue (#327251) 2026-07-24 07:25:25 +00:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
66d743d561 Bump brace-expansion from 2.0.3 to 2.1.2 in /build/npm/gyp (#327237)
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 2.0.3 to 2.1.2.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v2.0.3...v2.1.2)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 2.1.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-07-23 22:18:09 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a56e8b93a8 Bump shell-quote from 1.8.4 to 1.10.0 in /extensions/copilot/chat-lib (#327236)
Bumps [shell-quote](https://github.com/ljharb/shell-quote) from 1.8.4 to 1.10.0.
- [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/shell-quote/compare/v1.8.4...v1.10.0)

---
updated-dependencies:
- dependency-name: shell-quote
  dependency-version: 1.10.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-07-23 22:17:11 -07:00
Anthony KimandGitHub 29215ba858 Retire completed non-PTY shell output resources (#327233)
Retire completed non PTY shell output resources
2026-07-24 03:46:02 +00:00
d19517fec1 /vscode-pet (#327063)
* add vscode-pet

* chat: refine VS Code pet interactions

- Adds product-specific, optimized chat buddies to make the pet lightweight enough to remain visible across chat surfaces.
- Keeps the pet anchored to the composer so confirmations, empty states, and scroll controls remain usable without layout shifts.
- Adds accessible hover and toggle interactions so the feature feels discoverable while respecting reduced motion.
- Executes action-style slash commands immediately during active turns so UI commands do not become queued prompts.
- Excludes GIF binaries from text hygiene checks, matching the existing treatment of other image formats.

(Commit message generated by Copilot)

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

* cursor tracking + address feedback

* Address chat pet review feedback

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

* fix clipping issue

* sync eyes

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-24 02:39:26 +00:00
Anthony KimandGitHub f9aad8156e Bump Copilot SDK to 1.0.8 and Copilot to 1.0.73 (#327165)
Bump Copilot SDK to 1.0.8

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

Copilot-Session: 5083fb1f-34d7-44bf-82a1-c4582e57683b
2026-07-24 02:29:26 +00:00
Dileep YavanmandhaandGitHub d5d0f468f4 Fix apply_patch prompt instructions (#327223)
Document apply_patch explanation input
2026-07-24 02:26:29 +00:00
Simon SiefkeandGitHub 2c93de8978 fix: memory leak in terminalService (#327156)
* dispose background terminal listeners

* test: cover background terminal listener disposal
2026-07-24 01:21:52 +00:00
Connor PeetandGitHub b3825380bd Merge pull request #327192 from microsoft/connor/fix-remote-agent-host-file-attachments
agentHost: grant access to local attachments
2026-07-23 18:07:30 -07:00
Connor PeetandGitHub b5240eab09 Merge pull request #327206 from microsoft/fix/326474-agent-host-file-completions
Fix agent host file completion refresh
2026-07-23 17:58:51 -07:00
Don JayamanneandGitHub e4465f3594 Remove customizationDirectory from agent session metadata and related tests (#327226)
* Remove customizationDirectory from agent session metadata and related tests

* Refactor ClaudeAgent and ClaudeSessionMetadataStore to remove customizationDirectory handling and simplify session metadata projection
2026-07-24 00:55:08 +00:00
Simon SiefkeandGitHub 716e30fa05 fix: memory leak in mainThreadTerminalService (#327155)
dispose terminal data listeners with instances
2026-07-24 00:43:54 +00:00
f455839960 Reuse terminals when replacing new session drafts (#327225)
* Reuse terminal when replacing new session draft

* Rehome terminals from replaced drafts

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1a04e86b-2cdc-4f83-bf8b-d48f57d47727

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 1a04e86b-2cdc-4f83-bf8b-d48f57d47727
2026-07-24 00:39:16 +00:00
Megan RoggeandGitHub 30185f6e49 Incrementally refine dictation transcripts (#327224) 2026-07-24 00:30:42 +00:00
dddd01703a Experimental: clean up dictation transcript with a language model (#327211)
* Experimental: clean up dictation transcript with a language model

Add an opt-in `dictation.experimental.llmCleanup` setting that passes the final
on-device dictation transcript through a small utility language model
(copilot-utility-small, in the spirit of gpt-4o-mini) to restore punctuation,
capitalization, and paragraph breaks that the streaming ASR model omits, and to
drop filler words. Runs once in stopAndTranscribe() after the raw transcript is
produced; falls back to the raw transcript when no model is available (e.g. AI
features disabled) or the request fails. Off by default.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: c599eae0-1e8b-485b-b56c-cf609693fef9

* Enable LLM dictation cleanup by default; address review feedback

- Turn `dictation.experimental.llmCleanup` on by default.
- Own a per-cleanup CancellationTokenSource with a 10s deadline; cancel it from
  cancel() and bail out of stopAndTranscribe() if the session was aborted while
  cleanup ran, so a stalled/aborted request can't leave dictation stuck in
  Transcribing or tear down a newly started session.
- Measure finalizeMs after cleanup so the metric includes model latency.
- Skip cleanup for transcripts over the char cap instead of truncating them,
  preserving the raw-transcript fallback guarantee.
- Consume the response stream with strict error propagation and await
  response.result, so only a complete response can replace the transcript.
- Clarify the prompt: preserve wording, with an explicit exception for filler
  words and false starts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: c599eae0-1e8b-485b-b56c-cf609693fef9

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: c599eae0-1e8b-485b-b56c-cf609693fef9
2026-07-24 00:00:46 +00:00
808c7420f8 Disable flaky CopilotAgent _resumeSession fallback test (#327213)
The "_resumeSession fallback › falls back to createSession after a Start Over
truncate leaves the session empty" test intermittently exceeds the 2000ms
mocha timeout in CI. Skip it until the flakiness is root-caused and fixed.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: c599eae0-1e8b-485b-b56c-cf609693fef9
2026-07-23 23:33:29 +00:00
8f40f28cf1 Voice: don't auto-send the turn by default when hands-free is disabled (#327218)
Voice: don't auto-send turn by default when hands-free is disabled

When agents.voice.handsFree is disabled, suppress trailing-silence and
stop-phrase turn ending unless the corresponding setting
(agents.voice.turn.silenceMs / agents.voice.turn.stopPhrases) has been
explicitly configured. This keeps manual control over when a turn is sent
for users who opt out of the hands-free loop. Also re-send the turn config
when handsFree changes, and document the behavior in the setting
descriptions.

Fixes #327217

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: c599eae0-1e8b-485b-b56c-cf609693fef9
2026-07-23 23:26:36 +00:00
Connor PeetandCopilot eaddc4f307 agentHost: fix attachment URI test on Linux
Avoid treating a URI that Linux normalizes as malformed in the implicit grant test.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-23 16:12:24 -07:00
Connor PeetandGitHub 7e5ad0c5bb Merge pull request #326814 from bwateratmsft/bwateratmsft-extension-installed-context-key
Add a when clause context key for detecting if an extension is installed+enabled
2026-07-23 16:05:27 -07:00
Benjamin Christopher SimmondsandGitHub ef46302012 Merge pull request #327210 from microsoft/benibenj/elaborate-bandicoot
Refactor onboarding tour comments for clarity
2026-07-24 01:05:05 +02:00
670ef8299f Fix automation model targeting for Agent Host (#327209)
* Fix automation model targeting for Agent Host

Automations used the logical session type for model selection, which saved extension-backed model identifiers for Agent Host targets. Preserve the concrete model target and canonicalize matching legacy identifiers before sending.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a96dd883-5a84-41e4-8468-96182f2f09d1

* Preserve legacy automation model on edit

Resolve saved logical-session model identifiers into the selected concrete target during automation dialog restore, including late model and provider registration.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a96dd883-5a84-41e4-8468-96182f2f09d1

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a96dd883-5a84-41e4-8468-96182f2f09d1
2026-07-23 23:04:14 +00:00
Connor PeetandCopilot e2c36f3f7d agentHost: address attachment review feedback
Clarify URI-aware grant deduplication, tolerate malformed attachment URIs, and remove timer-based test waiting.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-23 16:02:58 -07:00
Elijah KingandGitHub 050e15b1f4 chat: segmented voice/dictation toggle with hold-to-talk and listen-button styles (#327072) 2026-07-23 16:01:14 -07:00
Justin ChenandGitHub 6c06b0dfca agents window: subagent in-flight ux (#327184)
* agents window: subagent in-flight ux

* address comments

* fix test
2026-07-23 22:58:17 +00:00
d0e6c7cb22 sessions: align secondary sidebar command state (#326735)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-23 22:50:42 +00:00
e2e76248f0 Keep empty session groups visible (#327191)
* Keep empty session groups visible

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

* Show delete action for empty session groups

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-23 22:45:15 +00:00
33ee03a6ac Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-07-23 23:58:55 +02:00
BeniBenj 5fbec2bfb0 refactor: update comments for clarity on assignment context identifiers in onboarding tours 2026-07-23 23:49:04 +02:00
CopilotGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>hawkticehurst
a71d15db91 Improve focused list text contrast (#326853)
* Initial plan

* Fix focused list text contrast

Co-authored-by: hawkticehurst <39639992+hawkticehurst@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hawkticehurst <39639992+hawkticehurst@users.noreply.github.com>
2026-07-23 21:18:24 +00:00
Connor PeetandCopilot b80de3d072 Fix agent host file completion refresh
Mark host-backed completion lists incomplete so Monaco requests updated fuzzy results as the input token changes.

Fixes #326474

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-23 14:18:18 -07:00
bd39912ace Implement uninstall functionality for local plugins (#327071)
* Agent Host changes for sbatten/agents/recent-papercuts-issues-review

* Refactor agent plugin service implementation and tests

Improve the agentPluginServiceImpl for better performance and readability.
Update agentPluginFormatDetection tests to cover new functionality.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-23 14:16:03 -07:00
PaulandGitHub 4224780376 Update edit permissions (#327199) 2026-07-23 21:00:49 +00:00
CopilotGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>hawkticehurst
dd142c21a0 Align minimap viewport with editor scrollbar styling (#326844)
* Initial plan

* Align minimap slider corner styling

Co-authored-by: hawkticehurst <39639992+hawkticehurst@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hawkticehurst <39639992+hawkticehurst@users.noreply.github.com>
2026-07-23 20:31:47 +00:00
Connor PeetandCopilot d35865d758 agentHost: allow dispatching chat actions
Align the remote protocol client dispatch signatures with the chat actions handled by outgoing attachment grants.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-23 13:15:17 -07:00
1b63f6d90c sessions: don't flash input needed for auto-approved tools (#325679)
* Don't flash input needed for auto-approved tools in sessions list

When a session runs with bypass approvals, client-contributed tools (e.g. the browser tools) briefly showed the session as `input needed` in the sessions window before clearing on their own. Auto-approved calls transition through PendingConfirmation and Running while the owning client auto-approves and runs them, and both host-owned status paths surfaced that as InputNeeded.

Skip the session `inputNeeded` queue entries and demote the aggregated chat-summary status for tool calls flagged `autoApproveBySetting`, scoped to the parameter-confirmation gate so a genuine PendingResultConfirmation still surfaces.

Fixes #325631

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

* Address PR feedback: gate status demotion on present auto-approval

Only demote InputNeeded to InProgress when an auto-approved pending confirmation is actually present and no genuine blocker exists, so a restored summary with no loaded active turn keeps its InputNeeded status. Condense verbose comments per review.

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

* Fix hygiene: replace en-dash with hyphen in comment

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

* Fix compile: use InputRequest response parts after protocol merge

The merge from main removed ChatState.inputRequests (elicitations now live as InputRequest response parts) and added the AuthRequired tool status. Update chatAwaitsUserInput to mirror the reducer's summaryStatus model: open input-request parts and auth-required tools count as genuine input, while an auto-approved parameter confirmation still does not.

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

* Fix test compile: add required ActiveTurn.startedAt field

The protocol merge made ActiveTurn.startedAt required; add it to the test's chatState helper.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-23 20:09:25 +00:00
CopilotGitHubcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>hawkticehurstHawk Ticehurst
d10e432653 Prevent Welcome page clipping at laptop heights (#326846)
* Initial plan

* Fix Welcome page vertical clipping

Co-authored-by: hawkticehurst <39639992+hawkticehurst@users.noreply.github.com>

* Adjust welcome page footer spacing

Co-authored-by: hawkticehurst <39639992+hawkticehurst@users.noreply.github.com>

* Address PR feedback

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: hawkticehurst <39639992+hawkticehurst@users.noreply.github.com>
Co-authored-by: Hawk Ticehurst <hticehurst@microsoft.com>
2026-07-23 20:06:24 +00:00
Connor PeetandCopilot f5465c35fd agentHost: grant access to local attachments
Grant remote Agent Host connections implicit read access to resource attachments before dispatch and reconnect replay.

Fixes #326523

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-23 12:59:17 -07:00
Benjamin Christopher SimmondsandGitHub 764a1601ee Merge pull request #327180 from microsoft/benibenj/industrial-gecko
New session tour version 2
2026-07-23 21:39:19 +02:00
vs-code-engineering[bot]GitHubvs-code-engineering[bot] <122617954+vs-code-engineering[bot]@users.noreply.github.com>Copilotcopilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>vijayupadya
72750ccdf4 fix: guard undefined stdio command in MCP server identity (fixes #327148) (#327151)
* fix: guard undefined stdio command in MCP server identity (fixes #327148)

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

* fix: address review on mcpServer.ts:732 — guard args and omit absent command in MCP identity

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

* fix: address review on mcpServer.ts:737 — sanitize non-string args and reword policy-check comment

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

* fix: tighten MCP stdio command runtime guard

Co-authored-by: vijayupadya <41652029+vijayupadya@users.noreply.github.com>

---------

Co-authored-by: vs-code-engineering[bot] <122617954+vs-code-engineering[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: vijayupadya <41652029+vijayupadya@users.noreply.github.com>
2026-07-23 19:23:00 +00:00
BeniBenj b025077911 Address spotlight review feedback 2026-07-23 21:20:29 +02:00
ed20a845f8 Style override: Enhance tab styling with margin and row gap (#327141)
Enhance tab styling: Add margin to last tab and set row gap for tab container

Co-authored-by: mrleemurray <mrleemurray@users.noreply.github.com>
Co-authored-by: Copilot <copilot@github.com>
2026-07-23 19:10:07 +00:00
Hawk TicehurstandGitHub cfbc5afd2a Add 4px spacing between send button and adjacent controls (#327150)
Agent Host changes for agents/add-space-between-send-button
2026-07-23 19:05:26 +00:00
BeniBenj 4789abe51e Merge remote-tracking branch 'origin/main' into benibenj/industrial-gecko
# Conflicts:
#	src/vs/workbench/browser/parts/editor/editorParts.ts
2026-07-23 20:53:26 +02:00
85409d2429 Update chat UI send buttons to rounded squares and adjust glyph alignment (#327035)
* Agent Host changes for agents/update-chat-ui-send-buttons

* Fix chat submit button styling selector

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-23 18:48:04 +00:00
Henning DieterichsandGitHub 96b7470ad1 Keep markdown editor updated (#327146) 2026-07-23 18:43:12 +00:00
d7e035e6e6 sessions: improve blocked sessions overlay actions (#327162)
* sessions: improve blocked sessions overlay actions

Add bulk-ignore and close toolbar actions, and keep acknowledged approvals dismissed across chat model reloads by using stable tool-call identities.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-23 20:36:14 +02:00
34078bdd05 agentHost: Preserve trusted model IDs in telemetry (#327173)
agentHost: preserve trusted model IDs in telemetry

Report advertised provider model IDs as trusted telemetry values while replacing BYOK and unrecognized selections with generic labels. Add coverage for trusted, BYOK, and unknown model selections.\n\n(Written by Copilot)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-07-23 18:34:08 +00:00