context-mode 2.0.0-next.33 → 2.0.0-next.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@
9
9
  "name": "context-mode",
10
10
  "skills": "./claude-code/skills",
11
11
  "source": "./",
12
- "version": "2.0.0-next.33"
12
+ "version": "2.0.0-next.34"
13
13
  }
14
14
  ]
15
15
  }
@@ -13,5 +13,5 @@
13
13
  },
14
14
  "name": "context-mode",
15
15
  "skills": "./claude-code/skills",
16
- "version": "2.0.0-next.33"
16
+ "version": "2.0.0-next.34"
17
17
  }
@@ -8,5 +8,5 @@
8
8
  "mcpServers": "./.codex-plugin/mcp.json",
9
9
  "name": "context-mode",
10
10
  "skills": "./codex/skills/",
11
- "version": "2.0.0-next.33"
11
+ "version": "2.0.0-next.34"
12
12
  }
package/README.md CHANGED
@@ -2,15 +2,15 @@
2
2
 
3
3
  **A free, local plugin for 10 coding agents. It keeps tool output out of your agent's context window and keeps all usage data on your machine. The plugin is free forever.**
4
4
 
5
- [![npm downloads](https://img.shields.io/npm/dt/context-mode?label=npm%20downloads)](https://www.npmjs.com/package/context-mode) [![GitHub stars](https://img.shields.io/github/stars/mksglu/context-mode?style=flat&color=yellow)](https://github.com/mksglu/context-mode) [![Discord](https://img.shields.io/discord/1478479412700909750?label=Discord&logo=discord&color=5865f2)](https://discord.gg/DCN9jUgN5v) [![License: ELv2](https://img.shields.io/badge/License-ELv2-blue.svg)](https://github.com/mksglu/context-mode/blob/v2.0.0-next.33/LICENSE)
5
+ [![npm downloads](https://img.shields.io/npm/dt/context-mode?label=npm%20downloads)](https://www.npmjs.com/package/context-mode) [![GitHub stars](https://img.shields.io/github/stars/mksglu/context-mode?style=flat&color=yellow)](https://github.com/mksglu/context-mode) [![Discord](https://img.shields.io/discord/1478479412700909750?label=Discord&logo=discord&color=5865f2)](https://discord.gg/DCN9jUgN5v) [![License: ELv2](https://img.shields.io/badge/License-ELv2-blue.svg)](https://github.com/mksglu/context-mode/blob/v2.0.0-next.34/LICENSE)
6
6
 
7
- **33K GitHub stars · 683K npm downloads** (read 2026-11-01, [stats.json](https://github.com/mksglu/context-mode/blob/v2.0.0-next.33/stats.json)) · on the Hacker News front page and GitHub Trending: [charts and sources](#adoption-stars-and-npm-downloads)
7
+ **33K GitHub stars · 683K npm downloads** (read 2026-11-01, [stats.json](https://github.com/mksglu/context-mode/blob/v2.0.0-next.34/stats.json)) · on the Hacker News front page and GitHub Trending: [charts and sources](#adoption-stars-and-npm-downloads)
8
8
 
9
9
  > The Context Mode plugin is free and local, with its source open on GitHub. **Context Mode Gateway** is a separate hosted service with its own account and subscription. It takes the same idea from tool output to the whole conversation: Gateway Recall keeps long sessions searchable, and Gateway Memory shares what your agents learn across sessions and tools. [See how the Gateway works](https://contextmode.ai/docs/how-saving-works?utm_source=github&utm_medium=readme&utm_content=quote)
10
10
 
11
11
  <picture>
12
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/hero-dark.png">
13
- <img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/hero-light.png" alt="Context Mode plugin: free and local, zero telemetry, the plugin keeps your data on your machine. Bench of 2026-11-01: 99.4% of output bytes saved (median of 36 rows with 10 KB or more of raw output). A full debugging session (row g-session-total): 281,261 B raw to 3,266 B in context, about 70K to 817 tokens (an estimate at 4 B per token). Resume after compaction (row e-long-session): a 442,893 B transcript to a 2,019 B block, about 111K to 505 tokens (an estimate). Runs in 10 coding agents with 9 MCP tools.">
12
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/hero-dark.png">
13
+ <img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/hero-light.png" alt="Context Mode plugin: free and local, zero telemetry, the plugin keeps your data on your machine. Bench of 2026-11-01: 99.4% of output bytes saved (median of 36 rows with 10 KB or more of raw output). A full debugging session (row g-session-total): 281,261 B raw to 3,266 B in context, about 70K to 817 tokens (an estimate at 4 B per token). Resume after compaction (row e-long-session): a 442,893 B transcript to a 2,019 B block, about 111K to 505 tokens (an estimate). Runs in 10 coding agents with 9 MCP tools.">
14
14
  </picture>
15
15
 
16
16
  **Contents:** [Why](#why) · [Adoption](#adoption-stars-and-npm-downloads) · [Install](#install) · [Try it](#try-it) · [Use cases](#use-cases) · [Benchmarks](#benchmarks) · [How it works](#how-it-works) · [Tools](#tools) · [Security and privacy](#security-and-privacy) · [Context Mode Gateway](#context-mode-gateway) · [License](#license) · [Community](#community)
@@ -30,8 +30,8 @@ The Context Mode plugin runs that work in a local sandbox, keeps the full output
30
30
  ## Adoption: stars and npm downloads
31
31
 
32
32
  <table><tr>
33
- <td width="50%"><a href="https://contextmode.ai/open-source/stats?utm_source=github&utm_medium=readme&utm_content=adoption#stars"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/star-history-dark.png"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/star-history-light.png" alt="Line chart of cumulative GitHub stars for mksglu/context-mode since 2026-02-23. A daily job redraws it."></picture></a></td>
34
- <td width="50%"><a href="https://contextmode.ai/open-source/stats?utm_source=github&utm_medium=readme&utm_content=adoption#daily"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/npm-downloads-dark.png"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/npm-downloads-light.png" alt="Area chart of npm downloads per day for context-mode, the last 90 days. A daily job redraws it."></picture></a></td>
33
+ <td width="50%"><a href="https://contextmode.ai/open-source/stats?utm_source=github&utm_medium=readme&utm_content=adoption#stars"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/star-history-dark.png"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/star-history-light.png" alt="Line chart of cumulative GitHub stars for mksglu/context-mode since 2026-02-23. A daily job redraws it."></picture></a></td>
34
+ <td width="50%"><a href="https://contextmode.ai/open-source/stats?utm_source=github&utm_medium=readme&utm_content=adoption#daily"><picture><source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/npm-downloads-dark.png"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/npm-downloads-light.png" alt="Area chart of npm downloads per day for context-mode, the last 90 days. A daily job redraws it."></picture></a></td>
35
35
  </tr></table>
36
36
 
37
37
  Open the [interactive chart](https://contextmode.ai/open-source/stats?utm_source=github&utm_medium=readme&utm_content=adoption#daily) and point at a bar to read its value. Tabs there show days, weeks, months and years. Stars come from the GitHub GraphQL API (`starredAt`); npm downloads come from `api.npmjs.org/downloads/range`. The total up to 2026-10-29 is 683K npm downloads (`stats.json` keeps a daily copy). A daily job redraws both charts.
@@ -40,15 +40,15 @@ Open the [interactive chart](https://contextmode.ai/open-source/stats?utm_source
40
40
  - **GitHub Trending.** A bot that watches GitHub Trending logged the repo there on 14 days from 2026-04-24 to 2026-10-17 ([uibm/trending-watcher](https://github.com/uibm/trending-watcher/issues?q=%22mksglu%2Fcontext-mode%22)).
41
41
 
42
42
  <picture>
43
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/stargazers-dark.png">
44
- <img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/stargazers-light.png" alt="Companies that stargazers of mksglu/context-mode name in their GitHub profile, Microsoft, Tencent, Alibaba, ByteDance, Google and more.">
43
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/stargazers-dark.png">
44
+ <img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/stargazers-light.png" alt="Companies that stargazers of mksglu/context-mode name in their GitHub profile, Microsoft, Tencent, Alibaba, ByteDance, Google and more.">
45
45
  </picture>
46
46
 
47
- Starred by engineers at these companies: each name is the company field of 2 or more stargazer profiles, read with the GitHub GraphQL API on 2026-11-01 ([data](https://github.com/mksglu/context-mode/blob/v2.0.0-next.33/docs/assets/readme/data/stargazer-companies.json)).
47
+ Starred by engineers at these companies: each name is the company field of 2 or more stargazer profiles, read with the GitHub GraphQL API on 2026-11-01 ([data](https://github.com/mksglu/context-mode/blob/v2.0.0-next.34/docs/assets/readme/data/stargazer-companies.json)).
48
48
 
49
49
  ## Install
50
50
 
51
- The plugin needs Node 24.15.0 or later (the `engines` field in [package.json](https://github.com/mksglu/context-mode/blob/v2.0.0-next.33/package.json)). On Windows you also need Git for Windows: the shell tools run in Git Bash, and `context-mode doctor` checks that Git Bash is there.
51
+ The plugin needs Node 24.15.0 or later (the `engines` field in [package.json](https://github.com/mksglu/context-mode/blob/v2.0.0-next.34/package.json)). On Windows you also need Git for Windows: the shell tools run in Git Bash, and `context-mode doctor` checks that Git Bash is there.
52
52
 
53
53
  Open your agent and copy its own install command. Each block also has the update, check and remove steps. Step-by-step guide: [Install](https://contextmode.ai/docs/engine/install?utm_source=github&utm_medium=readme&utm_content=install).
54
54
  The npm commands use `@next`, the current 2.0 release tag; a plain `npm i -g context-mode` installs 1.x. Claude Code, Codex, Gemini CLI and Qwen Code install from GitHub, and each of their commands names the `release` branch.
@@ -164,7 +164,7 @@ CI runs setup, doctor, a hook and an MCP handshake for all 10 agents from the pa
164
164
 
165
165
  ## Try it
166
166
 
167
- Paste one of these prompts into your agent after the install. Each one ran once, live, in Claude Code 2.1.312, and its answer matched the source data ([evidence and rerun steps](https://github.com/mksglu/context-mode/blob/v2.0.0-next.33/bench/evidence/try-it-2026-11-02/README.md)). The headline numbers in [Benchmarks](#benchmarks) use the median of 5 runs. Other agents do the same job with the same tools: `ctx_execute`, `ctx_index` and `ctx_search`.
167
+ Paste one of these prompts into your agent after the install. Each one ran once, live, in Claude Code 2.1.312, and its answer matched the source data ([evidence and rerun steps](https://github.com/mksglu/context-mode/blob/v2.0.0-next.34/bench/evidence/try-it-2026-11-02/README.md)). The headline numbers in [Benchmarks](#benchmarks) use the median of 5 runs. Other agents do the same job with the same tools: `ctx_execute`, `ctx_index` and `ctx_search`.
168
168
  Then run `/ctx-stats` in your agent to see how much output stayed out of the context. Every agent gets this command with the plugin skills (`skills/ctx-stats`).
169
169
  ```text
170
170
  On https://react.dev/reference/react/useEffect, show me the example that connects to a chat server and cleans up, and list the rules for the dependency array.
@@ -210,7 +210,7 @@ Real tool output from public projects, run through Context Mode. Bench of 2026-1
210
210
  | Read a 60 KB source file | Read, sent to `ctx_execute` by the hook | 61,576 B | 374 B | 99.4% |
211
211
  | Debug for a full session: 8 outputs, 3 searches | All hooks and tools | 281,261 B | 3,266 B | 98.8% |
212
212
 
213
- Source: [bench/results/2026-11-01-darwin-arm64.json](https://github.com/mksglu/context-mode/blob/v2.0.0-next.33/bench/results/2026-11-01-darwin-arm64.json), one row per line; each input is named in `bench/fixtures/data/SOURCE.md`.
213
+ Source: [bench/results/2026-11-01-darwin-arm64.json](https://github.com/mksglu/context-mode/blob/v2.0.0-next.34/bench/results/2026-11-01-darwin-arm64.json), one row per line; each input is named in `bench/fixtures/data/SOURCE.md`.
214
214
 
215
215
  The agent gets the part it asks for. The full output stays in the local index, and `ctx_search` reads it back.
216
216
  The Context7 row has 6,917 B of raw output, under the 10 KB line of the headline rule, so the headline leaves it out.
@@ -218,8 +218,8 @@ The Context7 row has 6,917 B of raw output, under the 10 KB line of the headline
218
218
  ## Benchmarks
219
219
 
220
220
  <picture>
221
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/fig-saving-dark.png">
222
- <img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/fig-saving-light.png" alt="Bar chart: median output bytes saved per category for rows of 10 KB or more. Sandbox 99.5%, Batch 93.1%, Externalize 98.3%, Hook redirect 99.8%, Session total 98.8%. The table below adds Retrieval, 77.2%.">
221
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/fig-saving-dark.png">
222
+ <img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/fig-saving-light.png" alt="Bar chart: median output bytes saved per category for rows of 10 KB or more. Sandbox 99.5%, Batch 93.1%, Externalize 98.3%, Hook redirect 99.8%, Session total 98.8%. The table below adds Retrieval, 77.2%.">
223
223
  </picture>
224
224
 
225
225
  Rule for every headline number in this README: rows with 10 KB or more of raw output, median of 5 runs per row, measured with `ctx_bytes` against `raw_bytes`; a category is the median of its rows; 1 KB = 1,024 B.
@@ -240,8 +240,8 @@ Reproduce: `cd bench && node run.mjs`. Method, data files and rerun steps: [Benc
240
240
  ### Longer sessions
241
241
 
242
242
  <picture>
243
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/fig-oss-dark.png">
244
- <img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/fig-oss-light.png" alt="A session grows, the context stays small. The PreToolUse hook sends a tool call to ctx_execute or ctx_index; the full output goes into context.db and a small reply returns. At compaction a snapshot keeps the state, and ctx_resume and ctx_search read it back.">
243
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/fig-oss-dark.png">
244
+ <img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/fig-oss-light.png" alt="A session grows, the context stays small. The PreToolUse hook sends a tool call to ctx_execute or ctx_index; the full output goes into context.db and a small reply returns. At compaction a snapshot keeps the state, and ctx_resume and ctx_search read it back.">
245
245
  </picture>
246
246
 
247
247
  Say you debug a slow test all afternoon. The agent reads files, runs the suite and fetches docs, and each result goes into the context window. When the window is full, the host compacts it, and from then on the agent sees a short summary plus your next message.
@@ -266,8 +266,8 @@ Source: rows `g-hook-kiro` to `g-hook-claude-code`, `g-search-latency` and `g-in
266
266
  ## How it works
267
267
 
268
268
  <picture>
269
- <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/fig-flow-dark.png">
270
- <img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/fig-flow-light.png" alt="One tool call, step by step: the agent runs a tool, the PreToolUse hook denies a big Read and names the ctx_execute call, the MCP server runs it in the sandbox, SQLite FTS5 keeps the output, and after compaction a state block of at most 2,048 B comes back.">
269
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/fig-flow-dark.png">
270
+ <img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/fig-flow-light.png" alt="One tool call, step by step: the agent runs a tool, the PreToolUse hook denies a big Read and names the ctx_execute call, the MCP server runs it in the sandbox, SQLite FTS5 keeps the output, and after compaction a state block of at most 2,048 B comes back.">
271
271
  </picture>
272
272
 
273
273
  1. Your agent calls a tool: it reads a file, runs a command or fetches a page.
@@ -322,16 +322,16 @@ With the Gateway on, your requests pass through its server; the plugin keeps its
322
322
  | Context Mode plugin | On your machine | One project, local `context.db` | Free |
323
323
  | Context Mode Gateway | Hosted service | All sessions and agents | Subscription, separate from the plugin |
324
324
 
325
- <a href="https://github.com/mksglu/context-mode/blob/v2.0.0-next.33/docs/assets/readme/gateway/live.mp4"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/gateway/live.webp" width="100%" alt="Gateway Live screen during a session: money saved, bytes kept out per request, history kept and sent, and a feed of each request with its cost and saving"></a>
325
+ <a href="https://github.com/mksglu/context-mode/blob/v2.0.0-next.34/docs/assets/readme/gateway/live.mp4"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/gateway/live.webp" width="100%" alt="Gateway Live screen during a session: money saved, bytes kept out per request, history kept and sent, and a feed of each request with its cost and saving"></a>
326
326
 
327
327
  **Live.** One session as it runs: money saved this session, bytes kept out per request, history kept and sent, and a feed of each request with its cost and saving. Click the image for the full video.
328
328
 
329
329
  Docs: [How saving works](https://contextmode.ai/docs/how-saving-works?utm_source=github&utm_medium=readme&utm_content=live)
330
330
 
331
331
  <table>
332
- <tr><td width="50%"><a href="https://github.com/mksglu/context-mode/blob/v2.0.0-next.33/docs/assets/readme/gateway/overview.webp"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/gateway/overview-1200.webp" alt="Gateway Overview: money saved, AI spend, prompt-cache discount and cost per request over 30 days"></a><br><b>Overview.</b> Your spend and what the Gateway saved, per day, in one view.<br>Docs: <a href="https://contextmode.ai/docs/how-saving-works?utm_source=github&utm_medium=readme&utm_content=overview">How saving works</a></td><td width="50%"><a href="https://github.com/mksglu/context-mode/blob/v2.0.0-next.33/docs/assets/readme/gateway/analytics.webp"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/gateway/analytics-1200.webp" alt="Gateway Analytics: saved money over time, split by source"></a><br><b>Analytics.</b> Where each saving comes from: hidden tools, archived old results, large outputs kept in the archive and trimmed context.<br>Docs: <a href="https://contextmode.ai/docs/how-saving-works?utm_source=github&utm_medium=readme&utm_content=analytics">How saving works</a></td></tr>
333
- <tr><td width="50%"><a href="https://github.com/mksglu/context-mode/blob/v2.0.0-next.33/docs/assets/readme/gateway/spend.webp"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/gateway/spend-1200.webp" alt="Gateway Spend: spend per day by model, cost per request and cache hit rate"></a><br><b>Spend.</b> Spend per day and per model, cost per request and the cache hit rate, to help you plan a budget.<br>Docs: <a href="https://contextmode.ai/docs/prompt-caching?utm_source=github&utm_medium=readme&utm_content=spend">Prompt caching</a></td><td width="50%"><a href="https://github.com/mksglu/context-mode/blob/v2.0.0-next.33/docs/assets/readme/gateway/memory.webp"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/gateway/memory-top-1200.webp" alt="Gateway Memory: money saved by Recall and searches per day"></a><br><b>Memory.</b> Facts and decisions carry across sessions and agents. The screen shows what Recall saved and how many searches found an answer.<br>Docs: <a href="https://contextmode.ai/docs/memory?utm_source=github&utm_medium=readme&utm_content=memory">Memory</a></td></tr>
334
- <tr><td width="50%"><a href="https://github.com/mksglu/context-mode/blob/v2.0.0-next.33/docs/assets/readme/gateway/skills.webp"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/gateway/skills-1200.webp" alt="Gateway Skills: import from GitHub and the list of installed skills"></a><br><b>Skills.</b> Add a skill once and all your clients use it when it helps. Import skills from GitHub and see the installed ones.<br>Docs: <a href="https://contextmode.ai/docs/skills?utm_source=github&utm_medium=readme&utm_content=skills">Skills</a></td><td width="50%"><a href="https://github.com/mksglu/context-mode/blob/v2.0.0-next.33/docs/assets/readme/gateway/protect.webp"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.33/docs/assets/readme/gateway/protect-1200.webp" alt="Gateway Protect: a new command rule that blocks terraform destroy"></a><br><b>Protect.</b> Rules that check each shell command before it runs. Here, a rule that stops <code>terraform destroy</code>.<br>Docs: <a href="https://contextmode.ai/docs/protect?utm_source=github&utm_medium=readme&utm_content=protect">Protect</a></td></tr>
332
+ <tr><td width="50%"><a href="https://github.com/mksglu/context-mode/blob/v2.0.0-next.34/docs/assets/readme/gateway/overview.webp"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/gateway/overview-1200.webp" alt="Gateway Overview: money saved, AI spend, prompt-cache discount and cost per request over 30 days"></a><br><b>Overview.</b> Your spend and what the Gateway saved, per day, in one view.<br>Docs: <a href="https://contextmode.ai/docs/how-saving-works?utm_source=github&utm_medium=readme&utm_content=overview">How saving works</a></td><td width="50%"><a href="https://github.com/mksglu/context-mode/blob/v2.0.0-next.34/docs/assets/readme/gateway/analytics.webp"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/gateway/analytics-1200.webp" alt="Gateway Analytics: saved money over time, split by source"></a><br><b>Analytics.</b> Where each saving comes from: hidden tools, archived old results, large outputs kept in the archive and trimmed context.<br>Docs: <a href="https://contextmode.ai/docs/how-saving-works?utm_source=github&utm_medium=readme&utm_content=analytics">How saving works</a></td></tr>
333
+ <tr><td width="50%"><a href="https://github.com/mksglu/context-mode/blob/v2.0.0-next.34/docs/assets/readme/gateway/spend.webp"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/gateway/spend-1200.webp" alt="Gateway Spend: spend per day by model, cost per request and cache hit rate"></a><br><b>Spend.</b> Spend per day and per model, cost per request and the cache hit rate, to help you plan a budget.<br>Docs: <a href="https://contextmode.ai/docs/prompt-caching?utm_source=github&utm_medium=readme&utm_content=spend">Prompt caching</a></td><td width="50%"><a href="https://github.com/mksglu/context-mode/blob/v2.0.0-next.34/docs/assets/readme/gateway/memory.webp"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/gateway/memory-top-1200.webp" alt="Gateway Memory: money saved by Recall and searches per day"></a><br><b>Memory.</b> Facts and decisions carry across sessions and agents. The screen shows what Recall saved and how many searches found an answer.<br>Docs: <a href="https://contextmode.ai/docs/memory?utm_source=github&utm_medium=readme&utm_content=memory">Memory</a></td></tr>
334
+ <tr><td width="50%"><a href="https://github.com/mksglu/context-mode/blob/v2.0.0-next.34/docs/assets/readme/gateway/skills.webp"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/gateway/skills-1200.webp" alt="Gateway Skills: import from GitHub and the list of installed skills"></a><br><b>Skills.</b> Add a skill once and all your clients use it when it helps. Import skills from GitHub and see the installed ones.<br>Docs: <a href="https://contextmode.ai/docs/skills?utm_source=github&utm_medium=readme&utm_content=skills">Skills</a></td><td width="50%"><a href="https://github.com/mksglu/context-mode/blob/v2.0.0-next.34/docs/assets/readme/gateway/protect.webp"><img src="https://raw.githubusercontent.com/mksglu/context-mode/v2.0.0-next.34/docs/assets/readme/gateway/protect-1200.webp" alt="Gateway Protect: a new command rule that blocks terraform destroy"></a><br><b>Protect.</b> Rules that check each shell command before it runs. Here, a rule that stops <code>terraform destroy</code>.<br>Docs: <a href="https://contextmode.ai/docs/protect?utm_source=github&utm_medium=readme&utm_content=protect">Protect</a></td></tr>
335
335
  </table>
336
336
 
337
337
  Numbers in these screens come from the author's own account over 30 days (Oct 3 - Nov 1, 2026), so read them as one account's usage. Click an image for the full size.
package/SHA256SUMS CHANGED
@@ -1,10 +1,10 @@
1
- 470db82fe54b31fa1a37c2bf4f1ef16db47588e98c93247d477f1a289581d1f0 .claude-plugin/marketplace.json
2
- 1e4387ac0d34a9a4f82f32e4255a225a523b1ddd2274c91b16bda10df3965c00 .claude-plugin/plugin.json
1
+ fc1510dd8a82990cc44b8bba7c82c3bf28026845e58ec070109d49dbb89ee4ad .claude-plugin/marketplace.json
2
+ f1c9c67818e936eb45e5e539d32c66d7b3f140b482bea308d0ab57d1a481ef01 .claude-plugin/plugin.json
3
3
  187503e1455560d4ab5a72e3b8cd2f274abd4ccc5faa60dd66c37e44bb5f10c2 .codex-plugin/hooks.json
4
4
  4edea851775bc3f0418f8d9cf6ead74f2767c3a9e3b8c05749eacb78ebb3b896 .codex-plugin/mcp.json
5
- 4d3067abadd0687afc8d23aec6b783346ca6e5d0488e04ff689a550847cc4d1f .codex-plugin/plugin.json
5
+ fb1cfbb525c68ceb5f62b1fc2b428295e4da799f2e79d410a0a1ba14b434675f .codex-plugin/plugin.json
6
6
  92f11a867c41c9e575ccb978ff205ae2011c244a14aa3c576e914e537105caa0 LICENSE
7
- 97e1cda55f188e6368b625882a2fef4863ef70cb223f667c33b36d7c6fbdc843 README.md
7
+ d3d6930a4afd1498f23e01eeb8c6c0f906378b4b66a4e8fa4e168c80b18e63c6 README.md
8
8
  1773e40a89384dd1af9023ba533da1908f3e2435dbaaa7cc941edf0514148313 claude-code/skills/ctx-doctor/SKILL.md
9
9
  d12b50ba56fa8632a778948b72137c32e043b0c11b0402f07ddef1578406d495 claude-code/skills/ctx-stats/SKILL.md
10
10
  d8f835d2f2b3eb70c5902f8707e7c5857977cec9e20ace76c499378a04e178e0 claude-code/skills/ctx-upgrade/SKILL.md
@@ -12,9 +12,9 @@ d8f835d2f2b3eb70c5902f8707e7c5857977cec9e20ace76c499378a04e178e0 claude-code/sk
12
12
  83c297020ed0c592fc68c9c482546a6999d41df5d06d8a329498f10edb1bd38e codex/skills/ctx-doctor/SKILL.md
13
13
  5652e791d5fa00033aebb0f6f85b6a3c9db8ab45cfc402e74ffc5f87bdc08922 codex/skills/ctx-stats/SKILL.md
14
14
  5c12cdd19a5e3ed7d9ba3a47b24d03864a28d36cf7006876284ee07cd4221ec4 codex/skills/ctx-upgrade/SKILL.md
15
- 9c6e864667b4a587be609281486dd18350de510e7a5636dd280050e952a927d3 copilot/plugin.json
15
+ a5cfa9cea261772cc68da4d45b79454d110dc625b192e952ec999f5d060ceb00 copilot/plugin.json
16
16
  e3bc6cae0bd51b806d81631879711bbc48c679fc929b2642ed4634438364167d fixtures/hook-roundtrip.json
17
- a62b9637392ee0786e4e84255701bd1ffc2165324c3b6e7bd47651996bb5d3d7 gemini-extension.json
17
+ 702459fef08cd18a91469839cf0f02329f74e98464cf27be1cb6ba51f254f169 gemini-extension.json
18
18
  a0cbe7f0b62c6655ea253e1793b362dfc1f403d6356de5ca1112d96b5b143385 hook.mjs
19
19
  1f8d8650d2b38737522cab6b875878e8baf84a74acf98cd924c7af22852d873f hooks/claude-code.json
20
20
  2524a0eb52683b65c65943c5097db513e9845ba14e84324b39e9a8ea2bb43193 hooks/codex.json
@@ -24,16 +24,16 @@ f336d1db67de49e641687bbd41ba1a9424e31dfe2377b2284bf44358288ebd8b hooks/kiro.jso
24
24
  017c9cc3997dd53231b8548b1a1609fddc51177af53501565a4f334602039860 hooks/qwen.json
25
25
  33f69267645338d0dc392ce551dcd7c69a0b508113469d6ea637d3f34239ef1d hooks/vscode.json
26
26
  085630bccf2073ac9a62be24ef91dfc47d106092dc82c822db70890b7d3ae1c0 hooks/zcode.json
27
- 09f1c58a1b5842f58e5e3917e2c82c45bf6556b8788afa6e728c13a061df669e opencode/plugin.js
28
- 3e7896b65361f43164fe65c80f349aa0a0599e64bc6d4cdace4b3e4e43ff95ef package.json
29
- 75c9047a6f3e9a2401b749dfe033719cdcc92576057919711f373f960370a461 pi/index.js
27
+ 331f7558c7278137428c451f940daa2f04fc235f9f4e073db8307d96e62b8e86 opencode/plugin.js
28
+ 1c966e87bed9283a53d86e20952bb10ef511bd5ab934a2dc791bf5ff925b5ffc package.json
29
+ aa81e4e82350a802e4788a744138b574999dd18d12d2f2d22b5a1ea1cd715b53 pi/index.js
30
30
  8712881622c9905aa4836af50d903042d34a91506264e459bc7839331f6f0192 pi/skills/ctx-doctor/SKILL.md
31
31
  4ff03de9581acbb827266eb9461aa34c8da5c3d01d51a3738064e582bf466a79 pi/skills/ctx-stats/SKILL.md
32
32
  db6f9c006bc864a7271f1eeffb1e316ebb537a3414f1c22f8b9de0a896e8e3c5 pi/skills/ctx-upgrade/SKILL.md
33
- 62a9893216c472d15b709c7a9b03b1fc937e476b86f69127ddbd44b8366ec347 qwen-extension.json
33
+ 566e19dac5ce43b1a671b994ab3050c29c9a588fd92973d20655620e88503aa2 qwen-extension.json
34
34
  163265ea9d2093a44f0a4ef77437704c3eb6821edc9a89b3220628031fe6b0b8 run.mjs
35
35
  163265ea9d2093a44f0a4ef77437704c3eb6821edc9a89b3220628031fe6b0b8 search.mjs
36
- fae8d666f4364288345aa385c82e9a77374bb8f33efd81139d6123857b634a59 server.mjs
36
+ 2dd7a9f3c2ee6b9bac7a637fdb976bd0b6c228c027c0e2c962522fabe2a340c2 server.mjs
37
37
  e5503a22a6238901484d123efc11d2d933aa9a54c6ac2018812cfa65ec4e53e3 skills/ctx-doctor/SKILL.md
38
38
  ad3b9875600f3d7a4970ed91ad9331903c2aa5e77d9f742c6a212015a021ad18 skills/ctx-stats/SKILL.md
39
39
  c1cac75b7506ee0d06089ce611ac6dc9314cf12435da318ce88ad50e2c5debbf skills/ctx-upgrade/SKILL.md
@@ -11,5 +11,5 @@
11
11
  }
12
12
  },
13
13
  "name": "context-mode",
14
- "version": "2.0.0-next.33"
14
+ "version": "2.0.0-next.34"
15
15
  }
@@ -11,5 +11,5 @@
11
11
  }
12
12
  },
13
13
  "name": "context-mode",
14
- "version": "2.0.0-next.33"
14
+ "version": "2.0.0-next.34"
15
15
  }
@@ -425,7 +425,7 @@ var DECISION_OPTION_KEY = "option";
425
425
  var DECISION_LABEL_JOIN = " | ";
426
426
  var RELEASE_REPO_URL = "https://github.com/mksglu/context-mode.git";
427
427
  var RELEASE_BRANCH = "release";
428
- var BUNDLE_SHA = true ? "a65cd5ad387fe1dc95f9320783843d566440d57c" : void 0;
428
+ var BUNDLE_SHA = true ? "e19d949bebe3a1751b6dc1a520b5ad38659fdd6f" : void 0;
429
429
  var DOCTOR_CHECK_ORDER = Object.freeze(["D1", "D2", "D3", "D4", "D5", "D5b", "D6", "D7", "D8", "D9", "D10", "D11"]);
430
430
  var DOCTOR_LABEL = Object.freeze({
431
431
  D1: "version",
package/package.json CHANGED
@@ -69,5 +69,5 @@
69
69
  "url": "git+https://github.com/mksglu/context-mode.git"
70
70
  },
71
71
  "type": "module",
72
- "version": "2.0.0-next.33"
72
+ "version": "2.0.0-next.34"
73
73
  }
package/pi/index.js CHANGED
@@ -11570,7 +11570,7 @@ var DECISION_OPTION_KEY = "option";
11570
11570
  var DECISION_LABEL_JOIN = " | ";
11571
11571
  var RELEASE_REPO_URL = "https://github.com/mksglu/context-mode.git";
11572
11572
  var RELEASE_BRANCH = "release";
11573
- var BUNDLE_SHA = true ? "a65cd5ad387fe1dc95f9320783843d566440d57c" : void 0;
11573
+ var BUNDLE_SHA = true ? "e19d949bebe3a1751b6dc1a520b5ad38659fdd6f" : void 0;
11574
11574
  var DOCTOR_CHECK_ORDER = Object.freeze(["D1", "D2", "D3", "D4", "D5", "D5b", "D6", "D7", "D8", "D9", "D10", "D11"]);
11575
11575
  var DOCTOR_LABEL = Object.freeze({
11576
11576
  D1: "version",
@@ -12,5 +12,5 @@
12
12
  }
13
13
  },
14
14
  "name": "context-mode",
15
- "version": "2.0.0-next.33"
15
+ "version": "2.0.0-next.34"
16
16
  }
package/server.mjs CHANGED
@@ -28405,7 +28405,7 @@ var DECISION_SOURCE = "decision";
28405
28405
  var DECISION_USER_LABEL = "decision (user)";
28406
28406
  var RELEASE_REPO_URL = "https://github.com/mksglu/context-mode.git";
28407
28407
  var RELEASE_BRANCH = "release";
28408
- var BUNDLE_SHA = true ? "a65cd5ad387fe1dc95f9320783843d566440d57c" : void 0;
28408
+ var BUNDLE_SHA = true ? "e19d949bebe3a1751b6dc1a520b5ad38659fdd6f" : void 0;
28409
28409
  var DOCTOR_CHECK_ORDER = Object.freeze(["D1", "D2", "D3", "D4", "D5", "D5b", "D6", "D7", "D8", "D9", "D10", "D11"]);
28410
28410
  var DOCTOR_LABEL = Object.freeze({
28411
28411
  D1: "version",