command-code 1.88.4 → 1.89.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 +18 -0
- package/dist/bundled/command-code-knowledge/reference/custom-agents.md +6 -4
- package/dist/bundled/command-code-knowledge/reference/headless.md +1 -1
- package/dist/bundled/command-code-knowledge/reference/models.md +7 -4
- package/dist/bundled/command-code-knowledge/reference/product-help.md +5 -2
- package/dist/bundled/config/references/settings.md +3 -1
- package/dist/cli.mjs +5 -5
- package/package.json +3 -3
- package/vsix/commandcode-vscode.vsix +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# command-code
|
|
2
2
|
|
|
3
|
+
## 1.89.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- feat: move a running sub-agent to the background with ctrl+b and keep chatting while it works
|
|
8
|
+
- feat: a finished background sub-agent wakes the main agent with its result
|
|
9
|
+
- feat: sub-agent rows in the background panel and status bar, with live progress, details, stop and dismiss
|
|
10
|
+
- feat: sub-agent turn limit is configurable ( from`/config` menu) and the default rises from 100 to 200
|
|
11
|
+
- feat: set a default model for sub-agents in `/config`
|
|
12
|
+
- fix: bold, italic and inline code in loose Markdown lists; strip terminal escapes from model text
|
|
13
|
+
- fix: retire the free Beam 1.0 model
|
|
14
|
+
|
|
15
|
+
## 1.88.5
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- fix: `cmd login` and `/login` start a new login if API key is wrong, deleted or expired
|
|
20
|
+
|
|
3
21
|
## 1.88.4
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -213,6 +213,8 @@ You don't call a subagent yourself. You describe what you want, and Command Code
|
|
|
213
213
|
|
|
214
214
|
A run can be detached. When it's started in the background (or the agent sets `background: true`), the `agent` tool returns right away with an `agent_id` and the main session keeps going. The result is collected later with the `agent_output` tool, which can `wait` for it, check `status`, or `kill` the run.
|
|
215
215
|
|
|
216
|
+
You can also detach a run yourself. Press **Ctrl+B** while a foreground agent is working and it moves to the background mid-run. In the TUI, a background agent's result is sent to the main agent automatically when it finishes, so nothing has to poll. Watch and stop background agents from the [Background panel](https://commandcode.ai/docs/background-tasks#the-background-panel-in-the-tui).
|
|
217
|
+
|
|
216
218
|
### Where agents load from
|
|
217
219
|
|
|
218
220
|
| **Source** | **Path** | **Notes** |
|
|
@@ -239,9 +241,9 @@ Only these keys are read; anything else is ignored. All except `name` are option
|
|
|
239
241
|
| `description` | `string` | No | `""` | When to use the agent, the text Command Code matches against. Be specific. |
|
|
240
242
|
| `tools` | `string \| string[]` | No | none | Tools the agent may use. `"*"` grants all; otherwise a comma/space-separated list or YAML array. |
|
|
241
243
|
| `disallowedTools` | `string \| string[]` | No | - | Deny list applied after `tools` (deny beats allow). Same format as `tools`. |
|
|
242
|
-
| `model` | `string` | No | inherit | Any `/model` id. Omit or set `inherit` to
|
|
244
|
+
| `model` | `string` | No | inherit | Any `/model` id. Omit or set `inherit` to use the sub-agent default. |
|
|
243
245
|
| `reasoningEffort` | `string` | No | model default | Reasoning level the pinned model supports; an unsupported level falls back to the model default. |
|
|
244
|
-
| `maxTurns` | `integer` | No | `
|
|
246
|
+
| `maxTurns` | `integer` | No | `subagentMaxTurns` setting, else `200` | Caps the agent's loop. Set [`subagentMaxTurns`](https://commandcode.ai/docs/settings#top-level-keys) in `settings.json` (1 to 1000; also the "Sub-agent turn limit" row in `/config`) to change the default for every agent, built-in ones included. |
|
|
245
247
|
| `permissionMode` | `string` | No | inherit | Overrides the session mode: `default`, `accept-edits`, `yolo`, `plan`, `dont-ask` (`auto-accept` and `bypass` accepted as aliases). A session already in `plan`/`yolo` wins. |
|
|
246
248
|
| `background` | `boolean` | No | `false` | `true` detaches every run: the `agent` tool returns an `agent_id`; results come from `agent_output`. |
|
|
247
249
|
| `showOutput` | `boolean` | No | `false` | `true` shows the agent's final message verbatim in the feed instead of a short "done" line. |
|
|
@@ -276,7 +278,7 @@ The `model` field takes any id you'd pass to `/model`. To find one:
|
|
|
276
278
|
|
|
277
279
|
Use ids exactly as `--list-models` prints them. Examples: `claude-opus-4-8`, `claude-sonnet-5`, `claude-haiku-4-5`, `moonshotai/kimi-k2.6`, `zai-org/glm-5.2`.
|
|
278
280
|
|
|
279
|
-
Omitting `model` is the same as `model: inherit` - the agent
|
|
281
|
+
Omitting `model` is the same as `model: inherit` - the agent runs on the session model: the session's `/model`, or the [planning or implementation model](https://commandcode.ai/docs/settings#planning-and-implementation-models) while one is active. To run these agents on a different model, pick one in the **Sub-agents** row under `/config` → **Feature models**; clear it to go back to the session model. A `model` the agent asks for on a single delegation beats both. Pinning a model gives the agent its own prompt cache, so a slow planner and a fast implementer don't thrash each other's.
|
|
280
282
|
|
|
281
283
|
### Reasoning effort
|
|
282
284
|
|
|
@@ -303,7 +305,7 @@ tools: "*" # grant everything…
|
|
|
303
305
|
disallowedTools: shell_command, write_file # …except shells and file writes
|
|
304
306
|
model: claude-opus-4-8 # any /model id, or omit to inherit
|
|
305
307
|
reasoningEffort: high # a level THIS model supports (varies by model); omit for default
|
|
306
|
-
maxTurns: 40 # cap the loop (default
|
|
308
|
+
maxTurns: 40 # cap the loop (default: settings.json subagentMaxTurns, else 200)
|
|
307
309
|
permissionMode: plan # default|accept-edits|yolo|plan|dont-ask
|
|
308
310
|
background: true # detach; collect via agent_output
|
|
309
311
|
showOutput: true # render the final report in the feed
|
|
@@ -257,7 +257,7 @@ fi
|
|
|
257
257
|
|
|
258
258
|
## Decision models (typesafe/jev)
|
|
259
259
|
|
|
260
|
-
`typesafe/jev` is available on the headless mode as a decision model. It runs headless, on your normal login, and it
|
|
260
|
+
`typesafe/jev` is available on the headless mode as a decision model. It runs headless, on your normal login, and it bills $0.042 per 1M input tokens at cost; everything else is free.
|
|
261
261
|
|
|
262
262
|
It answers typed questions about a **state** with **probabilities** instead of text, so a script can branch on the number. The headless prompt is typesafe/jev's request as JSON. Request and response follow TypeSafe's [official shape](https://docs.typesafe.ai/api).
|
|
263
263
|
|
|
@@ -14,6 +14,7 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
|
|
|
14
14
|
| `deepseek/deepseek-v4-flash-fast` | DeepSeek V4 Flash Fast | 1M | low, high, max | $0.28/$0.56 · cache $0.07 | Go and above | low-latency V4 Flash deployment |
|
|
15
15
|
| `deepseek/deepseek-v4.1-flash` | DeepSeek V4.1 Flash (latest) | 1M | off, low, high, max | $0.15/$0.6 · cache $0.003 | Go and above | V4.1 hybrid-attention reasoning with vision |
|
|
16
16
|
| `deepseek/deepseek-v4.1-flash-fast` | DeepSeek V4.1 Flash Fast (latest) | 1M | off, low, high, max | $0.16/$0.58 · cache $0.016 | Go and above | High throughput V4.1 Flash |
|
|
17
|
+
| `deepseek/deepseek-v4.1-flash-ultrafast` | DeepSeek V4.1 Flash Ultrafast | 1.05M | off, low, high, max | $2.4/$9.6 · cache $0.048 | GOAT and above | Accelerated V4.1 Flash |
|
|
17
18
|
| `moonshotai/Kimi-K3.1-Pro` | Kimi K3.1 Pro | 1.05M | low, high, max | $2/$10 · cache $0.2 | Go and above | frontier reasoning & agentic coding with 1M context |
|
|
18
19
|
| `moonshotai/Kimi-K3` | Kimi K3 | 1M | low, high, max | $3/$15 · cache $0.3 | Go and above | long-horizon coding & knowledge work with 1M context |
|
|
19
20
|
| `moonshotai/Kimi-K2.7-Code` | Kimi K2.7 Code | 256K | — | $0.95/$4 · cache $0.19 | Go and above | improved long-horizon coding with vision |
|
|
@@ -56,7 +57,7 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
|
|
|
56
57
|
| `nvidia/nemotron-3.5-super-vl` | Nemotron 3.5 Super VL | 262K | low, medium, high | $0.2/$0.5 · cache $0.04 | Go and above | open vision-language model for coding and documents |
|
|
57
58
|
| `thinkingmachines/inkling` | Inkling | 256K | — | $1/$4.05 · cache $0.17 | Go and above | multimodal MoE reasoning |
|
|
58
59
|
| `thinkingmachines/inkling-small` | Inkling Small | 1M | — | $0.5/$1.2 · cache $0.1 | Go and above | lightweight MoE reasoning at lower cost and latency |
|
|
59
|
-
| `
|
|
60
|
+
| `thinkingmachines/inkling-2-small:free` | Inkling 2 Small | 1.05M | low, medium, high, max | $0/$0 · cache $0 | Go and above | multimodal MoE reasoning with 1M context |
|
|
60
61
|
| `inclusionai/ling-3.1-flash` | Ling 3.1 Flash | 262K | low, medium, high | $0.3/$0.9 · cache $0.06 | Go and above | hybrid-reasoning MoE for coding & tool-using agents |
|
|
61
62
|
| `inclusionai/ling-3.1-flash-1019` | Ling 3.1 Flash 1019 | 1M | low, medium, high | $0.3/$0.9 · cache $0.06 | Go and above | hybrid-reasoning MoE for coding & tool-using agents |
|
|
62
63
|
| `mistral/mistral-large-4` | Mistral Large 4 | 524K | low, medium, high | $1.36/$4.18 · cache $0.14 | Go and above | frontier open-weight multimodal model for coding & analysis |
|
|
@@ -65,7 +66,6 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
|
|
|
65
66
|
| Id (use EXACTLY this) | Name | Context | Efforts | $/1M in/out · cache read | Min plan | Best for |
|
|
66
67
|
|---|---|---|---|---|---|---|
|
|
67
68
|
| `stealth/glyph-cluster:free` | Glyph Cluster | 256K | low, medium, high, xhigh | $0/$0 · cache $0 | Go and above | stealth reasoning model in early access |
|
|
68
|
-
| `stealth/crouton-alpha` | Crouton Alpha | 1.05M | low, medium, high, xhigh, max | $0/$0 · cache $0 | Go and above | lightweight stealth model for agentic sub-tasks, 1M context |
|
|
69
69
|
## Anthropic
|
|
70
70
|
|
|
71
71
|
| Id (use EXACTLY this) | Name | Context | Efforts | $/1M in/out · cache read | Min plan | Best for |
|
|
@@ -73,8 +73,9 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
|
|
|
73
73
|
| `claude-sonnet-5-5` | Claude Sonnet 5.5 | 1M | low, medium, high, xhigh, max | $2/$10 · cache $0.1 (write $2.5) | GOAT and above | best combo of speed & intelligence (recommended) |
|
|
74
74
|
| `claude-sonnet-5` | Claude Sonnet 5 | 1M | low, medium, high, xhigh, max | $2/$10 · cache $0.2 (write $2.5) | Pro and above | prev Sonnet, still fast & capable |
|
|
75
75
|
| `claude-sonnet-4-6` | Claude Sonnet 4.6 | 1M | low, medium, high, xhigh, max | $3/$15 · cache $0.3 (write $3.75) | Pro and above | older Sonnet, still fast & capable |
|
|
76
|
-
| `claude-fable-5-
|
|
77
|
-
| `claude-fable-5` | Claude Fable 5 | 1M | low, medium, high, xhigh, max | $10/$50 · cache $
|
|
76
|
+
| `claude-fable-5-2` | Claude Fable 5.2 | 1M | low, medium, high, xhigh, max | $8/$40 · cache $0.2 (write $10) | Max | most capable for demanding reasoning & long-horizon agents |
|
|
77
|
+
| `claude-fable-5-1` | Claude Fable 5.1 | 1M | low, medium, high, xhigh, max | $10/$50 · cache $0.25 (write $12.5) | Max | prev Fable, still strong for deep reasoning & agents |
|
|
78
|
+
| `claude-fable-5` | Claude Fable 5 | 1M | low, medium, high, xhigh, max | $10/$50 · cache $1 (write $12.5) | Max | older Fable for deep reasoning & agents |
|
|
78
79
|
| `claude-opus-5-5` | Claude Opus 5.5 | 1M | low, medium, high, xhigh, max | $4/$20 · cache $0.2 (write $5) | Max | most intelligent Opus for agents and coding |
|
|
79
80
|
| `claude-opus-5` | Claude Opus 5 | 1M | low, medium, high, xhigh, max | $5/$25 · cache $0.5 (write $6.25) | Max | prev flagship, still strong for agents and coding |
|
|
80
81
|
| `claude-opus-4-8` | Claude Opus 4.8 | 1M | low, medium, high, xhigh, max | $5/$25 · cache $0.5 (write $6.25) | Max | older Opus, still strong for agents and coding |
|
|
@@ -101,6 +102,7 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
|
|
|
101
102
|
|
|
102
103
|
| Id (use EXACTLY this) | Name | Context | Efforts | $/1M in/out · cache read | Min plan | Best for |
|
|
103
104
|
|---|---|---|---|---|---|---|
|
|
105
|
+
| `google/gemini-4-carbon` | Gemini 4 Carbon | 1M | low, medium, high | $2/$10 · cache $0.1 | Pro and above | complex software engineering & sustained agent workflows |
|
|
104
106
|
| `google/gemini-4-argon` | Gemini 4 Argon | 1M | low, medium, high | $2/$10 · cache $0.1 | Pro and above | multimodal reasoning for documents and agent workflows |
|
|
105
107
|
| `google/gemini-3.8-flash` | Gemini 3.8 Flash | 1M | low, medium, high | $1.5/$7.5 · cache $0.15 | GOAT and above | newest Gemini Flash, improved core reasoning |
|
|
106
108
|
| `google/gemini-3.7-flash` | Gemini 3.7 Flash | 1.05M | low, medium, high | $1.5/$7.5 · cache $0.15 (write $0.08334) | GOAT and above | higher-quality coding & agentic workflows, fewer tokens |
|
|
@@ -124,6 +126,7 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
|
|
|
124
126
|
| `meta/muse-spark-1.3-contributor` | Muse Spark 1.3 Contributor | 1.05M | low, medium, high, xhigh | $0.1/$0.2 · cache $0.002 | Go and above | Muse Spark 1.3 at up to 95% off |
|
|
125
127
|
| `meta/muse-spark-open` | Muse Spark Open | 1.05M | low, medium, high | $1.25/$4.25 · cache $0.15 | Go and above | open-weight Muse Spark for coding and agentic workflows |
|
|
126
128
|
| `meta/muse-wonder-1.0` | Muse Wonder | 1.05M | low, medium, high, xhigh | $4/$20 · cache $0.2 | Max | frontier coding, long-running agents and advanced computer use |
|
|
129
|
+
| `meta/muse-ember` | Muse Ember | 1.05M | low, medium, high, xhigh, max | $0.1/$0.5 · cache $0.004 | Go and above | multimodal reasoning for conversational and agentic work |
|
|
127
130
|
## xAI
|
|
128
131
|
|
|
129
132
|
| Id (use EXACTLY this) | Name | Context | Efforts | $/1M in/out · cache read | Min plan | Best for |
|
|
@@ -262,6 +262,7 @@ Valid model ids (the /model catalog — use these EXACT ids):
|
|
|
262
262
|
- claude-sonnet-5-5
|
|
263
263
|
- claude-sonnet-5
|
|
264
264
|
- claude-sonnet-4-6
|
|
265
|
+
- claude-fable-5-2
|
|
265
266
|
- claude-fable-5-1
|
|
266
267
|
- claude-fable-5
|
|
267
268
|
- claude-opus-5-5
|
|
@@ -288,6 +289,7 @@ Valid model ids (the /model catalog — use these EXACT ids):
|
|
|
288
289
|
- deepseek/deepseek-v4-flash-fast
|
|
289
290
|
- deepseek/deepseek-v4.1-flash
|
|
290
291
|
- deepseek/deepseek-v4.1-flash-fast
|
|
292
|
+
- deepseek/deepseek-v4.1-flash-ultrafast
|
|
291
293
|
- moonshotai/Kimi-K3.1-Pro
|
|
292
294
|
- moonshotai/Kimi-K3
|
|
293
295
|
- moonshotai/Kimi-K2.7-Code
|
|
@@ -326,6 +328,7 @@ Valid model ids (the /model catalog — use these EXACT ids):
|
|
|
326
328
|
- stepfun/Step-3.5-Flash
|
|
327
329
|
- tencent/hy3-paid
|
|
328
330
|
- tencent/hy4-preview
|
|
331
|
+
- google/gemini-4-carbon
|
|
329
332
|
- google/gemini-4-argon
|
|
330
333
|
- google/gemini-3.8-flash
|
|
331
334
|
- google/gemini-3.7-flash
|
|
@@ -338,9 +341,8 @@ Valid model ids (the /model catalog — use these EXACT ids):
|
|
|
338
341
|
- nvidia/nemotron-3.5-super-vl
|
|
339
342
|
- thinkingmachines/inkling
|
|
340
343
|
- thinkingmachines/inkling-small
|
|
344
|
+
- thinkingmachines/inkling-2-small:free
|
|
341
345
|
- stealth/glyph-cluster:free
|
|
342
|
-
- stealth/crouton-alpha
|
|
343
|
-
- reflection/beam:free
|
|
344
346
|
- inclusionai/ling-3.1-flash
|
|
345
347
|
- inclusionai/ling-3.1-flash-1019
|
|
346
348
|
- meta/muse-spark-1.1
|
|
@@ -350,6 +352,7 @@ Valid model ids (the /model catalog — use these EXACT ids):
|
|
|
350
352
|
- meta/muse-spark-1.3-contributor
|
|
351
353
|
- meta/muse-spark-open
|
|
352
354
|
- meta/muse-wonder-1.0
|
|
355
|
+
- meta/muse-ember
|
|
353
356
|
- xai/grok-4.5
|
|
354
357
|
- xai/grok-4.6
|
|
355
358
|
- xai/grok-4.7
|
|
@@ -19,6 +19,8 @@ The executable registry is authoritative. Run `cmd config list --scope effective
|
|
|
19
19
|
| `codemode` | user | enum | `mcp`, `tools`, `off` | The codemode tool lets the model write a short code script that can call several tools and run it in one go: fewer round trips, less raw tool output in context. Scripts never edit, write, or run commands. |
|
|
20
20
|
| `branch-summary-skip-prompt` | user | boolean | `true`, `false` | Never ask about summarizing when switching branches in /tree. |
|
|
21
21
|
| `background-tasks-use-free-model` | user | boolean | `true`, `false` | When your session model is free, switch background tasks (compaction, titles, tool descriptions, etc.) to the free model. Disable it to keep using your saved feature-model choices. |
|
|
22
|
+
| `subagent-max-turns` | user | enum | `25`, `50`, `100`, `default`, `500`, `1000`, or any whole number from 1 to 1000 | Turns a delegated sub-agent may take before it stops (an agent file's own maxTurns wins). Saved to ~/.commandcode/settings.json; a project settings.json can only lower it. |
|
|
23
|
+
| `feature-model:subagents` | user | enum | known model id or `default` | Model for sub-agents that do not pin their own. Unset, they run on your current model. Value: a model id, or "default" to reset so it follows your current model. |
|
|
22
24
|
| `default-export-format` | user | enum | `html`, `jsonl`, `md` | Format a bare /export (no format or path) writes — an explicit /export html\|jsonl\|md\|<path> always overrides. |
|
|
23
25
|
| `default-share-gist-format` | user | enum | `html`, `jsonl`, `md` | Format a bare /share gist (no format argument) posts — an explicit /share gist html\|jsonl\|md always overrides. |
|
|
24
26
|
| `taste-learning` | user | boolean | `true`, `false` | Learn your coding style from your sessions, user-wide (same setting as /taste). |
|
|
@@ -29,7 +31,7 @@ The executable registry is authoritative. Run `cmd config list --scope effective
|
|
|
29
31
|
| `feature-model:titleGeneration` | user | enum | known model id or `default` | Names your sessions after the first exchange. Value: a model id, or "default" to reset to the curated default. |
|
|
30
32
|
| `feature-model:compaction` | user | enum | known model id or `default` | Summarizes long conversations when context fills up. Value: a model id, or "default" to reset to the curated default. |
|
|
31
33
|
| `feature-model:toolDescription` | user | enum | known model id or `default` | Writes the one-line command summaries on permission prompts. Value: a model id, or "default" to reset to the curated default. |
|
|
32
|
-
| `feature-model:tasteLearning` | user | enum | known model id or `default` | Learns your coding style from your sessions. Value: a model id, or "default" to reset
|
|
34
|
+
| `feature-model:tasteLearning` | user | enum | known model id or `default` | Learns your coding style from your sessions. Value: a model id, or "default" to reset so it follows your current model. |
|
|
33
35
|
| `feature-model:tasteOnboarding` | user | enum | known model id or `default` | Streams live observations during onboarding. Value: a model id, or "default" to reset to the curated default. |
|
|
34
36
|
| `feature-model:branchSummarization` | user | enum | known model id or `default` | Summarizes an abandoned branch when you jump away from it. Value: a model id, or "default" to reset to the curated default. |
|
|
35
37
|
| `feature-model:vision` | user | enum | known model id or `default` | Describes attached images so a text-only model can read them. Value: a model id, or "default" to reset to the curated default. |
|