fix: use platform-aware local defaults

- Route app DB and sqlite-vec defaults through shared platform helpers
- Mirror platform DB defaults in the standalone MCP package
- Fix Windows setup npm spawning and remove macOS-only env defaults
This commit is contained in:
“BeeRad”
2026-04-27 14:46:10 +10:00
parent c9fb623e02
commit 1019a2b846
9 changed files with 41 additions and 52 deletions
+4 -3
View File
@@ -6,9 +6,10 @@
# Get one at: https://platform.openai.com/api-keys
OPENAI_API_KEY=
# Database path (defaults work for most users)
# SQLITE_DB_PATH=~/Library/Application Support/RA-H/db/rah.sqlite
SQLITE_VEC_EXTENSION_PATH=./vendor/sqlite-extensions/vec0.dylib
# Database/vector paths are auto-detected for macOS, Windows, and Linux.
# Override only if you intentionally want a custom location.
# SQLITE_DB_PATH=/absolute/path/to/rah.sqlite
# SQLITE_VEC_EXTENSION_PATH=/absolute/path/to/vec0.<dylib|dll|so>
# App config (no changes needed)
NODE_ENV=development