Skip to content

v1.7.3 - Smart Stdout Filter

Choose a tag to compare

@jwesleye jwesleye released this 06 Jan 14:32
· 39 commits to main since this release

What's New in v1.7.3

Smart Stdout Filter 🎯

Solves the double-output issue while preserving interactive tool functionality! This release implements pattern-based stdout filtering that:

  • βœ… Suppresses accumulated agent output during streaming (fixes double-output)
  • βœ… Allows interactive tool prompts to pass through (Y/n confirmations work)
  • βœ… Detects interactive patterns: ?, Y/n:, [options]:, etc.
  • βœ… Default back to suppress_agent_stdout: true with smart filtering

Technical Details

New Component: SmartStdoutFilter

  • Custom io.StringIO subclass with regex-based prompt detection
  • Accumulates buffered output for debugging (get_suppressed_output())
  • Passes prompts through to real stdout while suppressing other output
  • Integrated into ResponseStreamer streaming loop

This resolves the critical issue from v1.7.2 where stdout suppression (which fixed double-output) was also suppressing CRUD tool Y/n confirmation prompts from BOAT/COAT tools.

Files Changed

  • Added components/smart_stdout_filter.py - New filtering component
  • Updated components/response_streamer.py - Integrated smart filter
  • Updated chat_config.py - Changed default back to true
  • Updated components/config_wizard.py - Updated help text
  • Updated components/__init__.py - Exported new component

Full Changelog: v1.7.2...v1.7.3


πŸ€– Generated with Claude Code