command-code 1.61.0 → 1.62.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 +13 -0
- package/dist/bundled/command-code-knowledge/reference/headless.md +34 -0
- package/dist/bundled/command-code-knowledge/reference/models.md +3 -0
- package/dist/bundled/command-code-knowledge/reference/product-help.md +3 -0
- package/dist/cli.mjs +5 -5
- package/package.json +1 -1
- package/vsix/commandcode-vscode.vsix +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# command-code
|
|
2
2
|
|
|
3
|
+
## 1.62.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- feat: typesafe/jev support on headless and provider api
|
|
8
|
+
|
|
9
|
+
## 1.62.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- feat: add mimo v2.6 flash
|
|
14
|
+
- feat: add mimo v2.6 pro and pro ultraspeed
|
|
15
|
+
|
|
3
16
|
## 1.61.0
|
|
4
17
|
|
|
5
18
|
### 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 for a limited time.
|
|
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
|
|
|
@@ -28,6 +28,9 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
|
|
|
28
28
|
| `MiniMaxAI/MiniMax-M3` | MiniMax M3 | 1M | low, medium, high | $0.3/$1.2 · cache $0.06 | Go and above | frontier coding, agents & native multimodality |
|
|
29
29
|
| `MiniMaxAI/MiniMax-M2.7` | MiniMax M2.7 | — | — | $0.3/$1.2 · cache $0.06 | Go and above | end-to-end software engineering agent |
|
|
30
30
|
| `MiniMaxAI/MiniMax-M2.5` | MiniMax M2.5 | 200K | — | $0.3/$1.2 · cache $0.03 | Go and above | cross-platform full-stack agentic dev |
|
|
31
|
+
| `xiaomi/mimo-v2.6-pro` | MiMo V2.6 Pro | 1.05M | — | $0.435/$0.87 · cache $0.0036 | Go and above | flagship multimodal agentic coding with 1M context |
|
|
32
|
+
| `xiaomi/mimo-v2.6-pro-ultraspeed` | MiMo V2.6 Pro UltraSpeed | 1.05M | — | $4.35/$8.7 · cache $0.036 | GOAT and above | low-latency serving tier of MiMo V2.6 Pro |
|
|
33
|
+
| `xiaomi/mimo-v2.6-flash` | MiMo V2.6 Flash | 1.05M | — | $0.14/$0.28 · cache $0.0028 | Go and above | efficient multimodal agentic coding with 1M context |
|
|
31
34
|
| `xiaomi/mimo-v2.5-pro` | MiMo V2.5 Pro | 1M | — | $0.435/$0.87 · cache $0.0036 | Go and above | high-capability long-context agentic coding |
|
|
32
35
|
| `xiaomi/mimo-v2.5` | MiMo V2.5 | 1M | — | $0.14/$0.28 · cache $0.0028 | Go and above | efficient long-context agentic coding |
|
|
33
36
|
| `Qwen/Qwen3.8-Omni-Flash` | Qwen 3.8 Omni Flash | 1M | low, medium, xhigh | $0.15/$0.47 · cache $0.016 | Go and above | omni-modal understanding & multimedia agentic work |
|
|
@@ -287,6 +287,9 @@ Valid model ids (the /model catalog — use these EXACT ids):
|
|
|
287
287
|
- MiniMaxAI/MiniMax-M3
|
|
288
288
|
- MiniMaxAI/MiniMax-M2.7
|
|
289
289
|
- MiniMaxAI/MiniMax-M2.5
|
|
290
|
+
- xiaomi/mimo-v2.6-pro
|
|
291
|
+
- xiaomi/mimo-v2.6-pro-ultraspeed
|
|
292
|
+
- xiaomi/mimo-v2.6-flash
|
|
290
293
|
- xiaomi/mimo-v2.5-pro
|
|
291
294
|
- xiaomi/mimo-v2.5
|
|
292
295
|
- Qwen/Qwen3.6-Max-Preview
|