You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 25083b5
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/tools/slash-commands.md
+10-8Lines changed: 10 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ plugins.
171
171
<Accordiontitle="Sessions and runs">
172
172
| Command | Description |
173
173
| --- | --- |
174
-
| `/new [model]` | Archive the current session and start a fresh one; in Control UI, optional text names a newly created dashboard session instead |
174
+
| `/new [model]` | Archive the current session and start a fresh one; Control UI also supports `/new --name <title>` for a labeled dashboard session |
175
175
| `/reset [soft [message]]` | Reset the current session in place. `soft` keeps the transcript, drops reused CLI backend session ids, and reruns startup |
176
176
| `/name <title>` | Name or rename the current session. Omit the title to see the current name and a suggestion |
177
177
| `/compact [instructions]` | Compact the session context. See [Compaction](/concepts/compaction) |
@@ -183,12 +183,14 @@ plugins.
183
183
184
184
<Note>
185
185
Control UI intercepts typed `/new` to create and switch to a fresh
186
-
dashboard session. When `/new <name>` creates a new dashboard session,
187
-
`<name>` becomes its session name; use `/model` to change models and
188
-
`/name <title>` to rename the current session. When `session.dmScope:
189
-
"main"` is configured and the current parent is the agent's main session,
190
-
typed `/new` resets the main session in place instead. Typed `/reset`
191
-
still runs the Gateway's in-place reset.
186
+
dashboard session. Use `/new --name <title>` to name the new session;
187
+
quotes around a multi-word title are optional. Bare `/new` and other
188
+
`/new <text>` forms keep the existing anonymous dashboard-session
189
+
behavior. Use `/model` to change models and `/name <title>` to rename the
190
+
current session. When `session.dmScope: "main"` is configured and the
191
+
current parent is the agent's main session, typed `/new` resets the main
192
+
session in place instead. Typed `/reset` still runs the Gateway's in-place
193
+
reset.
192
194
</Note>
193
195
194
196
</Accordion>
@@ -499,7 +501,7 @@ See [BTW side questions](/tools/btw) for the full behavior.
499
501
</Accordion>
500
502
<Accordiontitle="Argument notes">
501
503
- Commands accept an optional `:` between the command and args (`/think: high`, `/send: on`).
502
-
- Outside Control UI, `/new <model>` accepts a model alias, `provider/model`, or a provider name (fuzzy match); if no match, the text is treated as the message body. In Control UI, when `/new <name>` creates a new dashboard session, `<name>` becomes its session name; use `/model` to switch models.
504
+
- Outside Control UI, `/new <model>` accepts a model alias, `provider/model`, or a provider name (fuzzy match); if no match, the text is treated as the message body. In Control UI, `/new --name <title>` labels the new dashboard session; other `/new <text>` forms keep the existing anonymous-create behavior. Use `/model` to switch models.
503
505
- `/allowlist add|remove` requires `commands.config: true` and honors channel `configWrites`.
0 commit comments