Resolves #9922
Neo-to-Chroma Vector Extraction Bridge
Following the Two-Pillar Hybrid RAG architecture rollout, access to SQLiteVectorManager was completely restricted. This created an amnesia fault line where episodic vectors (qwen3-8b) maintained in .neo-ai-data/neo-sqlite were orphaned from .neo-ai-data/chroma.
This PR introduces a standalone migration script: syncMemoryNeoToChroma.mjs.
- Connects to SQLite natively via
better-sqlite3 and sqlite-vec.
- Extracts
Float32Array buffers stored in neo_agent_memory_vec mapping 1:1 hardware buffer floats into Javascript arrays.
- Sub-batches 1000 items at a time and forcefully bridges data seamlessly to
ChromaManager avoiding completely memory overflow and redundant TextEmbeddingService calls.
Resolves #9922
Neo-to-Chroma Vector Extraction Bridge
Following the Two-Pillar Hybrid RAG architecture rollout, access to
SQLiteVectorManagerwas completely restricted. This created an amnesia fault line where episodic vectors (qwen3-8b) maintained in.neo-ai-data/neo-sqlitewere orphaned from.neo-ai-data/chroma.This PR introduces a standalone migration script:
syncMemoryNeoToChroma.mjs.better-sqlite3andsqlite-vec.Float32Arraybuffers stored inneo_agent_memory_vecmapping 1:1 hardware buffer floats into Javascript arrays.ChromaManageravoiding completely memory overflow and redundantTextEmbeddingServicecalls.