const DOCK_STUCK_THRESHOLD_MS: i64 = 30_000;Expand description
A ToolNode’s status stays "running" this long (matches the
frontend’s own TOOL_PROMOTION_MS, frontend/app/view/agent/activity/ tool-adapter.ts) before it’s eligible to be flagged stuck here — a
tool call that’s merely taking a while must not be flagged the instant
it starts. No shared constant exists between the two languages; keep
this value in sync with the frontend’s if either changes.