From 8bfa188e076c095125bc0612958e4b7b7fb11df9 Mon Sep 17 00:00:00 2001
From: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Date: Wed, 20 May 2026 20:52:28 -0500
Subject: [PATCH] fix(tui): use colon for collapsed thinking labels (#28562)
---
.../src/cli/cmd/tui/feature-plugins/system/session-v2.tsx | 4 ++--
packages/opencode/src/cli/cmd/tui/routes/session/index.tsx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/packages/opencode/src/cli/cmd/tui/feature-plugins/system/session-v2.tsx b/packages/opencode/src/cli/cmd/tui/feature-plugins/system/session-v2.tsx
index 9504a01275..ef0521fc13 100644
--- a/packages/opencode/src/cli/cmd/tui/feature-plugins/system/session-v2.tsx
+++ b/packages/opencode/src/cli/cmd/tui/feature-plugins/system/session-v2.tsx
@@ -416,7 +416,7 @@ function AssistantReasoning(props: {
drawUnstyledText={false}
streaming={true}
syntaxStyle={props.subtleSyntax}
- content={(inMinimal() ? "- " : "") + "_Thinking:_ " + content()}
+ content={(inMinimal() ? "- " : "") + (isDone() ? "_Thought:_ " : "_Thinking:_ ") + content()}
conceal={true}
fg={theme.textMuted}
/>
@@ -443,7 +443,7 @@ function CollapsedReasoningText(props: { title: string | null }) {
return (
- {props.title ? "+ Thought · " + props.title : "+ Thought"}
+ {props.title ? "+ Thought: " + props.title : "+ Thought"}
)
diff --git a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx
index c3b57c0f5c..245a7296b5 100644
--- a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx
+++ b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx
@@ -1565,7 +1565,7 @@ function CollapsedReasoningText(props: { title: string | null; duration: number
return (
- {props.title ? "+ Thought · " + props.title + " · " + duration() : "+ Thought · " + duration()}
+ {props.title ? "+ Thought: " + props.title + " · " + duration() : "+ Thought: " + duration()}
)