Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

REPL now guards lists read from MCP tools and refuses scripts changed by mods or hooks

The REPL now blocks treating MCP-parsed lists as text and refuses to run scripts that a mod or hook wrote or changed

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

Unclear What exactly makes Claude Code treat a Code-tab script as written or changed by a mod or hook is not stated.

What

Two new protections in the REPL (the place where Claude runs short scripts and sees their results):

  • Lists read from an MCP tool's text output (MCP is a way to plug outside tools into Claude) now refuse being turned into text, joined together, or searched for punctuation. The error begins "REPL: this value is a list, parsed from an MCP tool's text", and a related message says "A tool returned a list where text was expected".
  • Scripts in the Code tab that a mod or a hook (a user-defined script that runs automatically at set points) wrote or changed are refused, with the message "Nothing ran: Claude Desktop doesn't run scripts that a mod or a hook wrote or changed."
Why

This changes which scripts run and how MCP output behaves in the REPL. A script that relied on treating an MCP list as plain text will now stop with an error, and a script edited by a mod or hook will not run.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhat exactly makes Claude Code treat a Code-tab script as written or changed by a mod or hook is not stated.

See this entry in the whole of v2.1.333 →

Feedback