fix(agents): refresh deferred subagent delivery text

This commit is contained in:
Vincent Koc
2026-05-04 11:50:37 -07:00
parent 9aad2b82c3
commit de4903ec7a
2 changed files with 7 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ Docs: https://docs.openclaw.ai
- fix(device-pair): require pairing scope for pair command [AI]. (#76377) Thanks @pgondhi987.
- fix(qqbot): keep private commands off framework surface [AI]. (#77212) Thanks @pgondhi987.
- Claude CLI: honor non-off `/think` levels by passing Claude Code's session-scoped `--effort` flag through the CLI backend seam, so chat bridges no longer show an inert thinking control. Fixes #77303. Thanks @Petr1t.
- Agents/subagents: refresh deferred final-delivery payloads when same-session completion output changes, so retried parent notifications use the final child summary instead of stale progress text. Thanks @vincentkoc.
- Memory/wiki: preserve representation from both corpora in `corpus=all` searches while backfilling unused result capacity, so memory hits are not starved by numerically higher wiki integer scores. Fixes #77337. Thanks @hclsys.
- Telegram: clean up tool-only draft previews after assistant message boundaries so transient `Surfacing...` tool-status bubbles do not linger when no matching final preview arrives. Thanks @BunsDev.
- Cron: surface failed isolated-run diagnostics in `cron show`, status, and run history when requested tools are unavailable, so blocked cron runs report the actual tool-policy failure instead of a misleading green result. Fixes #75763. Thanks @RyanSandoval.

View File

@@ -288,6 +288,12 @@ export function createSubagentRegistryLifecycleController(params: {
}
entry.frozenResultText = nextFrozen;
entry.frozenResultCapturedAt = capturedAt;
if (entry.pendingFinalDeliveryPayload) {
entry.pendingFinalDeliveryPayload = {
...entry.pendingFinalDeliveryPayload,
frozenResultText: nextFrozen,
};
}
changed = true;
}
if (changed) {