v1.1.3
Install:
pi install git:github.com/edxeth/pi-ralph-loop@v1.1.3Or latest:
pi install git:github.com/edxeth/pi-ralph-loopπ Bug Fixes
Loops no longer stall when an agent launches a background subagent
Refs: b816ed05
When the parent agent kicked off a background or async subagent, its turn ended on a pending tool call. Ralph's loop engine misread that as a dead provider: it armed the provider-error timeout and finalized the loop with stop_reason "error" before the child could finish. Each affected iteration then required a manual /ralph-resume to continue.
Ralph now recognizes a turn that ends on a tool call as an intentional async suspension and stays parked until the tool result arrives, instead of arming the wait or counting it as an error. The check is tool-agnostic, so it applies to any async tool, not just subagents, and Ralph stays decoupled from pi-subagents. Genuine stopReason "error" retries and terminal/bundle paths are unchanged.