Skip to content

[pull] main from microsoft:main - #1659

Merged
pull[bot] merged 28 commits into
code:mainfrom
microsoft:main
Sep 2, 2026
Merged

[pull] main from microsoft:main#1659
pull[bot] merged 28 commits into
code:mainfrom
microsoft:main

Conversation

@pull

@pull pull Bot commented Sep 2, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

vritant24 and others added 28 commits September 1, 2026 11:21
Discover MCP servers from ~/.copilot/mcp-config.json when the
corresponding external discovery source is enabled. Avoid forwarding
those servers back to Copilot Agent Host, which discovers them natively.

Refs #333613

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use the configured Copilot home when locating mcp-config.json in both
local and remote native discovery, while retaining ~/.copilot as the
default location.

Refs #333613

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use CopilotHome to align the source identifier with the COPILOT_HOME
environment variable that defines this configuration location.

Refs #333613

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Use the MCP collection origin when an installed server definition does not
carry its own origin, while preserving definition-level precedence.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add ready message when creating from PR
Fixes #331194

* Address comment
* Agent Host changes for benibenj/agents/fix-component-fixtures-file-icons

* Fix file icons in component fixtures documentation
Support file icon themes in component fixtures

Allow fixtures to select Seti, Minimal, or no file icon theme while scoping generated theme CSS to each fixture.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Translate the legacy Automations Autopilot permission value at the Agent Host protocol boundary so native automation sessions use Assisted permissions.\n\nFixes #333723\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* sessions: refine single-pane details behavior

Keep the side-pane boundary stable when toggling docked details, align new-session editor closing with existing sessions, and reveal details when Empty Files opens. Also order the details action before maximize and allow workspace-backed draft sessions to open Changes.

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

* sessions: preserve hidden details after Empty Files

Reveal docked Details only when Empty Files becomes active or visible, rather than on unrelated reactive updates, and clarify the last-editor close contract.

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

* sessions: fix left title-bar sidebar-toggle icon lag on toggle

The Toggle Side Bar action's icon (and its aria-pressed state) is driven
by MenuWorkbenchToolBar for Menus.TitleBarLeftLayout, which did not
override eventDebounceDelay. MenuWorkbenchToolBar always forwards that
key to IMenuService.createMenu even when undefined, which defeats
MenuService's own 50ms default and falls back to DebounceEmitter's
100ms internal default. The sidebar itself hides/shows synchronously
when clicked, so for up to ~100ms afterward the button kept showing its
previous open/closed glyph, reading as the action jumping once it
finally caught up to the real layout state.

A previous SidebarToggleActionViewItem derived the icon directly and
synchronously from IWorkbenchLayoutService.isVisible(...), sidestepping
this lag, but was removed in #310869 without restoring instant
feedback. editorGroupView.ts already uses eventDebounceDelay: 0 for the
analogous editor-title menu for the same reason; apply the same
override to the left title-bar toolbar.

Add a focused regression test that constructs a real TitlebarPart with
a real ContextKeyService/MenuService and asserts the toggle icon's
class and aria-pressed state track the layout service's sidebar
visibility within a short, bounded window. Verified the test fails
without the fix and passes with it.

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

* sessions: stop the left title-bar from resizing when the sidebar is toggled

The titlebar row and the sidebar/content row are siblings under the
same vertical grid split (root data: [titleBarNode, contentSection]),
so the grid library forces them to share one width - there is no way
to size them independently within that split.

_layoutGrid() computed the width passed to workbenchGrid.layout() as
mainContainerWidth minus a gutter that grew from one
AGENTS_FLOATING_PANEL_GAP to two whenever the sidebar was hidden
(.nosidebar), mirrored by a conditional margin-left on the shared grid
root in workbench.css. Because the titlebar shares that same root, its
own grid-allocated width - and hence the left toolbar hosting the
sidebar-toggle icon - shifted and shrank by 4px every time the sidebar
was shown or hidden. This is a real, measurable position/width change
(confirmed via DevTools: the titlebar part's own box resizes on
toggle), not the debounce-lag fixed in 957b0fa - both are genuine,
independent contributors to the reported 'icon jumps' symptom.

Make the gutter (and its matching CSS margin) constant, independent of
sidebar visibility, so the shared grid root - and the titlebar within
it - never changes size on toggle. The tradeoff is that the content
area's substitute-for-sidebar card (rounded corners) now sits flush
against the window edge instead of leaving a 4px gap when the sidebar
is hidden; visually verified this reads as a normal edge-to-edge card,
not a regression, and it avoids a much larger, riskier change (the
card's content-size math in agentsPartCard.ts is mirrored in JS and
would need updating in lockstep with any new part-level margin to
avoid a content clipping mismatch).

