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.