Skip to content

History: MRTR conversation grouping + modern message vocabulary #1627

Closed

Description

@cliffhall

Stack: SDK V2 + New Spec — 4 of 10 (needs era model from card 3).

Teach the History view the new modern-era message vocabulary — most importantly, that one logical operation can span multiple JSON-RPC ids. This is probably the single most valuable new visualization in the whole stack.

Scope

  • MRTR conversation grouping: render resultType (complete | input_required), and group an MRTR conversation as one expandable unit: original call → inputRequests → user answers → retried request with a new id (linked by requestState) → final result. The request/response pairing logic must stop assuming one id per operation.
  • Drive MRTR manually (inputRequired: { autoFulfill: false } + withInputRequired()) so the Inspector keeps its pending-request UX and full visibility, rather than letting the SDK hide the retry loop. Existing usePendingClientRequests panels (sampling/elicitation/roots) are era-agnostic and survive; the semantics shown ("server sent a request" vs. "server returned input_required; answer goes back as a retry") must be accurate per era.
  • Render the new modern frames: server/discover, subscriptions/listen + notifications/subscriptions/acknowledged + subscriptionId tagging.
  • Transcript-classification caveat: the modern probe carries the _meta envelope before era is known — "saw an envelope" ≠ "modern negotiated" when labeling captured traffic.

Key files

clients/web/src/components/screens/HistoryScreen/*, groups/HistoryEntry/*, groups/historyUtils.ts, core/mcp/messageTrackingTransport.ts, pending-request panels under groups/.

Acceptance

  • An MRTR round-trip displays as one grouped, expandable conversation.
  • Modern notifications/discover frames render correctly and are labeled by era.
  • npm run ci green.

Ref: specification/v2_new_spec_impact.md §7.2–7.4, §8.3, §9.2, §9.5(4).

Activity

  1. self-assigned this
    on Jul 9, 2026
  2. added
    v2
    on Jul 9, 2026
  3. added a commit that references this issue on Jul 18, 2026
    73d9b18
  4. cliffhall commented on Jul 18, 2026

    @cliffhall
    MemberAuthor

    Completed in #1705 (squash-merged into v2/main). MRTR conversation grouping + modern message vocabulary shipped; live-verified end to end. Manual-MRTR-driving is tracked in follow-up #1704.

  5. added this to the v2.0.0 milestone on Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

v2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions