Merge remote-tracking branch 'origin/master' into debug-pangwenjie

# Conflicts:
#	docs/event-producer-consumer.md
#	packages/core/agent-loop/src/loop.ts
This commit is contained in:
Hypatia May
2026-07-15 15:31:27 +08:00
200 changed files with 1643 additions and 1411 deletions

View File

@@ -581,7 +581,8 @@ async function runStep(
})
session.append('tool/result', {
turn, step,
// Preserve transcript pairing even if a post-execute listener returns another id.
// Correlation comes from the immutable execution input; the result does
// not duplicate this authoritative transcript identity.
callId: call.id,
content: result.content,
isError: result.isError,