mirror of
https://github.com/bitbaum/chatkit.git
synced 2026-12-03 23:27:23 +01:00
From heidi's downscale.ts: a phone screenshot goes out as a ~1024px JPEG instead of a multi-MB PNG — cheaper vision calls, and the full screenshot never leaves the device. Attach notes become labels (attachNotes). Browser test sends a 1290x2796 screenshot and asserts a 1024px JPEG under the limit; mutation-checked (fails with maxImageEdge 0). Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>