Vector search is optional but offered to boost retrieval quality when you want the agent to cite cached embeddings.
- Set
vector_search.enabledtotrueinconfig.json. - Run
npm run vector-baketo build the store (requires Python andllama-index). - The CLI automatically references
data/vector-store/inside prompts whenvector_search.enabledistrue.
npm run vector-bake– Bake docs + GitHub issues/reviews.npm run vector-bake -- --docs-only– Bake only documentation (skip GitHub content).npm run vector-bake -- --query "How do I ...?"– Query the store and print the top similarity hits.npm run vector-bake -- --clean– Removedata/vector-store/and rebuild from scratch (useful after large doc changes).
The script installs llama-index automatically if missing. Keep Python 3.9+ available (the CLI detects python3/python, then runs the embedded bake script).