fix(cli): rearrange footer — gateway top-right, cwd on line 2
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

1. (blank) ··· Gateway: Connected
2. ~/path (branch) ··· Session: a1b2c3d4
3. ↑5k ↓72 $0.12 ··· (provider) model • thinking
This commit is contained in:
2026-03-15 14:50:50 -05:00
parent 320e92c21d
commit e8d7ab8f15

View File

@@ -46,24 +46,24 @@ export function BottomBar({
return (
<Box flexDirection="column" paddingX={0} marginTop={0}>
{/* Line 1: path (branch) ····· Gateway: Status */}
{/* Line 1: blank ····· Gateway: Status */}
<Box justifyContent="space-between">
<Box>
<Text dimColor>{compactCwd(gitInfo.cwd)}</Text>
{gitInfo.branch && <Text dimColor> ({gitInfo.branch})</Text>}
</Box>
<Box />
<Box>
<Text dimColor>Gateway: </Text>
<Text color={gatewayColor}>{gatewayStatus}</Text>
</Box>
</Box>
{/* Line 2: token stats ····· session id */}
{/* Line 2: cwd (branch) ····· Session: id */}
<Box justifyContent="space-between">
<Box />
<Box>
<Text dimColor>{compactCwd(gitInfo.cwd)}</Text>
{gitInfo.branch && <Text dimColor> ({gitInfo.branch})</Text>}
</Box>
<Box>
<Text dimColor>
{conversationId ? `session: ${conversationId.slice(0, 8)}` : 'no session'}
{conversationId ? `Session: ${conversationId.slice(0, 8)}` : 'No session'}
</Text>
</Box>
</Box>