Skip to content

surface agent output stream #84

Description

@zgeoff

The plumbing exists: AgentRunHandle.output provides an AsyncIterable, the TUI store has streamBuffers with appendStreamLines/consumeAgentStream helpers, and consumeStream iterates
the async iterable into the buffer.

What's missing is the TUI rendering side — actually displaying the stream buffer content to the user. When a work item with an active agent run is selected, the detail pane should show a
scrolling view of the agent's live output.

Needed:

  • Detail pane component that renders streamBuffers.get(sessionID) for the active run
  • Auto-scroll behavior (follow tail, but allow scroll-up to review)
  • Determine what to show: raw agent output, or filtered/formatted (e.g., strip tool call JSON, show only assistant text)
  • Handle the transition when a run completes (keep last output visible, or switch to result summary)

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

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions