{"version":"2.1.326","anchor":"repl-sandbox-module-loading-blocked-raw-template-marking","canonical_anchor":"repl-sandbox-module-loading-blocked-raw-template-marking","heading":"REPL scripts can no longer load modules","tier":"notice","area":"REPL Tool","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/repl-sandbox-module-loading-blocked-raw-template-marking","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### REPL scripts can no longer load modules\n\nScripts run by the REPL tool that try to load a module now fail with a message pointing to the tool functions instead\n\n**What**\n\nThe 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.\n\nTwo smaller changes come with it:\n\n- A new check for specially marked raw text in scripts, which is off unless it is switched on remotely.\n\n- When plugins with JavaScript hooks are active, assigning values onto the script's global object is no longer flagged.\n\n**Why**\n\nThe REPL tool is stricter about what scripts can do. A script that tries to load a module gets a clear error message.\n\n- Area: REPL Tool\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: yes"}