Skip to content

feat(mcp): add paginated match history and replay - #54

Merged
nosam1998 merged 3 commits into
mainfrom
feat/mcp-history-replay
Oct 1, 2026
Merged

nosam1998 merged 3 commits into
mainfrom
feat/mcp-history-replay

Conversation

@nosam1998

Copy link
Copy Markdown
Member

Expose get_match_history and get_replay as compact paginated MCP tools. Replay output comes from the service's projected event stream, preserving action and reasoning visibility while omitting raw initial state and RNG seeds. History reflects the existing trusted local user's database.

Tests cover filtered page traversal, stable event cursors, hidden reasoning during active games, disclosure after a perfect-information match ends, spectator and seat-override behavior, invalid bounds, output schemas, and replay after reopening storage.

@nosam1998
nosam1998 marked this pull request as ready for review October 1, 2026 00:40
@nosam1998
nosam1998 merged commit ce5139f into main Oct 1, 2026
10 checks passed
@nosam1998
nosam1998 deleted the feat/mcp-history-replay branch October 2, 2026 06:07
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