chore: generate

This commit is contained in:
opencode-agent[bot] 2026-05-20 20:56:18 +00:00
commit 7c121d48b9
2 changed files with 7 additions and 28 deletions

View file

@ -410,13 +410,7 @@ function AssistantReasoning(props: {
<Show when={content()}> <Show when={content()}>
<Switch> <Switch>
<Match when={!inMinimal() || expanded()}> <Match when={!inMinimal() || expanded()}>
<box <box paddingLeft={3} marginTop={1} flexDirection="column" flexShrink={0} onMouseUp={toggle}>
paddingLeft={3}
marginTop={1}
flexDirection="column"
flexShrink={0}
onMouseUp={toggle}
>
<code <code
filetype="markdown" filetype="markdown"
drawUnstyledText={false} drawUnstyledText={false}
@ -429,12 +423,7 @@ function AssistantReasoning(props: {
</box> </box>
</Match> </Match>
<Match when={isDone()}> <Match when={isDone()}>
<box <box paddingLeft={3} marginTop={1} flexShrink={0} onMouseUp={toggle}>
paddingLeft={3}
marginTop={1}
flexShrink={0}
onMouseUp={toggle}
>
<CollapsedReasoningText title={title()} /> <CollapsedReasoningText title={title()} />
</box> </box>
</Match> </Match>
@ -453,7 +442,9 @@ function CollapsedReasoningText(props: { title: string | null }) {
return ( return (
<text fg={theme.warning} wrapMode="none"> <text fg={theme.warning} wrapMode="none">
<span style={{ fg: theme.warning, italic: true }}>{props.title ? "+ Thought · " + props.title : "+ Thought"}</span> <span style={{ fg: theme.warning, italic: true }}>
{props.title ? "+ Thought · " + props.title : "+ Thought"}
</span>
</text> </text>
) )
} }

View file

@ -1531,13 +1531,7 @@ function ReasoningPart(props: { last: boolean; part: ReasoningPart; message: Ass
<Switch> <Switch>
<Match when={!inMinimal() || expanded()}> <Match when={!inMinimal() || expanded()}>
{/* Full markdown block: `show` mode, or `hide` after the user opens it. */} {/* Full markdown block: `show` mode, or `hide` after the user opens it. */}
<box <box id={"text-" + props.part.id} paddingLeft={3} marginTop={1} flexDirection="column" onMouseUp={toggle}>
id={"text-" + props.part.id}
paddingLeft={3}
marginTop={1}
flexDirection="column"
onMouseUp={toggle}
>
<code <code
filetype="markdown" filetype="markdown"
drawUnstyledText={false} drawUnstyledText={false}
@ -1550,13 +1544,7 @@ function ReasoningPart(props: { last: boolean; part: ReasoningPart; message: Ass
</box> </box>
</Match> </Match>
<Match when={isDone()}> <Match when={isDone()}>
<box <box id={"text-" + props.part.id} paddingLeft={3} marginTop={1} flexShrink={0} onMouseUp={toggle}>
id={"text-" + props.part.id}
paddingLeft={3}
marginTop={1}
flexShrink={0}
onMouseUp={toggle}
>
<CollapsedReasoningText title={title()} duration={duration()} /> <CollapsedReasoningText title={title()} duration={duration()} />
</box> </box>
</Match> </Match>