command-code 1.93.5 → 1.94.0
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.
- package/CHANGELOG.md +15 -0
- package/dist/bundled/command-code-knowledge/reference/custom-slash-commands.md +1 -0
- package/dist/bundled/command-code-knowledge/reference/headless.md +1 -1
- package/dist/bundled/command-code-knowledge/reference/hooks.md +2 -0
- package/dist/bundled/command-code-knowledge/reference/mcp.md +2 -0
- package/dist/bundled/command-code-knowledge/reference/models.md +7 -1
- package/dist/bundled/command-code-knowledge/reference/product-help.md +4 -1
- package/dist/bundled/config/references/settings.md +1 -0
- package/dist/cli.mjs +5 -5
- package/package.json +1 -2
- package/vsix/commandcode-vscode.vsix +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# command-code
|
|
2
2
|
|
|
3
|
+
## 1.94.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- feat: Sessions on the same machine can now find and message each other
|
|
8
|
+
- feat: start the CLI without an account (ctrl+o on sign-in) to use your own provider
|
|
9
|
+
- fix: stop a project folder steering the CLI before it is trusted
|
|
10
|
+
|
|
11
|
+
## 1.93.6
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- feat: add `/autocompact` to set the auto-compaction point per model or for all models (Full window, 512K/256K/128K, or a custom count like `/autocompact 400k`).
|
|
16
|
+
- feat: `cmd acp` reports each turn's own tokens in `usage` (session total in `_meta.sessionUsage`) and adds the usage-limit window and `resetsAt` to run errors.
|
|
17
|
+
|
|
3
18
|
## 1.93.5
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -46,6 +46,7 @@ Every built-in command, grouped by area. Aliases are shown in parentheses on the
|
|
|
46
46
|
| --------------- | -------------------------------------------- |
|
|
47
47
|
| `/compact` | Compact the conversation history |
|
|
48
48
|
| `/compact-mode` | Select a compact mode to compact sessions |
|
|
49
|
+
| `/autocompact` | Choose when auto-compaction kicks in, per model |
|
|
49
50
|
| `/context` | Show context window usage and breakdown |
|
|
50
51
|
| `/memory` | Manage Command Code memory |
|
|
51
52
|
| `/init` | Initialize AGENTS.md for this project |
|
|
@@ -337,7 +337,7 @@ Flags useful for headless and automated workflows:
|
|
|
337
337
|
| `--yolo` | Allow file writes and shell commands |
|
|
338
338
|
| `--accept-edits` | Start in accept edits mode (alias for `--permission-mode accept-edits`) |
|
|
339
339
|
| `--skip-onboarding` | Skip taste onboarding (for CI/automated runs) |
|
|
340
|
-
| `-t, --trust` |
|
|
340
|
+
| `-t, --trust` | Approve the project once. The approval is saved, so later headless runs start the project's own MCP servers (`.mcp.json`) and run its hooks (`.commandcode/settings.json`) without the flag |
|
|
341
341
|
| `--plan` | Start in plan mode (read-only exploration) |
|
|
342
342
|
| `--permission-mode <mode>` | Set permission mode: `default`, `plan`, `accept-edits`, `yolo`, `dont-ask` (`auto-accept`, `bypass`, and legacy `standard` accepted as aliases) |
|
|
343
343
|
|
|
@@ -108,6 +108,8 @@ Hooks are configured under the `hooks` key in a `settings.json` file. Command Co
|
|
|
108
108
|
**Precedence:** project > user.
|
|
109
109
|
When the exact same command string appears in multiple scopes, the higher-priority source wins.
|
|
110
110
|
|
|
111
|
+
Project hooks are commands chosen by the repository, so they only run once you trust the folder. Interactive `cmd` asks with the trust prompt. Headless runs (`cmd -p`, `cmd --rpc`) and `cmd acp` never prompt: they run project hooks in a folder you already approved, and otherwise skip them and say on stderr how to approve it once (`--trust`, or the trust prompt in `cmd`). User hooks always run.
|
|
112
|
+
|
|
111
113
|
### Ordering
|
|
112
114
|
|
|
113
115
|
Within the same event, hooks fire in the order they appear in `settings.json` (project first, then user).
|
|
@@ -276,6 +276,8 @@ Stored in `.mcp.json` at your project root. Checked into version control - share
|
|
|
276
276
|
cmd mcp add --transport http stripe --scope project https://mcp.stripe.com
|
|
277
277
|
```
|
|
278
278
|
|
|
279
|
+
A project's MCP servers are commands and URLs chosen by the repository, so they only start once you trust the folder. Interactive `cmd` asks with the trust prompt. [Headless](./headless.md) runs (`cmd -p`, `cmd --rpc`) and `cmd acp` never prompt: they load project servers in a folder you already approved, and otherwise skip them and say on stderr how to approve it once (`--trust`, or the trust prompt in `cmd`). Your `user` and `local` scope servers always load.
|
|
280
|
+
|
|
279
281
|
This creates or updates `.mcp.json`:
|
|
280
282
|
|
|
281
283
|
```json
|
|
@@ -23,6 +23,7 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
|
|
|
23
23
|
| `moonshotai/Kimi-K2.5` | Kimi K2.5 | 256K | — | $0.6/$3 · cache $0.1 | Go and above | multimodal frontend coding |
|
|
24
24
|
| `z-ai/glm-5.3-flash` | GLM-5.3 Flash | 1.05M | low, high, max | $0.15/$0.5 · cache $0.03 | Go and above | fast, affordable GLM coding with 1M context |
|
|
25
25
|
| `z-ai/glm-5.3-flashx` | GLM-5.3 FlashX | 1M | low, high, max | $0.37/$1.25 · cache $0.075 | Go and above | high-speed GLM-5.3 Flash with 1M context |
|
|
26
|
+
| `zai-org/GLM-5.4` | GLM-5.4 | 1M | low, high, max | $1.4/$4.4 · cache $0.26 | GOAT and above | flagship GLM for coding and agents with 1M context |
|
|
26
27
|
| `zai-org/GLM-5.3` | GLM-5.3 | 1M | low, high, max | $1.4/$4.4 · cache $0.26 | Go and above | frontier coding with emergent cyber capabilities |
|
|
27
28
|
| `zai-org/GLM-5.2` | GLM-5.2 | 1M | high, max | $1.4/$4.4 · cache $0.26 | Go and above | powerful coding with 1M context and long-horizon tasks |
|
|
28
29
|
| `zai-org/GLM-5.2-Fast` | GLM-5.2 Fast | 1M | — | $3/$10.25 · cache $0.5 | Go and above | high-throughput GLM-5.2 with 1M context |
|
|
@@ -49,7 +50,7 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
|
|
|
49
50
|
| `Qwen/Qwen3.6-Max-Preview` | Qwen 3.6 Max Preview | — | — | $1.3/$7.8 · cache $0.26 (write $1.63) | Go and above | vibe coding & efficient agent execution |
|
|
50
51
|
| `Qwen/Qwen3.6-Plus` | Qwen 3.6 Plus | — | — | $0.5/$3 · cache $0.1 | Go and above | agentic coding & reasoning |
|
|
51
52
|
| `meituan/LongCat-2.0` | LongCat 2.0 | 1.05M | — | $0.3/$1.2 · cache $0.006 | Go and above | trillion-parameter agentic coding with 1M context |
|
|
52
|
-
| `stepfun/Step-5
|
|
53
|
+
| `stepfun/Step-5` | Step 5 | 1M | low, medium, high, xhigh, max | $1/$2.7 · cache $0.1 | GOAT and above | flagship agentic coding with 1M context |
|
|
53
54
|
| `stepfun/Step-3.7-Flash` | Step 3.7 Flash | 256K | — | $0.2/$1.15 · cache $0.04 | Go and above | multimodal sparse-MoE reasoning |
|
|
54
55
|
| `stepfun/Step-3.5-Flash` | Step 3.5 Flash | 262K | — | $0.09/$0.3 · cache $0.02 | Go and above | fast sparse-MoE agentic reasoning |
|
|
55
56
|
| `tencent/hy3-paid` | Tencent Hy3 | 262K | — | $0.14/$0.58 · cache $0.035 | Go and above | sparse-MoE reasoning & agentic tool use |
|
|
@@ -141,5 +142,10 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
|
|
|
141
142
|
| `xai/grok-4.5` | Grok 4.5 | 500K | low, medium, high | $2/$6 · cache $0.5 | Go and above | smartest model for coding, agentic tasks, knowledge work |
|
|
142
143
|
| `xai/grok-4.6` | Grok 4.6 | 500K | low, medium, high, xhigh | $2/$6 · cache $0.5 | GOAT and above | frontier performance on coding, knowledge work, and STEM |
|
|
143
144
|
| `xai/grok-4.7` | Grok 4.7 | 500K | low, medium, high, xhigh | $2/$6 · cache $0.5 | GOAT and above | coding and knowledge work, built for multi-hour tasks |
|
|
145
|
+
## Amazon
|
|
146
|
+
|
|
147
|
+
| Id (use EXACTLY this) | Name | Context | Efforts | $/1M in/out · cache read | Min plan | Best for |
|
|
148
|
+
|---|---|---|---|---|---|---|
|
|
149
|
+
| `amazon/ergo-1.0` | Ergo 1.0 | 1.05M | low, medium, high, xhigh, max | $1/$3 · cache $0.03 (write $1.25) | Go and above | 1M context, adjustable reasoning, tool calling |
|
|
144
150
|
|
|
145
151
|
Rates are the advertised price list resolved from the billing source of truth (promos are already baked in): input / output / cache-read per 1M tokens, plus cache-write where the provider bills it. Min plan is the cheapest public plan that serves the model, ordered Go < GOAT < Pro < Max (see plans.md). Models without an effort column entry decide their own reasoning depth. Full pricing detail: https://commandcode.ai/docs/resources/pricing-limits
|
|
@@ -40,6 +40,7 @@
|
|
|
40
40
|
- /connect: Connect to AI providers. Command Code, BYOK providers and API keys
|
|
41
41
|
- /compact: Compact the conversation history
|
|
42
42
|
- /compact-mode: Select a compact mode to compact sessions
|
|
43
|
+
- /autocompact [400k|full|reset]: Choose when auto-compaction kicks in, per model or for all models (a token ceiling, capped at 90% of each window)
|
|
43
44
|
- /config: Search and change settings, including which model runs each built-in task
|
|
44
45
|
- /context: Show context window usage and breakdown
|
|
45
46
|
- /ide: Connect IDE to share your open file and selected lines
|
|
@@ -300,6 +301,7 @@ Valid model ids (the /model catalog — use these EXACT ids):
|
|
|
300
301
|
- moonshotai/Kimi-K2.5
|
|
301
302
|
- z-ai/glm-5.3-flash
|
|
302
303
|
- z-ai/glm-5.3-flashx
|
|
304
|
+
- zai-org/GLM-5.4
|
|
303
305
|
- zai-org/GLM-5.3
|
|
304
306
|
- zai-org/GLM-5.2
|
|
305
307
|
- zai-org/GLM-5.2-Fast
|
|
@@ -326,7 +328,7 @@ Valid model ids (the /model catalog — use these EXACT ids):
|
|
|
326
328
|
- Qwen/Qwen3.6-Max-Preview
|
|
327
329
|
- Qwen/Qwen3.6-Plus
|
|
328
330
|
- meituan/LongCat-2.0
|
|
329
|
-
- stepfun/Step-5
|
|
331
|
+
- stepfun/Step-5
|
|
330
332
|
- stepfun/Step-3.7-Flash
|
|
331
333
|
- stepfun/Step-3.5-Flash
|
|
332
334
|
- tencent/hy3-paid
|
|
@@ -364,6 +366,7 @@ Valid model ids (the /model catalog — use these EXACT ids):
|
|
|
364
366
|
- xai/grok-4.6
|
|
365
367
|
- xai/grok-4.7
|
|
366
368
|
- mistral/mistral-large-4
|
|
369
|
+
- amazon/ergo-1.0
|
|
367
370
|
A BYO-provider id (from a configured custom provider) also works and is passed through as-is.
|
|
368
371
|
|
|
369
372
|
WHEN THE USER ASKS YOU TO CREATE AN AGENT (e.g. "make a changelog agent with a cheap model"):
|
|
@@ -10,6 +10,7 @@ The executable registry is authoritative. Run `cmd config list --scope effective
|
|
|
10
10
|
| `permissions.defaultMode` | user | enum | `default`, `plan`, `auto-accept`, `dont-ask` | Default permission mode for tool usage. A long-lived host may also apply the change to its current session. "bypass" cannot be set here. |
|
|
11
11
|
| `theme` | user | enum | `dark`, `light`, `auto` | Terminal color theme (same setting as /theme). Auto automatically detects your terminal background and uses light or dark to match. |
|
|
12
12
|
| `compact-mode` | user | enum | `default`, `fast` | Auto-compact aggressiveness when context fills up (same setting as /compact-mode). |
|
|
13
|
+
| `auto-compact` | user | enum | `full`, `512k`, `256k`, `128k`, or any token count from 128k to 10m (e.g. 400k) | Where auto-compaction summarizes, on every model: a token ceiling, capped at 90% of each model's window. Per-model choices from /autocompact win over it. Saved to ~/.commandcode/settings.json. |
|
|
13
14
|
| `tree-filter-mode` | user | enum | `default`, `no-tools`, `user-only`, `labeled-only`, `all` | Default filter when opening /tree. |
|
|
14
15
|
| `reduced-motion` | user | boolean | `true`, `false` | Turn on to stop the working status text from shimmering and keep the launch-day intro from playing. Off unless you turn it on. |
|
|
15
16
|
| `on-demand-tool-descriptions` | user | boolean | `true`, `false` | Explain shell commands on permission prompts only when you press ctrl+e (default). Turn off to generate every explanation upfront. |
|