From 189c0ac0a024247f637a3353cd967caad4098ec3 Mon Sep 17 00:00:00 2001 From: Vedant Mahajan Date: Wed, 22 Apr 2026 01:34:40 +0530 Subject: [PATCH] feat: add /new as alias for /clear and refine command description (#17865) --- packages/cli/src/ui/commands/clearCommand.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/ui/commands/clearCommand.ts b/packages/cli/src/ui/commands/clearCommand.ts index 8e5deafd01..b47d07dd17 100644 --- a/packages/cli/src/ui/commands/clearCommand.ts +++ b/packages/cli/src/ui/commands/clearCommand.ts @@ -16,8 +16,9 @@ import { MessageType } from '../types.js'; import { randomUUID } from 'node:crypto'; export const clearCommand: SlashCommand = { - name: 'clear', - description: 'Clear the screen and conversation history', + name: 'clear (new)', + altNames: ['new'], + description: 'Clear the screen and start a new session', kind: CommandKind.BUILT_IN, autoExecute: true, action: async (context, _args) => {