Skip to content

Changelog

caw is in 0.1.x alpha. The authoritative, per-release notes live on GitHub:

Releases on GitHub →

Install a specific version with:

pip install coding-agent-wrapper==0.1.6

Unreleased

  • Weekly usage limits are told apart from session ones. UsageLimit gains kind (session / weekly / unknown), timing_source (parsed / estimated) and resets_at (the provider's own reset instant, no buffer). Claude Code's You've hit your weekly limit · resets Sep 17, 11am (UTC) used to miss the date and fall through to the one-hour default, so auto-wait slept an hour, hit the same wall, and repeated for days. It is now timed from the date. See Auto-wait on usage limits.
  • Behaviour change with max_usage_wait / CAW_MAX_USAGE_WAIT set: a weekly limit that used to be silently slept through an hour at a time now raises UsageWaitTooLong, because its wait is finally reported honestly and exceeds the cap. The exception carries the UsageLimit, so a handler can branch on kind. Without a cap, nothing raises; the wait is just longer — and correct.
  • New provider hook ProviderSession.get_usage_limit(turn) -> UsageLimit | None; providers overriding only the integer detect_usage_limit keep working with kind="unknown".
  • Auto-wait progress ticks scale with the wait (every minute for hours, up to every quarter hour for days) instead of waking thousands of times through a multi-day wait.
  • Trajectories written before these fields load with kind="unknown", timing_source="estimated", resets_at=""; a clean turn's JSON is unchanged.

Recent highlights

  • Auto-provider mode — give caw a fallback order and it selects the first installed provider, transparently moving to the next on a first-send failure or rate limit.
  • Provider health checks — check_providers() and caw doctor report raw availability/credential signals, with an optional live probe.
  • Cross-process resuming — self-contained resume_handles that work with or without a data_dir.

Versioned documentation isn't published yet (deferred until 1.0); these docs track main.