Claude Code v2.1.40 ·
Better File Type Detection for Read Tool
EntryKind: in v2.1.40,
ChangesSection of the release
The Read tool now properly rejects special files (devices, pipes, sockets) with clear error messages.
Evidence
File type check (search for "not a regular file (it may be a device, pipe, or socket)")
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.40 →