feat(cli): add alien art to command preview and exit message (#769)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2026-01-31 21:53:16 -08:00
committed by GitHub
parent aea77387bb
commit b7244ffa88
5 changed files with 69 additions and 43 deletions

View File

@@ -9802,23 +9802,44 @@ Plan file path: ${planFilePath}`;
stats: sessionStatsRef.current.getSnapshot(),
})}
</Text>
<Text dimColor>Resume this agent with:</Text>
<Text color={colors.link.url}>
{/* Show -n "name" if agent has name and is pinned, otherwise --agent */}
{agentName &&
(settingsManager.getLocalPinnedAgents().includes(agentId) ||
settingsManager.getGlobalPinnedAgents().includes(agentId))
? `letta -n "${agentName}"`
: `letta --agent ${agentId}`}
</Text>
{/* Alien + Resume commands */}
<Box>
<Text color={colors.footer.agentName}>{" ▗▖▗▖ "}</Text>
<Text dimColor>Resume this agent with:</Text>
</Box>
<Box>
<Text color={colors.footer.agentName}>{"▙█▜▛█▟ "}</Text>
<Text color={colors.link.url}>
{/* Show -n "name" if agent has name and is pinned, otherwise --agent */}
{agentName &&
(settingsManager.getLocalPinnedAgents().includes(agentId) ||
settingsManager.getGlobalPinnedAgents().includes(agentId))
? `letta -n "${agentName}"`
: `letta --agent ${agentId}`}
</Text>
</Box>
{/* Only show conversation hint if not on default (default is resumed automatically) */}
{conversationId !== "default" && (
{conversationId !== "default" ? (
<>
<Text> </Text>
<Text dimColor>Resume this conversation with:</Text>
<Text color={colors.link.url}>
{`letta --conv ${conversationId}`}
</Text>
<Box>
<Text color={colors.footer.agentName}>{"▝▜▛▜▛▘ "}</Text>
<Text dimColor>Resume this conversation with:</Text>
</Box>
<Box>
<Text color={colors.footer.agentName}>{" ▀ ▀ "}</Text>
<Text color={colors.link.url}>
{`letta --conv ${conversationId}`}
</Text>
</Box>
</>
) : (
<>
<Box>
<Text color={colors.footer.agentName}>{"▝▜▛▜▛▘ "}</Text>
</Box>
<Box>
<Text color={colors.footer.agentName}>{" ▀ ▀ "}</Text>
</Box>
</>
)}
</Box>