mirror of
https://github.com/obra/episodic-memory.git
synced 2026-09-14 13:43:14 +08:00
2566270ad8
Addresses GitHub issues #1 (Windows CLI execution failure) and #4 (sqlite-vec extension loading). Issue #4 - sqlite-vec extension loading: - Add --external:sqlite-vec to esbuild configuration - Prevents bundling sqlite-vec, preserving native module loading - Fixes "Loadable extension for sqlite-vec not found" error on macOS ARM64 and Linux Issue #1 - Windows CLI execution failure: - Create cross-platform Node.js CLI implementation (cli/episodic-memory.js) - Create Node.js version of index-conversations script - Add proper symlink resolution with realpathSync() - Remove shell dependency for improved security - Add comprehensive error handling and npx availability checks - Update package.json bin entries to use Node.js scripts - Remove unnecessary .cmd wrapper file Technical improvements: - All 71 tests pass - No regressions to existing functionality - Enhanced cross-platform compatibility - Better error messages and debugging info - Eliminated command injection vulnerabilities Both issues now fully resolved with Windows, macOS, and Linux support.