Files
claude-auto-retry/package.json
T
CheapestInference 1aad1e0313 feat: claude-auto-retry v0.1.0
Auto-retry Claude Code sessions when hitting Anthropic subscription rate limits.
Uses tmux monitoring + send-keys to detect rate limit messages, wait for reset,
and send "continue" automatically. Zero dependencies, zero workflow change.

- Shell wrapper intercepts `claude` command transparently
- Background monitor polls tmux pane for rate limit patterns
- Timezone-aware reset time parsing with DST safety
- Safe send-keys with foreground process verification
- --print mode: buffers output, retries cleanly for pipes
- Config validation prevents bad values from causing crashes
- 59 tests, 0 dependencies

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 11:43:36 +01:00

23 lines
613 B
JSON

{
"name": "claude-auto-retry",
"version": "0.1.0",
"description": "Automatically retry Claude Code sessions when hitting Anthropic subscription rate limits",
"type": "module",
"bin": {
"claude-auto-retry": "./bin/cli.js"
},
"scripts": {
"test": "node --test test/*.test.js"
},
"license": "MIT",
"engines": {
"node": ">=18.0.0"
},
"keywords": ["claude", "claude-code", "rate-limit", "retry", "tmux", "anthropic"],
"repository": {
"type": "git",
"url": "https://github.com/cheapestinference/claude-auto-retry"
},
"files": ["bin/", "src/", "LICENSE", "README.md"]
}