command-code 1.88.5 → 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 CHANGED
@@ -1,5 +1,17 @@
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
+
3
15
  ## 1.88.5
4
16
 
5
17
  ### 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 follow the session model. |
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 | `100` | Caps the agent's loop. |
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 follows the model the conversation is running on: the session's `/model`, or the [planning or implementation model](https://commandcode.ai/docs/settings#planning-and-implementation-models) while one is active. Pinning a model gives the agent its own prompt cache, so a slow planner and a fast implementer don't thrash each other's.
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 100)
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
@@ -57,7 +57,7 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
57
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 |
58
58
  | `thinkingmachines/inkling` | Inkling | 256K | — | $1/$4.05 · cache $0.17 | Go and above | multimodal MoE reasoning |
59
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 |
60
- | `reflection/beam:free` | Beam 1.0 | 1.05M | low, medium, high, xhigh, max | $0/$0 · cache $0 | Go and above | reasoning model for coding and agentic workflows |
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 |
61
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 |
62
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 |
63
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 |
@@ -66,7 +66,6 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
66
66
  | Id (use EXACTLY this) | Name | Context | Efforts | $/1M in/out · cache read | Min plan | Best for |
67
67
  |---|---|---|---|---|---|---|
68
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 |
69
- | `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 |
70
69
  ## Anthropic
71
70
 
72
71
  | Id (use EXACTLY this) | Name | Context | Efforts | $/1M in/out · cache read | Min plan | Best for |
@@ -74,8 +73,9 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
74
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) |
75
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 |
76
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 |
77
- | `claude-fable-5-1` | Claude Fable 5.1 | 1M | low, medium, high, xhigh, max | $10/$50 · cache $0.25 (write $12.5) | Max | most capable for demanding reasoning & long-horizon agents |
78
- | `claude-fable-5` | Claude Fable 5 | 1M | low, medium, high, xhigh, max | $10/$50 · cache $1 (write $12.5) | Max | prev Fable, still strong for deep reasoning & agents |
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 |
79
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 |
80
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 |
81
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 |
@@ -102,6 +102,7 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
102
102
 
103
103
  | Id (use EXACTLY this) | Name | Context | Efforts | $/1M in/out · cache read | Min plan | Best for |
104
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 |
105
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 |
106
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 |
107
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 |
@@ -125,6 +126,7 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
125
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 |
126
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 |
127
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 |
128
130
  ## xAI
129
131
 
130
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
@@ -327,6 +328,7 @@ Valid model ids (the /model catalog — use these EXACT ids):
327
328
  - stepfun/Step-3.5-Flash
328
329
  - tencent/hy3-paid
329
330
  - tencent/hy4-preview
331
+ - google/gemini-4-carbon
330
332
  - google/gemini-4-argon
331
333
  - google/gemini-3.8-flash
332
334
  - google/gemini-3.7-flash
@@ -339,9 +341,8 @@ Valid model ids (the /model catalog — use these EXACT ids):
339
341
  - nvidia/nemotron-3.5-super-vl
340
342
  - thinkingmachines/inkling
341
343
  - thinkingmachines/inkling-small
344
+ - thinkingmachines/inkling-2-small:free
342
345
  - stealth/glyph-cluster:free
343
- - stealth/crouton-alpha
344
- - reflection/beam:free
345
346
  - inclusionai/ling-3.1-flash
346
347
  - inclusionai/ling-3.1-flash-1019
347
348
  - meta/muse-spark-1.1
@@ -351,6 +352,7 @@ Valid model ids (the /model catalog — use these EXACT ids):
351
352
  - meta/muse-spark-1.3-contributor
352
353
  - meta/muse-spark-open
353
354
  - meta/muse-wonder-1.0
355
+ - meta/muse-ember
354
356
  - xai/grok-4.5
355
357
  - xai/grok-4.6
356
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 to the curated default. |
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. |