opentui(v5b): frame the startup panel in a themed border box

Design-judge top nit: Ink's bordered-box-around-the-session-info is the single
biggest 'designed home screen vs log output' signal, and the flat left-aligned
version lacked it. Wrap the model/dir/session block + Tools/Skills/MCP sections +
summary in a full border box (theme border token); banner+tagline stay above,
tips below. 85 pass.
This commit is contained in:
alt-glitch 2026-06-09 05:22:26 +00:00
parent 53438228ee
commit 2cd122c9c1

View file

@ -91,8 +91,15 @@ export function HomeHint(props: { store: SessionStore }) {
<span style={{ fg: theme().color.muted }}>Nous Research · Messenger of the Digital Gods</span>
</text>
{/* framed session panel (Ink SessionPanel parity) the bordered box is the
key "this is a designed home screen, not log output" signal. */}
<box
style={{ flexDirection: 'column', marginTop: 1, paddingLeft: 1, paddingRight: 1 }}
border
borderColor={theme().color.border}
>
{/* session info block: model · Nous Research / dir / Session id */}
<box style={{ flexDirection: 'column', marginTop: 1 }}>
<box style={{ flexDirection: 'column' }}>
<Show when={info().model}>
<text selectable={false}>
<span style={{ fg: theme().color.accent }}>{shortModel(info().model!)}</span>
@ -162,6 +169,8 @@ export function HomeHint(props: { store: SessionStore }) {
</box>
)}
</Show>
</box>
{/* end framed session panel */}
<box style={{ marginTop: 1 }}>
<text selectable={false}>