Skip to content

mcp(data[ts]) Record TypeScript's worked example at libtmux-ts master - #408

Open
tony wants to merge 2 commits into
mainfrom
mcp/refresh-ts-recording
Open

tony wants to merge 2 commits into
mainfrom
mcp/refresh-ts-recording

Conversation

@tony

@tony tony commented Dec 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Refresh the TypeScript MCP tools/list snapshot, tool rows, and worked-example recording from libtmux-ts master so recordingHolds() passes against current tool schemas and /en/ts/latest/mcp/ and /en/ts/latest/?product=mcp render the tmux preview beside the replay instead of falling back to requests only.
  • Refresh the mentions index after adding the new TypeScript MCP tools.
  • Assert in the replay CSS suite that wide viewports place .mcp-replay__chat on the left (order: -1) and .mcp-replay__tmux on the right (order: 0).

Test plan

  • node scripts/gen-mcp-protocol.mjs --port ts --check, node scripts/gen-mcp-tools.mjs --port ts --check, node scripts/gen-mcp-transcript.mjs --port ts --check, node scripts/check-mcp-source-links.mjs --port ts, node scripts/check-mcp-wraps.mjs --port ts, and node scripts/gen-mentions.mjs --check
  • mcp-showcase, mcp-replay, mcp-reference, docs-layout-columns, port-landing, port-landing-page, and mcp-transcript-corpus Vitest suites
  • pnpm run lint and pnpm run type-check
  • Full PR CI and preview build

tony added 2 commits December 6, 2026 09:36
why: TypeScript's MCP replay on libtmux.org drew as Requests only with no
tmux preview. libtmux-ts's own build regenerates the snapshot at master,
where tool schemas changed since 073b9d7d (strict argument rejection,
native pane coordinates, and daemon capabilities), so recordingHolds
failed sameContract and fell back to requests only.

what:
- gen-mcp-protocol.mjs --port ts from a clean libtmux-ts checkout at
  518739764 (50 tools, 1 resource)
- gen-mcp-tools.mjs --port ts and gen-mentions.mjs to match
- gen-mcp-transcript.mjs --port ts, replayed against that server on
  tmux 3.4 in the sandbox
- Hold the wide replay column order (.mcp-replay__chat on the left,
  .mcp-replay__tmux on the right) in site/test/mcp-replay.test.ts

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant