import { d as ModelVisibleMcpToolResults, h as McpToolResultImageRenderingPolicy } from './types-HXAijHji.js'; /** * Node-safe `emptyHostConfigInputV2` builder + its return type. * * Ported verbatim from the inspector client's `emptyHostConfigInputV2` * (`client/src/lib/client-config-v2.ts`) so host-template seeding can run in * Node (the server's `--template` resolver) without importing browser-only * client modules. The client re-exports this function (cast to its strict * `HostConfigInputV2` type) so there is a single source of truth and the 80+ * `@/lib/client-config-v2` importers don't churn. * * `SeededHostConfigInput` is the structural shape these seeds produce. It is * intentionally self-contained (no client type imports): the client casts it * to its strict editor aggregate; the server passes it straight to the Convex * `hosts:createHost` mutation, whose validator is the looser storage shape. */ /** Default host style for a brand-new config — MCPJam house chrome. */ declare const DEFAULT_HOST_STYLE_V2 = "mcpjam"; /** * Mirror of the inspector client's `DEFAULT_REQUEST_TIMEOUT_MS` * (`client/src/lib/client-config.ts`). Relocated here so the SDK seed builder * has no client import. */ declare const DEFAULT_REQUEST_TIMEOUT_MS = 10000; /** * Structural shape produced by `emptyHostConfigInputV2` and the host-template * seeds. Matches the client's strict `HostConfigInputV2` field-for-field, but * uses Node-safe primitive/record types so the SDK owns no client types. */ type SeededHostConfigInput = { hostStyle: string; modelId: string; systemPrompt: string; temperature: number; requireToolApproval: boolean; respectToolVisibility: boolean; progressiveToolDiscovery?: boolean; serverIds: string[]; optionalServerIds: string[]; builtInToolIds: string[]; skillSelection?: { mode: "all-visible"; } | { mode: "explicit"; skillIds: string[]; }; modelVisibleMcpToolResults?: ModelVisibleMcpToolResults; mcpToolResultImageRendering?: McpToolResultImageRenderingPolicy; computer?: { kind: "personal"; workdir?: string; }; harness?: "claude-code" | "codex"; connectionDefaults: { headers: Record; requestTimeout: number; }; clientCapabilities: Record; hostContext: Record; hostCapabilitiesOverride?: Record; chatUiOverride?: Record; mcpProfile?: Record; serverConnectionOverrides?: Record; requestTimeoutOverride?: number; mcpProtocolVersionOverride?: string; }>; }; declare function emptyHostConfigInputV2(partial?: Partial): SeededHostConfigInput; export { DEFAULT_HOST_STYLE_V2 as D, type SeededHostConfigInput as S, DEFAULT_REQUEST_TIMEOUT_MS as a, emptyHostConfigInputV2 as e };