[Feature Request] Add timeout feedback mechanism for long-running tool operations to prevent agent deadlock
Resolved 💬 2 comments Opened Apr 9, 2026 by Sarowx Closed May 23, 2026
Bug Description
Dispatched agents sometimes stuck at a web related task (usually fetch) and the only workaround is to stop them and dispatch a new agent. It's problematic because (1) they could already have done some work and (2) it prevents long running multi phase multi agent processes from completion and always requires human in the loop. I propose a solution of having a feedback back to the agent from i.e. the fetch tool, which says the fetch has been running for 1 minute already, shall we retry or stop it or keep waiting? And the Agent decides how to proceed instead of being completely stuck.
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.96
- Feedback ID: 6f551b3b-0cb7-4092-8c5c-4d3a19e08bd6
Errors
[{"error":"Error: File does not exist. Note: your current working directory is C:\\Users\\Saro\\OneDrive - ServiceHunter AG\\My Documents\\Research\\Pharma mobile app.\n at call (B:/~BUN/root/src/entrypoints/cli.js:4369:7616)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T08:26:24.306Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\Saro\\AppData\\Local\\Temp\\claude\\C--Users-Saro-OneDrive---ServiceHunter-AG-My-Documents-Research-Pharma-mobile-app\\b09d709e-4e91-4f56-b66f-479e87c17237\\tasks\\a702377fbc2d2699e.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7685:299)","timestamp":"2026-04-09T08:49:09.335Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\Saro\\AppData\\Local\\Temp\\claude\\C--Users-Saro-OneDrive---ServiceHunter-AG-My-Documents-Research-Pharma-mobile-app\\b09d709e-4e91-4f56-b66f-479e87c17237\\tasks\\a7fff9d18745dc179.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7685:299)","timestamp":"2026-04-09T08:49:27.361Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\Saro\\AppData\\Local\\Temp\\claude\\C--Users-Saro-OneDrive---ServiceHunter-AG-My-Documents-Research-Pharma-mobile-app\\b09d709e-4e91-4f56-b66f-479e87c17237\\tasks\\aa5be60a070821bdf.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7685:299)","timestamp":"2026-04-09T08:49:41.875Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\Saro\\AppData\\Local\\Temp\\claude\\C--Users-Saro-OneDrive---ServiceHunter-AG-My-Documents-Research-Pharma-mobile-app\\b09d709e-4e91-4f56-b66f-479e87c17237\\tasks\\a50c33c7e92fdd6f5.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7685:299)","timestamp":"2026-04-09T08:49:59.910Z"},{"error":"AxiosError: Request failed with status code 429\n at lB (B:/~BUN/root/src/entrypoints/cli.js:108:1194)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:113:12750)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (B:/~BUN/root/src/entrypoints/cli.js:115:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T08:51:23.947Z"},{"error":"AxiosError: Request failed with status code 404\n at lB (B:/~BUN/root/src/entrypoints/cli.js:108:1194)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:113:12750)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:865:50)\n at processTicksAndRejections (native:7:39)\n at request (B:/~BUN/root/src/entrypoints/cli.js:115:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T08:52:04.946Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\Saro\\AppData\\Local\\Temp\\claude\\C--Users-Saro-OneDrive---ServiceHunter-AG-My-Documents-Research-Pharma-mobile-app\\b09d709e-4e91-4f56-b66f-479e87c17237\\tasks\\a9b9318f5df343dd4.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7685:299)","timestamp":"2026-04-09T09:04:04.082Z"},{"error":"CanceledError: canceled\n at L (B:/~BUN/root/src/entrypoints/cli.js:113:7114)\n at abort (unknown)\n at BH4 (B:/~BUN/root/src/entrypoints/cli.js:1370:830)\n at abort (unknown)\n at BH4 (B:/~BUN/root/src/entrypoints/cli.js:1370:830)\n at abort (unknown)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:3760:162)\n at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:1483:2800)\n at setState (B:/~BUN/root/src/entrypoints/cli.js:551:11763)\n at j7 (B:/~BUN/root/src/entrypoints/cli.js:1483:2752)\n at request (B:/~BUN/root/src/entrypoints/cli.js:115:2467)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-09T09:07:39.807Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\Saro\\AppData\\Local\\Temp\\claude\\C--Users-Saro-OneDrive---ServiceHunter-AG-My-Documents-Research-Pharma-mobile-app\\b09d709e-4e91-4f56-b66f-479e87c17237\\tasks\\a546d05da48ed37a4.output'\n at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:7685:299)"…
Note: Content was truncated.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