Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.0 ·

SDK Mode-Aware Error Messages

Entry
JSON All of v2.1.0
EntryKind: in v2.1.0,
ChangesSection of the release

Error messages for PDF and image handling now provide context-appropriate guidance based on whether Claude Code is running in SDK mode:

  • PDF too large:
  • Interactive: "PDF too large. Please double press esc to edit your message and try again."
  • SDK mode: "PDF too large. Try reading the file a different way (e.g., extract text with a CLI tool)."
  • Password-protected PDF:
  • Interactive: "PDF is password protected. Please double press esc to edit your message and try again."
  • SDK mode: "PDF is password protected. Try using a CLI tool to extract or convert the PDF."
  • Image too large:
  • Interactive: "Image was too large. Double press esc to go back and try again with a smaller image."
  • SDK mode: "Image was too large. Try resizing the image or using a different approach."
Evidence

Hi8() at line 278470, Di8() at line 278475, Fi8() at line 278480 (contain d2() SDK mode check)

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.0 →

Feedback