Repository navigation
chore(release): merge v2/main into main for v2.17.0 - #3061
Conversation
The published ledgers and every release's notes were retitled from "Smoke test ledger" to "Release ledger"; release:notes still emitted the old wording and would have brought it back on the next release. Emit "Release ledger for milestone branch", and rename the artifact and its notes line in the release skill to match. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
…lback (#3002) Ace re-lays an editor out synchronously inside the ResizeObserver callback that watches its character-measuring node. An autosizing editor sets its own container's height there, and that container is a shallower, observed element, so the browser reports 'ResizeObserver loop completed with undelivered notifications' as a window error. The Storybook run logged it as an unhandled error on every run, from a JSON editor revealed out of a closed Collapse. Replace that observer with one that re-measures on the next animation frame, and assert in the StructuredOutputPanel 'Collapsed' story that the reveal raises no such error. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
The Select and MultiSelect that SchemaForm renders for a string enum, a string oneOf, an array of enum items and an array of anyOf items were read-only, so a long list could only be scrolled. They now take Mantine's searchable mode: typing narrows the options by a case-insensitive substring of the label, with a 'No matching options' message when nothing matches. The typed text only filters; onChange still reports nothing but the schema's own options. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
…ied (#2986) `allSkillsVerified([])` is vacuously true, so `--method skills/list --verify` against a server that served no skills printed "Verified 0 skills and 0 files" and exited 0. A catalog whose skills were all skipped at load reached the gate as an empty listing and passed it. An empty catalog now exits 13 (SKILL_CATALOG_EMPTY, envelope code `skills_empty`) with a headline that says nothing was checked. It has a code of its own, like 8, because the server broke no MUST: a job that expects an empty catalog can allow 13 and still fail on 7. The exit-code-to-envelope mapping moves into one shared helper so the one-shot CLI and mcpdo cannot disagree on it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
Document the config file format in docs/test-servers.md: the top-level keys, transport (including modern), the oauth block field by field, the preset names and their params, per-preset requiredScopes, and an annotated example for each OAuth mode. The source types are linked as the authoritative definitions. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
Ink 8 strips bare C0 control characters (BEL, BS, VT, FF, NUL) and OSC sequences from text handed to <Text>; the 6.8.0 the ^6.0.0 range resolved wrote them through, so server-supplied text (an elicitation message, tool output) could ring the bell or backspace over the TUI's output. Ink 8 declares react ">=19.3.0", so the root react range moves from ^19.0.0 to ^19.3.0. The ink externalization exemption depends on the root range starting at ink's own peer floor; the guard in tsdownConfig.test.ts now reads that floor at full precision instead of assuming a x.0.0 one. ink-scroll-view moves to ^0.4.0, the first line whose ink peer admits 8. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
Custom headers reached the MCP endpoint through the transport's requestInit, but the OAuth requests the Inspector makes itself (discovery, registration, code exchange, refresh, revocation) ran on a separate fetch chain that never saw them, so a header-routed deployment was authorized against the wrong environment. The auth chain now carries them to the MCP server's own origin only. An authorization server on another origin is a destination the server under test named, so it receives none; a header the request already set is never replaced; Authorization, Cookie and framing headers are never copied. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
…lobal (#3002) Where the global does not exist, the environment in which Ace polls instead, a bare instanceof against it threw rather than answering false. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
…e config reference (#2980) Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
Closing Server Settings only issues its save, so a connect started right after built the client from the settings as they stood before the edit. connectServer now waits for any write in flight for that server and builds the client from what it put on disk. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
…2985) - The destination guard keeps only negotiation headers on a cross-origin redirect hop, so a custom header sent to the server's own origin does not follow a redirect off it. - A duplicated custom header name resolves last-row-wins, as on the transport. - The stamped OAuth deadline is carried onto the replaced init. - The headers are also applied above the tracker, so the Network log records what was sent. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
…ait (#3007) Review round 1: a connect that waited on a settings write now gives way to a later attempt, and builds its client through the latest setup callback rather than the closure captured before the wait. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
--use-stored-auth's refresh and --relogin's revocation run before any InspectorClient exists, so they add the same-origin headers themselves. Inside InspectorClient the headers now come from the settings the open transport was built with, so a live settings save cannot move OAuth to a different environment than the MCP requests it authorizes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
Review round 2: a later-issued write that landed before the wait began no longer counts as the wait's outcome when its older sibling then fails. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
A transport built with no settings has no snapshot, and must not fall through to headers saved after it connected. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
Review round 3: the wait hands over a landed value only while its record is still believed, as resolve does. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
…ase-ledger-line Name the release:notes ledger line the release ledger
…aform-enum-searchable Filter SchemaForm enum pickers as you type (#2982)
…-empty-catalog Fail --verify over an empty skills catalog instead of reporting Verified
…ybook-resizeobserver-loop Stop Ace's font-metrics observer raising a ResizeObserver loop error in Storybook tests (#3002)
…same-origin-headers Send custom headers to same-origin OAuth requests (#2985)
Bump ink to v8 and start the root react range at its peer floor (#2984)
…server-config-reference docs: add a config reference for the composable test server
…t-awaits-settings-write Web: hold a connect until the settings write in flight settles
…quests (#3018) The server's custom headers were handed to the SDK transport as requestInit.headers. The transport merges the whole requestInit into the OAuth requests it makes itself (discovery and refresh behind a 401 when an authProvider is attached), so an authorization server on another origin received them. They are now applied by a fetch wrapper on the transport's own fetch chain, to requests for the MCP server's origin only, with the request's own headers winning as before. MCP requests and same-origin requests are unchanged. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
Microsoft Entra ID's multi-tenant endpoints publish authorization-server metadata whose `issuer` is the literal template `https://login.microsoftonline.com/{tenantid}/v2.0`, so the SDK's RFC 8414 §3.3 issuer check rejects discovery for `/organizations/v2.0` and the OAuth flow stops before authorization starts. The SDK ships a security-weakening opt-out for exactly this; `mcpAuth` already forwarded it but nothing set it. Add a per-server setting, "Skip issuer metadata validation" (`oauth.skipIssuerMetadataValidation` in mcp.json, `oauthSkipIssuerMetadataValidation` in settings). Off by default, never global and never automatic; only an explicit `true` is honored or written. It reaches every discovery the Inspector starts for that server: the four `mcpAuth` call sites in the OAuth manager, the CIMD pre-registration probe, and the SDK transports' own `auth()`. The RFC 9207 `iss` check and the callback's authorization-server binding are untouched. The metadata mismatch error now names the setting and what it costs, with the SDK's error kept as `cause`; an authorization-response mismatch gets no such hint. Plumbed through the config round-trip, the remote settings route, the CLI/mcpdo/TUI runner and the web connect path, with an end-to-end test that runs a real authorization-code flow against a metadata document shaped like Entra's. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
…ding them (#3018) Review: taking the headers out of requestInit changed what the SDK does with them on MCP requests (the Accept union, the session-id removal on the handshake). requestInit is left intact again, so MCP requests are built by the SDK exactly as before, and the wrapper instead takes the configured headers off any request that leaves the server's origin. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
) SDK `auth()` validates authorization-server metadata only when it discovers it; a cached document is reused as-is. So metadata accepted while `skipIssuerMetadataValidation` was on kept being used after the setting was turned off, and turning it off restored nothing. With the check on, `BaseOAuthClientProvider.discoveryState()` now withholds cached metadata that would not pass the SDK's own comparison. The recorded authorization-server URL is kept, so the SDK re-discovers that server strictly and the callback binding is unaffected; stored state is untouched. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
Review: comparing through Headers joined a name configured under two spellings into one value that matched neither removal condition once the request overwrote one of them. The wrapper now weighs each key of the merged record on its own, against every value configured for that name. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
Review: two spellings of one name holding the same value were deduplicated
before the joined form was built, so a request carrying them already folded
("secret, secret") kept the header.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: cliffhall <cliff@futurescale.com>
Parse IPv6 addresses into their eight groups and match on value rather than spelling, and treat ::ffff:0:0/96, 64:ff9b::/96 and 64:ff9b:1::/48 as IPv4-embedding: extract the low 32 bits and re-check them as IPv4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
RFC 8215 lets an operator carve a NAT64 prefix of any RFC 6052 length from /48 to /96 out of the local-use prefix, and the layout in use is not recoverable from the address. Decoding only the /96 layout let 64:ff9b:1:a9fe:a9:fe00:: (169.254.169.254 under the /48 layout) through. Addresses in 64:ff9b:1::/48 now have their IPv4 address decoded under each of the /48, /56, /64 and /96 layouts, and are blocked if any decoding is. 64:ff9b::/96 stays /96-only, as RFC 6052 fixes it there. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
…ssrf fix(fetchGuard): block IPv4-embedding IPv6 forms, incl. NAT64
…-2-17-0 Release 2.17.0 step 1: bump version to 2.17.0
Signed-off-by: cliffhall <cliff@futurescale.com>
…rball before the merge (#3057) v1-1 now packs every workspace before the bump merges, scans each package's shipped files for imports its own manifest does not declare, and runs each bin from a clean install of that package alone. The root install hoists every root dependency, so no earlier check could see that npx -y @modelcontextprotocol/inspector-server crashed from 0.21.0 through 1.0.6 (#3055). Step 2a records pack:verify as the v2 form of the same rule. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
…now starts standalone (#3057) Addresses review on #3058: the standalone check now packs into a fresh mktemp root (falling back to /tmp when TMPDIR is unset), so a rerun cannot inherit a previous run's node_modules, and the import scan uses the line-anchored patterns from scripts/lib/bundle-bare-imports.mjs plus require(), so side-effect imports are caught and comments are not. With #3059 the client starts on its own, so its row now expects it to start, and v1-1's version-field list gains the client's inspector-server range. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
…edger records (#3057) Addresses round 2 on #3058. Each UI run in the standalone check takes its own ports and the previous one is stopped first, and a row only counts once its own log shows it bound, so a leftover process cannot pass the published-shape row. The v1 intro no longer says v1 has no ledger; it says what the v1 ledger records, as 1.0.6 and 1.0.7 already did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
… supplying it (#3057) Addresses round 3 on #3058. The standalone-client install takes the server tarball alongside it, which would also satisfy a client that never declared the dependency, and the scan cannot see start.js reach it through createRequire(...).resolve(...). The check now asserts the declaration and its ^X.Y.Z range first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
…se-standalone-package-check docs(release): prove each package installs and starts from its own tarball before the merge
Brings in #3058 (release skill: standalone-package check). Signed-off-by: cliffhall <cliff@futurescale.com>
There was a problem hiding this comment.
🟡 Changes recommended
The events/stream path drops --metadata from stream requests, so it must be forwarded to both the initial subscription and reconnect attempts.
1 open issue
What changed in this PR
This milestone merge brings v2/main into main for Inspector 2.17.0, carrying the release’s shared-core and client changes without merge-branch-specific implementation commits.
Changes:
- Adds Events extension support across shared state, client commands, UI components, fixtures, and tests.
- Includes OAuth and destination-guard fixes, catalog precedence corrections, empty-skill verification handling, and UI improvements.
- Updates runtime dependencies, release tooling, and development guidance.
| File | Description |
|---|---|
| test-servers/src/resolve-config.ts | Forwards Events configuration. |
| test-servers/src/load-config.ts | Defines Events fixture options. |
| test-servers/src/index.ts | Exports Events fixture helpers. |
| test-servers/configs/events-modern-http.json | Adds a modern Events fixture. |
| test-servers/configs/events-legacy-http.json | Adds a legacy compatibility fixture. |
| skills/mcpdo/SKILL.md | Documents Events commands and stream handling. |
| scripts/release-notes.test.mjs | Updates release-ledger wording assertions. |
| scripts/release-notes.mjs | Renames the generated ledger label. |
| scripts/lib/prod-web-server.test.mjs | Tests temporary catalog seeding. |
| scripts/lib/prod-web-server.mjs | Supports preconfigured smoke-test catalogs. |
| README.md | Highlights the test-server configuration reference. |
| package.json | Bumps the release, dependencies, and smoke coverage. |
| docs/environment-variables.md | Clarifies catalog environment-variable precedence. |
| docs/cli-smoke-testing.md | Documents empty-skill verification exit code. |
| core/react/useEventSubscriptions.ts | Adds subscription and event-log hooks. |
| core/mcp/subscriptionAck.ts | Recognizes Events list-change acknowledgements. |
| core/mcp/state/managedToolsState.ts | Uses the generalized capability gate. |
| core/mcp/state/managedResourceTemplatesState.ts | Uses the generalized capability gate. |
| core/mcp/state/managedResourcesState.ts | Uses the generalized capability gate. |
| core/mcp/state/managedPromptsState.ts | Uses the generalized capability gate. |
| core/mcp/state/managedListState.ts | Supports predicate-based list availability. |
| core/mcp/state/managedEventsState.ts | Adds managed event-type listing. |
| core/mcp/state/index.ts | Exports Events stores and types. |
| core/mcp/serverList.ts | Persists the issuer-validation opt-out. |
| core/mcp/remote/streamRequests.ts | Classifies unbounded streams and cancellations. |
| core/mcp/remote/node/remote-session.ts | Releases waits for cancelled requests. |
| core/mcp/node/index.ts | Exports catalog-path resolution. |
| core/mcp/node/config.ts | Centralizes catalog-path precedence. |
| core/mcp/inspectorClientEventTarget.ts | Defines Events notifications and exclusions. |
| core/mcp/fetchTracking.ts | Redacts webhook signing secrets. |
| core/mcp/extensions.ts | Advertises Events client support. |
| core/json/xMcpHeader.ts | Exports header-value encoding. |
| core/extension/events/support.ts | Gates Events by protocol era and advertisement. |
| core/extension/events/canonicalJson.ts | Builds stable subscription identity keys. |
| core/client/runner.ts | Forwards the issuer-validation opt-out. |
| core/cli/handlers/skills-verify.ts | Rejects empty verification and maps error codes. |
| core/cli/handlers/run-method.ts | Dispatches Events list, poll, and stream commands. |
| core/cli/handlers/method-types.ts | Adds Events arguments and stream completion. |
| core/cli/exit-codes.ts | Defines the empty-skill catalog exit code. |
| core/auth/discovery.ts | Supports explicit issuer-validation bypass. |
| core/auth/cimd.ts | Applies the bypass during registration discovery. |
| clients/web/src/utils/mcpNetworkHeaders.ts | Names Events-related protocol errors. |
| clients/web/src/utils/mcpNetworkHeaders.test.ts | Tests Events error classification. |
| clients/web/src/utils/inspectorTabs.ts | Registers the Events tab. |
| clients/web/src/utils/inspectorTabs.test.ts | Updates tab registration assertions. |
| clients/web/src/utils/errorFormat.ts | Includes protocol error names in details. |
| clients/web/src/utils/errorFormat.test.ts | Tests named error formatting. |
| clients/web/src/test/integration/server/run-web.test.ts | Tests config precedence over the environment. |
| clients/web/src/test/integration/mcp/node/transport.test.ts | Tests issuer-validation option forwarding. |
| clients/web/src/test/integration/auth/discovery.test.ts | Tests explicit discovery opt-out behavior. |
| clients/web/src/test/core/react/usePagedEvents.test.tsx | Tests paginated Events hooks. |
| clients/web/src/test/core/react/useManagedEvents.test.tsx | Tests managed Events hooks. |
| clients/web/src/test/core/react/useEventSubscriptions.test.tsx | Tests subscription and log reactivity. |
| clients/web/src/test/core/mcp/subscriptionAck.test.ts | Tests Events acknowledgement parsing. |
| clients/web/src/test/core/mcp/serverList.test.ts | Tests issuer-validation setting persistence. |
| clients/web/src/test/core/mcp/remote/streamRequests.test.ts | Tests stream and cancellation classification. |
| clients/web/src/test/core/mcp/remote/remoteClientTransport.test.ts | Tests unbounded waits and cancellation cleanup. |
| clients/web/src/test/core/mcp/oauthManager.test.ts | Tests OAuth issuer-validation forwarding. |
| clients/web/src/test/core/mcp/node/config.test.ts | Tests catalog-path resolution. |
| clients/web/src/test/core/mcp/fetchTracking.test.ts | Tests webhook-secret redaction. |
| clients/web/src/test/core/extension/events/support.test.ts | Tests Events availability gates. |
| clients/web/src/test/core/extension/events/payloadValidation.test.ts | Tests event payload validation and caching. |
| clients/web/src/test/core/extension/events/constants.test.ts | Tests Events method and error constants. |
| clients/web/src/test/core/extension/events/canonicalJson.test.ts | Tests canonical subscription keys. |
| clients/web/src/test/core/client/runner.test.ts | Tests runner OAuth option forwarding. |
| clients/web/src/test/core/auth/cimd.test.ts | Tests mismatched-issuer registration behavior. |
| clients/web/src/lib/oauthResume.ts | Includes Events UI in OAuth snapshots. |
| clients/web/src/hooks/useTabUiState.ts | Owns and resets Events UI state. |
| clients/web/src/components/views/InspectorView/types.ts | Defines Events panel data and actions. |
| clients/web/src/components/screens/screenUiState.ts | Registers default Events UI state. |
| clients/web/src/components/screens/EventsScreen/EventsScreen.stories.tsx | Adds Events screen scenarios. |
| clients/web/src/components/groups/StructuredOutputPanel/StructuredOutputPanel.stories.tsx | Checks expansion for resize-observer errors. |
| clients/web/src/components/groups/ServerSettingsModal/ServerSettingsModal.tsx | Saves the issuer-validation opt-out. |
| clients/web/src/components/groups/ServerSettingsModal/ServerSettingsModal.test.tsx | Tests opt-out persistence and clearing. |
| clients/web/src/components/groups/ServerSettingsForm/ServerSettingsForm.tsx | Adds the opt-out control and warning. |
| clients/web/src/components/groups/SchemaForm/SchemaForm.tsx | Makes enum selectors searchable. |
| clients/web/src/components/groups/SchemaForm/SchemaForm.stories.tsx | Demonstrates searchable enum fields. |
| clients/web/src/components/groups/EventTypeListItem/EventTypeListItem.tsx | Displays event types and delivery modes. |
| clients/web/src/components/groups/EventTypeListItem/EventTypeListItem.test.tsx | Tests event-type rendering and selection. |
| clients/web/src/components/groups/EventTypeListItem/EventTypeListItem.stories.tsx | Adds event-type row scenarios. |
| clients/web/src/components/groups/EventSubscriptionCard/EventSubscriptionCard.stories.tsx | Shows subscription and webhook states. |
| clients/web/src/components/groups/EventLogPanel/EventLogPanel.stories.tsx | Shows event-log entry and filtering states. |
| clients/web/src/components/elements/WebhookSecretField/WebhookSecretField.tsx | Provides masked secret copying and regeneration. |
| clients/web/src/components/elements/WebhookSecretField/WebhookSecretField.test.tsx | Tests masking and regeneration controls. |
| clients/web/src/components/elements/WebhookSecretField/WebhookSecretField.stories.tsx | Demonstrates webhook-secret controls. |
| clients/web/src/components/elements/McpErrorBadge/McpErrorBadge.tsx | Adds colors for Events error codes. |
| clients/web/src/components/elements/JsonEditor/JsonEditor.tsx | Defers Ace font-metric observation. |
| clients/web/src/components/elements/EventSubscriptionStatusBadge/EventSubscriptionStatusBadge.tsx | Displays subscription status badges. |
| clients/web/src/components/elements/EventSubscriptionStatusBadge/EventSubscriptionStatusBadge.test.tsx | Tests each subscription status. |
| clients/web/src/components/elements/EventSubscriptionStatusBadge/EventSubscriptionStatusBadge.stories.tsx | Demonstrates subscription status badges. |
| clients/web/src/components/elements/DeliveryModeBadge/DeliveryModeBadge.tsx | Displays known and unknown delivery modes. |
| clients/web/src/components/elements/DeliveryModeBadge/DeliveryModeBadge.test.tsx | Tests safe delivery-mode rendering. |
| clients/web/src/components/elements/DeliveryModeBadge/DeliveryModeBadge.stories.tsx | Demonstrates delivery-mode badges. |
| clients/web/src/App.test.tsx | Tests reconnect waiting for settings writes. |
| clients/web/server/run-web.ts | Applies shared catalog-path precedence. |
| clients/tui/tui.tsx | Applies shared catalog-path precedence. |
| clients/tui/tsdown.config.ts | Updates comments explaining external Ink safety. |
| clients/tui/src/utils/keybindings.ts | Documents Events keyboard controls. |
| clients/tui/src/components/tabsConfig.ts | Adds conditional Events tab visibility. |
| clients/tui/src/components/Tabs.tsx | Accepts Events counts and visibility. |
| clients/tui/package.json | Updates Ink dependencies and fixture builds. |
| clients/tui/__tests__/tui-entry-flags.test.ts | Tests catalog environment precedence. |
| clients/tui/__tests__/tabsConfig.test.ts | Tests Events tab visibility. |
| clients/tui/__tests__/setup.ts | Fixes terminal dimensions for tests. |
| clients/tui/__tests__/inkControlCharacters.test.tsx | Tests terminal control-character stripping. |
| clients/mcpdo/src/daemon/server.ts | Allows streams to signal completion. |
| clients/mcpdo/src/connection/format-connection.ts | Uses shared skill-verification error mapping. |
| clients/mcpdo/src/connection/dispatch.ts | Recognizes Events streaming commands. |
| clients/mcpdo/__tests__/mcp-coverage.test.ts | Tests config precedence across commands. |
| clients/mcpdo/__tests__/format-connection.test.ts | Tests empty-catalog error output. |
| clients/cli/src/handlers/consume-outcome.ts | Uses shared skill-verification error mapping. |
| clients/cli/src/clear-stored-auth-for-relogin.ts | Applies same-origin headers during revocation. |
| clients/cli/__tests__/skills-verify-cli.test.ts | Tests empty-catalog CLI output. |
| clients/cli/__tests__/servers-list.test.ts | Tests catalog and config precedence. |
| clients/cli/__tests__/run-method-skills.test.ts | Tests empty verification and error mapping. |
| .claude/skills/testing/SKILL.md | Adds Events smoke-test guidance. |
| .claude/skills/test-servers/SKILL.md | Documents Events fixtures and configuration updates. |
| .claude/skills/local-dev/SKILL.md | Updates Ink and React compatibility guidance. |
Review effort: Balanced
…scription makes (#3062) events/stream used --metadata only for the events/list lookup: eventsStreamOutcome took no metadata, and EventSubscriptionsState had nowhere to keep it, so the stream request and every reconnect went without it. EventSubscribeOptions now takes metadata; the engine keeps it on the entry (off the snapshot, like the webhook secret), carries it across a resume that omits it, and passes it on every poll, stream, reconnect, webhook subscribe/refresh and unsubscribe. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
…tion (#3062) Addresses review on #3063. After a contract-changing termination the engine re-lists the event types to decide whether to offer a resubscribe, and that listAllEvents call went without the subscription's metadata. The default re-list now sends it, and an injected relist receives it as its argument; the web and TUI hosts, which refresh a shared list, keep ignoring it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
…-stream-metadata fix(events): send --metadata on events/stream and every request a subscription makes
There was a problem hiding this comment.
🔵 Needs a closer look
Maintainer validation is required for the external production-smoke ledger, advisory release prerequisites, and merge-tree equivalence, none of which can be independently established from the supplied diffs and reported checks.
No open issues 🎉
1 resolved since last review
Review effort: Balanced
|
Copilot review loop closed after round 2. The round had 0 inline comments and no suppressed findings, and it marked round 1's finding (r4717147304, fixed in #3063) resolved. Its "needs a closer look" asks for maintainer validation of what a diff review can't establish: the release ledger (https://claude.ai/artifact/LmtgsyR3WGo8vMWxp6rA6T), the advisory prerequisites, and the merge tree matching |

Closes #3054
Milestone merge of
v2/mainintomainfor the v2.17.0 minor release. This is step 2 of thereleaseskill. Step 1 was #3046 / PR #3047.This is a pure merge
All three commits are merges of
v2/main, and the branch has no commits of its own. The later merges bring in #3058, a release-skill procedure change, and #3063, the fix for #3062, which Copilot's review here found. The merge commit's tree is byte-identical toorigin/v2/main.Verification
npm run local:gate: green (4m56s) onbc6490c4, fix(events): send --metadata on events/stream and every request a subscription makes #3063's head, whose tree is exactly this branch's. The first merge's gate was also green, in 5m12s.npm run pack:verify: OK, re-run on the final tree. The tarball has 44 files, no source maps, 6.63 MB unpacked. Installed into a clean consumer, its bin drives web (prod build, served dist, plus an MCP App through the shipped sandbox proxy), cli, tui and mcpdo end to end.For the release notes
--advisory "GHSA-v2gx-m79c-pvxj: …"torelease:notes. The v1 fix already shipped in 1.0.7.🤖 Generated with Claude Code