command-code 1.93.5 → 1.93.6

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,12 @@
1
1
  # command-code
2
2
 
3
+ ## 1.93.6
4
+
5
+ ### Patch Changes
6
+
7
+ - feat: add `/autocompact` to set the auto-compaction point per model or for all models (Full window, 512K/256K/128K, or a custom count like `/autocompact 400k`).
8
+ - feat: `cmd acp` reports each turn's own tokens in `usage` (session total in `_meta.sessionUsage`) and adds the usage-limit window and `resetsAt` to run errors.
9
+
3
10
  ## 1.93.5
4
11
 
5
12
  ### Patch Changes
@@ -46,6 +46,7 @@ Every built-in command, grouped by area. Aliases are shown in parentheses on the
46
46
  | --------------- | -------------------------------------------- |
47
47
  | `/compact` | Compact the conversation history |
48
48
  | `/compact-mode` | Select a compact mode to compact sessions |
49
+ | `/autocompact` | Choose when auto-compaction kicks in, per model |
49
50
  | `/context` | Show context window usage and breakdown |
50
51
  | `/memory` | Manage Command Code memory |
51
52
  | `/init` | Initialize AGENTS.md for this project |
@@ -49,7 +49,7 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
49
49
  | `Qwen/Qwen3.6-Max-Preview` | Qwen 3.6 Max Preview | — | — | $1.3/$7.8 · cache $0.26 (write $1.63) | Go and above | vibe coding & efficient agent execution |
50
50
  | `Qwen/Qwen3.6-Plus` | Qwen 3.6 Plus | — | — | $0.5/$3 · cache $0.1 | Go and above | agentic coding & reasoning |
51
51
  | `meituan/LongCat-2.0` | LongCat 2.0 | 1.05M | — | $0.3/$1.2 · cache $0.006 | Go and above | trillion-parameter agentic coding with 1M context |
52
- | `stepfun/Step-5-Preview` | Step 5 Preview | 1M | low, medium, high | $1/$2.7 · cache $0.05 | Go and above | 600B sparse-MoE agentic coding with 1M context |
52
+ | `stepfun/Step-5` | Step 5 | 1M | low, medium, high, xhigh, max | $1/$2.7 · cache $0.1 | GOAT and above | flagship agentic coding with 1M context |
53
53
  | `stepfun/Step-3.7-Flash` | Step 3.7 Flash | 256K | — | $0.2/$1.15 · cache $0.04 | Go and above | multimodal sparse-MoE reasoning |
54
54
  | `stepfun/Step-3.5-Flash` | Step 3.5 Flash | 262K | — | $0.09/$0.3 · cache $0.02 | Go and above | fast sparse-MoE agentic reasoning |
55
55
  | `tencent/hy3-paid` | Tencent Hy3 | 262K | — | $0.14/$0.58 · cache $0.035 | Go and above | sparse-MoE reasoning & agentic tool use |
@@ -40,6 +40,7 @@
40
40
  - /connect: Connect to AI providers. Command Code, BYOK providers and API keys
41
41
  - /compact: Compact the conversation history
42
42
  - /compact-mode: Select a compact mode to compact sessions
43
+ - /autocompact [400k|full|reset]: Choose when auto-compaction kicks in, per model or for all models (a token ceiling, capped at 90% of each window)
43
44
  - /config: Search and change settings, including which model runs each built-in task
44
45
  - /context: Show context window usage and breakdown
45
46
  - /ide: Connect IDE to share your open file and selected lines
@@ -326,7 +327,7 @@ Valid model ids (the /model catalog — use these EXACT ids):
326
327
  - Qwen/Qwen3.6-Max-Preview
327
328
  - Qwen/Qwen3.6-Plus
328
329
  - meituan/LongCat-2.0
329
- - stepfun/Step-5-Preview
330
+ - stepfun/Step-5
330
331
  - stepfun/Step-3.7-Flash
331
332
  - stepfun/Step-3.5-Flash
332
333
  - tencent/hy3-paid
@@ -10,6 +10,7 @@ The executable registry is authoritative. Run `cmd config list --scope effective
10
10
  | `permissions.defaultMode` | user | enum | `default`, `plan`, `auto-accept`, `dont-ask` | Default permission mode for tool usage. A long-lived host may also apply the change to its current session. "bypass" cannot be set here. |
11
11
  | `theme` | user | enum | `dark`, `light`, `auto` | Terminal color theme (same setting as /theme). Auto automatically detects your terminal background and uses light or dark to match. |
12
12
  | `compact-mode` | user | enum | `default`, `fast` | Auto-compact aggressiveness when context fills up (same setting as /compact-mode). |
13
+ | `auto-compact` | user | enum | `full`, `512k`, `256k`, `128k`, or any token count from 128k to 10m (e.g. 400k) | Where auto-compaction summarizes, on every model: a token ceiling, capped at 90% of each model's window. Per-model choices from /autocompact win over it. Saved to ~/.commandcode/settings.json. |
13
14
  | `tree-filter-mode` | user | enum | `default`, `no-tools`, `user-only`, `labeled-only`, `all` | Default filter when opening /tree. |
14
15
  | `reduced-motion` | user | boolean | `true`, `false` | Turn on to stop the working status text from shimmering and keep the launch-day intro from playing. Off unless you turn it on. |
15
16
  | `on-demand-tool-descriptions` | user | boolean | `true`, `false` | Explain shell commands on permission prompts only when you press ctrl+e (default). Turn off to generate every explanation upfront. |