Releases: asiagenawi/claude-powernap
Release list
v0.3.2 — garbage-budget guards
Hardens local estimation against leftover test/demo configs after a field incident where the hook warned "1085.7% of the 5-hour window" with negative minutes-to-limit.
- Config budgets under 100,000 weighted tokens are ignored as test/demo leftovers (diagnostic logged).
- Local estimates above 150% discard themselves with a diagnostic (block tokens, budget, budget source); 100-150% clamps to 100%.
- Minutes-to-limit projection floored at 0; the "~N minutes away" clause only renders when positive.
- Missing OAuth token now logs the fallback to local estimation (throttled hourly) instead of failing silently.
- New sandboxed CI regression test covering all of the above on unix and Windows.
Full details in CHANGELOG.md.
v0.3.1 — first-user polish
Plugin: /powernap:toggle on|off split into argument-free /powernap:on and /powernap:off; README gains plugin troubleshooting (restart to register commands; CLI install fallback). claude-powernap version now reports the real version from deployed copies, and the User-Agent derives from the same constant. See CHANGELOG.md.
v0.3.0 — PyPI, Claude Code plugin, audit hardening
First PyPI release: uvx claude-powernap setup or pipx install claude-powernap. Also installable as a Claude Code plugin (/plugin marketplace add asiagenawi/claude-powernap). Consolidates the platform installers into claude-powernap setup/remove, and lands 30+ fixes from a three-lens pre-release audit — rescue-ledger unification (never fork a session), fail-safe liveness checks, honest User-Agent, Keychain fast path, local-estimation dedup, uvx-stable interpreters, and documentation accuracy. Full details in CHANGELOG.md.
v0.2.0 — predictive warnings, guaranteed rescue, weekly guard
Burn-rate-based warnings (catches fast subagent burns), adaptive check cadence, pause-ledger rescue for naps whose alarm died, opt-in weekly-window guard, cross-platform state locking, account-switch detection. See CHANGELOG.md.
v0.1.0 — initial release
First release. Proactive 5-hour-limit pause-and-resume for Claude Code: warn at 90%, checkpoint, self-resume at reset, with a visible fallback resumer for hard limit hits. macOS / Linux / WSL, native Windows experimental. See CHANGELOG.md and README for details.