fix(agents): surface blocked subagent completions

This commit is contained in:
clawsweeper
2026-05-21 22:12:07 +00:00
parent 1067321c7a
commit 224785c8a6
2 changed files with 2 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ Docs: https://docs.openclaw.ai
### Fixes
- Agents/subagents: surface blocked child-run completions as errors instead of successful subagent finishes. (#80886) Thanks @TurboTheTurtle.
- WhatsApp: update Baileys to `7.0.0-rc13` and drop the obsolete logger type patch.
- Infra/json: retry transient `File changed during read` races while loading JSON state so config and state reads recover instead of failing the turn. (#84285)
- Providers/Ollama: resolve configured Ollama Cloud `OLLAMA_API_KEY` markers to the real discovery key so cloud provider entries keep authenticated model catalog access. (#85037)

View File

@@ -377,6 +377,7 @@ export function applySubagentWaitOutcome(params: {
}
const waitError = typeof params.wait?.error === "string" ? params.wait.error : undefined;
let outcome = next.outcome;
// Capture/announcement callers can pass raw wait snapshots that bypass the primary normalizers.
if (isBlockedLivenessState(params.wait?.livenessState)) {
outcome = { status: "error", error: formatBlockedLivenessError(waitError) };
} else if (params.wait?.status === "timeout") {