Skip to content

Releases

v0.13.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 18:11

Install

npm install @javierkaiser/opencode-indexing

Changed

  • Live search reads Kilo's current store, including LanceDB. Kilo defaults to
    LanceDB now; indexing_search used 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's indexing.vectorStore decides 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
    ancestor kilo.jsonc/kilo.json, .kilo/.kilocode directories, KILO_CONFIG,
    KILO_CONFIG_DIR and KILO_CONFIG_CONTENT can 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_import imports 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 a models map (dimension, queryPrefix, maxInputTokens,
    maxBatchItems, maxBatchTokens, scoreThreshold) and the settings commands
    gained dimension, queryprefix, maxinputtokens and modelscorethreshold.
    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-mirror compares the mirrored
    model registry and constants against Kilo upstream; the kilo-drift workflow
    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/lancedb 0.41.0 (still reads databases written by Kilo 0.26.2) and
    OpenTUI 0.9.7. mini-semantic-search stays 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

Choose a tag to compare

@github-actions github-actions released this 24 Nov 16:25

Install

npm install @javierkaiser/opencode-indexing

Changed

  • 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 bare compatible: false to 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,
    the XDG_STATE_HOME and Windows equivalents, and the opencode-named
    directory older builds used; KILO_INDEX_KILO_LANCEDB_DIR still 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's semantic_search from
    indexing_search. The bundled skill carries the same distinction, and a
    catalog test pins kilo, bedrock and vercel-ai-gateway as deliberately
    unsupported.

Full history: https://github.com/Javierkaiser/opencode-indexing/blob/main/CHANGELOG.md

v0.11.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 14:30

Install

npm install @javierkaiser/opencode-indexing

Changed

  • 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 parallel stat
    pass.

Added

  • npm run perf measures 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

Choose a tag to compare

@github-actions github-actions released this 24 Nov 12:21

Install

npm install @javierkaiser/opencode-indexing

Changed

  • The dev toolchain moves to OpenCode 2.4.1. @opencode/plugin and
    @opencode/theme are pinned to exactly 2.4.1 in devDependencies, and
    @opentui/core and @opentui/solid to exactly 0.9.4. The OpenTUI pin is not
    cosmetic: @opencode/theme 2.4.1 pins its @opentui/core peer 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.7 and solid-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/core peer, and the README documents that
    @latest plugins update themselves since 2.4.0.

Full history: https://github.com/Javierkaiser/opencode-indexing/blob/main/CHANGELOG.md

v0.10.2

Choose a tag to compare

@github-actions github-actions released this 10 Nov 15:11

Install

npm install @javierkaiser/opencode-indexing

Fixed

  • 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

Choose a tag to compare

@github-actions github-actions released this 10 Nov 15:05

Install

npm install @javierkaiser/opencode-indexing

Changed

  • Re-running --aio no 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 — a plugins entry in opencode.json, the
    copy at <config>/opencode/plugins/opencode-indexing, the package in
    opencode plugin list — or indexing.json already 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 remove indexing.json and run --aio
    again.

Full history: https://github.com/Javierkaiser/opencode-indexing/blob/main/CHANGELOG.md

v0.10.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 14:31

Install

npm install @javierkaiser/opencode-indexing

Added

  • --aio / --all-in-one is the install for a machine that never ran Kilo.
    It implies --package and --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. dimension is written out because kilo.jsonc is
    consulted before the model registry, so a dimension left behind by Kilo would
    otherwise override the model's 256; autoRefresh: false because the installer
    does not build the index - that stays a decision the user makes from Settings,
    /indexing or indexing_build. The model is downloaded and validated at
    install time (~512 MB fp32, ~123 MB after quantization) by running the
    plugin's own settings.test for lancedb and provider, which also confirms
    the 256 dimensions; --no-restart skips that. Existing keys and credentials in
    indexing.json are 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. --aio cannot be combined with --local, and both
    wrappers forward it (-Aio in PowerShell).

Full history: https://github.com/Javierkaiser/opencode-indexing/blob/main/CHANGELOG.md

v0.9.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 13:42

Install

npm install @javierkaiser/opencode-indexing

Changed

  • 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 reads indexed,
    index stale, not indexed, paused, indexing…, reading…, no index
    or index 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 inside index.ts, registered with an
    opencode-indexing://skill/indexing path 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, and files ships it. The content also documents
    the path argument, that the limit comes from searchMaxResults, that
    search keeps working while indexing is paused, what searchKilo: false
    changes, and that .ps1 is outside the default extension allowlist.

Full history: https://github.com/Javierkaiser/opencode-indexing/blob/main/CHANGELOG.md

v0.8.0

Choose a tag to compare

@github-actions github-actions released this 10 Nov 12:39

Install

npm install @javierkaiser/opencode-indexing

Added

  • ownStoreReachable is part of the status.get output 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/plugin and
    @opencode/theme are pinned to exactly 2.2.7 in devDependencies, and the
    consumer peers are @opencode/plugin >=2.2.7 and solid-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/theme and @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, SettingsRow and Select replace 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: false is no longer reported as a missing Kilo index.
    indexing_status now says that Kilo search is disabled instead of reusing the
    "no Kilo index" text, indexing_search says only the own index was searched
    when it finds nothing, and the paused line in indexing_config says 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 writing searchKilo: 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/lancedb 0.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.import RPC no longer declares a rebuild input 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_build and indexing_import tools keep their own rebuild, which
    is honored.

Full history: https://github.com/Javierkaiser/opencode-indexing/blob/main/CHANGELOG.md

v0.7.3

Choose a tag to compare

@github-actions github-actions released this 03 Nov 12:50

Install

npm install @javierkaiser/opencode-indexing

Fixed

  • The Desktop settings page was missing the searchKilo switch 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