v2.15.0 — Cross-Platform Support
v2.15.0 — Cross-Platform Support (Windows, Linux, macOS)
Added
- Full Windows support — No longer requires WSL2. Native Windows runtime via Node.js 20+ with
better-sqlite3and nativehttpmodule - Runtime abstraction layers — SQLite (
bun:sqlite↔better-sqlite3) and HTTP server (Bun.serve↔ Node.jshttp.createServer) auto-detect your runtime - Test suite portability — All 173 tests run on both Bun and Node.js via Vitest
- Cross-platform build —
npm run buildworks on Windows, Linux, and macOS without shell dependencies
Changed
- README updated — Platform requirements section now lists Linux/macOS/Windows with Bun as primary and Node.js 20+ as fallback
- package.json engines field — Now allows both
bun >=1.0.0andnode >=20.0.0 - CI workflow — Tests run with both
bun testandnpm test(vitest) for dual-runtime verification - Development commands — Added
npm run build,npm test, andtest:bunscripts for cross-platform development
Fixed
- Security: Error exposure —
platform-server.tsno longer leaks internal error details to HTTP clients - Security: Multi-value headers — Node.js
IncomingHttpHeaderswith array values now correctly handled - Security: Missing Host header — HTTP/1.0 clients without
Hostheader now fallback correctly - Build script portability — Uses
require.resolve('typescript/bin/tsc')instead of platform-specific shim - Test isolation —
vi.resetModules()removed; mutable mock state ensures Bun test runner compatibility - Directory safety —
ai-session-manager.tsnow creates parent directory before opening database
Full Changelog: v2.14.5...v2.15.0
What's Changed
Other Changes
Full Changelog: v2.14.5...v2.15.0