import { z } from "zod"; /** * WebSocket wire schemas (architecture/websocket-protocol.md). * * The protocol mixes JSON text frames (these schemas) with a small binary framing for * terminal/file streams (see `binary-frames/`). All schemas are append-only: new fields are * optional with defaults, types are never narrowed, fields are never removed. * * Built up across sprint-002: * - task-001: top-level envelopes + handshake. * - task-003: the session message family union (agent / timeline / permission core). */ /** * A wire timestamp. Accepts either an epoch-millis number or an ISO-8601 string so the type is * never narrowed across versions (append-only rule). */ export declare const wireTimestampSchema: z.ZodUnion<[z.ZodNumber, z.ZodString]>; export type WireTimestamp = z.infer; /** Client kinds that may connect. Desktop connects as `browser` (TODO(verify) MAIN-SCOPE). */ export declare const clientTypeSchema: z.ZodEnum<["mobile", "browser", "cli", "mcp"]>; export type ClientType = z.infer; /** * Client → Server handshake. Must be the first frame on a connection. `capabilities` advertises * the `CLIENT_CAPS.*` flags the client supports (a string→boolean map; see client-capabilities.ts). */ export declare const helloSchema: z.ZodObject<{ type: z.ZodLiteral<"hello">; clientId: z.ZodString; clientType: z.ZodEnum<["mobile", "browser", "cli", "mcp"]>; protocolVersion: z.ZodNumber; appVersion: z.ZodOptional; capabilities: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "hello"; clientId: string; clientType: "browser" | "cli" | "mcp" | "mobile"; protocolVersion: number; appVersion?: string | undefined; capabilities?: Record | undefined; }, { type: "hello"; clientId: string; clientType: "browser" | "cli" | "mcp" | "mobile"; protocolVersion: number; appVersion?: string | undefined; capabilities?: Record | undefined; }>; export type Hello = z.infer; /** * The `server_info` payload carried by the `status` envelope. There is no dedicated welcome * message — the server emits this after accepting the hello, then begins streaming. * * `homeDir` is the daemon host's home directory (`os.homedir()`), the authoritative value clients * expand a `~`-prefixed `cwd`/path against. It is the daemon's home, not the client's: a browser on * macOS may drive a Linux daemon (or vice versa), so a client MUST never derive it locally. * Optional only for wire compatibility with daemons predating it — a client that gets no value * leaves tilde paths unexpanded rather than guessing. */ export declare const serverInfoPayloadSchema: z.ZodObject<{ status: z.ZodLiteral<"server_info">; serverId: z.ZodString; hostname: z.ZodOptional; version: z.ZodOptional; homeDir: z.ZodOptional; capabilities: z.ZodRecord; features: z.ZodRecord; }, "strip", z.ZodTypeAny, { status: "server_info"; serverId: string; hostname?: string | undefined; version?: string | undefined; homeDir?: string | undefined; capabilities: Record; features: Record; }, { status: "server_info"; serverId: string; hostname?: string | undefined; version?: string | undefined; homeDir?: string | undefined; capabilities: Record; features: Record; }>; export type ServerInfoPayload = z.infer; /** Server → Client status envelope wrapping `server_info`. */ export declare const statusSchema: z.ZodObject<{ type: z.ZodLiteral<"status">; payload: z.ZodObject<{ status: z.ZodLiteral<"server_info">; serverId: z.ZodString; hostname: z.ZodOptional; version: z.ZodOptional; homeDir: z.ZodOptional; capabilities: z.ZodRecord; features: z.ZodRecord; }, "strip", z.ZodTypeAny, { status: "server_info"; serverId: string; hostname?: string | undefined; version?: string | undefined; homeDir?: string | undefined; capabilities: Record; features: Record; }, { status: "server_info"; serverId: string; hostname?: string | undefined; version?: string | undefined; homeDir?: string | undefined; capabilities: Record; features: Record; }>; }, "strip", z.ZodTypeAny, { type: "status"; payload: { status: "server_info"; serverId: string; hostname?: string | undefined; version?: string | undefined; homeDir?: string | undefined; capabilities: Record; features: Record; }; }, { type: "status"; payload: { status: "server_info"; serverId: string; hostname?: string | undefined; version?: string | undefined; homeDir?: string | undefined; capabilities: Record; features: Record; }; }>; export type Status = z.infer; export declare const pingSchema: z.ZodObject<{ type: z.ZodLiteral<"ping">; requestId: z.ZodString; clientSentAt: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "ping"; requestId: string; clientSentAt?: string | number | undefined; }, { type: "ping"; requestId: string; clientSentAt?: string | number | undefined; }>; export type Ping = z.infer; export declare const pongSchema: z.ZodObject<{ type: z.ZodLiteral<"pong">; requestId: z.ZodString; clientSentAt: z.ZodOptional>; serverReceivedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; serverSentAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "strip", z.ZodTypeAny, { type: "pong"; requestId: string; clientSentAt?: string | number | undefined; serverReceivedAt: string | number; serverSentAt: string | number; }, { type: "pong"; requestId: string; clientSentAt?: string | number | undefined; serverReceivedAt: string | number; serverSentAt: string | number; }>; export type Pong = z.infer; export type RpcDirection = "request" | "response"; /** * Builds a dotted RPC name: `domain.provider.operation.direction` * (e.g. `checkout.github.set_auto_merge.request`). Segments read left→right: * domain → provider/subsystem → operation (a verb) → direction. New RPCs use this form; legacy * flat names (e.g. `checkout_pr_merge_request`) remain *accepted* but must not be generated. */ export declare function rpcName(domain: string, providerOrSubsystem: string, operation: string, direction: RpcDirection): string; /** Status the daemon reports for an agent (architecture/persistence.md — `lastStatus`). */ export declare const agentStatusEnum: z.ZodEnum<["initializing", "idle", "running", "error", "closed"]>; export type AgentStatus = z.infer; export declare const imageAttachmentSchema: z.ZodObject<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; export type ImageAttachment = z.infer; export declare const agentAttachmentsSchema: z.ZodObject<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; /** * `AgentSessionConfig` — provider/mode/model and run options for an agent. `provider`/`modeId`/ * `model`/`thinkingOptionId` are dynamic strings (discovered at runtime per agent-providers.md), * not fixed enums, so they are not narrowed here. */ export declare const agentSessionConfigSchema: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; /** The model's own underlying LLM provider (e.g. `"anthropic"`), pinned alongside `model` when * a deferred draft materializes (either the resolved default or an explicit `/model` pick) — * required to replay it via `setProviderModel` on first spawn, since neither `createSession` * nor `resumeSession` consult this field (Pi resolves its own default at spawn). */ modelProvider: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodOptional>; approvalPolicy: z.ZodOptional; sandboxMode: z.ZodOptional; networkAccess: z.ZodOptional; webSearch: z.ZodOptional; extra: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, "strip", z.ZodTypeAny, { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectOutputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }, { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectInputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }>; export type AgentSessionConfig = z.infer; export declare const createAgentRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"create_agent_request">; requestId: z.ZodString; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; /** The model's own underlying LLM provider (e.g. `"anthropic"`), pinned alongside `model` when * a deferred draft materializes (either the resolved default or an explicit `/model` pick) — * required to replay it via `setProviderModel` on first spawn, since neither `createSession` * nor `resumeSession` consult this field (Pi resolves its own default at spawn). */ modelProvider: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodOptional>; approvalPolicy: z.ZodOptional; sandboxMode: z.ZodOptional; networkAccess: z.ZodOptional; webSearch: z.ZodOptional; extra: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, "strip", z.ZodTypeAny, { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectOutputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }, { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectInputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }>; env: z.ZodOptional>; workspaceId: z.ZodOptional; worktreeName: z.ZodOptional; initialPrompt: z.ZodOptional; clientMessageId: z.ZodOptional; outputSchema: z.ZodOptional>; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; attachments: z.ZodOptional>; issues: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; git: z.ZodOptional; worktree: z.ZodOptional; autoArchive: z.ZodOptional; labels: z.ZodDefault>; }, "strip", z.ZodTypeAny, { type: "create_agent_request"; requestId: string; config: { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectOutputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }; env?: Record | undefined; workspaceId?: string | undefined; worktreeName?: string | undefined; initialPrompt?: string | undefined; clientMessageId?: string | undefined; outputSchema?: Record | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; attachments?: z.objectOutputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; git?: unknown; worktree?: unknown; autoArchive?: boolean | undefined; labels: Record; }, { type: "create_agent_request"; requestId: string; config: { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectInputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }; env?: Record | undefined; workspaceId?: string | undefined; worktreeName?: string | undefined; initialPrompt?: string | undefined; clientMessageId?: string | undefined; outputSchema?: Record | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; attachments?: z.objectInputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; git?: unknown; worktree?: unknown; autoArchive?: boolean | undefined; labels?: Record | undefined; }>; export type CreateAgentRequest = z.infer; export declare const createAgentResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"create_agent_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { type: "create_agent_response"; requestId: string; payload: { agentId: string; } & { [k: string]: unknown; }; }, { type: "create_agent_response"; requestId: string; payload: { agentId: string; } & { [k: string]: unknown; }; }>; export type CreateAgentResponse = z.infer; export declare const agentUpdateSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_update">; agentId: z.ZodString; status: z.ZodOptional>; title: z.ZodOptional>; labels: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "agent_update"; agentId: string; status?: "closed" | "error" | "idle" | "initializing" | "running" | undefined; title?: string | null | undefined; labels?: Record | undefined; }, { type: "agent_update"; agentId: string; status?: "closed" | "error" | "idle" | "initializing" | "running" | undefined; title?: string | null | undefined; labels?: Record | undefined; }>; export declare const agentStatusMessageSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_status">; agentId: z.ZodString; status: z.ZodEnum<["initializing", "idle", "running", "error", "closed"]>; }, "strip", z.ZodTypeAny, { type: "agent_status"; agentId: string; status: "closed" | "error" | "idle" | "initializing" | "running"; }, { type: "agent_status"; agentId: string; status: "closed" | "error" | "idle" | "initializing" | "running"; }>; export declare const agentListSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_list">; agents: z.ZodArray, z.objectInputType<{ id: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "strip", z.ZodTypeAny, { type: "agent_list"; agents: z.objectOutputType<{ id: z.ZodString; }, z.ZodTypeAny, "passthrough">[]; }, { type: "agent_list"; agents: z.objectInputType<{ id: z.ZodString; }, z.ZodTypeAny, "passthrough">[]; }>; export declare const agentDeletedSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_deleted">; agentId: z.ZodString; }, "strip", z.ZodTypeAny, { type: "agent_deleted"; agentId: string; }, { type: "agent_deleted"; agentId: string; }>; export declare const agentArchivedSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_archived">; agentId: z.ZodString; archivedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "agent_archived"; agentId: string; archivedAt?: string | undefined; }, { type: "agent_archived"; agentId: string; archivedAt?: string | undefined; }>; /** `ToolCallDetail` — normalized across providers, discriminated on `kind`. */ export declare const toolCallDetailSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"shell">; command: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "shell"; command?: string | undefined; output?: string | undefined; }, { kind: "shell"; command?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"read">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "read"; path?: string | undefined; output?: string | undefined; }, { kind: "read"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"edit">; path: z.ZodOptional; diff: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"write">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "write"; path?: string | undefined; output?: string | undefined; }, { kind: "write"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"search">; query: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "search"; query?: string | undefined; output?: string | undefined; }, { kind: "search"; query?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"fetch">; url: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"task">; description: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "task"; description?: string | undefined; output?: string | undefined; }, { kind: "task"; description?: string | undefined; output?: string | undefined; }>]>; export type ToolCallDetail = z.infer; /** `AgentStreamEvent` — discriminated on `kind`. */ export declare const agentStreamEventSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"user_message">; messageId: z.ZodOptional; text: z.ZodOptional; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "strip", z.ZodTypeAny, { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"assistant_message">; messageId: z.ZodOptional; text: z.ZodOptional; /** * Set on the marker event that closes an assistant text block (Pi's `text_end` delta). The * text is complete and will not grow, so a renderer can switch from its cheap streaming tier * to full markdown immediately instead of waiting for `turn_completed`, which is one * `agent_end` — potentially minutes of tool execution — away. Carries no `text` of its own * when emitted as a standalone marker; hydrated history sets it alongside the block's full * text. Older clients see an empty `assistant_message` and no-op. */ final: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; }, { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"reasoning">; text: z.ZodOptional; /** Closes a thinking block (Pi's `thinking_end` delta) — see `assistant_message.final`. */ final: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; }, { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"tool_call">; callId: z.ZodOptional; tool: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"shell">; command: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "shell"; command?: string | undefined; output?: string | undefined; }, { kind: "shell"; command?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"read">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "read"; path?: string | undefined; output?: string | undefined; }, { kind: "read"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"edit">; path: z.ZodOptional; diff: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"write">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "write"; path?: string | undefined; output?: string | undefined; }, { kind: "write"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"search">; query: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "search"; query?: string | undefined; output?: string | undefined; }, { kind: "search"; query?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"fetch">; url: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"task">; description: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "task"; description?: string | undefined; output?: string | undefined; }, { kind: "task"; description?: string | undefined; output?: string | undefined; }>]>; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; }, { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_started">; turnId: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_started"; turnId?: string | undefined; }, { kind: "turn_started"; turnId?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_completed">; turnId: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_completed"; turnId?: string | undefined; }, { kind: "turn_completed"; turnId?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_failed">; turnId: z.ZodOptional; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; }, { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_canceled">; turnId: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_canceled"; turnId?: string | undefined; }, { kind: "turn_canceled"; turnId?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"error">; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "error"; message?: string | undefined; }, { kind: "error"; message?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"queue_update">; steering: z.ZodOptional>; followUp: z.ZodOptional>; }, "strip", z.ZodTypeAny, { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }, { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }>]>; export type AgentStreamEvent = z.infer; export declare const agentStreamSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_stream">; agentId: z.ZodString; seq: z.ZodOptional; timestamp: z.ZodOptional>; event: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"user_message">; messageId: z.ZodOptional; text: z.ZodOptional; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "strip", z.ZodTypeAny, { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"assistant_message">; messageId: z.ZodOptional; text: z.ZodOptional; /** * Set on the marker event that closes an assistant text block (Pi's `text_end` delta). The * text is complete and will not grow, so a renderer can switch from its cheap streaming tier * to full markdown immediately instead of waiting for `turn_completed`, which is one * `agent_end` — potentially minutes of tool execution — away. Carries no `text` of its own * when emitted as a standalone marker; hydrated history sets it alongside the block's full * text. Older clients see an empty `assistant_message` and no-op. */ final: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; }, { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"reasoning">; text: z.ZodOptional; /** Closes a thinking block (Pi's `thinking_end` delta) — see `assistant_message.final`. */ final: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; }, { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"tool_call">; callId: z.ZodOptional; tool: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"shell">; command: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "shell"; command?: string | undefined; output?: string | undefined; }, { kind: "shell"; command?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"read">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "read"; path?: string | undefined; output?: string | undefined; }, { kind: "read"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"edit">; path: z.ZodOptional; diff: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"write">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "write"; path?: string | undefined; output?: string | undefined; }, { kind: "write"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"search">; query: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "search"; query?: string | undefined; output?: string | undefined; }, { kind: "search"; query?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"fetch">; url: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"task">; description: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "task"; description?: string | undefined; output?: string | undefined; }, { kind: "task"; description?: string | undefined; output?: string | undefined; }>]>; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; }, { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_started">; turnId: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_started"; turnId?: string | undefined; }, { kind: "turn_started"; turnId?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_completed">; turnId: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_completed"; turnId?: string | undefined; }, { kind: "turn_completed"; turnId?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_failed">; turnId: z.ZodOptional; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; }, { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_canceled">; turnId: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_canceled"; turnId?: string | undefined; }, { kind: "turn_canceled"; turnId?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"error">; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "error"; message?: string | undefined; }, { kind: "error"; message?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"queue_update">; steering: z.ZodOptional>; followUp: z.ZodOptional>; }, "strip", z.ZodTypeAny, { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }, { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: "agent_stream"; agentId: string; seq?: number | undefined; timestamp?: string | number | undefined; event: { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; } | { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; } | { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; } | { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; } | { kind: "turn_started"; turnId?: string | undefined; } | { kind: "turn_completed"; turnId?: string | undefined; } | { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; } | { kind: "turn_canceled"; turnId?: string | undefined; } | { kind: "error"; message?: string | undefined; } | { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }; }, { type: "agent_stream"; agentId: string; seq?: number | undefined; timestamp?: string | number | undefined; event: { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; } | { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; } | { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; } | { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; } | { kind: "turn_started"; turnId?: string | undefined; } | { kind: "turn_completed"; turnId?: string | undefined; } | { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; } | { kind: "turn_canceled"; turnId?: string | undefined; } | { kind: "error"; message?: string | undefined; } | { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }; }>; export declare const timelineDirectionEnum: z.ZodEnum<["before", "after"]>; export type TimelineDirection = z.infer; export declare const sourceSeqRangeSchema: z.ZodObject<{ start: z.ZodNumber; end: z.ZodNumber; }, "strip", z.ZodTypeAny, { start: number; end: number; }, { start: number; end: number; }>; export type SourceSeqRange = z.infer; export declare const fetchAgentTimelineRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_timeline_request">; requestId: z.ZodString; agentId: z.ZodString; cursor: z.ZodOptional>; direction: z.ZodEnum<["before", "after"]>; limit: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "fetch_agent_timeline_request"; requestId: string; agentId: string; cursor?: string | null | undefined; direction: "after" | "before"; limit?: number | undefined; }, { type: "fetch_agent_timeline_request"; requestId: string; agentId: string; cursor?: string | null | undefined; direction: "after" | "before"; limit?: number | undefined; }>; export type FetchAgentTimelineRequest = z.infer; export declare const fetchAgentTimelineResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_timeline_response">; requestId: z.ZodString; agentId: z.ZodOptional; items: z.ZodArray; seqStart: z.ZodNumber; seqEnd: z.ZodNumber; sourceSeqRanges: z.ZodArray, "many">; collapsed: z.ZodBoolean; hasNewer: z.ZodBoolean; startCursor: z.ZodOptional>; endCursor: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "fetch_agent_timeline_response"; requestId: string; agentId?: string | undefined; items: unknown[]; seqStart: number; seqEnd: number; sourceSeqRanges: { start: number; end: number; }[]; collapsed: boolean; hasNewer: boolean; startCursor?: string | null | undefined; endCursor?: string | null | undefined; }, { type: "fetch_agent_timeline_response"; requestId: string; agentId?: string | undefined; items: unknown[]; seqStart: number; seqEnd: number; sourceSeqRanges: { start: number; end: number; }[]; collapsed: boolean; hasNewer: boolean; startCursor?: string | null | undefined; endCursor?: string | null | undefined; }>; export type FetchAgentTimelineResponse = z.infer; export declare const agentPermissionRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_permission_request">; requestId: z.ZodString; agentId: z.ZodString; toolName: z.ZodOptional; tool: z.ZodOptional; command: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "shell"; command?: string | undefined; output?: string | undefined; }, { kind: "shell"; command?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"read">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "read"; path?: string | undefined; output?: string | undefined; }, { kind: "read"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"edit">; path: z.ZodOptional; diff: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"write">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "write"; path?: string | undefined; output?: string | undefined; }, { kind: "write"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"search">; query: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "search"; query?: string | undefined; output?: string | undefined; }, { kind: "search"; query?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"fetch">; url: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"task">; description: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "task"; description?: string | undefined; output?: string | undefined; }, { kind: "task"; description?: string | undefined; output?: string | undefined; }>]>>; action: z.ZodOptional; responses: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "agent_permission_request"; requestId: string; agentId: string; toolName?: string | undefined; tool?: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; } | undefined; action?: unknown; responses?: string[] | undefined; }, { type: "agent_permission_request"; requestId: string; agentId: string; toolName?: string | undefined; tool?: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; } | undefined; action?: unknown; responses?: string[] | undefined; }>; export declare const agentPermissionResolvedSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_permission_resolved">; requestId: z.ZodString; agentId: z.ZodString; decision: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "agent_permission_resolved"; requestId: string; agentId: string; decision?: string | undefined; }, { type: "agent_permission_resolved"; requestId: string; agentId: string; decision?: string | undefined; }>; /** respond-to-permission RPC (client → daemon), dotted name `agent.permission.respond.request`. */ export declare const respondToPermissionRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.permission.respond.request">; requestId: z.ZodString; permissionRequestId: z.ZodString; response: z.ZodUnknown; }, "strip", z.ZodTypeAny, { type: "agent.permission.respond.request"; requestId: string; permissionRequestId: string; response?: unknown; }, { type: "agent.permission.respond.request"; requestId: string; permissionRequestId: string; response?: unknown; }>; export declare const respondToPermissionResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.permission.respond.response">; requestId: z.ZodString; payload: z.ZodObject<{ resolved: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ resolved: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ resolved: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { type: "agent.permission.respond.response"; requestId: string; payload: { resolved: boolean; } & { [k: string]: unknown; }; }, { type: "agent.permission.respond.response"; requestId: string; payload: { resolved: boolean; } & { [k: string]: unknown; }; }>; /** Legacy flat name for the same operation — still accepted (parsed), never generated. */ export declare const legacyRespondToPermissionSchema: z.ZodObject<{ type: z.ZodLiteral<"respond_to_permission">; requestId: z.ZodString; permissionRequestId: z.ZodString; response: z.ZodUnknown; }, "strip", z.ZodTypeAny, { type: "respond_to_permission"; requestId: string; permissionRequestId: string; response?: unknown; }, { type: "respond_to_permission"; requestId: string; permissionRequestId: string; response?: unknown; }>; export declare const rewindModeSchema: z.ZodEnum<["conversation", "files", "both"]>; export type RewindMode = z.infer; export declare const agentRewindRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.rewind.request">; requestId: z.ZodString; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent.rewind.request">; requestId: z.ZodString; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent.rewind.request">; requestId: z.ZodString; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; }, z.ZodTypeAny, "passthrough">>; export type AgentRewindRequest = z.infer; export declare const agentRewindResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent.rewind.response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent.rewind.response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent.rewind.response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentRewindResponse = z.infer; export declare const agentTokenUsageSchema: z.ZodObject<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; export type AgentTokenUsage = z.infer; export declare const agentContextUsageSchema: z.ZodObject<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; export type AgentContextUsage = z.infer; /** `/session` — mirrors Pi RPC `get_session_stats`. */ export declare const agentSessionStatsRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_session_stats_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_session_stats_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_session_stats_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type AgentSessionStatsRequest = z.infer; export declare const agentSessionStatsResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_session_stats_response">; requestId: z.ZodString; payload: z.ZodObject<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_session_stats_response">; requestId: z.ZodString; payload: z.ZodObject<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_session_stats_response">; requestId: z.ZodString; payload: z.ZodObject<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentSessionStatsResponse = z.infer; /** `/compact` — mirrors Pi RPC `compact`. */ export declare const agentCompactRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_compact_request">; requestId: z.ZodString; agentId: z.ZodString; customInstructions: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_compact_request">; requestId: z.ZodString; agentId: z.ZodString; customInstructions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_compact_request">; requestId: z.ZodString; agentId: z.ZodString; customInstructions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; export type AgentCompactRequest = z.infer; export declare const agentCompactResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_compact_response">; requestId: z.ZodString; payload: z.ZodObject<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_compact_response">; requestId: z.ZodString; payload: z.ZodObject<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_compact_response">; requestId: z.ZodString; payload: z.ZodObject<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentCompactResponse = z.infer; /** `/new` — mirrors Pi RPC `new_session`. */ export declare const agentNewSessionRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_new_session_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_new_session_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_new_session_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type AgentNewSessionRequest = z.infer; export declare const agentNewSessionResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_new_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_new_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_new_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentNewSessionResponse = z.infer; /** `/resume` — mirrors Pi RPC `switch_session`. */ export declare const agentSwitchSessionRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_switch_session_request">; requestId: z.ZodString; agentId: z.ZodString; sessionPath: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_switch_session_request">; requestId: z.ZodString; agentId: z.ZodString; sessionPath: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_switch_session_request">; requestId: z.ZodString; agentId: z.ZodString; sessionPath: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type AgentSwitchSessionRequest = z.infer; export declare const agentSwitchSessionResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_switch_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_switch_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_switch_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentSwitchSessionResponse = z.infer; /** `/fork` — mirrors Pi RPC `fork`. */ export declare const agentForkRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_fork_request">; requestId: z.ZodString; agentId: z.ZodString; entryId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_request">; requestId: z.ZodString; agentId: z.ZodString; entryId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_fork_request">; requestId: z.ZodString; agentId: z.ZodString; entryId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type AgentForkRequest = z.infer; export declare const agentForkResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_fork_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodString; cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodString; cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_fork_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodString; cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentForkResponse = z.infer; /** Fork picker — mirrors Pi RPC `get_fork_messages`. */ export declare const agentForkMessagesRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_fork_messages_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_messages_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_fork_messages_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type AgentForkMessagesRequest = z.infer; export declare const agentForkMessagesResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_fork_messages_response">; requestId: z.ZodString; payload: z.ZodObject<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_messages_response">; requestId: z.ZodString; payload: z.ZodObject<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_fork_messages_response">; requestId: z.ZodString; payload: z.ZodObject<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentForkMessagesResponse = z.infer; /** `/clone` — mirrors Pi RPC `clone`. */ export declare const agentCloneRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_clone_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_clone_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_clone_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type AgentCloneRequest = z.infer; export declare const agentCloneResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_clone_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_clone_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_clone_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentCloneResponse = z.infer; /** `/name` — mirrors Pi RPC `set_session_name`. */ export declare const agentSetSessionNameRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_set_session_name_request">; requestId: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_session_name_request">; requestId: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_session_name_request">; requestId: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type AgentSetSessionNameRequest = z.infer; export declare const agentSetSessionNameResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_set_session_name_response">; requestId: z.ZodString; payload: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_session_name_response">; requestId: z.ZodString; payload: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_session_name_response">; requestId: z.ZodString; payload: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; export type AgentSetSessionNameResponse = z.infer; /** `/export` — mirrors Pi RPC `export_html`. */ export declare const agentExportHtmlRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_export_html_request">; requestId: z.ZodString; agentId: z.ZodString; outputPath: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_export_html_request">; requestId: z.ZodString; agentId: z.ZodString; outputPath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_export_html_request">; requestId: z.ZodString; agentId: z.ZodString; outputPath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; export type AgentExportHtmlRequest = z.infer; export declare const agentExportHtmlResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_export_html_response">; requestId: z.ZodString; payload: z.ZodObject<{ path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_export_html_response">; requestId: z.ZodString; payload: z.ZodObject<{ path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_export_html_response">; requestId: z.ZodString; payload: z.ZodObject<{ path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentExportHtmlResponse = z.infer; /** `/model` (set) — mirrors Pi RPC `set_model`. Model payload shape varies by provider. */ export declare const agentSetModelRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_set_model_request">; requestId: z.ZodString; agentId: z.ZodString; provider: z.ZodString; modelId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_model_request">; requestId: z.ZodString; agentId: z.ZodString; provider: z.ZodString; modelId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_model_request">; requestId: z.ZodString; agentId: z.ZodString; provider: z.ZodString; modelId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type AgentSetModelRequest = z.infer; export declare const agentSetModelResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_set_model_response">; requestId: z.ZodString; payload: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_model_response">; requestId: z.ZodString; payload: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_model_response">; requestId: z.ZodString; payload: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentSetModelResponse = z.infer; /** `/model` (cycle) — mirrors Pi RPC `cycle_model`. */ export declare const agentCycleModelRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_cycle_model_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_cycle_model_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_cycle_model_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type AgentCycleModelRequest = z.infer; export declare const agentCycleModelResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_cycle_model_response">; requestId: z.ZodString; payload: z.ZodObject<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_cycle_model_response">; requestId: z.ZodString; payload: z.ZodObject<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_cycle_model_response">; requestId: z.ZodString; payload: z.ZodObject<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentCycleModelResponse = z.infer; /** Thinking level (set) — sprint-070. `level` is a dynamic string (per-model discovery), not an * enum, matching `agentSessionConfigSchema.thinkingOptionId`'s convention. The response's * `payload.level` is the EFFECTIVE (possibly Pi-clamped) level, never the requested one. */ export declare const agentSetThinkingRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_set_thinking_request">; requestId: z.ZodString; agentId: z.ZodString; level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_thinking_request">; requestId: z.ZodString; agentId: z.ZodString; level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_thinking_request">; requestId: z.ZodString; agentId: z.ZodString; level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type AgentSetThinkingRequest = z.infer; export declare const agentSetThinkingResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_set_thinking_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_thinking_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_thinking_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentSetThinkingResponse = z.infer; /** Thinking levels (list) — sprint-070. Live sessions only; drafts answer from the model * catalogue client-side (features/thinking-level-selector.md § Level discovery). */ export declare const agentThinkingLevelsRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_thinking_levels_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_thinking_levels_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_thinking_levels_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type AgentThinkingLevelsRequest = z.infer; export declare const agentThinkingLevelsResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_thinking_levels_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; levels: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_thinking_levels_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; levels: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_thinking_levels_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; levels: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentThinkingLevelsResponse = z.infer; /** `/copy` — mirrors Pi RPC `get_last_assistant_text`. */ export declare const agentLastAssistantTextRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_last_assistant_text_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_last_assistant_text_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_last_assistant_text_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type AgentLastAssistantTextRequest = z.infer; export declare const agentLastAssistantTextResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_last_assistant_text_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_last_assistant_text_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_last_assistant_text_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentLastAssistantTextResponse = z.infer; export declare const steerAgentRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"steer_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"steer_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"steer_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; export type SteerAgentRequest = z.infer; export declare const steerAgentResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"steer_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"steer_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"steer_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; export type SteerAgentResponse = z.infer; export declare const followUpAgentRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"follow_up_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"follow_up_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"follow_up_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; export type FollowUpAgentRequest = z.infer; export declare const followUpAgentResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"follow_up_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"follow_up_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"follow_up_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; export type FollowUpAgentResponse = z.infer; export declare const agentCommandDescriptorSchema: z.ZodObject<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; export type AgentCommandDescriptor = z.infer; /** Surfaces Pi's `get_commands` RPC: extension/prompt/skill discovery for a live session. */ export declare const agentListCommandsRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_list_commands_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_list_commands_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_list_commands_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type AgentListCommandsRequest = z.infer; export declare const agentListCommandsResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_list_commands_response">; requestId: z.ZodString; payload: z.ZodObject<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_list_commands_response">; requestId: z.ZodString; payload: z.ZodObject<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_list_commands_response">; requestId: z.ZodString; payload: z.ZodObject<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentListCommandsResponse = z.infer; /** * Documents today's values for `EntryInfo.status`. Structurally mirrors * `packages/server/src/extensions/sync-planner.ts`'s `EntryStatus` — duplicated deliberately * (protocol keeps zero workspace imports, root invariant 2); task-003 maps between them. The wire * field itself is `z.string()`, never a narrowed enum: an older client must still parse a status * value a later daemon introduces (append-only rule). */ export type EntryStatus = "installed" | "pending" | "failed" | "user_removed" | "user_modified" | "deprecated"; /** * Documents today's values for `SyncReport.outcome` / `lastSync.outcome`. The wire field is * `z.string()` for the same forward-compat reason as {@link EntryStatus} — the server already * commits to this for the persisted form (`ExtensionsDescribe.lastSync.outcome`, * `packages/server/src/extensions/extensions-service.ts`), since a persisted future outcome must * round-trip through an older daemon. */ export type SyncOutcome = "ok" | "noop" | "partial" | "failed" | "skipped"; export declare const extensionEntryInfoSchema: z.ZodObject<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; export type ExtensionEntryInfo = z.infer; export declare const extensionPackInfoSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; export type ExtensionPackInfo = z.infer; /** One failed install within a triggered sync run. */ export declare const extensionSyncFailureSchema: z.ZodObject<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>; /** The full result of a triggered sync run — returned only as an RPC response field, never * persisted as-is (see {@link extensionsLastSyncSummarySchema}). */ export declare const extensionSyncReportSchema: z.ZodObject<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; export type ExtensionSyncReport = z.infer; /** * `lastSync` is a **summary**, not a report: only `{ at, outcome }` is ever persisted * (`extensions-state.json`), so promising a full {@link ExtensionSyncReport} here would be a lie * after any daemon restart. No `installed`/`failures` fields — do not widen this to the report shape. */ export declare const extensionsLastSyncSummarySchema: z.ZodObject<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export declare const extensionPacksListRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"extension_packs_list_request">; requestId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"extension_packs_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type ExtensionPacksListRequest = z.infer; export declare const extensionPacksListResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"extension_packs_list_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_list_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"extension_packs_list_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; export type ExtensionPacksListResponse = z.infer; /** * `packs` is optional; its **absence** is the manual-sync trigger. Present ⇒ change the selection * and sync. Absent ⇒ change nothing, run an ungated manual sync — this is what carries * `pi-studio extensions sync` (task-005), which must keep working even with `autoSync: false`. */ export declare const extensionPacksSetRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"extension_packs_set_request">; requestId: z.ZodString; packs: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_set_request">; requestId: z.ZodString; packs: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"extension_packs_set_request">; requestId: z.ZodString; packs: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; export type ExtensionPacksSetRequest = z.infer; /** * `ok`/`error` are domain fields, not `rpc_error` — a handler cannot express a domain failure * (e.g. an unknown pack slug) through `rpc_error`, which carries only transport-level codes * (mirrors `file_watch_subscribe_response`'s `ok: false, error: "…"` idiom). `report` is optional * for the same reason: a rejected request ran no sync. */ export declare const extensionPacksSetResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"extension_packs_set_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; ok: z.ZodBoolean; error: z.ZodOptional; report: z.ZodOptional; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_set_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; ok: z.ZodBoolean; error: z.ZodOptional; report: z.ZodOptional; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"extension_packs_set_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; ok: z.ZodBoolean; error: z.ZodOptional; report: z.ZodOptional; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; export type ExtensionPacksSetResponse = z.infer; export declare const providerAuthTypeSchema: z.ZodEnum<["api_key", "oauth"]>; export type ProviderAuthType = z.infer; /** One provider's auth capability + current state (`configured: "unknown"` = a bounded * `checkAuth()` timed out — see sprint-054's `checkAuthBounded` precedent). */ export declare const providerAuthInfoSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; export type ProviderAuthInfo = z.infer; export declare const providerAuthListRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"provider_auth_list_request">; requestId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type ProviderAuthListRequest = z.infer; export declare const providerAuthListResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"provider_auth_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type ProviderAuthListResponse = z.infer; export declare const providerAuthLoginRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"provider_auth_login_request">; requestId: z.ZodString; provider: z.ZodString; authType: z.ZodEnum<["api_key", "oauth"]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_login_request">; requestId: z.ZodString; provider: z.ZodString; authType: z.ZodEnum<["api_key", "oauth"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_login_request">; requestId: z.ZodString; provider: z.ZodString; authType: z.ZodEnum<["api_key", "oauth"]>; }, z.ZodTypeAny, "passthrough">>; export type ProviderAuthLoginRequest = z.infer; export declare const providerAuthLoginResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"provider_auth_login_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_login_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_login_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type ProviderAuthLoginResponse = z.infer; export declare const providerAuthRespondRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"provider_auth_respond_request">; requestId: z.ZodString; flowId: z.ZodString; promptId: z.ZodString; value: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_respond_request">; requestId: z.ZodString; flowId: z.ZodString; promptId: z.ZodString; value: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_respond_request">; requestId: z.ZodString; flowId: z.ZodString; promptId: z.ZodString; value: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type ProviderAuthRespondRequest = z.infer; export declare const providerAuthRespondResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"provider_auth_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type ProviderAuthRespondResponse = z.infer; export declare const providerAuthCancelRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"provider_auth_cancel_request">; requestId: z.ZodString; flowId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_cancel_request">; requestId: z.ZodString; flowId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_cancel_request">; requestId: z.ZodString; flowId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type ProviderAuthCancelRequest = z.infer; /** Idempotent — `ok: true` even when the named flow was already gone. */ export declare const providerAuthCancelResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"provider_auth_cancel_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_cancel_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_cancel_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type ProviderAuthCancelResponse = z.infer; export declare const providerAuthLogoutRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"provider_auth_logout_request">; requestId: z.ZodString; provider: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_logout_request">; requestId: z.ZodString; provider: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_logout_request">; requestId: z.ZodString; provider: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type ProviderAuthLogoutRequest = z.infer; /** `stillConfigured` flags an ambient credential (e.g. an env var) surviving the logout. */ export declare const providerAuthLogoutResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"provider_auth_logout_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_logout_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_logout_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type ProviderAuthLogoutResponse = z.infer; export declare const viewerSettingsEntrySchema: z.ZodObject<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; export type ViewerSettingsEntry = z.infer; export declare const viewerSettingsSchema: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; export type ViewerSettings = z.infer; export declare const viewerSettingsGetRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_get_request">; requestId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_get_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_get_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type ViewerSettingsGetRequest = z.infer; export declare const viewerSettingsGetResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_get_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_get_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_get_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type ViewerSettingsGetResponse = z.infer; /** A patch entry's fields are both optional — a config-only patch must not have to restate * `enabled`, and vice versa. Deliberately not a reuse of `viewerSettingsEntrySchema`, whose * `enabled` is required. */ export declare const viewerSettingsPatchEntrySchema: z.ZodObject<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; export type ViewerSettingsPatchEntry = z.infer; export declare const viewerSettingsSetRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_set_request">; requestId: z.ZodString; patch: z.ZodRecord; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_set_request">; requestId: z.ZodString; patch: z.ZodRecord; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_set_request">; requestId: z.ZodString; patch: z.ZodRecord; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>; export type ViewerSettingsSetRequest = z.infer; /** `payload.settings` is the effective document after the merge, not an echo of the patch. */ export declare const viewerSettingsSetResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_set_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_set_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_set_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type ViewerSettingsSetResponse = z.infer; /** Broadcast, no `requestId` — every connected client refreshes its cached document. */ export declare const viewerSettingsUpdateSchema: z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_update">; settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_update">; settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_update">; settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type ViewerSettingsUpdate = z.infer; /** * A pending extension-UI dialog awaiting a client answer (list/reconnect-catch-up shape). Method * semantics (which fields `payload` carries, how to render it) are entirely Pi's business — the * daemon never interprets `payload`, only correlates and forwards it. */ export declare const agentUiPendingRequestSchema: z.ZodObject<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>; export type AgentUiPendingRequest = z.infer; /** * A retained, last-value-wins extension-UI surface (status line, widget, title). Deleted (not * listed) once its owning method sends a clearing update — see `agent_ui_request.removed`. */ export declare const agentUiSurfaceSchema: z.ZodObject<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>; export type AgentUiSurface = z.infer; /** * Agent-scoped broadcast to every client — one per provider UI event, exactly like * `agentPermissionRequestSchema`, not the `sessionMessageBaseSchema` passthrough family (this is a * per-agent broadcast, not a per-session subscription push). `requestId` is daemon-minted, never the * provider's own id. `removed: true` marks a surface-clearing update (no `payload` fields to render). */ export declare const agentUiRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_ui_request">; requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; removed: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_request">; requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; removed: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_request">; requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; removed: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>; export type AgentUiRequest = z.infer; /** * Broadcast that lets every client dismiss a dialog once it is no longer answerable. `reason` is * deliberately an open string (`answered` | `cancelled` | `timeout` | `aborted` documented, not * enumerated) so the daemon can extend its taxonomy without narrowing the wire for older clients. */ export declare const agentUiResolvedSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_ui_resolved">; requestId: z.ZodString; agentId: z.ZodString; reason: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_resolved">; requestId: z.ZodString; agentId: z.ZodString; reason: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_resolved">; requestId: z.ZodString; agentId: z.ZodString; reason: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type AgentUiResolved = z.infer; /** * The answer body forwarded to the provider. Deliberately permissive (every field optional, * `.passthrough()`): method → response-shape validation is Pi's business, and a strict union keyed * on `method` would reject a shape a future Pi UI method introduces, blocking that extension forever * on a response the daemon refused to forward. */ export declare const agentUiResponseSchema: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; export type AgentUiResponse = z.infer; export declare const agentUiRespondRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_ui_respond_request">; requestId: z.ZodString; uiRequestId: z.ZodString; response: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_respond_request">; requestId: z.ZodString; uiRequestId: z.ZodString; response: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_respond_request">; requestId: z.ZodString; uiRequestId: z.ZodString; response: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentUiRespondRequest = z.infer; /** `error` is an open string (`not_found` | `unsupported` documented, not enumerated). */ export declare const agentUiRespondResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_ui_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentUiRespondResponse = z.infer; /** Reconnect catch-up: list current pending dialogs + retained surfaces, all agents or one. */ export declare const agentUiListRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_ui_list_request">; requestId: z.ZodString; agentId: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_list_request">; requestId: z.ZodString; agentId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_list_request">; requestId: z.ZodString; agentId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; export type AgentUiListRequest = z.infer; export declare const agentUiListResponseSchema: z.ZodObject<{ type: z.ZodLiteral<"agent_ui_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; export type AgentUiListResponse = z.infer; export declare const rpcErrorSchema: z.ZodObject<{ type: z.ZodLiteral<"rpc_error">; requestId: z.ZodString; code: z.ZodOptional; message: z.ZodOptional; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "rpc_error"; requestId: string; code?: string | undefined; message?: string | undefined; error?: string | undefined; }, { type: "rpc_error"; requestId: string; code?: string | undefined; message?: string | undefined; error?: string | undefined; }>; export type RpcError = z.infer; /** * The discriminated union of session messages defined so far. Later feature sprints extend this * union with workspace/git/terminal/chat/schedule/loop families. */ export declare const sessionMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"create_agent_request">; requestId: z.ZodString; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; /** The model's own underlying LLM provider (e.g. `"anthropic"`), pinned alongside `model` when * a deferred draft materializes (either the resolved default or an explicit `/model` pick) — * required to replay it via `setProviderModel` on first spawn, since neither `createSession` * nor `resumeSession` consult this field (Pi resolves its own default at spawn). */ modelProvider: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodOptional>; approvalPolicy: z.ZodOptional; sandboxMode: z.ZodOptional; networkAccess: z.ZodOptional; webSearch: z.ZodOptional; extra: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, "strip", z.ZodTypeAny, { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectOutputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }, { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectInputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }>; env: z.ZodOptional>; workspaceId: z.ZodOptional; worktreeName: z.ZodOptional; initialPrompt: z.ZodOptional; clientMessageId: z.ZodOptional; outputSchema: z.ZodOptional>; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; attachments: z.ZodOptional>; issues: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; git: z.ZodOptional; worktree: z.ZodOptional; autoArchive: z.ZodOptional; labels: z.ZodDefault>; }, "strip", z.ZodTypeAny, { type: "create_agent_request"; requestId: string; config: { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectOutputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }; env?: Record | undefined; workspaceId?: string | undefined; worktreeName?: string | undefined; initialPrompt?: string | undefined; clientMessageId?: string | undefined; outputSchema?: Record | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; attachments?: z.objectOutputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; git?: unknown; worktree?: unknown; autoArchive?: boolean | undefined; labels: Record; }, { type: "create_agent_request"; requestId: string; config: { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectInputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }; env?: Record | undefined; workspaceId?: string | undefined; worktreeName?: string | undefined; initialPrompt?: string | undefined; clientMessageId?: string | undefined; outputSchema?: Record | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; attachments?: z.objectInputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; git?: unknown; worktree?: unknown; autoArchive?: boolean | undefined; labels?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"create_agent_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { type: "create_agent_response"; requestId: string; payload: { agentId: string; } & { [k: string]: unknown; }; }, { type: "create_agent_response"; requestId: string; payload: { agentId: string; } & { [k: string]: unknown; }; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_update">; agentId: z.ZodString; status: z.ZodOptional>; title: z.ZodOptional>; labels: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "agent_update"; agentId: string; status?: "closed" | "error" | "idle" | "initializing" | "running" | undefined; title?: string | null | undefined; labels?: Record | undefined; }, { type: "agent_update"; agentId: string; status?: "closed" | "error" | "idle" | "initializing" | "running" | undefined; title?: string | null | undefined; labels?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_status">; agentId: z.ZodString; status: z.ZodEnum<["initializing", "idle", "running", "error", "closed"]>; }, "strip", z.ZodTypeAny, { type: "agent_status"; agentId: string; status: "closed" | "error" | "idle" | "initializing" | "running"; }, { type: "agent_status"; agentId: string; status: "closed" | "error" | "idle" | "initializing" | "running"; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_list">; agents: z.ZodArray, z.objectInputType<{ id: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "strip", z.ZodTypeAny, { type: "agent_list"; agents: z.objectOutputType<{ id: z.ZodString; }, z.ZodTypeAny, "passthrough">[]; }, { type: "agent_list"; agents: z.objectInputType<{ id: z.ZodString; }, z.ZodTypeAny, "passthrough">[]; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_deleted">; agentId: z.ZodString; }, "strip", z.ZodTypeAny, { type: "agent_deleted"; agentId: string; }, { type: "agent_deleted"; agentId: string; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_archived">; agentId: z.ZodString; archivedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "agent_archived"; agentId: string; archivedAt?: string | undefined; }, { type: "agent_archived"; agentId: string; archivedAt?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_stream">; agentId: z.ZodString; seq: z.ZodOptional; timestamp: z.ZodOptional>; event: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"user_message">; messageId: z.ZodOptional; text: z.ZodOptional; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "strip", z.ZodTypeAny, { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"assistant_message">; messageId: z.ZodOptional; text: z.ZodOptional; /** * Set on the marker event that closes an assistant text block (Pi's `text_end` delta). The * text is complete and will not grow, so a renderer can switch from its cheap streaming tier * to full markdown immediately instead of waiting for `turn_completed`, which is one * `agent_end` — potentially minutes of tool execution — away. Carries no `text` of its own * when emitted as a standalone marker; hydrated history sets it alongside the block's full * text. Older clients see an empty `assistant_message` and no-op. */ final: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; }, { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"reasoning">; text: z.ZodOptional; /** Closes a thinking block (Pi's `thinking_end` delta) — see `assistant_message.final`. */ final: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; }, { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"tool_call">; callId: z.ZodOptional; tool: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"shell">; command: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "shell"; command?: string | undefined; output?: string | undefined; }, { kind: "shell"; command?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"read">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "read"; path?: string | undefined; output?: string | undefined; }, { kind: "read"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"edit">; path: z.ZodOptional; diff: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"write">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "write"; path?: string | undefined; output?: string | undefined; }, { kind: "write"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"search">; query: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "search"; query?: string | undefined; output?: string | undefined; }, { kind: "search"; query?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"fetch">; url: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"task">; description: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "task"; description?: string | undefined; output?: string | undefined; }, { kind: "task"; description?: string | undefined; output?: string | undefined; }>]>; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; }, { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_started">; turnId: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_started"; turnId?: string | undefined; }, { kind: "turn_started"; turnId?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_completed">; turnId: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_completed"; turnId?: string | undefined; }, { kind: "turn_completed"; turnId?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_failed">; turnId: z.ZodOptional; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; }, { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_canceled">; turnId: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_canceled"; turnId?: string | undefined; }, { kind: "turn_canceled"; turnId?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"error">; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "error"; message?: string | undefined; }, { kind: "error"; message?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"queue_update">; steering: z.ZodOptional>; followUp: z.ZodOptional>; }, "strip", z.ZodTypeAny, { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }, { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: "agent_stream"; agentId: string; seq?: number | undefined; timestamp?: string | number | undefined; event: { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; } | { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; } | { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; } | { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; } | { kind: "turn_started"; turnId?: string | undefined; } | { kind: "turn_completed"; turnId?: string | undefined; } | { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; } | { kind: "turn_canceled"; turnId?: string | undefined; } | { kind: "error"; message?: string | undefined; } | { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }; }, { type: "agent_stream"; agentId: string; seq?: number | undefined; timestamp?: string | number | undefined; event: { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; } | { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; } | { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; } | { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; } | { kind: "turn_started"; turnId?: string | undefined; } | { kind: "turn_completed"; turnId?: string | undefined; } | { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; } | { kind: "turn_canceled"; turnId?: string | undefined; } | { kind: "error"; message?: string | undefined; } | { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_timeline_request">; requestId: z.ZodString; agentId: z.ZodString; cursor: z.ZodOptional>; direction: z.ZodEnum<["before", "after"]>; limit: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "fetch_agent_timeline_request"; requestId: string; agentId: string; cursor?: string | null | undefined; direction: "after" | "before"; limit?: number | undefined; }, { type: "fetch_agent_timeline_request"; requestId: string; agentId: string; cursor?: string | null | undefined; direction: "after" | "before"; limit?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_timeline_response">; requestId: z.ZodString; agentId: z.ZodOptional; items: z.ZodArray; seqStart: z.ZodNumber; seqEnd: z.ZodNumber; sourceSeqRanges: z.ZodArray, "many">; collapsed: z.ZodBoolean; hasNewer: z.ZodBoolean; startCursor: z.ZodOptional>; endCursor: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "fetch_agent_timeline_response"; requestId: string; agentId?: string | undefined; items: unknown[]; seqStart: number; seqEnd: number; sourceSeqRanges: { start: number; end: number; }[]; collapsed: boolean; hasNewer: boolean; startCursor?: string | null | undefined; endCursor?: string | null | undefined; }, { type: "fetch_agent_timeline_response"; requestId: string; agentId?: string | undefined; items: unknown[]; seqStart: number; seqEnd: number; sourceSeqRanges: { start: number; end: number; }[]; collapsed: boolean; hasNewer: boolean; startCursor?: string | null | undefined; endCursor?: string | null | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_permission_request">; requestId: z.ZodString; agentId: z.ZodString; toolName: z.ZodOptional; tool: z.ZodOptional; command: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "shell"; command?: string | undefined; output?: string | undefined; }, { kind: "shell"; command?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"read">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "read"; path?: string | undefined; output?: string | undefined; }, { kind: "read"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"edit">; path: z.ZodOptional; diff: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"write">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "write"; path?: string | undefined; output?: string | undefined; }, { kind: "write"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"search">; query: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "search"; query?: string | undefined; output?: string | undefined; }, { kind: "search"; query?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"fetch">; url: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"task">; description: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "task"; description?: string | undefined; output?: string | undefined; }, { kind: "task"; description?: string | undefined; output?: string | undefined; }>]>>; action: z.ZodOptional; responses: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "agent_permission_request"; requestId: string; agentId: string; toolName?: string | undefined; tool?: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; } | undefined; action?: unknown; responses?: string[] | undefined; }, { type: "agent_permission_request"; requestId: string; agentId: string; toolName?: string | undefined; tool?: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; } | undefined; action?: unknown; responses?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_permission_resolved">; requestId: z.ZodString; agentId: z.ZodString; decision: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "agent_permission_resolved"; requestId: string; agentId: string; decision?: string | undefined; }, { type: "agent_permission_resolved"; requestId: string; agentId: string; decision?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.permission.respond.request">; requestId: z.ZodString; permissionRequestId: z.ZodString; response: z.ZodUnknown; }, "strip", z.ZodTypeAny, { type: "agent.permission.respond.request"; requestId: string; permissionRequestId: string; response?: unknown; }, { type: "agent.permission.respond.request"; requestId: string; permissionRequestId: string; response?: unknown; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.permission.respond.response">; requestId: z.ZodString; payload: z.ZodObject<{ resolved: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ resolved: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ resolved: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { type: "agent.permission.respond.response"; requestId: string; payload: { resolved: boolean; } & { [k: string]: unknown; }; }, { type: "agent.permission.respond.response"; requestId: string; payload: { resolved: boolean; } & { [k: string]: unknown; }; }>, z.ZodObject<{ type: z.ZodLiteral<"respond_to_permission">; requestId: z.ZodString; permissionRequestId: z.ZodString; response: z.ZodUnknown; }, "strip", z.ZodTypeAny, { type: "respond_to_permission"; requestId: string; permissionRequestId: string; response?: unknown; }, { type: "respond_to_permission"; requestId: string; permissionRequestId: string; response?: unknown; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.rewind.request">; requestId: z.ZodString; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent.rewind.request">; requestId: z.ZodString; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent.rewind.request">; requestId: z.ZodString; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent.rewind.response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent.rewind.response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent.rewind.response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_session_stats_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_session_stats_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_session_stats_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_session_stats_response">; requestId: z.ZodString; payload: z.ZodObject<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_session_stats_response">; requestId: z.ZodString; payload: z.ZodObject<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_session_stats_response">; requestId: z.ZodString; payload: z.ZodObject<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_compact_request">; requestId: z.ZodString; agentId: z.ZodString; customInstructions: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_compact_request">; requestId: z.ZodString; agentId: z.ZodString; customInstructions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_compact_request">; requestId: z.ZodString; agentId: z.ZodString; customInstructions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_compact_response">; requestId: z.ZodString; payload: z.ZodObject<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_compact_response">; requestId: z.ZodString; payload: z.ZodObject<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_compact_response">; requestId: z.ZodString; payload: z.ZodObject<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_new_session_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_new_session_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_new_session_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_new_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_new_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_new_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_switch_session_request">; requestId: z.ZodString; agentId: z.ZodString; sessionPath: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_switch_session_request">; requestId: z.ZodString; agentId: z.ZodString; sessionPath: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_switch_session_request">; requestId: z.ZodString; agentId: z.ZodString; sessionPath: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_switch_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_switch_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_switch_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_fork_request">; requestId: z.ZodString; agentId: z.ZodString; entryId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_request">; requestId: z.ZodString; agentId: z.ZodString; entryId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_fork_request">; requestId: z.ZodString; agentId: z.ZodString; entryId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_fork_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodString; cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodString; cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_fork_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodString; cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_fork_messages_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_messages_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_fork_messages_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_fork_messages_response">; requestId: z.ZodString; payload: z.ZodObject<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_messages_response">; requestId: z.ZodString; payload: z.ZodObject<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_fork_messages_response">; requestId: z.ZodString; payload: z.ZodObject<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_clone_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_clone_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_clone_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_clone_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_clone_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_clone_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_session_name_request">; requestId: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_session_name_request">; requestId: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_session_name_request">; requestId: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_session_name_response">; requestId: z.ZodString; payload: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_session_name_response">; requestId: z.ZodString; payload: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_session_name_response">; requestId: z.ZodString; payload: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_export_html_request">; requestId: z.ZodString; agentId: z.ZodString; outputPath: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_export_html_request">; requestId: z.ZodString; agentId: z.ZodString; outputPath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_export_html_request">; requestId: z.ZodString; agentId: z.ZodString; outputPath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_export_html_response">; requestId: z.ZodString; payload: z.ZodObject<{ path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_export_html_response">; requestId: z.ZodString; payload: z.ZodObject<{ path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_export_html_response">; requestId: z.ZodString; payload: z.ZodObject<{ path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_model_request">; requestId: z.ZodString; agentId: z.ZodString; provider: z.ZodString; modelId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_model_request">; requestId: z.ZodString; agentId: z.ZodString; provider: z.ZodString; modelId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_model_request">; requestId: z.ZodString; agentId: z.ZodString; provider: z.ZodString; modelId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_model_response">; requestId: z.ZodString; payload: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_model_response">; requestId: z.ZodString; payload: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_model_response">; requestId: z.ZodString; payload: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_cycle_model_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_cycle_model_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_cycle_model_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_cycle_model_response">; requestId: z.ZodString; payload: z.ZodObject<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_cycle_model_response">; requestId: z.ZodString; payload: z.ZodObject<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_cycle_model_response">; requestId: z.ZodString; payload: z.ZodObject<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_thinking_request">; requestId: z.ZodString; agentId: z.ZodString; level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_thinking_request">; requestId: z.ZodString; agentId: z.ZodString; level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_thinking_request">; requestId: z.ZodString; agentId: z.ZodString; level: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_thinking_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_thinking_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_thinking_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_thinking_levels_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_thinking_levels_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_thinking_levels_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_thinking_levels_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; levels: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_thinking_levels_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; levels: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_thinking_levels_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; levels: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_last_assistant_text_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_last_assistant_text_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_last_assistant_text_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_last_assistant_text_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_last_assistant_text_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_last_assistant_text_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"steer_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"steer_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"steer_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"steer_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"steer_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"steer_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"follow_up_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"follow_up_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"follow_up_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"follow_up_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"follow_up_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"follow_up_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_list_commands_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_list_commands_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_list_commands_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_list_commands_response">; requestId: z.ZodString; payload: z.ZodObject<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_list_commands_response">; requestId: z.ZodString; payload: z.ZodObject<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_list_commands_response">; requestId: z.ZodString; payload: z.ZodObject<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"extension_packs_list_request">; requestId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"extension_packs_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"extension_packs_list_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_list_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"extension_packs_list_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"extension_packs_set_request">; requestId: z.ZodString; packs: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_set_request">; requestId: z.ZodString; packs: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"extension_packs_set_request">; requestId: z.ZodString; packs: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"extension_packs_set_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; ok: z.ZodBoolean; error: z.ZodOptional; report: z.ZodOptional; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_set_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; ok: z.ZodBoolean; error: z.ZodOptional; report: z.ZodOptional; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"extension_packs_set_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; ok: z.ZodBoolean; error: z.ZodOptional; report: z.ZodOptional; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_list_request">; requestId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_login_request">; requestId: z.ZodString; provider: z.ZodString; authType: z.ZodEnum<["api_key", "oauth"]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_login_request">; requestId: z.ZodString; provider: z.ZodString; authType: z.ZodEnum<["api_key", "oauth"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_login_request">; requestId: z.ZodString; provider: z.ZodString; authType: z.ZodEnum<["api_key", "oauth"]>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_login_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_login_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_login_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_respond_request">; requestId: z.ZodString; flowId: z.ZodString; promptId: z.ZodString; value: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_respond_request">; requestId: z.ZodString; flowId: z.ZodString; promptId: z.ZodString; value: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_respond_request">; requestId: z.ZodString; flowId: z.ZodString; promptId: z.ZodString; value: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_cancel_request">; requestId: z.ZodString; flowId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_cancel_request">; requestId: z.ZodString; flowId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_cancel_request">; requestId: z.ZodString; flowId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_cancel_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_cancel_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_cancel_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_logout_request">; requestId: z.ZodString; provider: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_logout_request">; requestId: z.ZodString; provider: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_logout_request">; requestId: z.ZodString; provider: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_logout_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_logout_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_logout_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_get_request">; requestId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_get_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_get_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_get_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_get_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_get_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_set_request">; requestId: z.ZodString; patch: z.ZodRecord; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_set_request">; requestId: z.ZodString; patch: z.ZodRecord; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_set_request">; requestId: z.ZodString; patch: z.ZodRecord; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_set_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_set_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_set_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_update">; settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_update">; settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_update">; settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_request">; requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; removed: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_request">; requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; removed: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_request">; requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; removed: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_resolved">; requestId: z.ZodString; agentId: z.ZodString; reason: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_resolved">; requestId: z.ZodString; agentId: z.ZodString; reason: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_resolved">; requestId: z.ZodString; agentId: z.ZodString; reason: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_respond_request">; requestId: z.ZodString; uiRequestId: z.ZodString; response: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_respond_request">; requestId: z.ZodString; uiRequestId: z.ZodString; response: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_respond_request">; requestId: z.ZodString; uiRequestId: z.ZodString; response: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_list_request">; requestId: z.ZodString; agentId: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_list_request">; requestId: z.ZodString; agentId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_list_request">; requestId: z.ZodString; agentId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"rpc_error">; requestId: z.ZodString; code: z.ZodOptional; message: z.ZodOptional; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "rpc_error"; requestId: string; code?: string | undefined; message?: string | undefined; error?: string | undefined; }, { type: "rpc_error"; requestId: string; code?: string | undefined; message?: string | undefined; error?: string | undefined; }>]>; export type SessionMessage = z.infer; /** * Structural fallback for any session message (carries a `type` discriminant). Unknown/future * session types still parse here (append-only / "ignore unknown type per handler policy"), so the * envelope accepts them and handlers validate per-family with the specific schema above. */ export declare const sessionMessageBaseSchema: z.ZodObject<{ type: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>; export type SessionMessageBase = z.infer; /** * Envelope wrapping the rich session message union. Known message types validate strictly against * `sessionMessageSchema`; unknown/future types fall back to the structural base so an older client * still parses newer messages. */ export declare const sessionEnvelopeSchema: z.ZodObject<{ type: z.ZodLiteral<"session">; message: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"create_agent_request">; requestId: z.ZodString; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; /** The model's own underlying LLM provider (e.g. `"anthropic"`), pinned alongside `model` when * a deferred draft materializes (either the resolved default or an explicit `/model` pick) — * required to replay it via `setProviderModel` on first spawn, since neither `createSession` * nor `resumeSession` consult this field (Pi resolves its own default at spawn). */ modelProvider: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodOptional>; approvalPolicy: z.ZodOptional; sandboxMode: z.ZodOptional; networkAccess: z.ZodOptional; webSearch: z.ZodOptional; extra: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, "strip", z.ZodTypeAny, { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectOutputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }, { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectInputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }>; env: z.ZodOptional>; workspaceId: z.ZodOptional; worktreeName: z.ZodOptional; initialPrompt: z.ZodOptional; clientMessageId: z.ZodOptional; outputSchema: z.ZodOptional>; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; attachments: z.ZodOptional>; issues: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; git: z.ZodOptional; worktree: z.ZodOptional; autoArchive: z.ZodOptional; labels: z.ZodDefault>; }, "strip", z.ZodTypeAny, { type: "create_agent_request"; requestId: string; config: { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectOutputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }; env?: Record | undefined; workspaceId?: string | undefined; worktreeName?: string | undefined; initialPrompt?: string | undefined; clientMessageId?: string | undefined; outputSchema?: Record | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; attachments?: z.objectOutputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; git?: unknown; worktree?: unknown; autoArchive?: boolean | undefined; labels: Record; }, { type: "create_agent_request"; requestId: string; config: { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectInputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }; env?: Record | undefined; workspaceId?: string | undefined; worktreeName?: string | undefined; initialPrompt?: string | undefined; clientMessageId?: string | undefined; outputSchema?: Record | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; attachments?: z.objectInputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; git?: unknown; worktree?: unknown; autoArchive?: boolean | undefined; labels?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"create_agent_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { type: "create_agent_response"; requestId: string; payload: { agentId: string; } & { [k: string]: unknown; }; }, { type: "create_agent_response"; requestId: string; payload: { agentId: string; } & { [k: string]: unknown; }; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_update">; agentId: z.ZodString; status: z.ZodOptional>; title: z.ZodOptional>; labels: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "agent_update"; agentId: string; status?: "closed" | "error" | "idle" | "initializing" | "running" | undefined; title?: string | null | undefined; labels?: Record | undefined; }, { type: "agent_update"; agentId: string; status?: "closed" | "error" | "idle" | "initializing" | "running" | undefined; title?: string | null | undefined; labels?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_status">; agentId: z.ZodString; status: z.ZodEnum<["initializing", "idle", "running", "error", "closed"]>; }, "strip", z.ZodTypeAny, { type: "agent_status"; agentId: string; status: "closed" | "error" | "idle" | "initializing" | "running"; }, { type: "agent_status"; agentId: string; status: "closed" | "error" | "idle" | "initializing" | "running"; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_list">; agents: z.ZodArray, z.objectInputType<{ id: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "strip", z.ZodTypeAny, { type: "agent_list"; agents: z.objectOutputType<{ id: z.ZodString; }, z.ZodTypeAny, "passthrough">[]; }, { type: "agent_list"; agents: z.objectInputType<{ id: z.ZodString; }, z.ZodTypeAny, "passthrough">[]; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_deleted">; agentId: z.ZodString; }, "strip", z.ZodTypeAny, { type: "agent_deleted"; agentId: string; }, { type: "agent_deleted"; agentId: string; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_archived">; agentId: z.ZodString; archivedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "agent_archived"; agentId: string; archivedAt?: string | undefined; }, { type: "agent_archived"; agentId: string; archivedAt?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_stream">; agentId: z.ZodString; seq: z.ZodOptional; timestamp: z.ZodOptional>; event: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"user_message">; messageId: z.ZodOptional; text: z.ZodOptional; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "strip", z.ZodTypeAny, { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"assistant_message">; messageId: z.ZodOptional; text: z.ZodOptional; /** * Set on the marker event that closes an assistant text block (Pi's `text_end` delta). The * text is complete and will not grow, so a renderer can switch from its cheap streaming tier * to full markdown immediately instead of waiting for `turn_completed`, which is one * `agent_end` — potentially minutes of tool execution — away. Carries no `text` of its own * when emitted as a standalone marker; hydrated history sets it alongside the block's full * text. Older clients see an empty `assistant_message` and no-op. */ final: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; }, { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"reasoning">; text: z.ZodOptional; /** Closes a thinking block (Pi's `thinking_end` delta) — see `assistant_message.final`. */ final: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; }, { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"tool_call">; callId: z.ZodOptional; tool: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"shell">; command: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "shell"; command?: string | undefined; output?: string | undefined; }, { kind: "shell"; command?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"read">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "read"; path?: string | undefined; output?: string | undefined; }, { kind: "read"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"edit">; path: z.ZodOptional; diff: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"write">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "write"; path?: string | undefined; output?: string | undefined; }, { kind: "write"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"search">; query: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "search"; query?: string | undefined; output?: string | undefined; }, { kind: "search"; query?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"fetch">; url: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"task">; description: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "task"; description?: string | undefined; output?: string | undefined; }, { kind: "task"; description?: string | undefined; output?: string | undefined; }>]>; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; }, { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_started">; turnId: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_started"; turnId?: string | undefined; }, { kind: "turn_started"; turnId?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_completed">; turnId: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_completed"; turnId?: string | undefined; }, { kind: "turn_completed"; turnId?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_failed">; turnId: z.ZodOptional; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; }, { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_canceled">; turnId: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_canceled"; turnId?: string | undefined; }, { kind: "turn_canceled"; turnId?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"error">; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "error"; message?: string | undefined; }, { kind: "error"; message?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"queue_update">; steering: z.ZodOptional>; followUp: z.ZodOptional>; }, "strip", z.ZodTypeAny, { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }, { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: "agent_stream"; agentId: string; seq?: number | undefined; timestamp?: string | number | undefined; event: { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; } | { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; } | { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; } | { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; } | { kind: "turn_started"; turnId?: string | undefined; } | { kind: "turn_completed"; turnId?: string | undefined; } | { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; } | { kind: "turn_canceled"; turnId?: string | undefined; } | { kind: "error"; message?: string | undefined; } | { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }; }, { type: "agent_stream"; agentId: string; seq?: number | undefined; timestamp?: string | number | undefined; event: { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; } | { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; } | { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; } | { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; } | { kind: "turn_started"; turnId?: string | undefined; } | { kind: "turn_completed"; turnId?: string | undefined; } | { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; } | { kind: "turn_canceled"; turnId?: string | undefined; } | { kind: "error"; message?: string | undefined; } | { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_timeline_request">; requestId: z.ZodString; agentId: z.ZodString; cursor: z.ZodOptional>; direction: z.ZodEnum<["before", "after"]>; limit: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "fetch_agent_timeline_request"; requestId: string; agentId: string; cursor?: string | null | undefined; direction: "after" | "before"; limit?: number | undefined; }, { type: "fetch_agent_timeline_request"; requestId: string; agentId: string; cursor?: string | null | undefined; direction: "after" | "before"; limit?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_timeline_response">; requestId: z.ZodString; agentId: z.ZodOptional; items: z.ZodArray; seqStart: z.ZodNumber; seqEnd: z.ZodNumber; sourceSeqRanges: z.ZodArray, "many">; collapsed: z.ZodBoolean; hasNewer: z.ZodBoolean; startCursor: z.ZodOptional>; endCursor: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "fetch_agent_timeline_response"; requestId: string; agentId?: string | undefined; items: unknown[]; seqStart: number; seqEnd: number; sourceSeqRanges: { start: number; end: number; }[]; collapsed: boolean; hasNewer: boolean; startCursor?: string | null | undefined; endCursor?: string | null | undefined; }, { type: "fetch_agent_timeline_response"; requestId: string; agentId?: string | undefined; items: unknown[]; seqStart: number; seqEnd: number; sourceSeqRanges: { start: number; end: number; }[]; collapsed: boolean; hasNewer: boolean; startCursor?: string | null | undefined; endCursor?: string | null | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_permission_request">; requestId: z.ZodString; agentId: z.ZodString; toolName: z.ZodOptional; tool: z.ZodOptional; command: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "shell"; command?: string | undefined; output?: string | undefined; }, { kind: "shell"; command?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"read">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "read"; path?: string | undefined; output?: string | undefined; }, { kind: "read"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"edit">; path: z.ZodOptional; diff: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"write">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "write"; path?: string | undefined; output?: string | undefined; }, { kind: "write"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"search">; query: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "search"; query?: string | undefined; output?: string | undefined; }, { kind: "search"; query?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"fetch">; url: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"task">; description: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "task"; description?: string | undefined; output?: string | undefined; }, { kind: "task"; description?: string | undefined; output?: string | undefined; }>]>>; action: z.ZodOptional; responses: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "agent_permission_request"; requestId: string; agentId: string; toolName?: string | undefined; tool?: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; } | undefined; action?: unknown; responses?: string[] | undefined; }, { type: "agent_permission_request"; requestId: string; agentId: string; toolName?: string | undefined; tool?: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; } | undefined; action?: unknown; responses?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_permission_resolved">; requestId: z.ZodString; agentId: z.ZodString; decision: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "agent_permission_resolved"; requestId: string; agentId: string; decision?: string | undefined; }, { type: "agent_permission_resolved"; requestId: string; agentId: string; decision?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.permission.respond.request">; requestId: z.ZodString; permissionRequestId: z.ZodString; response: z.ZodUnknown; }, "strip", z.ZodTypeAny, { type: "agent.permission.respond.request"; requestId: string; permissionRequestId: string; response?: unknown; }, { type: "agent.permission.respond.request"; requestId: string; permissionRequestId: string; response?: unknown; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.permission.respond.response">; requestId: z.ZodString; payload: z.ZodObject<{ resolved: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ resolved: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ resolved: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { type: "agent.permission.respond.response"; requestId: string; payload: { resolved: boolean; } & { [k: string]: unknown; }; }, { type: "agent.permission.respond.response"; requestId: string; payload: { resolved: boolean; } & { [k: string]: unknown; }; }>, z.ZodObject<{ type: z.ZodLiteral<"respond_to_permission">; requestId: z.ZodString; permissionRequestId: z.ZodString; response: z.ZodUnknown; }, "strip", z.ZodTypeAny, { type: "respond_to_permission"; requestId: string; permissionRequestId: string; response?: unknown; }, { type: "respond_to_permission"; requestId: string; permissionRequestId: string; response?: unknown; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.rewind.request">; requestId: z.ZodString; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent.rewind.request">; requestId: z.ZodString; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent.rewind.request">; requestId: z.ZodString; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent.rewind.response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent.rewind.response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent.rewind.response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_session_stats_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_session_stats_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_session_stats_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_session_stats_response">; requestId: z.ZodString; payload: z.ZodObject<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_session_stats_response">; requestId: z.ZodString; payload: z.ZodObject<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_session_stats_response">; requestId: z.ZodString; payload: z.ZodObject<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_compact_request">; requestId: z.ZodString; agentId: z.ZodString; customInstructions: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_compact_request">; requestId: z.ZodString; agentId: z.ZodString; customInstructions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_compact_request">; requestId: z.ZodString; agentId: z.ZodString; customInstructions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_compact_response">; requestId: z.ZodString; payload: z.ZodObject<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_compact_response">; requestId: z.ZodString; payload: z.ZodObject<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_compact_response">; requestId: z.ZodString; payload: z.ZodObject<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_new_session_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_new_session_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_new_session_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_new_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_new_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_new_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_switch_session_request">; requestId: z.ZodString; agentId: z.ZodString; sessionPath: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_switch_session_request">; requestId: z.ZodString; agentId: z.ZodString; sessionPath: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_switch_session_request">; requestId: z.ZodString; agentId: z.ZodString; sessionPath: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_switch_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_switch_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_switch_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_fork_request">; requestId: z.ZodString; agentId: z.ZodString; entryId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_request">; requestId: z.ZodString; agentId: z.ZodString; entryId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_fork_request">; requestId: z.ZodString; agentId: z.ZodString; entryId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_fork_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodString; cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodString; cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_fork_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodString; cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_fork_messages_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_messages_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_fork_messages_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_fork_messages_response">; requestId: z.ZodString; payload: z.ZodObject<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_messages_response">; requestId: z.ZodString; payload: z.ZodObject<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_fork_messages_response">; requestId: z.ZodString; payload: z.ZodObject<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_clone_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_clone_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_clone_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_clone_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_clone_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_clone_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_session_name_request">; requestId: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_session_name_request">; requestId: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_session_name_request">; requestId: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_session_name_response">; requestId: z.ZodString; payload: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_session_name_response">; requestId: z.ZodString; payload: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_session_name_response">; requestId: z.ZodString; payload: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_export_html_request">; requestId: z.ZodString; agentId: z.ZodString; outputPath: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_export_html_request">; requestId: z.ZodString; agentId: z.ZodString; outputPath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_export_html_request">; requestId: z.ZodString; agentId: z.ZodString; outputPath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_export_html_response">; requestId: z.ZodString; payload: z.ZodObject<{ path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_export_html_response">; requestId: z.ZodString; payload: z.ZodObject<{ path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_export_html_response">; requestId: z.ZodString; payload: z.ZodObject<{ path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_model_request">; requestId: z.ZodString; agentId: z.ZodString; provider: z.ZodString; modelId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_model_request">; requestId: z.ZodString; agentId: z.ZodString; provider: z.ZodString; modelId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_model_request">; requestId: z.ZodString; agentId: z.ZodString; provider: z.ZodString; modelId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_model_response">; requestId: z.ZodString; payload: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_model_response">; requestId: z.ZodString; payload: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_model_response">; requestId: z.ZodString; payload: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_cycle_model_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_cycle_model_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_cycle_model_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_cycle_model_response">; requestId: z.ZodString; payload: z.ZodObject<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_cycle_model_response">; requestId: z.ZodString; payload: z.ZodObject<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_cycle_model_response">; requestId: z.ZodString; payload: z.ZodObject<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_thinking_request">; requestId: z.ZodString; agentId: z.ZodString; level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_thinking_request">; requestId: z.ZodString; agentId: z.ZodString; level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_thinking_request">; requestId: z.ZodString; agentId: z.ZodString; level: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_thinking_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_thinking_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_thinking_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_thinking_levels_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_thinking_levels_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_thinking_levels_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_thinking_levels_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; levels: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_thinking_levels_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; levels: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_thinking_levels_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; levels: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_last_assistant_text_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_last_assistant_text_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_last_assistant_text_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_last_assistant_text_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_last_assistant_text_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_last_assistant_text_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"steer_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"steer_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"steer_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"steer_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"steer_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"steer_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"follow_up_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"follow_up_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"follow_up_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"follow_up_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"follow_up_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"follow_up_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_list_commands_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_list_commands_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_list_commands_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_list_commands_response">; requestId: z.ZodString; payload: z.ZodObject<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_list_commands_response">; requestId: z.ZodString; payload: z.ZodObject<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_list_commands_response">; requestId: z.ZodString; payload: z.ZodObject<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"extension_packs_list_request">; requestId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"extension_packs_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"extension_packs_list_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_list_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"extension_packs_list_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"extension_packs_set_request">; requestId: z.ZodString; packs: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_set_request">; requestId: z.ZodString; packs: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"extension_packs_set_request">; requestId: z.ZodString; packs: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"extension_packs_set_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; ok: z.ZodBoolean; error: z.ZodOptional; report: z.ZodOptional; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_set_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; ok: z.ZodBoolean; error: z.ZodOptional; report: z.ZodOptional; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"extension_packs_set_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; ok: z.ZodBoolean; error: z.ZodOptional; report: z.ZodOptional; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_list_request">; requestId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_login_request">; requestId: z.ZodString; provider: z.ZodString; authType: z.ZodEnum<["api_key", "oauth"]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_login_request">; requestId: z.ZodString; provider: z.ZodString; authType: z.ZodEnum<["api_key", "oauth"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_login_request">; requestId: z.ZodString; provider: z.ZodString; authType: z.ZodEnum<["api_key", "oauth"]>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_login_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_login_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_login_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_respond_request">; requestId: z.ZodString; flowId: z.ZodString; promptId: z.ZodString; value: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_respond_request">; requestId: z.ZodString; flowId: z.ZodString; promptId: z.ZodString; value: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_respond_request">; requestId: z.ZodString; flowId: z.ZodString; promptId: z.ZodString; value: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_cancel_request">; requestId: z.ZodString; flowId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_cancel_request">; requestId: z.ZodString; flowId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_cancel_request">; requestId: z.ZodString; flowId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_cancel_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_cancel_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_cancel_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_logout_request">; requestId: z.ZodString; provider: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_logout_request">; requestId: z.ZodString; provider: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_logout_request">; requestId: z.ZodString; provider: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_logout_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_logout_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_logout_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_get_request">; requestId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_get_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_get_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_get_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_get_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_get_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_set_request">; requestId: z.ZodString; patch: z.ZodRecord; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_set_request">; requestId: z.ZodString; patch: z.ZodRecord; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_set_request">; requestId: z.ZodString; patch: z.ZodRecord; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_set_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_set_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_set_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_update">; settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_update">; settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_update">; settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_request">; requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; removed: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_request">; requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; removed: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_request">; requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; removed: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_resolved">; requestId: z.ZodString; agentId: z.ZodString; reason: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_resolved">; requestId: z.ZodString; agentId: z.ZodString; reason: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_resolved">; requestId: z.ZodString; agentId: z.ZodString; reason: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_respond_request">; requestId: z.ZodString; uiRequestId: z.ZodString; response: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_respond_request">; requestId: z.ZodString; uiRequestId: z.ZodString; response: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_respond_request">; requestId: z.ZodString; uiRequestId: z.ZodString; response: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_list_request">; requestId: z.ZodString; agentId: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_list_request">; requestId: z.ZodString; agentId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_list_request">; requestId: z.ZodString; agentId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"rpc_error">; requestId: z.ZodString; code: z.ZodOptional; message: z.ZodOptional; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "rpc_error"; requestId: string; code?: string | undefined; message?: string | undefined; error?: string | undefined; }, { type: "rpc_error"; requestId: string; code?: string | undefined; message?: string | undefined; error?: string | undefined; }>]>, z.ZodObject<{ type: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>]>; }, "strip", z.ZodTypeAny, { type: "session"; message: { type: "create_agent_request"; requestId: string; config: { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectOutputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }; env?: Record | undefined; workspaceId?: string | undefined; worktreeName?: string | undefined; initialPrompt?: string | undefined; clientMessageId?: string | undefined; outputSchema?: Record | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; attachments?: z.objectOutputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; git?: unknown; worktree?: unknown; autoArchive?: boolean | undefined; labels: Record; } | { type: "create_agent_response"; requestId: string; payload: { agentId: string; } & { [k: string]: unknown; }; } | { type: "agent_update"; agentId: string; status?: "closed" | "error" | "idle" | "initializing" | "running" | undefined; title?: string | null | undefined; labels?: Record | undefined; } | { type: "agent_status"; agentId: string; status: "closed" | "error" | "idle" | "initializing" | "running"; } | { type: "agent_list"; agents: z.objectOutputType<{ id: z.ZodString; }, z.ZodTypeAny, "passthrough">[]; } | { type: "agent_deleted"; agentId: string; } | { type: "agent_archived"; agentId: string; archivedAt?: string | undefined; } | { type: "agent_stream"; agentId: string; seq?: number | undefined; timestamp?: string | number | undefined; event: { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; } | { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; } | { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; } | { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; } | { kind: "turn_started"; turnId?: string | undefined; } | { kind: "turn_completed"; turnId?: string | undefined; } | { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; } | { kind: "turn_canceled"; turnId?: string | undefined; } | { kind: "error"; message?: string | undefined; } | { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }; } | { type: "fetch_agent_timeline_request"; requestId: string; agentId: string; cursor?: string | null | undefined; direction: "after" | "before"; limit?: number | undefined; } | { type: "fetch_agent_timeline_response"; requestId: string; agentId?: string | undefined; items: unknown[]; seqStart: number; seqEnd: number; sourceSeqRanges: { start: number; end: number; }[]; collapsed: boolean; hasNewer: boolean; startCursor?: string | null | undefined; endCursor?: string | null | undefined; } | { type: "agent_permission_request"; requestId: string; agentId: string; toolName?: string | undefined; tool?: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; } | undefined; action?: unknown; responses?: string[] | undefined; } | { type: "agent_permission_resolved"; requestId: string; agentId: string; decision?: string | undefined; } | { type: "agent.permission.respond.request"; requestId: string; permissionRequestId: string; response?: unknown; } | { type: "agent.permission.respond.response"; requestId: string; payload: { resolved: boolean; } & { [k: string]: unknown; }; } | { type: "respond_to_permission"; requestId: string; permissionRequestId: string; response?: unknown; } | { type: "rpc_error"; requestId: string; code?: string | undefined; message?: string | undefined; error?: string | undefined; } | z.objectOutputType<{ type: z.ZodLiteral<"agent.rewind.request">; requestId: z.ZodString; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent.rewind.response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_session_stats_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_session_stats_response">; requestId: z.ZodString; payload: z.ZodObject<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_compact_request">; requestId: z.ZodString; agentId: z.ZodString; customInstructions: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_compact_response">; requestId: z.ZodString; payload: z.ZodObject<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_new_session_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_new_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_switch_session_request">; requestId: z.ZodString; agentId: z.ZodString; sessionPath: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_switch_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_request">; requestId: z.ZodString; agentId: z.ZodString; entryId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodString; cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_messages_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_messages_response">; requestId: z.ZodString; payload: z.ZodObject<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_clone_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_clone_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_set_session_name_request">; requestId: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_set_session_name_response">; requestId: z.ZodString; payload: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_export_html_request">; requestId: z.ZodString; agentId: z.ZodString; outputPath: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_export_html_response">; requestId: z.ZodString; payload: z.ZodObject<{ path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_set_model_request">; requestId: z.ZodString; agentId: z.ZodString; provider: z.ZodString; modelId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_set_model_response">; requestId: z.ZodString; payload: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_cycle_model_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_cycle_model_response">; requestId: z.ZodString; payload: z.ZodObject<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_set_thinking_request">; requestId: z.ZodString; agentId: z.ZodString; level: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_set_thinking_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_thinking_levels_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_thinking_levels_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; levels: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_last_assistant_text_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_last_assistant_text_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"steer_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"steer_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"follow_up_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"follow_up_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_list_commands_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_list_commands_response">; requestId: z.ZodString; payload: z.ZodObject<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_list_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_set_request">; requestId: z.ZodString; packs: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_set_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; ok: z.ZodBoolean; error: z.ZodOptional; report: z.ZodOptional; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_login_request">; requestId: z.ZodString; provider: z.ZodString; authType: z.ZodEnum<["api_key", "oauth"]>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_login_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_respond_request">; requestId: z.ZodString; flowId: z.ZodString; promptId: z.ZodString; value: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_cancel_request">; requestId: z.ZodString; flowId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_cancel_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_logout_request">; requestId: z.ZodString; provider: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_logout_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_get_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_get_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_set_request">; requestId: z.ZodString; patch: z.ZodRecord; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_set_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_update">; settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_request">; requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; removed: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_resolved">; requestId: z.ZodString; agentId: z.ZodString; reason: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_respond_request">; requestId: z.ZodString; uiRequestId: z.ZodString; response: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_list_request">; requestId: z.ZodString; agentId: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">; }, { type: "session"; message: { type: "create_agent_request"; requestId: string; config: { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectInputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }; env?: Record | undefined; workspaceId?: string | undefined; worktreeName?: string | undefined; initialPrompt?: string | undefined; clientMessageId?: string | undefined; outputSchema?: Record | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; attachments?: z.objectInputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; git?: unknown; worktree?: unknown; autoArchive?: boolean | undefined; labels?: Record | undefined; } | { type: "create_agent_response"; requestId: string; payload: { agentId: string; } & { [k: string]: unknown; }; } | { type: "agent_update"; agentId: string; status?: "closed" | "error" | "idle" | "initializing" | "running" | undefined; title?: string | null | undefined; labels?: Record | undefined; } | { type: "agent_status"; agentId: string; status: "closed" | "error" | "idle" | "initializing" | "running"; } | { type: "agent_list"; agents: z.objectInputType<{ id: z.ZodString; }, z.ZodTypeAny, "passthrough">[]; } | { type: "agent_deleted"; agentId: string; } | { type: "agent_archived"; agentId: string; archivedAt?: string | undefined; } | { type: "agent_stream"; agentId: string; seq?: number | undefined; timestamp?: string | number | undefined; event: { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; } | { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; } | { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; } | { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; } | { kind: "turn_started"; turnId?: string | undefined; } | { kind: "turn_completed"; turnId?: string | undefined; } | { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; } | { kind: "turn_canceled"; turnId?: string | undefined; } | { kind: "error"; message?: string | undefined; } | { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }; } | { type: "fetch_agent_timeline_request"; requestId: string; agentId: string; cursor?: string | null | undefined; direction: "after" | "before"; limit?: number | undefined; } | { type: "fetch_agent_timeline_response"; requestId: string; agentId?: string | undefined; items: unknown[]; seqStart: number; seqEnd: number; sourceSeqRanges: { start: number; end: number; }[]; collapsed: boolean; hasNewer: boolean; startCursor?: string | null | undefined; endCursor?: string | null | undefined; } | { type: "agent_permission_request"; requestId: string; agentId: string; toolName?: string | undefined; tool?: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; } | undefined; action?: unknown; responses?: string[] | undefined; } | { type: "agent_permission_resolved"; requestId: string; agentId: string; decision?: string | undefined; } | { type: "agent.permission.respond.request"; requestId: string; permissionRequestId: string; response?: unknown; } | { type: "agent.permission.respond.response"; requestId: string; payload: { resolved: boolean; } & { [k: string]: unknown; }; } | { type: "respond_to_permission"; requestId: string; permissionRequestId: string; response?: unknown; } | { type: "rpc_error"; requestId: string; code?: string | undefined; message?: string | undefined; error?: string | undefined; } | z.objectInputType<{ type: z.ZodLiteral<"agent.rewind.request">; requestId: z.ZodString; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent.rewind.response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_session_stats_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_session_stats_response">; requestId: z.ZodString; payload: z.ZodObject<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_compact_request">; requestId: z.ZodString; agentId: z.ZodString; customInstructions: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_compact_response">; requestId: z.ZodString; payload: z.ZodObject<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_new_session_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_new_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_switch_session_request">; requestId: z.ZodString; agentId: z.ZodString; sessionPath: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_switch_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_fork_request">; requestId: z.ZodString; agentId: z.ZodString; entryId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_fork_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodString; cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_fork_messages_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_fork_messages_response">; requestId: z.ZodString; payload: z.ZodObject<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_clone_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_clone_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_set_session_name_request">; requestId: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_set_session_name_response">; requestId: z.ZodString; payload: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_export_html_request">; requestId: z.ZodString; agentId: z.ZodString; outputPath: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_export_html_response">; requestId: z.ZodString; payload: z.ZodObject<{ path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_set_model_request">; requestId: z.ZodString; agentId: z.ZodString; provider: z.ZodString; modelId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_set_model_response">; requestId: z.ZodString; payload: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_cycle_model_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_cycle_model_response">; requestId: z.ZodString; payload: z.ZodObject<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_set_thinking_request">; requestId: z.ZodString; agentId: z.ZodString; level: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_set_thinking_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_thinking_levels_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_thinking_levels_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; levels: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_last_assistant_text_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_last_assistant_text_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"steer_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"steer_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"follow_up_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"follow_up_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_list_commands_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_list_commands_response">; requestId: z.ZodString; payload: z.ZodObject<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"extension_packs_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"extension_packs_list_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"extension_packs_set_request">; requestId: z.ZodString; packs: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"extension_packs_set_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; ok: z.ZodBoolean; error: z.ZodOptional; report: z.ZodOptional; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_login_request">; requestId: z.ZodString; provider: z.ZodString; authType: z.ZodEnum<["api_key", "oauth"]>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_login_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_respond_request">; requestId: z.ZodString; flowId: z.ZodString; promptId: z.ZodString; value: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_cancel_request">; requestId: z.ZodString; flowId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_cancel_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_logout_request">; requestId: z.ZodString; provider: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_logout_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_get_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_get_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_set_request">; requestId: z.ZodString; patch: z.ZodRecord; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_set_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_update">; settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_ui_request">; requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; removed: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_ui_resolved">; requestId: z.ZodString; agentId: z.ZodString; reason: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_ui_respond_request">; requestId: z.ZodString; uiRequestId: z.ZodString; response: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_ui_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_ui_list_request">; requestId: z.ZodString; agentId: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_ui_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">; }>; export type SessionEnvelope = z.infer; /** Discriminated union of all top-level envelopes, keyed by `type`. */ export declare const topLevelEnvelopeSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"hello">; clientId: z.ZodString; clientType: z.ZodEnum<["mobile", "browser", "cli", "mcp"]>; protocolVersion: z.ZodNumber; appVersion: z.ZodOptional; capabilities: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "hello"; clientId: string; clientType: "browser" | "cli" | "mcp" | "mobile"; protocolVersion: number; appVersion?: string | undefined; capabilities?: Record | undefined; }, { type: "hello"; clientId: string; clientType: "browser" | "cli" | "mcp" | "mobile"; protocolVersion: number; appVersion?: string | undefined; capabilities?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"status">; payload: z.ZodObject<{ status: z.ZodLiteral<"server_info">; serverId: z.ZodString; hostname: z.ZodOptional; version: z.ZodOptional; homeDir: z.ZodOptional; capabilities: z.ZodRecord; features: z.ZodRecord; }, "strip", z.ZodTypeAny, { status: "server_info"; serverId: string; hostname?: string | undefined; version?: string | undefined; homeDir?: string | undefined; capabilities: Record; features: Record; }, { status: "server_info"; serverId: string; hostname?: string | undefined; version?: string | undefined; homeDir?: string | undefined; capabilities: Record; features: Record; }>; }, "strip", z.ZodTypeAny, { type: "status"; payload: { status: "server_info"; serverId: string; hostname?: string | undefined; version?: string | undefined; homeDir?: string | undefined; capabilities: Record; features: Record; }; }, { type: "status"; payload: { status: "server_info"; serverId: string; hostname?: string | undefined; version?: string | undefined; homeDir?: string | undefined; capabilities: Record; features: Record; }; }>, z.ZodObject<{ type: z.ZodLiteral<"ping">; requestId: z.ZodString; clientSentAt: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "ping"; requestId: string; clientSentAt?: string | number | undefined; }, { type: "ping"; requestId: string; clientSentAt?: string | number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"pong">; requestId: z.ZodString; clientSentAt: z.ZodOptional>; serverReceivedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; serverSentAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "strip", z.ZodTypeAny, { type: "pong"; requestId: string; clientSentAt?: string | number | undefined; serverReceivedAt: string | number; serverSentAt: string | number; }, { type: "pong"; requestId: string; clientSentAt?: string | number | undefined; serverReceivedAt: string | number; serverSentAt: string | number; }>, z.ZodObject<{ type: z.ZodLiteral<"session">; message: z.ZodUnion<[z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"create_agent_request">; requestId: z.ZodString; config: z.ZodObject<{ provider: z.ZodString; cwd: z.ZodString; modeId: z.ZodOptional; model: z.ZodOptional; /** The model's own underlying LLM provider (e.g. `"anthropic"`), pinned alongside `model` when * a deferred draft materializes (either the resolved default or an explicit `/model` pick) — * required to replay it via `setProviderModel` on first spawn, since neither `createSession` * nor `resumeSession` consult this field (Pi resolves its own default at spawn). */ modelProvider: z.ZodOptional; thinkingOptionId: z.ZodOptional; featureValues: z.ZodOptional>; title: z.ZodOptional>; approvalPolicy: z.ZodOptional; sandboxMode: z.ZodOptional; networkAccess: z.ZodOptional; webSearch: z.ZodOptional; extra: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; systemPrompt: z.ZodOptional; mcpServers: z.ZodOptional>; }, "strip", z.ZodTypeAny, { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectOutputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }, { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectInputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }>; env: z.ZodOptional>; workspaceId: z.ZodOptional; worktreeName: z.ZodOptional; initialPrompt: z.ZodOptional; clientMessageId: z.ZodOptional; outputSchema: z.ZodOptional>; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; attachments: z.ZodOptional>; issues: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; git: z.ZodOptional; worktree: z.ZodOptional; autoArchive: z.ZodOptional; labels: z.ZodDefault>; }, "strip", z.ZodTypeAny, { type: "create_agent_request"; requestId: string; config: { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectOutputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }; env?: Record | undefined; workspaceId?: string | undefined; worktreeName?: string | undefined; initialPrompt?: string | undefined; clientMessageId?: string | undefined; outputSchema?: Record | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; attachments?: z.objectOutputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; git?: unknown; worktree?: unknown; autoArchive?: boolean | undefined; labels: Record; }, { type: "create_agent_request"; requestId: string; config: { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectInputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }; env?: Record | undefined; workspaceId?: string | undefined; worktreeName?: string | undefined; initialPrompt?: string | undefined; clientMessageId?: string | undefined; outputSchema?: Record | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; attachments?: z.objectInputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; git?: unknown; worktree?: unknown; autoArchive?: boolean | undefined; labels?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"create_agent_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { type: "create_agent_response"; requestId: string; payload: { agentId: string; } & { [k: string]: unknown; }; }, { type: "create_agent_response"; requestId: string; payload: { agentId: string; } & { [k: string]: unknown; }; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_update">; agentId: z.ZodString; status: z.ZodOptional>; title: z.ZodOptional>; labels: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "agent_update"; agentId: string; status?: "closed" | "error" | "idle" | "initializing" | "running" | undefined; title?: string | null | undefined; labels?: Record | undefined; }, { type: "agent_update"; agentId: string; status?: "closed" | "error" | "idle" | "initializing" | "running" | undefined; title?: string | null | undefined; labels?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_status">; agentId: z.ZodString; status: z.ZodEnum<["initializing", "idle", "running", "error", "closed"]>; }, "strip", z.ZodTypeAny, { type: "agent_status"; agentId: string; status: "closed" | "error" | "idle" | "initializing" | "running"; }, { type: "agent_status"; agentId: string; status: "closed" | "error" | "idle" | "initializing" | "running"; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_list">; agents: z.ZodArray, z.objectInputType<{ id: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "strip", z.ZodTypeAny, { type: "agent_list"; agents: z.objectOutputType<{ id: z.ZodString; }, z.ZodTypeAny, "passthrough">[]; }, { type: "agent_list"; agents: z.objectInputType<{ id: z.ZodString; }, z.ZodTypeAny, "passthrough">[]; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_deleted">; agentId: z.ZodString; }, "strip", z.ZodTypeAny, { type: "agent_deleted"; agentId: string; }, { type: "agent_deleted"; agentId: string; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_archived">; agentId: z.ZodString; archivedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "agent_archived"; agentId: string; archivedAt?: string | undefined; }, { type: "agent_archived"; agentId: string; archivedAt?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_stream">; agentId: z.ZodString; seq: z.ZodOptional; timestamp: z.ZodOptional>; event: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"user_message">; messageId: z.ZodOptional; text: z.ZodOptional; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; }, "strip", z.ZodTypeAny, { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }, { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"assistant_message">; messageId: z.ZodOptional; text: z.ZodOptional; /** * Set on the marker event that closes an assistant text block (Pi's `text_end` delta). The * text is complete and will not grow, so a renderer can switch from its cheap streaming tier * to full markdown immediately instead of waiting for `turn_completed`, which is one * `agent_end` — potentially minutes of tool execution — away. Carries no `text` of its own * when emitted as a standalone marker; hydrated history sets it alongside the block's full * text. Older clients see an empty `assistant_message` and no-op. */ final: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; }, { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"reasoning">; text: z.ZodOptional; /** Closes a thinking block (Pi's `thinking_end` delta) — see `assistant_message.final`. */ final: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; }, { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"tool_call">; callId: z.ZodOptional; tool: z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{ kind: z.ZodLiteral<"shell">; command: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "shell"; command?: string | undefined; output?: string | undefined; }, { kind: "shell"; command?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"read">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "read"; path?: string | undefined; output?: string | undefined; }, { kind: "read"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"edit">; path: z.ZodOptional; diff: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"write">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "write"; path?: string | undefined; output?: string | undefined; }, { kind: "write"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"search">; query: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "search"; query?: string | undefined; output?: string | undefined; }, { kind: "search"; query?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"fetch">; url: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"task">; description: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "task"; description?: string | undefined; output?: string | undefined; }, { kind: "task"; description?: string | undefined; output?: string | undefined; }>]>; status: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; }, { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_started">; turnId: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_started"; turnId?: string | undefined; }, { kind: "turn_started"; turnId?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_completed">; turnId: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_completed"; turnId?: string | undefined; }, { kind: "turn_completed"; turnId?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_failed">; turnId: z.ZodOptional; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; }, { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"turn_canceled">; turnId: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "turn_canceled"; turnId?: string | undefined; }, { kind: "turn_canceled"; turnId?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"error">; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "error"; message?: string | undefined; }, { kind: "error"; message?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"queue_update">; steering: z.ZodOptional>; followUp: z.ZodOptional>; }, "strip", z.ZodTypeAny, { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }, { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: "agent_stream"; agentId: string; seq?: number | undefined; timestamp?: string | number | undefined; event: { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; } | { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; } | { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; } | { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; } | { kind: "turn_started"; turnId?: string | undefined; } | { kind: "turn_completed"; turnId?: string | undefined; } | { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; } | { kind: "turn_canceled"; turnId?: string | undefined; } | { kind: "error"; message?: string | undefined; } | { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }; }, { type: "agent_stream"; agentId: string; seq?: number | undefined; timestamp?: string | number | undefined; event: { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; } | { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; } | { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; } | { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; } | { kind: "turn_started"; turnId?: string | undefined; } | { kind: "turn_completed"; turnId?: string | undefined; } | { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; } | { kind: "turn_canceled"; turnId?: string | undefined; } | { kind: "error"; message?: string | undefined; } | { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_timeline_request">; requestId: z.ZodString; agentId: z.ZodString; cursor: z.ZodOptional>; direction: z.ZodEnum<["before", "after"]>; limit: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "fetch_agent_timeline_request"; requestId: string; agentId: string; cursor?: string | null | undefined; direction: "after" | "before"; limit?: number | undefined; }, { type: "fetch_agent_timeline_request"; requestId: string; agentId: string; cursor?: string | null | undefined; direction: "after" | "before"; limit?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"fetch_agent_timeline_response">; requestId: z.ZodString; agentId: z.ZodOptional; items: z.ZodArray; seqStart: z.ZodNumber; seqEnd: z.ZodNumber; sourceSeqRanges: z.ZodArray, "many">; collapsed: z.ZodBoolean; hasNewer: z.ZodBoolean; startCursor: z.ZodOptional>; endCursor: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "fetch_agent_timeline_response"; requestId: string; agentId?: string | undefined; items: unknown[]; seqStart: number; seqEnd: number; sourceSeqRanges: { start: number; end: number; }[]; collapsed: boolean; hasNewer: boolean; startCursor?: string | null | undefined; endCursor?: string | null | undefined; }, { type: "fetch_agent_timeline_response"; requestId: string; agentId?: string | undefined; items: unknown[]; seqStart: number; seqEnd: number; sourceSeqRanges: { start: number; end: number; }[]; collapsed: boolean; hasNewer: boolean; startCursor?: string | null | undefined; endCursor?: string | null | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_permission_request">; requestId: z.ZodString; agentId: z.ZodString; toolName: z.ZodOptional; tool: z.ZodOptional; command: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "shell"; command?: string | undefined; output?: string | undefined; }, { kind: "shell"; command?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"read">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "read"; path?: string | undefined; output?: string | undefined; }, { kind: "read"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"edit">; path: z.ZodOptional; diff: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }, { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"write">; path: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "write"; path?: string | undefined; output?: string | undefined; }, { kind: "write"; path?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"search">; query: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "search"; query?: string | undefined; output?: string | undefined; }, { kind: "search"; query?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"fetch">; url: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }, { kind: "fetch"; url?: string | undefined; output?: string | undefined; }>, z.ZodObject<{ kind: z.ZodLiteral<"task">; description: z.ZodOptional; output: z.ZodOptional; }, "strip", z.ZodTypeAny, { kind: "task"; description?: string | undefined; output?: string | undefined; }, { kind: "task"; description?: string | undefined; output?: string | undefined; }>]>>; action: z.ZodOptional; responses: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "agent_permission_request"; requestId: string; agentId: string; toolName?: string | undefined; tool?: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; } | undefined; action?: unknown; responses?: string[] | undefined; }, { type: "agent_permission_request"; requestId: string; agentId: string; toolName?: string | undefined; tool?: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; } | undefined; action?: unknown; responses?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"agent_permission_resolved">; requestId: z.ZodString; agentId: z.ZodString; decision: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "agent_permission_resolved"; requestId: string; agentId: string; decision?: string | undefined; }, { type: "agent_permission_resolved"; requestId: string; agentId: string; decision?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.permission.respond.request">; requestId: z.ZodString; permissionRequestId: z.ZodString; response: z.ZodUnknown; }, "strip", z.ZodTypeAny, { type: "agent.permission.respond.request"; requestId: string; permissionRequestId: string; response?: unknown; }, { type: "agent.permission.respond.request"; requestId: string; permissionRequestId: string; response?: unknown; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.permission.respond.response">; requestId: z.ZodString; payload: z.ZodObject<{ resolved: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ resolved: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ resolved: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { type: "agent.permission.respond.response"; requestId: string; payload: { resolved: boolean; } & { [k: string]: unknown; }; }, { type: "agent.permission.respond.response"; requestId: string; payload: { resolved: boolean; } & { [k: string]: unknown; }; }>, z.ZodObject<{ type: z.ZodLiteral<"respond_to_permission">; requestId: z.ZodString; permissionRequestId: z.ZodString; response: z.ZodUnknown; }, "strip", z.ZodTypeAny, { type: "respond_to_permission"; requestId: string; permissionRequestId: string; response?: unknown; }, { type: "respond_to_permission"; requestId: string; permissionRequestId: string; response?: unknown; }>, z.ZodObject<{ type: z.ZodLiteral<"agent.rewind.request">; requestId: z.ZodString; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent.rewind.request">; requestId: z.ZodString; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent.rewind.request">; requestId: z.ZodString; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent.rewind.response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent.rewind.response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent.rewind.response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_session_stats_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_session_stats_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_session_stats_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_session_stats_response">; requestId: z.ZodString; payload: z.ZodObject<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_session_stats_response">; requestId: z.ZodString; payload: z.ZodObject<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_session_stats_response">; requestId: z.ZodString; payload: z.ZodObject<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_compact_request">; requestId: z.ZodString; agentId: z.ZodString; customInstructions: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_compact_request">; requestId: z.ZodString; agentId: z.ZodString; customInstructions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_compact_request">; requestId: z.ZodString; agentId: z.ZodString; customInstructions: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_compact_response">; requestId: z.ZodString; payload: z.ZodObject<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_compact_response">; requestId: z.ZodString; payload: z.ZodObject<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_compact_response">; requestId: z.ZodString; payload: z.ZodObject<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_new_session_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_new_session_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_new_session_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_new_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_new_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_new_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_switch_session_request">; requestId: z.ZodString; agentId: z.ZodString; sessionPath: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_switch_session_request">; requestId: z.ZodString; agentId: z.ZodString; sessionPath: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_switch_session_request">; requestId: z.ZodString; agentId: z.ZodString; sessionPath: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_switch_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_switch_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_switch_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_fork_request">; requestId: z.ZodString; agentId: z.ZodString; entryId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_request">; requestId: z.ZodString; agentId: z.ZodString; entryId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_fork_request">; requestId: z.ZodString; agentId: z.ZodString; entryId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_fork_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodString; cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodString; cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_fork_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodString; cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_fork_messages_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_messages_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_fork_messages_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_fork_messages_response">; requestId: z.ZodString; payload: z.ZodObject<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_messages_response">; requestId: z.ZodString; payload: z.ZodObject<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_fork_messages_response">; requestId: z.ZodString; payload: z.ZodObject<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_clone_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_clone_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_clone_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_clone_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_clone_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_clone_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_session_name_request">; requestId: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_session_name_request">; requestId: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_session_name_request">; requestId: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_session_name_response">; requestId: z.ZodString; payload: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_session_name_response">; requestId: z.ZodString; payload: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_session_name_response">; requestId: z.ZodString; payload: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_export_html_request">; requestId: z.ZodString; agentId: z.ZodString; outputPath: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_export_html_request">; requestId: z.ZodString; agentId: z.ZodString; outputPath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_export_html_request">; requestId: z.ZodString; agentId: z.ZodString; outputPath: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_export_html_response">; requestId: z.ZodString; payload: z.ZodObject<{ path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_export_html_response">; requestId: z.ZodString; payload: z.ZodObject<{ path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_export_html_response">; requestId: z.ZodString; payload: z.ZodObject<{ path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_model_request">; requestId: z.ZodString; agentId: z.ZodString; provider: z.ZodString; modelId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_model_request">; requestId: z.ZodString; agentId: z.ZodString; provider: z.ZodString; modelId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_model_request">; requestId: z.ZodString; agentId: z.ZodString; provider: z.ZodString; modelId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_model_response">; requestId: z.ZodString; payload: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_model_response">; requestId: z.ZodString; payload: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_model_response">; requestId: z.ZodString; payload: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_cycle_model_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_cycle_model_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_cycle_model_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_cycle_model_response">; requestId: z.ZodString; payload: z.ZodObject<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_cycle_model_response">; requestId: z.ZodString; payload: z.ZodObject<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_cycle_model_response">; requestId: z.ZodString; payload: z.ZodObject<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_thinking_request">; requestId: z.ZodString; agentId: z.ZodString; level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_thinking_request">; requestId: z.ZodString; agentId: z.ZodString; level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_thinking_request">; requestId: z.ZodString; agentId: z.ZodString; level: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_set_thinking_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_set_thinking_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_set_thinking_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_thinking_levels_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_thinking_levels_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_thinking_levels_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_thinking_levels_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; levels: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_thinking_levels_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; levels: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_thinking_levels_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; levels: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_last_assistant_text_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_last_assistant_text_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_last_assistant_text_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_last_assistant_text_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_last_assistant_text_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_last_assistant_text_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"steer_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"steer_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"steer_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"steer_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"steer_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"steer_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"follow_up_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"follow_up_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"follow_up_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"follow_up_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"follow_up_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"follow_up_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_list_commands_request">; requestId: z.ZodString; agentId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_list_commands_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_list_commands_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_list_commands_response">; requestId: z.ZodString; payload: z.ZodObject<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_list_commands_response">; requestId: z.ZodString; payload: z.ZodObject<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_list_commands_response">; requestId: z.ZodString; payload: z.ZodObject<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"extension_packs_list_request">; requestId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"extension_packs_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"extension_packs_list_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_list_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"extension_packs_list_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"extension_packs_set_request">; requestId: z.ZodString; packs: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_set_request">; requestId: z.ZodString; packs: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"extension_packs_set_request">; requestId: z.ZodString; packs: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"extension_packs_set_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; ok: z.ZodBoolean; error: z.ZodOptional; report: z.ZodOptional; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_set_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; ok: z.ZodBoolean; error: z.ZodOptional; report: z.ZodOptional; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"extension_packs_set_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; ok: z.ZodBoolean; error: z.ZodOptional; report: z.ZodOptional; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_list_request">; requestId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_login_request">; requestId: z.ZodString; provider: z.ZodString; authType: z.ZodEnum<["api_key", "oauth"]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_login_request">; requestId: z.ZodString; provider: z.ZodString; authType: z.ZodEnum<["api_key", "oauth"]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_login_request">; requestId: z.ZodString; provider: z.ZodString; authType: z.ZodEnum<["api_key", "oauth"]>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_login_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_login_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_login_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_respond_request">; requestId: z.ZodString; flowId: z.ZodString; promptId: z.ZodString; value: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_respond_request">; requestId: z.ZodString; flowId: z.ZodString; promptId: z.ZodString; value: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_respond_request">; requestId: z.ZodString; flowId: z.ZodString; promptId: z.ZodString; value: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_cancel_request">; requestId: z.ZodString; flowId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_cancel_request">; requestId: z.ZodString; flowId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_cancel_request">; requestId: z.ZodString; flowId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_cancel_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_cancel_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_cancel_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_logout_request">; requestId: z.ZodString; provider: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_logout_request">; requestId: z.ZodString; provider: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_logout_request">; requestId: z.ZodString; provider: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"provider_auth_logout_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_logout_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"provider_auth_logout_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_get_request">; requestId: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_get_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_get_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_get_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_get_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_get_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_set_request">; requestId: z.ZodString; patch: z.ZodRecord; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_set_request">; requestId: z.ZodString; patch: z.ZodRecord; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_set_request">; requestId: z.ZodString; patch: z.ZodRecord; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_set_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_set_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_set_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"viewer_settings_update">; settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_update">; settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_update">; settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_request">; requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; removed: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_request">; requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; removed: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_request">; requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; removed: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_resolved">; requestId: z.ZodString; agentId: z.ZodString; reason: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_resolved">; requestId: z.ZodString; agentId: z.ZodString; reason: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_resolved">; requestId: z.ZodString; agentId: z.ZodString; reason: z.ZodString; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_respond_request">; requestId: z.ZodString; uiRequestId: z.ZodString; response: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_respond_request">; requestId: z.ZodString; uiRequestId: z.ZodString; response: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_respond_request">; requestId: z.ZodString; uiRequestId: z.ZodString; response: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_list_request">; requestId: z.ZodString; agentId: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_list_request">; requestId: z.ZodString; agentId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_list_request">; requestId: z.ZodString; agentId: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"agent_ui_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"agent_ui_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>, z.ZodObject<{ type: z.ZodLiteral<"rpc_error">; requestId: z.ZodString; code: z.ZodOptional; message: z.ZodOptional; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "rpc_error"; requestId: string; code?: string | undefined; message?: string | undefined; error?: string | undefined; }, { type: "rpc_error"; requestId: string; code?: string | undefined; message?: string | undefined; error?: string | undefined; }>]>, z.ZodObject<{ type: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">>]>; }, "strip", z.ZodTypeAny, { type: "session"; message: { type: "create_agent_request"; requestId: string; config: { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectOutputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }; env?: Record | undefined; workspaceId?: string | undefined; worktreeName?: string | undefined; initialPrompt?: string | undefined; clientMessageId?: string | undefined; outputSchema?: Record | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; attachments?: z.objectOutputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; git?: unknown; worktree?: unknown; autoArchive?: boolean | undefined; labels: Record; } | { type: "create_agent_response"; requestId: string; payload: { agentId: string; } & { [k: string]: unknown; }; } | { type: "agent_update"; agentId: string; status?: "closed" | "error" | "idle" | "initializing" | "running" | undefined; title?: string | null | undefined; labels?: Record | undefined; } | { type: "agent_status"; agentId: string; status: "closed" | "error" | "idle" | "initializing" | "running"; } | { type: "agent_list"; agents: z.objectOutputType<{ id: z.ZodString; }, z.ZodTypeAny, "passthrough">[]; } | { type: "agent_deleted"; agentId: string; } | { type: "agent_archived"; agentId: string; archivedAt?: string | undefined; } | { type: "agent_stream"; agentId: string; seq?: number | undefined; timestamp?: string | number | undefined; event: { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; } | { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; } | { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; } | { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; } | { kind: "turn_started"; turnId?: string | undefined; } | { kind: "turn_completed"; turnId?: string | undefined; } | { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; } | { kind: "turn_canceled"; turnId?: string | undefined; } | { kind: "error"; message?: string | undefined; } | { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }; } | { type: "fetch_agent_timeline_request"; requestId: string; agentId: string; cursor?: string | null | undefined; direction: "after" | "before"; limit?: number | undefined; } | { type: "fetch_agent_timeline_response"; requestId: string; agentId?: string | undefined; items: unknown[]; seqStart: number; seqEnd: number; sourceSeqRanges: { start: number; end: number; }[]; collapsed: boolean; hasNewer: boolean; startCursor?: string | null | undefined; endCursor?: string | null | undefined; } | { type: "agent_permission_request"; requestId: string; agentId: string; toolName?: string | undefined; tool?: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; } | undefined; action?: unknown; responses?: string[] | undefined; } | { type: "agent_permission_resolved"; requestId: string; agentId: string; decision?: string | undefined; } | { type: "agent.permission.respond.request"; requestId: string; permissionRequestId: string; response?: unknown; } | { type: "agent.permission.respond.response"; requestId: string; payload: { resolved: boolean; } & { [k: string]: unknown; }; } | { type: "respond_to_permission"; requestId: string; permissionRequestId: string; response?: unknown; } | { type: "rpc_error"; requestId: string; code?: string | undefined; message?: string | undefined; error?: string | undefined; } | z.objectOutputType<{ type: z.ZodLiteral<"agent.rewind.request">; requestId: z.ZodString; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent.rewind.response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_session_stats_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_session_stats_response">; requestId: z.ZodString; payload: z.ZodObject<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_compact_request">; requestId: z.ZodString; agentId: z.ZodString; customInstructions: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_compact_response">; requestId: z.ZodString; payload: z.ZodObject<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_new_session_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_new_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_switch_session_request">; requestId: z.ZodString; agentId: z.ZodString; sessionPath: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_switch_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_request">; requestId: z.ZodString; agentId: z.ZodString; entryId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodString; cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_messages_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_fork_messages_response">; requestId: z.ZodString; payload: z.ZodObject<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_clone_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_clone_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_set_session_name_request">; requestId: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_set_session_name_response">; requestId: z.ZodString; payload: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_export_html_request">; requestId: z.ZodString; agentId: z.ZodString; outputPath: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_export_html_response">; requestId: z.ZodString; payload: z.ZodObject<{ path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_set_model_request">; requestId: z.ZodString; agentId: z.ZodString; provider: z.ZodString; modelId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_set_model_response">; requestId: z.ZodString; payload: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_cycle_model_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_cycle_model_response">; requestId: z.ZodString; payload: z.ZodObject<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_set_thinking_request">; requestId: z.ZodString; agentId: z.ZodString; level: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_set_thinking_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_thinking_levels_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_thinking_levels_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; levels: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_last_assistant_text_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_last_assistant_text_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"steer_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"steer_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"follow_up_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"follow_up_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_list_commands_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_list_commands_response">; requestId: z.ZodString; payload: z.ZodObject<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_list_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_set_request">; requestId: z.ZodString; packs: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"extension_packs_set_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; ok: z.ZodBoolean; error: z.ZodOptional; report: z.ZodOptional; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_login_request">; requestId: z.ZodString; provider: z.ZodString; authType: z.ZodEnum<["api_key", "oauth"]>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_login_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_respond_request">; requestId: z.ZodString; flowId: z.ZodString; promptId: z.ZodString; value: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_cancel_request">; requestId: z.ZodString; flowId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_cancel_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_logout_request">; requestId: z.ZodString; provider: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"provider_auth_logout_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_get_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_get_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_set_request">; requestId: z.ZodString; patch: z.ZodRecord; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_set_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"viewer_settings_update">; settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_request">; requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; removed: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_resolved">; requestId: z.ZodString; agentId: z.ZodString; reason: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_respond_request">; requestId: z.ZodString; uiRequestId: z.ZodString; response: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_list_request">; requestId: z.ZodString; agentId: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodLiteral<"agent_ui_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectOutputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">; }, { type: "session"; message: { type: "create_agent_request"; requestId: string; config: { provider: string; cwd: string; modeId?: string | undefined; model?: string | undefined; modelProvider?: string | undefined; thinkingOptionId?: string | undefined; featureValues?: Record | undefined; title?: string | null | undefined; approvalPolicy?: string | undefined; sandboxMode?: string | undefined; networkAccess?: boolean | undefined; webSearch?: boolean | undefined; extra?: z.objectInputType<{ pi: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | undefined; systemPrompt?: string | undefined; mcpServers?: Record | undefined; }; env?: Record | undefined; workspaceId?: string | undefined; worktreeName?: string | undefined; initialPrompt?: string | undefined; clientMessageId?: string | undefined; outputSchema?: Record | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; attachments?: z.objectInputType<{ prs: z.ZodOptional>; issues: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; git?: unknown; worktree?: unknown; autoArchive?: boolean | undefined; labels?: Record | undefined; } | { type: "create_agent_response"; requestId: string; payload: { agentId: string; } & { [k: string]: unknown; }; } | { type: "agent_update"; agentId: string; status?: "closed" | "error" | "idle" | "initializing" | "running" | undefined; title?: string | null | undefined; labels?: Record | undefined; } | { type: "agent_status"; agentId: string; status: "closed" | "error" | "idle" | "initializing" | "running"; } | { type: "agent_list"; agents: z.objectInputType<{ id: z.ZodString; }, z.ZodTypeAny, "passthrough">[]; } | { type: "agent_deleted"; agentId: string; } | { type: "agent_archived"; agentId: string; archivedAt?: string | undefined; } | { type: "agent_stream"; agentId: string; seq?: number | undefined; timestamp?: string | number | undefined; event: { kind: "user_message"; messageId?: string | undefined; text?: string | undefined; images?: z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">[] | undefined; } | { kind: "assistant_message"; messageId?: string | undefined; text?: string | undefined; final?: boolean | undefined; } | { kind: "reasoning"; text?: string | undefined; final?: boolean | undefined; } | { kind: "tool_call"; callId?: string | undefined; tool: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; }; status?: string | undefined; } | { kind: "turn_started"; turnId?: string | undefined; } | { kind: "turn_completed"; turnId?: string | undefined; } | { kind: "turn_failed"; turnId?: string | undefined; error?: string | undefined; } | { kind: "turn_canceled"; turnId?: string | undefined; } | { kind: "error"; message?: string | undefined; } | { kind: "queue_update"; steering?: string[] | undefined; followUp?: string[] | undefined; }; } | { type: "fetch_agent_timeline_request"; requestId: string; agentId: string; cursor?: string | null | undefined; direction: "after" | "before"; limit?: number | undefined; } | { type: "fetch_agent_timeline_response"; requestId: string; agentId?: string | undefined; items: unknown[]; seqStart: number; seqEnd: number; sourceSeqRanges: { start: number; end: number; }[]; collapsed: boolean; hasNewer: boolean; startCursor?: string | null | undefined; endCursor?: string | null | undefined; } | { type: "agent_permission_request"; requestId: string; agentId: string; toolName?: string | undefined; tool?: { kind: "shell"; command?: string | undefined; output?: string | undefined; } | { kind: "read"; path?: string | undefined; output?: string | undefined; } | { kind: "edit"; path?: string | undefined; diff?: string | undefined; output?: string | undefined; } | { kind: "write"; path?: string | undefined; output?: string | undefined; } | { kind: "search"; query?: string | undefined; output?: string | undefined; } | { kind: "fetch"; url?: string | undefined; output?: string | undefined; } | { kind: "task"; description?: string | undefined; output?: string | undefined; } | undefined; action?: unknown; responses?: string[] | undefined; } | { type: "agent_permission_resolved"; requestId: string; agentId: string; decision?: string | undefined; } | { type: "agent.permission.respond.request"; requestId: string; permissionRequestId: string; response?: unknown; } | { type: "agent.permission.respond.response"; requestId: string; payload: { resolved: boolean; } & { [k: string]: unknown; }; } | { type: "respond_to_permission"; requestId: string; permissionRequestId: string; response?: unknown; } | { type: "rpc_error"; requestId: string; code?: string | undefined; message?: string | undefined; error?: string | undefined; } | z.objectInputType<{ type: z.ZodLiteral<"agent.rewind.request">; requestId: z.ZodString; agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent.rewind.response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; messageId: z.ZodString; mode: z.ZodEnum<["conversation", "files", "both"]>; truncatedAt: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_session_stats_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_session_stats_response">; requestId: z.ZodString; payload: z.ZodObject<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ sessionId: z.ZodOptional; sessionFile: z.ZodOptional; userMessages: z.ZodOptional; assistantMessages: z.ZodOptional; toolCalls: z.ZodOptional; toolResults: z.ZodOptional; totalMessages: z.ZodOptional; tokens: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ input: z.ZodOptional; output: z.ZodOptional; cacheRead: z.ZodOptional; cacheWrite: z.ZodOptional; total: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; cost: z.ZodOptional; contextUsage: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ tokens: z.ZodOptional>; contextWindow: z.ZodOptional; percent: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; /** Current model id (sprint-042: poll-authoritative source for the web-client status * bar's model segment; back-filled server-side when the provider's own stats omit it). */ model: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_compact_request">; requestId: z.ZodString; agentId: z.ZodString; customInstructions: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_compact_response">; requestId: z.ZodString; payload: z.ZodObject<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ summary: z.ZodOptional; firstKeptEntryId: z.ZodOptional; tokensBefore: z.ZodOptional; details: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_new_session_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_new_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_switch_session_request">; requestId: z.ZodString; agentId: z.ZodString; sessionPath: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_switch_session_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_fork_request">; requestId: z.ZodString; agentId: z.ZodString; entryId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_fork_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodString; cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodString; cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_fork_messages_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_fork_messages_response">; requestId: z.ZodString; payload: z.ZodObject<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ messages: z.ZodArray, z.objectInputType<{ entryId: z.ZodString; text: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_clone_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_clone_response">; requestId: z.ZodString; payload: z.ZodObject<{ cancelled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ cancelled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_set_session_name_request">; requestId: z.ZodString; agentId: z.ZodString; name: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_set_session_name_response">; requestId: z.ZodString; payload: z.ZodOptional, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_export_html_request">; requestId: z.ZodString; agentId: z.ZodString; outputPath: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_export_html_response">; requestId: z.ZodString; payload: z.ZodObject<{ path: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ path: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_set_model_request">; requestId: z.ZodString; agentId: z.ZodString; provider: z.ZodString; modelId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_set_model_response">; requestId: z.ZodString; payload: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_cycle_model_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_cycle_model_response">; requestId: z.ZodString; payload: z.ZodObject<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ model: z.ZodOptional>; thinkingLevel: z.ZodOptional; isScoped: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_set_thinking_request">; requestId: z.ZodString; agentId: z.ZodString; level: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_set_thinking_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; /** Effective level after provider clamping. */ level: z.ZodString; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_thinking_levels_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_thinking_levels_response">; requestId: z.ZodString; payload: z.ZodObject<{ agentId: z.ZodString; levels: z.ZodArray; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; levels: z.ZodArray; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_last_assistant_text_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_last_assistant_text_response">; requestId: z.ZodString; payload: z.ZodObject<{ text: z.ZodNullable; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ text: z.ZodNullable; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"steer_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"steer_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"follow_up_agent_request">; requestId: z.ZodString; agentId: z.ZodString; message: z.ZodString; images: z.ZodOptional; data: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mimeType: z.ZodOptional; data: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; clientMessageId: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"follow_up_agent_response">; requestId: z.ZodString; agentId: z.ZodString; ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_list_commands_request">; requestId: z.ZodString; agentId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_list_commands_response">; requestId: z.ZodString; payload: z.ZodObject<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ commands: z.ZodArray; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ name: z.ZodString; id: z.ZodOptional; description: z.ZodOptional; source: z.ZodOptional>; scope: z.ZodOptional>; path: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"extension_packs_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"extension_packs_list_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"extension_packs_set_request">; requestId: z.ZodString; packs: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"extension_packs_set_response">; requestId: z.ZodString; autoSync: z.ZodBoolean; selected: z.ZodArray; packs: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; title: z.ZodString; description: z.ZodString; packages: z.ZodArray; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ source: z.ZodString; identity: z.ZodString; addedIn: z.ZodString; deprecated: z.ZodOptional; /** {@link EntryStatus} today; plain string on the wire (see above). */ status: z.ZodString; lastError: z.ZodOptional, z.objectInputType<{ at: z.ZodString; attempts: z.ZodNumber; /** `ExtensionFailureReason` today (`sync-executor.ts`); plain string, same reason. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>, "many">; lastSync: z.ZodOptional, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; }, z.ZodTypeAny, "passthrough">>>; ok: z.ZodBoolean; error: z.ZodOptional; report: z.ZodOptional; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ at: z.ZodString; /** {@link SyncOutcome} today; plain string on the wire. */ outcome: z.ZodString; installed: z.ZodArray; failures: z.ZodArray, z.objectInputType<{ identity: z.ZodString; source: z.ZodString; pack: z.ZodString; /** `ExtensionFailureReason` today; plain string, same forward-compat reason as above. */ reason: z.ZodString; message: z.ZodString; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_list_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; providers: z.ZodDefault, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; authTypes: z.ZodArray, "many">; oauthLoginLabel: z.ZodOptional; oauthIsSubscription: z.ZodOptional; configured: z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"unknown">]>; configuredType: z.ZodOptional>; configuredSource: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_login_request">; requestId: z.ZodString; provider: z.ZodString; authType: z.ZodEnum<["api_key", "oauth"]>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_login_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; flowId: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_respond_request">; requestId: z.ZodString; flowId: z.ZodString; promptId: z.ZodString; value: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_cancel_request">; requestId: z.ZodString; flowId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_cancel_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_logout_request">; requestId: z.ZodString; provider: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"provider_auth_logout_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; stillConfigured: z.ZodOptional; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_get_request">; requestId: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_get_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_set_request">; requestId: z.ZodString; patch: z.ZodRecord; config: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_set_response">; requestId: z.ZodString; payload: z.ZodObject<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"viewer_settings_update">; settings: z.ZodObject<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ version: z.ZodDefault>; viewers: z.ZodDefault>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodBoolean; config: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>>; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_ui_request">; requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; removed: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_ui_resolved">; requestId: z.ZodString; agentId: z.ZodString; reason: z.ZodString; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_ui_respond_request">; requestId: z.ZodString; uiRequestId: z.ZodString; response: z.ZodObject<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ value: z.ZodOptional; confirmed: z.ZodOptional; cancelled: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_ui_respond_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_ui_list_request">; requestId: z.ZodString; agentId: z.ZodOptional; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodLiteral<"agent_ui_list_response">; requestId: z.ZodString; payload: z.ZodObject<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ ok: z.ZodBoolean; pending: z.ZodArray; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ requestId: z.ZodString; agentId: z.ZodString; method: z.ZodString; expectsResponse: z.ZodBoolean; payload: z.ZodRecord; surfaceKey: z.ZodOptional; timeoutMs: z.ZodOptional; createdAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; surfaces: z.ZodArray; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ agentId: z.ZodString; method: z.ZodString; surfaceKey: z.ZodString; payload: z.ZodRecord; updatedAt: z.ZodUnion<[z.ZodNumber, z.ZodString]>; }, z.ZodTypeAny, "passthrough">>, "many">; error: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; }, z.ZodTypeAny, "passthrough"> | z.objectInputType<{ type: z.ZodString; }, z.ZodTypeAny, "passthrough">; }>]>; export type TopLevelEnvelope = z.infer; //# sourceMappingURL=messages.d.ts.map