You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bun floor warning fires on Node (Pi) hosts: false "Bun version unknown" on every session #619
Observed (released 0.41.0, reproduced from the npm registry, not the checkout)
A naive Pi session on Node 22 (pi install npm:opencode-self-improvement, plain pi run) prints on every session:
[opencode-self-improvement] Bun version unknown is unrecognized (supported minimum 1.4.0); memory features may misbehave.
The session itself succeeds and memory is enabled — the warning is pure noise, and it is a false statement: there is no Bun on this host.
Cause
src/runtime/setup.ts calls bunFloorWarning(typeof Bun === "undefined" ? undefined : Bun.version). Inside the helper, undefined means "running on Bun with an unparseable version", so a Node host — the flagship path shipped by #612 — is reported as an unrecognized Bun.
Fix
Distinguish "not Bun" from "unknown Bun": pass null when typeof Bun === "undefined" and return null from the helper for it, with a test pinning the Node-host silence (current test/host/runtime.test.ts proves Bun strings only).
Activity
chore(release): 0.41.1 [skip ci]
abogartz-opencode-self-improvement commentedon Nov 30, 2026
🎉 This issue has been resolved in version 0.41.1 🎉
The release is available on:
Your semantic-release bot 📦🚀
fix(runtime): keep the Bun floor warning off hosts without Bun