Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.326 ·

Plugin scripts can read part of a file instead of the whole thing

The file-reading call in the plugin scripting API now takes an offset and a length, so a script can read just one section of a regular file

Use it now New Features
JSON All of v2.1.326
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
PluginsArea: what it touches
New FeaturesKind: in v2.1.326,
What probably matters to youSection of the release
What

Plugins can include scripts, and those scripts read files through Claude Code's scripting file API. Until now that API could only read a whole file. It now accepts an offset (where in the file to start reading) and a length (how much to read).

Two limits apply to a partial read:

  • Only regular files: a partial read does not work on a pipe, a socket, a device or a directory.
  • A size cap: the amount read in one partial read is limited to a set number of bytes.
Why

A plugin script can look at one part of a large file without loading the whole file first.

See this entry in the whole of v2.1.326 →

Feedback