Written by @iluxav from the project's code and releases, not by its maintainers. Last updated for v2.1.10 (2026-11-12), so it may lag behind newer releases.
Delete the local indexed knowledge base through an explicit purge operation.
Since v1.0.75
Good to know
Destructive without a separate confirmation field. Choose exactly one session, source, or project; session scope deletes events, source scope deletes indexed content.
On the eight MCP-server hosts, hooks allow native tools when Node is below 24.15.0 instead of redirecting to unavailable ctx tools; the runtime upgrade is still required.
Behavior changedAffects: Users whose MCP server and hooks run under an old Node version.
Use the agent's native 2.x installation path instead of the 1.0.x source-build updater; the main-branch build script now stops that old upgrade before writing.
Action requiredAffects: Users running the 1.0.x updater against the current main branch.
Update through the agent's own installer, restart it, run `/ctx-upgrade`, then `/ctx-doctor`. Remove an old global npm install only after its hooks have been replaced.
Action requiredAffects: Users migrating an existing 1.x installation.
2.0 starts a new per-project `context.db`; 1.x data is not imported. `ctx_resume` restores a bounded state block and retrieves individual journal rows.
Behavior changedAffects: Users expecting 1.x indexes and session data to carry over.
Replace `ctx_execute_file` with `ctx_execute` using `file`; code reads that path through `CTX_FILE`. Replace old timeout arguments with `timeoutMs` (maximum 600000).
Action requiredInferredAffects: Callers using the 1.x file-execution tool or timeout field.
Replace `ctx_batch_execute` with `ctx_batch`; pass `commands` as strings and `queries` as strings. Remove `query_scope` and `concurrency`; commands run sequentially.
Action requiredInferredAffects: Scripts and saved calls using the 1.x batch tool.
Replace `ctx_fetch_and_index` with `ctx_index` using a single `url`; remove `cacheTtlMs` and concurrency options. Private and special address ranges and redirect hops are checked.
Action requiredInferredAffects: Callers using the old fetch tool or fetching private addresses.
Use `scope: "session"`, `"worktree"` (default), or `"project"` instead of the 1.x `project` selector. The strict schema rejects old fields; `offset` pages relevance results.
Replace `confirm`, `sessionId`, and `scope` with exactly one of `session`, `source`, or `project: true`. There is no `confirm` field; a session purge deletes journal events.
Action requiredInferredAffects: Any caller using the 1.x purge schema.
Use `ctx_index` with `path` for a directory; remove old traversal options such as `maxDepth` and `maxFiles`. Traversal follows gitignore rules and stays within the project.
Action requiredInferredAffects: Callers using 1.x directory indexing options.
Replace the old `CONTEXT_MODE_DIR` setting with `CONTEXT_MODE_DATA_DIR` on 2.1.4 or later; it changes the data root for stores, backups, logs and doctor.
Action requiredInferredAffects: Users relocating 1.x data with CONTEXT_MODE_DIR.
Replace HTTP daemon connections with the supported agent installation and local MCP transport. Setup no longer writes routing templates into project instruction files.
Action requiredAffects: Users of 1.x HTTP daemon mode or generated project routing templates.
The dedicated `csharp` to `dotnet-script` runtime mapping is gone. Invoke an installed C# runner explicitly through `language: "shell"` instead of relying on that mapping.
Action requiredInferredAffects: Users relying on the 1.x csharp runtime alias.
Large output is indexed and replaced with relevant chunks on supported hosts; `CTX_REPLACE_TRIGGER_BYTES` changes the default 4096-byte threshold. `policy.json` WebFetch exceptions now take effect.
For `ctx_execute_file` paths outside the project, add a matching `permissions.allow` `Read(...)` rule or move the file inside the project; escaping symlinks are checked too.
Action requiredAffects: Workflows processing files outside the current project with ctx_execute_file.
Replace bare `{confirm: true}` with an explicit `scope: "project"` or a `sessionId`; the bare form still wipes the project and emits a deprecation warning.
Action requiredAffects: Callers using the old confirmation-only purge form.
Copy the platform routing file manually for clients that need one; project routing files are no longer auto-created. Zed uses `AGENTS.md`, Kiro `KIRO.md`, and Antigravity `GEMINI.md`.
Action requiredAffects: Users relying on automatic project routing-file creation, including Codex, Cursor, Zed, Kiro, and Antigravity.
Update MCP references to `ctx_execute`, `ctx_execute_file`, `ctx_batch_execute`, `ctx_index`, `ctx_search`, and `ctx_fetch_and_index`; use `ctx-stats`, `ctx-doctor`, and `ctx-upgrade` slash commands.
Action requiredInferredAffects: Configurations or workflows referring to the former unprefixed tools and slash commands.
Retrieve indexed output through pointers that match the tools available to your coding agent.
Details
Replacement responses preserve host result fields and supply usable retrieval pointers. Search and resume tolerate blank optional fields, while doctor distinguishes host and execution runtimes.
Also: OpenCode and Pi result fixes, Windows runtime lookup, migration safeguards and more accurate doctor checks.
Update to context-mode 2.1.10 using the agent's own updater; Node.js 24.15.0+ is required. Restart the agent to load updated hooks.
Now works: Route large tool outputs and subagent research thro…Now works: Process and search tool output through the OpenCode…Now works: Use Context Mode execution, search, and session hoo…Now works: Use Context Mode execution and search tools in Code…Now works: Index documents and retrieve relevant passages with…Now works: Recover task state and relevant session events afte…Now works: Process files and command output through Context Mo…Now works: Diagnose runtimes, hooks, and plugin registration,…Now works: Diagnose runtimes, hooks, and plugin registration,…Now works: Route output and retain session events in GitHub Co…Behavior changedAction required: Diagnose runtimes, hooks, and plugin registration,…
Recover local task state after compaction with an explicit resume tool.
Details
The 2.x tools use a new per-project database and explicit ctx_resume recovery. Tool names and argument schemas change, several integrations and CLI functions disappear, and follow-up releases repair routing, permissions and upgrades.
Also: ZCode support, revised search, corrected host hooks, and a breaking migration from 1.x.
Install through the supported agent's installer or npm context-mode; requires Node.js 24.15.0+ and Git for Windows for Windows shell tools. Restart the agent after updating.
Action requiredAction required: Diagnose runtimes, hooks, and plugin registration,…Behavior changed: Recover task state and relevant session events afte…Action required / inferred: Process files and command output in subprocesses an…Action required / inferred: Run several commands and search their results in on…Action required / inferred: Fetch web pages into a searchable index and retriev…Action required / inferred: Index documents and retrieve relevant passages with…Behavior changed: Index documents and retrieve relevant passages with…Action required / inferred: Delete the local indexed knowledge base through an…Action required / inferred: Index selected files from a directory for later con…Action required / inferred: Choose where Context Mode stores session and memory…Removed: Open the hosted Insight dashboard from Context Mode…Removed: See context savings in Claude Code’s terminal statu…Removed: Index files and search saved content directly from…Removed: Route large outputs and capture tool events in Curs…Removed: Use Context Mode tools and session hooks with JetBr…Removed: Use Context Mode tools and session hooks in Kimi Co…Removed: Use Context Mode routing and session capture with a…Removed: Use Context Mode tools and session tracking in Oh M…Removed: Process and search tool output from Antigravity CLI.Removed: Process and search tool output in Zed through MCP.Removed / inferred: Process and search tool output in the Antigravity I…Removed / inferred: Process and search coding tool output through KiloC…Removed / inferred: Fetch multiple URLs or run independent command batc…Action requiredAction required / inferred: Analyze files or run C# snippets outside the coding…Added: Process large tool output and recover session conte…Now works: Route large tool outputs and subagent research thro…Behavior changed: Route large tool outputs and subagent research thro…Now works: Apply configured command and file deny rules to Con…Now works: Use Context Mode execution and search tools in Kiro.Now works: Use Context Mode execution and search tools in Code…Now works: Use Context Mode tools and compaction recovery in V…Now works: Use Context Mode tools and session hooks in Gemini…Now works: Use Context Mode tools and session hooks in Qwen Co…Now works: Process and search tool output through the OpenCode…Now works: Recover task state and relevant session events afte…Now works / inferred: Process files and command output in subprocesses an…Behavior changed: Inspect how much tool output enters the conversatio…Now works: Diagnose runtimes, hooks, and plugin registration,…Action required: Process files and command output through Context Mo…
See live-conversation context savings with the reporting fixes present in branch-installed tools.
Details
The checked-in CLI and server now apply the savings fixes announced in v1.0.169: worktree-wide kept-out bytes, current-session retrieval costs, and one-decimal percentages. Retrieval returns from `ctx_search` and `ctx_fetch_and_index` are recorded for forwarding.
Also: Branch-installed retrieval tools now supply byte counts for Insight reporting.
Available in the default-branch checkout at d573d8e1a0db87da3d72bbd7b5cdc88569f4c734; requires Node.js 22.5+ or Bun. This describes checked-in bundles, not a new tagged or npm release.
Now works / inferred: Inspect how much tool output enters the conversatio…Now works / inferred: Open the hosted Insight dashboard from Context Mode…
See context savings for the whole live conversation, including spawned sessions.
Details
The savings view aggregates the main session, subagents, and sandbox sessions. Retrieval costs reach Insight, ratios retain one decimal place, and cumulative task usage is not priced as a single turn.
Install context-mode v1.0.169 or upgrade the client plugin; Node.js 22.5+ or Bun is required. Restart the client to load updated hooks.
Now works: Inspect how much tool output enters the conversatio…Now works: Open the hosted Insight dashboard from Context Mode…
v1.0.168 with v1.0.163, v1.0.164, v1.0.165, v1.0.166, v1.0.167
Use Context Mode with GitHub Copilot CLI.
Details
Copilot CLI and Antigravity CLI integrations join the client list. Insight moves to a hosted dashboard, file execution becomes project-boundary-aware, and per-turn cost capture replaces flat estimates where hosts expose usage.
Install context-mode v1.0.168 or upgrade the client plugin; Node.js 22.5+ or Bun is required. Restart the client to load updated hooks.
Added: Route output and retain session events in GitHub Co…Added: Process and search tool output from Antigravity CLI.Removed: Inspect tool usage, session activity, errors, and w…Added / inferred: Open the hosted Insight dashboard from Context Mode…Behavior changed / inferred: Open the hosted Insight dashboard from Context Mode…Action required: Process files and command output in subprocesses an…Now works: Use Context Mode execution, search, and session hoo…Now works: Process files and command output through Context Mo…Now works: Diagnose runtimes, hooks, and plugin registration,…Now works: Index documents and retrieve relevant passages with…Behavior changed: Recover task state and relevant session events afte…Improved: Open the hosted Insight dashboard from Context Mode…Now works: Use Context Mode execution and search tools in Code…Now works: Process and search tool output in Zed through MCP.
Index and search project content directly from your terminal.
Details
CLI index/search commands, Kimi support, shared-store project filtering, and preserved goals arrive. Claude Code routing is repaired, and execution responses show which code or commands ran.
Install context-mode v1.0.162 or upgrade the client plugin; Node.js 22.5+ or Bun is required. Restart the client to load updated hooks.
Added: Index files and search saved content directly from…Added: Use Context Mode tools and session hooks in Kimi Co…Improved: Index documents and retrieve relevant passages with…Improved: Run several commands and search their results in on…Improved: Recover task state and relevant session events afte…Now works: Route large tool outputs and subagent research thro…Behavior changed: Process files and command output in subprocesses an…Behavior changed: Inspect how much tool output enters the conversatio…Now works: Diagnose runtimes, hooks, and plugin registration,…Now works: Process and search tool output through the OpenCode…Now works: Use Context Mode execution and search tools in Code…Behavior changed: Inspect how much tool output enters the conversatio…
v1.0.151 with v1.0.147, v1.0.148, v1.0.149, v1.0.150
Index a directory of files for later searches.
Details
Directory traversal options extend ctx_index, fetches accept a per-call cache TTL, and CONTEXT_MODE_DIR sets a runtime storage root. OMP hooks and project-specific memory isolation are repaired.
Install context-mode v1.0.151 or upgrade the client plugin; Node.js 22.5+ or Bun is required. Restart the client to load updated hooks.
Added: Index selected files from a directory for later con…Improved: Choose where Context Mode stores session and memory…Improved: Fetch web pages into a searchable index and retriev…Now works: Use Context Mode tools and session tracking in Oh M…Now works: Recover task state and relevant session events afte…Now works: Run several commands and search their results in on…Now works: Inspect how much tool output enters the conversatio…Now works: Use Context Mode execution and search tools in Code…Now works: Use Context Mode tools and compaction recovery in V…Improved: Diagnose runtimes, hooks, and plugin registration,…
Keep Context Mode tools available after an idle pause in your coding session.
Details
The idle-shutdown policy is rolled back, Pi’s bridge timeout is removed for tool calls, and native OpenCode tool input is validated. Storage location overrides and literal source filtering are added or repaired.
Install context-mode v1.0.146 or upgrade the client plugin; Node.js 22.5+ or Bun is required. Restart the client to load updated hooks.
Behavior changed: Diagnose runtimes, hooks, and plugin registration,…Limit lifted: Use Context Mode execution, search, and session hoo…Behavior changed: Process and search tool output through the OpenCode…Action required: Process and search tool output through the OpenCode…Now works: Apply configured command and file deny rules to Con…Now works: Index documents and retrieve relevant passages with…Now works: Recover task state and relevant session events afte…Added: Choose where Context Mode stores session and memory…Behavior changed: Diagnose runtimes, hooks, and plugin registration,…Now works: Use Context Mode tools and compaction recovery in V…Now works: Process and search coding tool output through KiloC…
Delete one session’s saved data without wiping sibling sessions.
Details
Scoped purge, C# execution, OMP integration, and repaired permission checks ship in this group. Node.js 22.5 becomes the declared minimum; Linux installation under older Node is rejected.
Install context-mode v1.0.135 or upgrade the client plugin; Node.js 22.5+ or Bun is required. Restart the client to load updated hooks.
Improved: Delete the local indexed knowledge base through an…Action required: Delete the local indexed knowledge base through an…Added: Use Context Mode tools and session tracking in Oh M…Added: Analyze files or run C# snippets outside the coding…Action requiredNow works: Apply configured command and file deny rules to Con…Now works: Apply configured command and file deny rules to Con…Behavior changed: Route large tool outputs and subagent research thro…Now works: Use Context Mode execution, search, and session hoo…Action required: Diagnose runtimes, hooks, and plugin registration,…Now works: Use Context Mode execution and search tools in Code…Now works: Fetch web pages into a searchable index and retriev…Behavior changed: See context savings in Claude Code’s terminal statu…Now works: Keep session tracking separate across Git worktrees.Behavior changed: Diagnose runtimes, hooks, and plugin registration,…Limit lifted: Delete the local indexed knowledge base through an…
v1.0.111 with v1.0.104, v1.0.105, v1.0.106, v1.0.107, v1.0.108, v1.0.109, v1.0.110
Fetch several documentation pages concurrently in one request.
Details
Batch execution and URL fetching accept concurrency from 1 to 8, with serial operation remaining the default. OpenCode resume and routing work, and upgrade fixes preserve user hooks.
Install context-mode v1.0.111 from npm or upgrade the client plugin; restart the client to load updated hooks.
Added: Fetch multiple URLs or run independent command batc…Added: See context savings in Claude Code’s terminal statu…Limit lifted: Process files and command output in subprocesses an…Now works: Process and search tool output through the OpenCode…Now works: Use Context Mode routing and session capture with a…Behavior changed: Apply configured command and file deny rules to Con…Now works: Apply configured command and file deny rules to Con…Now works: Route large tool outputs and subagent research thro…Action required: Route large tool outputs and subagent research thro…Action required: Diagnose runtimes, hooks, and plugin registration,…Now works: Inspect how much tool output enters the conversatio…
Search prior session events and saved preferences in chronological order.
Details
ctx_search adds timeline mode spanning current content, recent sessions, and auto-memory. Qwen Code and JetBrains Copilot integrations arrive, while Insight gains session analytics.
Install context-mode v1.0.103 from npm or upgrade the client plugin; restart the client to load updated hooks.
Added: Search current content, prior session events, and s…Added: Use Context Mode tools and session hooks in Qwen Co…Added: Use Context Mode tools and session hooks with JetBr…Limit lifted: Use Context Mode execution and search tools in Code…Improved: Index documents and retrieve relevant passages with…Behavior changed: Recover task state and relevant session events afte…Behavior changed: Route large tool outputs and subagent research thro…Improved: Inspect tool usage, session activity, errors, and w…Now works: Route large tool outputs and subagent research thro…Now works: Diagnose runtimes, hooks, and plugin registration,…
Inspect your coding-session activity in a local analytics dashboard.
Details
ctx_insight launches a local dashboard. Routing falls back to native tools when MCP is unavailable; fixes address Linux crashes, Windows hook paths, concurrent indexing, and dashboard installation.
Install context-mode v1.0.89 from npm or upgrade the client plugin; restart the client to load updated hooks.
Added: Inspect tool usage, session activity, errors, and w…Now works: Inspect tool usage, session activity, errors, and w…Behavior changed: Route large tool outputs and subagent research thro…Now works: Process files and command output in subprocesses an…Now works: Process files and command output through Context Mo…Now works: Index documents and retrieve relevant passages with…Now works: Use Context Mode routing and session capture with a…Now works: Route large tool outputs and subagent research thro…
Delete locally indexed content when you no longer need it.
Details
ctx_purge exposes explicit local data deletion. Statistics add file-read savings, and Cursor stop handling and VS Code routing receive functional fixes.
Install context-mode v1.0.75 from npm or upgrade the client plugin; restart the client to load updated hooks.
Added: Delete the local indexed knowledge base through an…Improved / inferred: Inspect how much tool output enters the conversatio…Now works / inferred: Route large outputs and capture tool events in Curs…Now works / inferred: Use Context Mode tools and compaction recovery in V…Behavior changed / inferred: Diagnose runtimes, hooks, and plugin registration,…Behavior changed / inferred: Recover task state and relevant session events afte…
v1.0.60 with v1.0.54, v1.0.56, v1.0.57, v1.0.58, v1.0.59
Use Context Mode’s tools through KiloCode.
Details
KiloCode joins the supported clients. Large execution output is indexed for follow-up search, and content older than 14 days is cleaned up on startup.
Install context-mode v1.0.60 from npm or upgrade the client plugin; restart the client to load updated hooks.
Added: Process and search coding tool output through KiloC…Behavior changed / inferred: Process files and command output in subprocesses an…Behavior changed: Index documents and retrieve relevant passages with…Now works / inferred: Run several commands and search their results in on…Improved / inferred: Process and search tool output through the OpenCode…Now works / inferred: Use Context Mode routing and session capture with a…
Reuse indexed content across sessions instead of repeatedly fetching it.
Details
Persistent per-project indexing and fetch caching arrive alongside Pi and Zed support. Search gains code/prose filtering, while automatic creation of project routing files is disabled.
Install context-mode v1.0.53 from npm or upgrade the client plugin; restart the client to load updated hooks.
Added: Use Context Mode execution, search, and session hoo…Added: Process and search tool output in Zed through MCP.Improved: Use Context Mode execution and search tools in Kiro.Improved / inferred: Index documents and retrieve relevant passages with…Behavior changed / inferred: Fetch web pages into a searchable index and retriev…Action required: Route large tool outputs and subagent research thro…Behavior changed / inferred: Route large tool outputs and subagent research thro…
v1.0.25 with v1.0.17, v1.0.18, v1.0.19, v1.0.20, v1.0.21, v1.0.22, v1.0.23, v1.0.24
Use Context Mode’s output processing from Cursor.
Details
Cursor hooks and OpenClaw integration extend routing and session capture. Antigravity and Kiro gain MCP configurations; worktree sessions can be isolated.
Install context-mode v1.0.25 from npm or upgrade the client plugin; restart the client to load updated hooks.
Added: Route large outputs and capture tool events in Curs…Added: Use Context Mode routing and session capture with a…Added: Process and search tool output in the Antigravity I…Added: Use Context Mode execution and search tools in Kiro.Added / inferred: Keep session tracking separate across Git worktrees.Behavior changed / inferred: Process files and command output in subprocesses an…Now works / inferred: Recover task state and relevant session events afte…
Recover files, tasks, and decisions after a coding conversation is compacted.
Details
Session hooks capture task state for compaction recovery. MCP tools gain the ctx_ prefix; utility slash commands gain ctx- names; the license changes to Elastic License 2.0.
Install context-mode v1.0.15 from npm or upgrade the client plugin; restart the client to load updated hooks.
Added: Recover task state and relevant session events afte…Added: Use Context Mode tools and session hooks in Gemini…Added: Use Context Mode tools and compaction recovery in V…Added: Process and search tool output through the OpenCode…Added: Use Context Mode execution and search tools in Code…Added: Apply configured command and file deny rules to Con…Action required / inferredAction required / inferredImproved / inferred: Process files and command output in subprocesses an…
Find indexed passages even when search terms contain typos.
Details
Fuzzy search and stemming-aware snippets extend document retrieval. Windows execution support, Elixir execution, installation diagnostics, and in-place upgrades arrive across these tags.
Install context-mode v0.9.17 from npm or upgrade the client plugin; restart the client to load updated hooks.
Improved: Index documents and retrieve relevant passages with…Added / inferred: Process files and command output through Context Mo…Added: Diagnose runtimes, hooks, and plugin registration,…Improved / inferred: Process files and command output in subprocesses an…Behavior changed / inferred: Route large tool outputs and subagent research thro…
Analyze large files and command output without putting all of the raw data into your coding conversation.
Details
The initial tagged README documents subprocess execution, batched commands, searchable indexing, URL fetching, context statistics, and Claude Code plugin routing.
Available as the context-mode npm MCP server or Claude Code plugin; Node.js 18+ and the runtimes for selected languages are required.
Added: Process files and command output in subprocesses an…Added: Run several commands and search their results in on…Added: Index documents and retrieve relevant passages with…Added: Fetch web pages into a searchable index and retriev…Added: Inspect how much tool output enters the conversatio…Added: Route large tool outputs and subagent research thro…