fix: clamp tool images to 5MB

This commit is contained in:
Peter Steinberger
2025-12-29 22:13:39 +00:00
parent 8f0c8a6561
commit 6e83f95c83
3 changed files with 90 additions and 44 deletions

View File

@@ -12,6 +12,7 @@
- iOS/Android nodes: status pill now surfaces camera activity instead of overlay toasts.
- iOS/Android nodes: camera snaps recompress to keep base64 payloads under 5 MB.
- CLI: avoid spurious gateway close errors after successful request/response cycles.
- Agent runtime: clamp tool-result images to the 5MB Anthropic limit to avoid hard request rejections.
- Tests: add Swift Testing coverage for camera errors and Kotest coverage for Android bridge endpoints.
## 2.0.0-beta4 — 2025-12-27