Fix crash when bash mode outputs binary data

Sanitize shell output by removing Unicode Format characters and lone
surrogates that crash string-width. This fixes crashes when running
commands like curl that download binary files.
This commit is contained in:
Mario Zechner 2025-12-08 23:26:58 +01:00
parent a054fecd11
commit ad42ebf5f5
5 changed files with 141 additions and 111 deletions

View file

@ -1,5 +1,15 @@
# Changelog
## [Unreleased]
### Added
- `/debug` command now includes agent messages as JSONL in the output
### Fixed
- Fix crash when bash command outputs binary data (e.g., `curl` downloading a video file)
## [0.14.1] - 2025-12-08
### Fixed