/** * The daemon's one construction path for a dispatch view. * * Both GET /dispatch and the D1 lane-execution broker must resolve configured lanes through this * function. A second builder would let manifest state, context-window metadata, host transposition, * or Windows launcher wrapping drift between "what the daemon says to run" and "what it runs". */ import type { ModelCatalog } from "./catalog.js"; import type { Config } from "./config.js"; import { type DispatchOptions, type DispatchView } from "./dispatch.js"; import { type LaneManifest } from "./lane-manifest.js"; export type DaemonDispatchOptions = Omit; export interface DaemonDispatchViewDeps { catalog: Pick; /** undefined = read the normal cached manifest; null = deliberately no manifest (tests). */ manifest?: LaneManifest | null; platform?: NodeJS.Platform; /** undefined = resolve the installed launcher; null = deliberately no wrapper (tests). */ launcherPath?: string | null; } export declare function buildDaemonDispatchView(cfg: Config, options: DaemonDispatchOptions, deps: DaemonDispatchViewDeps): DispatchView;