Skip to content

Build mode with Thinking enabled: UI freezes during thinking stream, incomplete output rendering #19512

Description

@PakhoJo

Description

When using the OpenCode VS Code extension in Build mode with Thinking mode enabled, the UI gets stuck during the thinking/reasoning phase. The thinking output blocks the rendering loop, preventing the final response from being displayed properly.

Workaround
Closing the OpenCode panel and reopening it shows the completed response with full content. This suggests the data is received correctly, but the streaming renderer fails to transition from thinking → response phase.

Environment
OpenCode CLI Version: 1.3.3
OpenCode VS Code Plugin Version: 0.0.13
VS Code Version: 1.113.0

Plugins

sst-dev.opencode(0.0.13)

OpenCode version

1.3.3

Steps to reproduce

  1. OpenCode VS Code extension (plugin version 0.13, CLI version 1.3.3)
  2. Switch to Build mode
  3. Enable Thinking mode
  4. Send a prompt that triggers extended reasoning
  5. Observe the UI behavior

Screenshot and/or share link

No response

Operating System

Ubuntu 22.04

Terminal

bash

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions