Skip to content

v0.1.10 — Shared workspace indexes, update priority and coverage

Latest

Choose a tag to compare

@AnnaSuSu AnnaSuSu released this 12 Oct 02:42

Overlapping workspace roots previously built separate copies of the same code data, and a first-time build could delay updates to an existing index. Version 0.1.10 shares immutable source text and embedding vectors, gives existing-workspace updates priority, and makes file coverage inspectable.

  • Reuse indexed data across parent and child workspaces in either order. Each workspace retains its own file manifest, structural graph, and relative search paths; searches score only that workspace's units.
  • Coordinate shared-cache writers across processes to avoid duplicate embedding requests. Workspace manifests and temporary build pins protect data during reclamation, including while a first-time build yields to updates.
  • Prioritize updates to published indexes at both the global build limit and shared-cache writer lock. First-time builds finish their in-flight embedding requests before yielding, then resume from cached vectors.
  • Add optional path, limit, and cursor arguments to index_status. Inspect a file or directory for indexed, pending, excluded, deleted, or missing entries, with exclusion reasons and bounded pagination. Coverage checks perform no model requests and do not wake idle indexing.
  • Persist OCE_SHARED_INDEX_DIRECTORY for custom cache locations and tolerate Windows file-probe cleanup contention without leaking build capacity.

Upgrade:

npm install -g open-context-engine@0.1.10

Restart connected MCP clients after upgrading. Existing indexes remain on disk. The first synchronization builds canonical-path vectors once; subsequent overlapping workspaces reuse them. Shared pools are isolated by embedding provider, model, dimensions, and revision. Default data is stored in ~/.cache/opencontextengine/shared-index; custom state locations use .shared-index under their state parent unless OCE_SHARED_INDEX_DIRECTORY is configured.

Example index_status arguments:

{"directory_path":"/absolute/path/to/repository","path":"src/session.py"}

Use "path":"." to inspect the workspace and nextCursor for another page. Usage and configuration.

Validation: a clean checkout passed 76 Node tests and 110 Python tests on macOS (three platform-specific skips). Linux, macOS, and Windows CI passed for the release commit. The exact archive passed isolated installation, both CLI aliases, fresh Python setup and doctor, and real-model MCP checks for parent/child reuse, saved edits, coverage, pagination, environment-file exclusion, and restart restoration.

The verified npm archive and its SHA-256 checksum are attached.