Repository navigation
2.39.4
-
a552987: A Claude, Codex or OpenCode run that stops on a usage limit is now reported as a usage limit, with its reset time, even when the tool does not say so in its last output line (#3570). Before, such a run failed with "Claude command failed with exit code 1" and was never resumed.
-
Claude: on a failed exit, solve checks five sources, and any one of them is enough:
- the
resultevent or the last line; - the synthetic assistant
is_api_error_message; - the session transcript tail (
isApiErrorMessage); - the last
rate_limit_event(rejectedwithresetsAt); - the
ANTHROPIC_LOG=debug429 headers (anthropic-ratelimit-unified-status: rejectedwithanthropic-ratelimit-unified-reset).
An epoch reset gives the full date, for example
Oct 20, 2026, 11:00 AM(UTC). Arejectedevent withoutresetsAtstays the #1924 throttle. - the
-
Codex: on a non-zero exit that a signal did not cause, solve reads the last turn of the thread's rollout. A
token_count.rate_limitswindow at 100% withresets_at, or anerrorevent withusage_limit_exceeded, counts as a usage limit. A limit from an earlier turn does not. The Codex runner now also returnslimitTimezone. -
OpenCode: a usage limit inside any
{"type":"error"}record is found, not only one in the last stdout chunk. -
ANTHROPIC_LOG=debugdumps and base64 body lines are no longer used as the failure reason. -
In verbose mode, every source is logged with its verdict (
🔍 Usage-limit cross-check (issue #3570):). solve warns⚠️ Usage limit found only in: …when the tool's own output missed the limit.
Also brings the pins that the CI dependency-freshness gate reported as stale up to date:
jscpd5.4.2 (devDependency and its platform packages) and the@opentelemetry/api1.10.0 lockfile entry. -
Related Pull Request: #3571