@tokenade/cli 1.2.0 → 1.2.2

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.
Files changed (2) hide show
  1. package/README.md +9 -4
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -77,12 +77,17 @@ Every agent gets Tokenade's prompt- and CLI-level features — **code search**,
77
77
  <sub>¹ Batching and lean-output savings apply everywhere; prompt-cache trimming is available on Claude Code today. ² Automatic secret redaction requires both command and file-read coverage. ³ Copilot **CLI** — the VS Code Copilot extension is not covered. ⁴ Inherits full coverage from the Claude Code it runs on. ⁵ MCP-based integration: Tokenade compacts MCP tool outputs; the agent's native command/read/web tools aren't reachable. ⁶ **Aider** is wrap-only: command compaction is not automatic — run commands through `tokenade wrap …`.</sub>
78
78
 
79
79
  ### Command-line vs. desktop editions
80
+ The table above is for each tool's **command-line edition** — that's where Tokenade attaches (hooks, config, shell). Desktop apps, on Windows, macOS and Linux:
80
81
 
81
- The table above is for each tool's **command-line edition** — that's where Tokenade attaches (hooks, config, shell). A product's **desktop or IDE app is a separate integration** and is **not** covered by its CLI row:
82
+ - **Claude Desktop — Code tab**: runs Claude Code itself, with your `~/.claude` settings, so it gets the **Claude Code** row above. `tokenade install` sets it up even when no separate `claude` command is installed.
83
+ - **Claude Desktop — Chat**: only **MCP optimization** applies (`tokenade mcp-wrap install`): chat runs no local commands or file reads.
84
+ - **Codex app** (the ChatGPT desktop app's Codex): runs Codex on your machine with your `~/.codex/config.toml`, so it gets the **Codex CLI** row through the LLM proxy, and MCP optimization through `mcp-wrap`.
85
+ - **Claude Cowork**: **not supported** — it runs in an isolated environment that local tools can't reach.
82
86
 
83
- - **Desktop / IDE apps that speak MCP** (e.g. **Claude Desktop**): only **MCP optimization** applies — command, web, file-read compaction and security are not available, because a GUI exposes no command or read hooks. *(Per-app desktop coverage is still being verified — don't assume parity with the CLI.)*
84
- - **Claude Cowork** (the autonomous desktop mode): **not supported**.
85
- - **Editions are not interchangeable:** **Codex CLI** (full, above) ≠ a Codex desktop app; **Claude Code** (CLI, full) ≠ **Claude Desktop** (MCP only) ≠ **Cowork** (unsupported). The same holds for any other product shipping both a CLI and a desktop/IDE build.
87
+ **Codex hooks need your approval.** Codex only runs hooks that you've approved in Codex. Until you do, Tokenade's LLM proxy carries compaction, style and secret redaction for Codex (CLI and app) and is set up automatically. Once you approve the hooks, they take over and the proxy only measures.
88
+
89
+ ### Keeping your agent's own web search
90
+ Some organisations want web queries to leave only through their AI vendor. Set `TOKENADE_NO_WEBSEARCH=1` in the agent's environment (for Claude Code: the `env` block of `~/.claude/settings.json`), and run `tokenade install` once with it set in your shell. Tokenade then no longer replaces or compacts the agent's web search, `tokenade search` refuses to run, and the rules Tokenade writes for the agent no longer mention it. Fetching pages is a separate switch: `TOKENADE_NO_WEBFETCH=1`.
86
91
 
87
92
  ## Install
88
93
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tokenade/cli",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Tokenade — cut your AI coding agent's token bill. Installs the Tokenade CLI (a local, paid token-reduction tool; activate via your browser).",
5
5
  "homepage": "https://tokenade.net",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -15,13 +15,13 @@
15
15
  "tar": "^7.5.16"
16
16
  },
17
17
  "optionalDependencies": {
18
- "@tokenade/cli-linux-x64": "1.2.0",
19
- "@tokenade/cli-linux-x64-musl": "1.2.0",
20
- "@tokenade/cli-linux-arm64-musl": "1.2.0",
21
- "@tokenade/cli-darwin-arm64": "1.2.0",
22
- "@tokenade/cli-darwin-x64": "1.2.0",
23
- "@tokenade/cli-win32-x64": "1.2.0",
24
- "@tokenade/cli-win32-arm64": "1.2.0"
18
+ "@tokenade/cli-linux-x64": "1.2.2",
19
+ "@tokenade/cli-linux-x64-musl": "1.2.2",
20
+ "@tokenade/cli-linux-arm64-musl": "1.2.2",
21
+ "@tokenade/cli-darwin-arm64": "1.2.2",
22
+ "@tokenade/cli-darwin-x64": "1.2.2",
23
+ "@tokenade/cli-win32-x64": "1.2.2",
24
+ "@tokenade/cli-win32-arm64": "1.2.2"
25
25
  },
26
26
  "files": [
27
27
  "bin/",