Repository navigation
v1.4.1 — fix `budi · offline` against released daemons
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_VERSIONlowered from3back to1insrc/budiClient.tsto match what every released daemon actually advertises. The wire shape this extension depends on (?provider=a,b,crequests +contributing_providersresponses fromsiropkin/budi#650) lands correctly underapi_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 theredhealth-state branch inderiveHealthStateare 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 · offlinetobudi · $X 1d · $Y 7d · $Z 30d. - Follow-up worth filing separately: split the
redhealth state intounreachablevsversion-staleso the on-bar copy stops saying "offline" when the real story is a future version mismatch.