From af30b315b2d047b5500d5c8f50ebe1e6ec9b4cec Mon Sep 17 00:00:00 2001
From: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Date: Thu, 28 May 2026 11:24:45 -0500
Subject: [PATCH] fix(tui): restore thinking spinner (#29765)
---
.../tui/feature-plugins/system/session-v2.tsx | 29 +++++++-----
.../src/cli/cmd/tui/routes/session/index.tsx | 45 +++++++++++--------
2 files changed, 46 insertions(+), 28 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 8b9b088805..8b2b2ed37b 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
@@ -442,16 +442,25 @@ function ReasoningHeader(props: { toggleable: boolean; open: boolean; done: bool
: theme.warning
return (
-
-
- {props.open ? "- " : "+ "}
-
- {props.done ? "Thought" : "Thinking"}
-
- :
- {props.title}
-
-
+
+
+
+ {props.title ? "Thinking: " + props.title : "Thinking"}
+
+
+
+
+
+ {props.open ? "- " : "+ "}
+
+ Thought
+
+ :
+ {props.title}
+
+
+
+
)
}
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 6d9fe3688d..b3dc2a4a7d 100644
--- a/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx
+++ b/packages/opencode/src/cli/cmd/tui/routes/session/index.tsx
@@ -1595,24 +1595,33 @@ function ReasoningHeader(props: {
: theme.warning
return (
-
-
- {props.open ? "- " : "+ "}
-
- {props.done ? "Thought" : "Thinking"}
-
- :
-
-
- {props.title}
-
-
-
- {props.title ? " · " : ""}
- {props.duration}
-
-
-
+
+
+
+ {props.title ? "Thinking: " + props.title : "Thinking"}
+
+
+
+
+
+ {props.open ? "- " : "+ "}
+
+ Thought
+
+ :
+
+
+ {props.title}
+
+
+
+ {props.title ? " · " : ""}
+ {props.duration}
+
+
+
+
+
)
}