Skip to content

[BUG] Standalone TUI bash tool doesn't stream live output (only shows command + spinner until completion) #34966

Description

@RandomXYZ46

Description

When running long-running scripts (e.g. pytest, custom Python test scripts) via the bash tool in opencode's standalone terminal/TUI the interface shows only the command being run and a loading spinner. No live stdout is displayed until the process completes, at which point full output appears at once.

###Expected behavior
Live streaming of stdout/stderr as the command executes, similar to running it directly in a terminal.

Plugins

No response

OpenCode version

1.17.13

Steps to reproduce

  • In a plain terminal, run opencode (not embedded in an ACP client)
  • Ask it to run a long-running command, e.g. pytest tests/ -v or a custom script like python3 tests/test_walk_forward_final.py
    Observe: only the command line + spinner is shown while it runs; no incremental stdout

Screenshot and/or share link

No response

Operating System

Linux (WSL version)

Terminal

No response

###Additional context:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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