Async Generator Query Architecture

Description

QueryEngine.submitMessage() returns an AsyncGenerator rather than a Promise; the yield* chain preserves state at every step so that Ctrl+C interrupts do not discard partial context.

Key claims

Relations

Sources

src-20260419-f46b0a2fccd9