Architecture fix for long-running tool execution:
1. ClaudeCliProtocol: Two-tier idle timeout
- Chat mode: 45s (detect API hang/silent rate limit)
- Tool execution mode: 5min (Bash long tasks like pip install)
- Automatically switches on tool_use_start / content_block_stop events
2. Provision API: POST /templates/:templateId/provision
- Runs shell commands directly via child_process.exec
- Bypasses Claude ACP entirely (no idle timeout issue)
- 10min per-command timeout, security blocklist
- Frontend button with prompt for custom commands
3. Template UI: Added 🔧 安装依赖 button (teal)