import type { NodeIdDTO } from './common.js'; /** `POST /v1/nodes/{id}/attach` body (local ensure). */ export interface AttachEnsureRequest { /** Resume saved history on revive (default true). */ resume?: boolean; /** Revive if dormant (default true); false returns a possibly-dead socket. */ revive?: boolean; } /** Result of a local attach-ensure. */ export interface AttachEnsureResultDTO { node_id: NodeIdDTO; /** Host-local path to the node's broker `view.sock`. */ socket_path: string; revived: boolean; resumed: boolean; }