Files
CheapestInference a81d376322 fix: robust foreground detection for macOS and multiple bug fixes
- Use `ps -o stat=` to check process foreground state directly,
  fixing macOS where tmux pane_current_command reports "zsh" instead
  of the child process. Falls back to pane_current_command safely.
- Fix print mode retry off-by-one (maxRetries=5 only gave 4 retries)
- Fix sendKeys failure leaving state unupdated (tight error loop)
- Validate customPatterns config entries (non-string/invalid regex crashed monitor)
- Parse "resets in: N hours" format (was detected but not time-parsed)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 13:11:33 +02:00

23 lines
613 B
JSON

{
"name": "claude-auto-retry",
"version": "0.2.2",
"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"]
}