feat(cli): TUI complete overhaul — components, sidebar, search, branding #157

Merged
jason.woltje merged 26 commits from feat/p7-tui-improvements into main 2026-03-15 22:17:20 +00:00
Showing only changes of commit 9e6479d7a8 - Show all commits

View File

@@ -11,6 +11,7 @@ export interface BottomBarProps {
modelName: string | null;
providerName: string | null;
thinkingLevel: string;
conversationId: string | undefined;
}
function formatTokens(n: number): string {
@@ -36,6 +37,7 @@ export function BottomBar({
modelName,
providerName,
thinkingLevel,
conversationId,
}: BottomBarProps) {
const gatewayStatus = connected ? 'Connected' : connecting ? 'Connecting…' : 'Disconnected';
const gatewayColor = connected ? 'green' : connecting ? 'yellow' : 'red';
@@ -56,7 +58,17 @@ export function BottomBar({
</Box>
</Box>
{/* Line 2: token stats ····· (provider) model */}
{/* Line 2: token stats ····· session id */}
<Box justifyContent="space-between">
<Box />
<Box>
<Text dimColor>
{conversationId ? `session: ${conversationId.slice(0, 8)}` : 'no session'}
</Text>
</Box>
</Box>
{/* Line 3: token stats ····· (provider) model */}
<Box justifyContent="space-between" minHeight={1}>
<Box>
{hasTokens ? (