From 72d9917014df88cfb80e90867fd1568eabb3203f Mon Sep 17 00:00:00 2001 From: ved015 Date: Mon, 16 Mar 2026 19:45:15 +0530 Subject: [PATCH 1/2] add alias for clear --- packages/cli/src/ui/commands/clearCommand.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/ui/commands/clearCommand.ts b/packages/cli/src/ui/commands/clearCommand.ts index 6d3b14e1797..98480031150 100644 --- a/packages/cli/src/ui/commands/clearCommand.ts +++ b/packages/cli/src/ui/commands/clearCommand.ts @@ -15,8 +15,8 @@ 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)', + description: 'Create new Session and free up context', kind: CommandKind.BUILT_IN, autoExecute: true, action: async (context, _args) => { From ef790ebdf8f1da526ad2d17896504eee9e1ebcd1 Mon Sep 17 00:00:00 2001 From: ved015 Date: Mon, 16 Mar 2026 19:57:16 +0530 Subject: [PATCH 2/2] add altname --- packages/cli/src/ui/commands/clearCommand.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cli/src/ui/commands/clearCommand.ts b/packages/cli/src/ui/commands/clearCommand.ts index 98480031150..157d2918320 100644 --- a/packages/cli/src/ui/commands/clearCommand.ts +++ b/packages/cli/src/ui/commands/clearCommand.ts @@ -16,7 +16,8 @@ import { randomUUID } from 'node:crypto'; export const clearCommand: SlashCommand = { name: 'clear (new)', - description: 'Create new Session and free up context', + altNames: ['new'], + description: 'Clear the screen and start a new session', kind: CommandKind.BUILT_IN, autoExecute: true, action: async (context, _args) => {