Skip to content

Commit ba8eaf2

Browse files
jahoomaclaude
andcommitted
Rename /queue to /end-session and drop aliases
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent ac1f6be commit ba8eaf2

2 files changed

Lines changed: 5 additions & 7 deletions

File tree

cli/src/commands/command-registry.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -612,12 +612,11 @@ const ALL_COMMANDS: CommandDefinition[] = [
612612
clearInput(params)
613613
},
614614
}),
615-
// /queue (freebuff-only) — end the active session early and re-queue. The
615+
// /end-session (freebuff-only) — end the active session early and re-queue. The
616616
// hook flips status from 'active' → 'queued', which unmounts <Chat> and
617617
// mounts <WaitingRoomScreen>, where the user can pick a different model.
618618
defineCommand({
619-
name: 'queue',
620-
aliases: ['rejoin', 'switch'],
619+
name: 'end-session',
621620
handler: (params) => {
622621
params.setMessages((prev) => [
623622
...prev,

cli/src/data/slash-commands.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const FREEBUFF_REMOVED_COMMAND_IDS = new Set([
4747
const FREEBUFF_ONLY_COMMAND_IDS = new Set([
4848
'connect',
4949
'plan',
50-
'queue',
50+
'end-session',
5151
])
5252

5353
const ALL_SLASH_COMMANDS: SlashCommand[] = [
@@ -186,10 +186,9 @@ const ALL_SLASH_COMMANDS: SlashCommand[] = [
186186
description: 'Toggle between light and dark mode',
187187
},
188188
{
189-
id: 'queue',
190-
label: 'queue',
189+
id: 'end-session',
190+
label: 'end-session',
191191
description: 'End your free session and return to the waiting room (lets you switch model)',
192-
aliases: ['rejoin', 'switch'],
193192
},
194193
{
195194
id: 'logout',

0 commit comments

Comments
 (0)