Repository navigation
feat: add MCP reply history and safe input retries - #386
Merged
Merged
Conversation
Add bounded per-session reply history with opaque cursors, read through GET /sessions/:id/replies and the read_replies MCP tool. Add idempotency keys for terminal input, bound to the session's inputInstance: at most one write attempt per key, with receipts recorded before the write. Receipts are kept in two generations of 4,096; filling one retires its input instance, so a key from a discarded generation can only be rejected as stale_instance. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The server instructions and the guild_status description name https://agentguild.oddessentials.ai/agents/, which links the World and Builders pages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GET /sessions/:id/repliesand theread_repliesMCP tool. Reads never consume answers, andgapreports eviction or a reset.inputInstancegives at most one write attempt per key; the receipt is recorded before the write. Receipts are kept in two generations of 4,096: filling one retires its instance, so a key from a discarded generation is rejected asstale_instanceand never written again.send_inputtakesidempotency_key.guild_statusdescription point to https://agentguild.oddessentials.ai/agents/, which links the World and Builders agent pages. Claude Code shows it; Codex defers MCP descriptions until a tool is looked up.docs/api.mdanddocs/mcp.mddescribe the new contract.Checked locally:
npm testand every browser script in ci.yml.🤖 Generated with Claude Code