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.328 ·

Code Mode REPL prompt: stricter rules, new hints and a corrected timeout note

The Code Mode REPL prompt now asks scripts to await everything and adds new hints, and its timeout no longer counts time at permission prompts

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

What

In Code Mode, Claude runs tools by writing small scripts in a REPL, a place where code is run piece by piece. The instructions Claude gets for this REPL changed in several ways:

  • Scripts are now told to await everything they start, meaning wait for it to finish. The old text said anything not awaited is stopped when the script ends, and advised starting dev servers without awaiting them.
  • Scripts are told to start dev servers with .timeout(3000).
  • The name __replAt is reserved, with the error "REPL: the name __replAt is reserved. Use another name."
  • The tool docs now tell $ and PowerShell apart.
  • A new message explains when to use Grep and when to use mod.
  • When an edit does not match the file, a new hint names the closest line that differs.
  • The script timeout is now described as not counting time spent at permission prompts, the moments when Claude Code stops to ask you. The old text said it did count that time.
  • The error shown when a script runs out of time has a new version. It says the limit does not count time at permission prompts, and that a call may have been waiting for the script's other calls to end. The old wording is kept when a new flag is true.
  • A conditional hint block was added, and an 'unavailable' list is now passed to the tool declarations.

The old and new prompts could not be compared directly in this release.

Why

This changes how Claude handles long-running commands such as dev servers in Code Mode, and how it understands the time limit on its scripts.

See this entry in the whole of v2.1.328 →

Feedback