Skip to content

v1.4.1 — fix `budi · offline` against released daemons

Choose a tag to compare

@siropkin siropkin released this 07 May 22:52
· 46 commits to main since this release
6bed608

1.4.1 — fix budi · offline against released daemons

Hotfix on top of 1.4.0 (siropkin/budi-cursor#40). The 1.4.0 release bumped MIN_API_VERSION to 3 based on a comment that incorrectly claimed lockstep with budi-core 8.4.0 / siropkin/budi#665. The daemon's API_VERSION constant (crates/budi-daemon/src/routes/hooks.rs) was never bumped past 1 — and siropkin/budi#665 is a Copilot Chat parser fix, unrelated to the wire version. Net effect: every released daemon (8.4.0, 8.4.1, …) failed the gate, so the status bar showed budi · offline even when the daemon was perfectly healthy.

Fixed

  • MIN_API_VERSION lowered from 3 back to 1 in src/budiClient.ts to match what every released daemon actually advertises. The wire shape this extension depends on (?provider=a,b,c requests + contributing_providers responses from siropkin/budi#650) lands correctly under api_version: 1, so the gate was effectively a permanent false-alarm. Comment block above the constant rewritten to remove the bogus #665 / "v3 Copilot Chat parser envelopes" claims.
  • The api-version warning toast (src/extension.ts) and the red health-state branch in deriveHealthState are unchanged — the tripwire is preserved for real wire breaks, just not pre-tripped.

Notes

  • After installing 1.4.1, reload the editor window. With a running 8.4.x daemon the status bar should flip from budi · offline to budi · $X 1d · $Y 7d · $Z 30d.
  • Follow-up worth filing separately: split the red health state into unreachable vs version-stale so the on-bar copy stops saying "offline" when the real story is a future version mismatch.