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 ·

REPL scripts can no longer load modules

Scripts run by the REPL tool that try to load a module now fail with a message pointing to the tool functions instead

You'll notice Improvements
JSON All of v2.1.326
You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
REPL ToolArea: what it touches
ImprovementsKind: in v2.1.326,
ImprovementsSection of the release
What

The REPL tool runs short JavaScript scripts for Claude in a sealed environment. Scripts that try to load a module, meaning another piece of code from outside the script, now fail with a message saying module loading is not available in REPL and pointing to the built-in tool functions instead.

Two smaller changes come with it:

  • A new check for specially marked raw text in scripts, which is off unless it is switched on remotely.
  • When plugins with JavaScript hooks are active, assigning values onto the script's global object is no longer flagged.
Why

The REPL tool is stricter about what scripts can do. A script that tries to load a module gets a clear error message.

See this entry in the whole of v2.1.326 →

Feedback