Repository navigation
Releases
v0.13.0
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
v0.12.0
Install
npm install @javierkaiser/opencode-indexingChanged
- An import says why a Kilo source is incompatible. The profile comparison
still decides it, but the report now names the reason — a provider this plugin
has no adapter for (kilo,bedrock,vercel-ai-gateway), a
provider/model/dimension mismatch, or a metadata schema it does not read —
instead of leaving a barecompatible: falseto be interpreted. - Kilo's LanceDB is read from every candidate directory. Kilo 7.8.32
defaults to LanceDB under its state directory, so the import looks for
<basename>-<hash16>databases under~/.local/state/kilo/indexing/lancedb,
theXDG_STATE_HOMEand Windows equivalents, and theopencode-named
directory older builds used;KILO_INDEX_KILO_LANCEDB_DIRstill names the
base explicitly. A missing candidate is not an error, and an unreadable one
keeps its reason. - A linked worktree imports its baseline and its delta. Kilo keeps the main
worktree's database plus a delta for the linked one and merges them at search
time; the import reads both and says which side is missing when only one
exists, instead of reporting that there is no Kilo index. A workspace opened
in a subdirectory of the worktree is mirrored into the main checkout the way
Kilo mirrors it. Baseline files are re-hashed by the scan that follows, so a
local change Kilo had not indexed yet is not mistaken for the main checkout's
content.
Added
- The README documents Kilo's two source shapes, the importable providers and
the worktree model, and distinguishes Kilo'ssemantic_searchfrom
indexing_search. The bundled skill carries the same distinction, and a
catalog test pinskilo,bedrockandvercel-ai-gatewayas deliberately
unsupported.
Full history: https://github.com/Javierkaiser/opencode-indexing/blob/main/CHANGELOG.md
v0.11.0
Install
npm install @javierkaiser/opencode-indexingChanged
- Index runs overlap network work and stop rewriting the manifest per batch.
Embedding and upsert batches now run concurrently (three in flight for hosted
providers, one for the local model, overridable with
KILO_INDEX_EMBEDDING_CONCURRENCY), manifest saves are coalesced, and path
deletes are sent to the store in bounded batches. LanceDB reuses one
connection per database through a per-database queue, search caches its
metadata and auto-refresh checks, query embeddings run in parallel, and an
imported manifest seeds file size and mtime with a bounded parallelstat
pass.
Added
npm run perfmeasures indexing throughput on synthetic data. It indexes
generated TypeScript files with fake embeddings and an in-memory store, so it
reports batching and bookkeeping without a provider account or network calls.
Full history: https://github.com/Javierkaiser/opencode-indexing/blob/main/CHANGELOG.md
v0.10.3
Install
npm install @javierkaiser/opencode-indexingChanged
- The dev toolchain moves to OpenCode 2.4.1.
@opencode/pluginand
@opencode/themeare pinned to exactly 2.4.1 in devDependencies, and
@opentui/coreand@opentui/solidto exactly 0.9.4. The OpenTUI pin is not
cosmetic:@opencode/theme2.4.1 pins its@opentui/corepeer to exactly
0.9.4, so the caret this repository used before would resolve a newer OpenTUI
and leave npm reporting an invalid peer. The consumer peers do not change:
@opencode/plugin >=2.2.7andsolid-js >=1.9.0. The Desktop page still uses
the settings components added in 2.2.6, so the floor stays 2.2.7; the
devDependencies follow the current host (CLI 2.4.1) so the typecheck sees the
SDK it ships. - The tool wrapper no longer reads
context.signal. OpenCode 2.4.1 turned
it into a getter whose first read opts a call into cooperative stop; a tool
that never observes it would then be asked to finish instead of being
interrupted. None of this plugin's tools observes the signal, so leaving it
unread preserves the previous Stop behaviour. The dependency test now also
checks the theme's exact@opentui/corepeer, and the README documents that
@latestplugins update themselves since 2.4.0.
Full history: https://github.com/Javierkaiser/opencode-indexing/blob/main/CHANGELOG.md
v0.10.2
Install
npm install @javierkaiser/opencode-indexingFixed
- The re-run guard no longer tells an installed user to delete
indexing.json. With the plugin installed, the other half of the guard
would still skip, so that instruction went in circles. The message now points
at Settings → Indexing, and the README distinguishes an installed plugin from
a settings file without one: only the latter can be removed and re-run to
apply the profile.
Full history: https://github.com/Javierkaiser/opencode-indexing/blob/main/CHANGELOG.md
v0.10.1
Install
npm install @javierkaiser/opencode-indexingChanged
- Re-running
--aiono longer replaces an existing provider, model or store.
It re-applied the all-in-one profile and re-ran the model prefetch on every
run, so a machine already set up with another provider, model or vector store
was moved back to the local profile by a command that reads as an update. When
the plugin is already installed — apluginsentry inopencode.json, the
copy at<config>/opencode/plugins/opencode-indexing, the package in
opencode plugin list— orindexing.jsonalready exists, the installer now
reports what it found, leaves the file untouched, and skips the model
prefetch. The idempotent steps still run: plugin add/update, codegraph
registration, the permission rules and the service restart. To apply the
profile deliberately, back up and removeindexing.jsonand run--aio
again.
Full history: https://github.com/Javierkaiser/opencode-indexing/blob/main/CHANGELOG.md
v0.10.0
Install
npm install @javierkaiser/opencode-indexingAdded
--aio/--all-in-oneis the install for a machine that never ran Kilo.
It implies--packageand--with-codegraph, so one command installs the
published plugin and the codegraph companion, and then writes a local-only
profile to~/.config/opencode/indexing.json: embedded LanceDB, the
multilingual static model at 256 dimensions, no Kilo search, no import from
Kilo and no auto-refresh.dimensionis written out becausekilo.jsoncis
consulted before the model registry, so a dimension left behind by Kilo would
otherwise override the model's 256;autoRefresh: falsebecause the installer
does not build the index - that stays a decision the user makes from Settings,
/indexingorindexing_build. The model is downloaded and validated at
install time (~512 MB fp32, ~123 MB after quantization) by running the
plugin's ownsettings.testforlancedbandprovider, which also confirms
the 256 dimensions;--no-restartskips that. Existing keys and credentials in
indexing.jsonare preserved, a file that is not valid JSON is left untouched
with a warning, and a plugin option that sets one of the profile keys still
wins over the file.--aiocannot be combined with--local, and both
wrappers forward it (-Aioin PowerShell).
Full history: https://github.com/Javierkaiser/opencode-indexing/blob/main/CHANGELOG.md
v0.9.0
Install
npm install @javierkaiser/opencode-indexingChanged
- The Desktop composer pill shows the index state, not the point count.
"2.2k points" answered how big the index was, not whether it could be used,
and the number is one click away in Settings. The pill now readsindexed,
index stale,not indexed,paused,indexing…,reading…,no index
orindex error- the same vocabulary as the terminal footer and the chat
line, so the same state never reads differently in two places. - The bundled skill moved to
skills/opencode-indexing/SKILL.md. It used
to be a string insideindex.ts, registered with an
opencode-indexing://skill/indexingpath that is not a file: the host could
not give it a real base directory or list supporting files. The server
registers the real file now, andfilesships it. The content also documents
thepathargument, that the limit comes fromsearchMaxResults, that
search keeps working while indexing is paused, whatsearchKilo: false
changes, and that.ps1is outside the default extension allowlist.
Full history: https://github.com/Javierkaiser/opencode-indexing/blob/main/CHANGELOG.md
v0.8.0
Install
npm install @javierkaiser/opencode-indexingAdded
ownStoreReachableis part of thestatus.getoutput contract. The
server has computed it since the footer needed to tell an unreachable store
from an index that simply does not exist yet, and the TUI and the GUI already
read it, but the declared schema never listed it: it survived only because the
schema allows additional properties, so a consumer validating against the
definition could not see it. It is declared now.
Changed
- The dev toolchain moves to OpenCode 2.2.7.
@opencode/pluginand
@opencode/themeare pinned to exactly 2.2.7 in devDependencies, and the
consumer peers are@opencode/plugin >=2.2.7andsolid-js >=1.9.0, both
still optional. The floor comes from the Desktop page: it is built from the
settings components OpenCode 2.2.6 added, so an older host cannot render it.
The pins are exact because the SDK the typecheck sees has to be the one the
page's components come from. @opencode/themeand@opentui/*are no longer consumer peers. The TUI
is JSX-free and imports the host runtime through virtual module ids, so
OpenTUI is needed only to typecheck those declarations — a devDependency, not
something a consumer installs. The theme is provided by the host and pinned by
the SDK. Peers that the package never loads itself only ask users to resolve
dependencies it does not use.- The Desktop settings page is rebuilt on the host's own components.
SettingsLayout,SettingsSection,SettingsRowandSelectreplace the
hand-rolled layout that copied the host's measurements and coloured itself
from--v2-*. A copied number is a snapshot of one release and drifts
silently; the components cannot drift from the host they come from, so the
page follows its theme and layout by construction.
Fixed
searchKilo: falseis no longer reported as a missing Kilo index.
indexing_statusnow says that Kilo search is disabled instead of reusing the
"no Kilo index" text,indexing_searchsays only the own index was searched
when it finds nothing, and the paused line inindexing_configsays search
reads the own index only. The two states need different actions — a switch
versus a build — and the old wording sent readers to the wrong one. The "Set
up locally" preset also stopped writingsearchKilo: true, so it no longer
overrides a choice the user made.- The LanceDB install hint no longer names 0.26.2. The package has shipped
@lancedb/lancedb0.40.0 since 0.3.2, but the message shown when the module
is missing still told people to install 0.26.2 — a downgrade of the native
binary the code is written against. It names 0.40.0 now. - The
index.importRPC no longer declares arebuildinput that nothing
reads. The schema offered it and the handler ignored it, so a caller who
passed it believed the index had been dropped and rebuilt. It is gone. The
indexing_buildandindexing_importtools keep their ownrebuild, which
is honored.
Full history: https://github.com/Javierkaiser/opencode-indexing/blob/main/CHANGELOG.md
v0.7.3
Install
npm install @javierkaiser/opencode-indexingFixed
- The Desktop settings page was missing the
searchKiloswitch added in
0.7.2. The TUI page and the dialog editor had it; the GUI — which is where a
Desktop user looks — still offered only "Import from Kilo", so the setting was
unreachable from there.
Full history: https://github.com/Javierkaiser/opencode-indexing/blob/main/CHANGELOG.md