chore: generate

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

View File

@@ -410,13 +410,7 @@ function AssistantReasoning(props: {
<Show when={content()}>
<Switch>
<Match when={!inMinimal() || expanded()}>
<box
paddingLeft={3}
marginTop={1}
flexDirection="column"
flexShrink={0}
onMouseUp={toggle}
>
<box paddingLeft={3} marginTop={1} flexDirection="column" flexShrink={0} onMouseUp={toggle}>
<code
filetype="markdown"
drawUnstyledText={false}
@@ -429,12 +423,7 @@ function AssistantReasoning(props: {
</box>
</Match>
<Match when={isDone()}>
<box
paddingLeft={3}
marginTop={1}
flexShrink={0}
onMouseUp={toggle}
>
<box paddingLeft={3} marginTop={1} flexShrink={0} onMouseUp={toggle}>
<CollapsedReasoningText title={title()} />
</box>
</Match>
@@ -453,7 +442,9 @@ function CollapsedReasoningText(props: { title: string | null }) {
return (
<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>
)
}

View File

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