From 5635cb70e62017961e306d902f684a1c5085fa28 Mon Sep 17 00:00:00 2001 From: Charles Packer Date: Wed, 17 Dec 2025 22:35:02 -0800 Subject: [PATCH] feat: simplify new agent intro message with /init tip (#288) Co-authored-by: Letta --- src/cli/App.tsx | 22 ++++++++++------------ src/cli/components/WelcomeScreen.tsx | 10 +--------- 2 files changed, 11 insertions(+), 21 deletions(-) diff --git a/src/cli/App.tsx b/src/cli/App.tsx index b20f933..628a978 100644 --- a/src/cli/App.tsx +++ b/src/cli/App.tsx @@ -4185,19 +4185,17 @@ Plan file path: ${planFilePath}`; ? agentState?.name ? `Resumed **${agentState.name}**` : "Resumed agent" - : "Created a new agent (use /pin to save, /pinned or /resume to switch)"; + : "Creating a new agent (use /pin to save)"; - const agentNameLine = - !continueSession && agentState?.name - ? `→ Agent: ${agentState.name} (use /rename to rename)` - : ""; - - const statusLines = [ - resumedMessage, - agentNameLine, - ...hints, - agentUrl ? `→ ${agentUrl}` : "", - ].filter(Boolean); + const statusLines = continueSession + ? [resumedMessage, ...hints, agentUrl ? `→ ${agentUrl}` : ""].filter( + Boolean, + ) + : [ + resumedMessage, + agentUrl ? `→ ${agentUrl}` : "", + "→ Tip: use /init to initialize your agent's memory system!", + ].filter(Boolean); buffersRef.current.byId.set(statusId, { kind: "status", diff --git a/src/cli/components/WelcomeScreen.tsx b/src/cli/components/WelcomeScreen.tsx index 1ea4afd..9225930 100644 --- a/src/cli/components/WelcomeScreen.tsx +++ b/src/cli/components/WelcomeScreen.tsx @@ -60,7 +60,7 @@ type LoadingState = export function getAgentStatusHints( continueSession: boolean, agentState?: Letta.AgentState | null, - agentProvenance?: AgentProvenance | null, + _agentProvenance?: AgentProvenance | null, ): string[] { const hints: string[] = []; @@ -83,14 +83,6 @@ export function getAgentStatusHints( return hints; } - // For new agents, show initialized memory blocks - if (agentProvenance) { - const blockLabels = agentProvenance.blocks.map((b) => b.label); - if (blockLabels.length > 0) { - hints.push(`→ Initialized memory blocks: ${blockLabels.join(", ")}`); - } - } - return hints; }