Repository navigation
Install
npm install @javierkaiser/opencode-indexingChanged
- Live search reads Kilo's current store, including LanceDB. Kilo defaults to
LanceDB now;indexing_searchused to look only at Qdrant, so a healthy Kilo
LanceDB answered as if Kilo had no index. Both stores are searched read-only,
the project'sindexing.vectorStoredecides which one is active, and a stale
index left behind by a store switch is not mixed into the results. - Kilo's project config is read with Kilo's own precedence. Workspace and
ancestorkilo.jsonc/kilo.json,.kilo/.kilocodedirectories,KILO_CONFIG,
KILO_CONFIG_DIRandKILO_CONFIG_CONTENTcan change the store, the LanceDB
directory, the Qdrant URL and the embedding profile used to read Kilo. The own
index keeps its own configuration and is not redirected by project scope. - A linked worktree is searched as baseline + delta, not just imported that
way. Delta hits win; a baseline hit is returned only when the file in this
checkout still hashes to the value Kilo indexed in the main checkout. The
lookup expands the limit when the hash filter removes too many hits, like
Kilo's overlay. indexing_importimports the same worktree pair as a build. It uses the
delta-first/baseline-skip plan, seeds the manifest so the next refresh does not
re-embed what it copied, and reports the precise provider/schema/profile
refusal instead of a generic incompatible-profile error.- Embedding models can be described without a code change.
indexing.json
gained amodelsmap (dimension,queryPrefix,maxInputTokens,
maxBatchItems,maxBatchTokens,scoreThreshold) and the settings commands
gaineddimension,queryprefix,maxinputtokensandmodelscorethreshold.
A custom entry that changes a mirrored Kilo model warns that its index may no
longer be importable.
Added
- Custom model metadata is editable from the Desktop settings page through
the native dimensions row, and the server's catalog now lists custom entries. - A weekly Kilo drift check.
npm run check:kilo-mirrorcompares the mirrored
model registry and constants against Kilo upstream; thekilo-driftworkflow
runs it on a schedule and opens or closes one issue. It is not part of normal
PR CI and never blocks on the network. - The README and bundled skill document live LanceDB search, project config,
worktree search, custom models and the drift monitor.
Dependencies
@lancedb/lancedb0.41.0 (still reads databases written by Kilo 0.26.2) and
OpenTUI 0.9.7.mini-semantic-searchstays on 0.1.0 because 0.2 bundles a
different 256d model, and OpenTUI pins Solid 1.x and web-tree-sitter 0.25.10.
Full history: https://github.com/Javierkaiser/opencode-indexing/blob/main/CHANGELOG.md