Skip to content

onWatch v2.13.3

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Jul 18:11

New Provider: OpenCode Go

onWatch now tracks OpenCode Go subscription quotas - the 15th provider.

  • Quota cards for 5-Hour, Weekly, and Monthly windows (Monthly appears when your dashboard exposes it), each with utilization, live reset countdown, and status badge
  • Full provider treatment: dedicated dashboard tab, time-series charts, cycle history, deep insights, menubar card, and settings UI
  • Resilient parsing - reads SolidJS SSR hydration data first, then falls back to the newer data-slot="usage-item" HTML layout, so a dashboard redesign degrades instead of breaking
  • Setup: set OPENCODE_GO_WORKSPACE_ID and OPENCODE_GO_AUTH_COOKIE. Full walkthrough in docs/OPENCODE_SETUP.md

Note: this is separate from OPENCODE_ENABLED, which only feeds ChatGPT credentials from OpenCode into the Codex provider. Both can be used at once.

Huge thanks to @hiyukoim for building this one end-to-end and for the thorough review follow-up.

Hardening included in the provider

  • Expired sessions now surface as a clear auth error instead of a confusing parse failure - redirects are no longer followed, so the session cookie never travels down a redirect chain
  • Reset-time drift from the coarse fallback parser no longer triggers false cycle resets on weekly/monthly quotas
  • Auth cookie values containing base64 padding (token==) are handled correctly

Fixes

  • Fixed a test race on the package-level encryption salt in the web crypto suite

Docs

  • README: OpenCode Go provider entry and OPENCODE_GO_* environment variable reference
  • Refreshed the internal provider inventory, which had drifted out of date

Upgrade: existing configs are unaffected - without OPENCODE_GO_* set, no OpenCode tab appears and every other provider behaves exactly as before.