command-code 1.86.2 → 1.87.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 +18 -0
- package/dist/bundled/command-code-knowledge/reference/custom-slash-commands.md +16 -0
- package/dist/bundled/command-code-knowledge/reference/headless.md +1 -1
- package/dist/bundled/command-code-knowledge/reference/product-help.md +2 -1
- 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,23 @@
|
|
|
1
1
|
# command-code
|
|
2
2
|
|
|
3
|
+
## 1.87.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- feat: Add /btw to ask a side question mid-turn
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- fix: load AGENTS.md only once when launched from home directory
|
|
12
|
+
- fix: cmd --help now lists every `--permission-mode` value including aliases
|
|
13
|
+
- fix: planning/implementing phase chip no longer takes a line of its own when /statusline off
|
|
14
|
+
|
|
15
|
+
## 1.86.3
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- fix: ctrl+b/ctrl+f move the cursor and ctrl+d/alt+d delete forward in the input
|
|
20
|
+
|
|
3
21
|
## 1.86.2
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -63,6 +63,7 @@ Every built-in command, grouped by area. Aliases are shown in parentheses on the
|
|
|
63
63
|
| `/plan-review` | Open this session's latest plan in review |
|
|
64
64
|
| `/goal <objective>\|clear\|status` | Set an objective for the agent to work towards autonomously |
|
|
65
65
|
| `/todos` | Manage the session todo list (needs the `todos` mod: `cmd mods enable todos`) |
|
|
66
|
+
| `/btw <question>` | Ask a quick side question mid-turn |
|
|
66
67
|
| `/review [pr-number]` | Review a pull request |
|
|
67
68
|
| `/pr-comments` | Fetch all PR comments for current branch |
|
|
68
69
|
|
|
@@ -155,6 +156,7 @@ Most commands are **blocked mid-turn** - mode flips, session switches, model cha
|
|
|
155
156
|
- `/copy` - clipboard only
|
|
156
157
|
- `/todos` (also `ctrl+x`) - edits local todo state, most useful mid-turn while a plan is being driven (needs the `todos` mod enabled)
|
|
157
158
|
- `/statusline off`, `/statusline on`, `/statusline reset` - a local display preference (bare `/statusline` opens its editor once the turn ends)
|
|
159
|
+
- `/btw <question>` - a side question answered in its own panel; the running turn keeps going underneath
|
|
158
160
|
- `/exit` / `/quit` - always available
|
|
159
161
|
- `/goal clear` - stops the goal loop; the current step finishes, then the loop stops. Setting a **new** goal mid-turn is refused with a busy notice.
|
|
160
162
|
|
|
@@ -292,6 +294,20 @@ A layout saved by a newer version of Command Code is never overwritten: the row
|
|
|
292
294
|
|
|
293
295
|
The row doesn't watch the file. A hand edit, or a save from another Command Code window, shows up the next time you open `/statusline`, run `/statusline off`, `on` or `reset`, or restart.
|
|
294
296
|
|
|
297
|
+
### `/btw` in detail
|
|
298
|
+
|
|
299
|
+
`/btw <question>` asks a quick question about your current work without adding to the conversation. The answer sees the full conversation so far, including the prompt and tool results of a turn that is still running. It has **no tools**: it cannot read files or run commands, and if the model tries to call one anyway the answer says nothing was run.
|
|
300
|
+
|
|
301
|
+
Text and images pasted with the question are included. The question and answer never enter the conversation history or the session file, and each `/btw` stands alone.
|
|
302
|
+
|
|
303
|
+
You can run `/btw` while the agent is working; it does not interrupt the turn. The answer opens in a panel above the input:
|
|
304
|
+
|
|
305
|
+
- `Esc` (or `Ctrl+C`) - dismiss (an answer still streaming is cancelled); other typing is ignored until you dismiss
|
|
306
|
+
- `↑`/`↓` - scroll a long answer
|
|
307
|
+
- `c` - copy the answer as raw Markdown
|
|
308
|
+
|
|
309
|
+
Asking a new `/btw` replaces the one on screen. If the conversation is too long for a side question, the panel suggests `/compact`. `/btw` is terminal-only: it is not available from remote control or sandbox sessions.
|
|
310
|
+
|
|
295
311
|
### `/rc` in detail
|
|
296
312
|
|
|
297
313
|
Bare `/rc` opens the picker: platform, setup, permission mode. `/rc default`, `/rc auto-accept` and `/rc yolo` connect straight into a mode. `/rc status` reports what is on, `/rc off` disconnects, and `/rc off clear` also deletes the bot's own messages. `/rc` is refused when the model asks for it and when it arrives from the chat, so the bot cannot change its own token or allowlist. See [`/rc`](https://commandcode.ai/docs/remote-control) for setup and what the chat can send.
|
|
@@ -301,7 +301,7 @@ Flags useful for headless and automated workflows:
|
|
|
301
301
|
| `--skip-onboarding` | Skip taste onboarding (for CI/automated runs) |
|
|
302
302
|
| `-t, --trust` | Auto-trust project (skip initial permission prompt) |
|
|
303
303
|
| `--plan` | Start in plan mode (read-only exploration) |
|
|
304
|
-
| `--permission-mode <mode>` | Set permission mode: `
|
|
304
|
+
| `--permission-mode <mode>` | Set permission mode: `default`, `plan`, `accept-edits`, `yolo`, `dont-ask` (`auto-accept`, `bypass`, and legacy `standard` accepted as aliases) |
|
|
305
305
|
|
|
306
306
|
---
|
|
307
307
|
|
|
@@ -57,6 +57,7 @@
|
|
|
57
57
|
- /todos: Manage the session todo list — c completes an item, x removes it, a completes all (needs the `todos` mod: `cmd mods enable todos`)
|
|
58
58
|
- /loop [interval] [task]: Re-run a task on fixed intervals, or let the agent pace itself
|
|
59
59
|
- /rc: Remote-control this session from Telegram or Discord
|
|
60
|
+
- /btw <question>: Ask a quick side question mid-turn — sees the conversation, has no tools, and never enters the history
|
|
60
61
|
- /plan [task]: Enter plan mode; `/plan <task>` plans that task
|
|
61
62
|
- /mode [name]: Show or switch the permission mode — /mode [default|accept-edits|plan]
|
|
62
63
|
- /mode:default: Switch to default mode (prompt before edits/commands)
|
|
@@ -132,7 +133,7 @@
|
|
|
132
133
|
- --list-models: List the models available for use
|
|
133
134
|
- --local-only: For BYOK: local-only with your BYOK providers, no Command Code traffic (same as CMD_LOCAL_ONLY=1)
|
|
134
135
|
- --plan: Start in plan mode
|
|
135
|
-
- --permission-mode <mode>: Set permission mode (
|
|
136
|
+
- --permission-mode <mode>: Set permission mode (default, plan, accept-edits, yolo, dont-ask)
|
|
136
137
|
- --accept-edits: Start in accept edits mode
|
|
137
138
|
- --yolo: Bypass all permission prompts (alias for --dangerously-skip-permissions)
|
|
138
139
|
- --add-dir <directory>: Add directory to workspace context
|