Skip to content

feat: add /exit as an alias for /quit - #1142

Closed
kahlelhawary-art wants to merge 1 commit into
PrimeIntellect-ai:mainfrom
kahlelhawary-art:feat/exit-alias
Closed

feat: add /exit as an alias for /quit#1142
kahlelhawary-art wants to merge 1 commit into
PrimeIntellect-ai:mainfrom
kahlelhawary-art:feat/exit-alias

Conversation

@kahlelhawary-art

@kahlelhawary-art kahlelhawary-art commented Aug 10, 2026

Copy link
Copy Markdown

Users coming from other terminal coding agents type /exit, which fell through to the model as a plain prompt. The attach-mode REPL in daemon-command.ts already accepts it; this adds it to the interactive TUI through the existing alias mechanism, so /exit stays hidden from the command list the way /clear and /side do.

Closes #1093

Note

Add /exit as an alias for the /quit slash command

Adds "exit" to BUILTIN_SLASH_COMMAND_ALIASES in slash-commands.ts, resolving it to the canonical quit command. A corresponding test in slash-commands.test.ts verifies the alias resolves correctly and that no standalone exit command exists.

Macroscope summarized 4fd85f7.

Users coming from other terminal coding agents type /exit, which fell
through to the model as a plain prompt. The attach-mode REPL in
daemon-command.ts already accepts it; this adds it to the interactive
TUI through the existing alias mechanism, so /exit stays hidden from
the command list the way /clear and /side do.

Closes PrimeIntellect-ai#1093
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: add /exit as an alias for /quit

1 participant