v1.7.3 - Smart Stdout Filter
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: truewith smart filtering
Technical Details
New Component: SmartStdoutFilter
- Custom
io.StringIOsubclass 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
ResponseStreamerstreaming 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