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.