command-code 1.93.6 → 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 +8 -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 +6 -0
- package/dist/bundled/command-code-knowledge/reference/product-help.md +2 -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,13 @@
|
|
|
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
|
+
|
|
3
11
|
## 1.93.6
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -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 |
|
|
@@ -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
|
|
@@ -301,6 +301,7 @@ Valid model ids (the /model catalog — use these EXACT ids):
|
|
|
301
301
|
- moonshotai/Kimi-K2.5
|
|
302
302
|
- z-ai/glm-5.3-flash
|
|
303
303
|
- z-ai/glm-5.3-flashx
|
|
304
|
+
- zai-org/GLM-5.4
|
|
304
305
|
- zai-org/GLM-5.3
|
|
305
306
|
- zai-org/GLM-5.2
|
|
306
307
|
- zai-org/GLM-5.2-Fast
|
|
@@ -365,6 +366,7 @@ Valid model ids (the /model catalog — use these EXACT ids):
|
|
|
365
366
|
- xai/grok-4.6
|
|
366
367
|
- xai/grok-4.7
|
|
367
368
|
- mistral/mistral-large-4
|
|
369
|
+
- amazon/ergo-1.0
|
|
368
370
|
A BYO-provider id (from a configured custom provider) also works and is passed through as-is.
|
|
369
371
|
|
|
370
372
|
WHEN THE USER ASKS YOU TO CREATE AN AGENT (e.g. "make a changelog agent with a cheap model"):
|