You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
desktop: thinking and shell entries stay collapsed while streaming with Group + Collapse enabled #63046
With the default timeline detail (Group on, Collapse on), thinking blocks and shell output are rendered collapsed from the moment they start. The content is hidden while it is being produced, so users cannot follow reasoning or command output live. They should stay expanded while the step is running and collapse once it completes.
Environment
opencode version: 2.2.6 (desktop, Windows x64 installer)
OS: Windows_NT 10.0.26300 (win32 x64)
Terminal: Unavailable: desktop app, no terminal environment
Shell: C:\WINDOWS\system32\cmd.exe
Install/channel: release desktop app
Active plugins: None found in config
Reproduction
Open Preferences and leave Timeline detail at the default (Group on, Collapse on), or select the Compact preset.
Start a session and send a prompt that triggers thinking and a shell command.
Watch the timeline while the step is still streaming.
Expected Behavior
The in-progress thinking entry and shell entry render expanded, so the reasoning text and command output are visible as they arrive. When the step completes, the entry collapses to its summary line. That gives live visibility without leaving the finished timeline fully expanded.
Actual Behavior
The entry is collapsed immediately, including while it is still streaming. The output is hidden behind a click even though it is actively being generated. Finished and in-progress entries look identical, so the Collapse setting provides no distinction between live and completed activity.
Additional Context
Requested behavior: open while producing, collapse when done. Workaround is to expand entries manually or disable Collapse, which loses the compact timeline for finished steps. Reproducible consistently.
You're asking for thinking and shell entries in the desktop timeline to stay expanded while they are still streaming and collapse to their summary line once they finish, when the Timeline detail Collapse setting is on (as in the default Compact preset). That way you can follow reasoning and command output live and still have a compact timeline afterwards.
Right now this is how it was built: when Collapse is on, entries start collapsed even while running. A streaming thinking entry shows a live heading in its summary line, and you can open it, or a running shell entry, by hand. So I'm tracking this as a feature request, not a bug. The maintainers will consider it.
[FEATURE]: desktop: Collapse should apply once streaming and output finish, not for the whole lifetime of the entry
Describe the enhancement you want to request
Current behavior
With Timeline detail at Group on + Collapse on (the default Compact preset), thinking and shell entries are collapsed the moment they appear, including while they are still streaming. The reasoning text and the command output are hidden while they are being produced, so the only way to follow a run live is to click each entry open by hand, on every step.
Why this reads as a bug to a user
Collapse is naturally understood as a property of finished content: the entry is done, here is its one-line summary, expand it for detail. Applying it from the first token removes exactly the visibility that matters while the step is running, and it makes an in-progress entry indistinguishable from a completed one.
Requested change
Keep in-progress thinking and shell entries expanded while they stream, and collapse them once the step completes and its output is final. With Collapse on, collapsing should describe the finished state, not the live one. Completed entries would keep their summary line exactly as they do today, and no new setting is required.
Scope
Desktop app timeline, which shares the UI code with the web app. The TUI side is already covered by related requests.
Benefits
Reasoning and shell output stay visible while they matter, without manual clicking. The compact finished timeline stays unchanged, and "Collapse" starts meaning what users assume it means.
I have verified this feature hasn't been suggested before. The related issues above cover the TUI and ! shell output; this request is specifically the desktop timeline's Collapse behavior for agent thinking and tool shell entries.
Activity
opencodejr commentedon Nov 10, 2026
Thanks for the clear write-up, @Irsyadmr354!
You're asking for thinking and shell entries in the desktop timeline to stay expanded while they are still streaming and collapse to their summary line once they finish, when the Timeline detail Collapse setting is on (as in the default Compact preset). That way you can follow reasoning and command output live and still have a compact timeline afterwards.
Right now this is how it was built: when Collapse is on, entries start collapsed even while running. A streaming thinking entry shows a live heading in its summary line, and you can open it, or a running shell entry, by hand. So I'm tracking this as a feature request, not a bug. The maintainers will consider it.
Related issues:
!are rendered collapsed like agent tool calls; output should be visible by default #58062: shell output collapsed by default under the Compact preset in web/desktop (for commands you run with!)This can't be done as a plugin today, because plugins can't control how the desktop timeline expands its entries.
Irsyadmr354 commentedon Nov 10, 2026
[FEATURE]: desktop: Collapse should apply once streaming and output finish, not for the whole lifetime of the entry
Describe the enhancement you want to request
Current behavior
With Timeline detail at Group on + Collapse on (the default Compact preset), thinking and shell entries are collapsed the moment they appear, including while they are still streaming. The reasoning text and the command output are hidden while they are being produced, so the only way to follow a run live is to click each entry open by hand, on every step.
Why this reads as a bug to a user
Collapse is naturally understood as a property of finished content: the entry is done, here is its one-line summary, expand it for detail. Applying it from the first token removes exactly the visibility that matters while the step is running, and it makes an in-progress entry indistinguishable from a completed one.
Requested change
Keep in-progress thinking and shell entries expanded while they stream, and collapse them once the step completes and its output is final. With Collapse on, collapsing should describe the finished state, not the live one. Completed entries would keep their summary line exactly as they do today, and no new setting is required.
Scope
Desktop app timeline, which shares the UI code with the web app. The TUI side is already covered by related requests.
Benefits
Reasoning and shell output stay visible while they matter, without manual clicking. The compact finished timeline stays unchanged, and "Collapse" starts meaning what users assume it means.
Related
Feature request: add "auto" thinking mode — show reasoning while streaming, auto-collapse when done #41195: auto thinking mode, show reasoning while streaming then collapse
[FEATURE] TUI: configurable reasoning bubbles and tool output collapsing #51229: TUI configurable reasoning bubbles and tool output collapsing
[UX]: web/desktop: user shell commands entered with
!are rendered collapsed like agent tool calls; output should be visible by default #58062: web/desktop, user!shell commands rendered collapsedI have verified this feature hasn't been suggested before. The related issues above cover the TUI and
!shell output; this request is specifically the desktop timeline's Collapse behavior for agent thinking and tool shell entries.