Skip to content

[pull] main from microsoft:main - #1125

Merged
pull[bot] merged 58 commits into
code:mainfrom
microsoft:main
Apr 9, 2026
Merged

pull[bot] merged 58 commits into
code:mainfrom
microsoft:main

Conversation

@pull

@pull pull Bot commented Apr 8, 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 : )

connor4312 and others added 30 commits April 7, 2026 16:01
Lets you create and interact with terminals on the remote. Does a good
bit of refactoring to clean up how we deal with state. Still need to get
the tool call experience working nicely, but this lays the groundwork.
Schedule a deferred editor render at the end of CodeBlockPart.render()
to ensure view lines are painted even when earlier render passes were
dropped (e.g. when isConnected is false during initial render).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- The agent host now computes and publishes diff info using the same
  logic used in the editor, inside a worker thread.
- It computes cumulative diffs for the session at the end of each turn.
* Support timing out hung streams

* Fix tests

* Address comments

* Fix tests
Bumps [hono](https://github.com/honojs/hono) from 4.12.7 to 4.12.12.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.12.7...v4.12.12)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.12
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…307896)

* fix: improve vendor configuration handling in LanguageModelsService

* Fixes
…#308567)

Bumps [@hono/node-server](https://github.com/honojs/node-server) from 1.19.10 to 1.19.13.
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](honojs/node-server@v1.19.10...v1.19.13)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-version: 1.19.13
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ng (#308574)

* Fix debug panel subagent display: parallel trace routing, hook routing, and event ID collisions

* feedback updates
Add clientByokEnabled to IChatEntitlementService

Adds a clientByokEnabled boolean to IChatEntitlementService that reads
the github.copilot.clientByokEnabled context key set by the Copilot Chat
extension. This enables the Add Models button for Business/Enterprise
users whose organization has the BYOK policy enabled.

- Gate with isManagedEntitlement for defense-in-depth
- Listen to onDidChangeContext for reactive button updates

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* feat(copilot): update Copilot dependency to version 1.0.21

* Address review comments

* Updates

* Fix tests
sessions: fix in-progress description overflow in session list (#308283)

Add overflow: hidden to .session-details-row so long in-progress
status descriptions from cloud sessions are clipped to the row's
max-height instead of visually overflowing.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add localhost embeddings support for scenario automation

Updates to support semantic search with blackbird in MSBench.

- ScenarioAutomationWorkspaceChunkSearchService: directly calls Blackbird
  localhost:4443 embeddings endpoint bypassing production strategies
- ScenarioAutomationEndpointProviderImpl: add fallback to copilot-base when
  model family resolution fails in scenario automation
- Move IWorkspaceChunkSearchService registration into isScenarioAutomation
  if/else branch in services.ts
- Move IGithubCodeSearchService and IGithubAvailableEmbeddingTypesService
  registrations to shared (non-branched) section

Moved from microsoft/vscode-copilot-chat#3947

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

* fix scenario automation workspace chunk search review feedback

Agent-Logs-Url: https://github.com/microsoft/vscode/sessions/be3a88b1-d355-40f5-94df-a71c1d2429b6

Co-authored-by: rwoll <11915034+rwoll@users.noreply.github.com>

---------

Co-authored-by: gryan11 <415784+gryan11@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: rwoll <11915034+rwoll@users.noreply.github.com>
…#308590)

The provider API is now permanently enabled. This removes the
chat.customizations.providerApi.enabled kill-switch setting and all
associated conditional logic:

- Removed CustomizationsProviderApi enum value and setting registration
- Removed IConfigurationService dependency and kill-switch guards from
  mainThreadChatAgents2 (config listener + registration gate)
- Simplified core CustomizationHarnessService to always register only
  the Local harness (no conditional CLI/Claude fallback)
- Removed Claude harness enum value, factory, and user-root helper
  from common customizationHarnessService (now extension-contributed)
- Removed Claude harness fixture and imports
- Updated harness selector setting description (removed harness names)
agentHost: implement cumulative diffs per session
Fix issue with detecting the repository path
* Chat memory leak fixes

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

* Comments

* Dispose allRefs on chat markdown part

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

---------

Co-authored-by: Copilot <copilot@github.com>
roblourens and others added 2 commits April 8, 2026 18:01
Refactors repeated session-data and diff-compute test doubles into a shared
agentHost test helper module.

- Adds reusable TestSessionDatabase and TestDiffComputeService helpers for
  tests that need in-memory file-edit metadata or deterministic diff counts.
- Adds session-data-service factories for tests that need either an injected
  database reference or an intentionally unopened/null session database.
- Updates agentHost node tests to use the common helpers instead of local
  mock database, data-service, encoder, and zero-diff implementations.

(Commit message generated by Copilot)
@pull pull Bot locked and limited conversation to collaborators Apr 8, 2026
@pull pull Bot added the ⤵️ pull label Apr 8, 2026
TylerLeonhardt and others added 25 commits April 8, 2026 22:23
* Use official APIs for listing subagent messages

* feedback
* Better UI syncing during browser open

* feedback
…308625)

* sessions: swap order of checkmark and plus buttons in section toolbar

Move the 'Mark All as Done' checkmark button to the left (order: 0)
and the 'New Session' plus button to the right (order: 1) in the
session section toolbar.

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

* sessions: swap order of pin and mark-as-done on session card hover

Move pin/unpin to the left (order: 1) and mark-as-done/restore to
the right (order: 2) in the per-session-item hover toolbar.

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…Search/externalIngestIndex.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
`ChatSessionChangedFile2` can become `ChatSessionChangedFile`
* Add context key got GitHub remote

* Sdopt the new context key

* Fix issue with detecting the repository path
#308621)

Adds worktree deletion on archive and recreation on unarchive for both
the legacy provider API and the new controller API.

- Expose onDidChangeChatSessionItemState on the return value of
  registerChatSessionItemProvider via Object.assign
- Wire up archive/unarchive handling at the V1 registration site in
  chatSessions.ts using the exposed event
- Refresh session items after worktree recreation so changes and stats
  are recomputed in the UI

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Fire chat input state commands with correct arguments
Fix `.selected` not being updated when changing options
Add telemetry event for search timeouts
Remove now unused `ChatSessionChangedFile` interface
* sessions: fix archive and retention of stopped temp sessions

When a copilot-cli session is stopped before the first turn commits, the
session remained in a temp/untitled state. Archiving such a session
previously fell through to cleanup logic that deleted and disposed it
instead of archiving in-place.

- Add setArchived() to CopilotCLISession and RemoteNewSession so temp
  sessions can be archived/unarchived without deletion
- Handle CancellationError in _sendFirstChat by marking the session as
  Completed so it stays visible in the session list
- Add tests for deleting and archiving uncommitted temp sessions

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

* test: assert doesNotReject instead of swallowing sendPromise errors

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

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Update hidden Model B agent prompt for evals

* Refine hidden Model B prompt tag structure
* feat(copilot): update session option group handling

* Fix tests

* Fixes
…8648)

* Add `oauth` section to mcp.json to allow overriding of client id

More properties (like client secret) can come later... but this is the foundation, which is a lot of plumbing...

ref #257415

* feedback
…08657)

* Use the modelProvider instead looking for claude for Claude agent

A little cleaner.

* feedback
…ata storage and deprecate old forkSession method (#308652)

feat: implement session forking using Copilot API with metadata storage and deprecate old forkSession method
…ries (#308649)

* chatSessions: optimize workspace changes handling for shared repositories

* Updates

* updates
@pull
pull Bot merged commit e4f6e11 into code:main Apr 9, 2026
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.