mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-10 13:31:38 +00:00
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:
parent
53438228ee
commit
2cd122c9c1
1 changed files with 10 additions and 1 deletions
|
|
@ -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}>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue