{"version":"2.1.334","anchor":"async-agent-stall-watchdog-defers-while-a-repl-script-is-wai","canonical_anchor":"async-agent-stall-watchdog-defers-while-a-repl-script-is-wai","heading":"Background agents are no longer stopped as stuck while waiting on a script","tier":"notice","area":"Background Agents","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334\/e\/async-agent-stall-watchdog-defers-while-a-repl-script-is-wai","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.334","markdown":"### Background agents are no longer stopped as stuck while waiting on a script\n\nThe check that stops stuck background agents now holds off while a REPL script is waiting or has only just finished waiting\n\n**What**\n\nA background agent is a helper Claude Code runs on its own to work on part of a task. Claude Code has a watchdog that stops such an agent if it seems stuck. Before, the watchdog held off only while a tool was still running.\n\nIt now also holds off while a script in the REPL, Claude Code's tool for running code, is waiting, or has only just finished waiting. The error shown when an agent is stopped now gives the number of seconds rounded to a whole number.\n\n**Why**\n\nAgents running scripts are less likely to be stopped for being stuck when they are only waiting.\n\n- Area: Background Agents\n- Tier: You'll notice\n- Useful: 3\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}