Environmen
t
- OS: Windows 11
- Claude Code: v2.1.168
- html-video studio: v0.7
Problem
After successfully detecting Claude Code as the agent, sending
any prompt results in an empty reply with exit code -4058.
Error message in Studio
"The agent returned an empty reply. Try rephrasing your request"
"agent exit code -4058"
Steps to reproduce
- Install Claude Code globally via npm
- Start html-video studio
- Select Claude Code as agent
- Send any prompt (e.g. "create a 30s video about vibe coding")
- Agent returns empty reply
Notes
Exit code -4058 on Windows typically indicates the process was
terminated or could not spawn correctly. May be related to how
the studio invokes claude --print on Windows (missing .cmd extension).
Environmen
t
Problem
After successfully detecting Claude Code as the agent, sending
any prompt results in an empty reply with exit code -4058.
Error message in Studio
"The agent returned an empty reply. Try rephrasing your request"
"agent exit code -4058"
Steps to reproduce
Notes
Exit code -4058 on Windows typically indicates the process was
terminated or could not spawn correctly. May be related to how
the studio invokes
claude --printon Windows (missing .cmd extension).