Release / / with v2.0.0, v2.0.1, v2.0.2, v2.1.0, v2.1.1, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6
Context Mode v2.1.7
Recover local task state after compaction with an explicit resume tool.
Share
Before you upgrade to v2.1.7
12 to fixUpdate 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.
Read the evidence
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.
Read the evidence
Replace `ctx_execute_file` with `ctx_execute` using `file`; code reads that path through `CTX_FILE`. Replace old timeout arguments with `timeoutMs` (maximum 600000).
Replace `ctx_batch_execute` with `ctx_batch`; pass `commands` as strings and `queries` as strings. Remove `query_scope` and `concurrency`; commands run sequentially.
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.
Use `scope: "session"`, `"worktree"` (default), or `"project"` instead of the 1.x `project` selector. The strict schema rejects old fields; `offset` pages relevance results.
Read the evidence
Search combines word and partial-word matches, corrects spelling from indexed words, and returns ranked JSON rows for JSON sources.
Read the evidence
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.
Read the evidence
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.
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.
Replace HTTP daemon connections with the supported agent installation and local MCP transport. Setup no longer writes routing templates into project instruction files.
Read the evidence
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.
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.
`ctx_stats` reports local session and all-time kept-out bytes, context-window share, largest outputs and the last seven days.
Read the evidence
Install Git for Windows and make Git available on PATH; shell tools use its Git Bash rather than a WSL launcher.
Read the evidence
What changed in v2.1.7
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.
New things you can do
ZCode joins the supported agents; 2.1.4 adds native plugin installation.
Fixed and improved
Replaced Read results preserve host fields and true line numbers; bounded reads, images, PDFs and agent configuration files pass through whole. Subagents without ctx tools can use WebFetch and curl.
Deny rules cover every shell language in `ctx_execute` and each `ctx_batch` command segment; OpenCode ctx tools now pass through the host's permission rules.
Kiro CLI 3.0 tool IDs, stdin prompts, recall output and `KIRO_HOME` resolution are handled.
Read the evidence
Setup records persistent plugin hook trust; Stop hooks return the expected empty reply, and MCP configuration carries `CODEX_HOME` for doctor.
The MCP server resolves the workspace from MCP roots instead of writing an unresolved `${workspaceFolder}` into user configuration.
Read the evidence
Native extension installs and `GEMINI_CLI_HOME` are recognized, and replacement replies handle Part lists.
Read the evidence
Qwen extension setup handles project scope and Windows hook commands.
Read the evidence
OpenCode 2 installs are recognized; doctor resolves the plugin's bundle and can check hooks in the Bun host. Background execution uses an actual Node runtime.
Post-compaction recall matches the current prompt instead of combining it with the first prompt.
Read the evidence
Execution finishes after the child exits even when descendants hold its output pipes; remaining output drains for a bounded time and the surviving process group is stopped.
Upgrade uses each agent's updater and keeps 1.x data aside. Homebrew Node links survive updates; custom Claude profiles are named correctly, and stale plugin copies can refresh without rollback.
Going away
`ctx_insight` and `context-mode insight` are removed. The README describes Gateway as a separate subscription service.
Read the evidence
The Context Mode statusline command is removed; use `ctx_stats` for local savings reports.
Read the evidence
The CLI `index` and `search` commands are removed; use `ctx_index` and `ctx_search` through the agent.
Read the evidence
Cursor support is not included in 2.0; the release directs users who need it to stay on 1.0.169.
Read the evidence
JetBrains Copilot support is not included in 2.0; stay on 1.0.169 to retain it.
Read the evidence
Kimi support is not included in 2.0; stay on 1.0.169 to retain it.
Read the evidence
OpenClaw support is not included in 2.0; stay on 1.0.169 to retain it.
Read the evidence
Oh My Pi support is not included in 2.0; stay on 1.0.169 to retain it.
Read the evidence
Antigravity CLI support is not included in 2.0; stay on 1.0.169 to retain it.
Read the evidence
Zed support is not included in 2.0; stay on 1.0.169 to retain it.
Read the evidence
The 2.0 supported-agent registry has no adapter for this integration. No replacement is documented.
Read the evidence
The 2.0 supported-agent registry has no adapter for this integration. No replacement is documented.
Read the evidence
The tools no longer expose parallel fetch or batch concurrency: `ctx_index` takes one URL and `ctx_batch` runs commands sequentially.
Seeded by @iluxav with Codex, from the release's public sources. Each change links to its evidence.