Skip to content

v1.7.3

Choose a tag to compare

@barkain barkain released this 10 May 17:52
· 17 commits to main since this release
d4813f0

Fixed

  • spawn_claude / spawn_codex initial_prompt is now synchronous — Added wait_for_response parameter (default: false) to both spawn tools. When true, 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"}