This release adds 3 notable features for engineering teams evaluating rollout.
✓ No known CVEs patched in this version
Summary
AI summary@recycler.cycle decorator enables round‑robin OAuth token rotation with configurable retries, cooldowns, and secret redaction.
Changes in this release
| Type | Severity | Summary | CVE |
|---|---|---|---|
| Feature | Medium |
`@recycler.cycle(retries=N)` decorator works for sync and async functions. `@recycler.cycle(retries=N)` decorator works for sync and async functions. Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Feature | Medium |
Provides round-robin OAuth token rotation with persistent failure state and configurable cooldowns. Provides round-robin OAuth token rotation with persistent failure state and configurable cooldowns. Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Feature | Medium |
`Secret` wrapper redacts tokens from logs and tracebacks. `Secret` wrapper redacts tokens from logs and tracebacks. Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Feature | Medium |
Includes verified exception helpers: `anthropic_exceptions()` and `claude_agent_sdk_exceptions()`. Includes verified exception helpers: `anthropic_exceptions()` and `claude_agent_sdk_exceptions()`. Source: llm_adapter@2026-05-21 Confidence: high |
— |
| Feature | Medium |
Clears both `ANTHROPIC_API_KEY` and `ANTHROPIC_AUTH_TOKEN` to respect Claude Code's authentication precedence. Clears both `ANTHROPIC_API_KEY` and `ANTHROPIC_AUTH_TOKEN` to respect Claude Code's authentication precedence. Source: llm_adapter@2026-05-21 Confidence: high |
— |
Full changelog
First release of tiny-claude-recycler — a tiny zero-dependency Python library that rotates a pool of Anthropic OAuth subscription tokens and falls back to a master API key when they're exhausted.
Highlights
@recycler.cycle(retries=N)decorator (sync + async)- Round-robin OAuth rotation with persistent failure state and configurable cooldowns
Secretwrapper that redacts tokens from logs / tracebacks- Verified exception helpers:
anthropic_exceptions(),claude_agent_sdk_exceptions() - Clears both
ANTHROPIC_API_KEYandANTHROPIC_AUTH_TOKENto honor Claude Code's auth precedence
Install
pip install tiny-claude-recycler
See the README for usage and production caveats.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
Track Save tokens from Claude subscriptions now allowed
Get notified when new releases ship.
Sign up freeAbout Save tokens from Claude subscriptions now allowed
All releases →Related context
Related tools
Beta — feedback welcome: [email protected]