chore: generate

This commit is contained in:
opencode-agent[bot] 2026-06-12 22:52:55 +00:00
parent fff0ec294c
commit dbbe67f066
5 changed files with 10 additions and 58 deletions

View File

@ -297,13 +297,7 @@ function PanelShell(props: {
</box>
)}
{minimal() ? (
<box
width="100%"
height={1}
border={false}
backgroundColor="transparent"
flexShrink={0}
>
<box width="100%" height={1} border={false} backgroundColor="transparent" flexShrink={0}>
<box
width="100%"
height={1}

View File

@ -257,12 +257,7 @@ export function RunPermissionBody(props: {
})
return (
<box
width="100%"
height="100%"
flexDirection="column"
backgroundColor={props.theme.surface}
>
<box width="100%" height="100%" flexDirection="column" backgroundColor={props.theme.surface}>
<box
flexDirection="column"
gap={1}

View File

@ -119,12 +119,7 @@ export function RunFooterSubagentBody(props: {
})
return (
<box
width="100%"
height="100%"
flexDirection="column"
backgroundColor={footer().surface}
>
<box width="100%" height="100%" flexDirection="column" backgroundColor={footer().surface}>
<box paddingTop={1} paddingLeft={1} paddingRight={3} paddingBottom={1} flexDirection="column" flexGrow={1}>
<Show when={tab()}>
{(current) => (

View File

@ -821,12 +821,7 @@ export function RunFooterView(props: RunFooterViewProps) {
flexShrink={0}
backgroundColor={statuslineBackground()}
>
<box
paddingLeft={1}
paddingRight={1}
backgroundColor={theme().statusAccent}
flexShrink={0}
>
<box paddingLeft={1} paddingRight={1} backgroundColor={theme().statusAccent} flexShrink={0}>
<text wrapMode="none" truncate>
<span style={{ fg: modeColor(), bold: true }}>{modeLabel()}</span>
</text>
@ -848,13 +843,7 @@ export function RunFooterView(props: RunFooterViewProps) {
</box>
</Show>
<text
fg={statusColor()}
wrapMode="none"
truncate
flexGrow={1}
flexShrink={1}
>
<text fg={statusColor()} wrapMode="none" truncate flexGrow={1} flexShrink={1}>
<Show when={busy() && !exiting()} fallback={statusText()}>
<Show when={interruptLabel()}>
{(label) => <span style={{ fg: armed() ? statusColor() : theme().muted }}>{label()} </span>}
@ -865,11 +854,7 @@ export function RunFooterView(props: RunFooterViewProps) {
</box>
<Show when={activityMeta().length > 0}>
<box
paddingRight={1}
backgroundColor="transparent"
flexShrink={1}
>
<box paddingRight={1} backgroundColor="transparent" flexShrink={1}>
<text fg={theme().muted} wrapMode="none" truncate>
{activityMeta()}
</text>
@ -878,11 +863,7 @@ export function RunFooterView(props: RunFooterViewProps) {
<Show when={responsive().statusline.showModel && modelStatus()}>
{(info) => (
<box
paddingRight={1}
backgroundColor="transparent"
flexShrink={0}
>
<box paddingRight={1} backgroundColor="transparent" flexShrink={0}>
<text fg={theme().text} wrapMode="none">
{info().model}
<Show when={info().provider}>
@ -902,12 +883,7 @@ export function RunFooterView(props: RunFooterViewProps) {
<For each={contextHints()}>
{(hint, index) => (
<box
paddingRight={1}
backgroundColor="transparent"
flexShrink={0}
maxWidth={24}
>
<box paddingRight={1} backgroundColor="transparent" flexShrink={0} maxWidth={24}>
<text fg={theme().text} wrapMode="none" truncate>
<Show when={index() > 0 || ((hasActivityMeta() || hasModelStatus()) && index() === 0)}>
{sectionSeparator()}
@ -921,12 +897,7 @@ export function RunFooterView(props: RunFooterViewProps) {
<Show when={commandHint()}>
{(hint) => (
<box
paddingRight={1}
backgroundColor="transparent"
flexShrink={0}
maxWidth={18}
>
<box paddingRight={1} backgroundColor="transparent" flexShrink={0} maxWidth={18}>
<text fg={theme().text} wrapMode="none" truncate>
<Show when={hasActivityMeta() || hasModelStatus() || hasContextHints()}>
{sectionSeparator()}

View File

@ -180,10 +180,7 @@ const startRoute: TuiRouteCurrent = { name: "session", params: { sessionID: "ses
function findScrollBox(root: Renderable): ScrollBoxRenderable | undefined {
if (root instanceof ScrollBoxRenderable && containsDiff(root)) return root
return root
.getChildren()
.map(findScrollBox)
.find(Boolean)
return root.getChildren().map(findScrollBox).find(Boolean)
}
function containsDiff(root: Renderable): boolean {