github mksglu/context-mode v1.0.44
1.0.44

latest releases: v1.0.46, v1.0.45
7 hours ago

Critical Fix: Bun bun:sqlite fallback (#163)

Bun's require("better-sqlite3") doesn't throw — it logs an error and returns undefined. The catch block in loadDatabase() never triggered, making the bun:sqlite fallback unreachable on Bun-powered platforms (OpenCode, Kilo Code).

Fix: Added explicit validation (typeof mod !== "function") after require(). When Bun returns undefined, the check now correctly triggers the fallback to bun:sqlite.

Thanks to @mikij for the detailed debugging in #163.

Don't miss a new context-mode release

NewReleases is sending notifications on new releases.