Repository navigation
v1.7.3
Fixed
spawn_claude/spawn_codexinitial_prompt is now synchronous — Addedwait_for_responseparameter (default:false) to both spawn tools. Whentrue, the initial prompt response is captured and returned directly instead of fire-and-forget.
Previously, initial_prompt was injected via raw keystrokes with a 2-second sleep and no output capture, forcing callers to manually retry with send_to_instance. Now reuses the existing send_message() two-phase response detection (bidirectional queue + pane polling fallback).
Usage
# Before: fire-and-forget, no response
spawn_codex(name="test", initial_prompt="What is 2+2?")
# → {"status": "spawned"} (no answer)
# After: get the response directly
spawn_codex(name="test", initial_prompt="What is 2+2?", wait_for_response=True)
# → {"status": "completed", "response": "4"}