* mcp: fix concurrent request response collection race
- JsonRpcProtocol.handleMessage now returns JsonRpcMessage[] containing
responses generated by incoming requests, rather than delegating
response collection to callers via side-channel state
- McpGatewaySession simplified by removing _pendingResponses and
_isCollectingPostResponses fields, which were susceptible to racing
under concurrent HTTP POSTs. Now directly uses handleMessage's
return value for the response body
- _send callback still invoked for all messages (backward compatible
with McpServerRequestHandler and SSE notification broadcast)
- Updated tests to assert on handleMessage return values
Fixes#297780
(Commit message generated by Copilot)
* mcp: address review comments on jsonRpcProtocol changes
- Adds JSDoc to handleMessage clarifying what is returned (only responses
for incoming requests), ordering guarantees for batch inputs, and that
responses are still emitted via _send callback to avoid double-sending
- Tightens _handleRequest return type from Promise<JsonRpcMessage> to
Promise<JsonRpcResponse>, enforcing that only valid responses are
returned. Introduces JsonRpcResponse type alias for better type safety
- Expands error handling tests to assert that returned replies match
what is emitted via _send for both JsonRpcError and generic error paths
Fixes#297780
(Commit message generated by Copilot)
* Add ESC to dismiss inline chat editor affordance
Adds a new action bound to Escape that hides the editor affordance
without collapsing the selection.
Fixes https://github.com/Microsoft/vscode/issues/297994
* fix orphaned separators when toolbar items are hidden
Fixes https://github.com/microsoft/vscode/issues/298659
* Add tests for InlineChatAffordance telemetry events
* undo instruct-changes
Adds max-height: 90vh to the dialog box to prevent it from exceeding the
viewport height, matching the existing max-width: 90vw constraint.
The message content area now scrolls when it exceeds available space:
- Added align-self: stretch to .dialog-message-container in horizontal
layout so it fills the row height and triggers overflow-y scrolling
- Added min-height: 0 to .dialog-message-container in vertical layout
to allow flex shrinking and overflow-y scrolling
- Changed .dialog-message-container overflow from 'hidden' to 'overflow-y:
auto; overflow-x: hidden' to enable vertical scrolling
Buttons, toolbar, and footer remain visible. Only message content scrolls.
Fixes https://github.com/microsoft/vscode/issues/296528
(Commit message generated by Copilot)
- Replaced hardcoded box-shadow values with new CSS variables for consistency and improved theming.
- Updated styles in postEditWidget, findOptionsWidget, findWidget, floatingMenu, hover, parameterHints, peekViewWidget, renameWidget, stickyScroll, suggest, actionWidget, hover, quickInput, agentFeedback components, and more.
- Introduced new shadow variables: --vscode-shadow-sm, --vscode-shadow-md, --vscode-shadow-lg, --vscode-shadow-xl, and --vscode-shadow-hover for better control over shadow effects.
Co-authored-by: Copilot <copilot@github.com>
Used Windows registry to retrieve Windows release and build numbers.
Added passing User-Agent header to update service.
Updated installer launch env to ignore compat mode.
- Extract an underlying json RPC protocol helper, use that to implement
the 'gateway' MCP endpoint.
- Pipe server tools through the gateway via the tool broker channel.
- Resources coming tomorrow.
* WIP: keep actions visible when tree has horizontal scroll
Fixes#251722
* feat(npm): fixed conssitency of right side aligned buttons
* Fix TreeView action alignment during horizontal scrolling
Offset actions using --list-scroll-right-offset so they remain
aligned to the viewport edge. Apply only to rows containing
action items and adjust spacing for correct visual alignment.
* fixed extra space issue on nodes having file decoraters
* Remove known variable - will add back in a separate PR
---------
Co-authored-by: Alex Ross <38270282+alexr00@users.noreply.github.com>