Skip to content

Commit 52cdec1

Browse files
committed
feat(tui): mascot-style startup banner aligned with session info
1 parent 22435fb commit 52cdec1

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

‎packages/tui/src/features/timeline/ChatWidget.tsx‎

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -95,35 +95,36 @@ export const ChatWidget = memo(function ChatWidget({
9595
if (isHeaderItem(item)) {
9696
const data = item.data
9797
return (
98-
<Box
99-
key={`header-${data.sessionId}`}
100-
flexDirection="column"
101-
borderStyle="round"
102-
borderColor="cyan"
103-
borderDimColor
104-
paddingX={1}
105-
marginBottom={1}
106-
>
98+
<Box key={`header-${data.sessionId}`} flexDirection="column" marginBottom={1}>
10799
<Text>
100+
<Text color="cyan" dimColor>
101+
{'▐▛▄▄▄▄▄▜▌ '}
102+
</Text>
108103
<Text bold color="cyan">
109-
›●{' '}
104+
Memo Code
110105
</Text>
111-
<Text bold>Memo Code</Text>
112106
<Text color="gray"> v{data.version}</Text>
113107
</Text>
114108
<Text wrap="truncate-end">
109+
<Text color="cyan" dimColor>
110+
{'▝▜∙ ∙▛▘ '}
111+
</Text>
115112
<HeaderLabel>provider: </HeaderLabel>
116113
<Text>
117114
{data.providerName} / {data.model}
118115
</Text>
119116
<HeaderLabel> /models to change</HeaderLabel>
120117
</Text>
121118
<Text wrap="truncate-end">
119+
<Text color="cyan" dimColor>
120+
{' ▘▘▀▀▀▝▝ '}
121+
</Text>
122122
<HeaderLabel>directory: </HeaderLabel>
123123
<Text>{truncateHeaderText(data.cwd, lineWidth)}</Text>
124124
</Text>
125125
{data.mcpNames.length > 0 ? (
126126
<Text wrap="truncate-end">
127+
<Text>{' '}</Text>
127128
<HeaderLabel>MCP: </HeaderLabel>
128129
<Text>{data.mcpNames.join(', ')}</Text>
129130
</Text>

0 commit comments

Comments
 (0)