Skip to content

v2.2.2

Choose a tag to compare

@github-actions github-actions released this 21 Oct 19:34
· 189 commits to main since this release

What's fixed

  • Vault quota readings are no longer dropped. In vault mode with several OpenCode or Pi processes, the log could fill with Timed out acquiring claustrum-roster-write lock and Account usage publication unavailable, each one a quota reading that wasn't saved, so routing and the sidebar could show stale quota. A served response held the vault roster lock while it waited to save its own bookkeeping, and every other process gave up after 5 seconds. Responses now save under their own lock only and recheck the account just before writing, so an account that changed meanwhile is refused rather than overwritten. (#431)
  • OpenCode 2 keeps the last quota reading on exit. It now waits for pending quota readings to be saved before closing, as OpenCode 1 and Pi already did.

Under the hood

  • @cortexkit/common-auth 0.23.0: it retries shared vault quota writes instead of dropping them when another process holds the roster lock, and gives the sidebar its short quota labels (Fa).

To upgrade, quit OpenCode and run npx @cortexkit/opencode-anthropic-auth@2.2.2 setup, or change the version in your OpenCode config.