command-code 1.62.0 → 1.63.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.63.0
4
+
5
+ ### Minor Changes
6
+
7
+ - feat: add Opus 5.5
8
+
9
+ ## 1.62.1
10
+
11
+ ### Patch Changes
12
+
13
+ - feat: typesafe/jev support on headless and provider api
14
+
3
15
  ## 1.62.0
4
16
 
5
17
  ### Minor Changes
@@ -217,6 +217,39 @@ fi
217
217
 
218
218
  ---
219
219
 
220
+ ## Decision models (typesafe/jev)
221
+
222
+ `typesafe/jev` is available on the headless mode as a decision model. It runs headless, on your normal login, and it is free through September 24, 2026 (end of day UTC); from September 25 it bills $0.042 per 1M input tokens at cost, and everything else is free.
223
+
224
+ 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).
225
+
226
+ Here is an example of how to run it headlessly with cmd:
227
+
228
+ ```bash
229
+ cmd -p '{
230
+ "state": {"diff": "- if (user.isAdmin)\n+ if (true)"},
231
+ "questions": {
232
+ "risky": {"type": "noul", "instructions": "Does this weaken an authorization check?"},
233
+ "category": {"type": "choice", "instructions": "Which kind of change is this?", "criteria": {"security": "auth or secrets", "bugfix": "wrong behavior", "refactor": "no behavior change"}}
234
+ }
235
+ }' -m typesafe/jev
236
+ ```
237
+
238
+ ```json
239
+ {
240
+ "model": "typesafe/jev",
241
+ "answers": {
242
+ "risky": {"type": "noul", "noul": 0.93},
243
+ "category": {"type": "choice", "choice": "security", "confidence": 0.81, "probabilities": {"security": 0.8, "bugfix": 0.15, "refactor": 0.05}}
244
+ },
245
+ "usage": {"input_tokens": 360, "output_tokens": 57}
246
+ }
247
+ ```
248
+
249
+ Interactive use is refused, since Jev is not a chat model. You can find the full request and response reference on the [Provider API page](https://commandcode.ai/docs/provider#decision-models-typesafe-jev).
250
+
251
+ ---
252
+
220
253
  ## Shell script
221
254
 
222
255
  ```bash
@@ -299,6 +332,7 @@ scriptable automatically. Confirmations print to stderr, keeping `-p` stdout cle
299
332
  | **No interactive prompts** | No keyboard shortcuts or interactive UI. Slash commands aren't typed here - use flags instead (see [Configuring settings](#configuring-settings)); session-lifecycle commands like `/clear` and `/reload` have no meaning in one-shot mode |
300
333
  | **No resume picker** | A bare `--resume` errors in print mode; resume by explicit id or use `--continue` |
301
334
  | **Stdin timeout** | Piped stdin times out after 30 seconds if no data is received |
335
+ | **Decision models are headless only** | `typesafe/jev` answers typed questions, not chat, so it runs with `-p` only (see [Decision model: Jev](#decision-models-typesafe-jev)) |
302
336
 
303
337
  ---
304
338
 
@@ -62,8 +62,9 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
62
62
  | `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 | prev Sonnet, still fast & capable |
63
63
  | `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 |
64
64
  | `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 |
65
- | `claude-opus-5` | Claude Opus 5 | 1M | low, medium, high, xhigh, max | $5/$25 · cache $0.5 (write $6.25) | Max | most intelligent Opus for agents and coding |
66
- | `claude-opus-4-8` | Claude Opus 4.8 | 1M | low, medium, high, xhigh, max | $5/$25 · cache $0.5 (write $6.25) | Max | prev flagship, still strong for agents and coding |
65
+ | `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 |
66
+ | `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 |
67
+ | `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 |
67
68
  | `claude-opus-4-7` | Claude Opus 4.7 | 1M | low, medium, high, xhigh, max | $5/$25 · cache $0.5 (write $6.25) | Max | older Opus, still strong for agents and coding |
68
69
  | `claude-haiku-4-5-20251001` | Claude Haiku 4.5 | 200K | — | $1/$5 · cache $0.1 (write $1.25) | Pro and above | fastest & most compact, great for quick tasks |
69
70
  ## OpenAI
@@ -253,6 +253,7 @@ Valid model ids (the /model catalog — use these EXACT ids):
253
253
  - claude-sonnet-4-6
254
254
  - claude-fable-5-1
255
255
  - claude-fable-5
256
+ - claude-opus-5-5
256
257
  - claude-opus-5
257
258
  - claude-opus-4-8
258
259
  - claude-opus-4-7