Add a regression test asserting workbenchGrid.layout() receives the
identical width regardless of partVisibility.sidebar. Verified it
fails (1192 vs 1196) without the fix and passes with it.

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

* Revert "sessions: fix left title-bar sidebar-toggle icon lag on toggle"

This reverts commit 957b0fa.

* sessions: reduce layout comment verbosity

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

* sessions: remove verbose layout comment

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

* sessions: show New action by default in Insiders

Use the experiment treatment when assigned, while defaulting the collapsed-sidebar New action on for Insiders builds.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Agent Host changes for sandy081/agents/bugfix-general-issue

* sessions: Cover narrow row toolbar layout

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

* sessions: Update narrow toolbar screenshot baselines

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* agentHost: restrict Codex Copilot models to OpenAI

Third-party models can advertise the Responses endpoint without supporting the complete Codex request lifecycle. Keep picker and endpoint eligibility checks while limiting the Codex harness catalog to models whose vendor is OpenAI.

* agentHost: reuse OpenAI model provider constant

* agentHost: add vendor to shared Codex model fixtures

The OpenAI-only model filter relies on the required vendor field. Keep the shared create-chat and prewarm fixtures valid so their gpt-test model remains available.
Initialize search-specific rendering data when a streaming tool invocation is created so text searches do not briefly use the generic tool icon. Add regression coverage for rg calls before they become ready.\n\n(Written by Copilot)\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…3991)

* agentHost: avoid catalog lookup for direct session tools

Use targeted session metadata for get_current_session and resolve explicit create_session workspaces without enumerating provider-wide sessions.\n\nFixes #333794.

* agentHost: preserve URI-shaped project name resolution

Prefer catalog-based project resolution when available, while retaining the explicit workspace fallback for providers that cannot enumerate sessions.
…stigation-a5ebe3e0

mcp: discover Copilot Home mcp configuration
* agentHost: hide routine Codex approval review notices

Keep individual review outcomes out of chat transcripts while preserving the circuit-breaker warning that interrupts a turn.

* agentHost: surface incomplete Codex approval reviews

Keep routine successful reviews quiet while preserving structured timeout, aborted, and circuit-breaker feedback in the chat UI.
* chore(ci): check build subfolders

* Potential fix for pull request finding

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

* chore(ci): fix nested install indentation

Co-authored-by: rzhao271 <7199958+rzhao271@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* Agent Host changes for sandy081/agents/session-progress-indicator

* Handle mixed active chat statuses

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

* Update session progress screenshots

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* agentHost: add draft PR Agent Merge operation

Add a combined operation that creates a draft pull request and enables Agent Merge while keeping draft PRs ineligible for automatic merging.

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

* sessions: keep Agent Merge primary until draft is ready

Keep the running Agent Merge action primary while draft pull request CI or review comments remain unsettled, then restore Mark Ready once both are clear.

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

* agentHost: drive draft readiness operations from host

Advertise a separate Mark Ready operation while Agent Merge owns the primary button, and switch to the normal Mark Ready operation only after required checks and actionable review feedback are clear.

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

* agentHost: seed Agent Merge target from known PR

Use branch-matched session GitHub metadata when Agent Merge first captures its target so the enablement notice immediately reflects an existing pull request without delaying the feedback watermark.

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

* agentHost: report Agent Merge PR completion

Post a host-owned, user-only system notification with the pull request link after Agent Merge successfully merges it, using a dedicated Agent Merge completion kind and icon.

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

* chat: streamline Agent Merge notices

Hide response footer actions for Agent Merge system notifications and render their completion time inline on hover or keyboard focus. Add full-chat fixtures for the enablement, repair, response, and merged-notice flow.

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

* chat: align Agent Merge notice timing

Align inline Agent Merge timestamps to the notification's last text baseline and place them at the chat row's right edge, matching response footer timing.

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

* agentHost: use enabled and disabled in Agent Merge notices

Replace on, off, and turned-off terminology in Agent Merge transcript notices with enabled and disabled wording, including automatic merge demotion guidance.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* chat: Avoid duplicate customization migration picker

Reuse an explicitly selected harness destination across compatible customization types, and add a seeded launch profile for manually testing migration flows.

Fixes #333559

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

* chat: Stabilize customization migration page

Keep the migration list mounted when retained originals trigger prompt-service updates, and align its scrollbar with other customization pages.

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

* chat: Address customization migration feedback

Serialize migration writes, use provider-defined destination groups, accept the intentional screenshot updates, and remove the local-only migration profile.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Sep 2, 2026
@pull pull Bot added the ⤵️ pull label Sep 2, 2026
@pull
pull Bot merged commit 3f9532f into code:main Sep 2, 2026
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.