Files
teahub/mcp/tea_mcp
teahubxyzandClaude Fable 5.1 b5376e9dee MCP 2.3.0: tea_file_edit, exact-text replacements in one file (#12) (#13)
MCP 2.3.0: tea_file_edit, exact-text replacements in one file (#13)

Closes #12. A commit through the MCP needs the whole file in one call, and one model answer carries about 100 KB at most; tea_file_edit reads a file at the branch, applies exact-text replacements in order (each old text exactly once in the file as it stands), commits one update with the file's sha, and answers with the new size and sha256 to check against the caller's copy. 40 tests pass from a clean checkout on hb-5. Merged on the owner's say-so in the chat.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SKUMBXauq7XVN4BhTXjCSM
2026-10-16 23:21:50 +00:00
..