9aacc26eb6bea6fda5d5d48a59976adf2e200182
Implement hard-coded 60-second timeout for agent wait operations in three tools: - create_agent (when background=false and initialPrompt provided) - send_agent_prompt (when background=false) - wait_for_agent (always) When timeout occurs, returns gracefully with message "Awaiting the agent timed out, await again" instead of throwing an error. Agent continues running after timeout. Added AGENT_WAIT_TIMEOUT_MS constant and waitForAgentWithTimeout helper function to handle timeout logic with proper cleanup and signal forwarding. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Languages
TypeScript
98%
JavaScript
1.4%
Shell
0.1%