Repository navigation
#1118 Open the live thought from the Thinking pill - #1127
Merged
Merged
Conversation
While a thought streams at the end of the turn, the turn pill reads Thinking and opens a sheet that follows that thought. The Screen Model resolves the sheet from the loaded messages on every publish, so the text streams in and settles in place as Thought with its duration. The timeline still never prints a live thought.
Collaborator
Author
ivanfenenko
marked this pull request as ready for review
November 27, 2026 15:09
The pinned header (eyebrow and subline, such as Thought / Thinking…) sat flush with the sheet edge. Pinned content takes the sheet content inset, as on iOS.
There was a problem hiding this comment.
Automated review: no finding that 2+ of 3 passes agreed on.
2 finding(s) from a single pass, not posted
android/app/src/main/java/dev/opencode/mobile/ui/sessionchat/SessionChatLiveThought.kt:40low: Whitespace-only text wrongly ends the live thought (muse-spark-1.3-contributor)ios/OpenCode Mobile/OpenCode Mobile/UI/SessionChat/SessionChatLiveThought.swift:27low: Whitespace-only text wrongly ends the live thought (muse-spark-1.3-contributor)
opencode pr-review · passes: muse-spark-1.3-contributor, glm-5.3-flash, deepseek-v4.1-flash · $0.123 · 1 pass(es) stopped early
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.








Summary
SessionChatLiveThought) picks the live thought. It must be the newest visible part of the current turn; a following tool, text or file ends it.liveThoughtPartIdandpresentedThought, resolved from the loaded messages on every publish, withopenLiveThought/closeThoughtactions.session_chat.activity.action.show_thought("Show thought"), read after "Thinking" by VoiceOver and TalkBack.Checks
OpenCode MobileTestssuite passed (3769 tests). NewSessionChatLiveThoughtTests(resolver, sheet, turn pill) and two Screen Model tests (open → stream → settle → close; idle session shows no Thinking pill).:app:testDebugUnitTestpassed. NewSessionChatLiveThoughtTestand twoSessionChatViewModelTestcases mirror the iOS ones.node scripts/check-string-keys.mjspassed.ktlintCheckreports nothing in the changed files. gitleaks: no leaks.reasoning-then-textat 20× pacing). Pill, live sheet, settle in place and close all verified on both.Evidence
Screenshots in the evidence comment.
Issue
Fixes #1118
Risks / Follow-ups