Conversation
The copy action was only available via right-click context menu (ChatContext). Add it to the ChatMessageTitle toolbar so it appears as a visible icon button on hover, using the copy codicon. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Register CopyItemAction on MenuId.ChatMessageFooter so responses show a copy button alongside thumbs up/down and retry actions.
Instead of immediately returning empty results for Unknown-state servers and refreshing in the background, wait up to 5 seconds for the server to become live on the first list call. Subsequent calls find the already- resolved promise in _startupGrace and return immediately, so only the first message pays the startup cost. - _waitForStartup: races _ensureServerReady against the configurable grace period (default 5 000 ms); result is cached per server - _shouldUseCachedData: awaits the grace period for Unknown servers, falls back to background-refresh for Outdated servers - _listTools: refactored to Promise.all to parallelise per-server waits - Tests: updated 'starts server when cache state is unknown' to assert tools are returned after the grace period; added new test for the timeout path using createNeverStartingServer
Per review feedback: Outdated servers should use the same per-server startup grace period as Unknown servers. A prior fast startup does not guarantee a fast restart, so both states now race startup against the 5s timeout before returning results.
…race invalidation
…teway-compile-error
Make sure we specify a tsconfig.browser.json for browser ext
…compile-error Fix compile error in mcpGatewayToolBrokerChannel test
* api: fix memory leaks in MainThreadManagedSockets Refactors MainThreadManagedSockets to properly manage disposables and prevent memory leaks. Uses DisposableMap for registrations and DisposableStore to collect socket disposal listeners. - Changes _registrations from Map<number, IDisposable> to DisposableMap to leverage automatic disposal when clearing entries. - Collects Event.once listeners for socket disposal in a DisposableStore to ensure they are properly disposed of when the factory is unregistered. - Minor whitespace fix on closeRemote method signature. Refs #293200 (Commit message generated by Copilot) * Better
Session window: merge to local
…9094) * Commit customization files to main repo for worktree persistence Customization files (agents, skills, instructions, prompts, hooks) are now always committed to the main repository so they persist across worktrees. When a worktree session is active, the file is also copied and committed there so the running session picks it up immediately. - Rewrite SessionsAICustomizationWorkspaceService.commitFiles() with dual-commit logic (main repo + worktree) - Add deleteFiles() to IAICustomizationWorkspaceService interface - Wire delete action to commit removals to git - Show friendly warning when main repo commit fails from a worktree * Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…T23-48-15 Add copy button to chat
* feat: add dynamic customization slash commands to sessions new-chat page Add individual prompt/skill files as slash commands in the sessions window's new-chat input, matching what the customizations view shows. - Add getFilteredPromptSlashCommands() to IAICustomizationWorkspaceService - Core: passthrough to IPromptsService - Sessions: filters via applyStorageSourceFilter() per prompt type - Add second completion provider in SlashCommandHandler for dynamic prompt/skill slash commands alongside existing static ones - Update decorations to recognize and highlight dynamic prompt commands - Subscribe to onDidChangeSlashCommands for cache refresh - Fix regex in tryExecuteSlashCommand to support Unicode prompt names Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * feat: expand prompt slash commands into CLI-friendly references When a user types /my-prompt in the sessions new-chat input, expand it before sending to: 'Use the prompt file located at [name](uri).' so the CLI agent can locate and process the prompt file. - Add tryExpandPromptSlashCommand() to SlashCommandHandler - Call it in _send() before session.setQuery() to rewrite the query Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- 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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
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 : )