command-code 1.8.0 → 1.9.1

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,26 @@
1
1
  # command-code
2
2
 
3
+ ## 1.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - fix(tui): /copy the whole reply, not just its last block (#3313)
8
+
9
+ ## Unreleased
10
+
11
+ ### Patch Changes
12
+
13
+ - fix: Restore colorized Edit/Write diff view in the TUI
14
+ - fix: Render the Edit diff for legacy `oldValue`/`newValue` tool calls and keep long Write previews honest when expanded
15
+
16
+ ## 1.9.0
17
+
18
+ ### Minor Changes
19
+
20
+ - feat: Add Qwen 3.8 Max
21
+ - feat: add /theme config a new "auto" theme that follows the OS theme
22
+ - fix(cli): tell users to upgrade Node instead of crashing with a raw SyntaxError
23
+
3
24
  ## 1.8.0
4
25
 
5
26
  ### Minor Changes
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ![Command Code](https://commandcode.ai/logov2/bg-dark-fg-light.png)
4
4
 
5
- **Command Code with your taste.** The coding agent that does it all. Learns the way you code. Until coding feels like thinking.
5
+ **Command Code with your taste.** The coding agent that's purpose built for open models.
6
6
 
7
7
  Builds full-stack projects. Fixes bugs. Writes tests. Refactors. All in your style. Continuously. Works with Claude, GPT, Kimi, DeepSeek, GLM, Qwen, MiniMax — frontier and open.
8
8
 
@@ -10,22 +10,25 @@ Builds full-stack projects. Fixes bugs. Writes tests. Refactors. All in your sty
10
10
 
11
11
  Check it out at [CommandCode.ai](https://commandcode.ai).
12
12
 
13
- ## Docs
14
-
15
- Read the full documentation at [CommandCode.ai/docs](https://commandcode.ai/docs).
16
-
17
- - [`/design`](https://commandcode.ai/docs/design) — Design partner for frontend interfaces
18
-
19
13
  ## Install
20
14
 
21
15
  ```bash
22
16
  npm i -g command-code
23
17
  ```
24
18
 
19
+ > Requires [Node.js](https://nodejs.org) 22 or newer (the current LTS). Check with `node -v`, here's an [upgrade guide](https://commandcode.ai/docs/troubleshooting/common-issues#upgrading-node-js).
20
+
21
+
25
22
  ## Usage
26
23
 
27
24
  ```bash
28
25
  cmd
29
26
  ```
30
27
 
28
+ > On Windows the short alias is `cmdc`, not `cmd` — `cmd` is already the built-in Windows command shell, so Command Code cannot claim that name. Everywhere these docs write `cmd`, use `cmdc` instead: `cmdc login`, `cmdc --version`, `cmdc -r`, `cmdc update`. The full name `command-code` works on every platform.
29
+
31
30
  For detailed usage, see the [docs](https://commandcode.ai/docs) and [quickstart](https://commandcode.ai/docs/quickstart).
31
+
32
+ ## Docs
33
+
34
+ Read the full documentation at [CommandCode.ai/docs](https://commandcode.ai/docs).
@@ -117,7 +117,7 @@ Every built-in command, grouped by area. Aliases are shown in parentheses on the
117
117
  | `/help` | Show available shortcuts |
118
118
  | `/hotkeys` | Show all keyboard shortcuts |
119
119
  | `/config [query]` | Search and change settings |
120
- | `/theme [dark\|light]` | Switch between dark and light themes |
120
+ | `/theme [dark\|light\|auto]` | Switch themes; `auto` matches your terminal background |
121
121
  | `/status` | Show comprehensive environment status |
122
122
  | `/changelog [all]` | See what's new in Command Code (`all` for the full history) |
123
123
  | `/courses` | Open Command Code courses in your browser |
@@ -136,6 +136,8 @@ Every built-in command, grouped by area. Aliases are shown in parentheses on the
136
136
 
137
137
  `/effort` only opens its selector when the current model supports reasoning effort levels; otherwise it prints a notice that effort isn't supported for that model.
138
138
 
139
+ `/theme` offers three values. `dark` and `light` pin a palette; `auto` — the default — automatically detects your terminal's background color at startup (OSC 11, falling back to `COLORFGBG`) and uses light or dark to match. A terminal that won't report its background falls back to dark.
140
+
139
141
  ### Commands with meaningful default actions when bare
140
142
 
141
143
  Some optional-argument commands do something useful with no argument instead of opening a picker: bare `/share` creates a share link, bare `/import` imports from all detected sources, bare `/export` exports in the default format, bare `/goal` (or `/goal status`) shows the current goal, bare `/name` shows the current session name, and bare `/plan` enters plan mode without a task.
@@ -244,7 +244,7 @@ Flags useful for headless and automated workflows:
244
244
  | `--max-turns <number>` | Maximum conversation turns in print mode (default: `100`, no upper bound) |
245
245
  | `-m, --model <model>` | Run on a specific model this session |
246
246
  | `--effort <level>` | Set reasoning effort (`low`, `medium`, `high`, …) |
247
- | `--theme <theme>` | Set the color theme (`dark` or `light`) |
247
+ | `--theme <theme>` | Set the color theme (`dark`, `light`, or `auto` to match the terminal background) |
248
248
  | `--config <key=value>` | Set any setting headlessly (repeatable) - see below |
249
249
  | `--yolo` | Allow file writes and shell commands |
250
250
  | `--auto-accept` | Start in auto-accept mode (alias for `--permission-mode auto-accept`) |
@@ -24,11 +24,12 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
24
24
  | `MiniMaxAI/MiniMax-M2.5` | MiniMax M2.5 | 200K | — | $0.3/$1.2 | cross-platform full-stack agentic dev |
25
25
  | `xiaomi/mimo-v2.5-pro` | MiMo V2.5 Pro | 1M | — | $0.435/$0.87 | high-capability long-context agentic coding |
26
26
  | `xiaomi/mimo-v2.5` | MiMo V2.5 | 1M | — | $0.14/$0.28 | efficient long-context agentic coding |
27
- | `Qwen/Qwen3.6-Max-Preview` | Qwen 3.6 Max Preview | | | $1.3/$7.8 | vibe coding & efficient agent execution |
28
- | `Qwen/Qwen3.6-Plus` | Qwen 3.6 Plus | — | — | $0.5/$3 | agentic coding & reasoning |
27
+ | `Qwen/Qwen3.8-Max` | Qwen 3.8 Max | 1M | low, medium, xhigh | $2/$6 | autonomous long-horizon coding & professional work |
29
28
  | `Qwen/Qwen3.7-Max` | Qwen 3.7 Max | 1M | — | $2.5/$7.5 | frontier coding & long-horizon agent execution |
30
29
  | `Qwen/Qwen3.7-Plus` | Qwen 3.7 Plus | 1M | — | $0.4/$1.6 | agentic coding & reasoning at lower cost |
31
30
  | `Qwen/Qwen3.7-Flash` | Qwen 3.7 Flash | 1M | — | $0.03/$0.13 | fast low-cost agentic coding & reasoning |
31
+ | `Qwen/Qwen3.6-Max-Preview` | Qwen 3.6 Max Preview | — | — | $1.3/$7.8 | vibe coding & efficient agent execution |
32
+ | `Qwen/Qwen3.6-Plus` | Qwen 3.6 Plus | — | — | $0.5/$3 | agentic coding & reasoning |
32
33
  | `stepfun/Step-3.7-Flash` | Step 3.7 Flash | 256K | — | $0.2/$1.15 | multimodal sparse-MoE reasoning |
33
34
  | `stepfun/Step-3.5-Flash` | Step 3.5 Flash | 1M | — | $0.1/$0.3 | fast sparse-MoE agentic reasoning |
34
35
  | `tencent/hy3-paid` | Tencent Hy3 | 262K | — | $0.14/$0.58 | sparse-MoE reasoning & agentic tool use |
@@ -36,7 +37,6 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
36
37
  | `thinkingmachines/inkling` | Inkling | 256K | — | $1/$4.05 | multimodal MoE reasoning |
37
38
  | `thinkingmachines/inkling-small` | Inkling Small | 1M | — | $0.5/$1.2 | lightweight MoE reasoning at lower cost and latency |
38
39
  | `poolside/laguna-s-2.1-free` | Laguna S 2.1 | 256K | — | $0/$0 | open-weight agentic coding and long-horizon work |
39
- | `inclusionai/ling-3.0-flash-free` | Ling 3.0 Flash | 256K | — | $0/$0 | fast lightweight-MoE coding & agentic work |
40
40
  ## Anthropic
41
41
 
42
42
  | Id (use EXACTLY this) | Name | Context | Efforts | $/1M in/out | Best for |
@@ -285,6 +285,7 @@ Valid model ids (the /model catalog — use these EXACT ids):
285
285
  - Qwen/Qwen3.6-Plus
286
286
  - Qwen/Qwen3.7-Max
287
287
  - Qwen/Qwen3.7-Plus
288
+ - Qwen/Qwen3.8-Max
288
289
  - Qwen/Qwen3.7-Flash
289
290
  - stepfun/Step-3.7-Flash
290
291
  - stepfun/Step-3.5-Flash