command-code 1.38.1 → 1.38.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,12 @@
1
1
  # command-code
2
2
 
3
+ ## 1.38.2
4
+
5
+ ### Patch Changes
6
+
7
+ - feat: Add `/learn` command that opens Command Code learn hub
8
+ - feat: surface invalid agent frontmatter warnings on feed
9
+
3
10
  ## 1.38.1
4
11
 
5
12
  ### Patch Changes
@@ -233,16 +233,18 @@ Reserved names (`explore`, `plan`, `review`, `general`) are used by built-in beh
233
233
 
234
234
  Only these keys are read; anything else is ignored. All except `name` are optional.
235
235
 
236
- The agent's id, the name Command Code delegates to. Defaults to the filename without `.md` (`code-reviewer.md` → `code-reviewer`). Characters outside `a-z A-Z 0-9 _ -` become `_`. Can't be a reserved name.
237
- When to use the agent. This is the text Command Code matches against, so be specific. Defaults to empty.
238
- Tools the agent may use. `"*"` grants all; otherwise a comma- or space-separated list (or a YAML array). Omit it and the agent gets no tools.
239
- Deny list applied after `tools`. Deny beats allow, so pair it with `tools: "*"` to mean "everything except these". Same format as `tools`.
240
- Model this agent always runs on: any `/model` id. See [Available models](https://commandcode.ai/docs/reference/cli/models) for the full list, or run `cmd --list-models`. Omit it (or set `model: inherit`) to follow the session model.
241
- Reasoning effort this agent runs at. Reasoning levels are model-specific. Pin/select a level that agent's model supports; an unsupported level (or a model with no effort levels) falls back to the model's default reasoning effort. Omit to use the model default.
242
- Caps the agent's loop. Default `100`.
243
- Overrides the session's permission mode for this agent. One of `default`, `auto-accept`, `bypass`, `plan`, `dont-ask`. A session already in `plan` or `bypass` wins. Defaults to inheriting the session.
244
- When `true`, every run detaches: the `agent` tool returns an `agent_id` and results come from `agent_output`.
245
- When `true`, the agent's final message is shown verbatim in the feed instead of a short "done" line. The model still receives it as the result.
236
+ | **Field** | **Type** | **Required** | **Default** | **Description** |
237
+ | --------- | -------- | ------------ | ----------- | --------------- |
238
+ | `name` | `string` | Yes | filename | Agent id Command Code delegates to. Sanitized to `a-z A-Z 0-9 _ -`; can't be a reserved name. |
239
+ | `description` | `string` | No | `""` | When to use the agent, the text Command Code matches against. Be specific. |
240
+ | `tools` | `string \| string[]` | No | none | Tools the agent may use. `"*"` grants all; otherwise a comma/space-separated list or YAML array. |
241
+ | `disallowedTools` | `string \| string[]` | No | - | Deny list applied after `tools` (deny beats allow). Same format as `tools`. |
242
+ | `model` | `string` | No | inherit | Any `/model` id. Omit or set `inherit` to follow the session model. |
243
+ | `reasoningEffort` | `string` | No | model default | Reasoning level the pinned model supports; an unsupported level falls back to the model default. |
244
+ | `maxTurns` | `integer` | No | `100` | Caps the agent's loop. |
245
+ | `permissionMode` | `string` | No | inherit | Overrides the session mode: `default`, `auto-accept`, `bypass`, `plan`, `dont-ask`. A session already in `plan`/`bypass` wins. |
246
+ | `background` | `boolean` | No | `false` | `true` detaches every run: the `agent` tool returns an `agent_id`; results come from `agent_output`. |
247
+ | `showOutput` | `boolean` | No | `false` | `true` shows the agent's final message verbatim in the feed instead of a short "done" line. |
246
248
 
247
249
  ### Tools
248
250
 
@@ -315,21 +317,6 @@ produce a complete, well-structured Markdown report as your final message.
315
317
  - Your final message is the deliverable; make it complete.
316
318
  ```
317
319
 
318
- Quick lookup:
319
-
320
- | **Field** | **Type** | **Values** | **Default** |
321
- | --------- | -------- | ---------- | ----------- |
322
- | `name` | string | id, sanitized to `a-z A-Z 0-9 _ -`; not reserved | filename |
323
- | `description` | string | any text | `""` |
324
- | `tools` | string \| list | `"*"`, or comma/space-separated ids, or a YAML list | none |
325
- | `disallowedTools` | string \| list | same format as `tools`; applied after it | - |
326
- | `model` | string | any `/model` id, or `inherit` | inherit |
327
- | `reasoningEffort` | string | reasoning level the pinned model supports | model default |
328
- | `maxTurns` | integer | positive integer | `100` |
329
- | `permissionMode` | string | `default`, `auto-accept`, `bypass`, `plan`, `dont-ask` | inherit |
330
- | `background` | boolean | `true` / `false` | `false` |
331
- | `showOutput` | boolean | `true` / `false` | `false` |
332
-
333
320
  ---
334
321
 
335
322
  ## Next steps
@@ -120,7 +120,7 @@ Every built-in command, grouped by area. Aliases are shown in parentheses on the
120
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
- | `/courses` | Open Command Code courses in your browser |
123
+ | `/learn` | Open the Command Code learn hub in your browser |
124
124
  | `/update` | Update Command Code to the latest version |
125
125
  | `/feedback [title]` (alias `/issue`) | Report a bug or share feedback — opens a prefilled GitHub issue |
126
126
  | `/trace` | Copy the current trace id; required for support debugging |
@@ -71,7 +71,7 @@ The model catalog — every id `/model`, `--model`, `model:effort` shorthand, an
71
71
 
72
72
  | Id (use EXACTLY this) | Name | Context | Efforts | $/1M in/out · cache read | Min plan | Best for |
73
73
  |---|---|---|---|---|---|---|
74
- | `google/gemini-3.7-flash` | Gemini 3.7 Flash | 1.05M | low, medium, high | $0.75/$3.75 · cache $0.075 (write $0.04167) | GOAT and above | higher-quality coding & agentic workflows, fewer tokens |
74
+ | `google/gemini-3.7-flash` | Gemini 3.7 Flash | 1.05M | low, medium, high | $1.5/$7.5 · cache $0.15 (write $0.08334) | GOAT and above | higher-quality coding & agentic workflows, fewer tokens |
75
75
  | `google/gemini-3.6-flash` | Gemini 3.6 Flash | 1M | low, medium, high | $1.5/$7.5 · cache $0.15 | Pro and above | previous Gemini Flash, still fast & capable |
76
76
  | `google/gemini-3.5-flash` | Gemini 3.5 Flash | 1M | low, medium, high | $1.5/$9 · cache $0.15 | Pro and above | Pro-level coding proficiency, parallel agentic execution |
77
77
  | `google/gemini-3.5-flash-lite` | Gemini 3.5 Flash Lite | 1M | low, medium, high | $0.3/$2.5 · cache $0.03 | Pro and above | upgraded agentic capabilities, ideal for subagents |
@@ -45,7 +45,7 @@
45
45
  - /terminal-setup: Setup VSCode keybindings
46
46
  - /login: Log in to Command Code
47
47
  - /logout: Log out of Command Code
48
- - /courses: Open Command Code courses in your browser
48
+ - /learn (courses): Open the Command Code learn hub in your browser
49
49
  - /feedback [title]: Report a bug or share feedback — opens a prefilled GitHub issue (alias: /issue)
50
50
  - /trace: Copy the current trace id; required for support debugging
51
51
  - /session-file: Show the current session id and path to the on-disk session file