[mirror] microsoft/vscode#297590 Fix copy button not working during chat code block streaming#62
Open
austindyoung wants to merge 59 commits intomainfrom
Open
[mirror] microsoft/vscode#297590 Fix copy button not working during chat code block streaming#62austindyoung wants to merge 59 commits intomainfrom
austindyoung wants to merge 59 commits intomainfrom
Conversation
…y URI pattern handling
…cess to all models
… overflow handling
…t-specific commands
…s.experimental.useTsgo Co-authored-by: mjbvz <12821956+mjbvz@users.noreply.github.com>
…ices and remove deprecated code
…ommand registration
…ice and update command details for better functionality
…ice for improved command handling
) 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.
…ctions in AICustomizationManagementEditor
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
…mproved static handling
…for improved accuracy
…nsContribution for improved type safety
…agementActionsContribution
…-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>
…ewChatViewPane.ts for improved clarity
…#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
…aardvark Align js/ts extension name
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>
Cleanup and simplify filtering
…026-02-24T23-19-56 Agent sessions window: Auto-open folder/repo picker when sending without selection
…nsContribution for improved type safety
…-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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.