/** * Per-node terminal panel for the v3 dashboard. * * Input contract is deliberately small and safe: * - no worker write token * - no raw filesystem path * - replay fetches the cookie-auth `/api/v3/.../pty-log` endpoint */ import type { RunNodeView } from '../../workflows/v3/ops-projection.js'; export type NodeTerminalRenderKind = 'live' | 'replay' | 'empty'; export interface NodeTerminalRender { kind: NodeTerminalRenderKind; signature: string; html: string; } /** Signature of a node's terminal-relevant inputs. React keeps the iframe DOM * mounted across polling ticks unless this value, prefixed by node id, changes. */ export declare function nodeTerminalSignature(node: RunNodeView): string; export declare function renderNodeTerminal(container: HTMLElement, runId: string, node: RunNodeView): void; export declare function buildNodeTerminalRender(runId: string, node: RunNodeView, options?: { host?: string; }): NodeTerminalRender; export declare function liveTerminalUrl(webPort: number, host?: string, sessionId?: string): string; export declare function buildReplayTerminalSrcdoc(endpoint: string, title: string): string; //# sourceMappingURL=v3-terminal.d.ts.map