Release per-run workspaces after pending outputs are dropped and before cache disposal. Wait for native work if releasing requires completion.
Consume one pending token and advance state once. Returned arrays belong to the caller. A step that throws fails the generation.
Release per-run workspaces after pending outputs are dropped and before cache disposal. Wait for native work if releasing requires completion.