fix(core): drain cross-realm execution promises

This commit is contained in:
Yichen Jiang
2026-07-16 18:07:23 +08:00
parent 5a5591205f
commit b1e19d8b69
3 changed files with 29 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ run<T>(execution: AgentExecution | undefined, operation: () => T): T
Types: [AgentExecution](../core-data-structures/core.md)
Source: [`packages/core/agent-execution/src/index.ts:17`](../../packages/core/agent-execution/src/index.ts)
Source: [`packages/core/agent-execution/src/index.ts:18`](../../packages/core/agent-execution/src/index.ts)
## `ctx.agentLoop` — `AgentLoop`