Skip to content

v1.8.0-beta.1 - Simplified Output Pipeline

Pre-release
Pre-release

Choose a tag to compare

@jwesleye jwesleye released this 06 Jan 15:05

v1.8.0-beta.1 - Simplified Output Pipeline ⚡

THIS IS A BETA RELEASE - Please test and report any issues!

Major Architectural Simplification

This release completely rethinks how we handle agent output. Instead of trying to intercept, process, and re-render agent responses, we now let the agent library handle output naturally.

What Changed

Removed (Complexity):

  • ❌ Bifurcated rendering paths (Rich vs plain, Harmony vs not, streaming vs buffering)
  • ❌ render_streaming_text() and render_final_response() calls
  • ❌ Harmony processing
  • ❌ suppress_agent_stdout configuration option
  • ❌ All stdout interception/filtering logic

Kept (Essential):

  • ✅ Thinking indicator (spinner before first token)
  • ✅ Agent name header display
  • ✅ Duration/token/metric summary at end
  • ✅ Session history collection (silent, for saving conversations)
  • ✅ Token tracking

How It Works Now

Single Output Path:

Agent library prints → Terminal (user sees natural output with tool prompts)
       ↓
We silently collect text → Session history

Benefits:

  1. No double-output - Agent prints once, naturally
  2. Tool prompts work - CRUD confirmations (Y/n) show through naturally
  3. Simpler code - 165 lines removed, single clear path
  4. No configuration - Works the same for everyone, no trade-offs

Testing Needed

Please test with agents that:

  • Use streaming responses
  • Have interactive tool confirmations (CRUD operations)
  • Non-streaming agents (fallback path)

Report any issues at: https://github.com/Open-Agent-Tools/Basic-Agent-Chat-Loop/issues

Files Changed

  • response_streamer.py - Removed rendering, kept collection
  • chat_config.py - Removed suppress_agent_stdout config
  • chat_loop.py - Updated ResponseStreamer instantiation
  • config_wizard.py - Removed suppress prompt

Upgrade Notes

Config File:

  • The suppress_agent_stdout setting is no longer used (safe to leave in config)
  • No action needed - will be ignored

Breaking Changes:

  • Custom Harmony processors will no longer apply
  • Rich markdown rendering is no longer applied to agent output
  • Agent output appears exactly as the library provides it

🤖 Generated with Claude Code