{"version":"2.1.328","anchor":"repl-scripts-ticks-batching-and-interrupted-call-handling","canonical_anchor":"repl-scripts-ticks-batching-and-interrupted-call-handling","heading":"REPL scripts handle unfinished and interrupted tool calls more clearly","tier":"notice","area":"REPL","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328\/e\/repl-scripts-ticks-batching-and-interrupted-call-handling","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.328","markdown":"### REPL scripts handle unfinished and interrupted tool calls more clearly\n\nREPL scripts now mark calls left running after an error as interrupted, and the late-output message tells the model to await a call it needs\n\n**What**\n\nIn REPL mode, Claude writes a short script that makes several tool calls, which are the individual actions Claude takes such as reading a file or running a command. Several things about how those scripts report their calls have changed:\n\n- Tool calls still running when a script fails with an error are now marked as interrupted.\n\n- Reading a variable that was never set now gets its own error message.\n\n- Progress updates from tool calls are now grouped together instead of arriving one at a time.\n\n- The message about output that arrives after a script ends now says \"await a call whose result the script needs\" instead of \"await next time\".\n\n- The record Claude Code keeps when a script ends now holds only a fixed list of fields.\n\n**Why**\n\nWhen a script leaves calls unfinished, both you and the model now see clearer wording and more accurate bookkeeping about what happened to each call.\n\n- Area: REPL\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}