- Add SQLite as authoritative store alongside Qdrant (best-effort indexing) - Use goose for embedded SQL migrations - Schema matches flashcard format: id(INTEGER PK), note, repos, host, tags, user, context, created - Replace std log with zap structured logger - Split registerTools into registerStoreKnowledge + registerSearchKnowledge - Qdrant index uses SQLite rowid directly as point ID (no SHA256 hash) - Search enriches Qdrant results from SQLite by ID - Lowercase auth header before prefix check - Always handle json.MarshalIndent errors - NixOS: StateDirectory, sqlitePath to /var/lib/st-pierre/st-pierre.sqlite
11 lines
235 B
Bash
11 lines
235 B
Bash
QDRANT_URL=localhost
|
|
QDRANT_PORT=6334
|
|
# QDRANT_API_KEY=
|
|
# QDRANT_TLS=false
|
|
OPENAI_API_KEY=sk-...
|
|
# EMBEDDING_BASE_URL=https://api.openai.com
|
|
EMBEDDING_MODEL=text-embedding-3-small
|
|
MCP_TOKEN=change-me
|
|
PORT=8080
|
|
SQLITE_PATH=knowledge.db
|