command-code 1.74.1 → 1.74.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # command-code
2
2
 
3
+ ## 1.74.2
4
+
5
+ ### Patch Changes
6
+
7
+ - chore: retire the two free stealth preview models, Space Bunny Alpha and Pixel Canary
8
+
3
9
  ## 1.74.1
4
10
 
5
11
  ### Patch Changes
@@ -276,7 +276,7 @@ The `model` field takes any id you'd pass to `/model`. To find one:
276
276
 
277
277
  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
278
 
279
- Omitting `model` is the same as `model: inherit` - the agent follows the session's `/model`. Pinning a model gives the agent its own prompt cache, so a slow planner and a fast implementer don't thrash each other's.
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.
280
280
 
281
281
  ### Reasoning effort
282
282
 
@@ -75,7 +75,7 @@ Every built-in command, grouped by area. Aliases are shown in parentheses on the
75
75
 
76
76
  | **Command** | **Description** |
77
77
  | ----------------- | ---------------------------------------------------------------------------------------- |
78
- | `/model [id]` | Switch between Command Code models - `/model <id>` applies directly, bare opens a picker |
78
+ | `/model [id]` | Switch between Command Code models - `/model <id>` applies directly, bare opens a picker. For a separate model while planning and after approving, see [planning and implementation models](https://commandcode.ai/docs/settings#planning-and-implementation-models) |
79
79
  | `/effort [level]` | Set reasoning effort for the current model (levels depend on the model) |
80
80
  | `/connect` | Connect to AI providers. Command Code, [BYOK providers](./byok.md) and API keys |
81
81
  | `/login` | Log in to Command Code or a provider |
@@ -56,11 +56,6 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
56
56
  | `poolside/laguna-s-2.1-free` | Laguna S 2.1 | 256K | — | $0/$0 · cache $0 | Go and above | open-weight agentic coding and long-horizon work |
57
57
  | `inclusionai/ling-3.0-flash-sante:free` | Ling 3.0 Flash Sante | 262K | — | $0/$0 · cache $0 | Go and above | health & medicine tuned lightweight-MoE, still strong on code |
58
58
  | `inclusionai/ling-3.1-flash:free` | Ling 3.1 Flash | 262K | low, medium, high | $0/$0 · cache $0 | Go and above | hybrid-reasoning MoE for coding & tool-using agents |
59
- ## Stealth
60
-
61
- | Id (use EXACTLY this) | Name | Context | Efforts | $/1M in/out · cache read | Min plan | Best for |
62
- |---|---|---|---|---|---|---|
63
- | `stealth/space-bunny-alpha` | Space Bunny Alpha | 1M | low, medium, high, max | $0/$0 · cache $0 | Go and above | stealth model with 1M context |
64
59
  ## Anthropic
65
60
 
66
61
  | Id (use EXACTLY this) | Name | Context | Efforts | $/1M in/out · cache read | Min plan | Best for |
@@ -67,6 +67,32 @@ The usual loop: start in **plan**, explore and agree on the approach, approve th
67
67
 
68
68
  ---
69
69
 
70
+ ## A model for each phase
71
+
72
+ Planning and implementing want different things: a strong reasoner to explore and design, a fast, cheap coder to grind through the edits. Set a **planning** and an **implementation** model and Command Code switches between them for you:
73
+
74
+ - **Planning** runs while the session is in plan mode: exploring the codebase and writing the plan.
75
+ - **Implementation** takes over the moment you approve the plan, mid-run, on the very next turn.
76
+
77
+ ```json
78
+ {
79
+ "featureModels": {
80
+ "planning": "zai-org/glm-5.3",
81
+ "implementation": "deepseek/deepseek-v4-pro"
82
+ }
83
+ }
84
+ ```
85
+
86
+ Put that in `~/.commandcode/config.json` or any `settings.json` layer, or pick them in `/config` → **Feature models** → **Planning** / **Implementation**. Both are optional; an unset one runs on your session model.
87
+
88
+ The status row shows which phase you are in, `planning: GLM-5.3` then `implementing: DeepSeek V4 Pro (latest)`, and approving posts `Plan handoff — now implementing with deepseek-v4-pro.` Leaving plan mode **without** approving (`shift+tab`, `/mode:default`, or `/mode:accept-edits`) keeps you on the session model, and picking anything with `/model` stands both lanes down until the next planning round.
89
+
90
+ **Planning and implementation models**
91
+ When each lane applies, how it interacts with `/model`, `/effort`, and
92
+ sub-agents, and what happens when a lane's model isn't on your plan.
93
+
94
+ ---
95
+
70
96
  ## Plan review
71
97
 
72
98
  Plan review turns a plan into a first-class, persistent artifact you can read, comment on, revise, and approve, instead of a block of text that scrolls away.
@@ -174,7 +200,7 @@ Trigger a verb by chord from anywhere, or arrow onto it and press `Enter`.
174
200
  | Verb | Chord | What it does |
175
201
  |------|-------|--------------|
176
202
  | **Submit review** | `ctrl+r` | The agent takes your pending comments, revises the plan, and re-presents it for another round. Only shown when you have pending comments. |
177
- | **Approve** *(approval surface)* | `ctrl+a` | Executes the plan and begins implementation. |
203
+ | **Approve** *(approval surface)* | `ctrl+a` | Executes the plan and begins implementation, on your [implementation model](#a-model-for-each-phase) if one is set. |
178
204
  | **Execute plan** *(browser surface)* | `ctrl+e` | Executes the plan as written; from the `/plans` browser this is itself an approval. |
179
205
  | **Cancel** / **Back** | `esc` | Ends the review. In plan mode the plan stays saved and you keep refining; from the browser it returns to the list. |
180
206
 
@@ -253,4 +279,5 @@ Because a canceled plan is recorded rather than discarded, planning never feels
253
279
 
254
280
  - [Permissions](./permissions.md): the rule syntax and decision model behind every mode.
255
281
  - [Checkpoints](./sessions.md): rewind after an approved plan is implemented.
282
+ - [Planning and implementation models](https://commandcode.ai/docs/settings#planning-and-implementation-models): the full rules for the per-phase models.
256
283
  - [Tools](./tools.md) and [Slash Commands](./custom-slash-commands.md): the full references.
@@ -335,8 +335,6 @@ Valid model ids (the /model catalog — use these EXACT ids):
335
335
  - poolside/laguna-s-2.1-free
336
336
  - inclusionai/ling-3.0-flash-sante:free
337
337
  - inclusionai/ling-3.1-flash:free
338
- - stealth/space-bunny-alpha
339
- - stealth/pixel-canary
340
338
  A BYO-provider id (from a configured custom provider) also works and is passed through as-is.
341
339
 
342
340
  WHEN THE USER ASKS YOU TO CREATE AN AGENT (e.g. "make a changelog agent with a cheap model"):