mirror of
https://github.com/storytold/photocraft.git
synced 2026-10-28 03:47:00 -06:00
NSScreenNumber was coerced with `as integer`, so a CGDirectDisplayID above AppleScript's integer range (2^29) came back as a real, "2.077748985E+9". parse_reply rejected it, dropped the only display, and the error quoted the whole raw line, base64 ICC profile included, in the Display profile notice and Color Settings. The helper now asks NSNumber for stringValue; the parser also accepts an exact scientific-notation id; and the error names only the start of the first field, capped at 80 characters. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UHgFEHEsefoQoBParH47JA