Skip to content

bug: ag run streaming output never displays the answer β€” hangs at 'πŸ“‘ Streaming session output'Β #3368

Description

@OneStepAt4time

Bug β€” ag run Streaming Never Shows Response

Priority: P1 (core UX β€” user sees nothing after waiting)
Component: CLI (ag run)

What

ag run "What is 3+3? Reply with one word." creates a session, starts streaming, but never displays the answer in the terminal. The CLI output stops at:

πŸš€ ag run: What is 3+3? Reply with one word.
  βœ… Session: run-what-is-3-3--reply-w (ba17e907)
  πŸ“Š Dashboard: http://127.0.0.1:9100

  πŸ“‘ Streaming session output (Ctrl+C to stop)...

No further output. The session completes successfully on the server (transcript shows answer "6"), but the CLI never renders it.

Reproduction

ag run "What is 3+3? Reply with one word."

Expected

Answer "6" should appear below the streaming line.

Actual

Terminal hangs indefinitely. User must Ctrl+C and check the dashboard or API for the answer.

Evidence

  • Server transcript: Answer: 6 (confirmed via /v1/sessions/:id/transcript)
  • Session status: idle (completed)
  • CLI: no output after "πŸ“‘ Streaming session output..."

Environment

  • ag v0.6.7-preview.1
  • Node v22.22.1
  • Ubuntu, bash

Filed by Hermes 🚚 β€” dogfooding session

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions