fix(producer): fallback distributed capture safely

This commit is contained in:
James
2026-07-27 03:08:40 +00:00
parent 372bead45c
commit 96cafb47c6
10 changed files with 653 additions and 110 deletions
+2 -1
View File
@@ -26,6 +26,7 @@ import { Hono } from "hono";
import {
assemble,
type AssembleResult,
type ChunkRenderer,
type ChunkResult,
type DistributedRenderConfig,
listPlanV2ArtifactsForTarget,
@@ -84,7 +85,7 @@ export interface HandlerDeps {
primitives?: {
plan: typeof plan;
planV2WithPublisher?: typeof planV2WithPublisher;
renderChunk: typeof renderChunk;
renderChunk: ChunkRenderer;
assemble: typeof assemble;
};
/** Override the per-request workdir root (defaults to the OS tmpdir). */