Skip to content

[mirror] microsoft/vscode#297590 Fix copy button not working during chat code block streaming#62

Open
austindyoung wants to merge 59 commits intomainfrom
driftfence/mirror/pr-297590/latest
Open

[mirror] microsoft/vscode#297590 Fix copy button not working during chat code block streaming#62
austindyoung wants to merge 59 commits intomainfrom
driftfence/mirror/pr-297590/latest

Conversation

@austindyoung
Copy link
Copy Markdown
Owner

Automated mirror PR for DriftFence counterfactual telemetry.

Source PR: microsoft#297590
Source URL: microsoft#297590
Mirror branch: driftfence/mirror/pr-297590/latest

This PR is maintained by automation for telemetry and review links.

mjbvz and others added 30 commits February 23, 2026 16:18
…s.experimental.useTsgo

Co-authored-by: mjbvz <12821956+mjbvz@users.noreply.github.com>
…ice and update command details for better functionality
)

sessions welcome: restart extension host after setup to fix model registration

After the welcome overlay completes (extension installed + user signed in),
restart the extension host so the copilot-chat extension picks up the new
auth session cleanly. Without this, the extension activates before the auth
provider is ready, gets stuck in GitHubLoginFailed, and models never appear.

The overlay stays visible during the restart so the user doesn't see a
broken intermediate state. Dismiss is controlled by the contribution via
an autorun watching isComplete, not by the overlay itself.
joaomoreno and others added 29 commits February 24, 2026 14:17
Fixes microsoft#297310

Matches the new setting scope as well as the terms we often use in product
…te-package-json-config-names

Update package json config names
…-02-24T17-52-24

# Conflicts:
#	src/vs/sessions/contrib/chat/browser/newChatViewPane.ts
#	src/vs/workbench/contrib/chat/browser/aiCustomization/aiCustomizationManagement.contribution.ts
When the user tries to send a message without having selected a folder
(Local/Background) or repository (Cloud), automatically open the
relevant picker instead of silently doing nothing.

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

* chat: support installing plugins from private marketplaces

Adds support for installing plugins from private git repositories, git URIs,
and file paths. Introduces a new agentPluginRepositoryService to handle
cloning and managing custom marketplace repositories.

- Extracts shared repository logic into a dedicated common service
- Adds support for fallback to private repo cloning when public marketplace
  lookup fails
- Allows \https://\ and SCP-style git URIs for marketplace references
- Allows \ile:///\ URIs for local marketplace directories
- Adds comprehensive unit tests for new marketplace functionality

Fixes microsoft#297524

(Commit message generated by Copilot)

* comments and ci

* bump
Replace the manage plugins quick pick UI with a direct opening of the
extensions marketplace with @agentplugins search pre-filled. This provides
a simpler UX by removing an extra dialog layer.

- Simplifies ManagePluginsAction to open extensions sidebar with preset search
- Removes the entire quick pick UI and related helper functions
- Users can now directly browse and install plugins from the marketplace

Fixes microsoft#297368
Fixes microsoft#297517

(Commit message generated by Copilot)
… editor (microsoft#297537)

The 'Open Plugin Folder' action was incorrectly using IOpenerService.open() on the
plugin directory, which attempted to open the directory in the editor, resulting in
an error page. Fixed to use the 'revealFileInOS' command instead, which properly
reveals the folder in the file explorer.

Changes:
- Replace IOpenerService with ICommandService dependency
- Use 'revealFileInOS' command to reveal the plugin folder
- Update label from 'Open Containing Folder' to 'Open Plugin Folder'
- Open plugin URI directly instead of its parent directory

Fixes microsoft#297250

(Commit message generated by Copilot)
Adds a search icon to the Agent Plugins - Installed view toolbar to allow
users to easily browse and search for agent plugins, matching the pattern
already established in the MCP Servers view.

- Creates AgentPluginsBrowseCommand action that opens the extensions search
  with the @agentplugins filter
- Registers the command in the view toolbar (MenuId.ViewTitle)
- Exports InstalledAgentPluginsViewId constant for consistent view ID usage
- Adds necessary imports for Action2, MenuId, Codicon, and services

Fixes microsoft#297269

(Commit message generated by Copilot)
…t#297535)

Browser: fix contents slightly shifting during paused state
Add newSessionOptions so providers can set the initial options for a session
* De-duplicate browser open tools

* feedback
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…026-02-24T23-19-56

Agent sessions window: Auto-open folder/repo picker when sending without selection
…-02-24T17-52-24

# Conflicts:
#	src/vs/sessions/contrib/chat/browser/newChatViewPane.ts
…026-02-24T17-52-24

Agent sessions window slash commands
Set toolbar context immediately when rendering code blocks, before awaiting
the text model promise. This ensures the Copy action has access to the code
text even while the model is still loading during streaming.

Previously, the toolbar context (including the 'code' property used by the
Copy action) was only set after the text model promise resolved. This meant
clicking Copy during streaming would fail since context.code was undefined.

Now we pass the raw text to render() and set an initial context immediately,
which is later refined when the model loads.

Fixes microsoft#255290

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.