Claude Context commit 6fc318b
Refresh code search after edits by triggering a sync without waiting for periodic polling.
Before you upgrade to commit 6fc318b
1 to fixAdd `-y` before `@zilliz/claude-context-mcp@latest` in the `npx` arguments, as shown in the corrected Cherry Studio setup.
The default reported server version comes from package metadata instead of the fixed `1.0.0`; `MCP_SERVER_VERSION` still overrides it.
What changed in commit 6fc318b
The MCP server watches `~/.context/.sync-trigger` with a two-second debounce; polling can be disabled or given a custom interval. Branch changes also honor request-specific indexing options, cancel active indexing before clearing its index, and remove overlapping search results.
Also: Control polling, index Solidity, use Gemini Embedding 2, and get corrected file selection, cancellation, and embedding failure reporting.
Build from commit 6fc318b4e3ce58e2898b00a9c3538ead9e24dee5 using pnpm >=10 and Node.js >=20, with Milvus or Zilliz Cloud and a supported embedding provider; these changes are beyond the supplied v0.1.11 tag.
New things you can do
Touch `~/.context/.sync-trigger` to request sync; configure `CLAUDE_CONTEXT_TRIGGER_WATCHER`, `CLAUDE_CONTEXT_BACKGROUND_SYNC`, and `CLAUDE_CONTEXT_SYNC_INTERVAL_MS`.
Include Solidity source files in code search without adding a custom extension.
Fixed and improved
Select `gemini-embedding-2` with `EMBEDDING_MODEL`; Ollama now accepts `EMBEDDING_DIMENSION` to bypass runtime dimension detection.
`clear_index` cancels and awaits indexing started by the same MCP process before dropping the collection. The `splitter=langchain` request option is honored instead of falling back to AST, and the chosen splitter persists for sync.
Request-specific `customExtensions` no longer leak to other codebases; extensions and ignore patterns persist for sync after restart. Indexing and sync now honor root-anchored directory exclusions and gitignore `!` negation patterns.
Read the evidence
- zilliztech/claude-context/blob/6fc318b4e3ce58e2898b00a9c3538ead9e24dee5/packages/core/src…
- zilliztech/claude-context/blob/6fc318b4e3ce58e2898b00a9c3538ead9e24dee5/packages/core/src…
- zilliztech/claude-context/blob/6fc318b4e3ce58e2898b00a9c3538ead9e24dee5/packages/mcp/src/…
- zilliztech/claude-context/blob/6fc318b4e3ce58e2898b00a9c3538ead9e24dee5/packages/mcp/src/…
Embedding API failures, mismatched batch counts, and empty vectors stop indexing and report a failed state instead of allowing a misleading completed index.
Seeded by @iluxav with Codex, from the release's public sources. Each change links to its evidence.