import * as z from "zod/v4"; /** * JSON RPC Request Id * * An identifier established by the Client that MUST contain a String, Number, or NULL value if included. If it is not included it is assumed to be a notification. The value SHOULD normally not be Null \[1\] and Numbers SHOULD NOT contain fractional parts \[2\] * * The Server MUST reply with the same value in the Response object if included. This member is used to correlate the context between the two objects. * * \[1\] The use of Null as a value for the id member in a Request object is discouraged, because this specification uses a value of Null for Responses with an unknown id. Also, because JSON-RPC 1.0 uses an id value of Null for Notifications this could cause confusion in handling. * * \[2\] Fractional parts may be problematic, since many decimal fractions cannot be represented exactly as binary fractions. */ export declare const zRequestId: z.ZodNullable>; /** * A unique identifier for a conversation session between a client and agent. * * Sessions maintain their own context, conversation history, and state, * allowing multiple independent interactions with the same agent. * * See protocol docs: [Session ID](https://agentclientprotocol.com/protocol/session-setup#session-id) */ export declare const zSessionId: z.ZodString; /** * Request to write content to a text file. * * Only available if the client supports the `fs.writeTextFile` capability. */ export declare const zWriteTextFileRequest: z.ZodObject<{ sessionId: z.ZodString; path: z.ZodString; content: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request to read content from a text file. * * Only available if the client supports the `fs.readTextFile` capability. */ export declare const zReadTextFileRequest: z.ZodObject<{ sessionId: z.ZodString; path: z.ZodString; line: z.ZodOptional>; limit: z.ZodOptional>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Unique identifier for a tool call within a session. */ export declare const zToolCallId: z.ZodString; /** * Categories of tools that can be invoked. * * Tool kinds help clients choose appropriate icons and optimize how they * display tool execution progress. * * See protocol docs: [Creating](https://agentclientprotocol.com/protocol/tool-calls#creating) */ export declare const zToolKind: z.ZodUnion, z.ZodLiteral<"edit">, z.ZodLiteral<"delete">, z.ZodLiteral<"move">, z.ZodLiteral<"search">, z.ZodLiteral<"execute">, z.ZodLiteral<"think">, z.ZodLiteral<"fetch">, z.ZodLiteral<"switch_mode">, z.ZodLiteral<"other">]>; /** * Execution status of a tool call. * * Tool calls progress through different statuses during their lifecycle. * * See protocol docs: [Status](https://agentclientprotocol.com/protocol/tool-calls#status) */ export declare const zToolCallStatus: z.ZodUnion, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">]>; /** * The sender or recipient of messages and data in a conversation. */ export declare const zRole: z.ZodUnion, z.ZodLiteral<"user">]>; /** * Optional annotations for the client. The client can use annotations to inform how objects are used or displayed */ export declare const zAnnotations: z.ZodObject<{ audience: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Text provided to or from an LLM. */ export declare const zTextContent: z.ZodObject<{ annotations: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * An image provided to or from an LLM. */ export declare const zImageContent: z.ZodObject<{ annotations: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Audio provided to or from an LLM. */ export declare const zAudioContent: z.ZodObject<{ annotations: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * A resource that the server is capable of reading, included in a prompt or tool call result. */ export declare const zResourceLink: z.ZodObject<{ annotations: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Text-based resource contents. */ export declare const zTextResourceContents: z.ZodObject<{ mimeType: z.ZodCatch>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Binary resource contents. */ export declare const zBlobResourceContents: z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Resource content that can be embedded in a message. */ export declare const zEmbeddedResourceResource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; /** * The contents of a resource, embedded into a prompt or tool call result. */ export declare const zEmbeddedResource: z.ZodObject<{ annotations: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Content blocks represent displayable information in the Agent Client Protocol. * * They provide a structured way to handle various types of user-facing content—whether * it's text from language models, images for analysis, or embedded resources for context. * * Content blocks appear in: * - User prompts sent via `session/prompt` * - Language model output streamed through `session/update` notifications * - Progress updates and results from tool calls * * This structure is compatible with the Model Context Protocol (MCP), enabling * agents to seamlessly forward content from MCP tool outputs without transformation. * * See protocol docs: [Content](https://agentclientprotocol.com/protocol/content) */ export declare const zContentBlock: z.ZodUnion, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; /** * Standard content block (text, images, resources). */ export declare const zContent: z.ZodObject<{ content: z.ZodUnion, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * A diff representing file modifications. * * Shows changes to files in a format suitable for display in the client UI. * * See protocol docs: [Content](https://agentclientprotocol.com/protocol/tool-calls#content) */ export declare const zDiff: z.ZodObject<{ path: z.ZodString; oldText: z.ZodCatch>>; newText: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Typed identifier used for terminal values on the wire. */ export declare const zTerminalId: z.ZodString; /** * Embed a terminal created with `terminal/create` by its id. * * The terminal must be added before calling `terminal/release`. * * See protocol docs: [Terminal](https://agentclientprotocol.com/protocol/terminals) */ export declare const zTerminal: z.ZodObject<{ terminalId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Content produced by a tool call. * * Tool calls can produce different types of content including * standard content blocks (text, images) or file diffs. * * See protocol docs: [Content](https://agentclientprotocol.com/protocol/tool-calls#content) */ export declare const zToolCallContent: z.ZodUnion, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"content">; }, z.core.$strip>>, z.ZodIntersection>>; newText: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diff">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal">; }, z.core.$strip>>]>; /** * A file location being accessed or modified by a tool. * * Enables clients to implement "follow-along" features that track * which files the agent is working with in real-time. * * See protocol docs: [Following the Agent](https://agentclientprotocol.com/protocol/tool-calls#following-the-agent) */ export declare const zToolCallLocation: z.ZodObject<{ path: z.ZodString; line: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * An update to an existing tool call. * * Used to report progress and results as tools execute. All fields except * the tool call ID are optional - only changed fields need to be included. * * See protocol docs: [Updating](https://agentclientprotocol.com/protocol/tool-calls#updating) */ export declare const zToolCallUpdate: z.ZodObject<{ toolCallId: z.ZodString; kind: z.ZodCatch, z.ZodLiteral<"edit">, z.ZodLiteral<"delete">, z.ZodLiteral<"move">, z.ZodLiteral<"search">, z.ZodLiteral<"execute">, z.ZodLiteral<"think">, z.ZodLiteral<"fetch">, z.ZodLiteral<"switch_mode">, z.ZodLiteral<"other">]>>>>; status: z.ZodCatch, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">]>>>>; title: z.ZodCatch>>; name: z.ZodCatch>>; content: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"content">; }, z.core.$strip>>, z.ZodIntersection>>; newText: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diff">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[], (({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[]>>>>>; locations: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>, z.ZodTransform<{ path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[], { path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[]>>>>>; rawInput: z.ZodCatch>; rawOutput: z.ZodCatch>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Unique identifier for a permission option. */ export declare const zPermissionOptionId: z.ZodString; /** * The type of permission option being presented to the user. * * Helps clients choose appropriate icons and UI treatment. */ export declare const zPermissionOptionKind: z.ZodUnion, z.ZodLiteral<"allow_always">, z.ZodLiteral<"reject_once">, z.ZodLiteral<"reject_always">]>; /** * An option presented to the user when requesting permission. */ export declare const zPermissionOption: z.ZodObject<{ optionId: z.ZodString; name: z.ZodString; kind: z.ZodUnion, z.ZodLiteral<"allow_always">, z.ZodLiteral<"reject_once">, z.ZodLiteral<"reject_always">]>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request for user permission to execute a tool call. * * Sent when the agent needs authorization before performing a sensitive operation. * * See protocol docs: [Requesting Permission](https://agentclientprotocol.com/protocol/tool-calls#requesting-permission) */ export declare const zRequestPermissionRequest: z.ZodObject<{ sessionId: z.ZodString; toolCall: z.ZodObject<{ toolCallId: z.ZodString; kind: z.ZodCatch, z.ZodLiteral<"edit">, z.ZodLiteral<"delete">, z.ZodLiteral<"move">, z.ZodLiteral<"search">, z.ZodLiteral<"execute">, z.ZodLiteral<"think">, z.ZodLiteral<"fetch">, z.ZodLiteral<"switch_mode">, z.ZodLiteral<"other">]>>>>; status: z.ZodCatch, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">]>>>>; title: z.ZodCatch>>; name: z.ZodCatch>>; content: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"content">; }, z.core.$strip>>, z.ZodIntersection>>; newText: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diff">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[], (({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[]>>>>>; locations: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>, z.ZodTransform<{ path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[], { path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[]>>>>>; rawInput: z.ZodCatch>; rawOutput: z.ZodCatch>; _meta: z.ZodCatch>>>; }, z.core.$strip>; options: z.ZodArray, z.ZodLiteral<"allow_always">, z.ZodLiteral<"reject_once">, z.ZodLiteral<"reject_always">]>; _meta: z.ZodCatch>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * An environment variable to set when launching an MCP server. */ export declare const zEnvVariable: z.ZodObject<{ name: z.ZodString; value: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request to create a new terminal and execute a command. */ export declare const zCreateTerminalRequest: z.ZodObject<{ sessionId: z.ZodString; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>>>; }, z.core.$strip>>>; cwd: z.ZodOptional>; outputByteLimit: z.ZodOptional>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request to get the current output and status of a terminal. */ export declare const zTerminalOutputRequest: z.ZodObject<{ sessionId: z.ZodString; terminalId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request to release a terminal and free its resources. */ export declare const zReleaseTerminalRequest: z.ZodObject<{ sessionId: z.ZodString; terminalId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request to wait for a terminal command to exit. */ export declare const zWaitForTerminalExitRequest: z.ZodObject<{ sessionId: z.ZodString; terminalId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request to kill a terminal without releasing it. */ export declare const zKillTerminalRequest: z.ZodObject<{ sessionId: z.ZodString; terminalId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Session-scoped elicitation, optionally tied to a specific tool call. * * When `tool_call_id` is set, the elicitation is tied to a specific tool call. * This is useful when an agent receives an elicitation from an MCP server * during a tool call and needs to redirect it to the user. */ export declare const zElicitationSessionScope: z.ZodObject<{ sessionId: z.ZodString; toolCallId: z.ZodCatch>>; }, z.core.$strip>; /** * Request-scoped elicitation, tied to a specific JSON-RPC request outside of a session * (e.g., during auth/configuration phases before any session is started). */ export declare const zElicitationRequestScope: z.ZodObject<{ requestId: z.ZodNullable>; }, z.core.$strip>; /** * Object schema type. */ export declare const zElicitationSchemaType: z.ZodLiteral<"object">; /** * String format types for string properties in elicitation schemas. */ export declare const zStringFormat: z.ZodUnion, z.ZodLiteral<"uri">, z.ZodLiteral<"date">, z.ZodLiteral<"date-time">]>; /** * A titled enum option with a const value, human-readable title, and optional description. */ export declare const zEnumOption: z.ZodObject<{ const: z.ZodString; title: z.ZodString; description: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Schema for string properties in an elicitation form. * * When `enum` or `oneOf` is set, this represents a single-select enum * with `"type": "string"`. */ export declare const zStringPropertySchema: z.ZodObject<{ title: z.ZodCatch>>; description: z.ZodCatch>>; minLength: z.ZodOptional>; maxLength: z.ZodOptional>; pattern: z.ZodOptional>; format: z.ZodOptional, z.ZodLiteral<"uri">, z.ZodLiteral<"date">, z.ZodLiteral<"date-time">]>>>; default: z.ZodCatch>>; enum: z.ZodOptional>>; oneOf: z.ZodOptional>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Schema for number (floating-point) properties in an elicitation form. */ export declare const zNumberPropertySchema: z.ZodObject<{ title: z.ZodCatch>>; description: z.ZodCatch>>; minimum: z.ZodOptional>; maximum: z.ZodOptional>; default: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Schema for integer properties in an elicitation form. */ export declare const zIntegerPropertySchema: z.ZodObject<{ title: z.ZodCatch>>; description: z.ZodCatch>>; minimum: z.ZodOptional>; maximum: z.ZodOptional>; default: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Schema for boolean properties in an elicitation form. */ export declare const zBooleanPropertySchema: z.ZodObject<{ title: z.ZodCatch>>; description: z.ZodCatch>>; default: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * String item schema for multi-select enum properties. */ export declare const zStringMultiSelectItems: z.ZodObject<{ enum: z.ZodArray; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Items definition for titled multi-select enum properties. */ export declare const zTitledMultiSelectItems: z.ZodObject<{ anyOf: z.ZodArray>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Items for a multi-select (array) property schema. * * Custom variants (unknown `type` values) keep their extra * properties exactly as received; unlike known variants, those keys * bypass lenient-field salvage and arrive unvalidated. */ export declare const zMultiSelectItems: z.ZodType<{ anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }, { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }, z.core.$ZodTypeInternals<{ anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }, { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }>>; /** * Schema for multi-select (array) properties in an elicitation form. */ export declare const zMultiSelectPropertySchema: z.ZodObject<{ title: z.ZodCatch>>; description: z.ZodCatch>>; minItems: z.ZodOptional>; maxItems: z.ZodOptional>; items: z.ZodType<{ anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }, { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }, z.core.$ZodTypeInternals<{ anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }, { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }>>; default: z.ZodCatch>, z.ZodTransform>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Property schema for elicitation form fields. * * Each variant corresponds to a JSON Schema `"type"` value. * Single-select enums use the `String` variant with `enum` or `oneOf` set. * Multi-select enums use the `Array` variant. * * Custom variants (unknown `type` values) keep their extra * properties exactly as received; unlike known variants, those keys * bypass lenient-field salvage and arrive unvalidated. */ export declare const zElicitationPropertySchema: z.ZodType<({ title?: string | null | undefined; description?: string | null | undefined; minLength?: number | null | undefined; maxLength?: number | null | undefined; pattern?: string | null | undefined; format?: "date" | "email" | "uri" | "date-time" | null | undefined; default?: string | null | undefined; enum?: string[] | null | undefined; oneOf?: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }, ({ title?: string | null | undefined; description?: string | null | undefined; minLength?: number | null | undefined; maxLength?: number | null | undefined; pattern?: string | null | undefined; format?: "date" | "email" | "uri" | "date-time" | null | undefined; default?: string | null | undefined; enum?: string[] | null | undefined; oneOf?: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }, z.core.$ZodTypeInternals<({ title?: string | null | undefined; description?: string | null | undefined; minLength?: number | null | undefined; maxLength?: number | null | undefined; pattern?: string | null | undefined; format?: "date" | "email" | "uri" | "date-time" | null | undefined; default?: string | null | undefined; enum?: string[] | null | undefined; oneOf?: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }, ({ title?: string | null | undefined; description?: string | null | undefined; minLength?: number | null | undefined; maxLength?: number | null | undefined; pattern?: string | null | undefined; format?: "date" | "email" | "uri" | "date-time" | null | undefined; default?: string | null | undefined; enum?: string[] | null | undefined; oneOf?: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }>>; /** * Type-safe elicitation schema for requesting structured user input. * * This represents a JSON Schema object with primitive-typed properties, * as required by the elicitation specification. */ export declare const zElicitationSchema: z.ZodObject<{ type: z.ZodCatch>>>; title: z.ZodCatch>>; properties: z.ZodDefault | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }, ({ title?: string | null | undefined; description?: string | null | undefined; minLength?: number | null | undefined; maxLength?: number | null | undefined; pattern?: string | null | undefined; format?: "date" | "email" | "uri" | "date-time" | null | undefined; default?: string | null | undefined; enum?: string[] | null | undefined; oneOf?: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }, z.core.$ZodTypeInternals<({ title?: string | null | undefined; description?: string | null | undefined; minLength?: number | null | undefined; maxLength?: number | null | undefined; pattern?: string | null | undefined; format?: "date" | "email" | "uri" | "date-time" | null | undefined; default?: string | null | undefined; enum?: string[] | null | undefined; oneOf?: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }, ({ title?: string | null | undefined; description?: string | null | undefined; minLength?: number | null | undefined; maxLength?: number | null | undefined; pattern?: string | null | undefined; format?: "date" | "email" | "uri" | "date-time" | null | undefined; default?: string | null | undefined; enum?: string[] | null | undefined; oneOf?: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }>>>>>; required: z.ZodOptional>>; description: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Form-based elicitation mode where the client renders a form from the provided schema. */ export declare const zElicitationFormMode: z.ZodIntersection>>; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodNullable>; }, z.core.$strip>]>, z.ZodObject<{ requestedSchema: z.ZodObject<{ type: z.ZodCatch>>>; title: z.ZodCatch>>; properties: z.ZodDefault | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }, ({ title?: string | null | undefined; description?: string | null | undefined; minLength?: number | null | undefined; maxLength?: number | null | undefined; pattern?: string | null | undefined; format?: "date" | "email" | "uri" | "date-time" | null | undefined; default?: string | null | undefined; enum?: string[] | null | undefined; oneOf?: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }, z.core.$ZodTypeInternals<({ title?: string | null | undefined; description?: string | null | undefined; minLength?: number | null | undefined; maxLength?: number | null | undefined; pattern?: string | null | undefined; format?: "date" | "email" | "uri" | "date-time" | null | undefined; default?: string | null | undefined; enum?: string[] | null | undefined; oneOf?: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }, ({ title?: string | null | undefined; description?: string | null | undefined; minLength?: number | null | undefined; maxLength?: number | null | undefined; pattern?: string | null | undefined; format?: "date" | "email" | "uri" | "date-time" | null | undefined; default?: string | null | undefined; enum?: string[] | null | undefined; oneOf?: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }>>>>>; required: z.ZodOptional>>; description: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; }, z.core.$strip>>; /** * Unique identifier for an elicitation. */ export declare const zElicitationId: z.ZodString; /** * URL-based elicitation mode where the client directs the user to a URL. */ export declare const zElicitationUrlMode: z.ZodIntersection>>; }, z.core.$strip>, z.ZodObject<{ requestId: z.ZodNullable>; }, z.core.$strip>]>, z.ZodObject<{ elicitationId: z.ZodString; url: z.ZodURL; }, z.core.$strip>>; /** * Request from the agent to elicit structured user input. * * The agent sends this to the client to request information from the user, * either via a form or by directing them to a URL. * Elicitations are tied to a session (optionally a tool call) or a request. * * Custom variants (unknown `mode` values) keep their extra * properties exactly as received; unlike known variants, those keys * bypass lenient-field salvage and arrive unvalidated. */ export declare const zCreateElicitationRequest: z.ZodType<(((({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { requestedSchema: { type: "object"; properties: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }>; title?: string | null | undefined; required?: string[] | null | undefined; description?: string | null | undefined; _meta?: Record | null | undefined; }; }) & { mode: "form"; }) | ((({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { elicitationId: string; url: string; }) & { mode: "url"; }) | (({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { mode: string; })) & { message: string; _meta?: Record | null | undefined; }, (((({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { requestedSchema: { type?: "object" | undefined; title?: string | null | undefined; properties?: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }> | undefined; required?: string[] | null | undefined; description?: string | null | undefined; _meta?: Record | null | undefined; }; }) & { mode: "form"; }) | ((({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { elicitationId: string; url: string; }) & { mode: "url"; }) | (({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { mode: string; })) & { message: string; _meta?: Record | null | undefined; }, z.core.$ZodTypeInternals<(((({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { requestedSchema: { type: "object"; properties: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }>; title?: string | null | undefined; required?: string[] | null | undefined; description?: string | null | undefined; _meta?: Record | null | undefined; }; }) & { mode: "form"; }) | ((({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { elicitationId: string; url: string; }) & { mode: "url"; }) | (({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { mode: string; })) & { message: string; _meta?: Record | null | undefined; }, (((({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { requestedSchema: { type?: "object" | undefined; title?: string | null | undefined; properties?: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }> | undefined; required?: string[] | null | undefined; description?: string | null | undefined; _meta?: Record | null | undefined; }; }) & { mode: "form"; }) | ((({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { elicitationId: string; url: string; }) & { mode: "url"; }) | (({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { mode: string; })) & { message: string; _meta?: Record | null | undefined; }>>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Unique identifier for an MCP server using the ACP transport. * * The value is opaque and generated by the ACP component providing the MCP server. It is * used by `mcp/message` to route requests to the component that declared the server. * * @experimental */ export declare const zMcpServerAcpId: z.ZodString; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Identifies an inner MCP request active against a server on this ACP connection. * * Generated by the caller and preserved unchanged by proxies. This is distinct * from the outer ACP JSON-RPC request ID. * * @experimental */ export declare const zMcpRequestId: z.ZodString; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Request parameters for `mcp/message`. * * @experimental */ export declare const zMessageMcpRequest: z.ZodObject<{ serverId: z.ZodString; requestId: z.ZodString; method: z.ZodString; params: z.ZodOptional>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Allows for sending an arbitrary request that is not part of the ACP spec. * Extension methods provide a way to add custom functionality while maintaining * protocol compatibility. * * See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility) */ export declare const zExtRequest: z.ZodUnknown; /** * A JSON-RPC request object. */ export declare const zAgentRequest: z.ZodObject<{ id: z.ZodNullable>; method: z.ZodString; params: z.ZodOptional>>>; }, z.core.$strip>, z.ZodObject<{ sessionId: z.ZodString; path: z.ZodString; line: z.ZodOptional>; limit: z.ZodOptional>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionId: z.ZodString; toolCall: z.ZodObject<{ toolCallId: z.ZodString; kind: z.ZodCatch, z.ZodLiteral<"edit">, z.ZodLiteral<"delete">, z.ZodLiteral<"move">, z.ZodLiteral<"search">, z.ZodLiteral<"execute">, z.ZodLiteral<"think">, z.ZodLiteral<"fetch">, z.ZodLiteral<"switch_mode">, z.ZodLiteral<"other">]>>>>; status: z.ZodCatch, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">]>>>>; title: z.ZodCatch>>; name: z.ZodCatch>>; content: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"content">; }, z.core.$strip>>, z.ZodIntersection>>; newText: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diff">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[], (({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[]>>>>>; locations: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>, z.ZodTransform<{ path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[], { path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[]>>>>>; rawInput: z.ZodCatch>; rawOutput: z.ZodCatch>; _meta: z.ZodCatch>>>; }, z.core.$strip>; options: z.ZodArray, z.ZodLiteral<"allow_always">, z.ZodLiteral<"reject_once">, z.ZodLiteral<"reject_always">]>; _meta: z.ZodCatch>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionId: z.ZodString; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>>>; }, z.core.$strip>>>; cwd: z.ZodOptional>; outputByteLimit: z.ZodOptional>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionId: z.ZodString; terminalId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionId: z.ZodString; terminalId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionId: z.ZodString; terminalId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionId: z.ZodString; terminalId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodType<(((({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { requestedSchema: { type: "object"; properties: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }>; title?: string | null | undefined; required?: string[] | null | undefined; description?: string | null | undefined; _meta?: Record | null | undefined; }; }) & { mode: "form"; }) | ((({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { elicitationId: string; url: string; }) & { mode: "url"; }) | (({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { mode: string; })) & { message: string; _meta?: Record | null | undefined; }, (((({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { requestedSchema: { type?: "object" | undefined; title?: string | null | undefined; properties?: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }> | undefined; required?: string[] | null | undefined; description?: string | null | undefined; _meta?: Record | null | undefined; }; }) & { mode: "form"; }) | ((({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { elicitationId: string; url: string; }) & { mode: "url"; }) | (({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { mode: string; })) & { message: string; _meta?: Record | null | undefined; }, z.core.$ZodTypeInternals<(((({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { requestedSchema: { type: "object"; properties: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }>; title?: string | null | undefined; required?: string[] | null | undefined; description?: string | null | undefined; _meta?: Record | null | undefined; }; }) & { mode: "form"; }) | ((({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { elicitationId: string; url: string; }) & { mode: "url"; }) | (({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { mode: string; })) & { message: string; _meta?: Record | null | undefined; }, (((({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { requestedSchema: { type?: "object" | undefined; title?: string | null | undefined; properties?: Record | null | undefined; }[] | null | undefined; _meta?: Record | null | undefined; } & { type: "string"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "number"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; minimum?: number | null | undefined; maximum?: number | null | undefined; default?: number | null | undefined; _meta?: Record | null | undefined; } & { type: "integer"; }) | ({ title?: string | null | undefined; description?: string | null | undefined; default?: boolean | null | undefined; _meta?: Record | null | undefined; } & { type: "boolean"; }) | ({ items: { anyOf: { const: string; title: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; } | ({ enum: string[]; _meta?: Record | null | undefined; } & { type: "string"; }) | { type: string; }; title?: string | null | undefined; description?: string | null | undefined; minItems?: number | null | undefined; maxItems?: number | null | undefined; default?: string[] | null | undefined; _meta?: Record | null | undefined; } & { type: "array"; }) | { type: string; }> | undefined; required?: string[] | null | undefined; description?: string | null | undefined; _meta?: Record | null | undefined; }; }) & { mode: "form"; }) | ((({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { elicitationId: string; url: string; }) & { mode: "url"; }) | (({ sessionId: string; toolCallId?: string | null | undefined; } | { requestId: string | number | null; }) & { mode: string; })) & { message: string; _meta?: Record | null | undefined; }>>, z.ZodObject<{ serverId: z.ZodString; requestId: z.ZodString; method: z.ZodString; params: z.ZodOptional>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodUnknown]>>>; }, z.core.$strip>; /** * Protocol version identifier. * * This version is only bumped for breaking changes. * Non-breaking changes should be introduced via capabilities. */ export declare const zProtocolVersion: z.ZodInt; /** * Prompt capabilities supported by the agent in `session/prompt` requests. * * Baseline agent functionality requires support for [`ContentBlock::Text`] * and [`ContentBlock::ResourceLink`] in prompt requests. * * Other variants must be explicitly opted in to. * Capabilities for different types of content in prompt requests. * * Indicates which content types beyond the baseline (text and resource links) * the agent can process. * * See protocol docs: [Prompt Capabilities](https://agentclientprotocol.com/protocol/initialization#prompt-capabilities) */ export declare const zPromptCapabilities: z.ZodObject<{ image: z.ZodCatch>>; audio: z.ZodCatch>>; embeddedContext: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * MCP capabilities supported by the agent */ export declare const zMcpCapabilities: z.ZodObject<{ http: z.ZodCatch>>; sse: z.ZodCatch>>; acp: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Capabilities for the `session/list` method. * * Supplying `{}` means the agent supports listing sessions. */ export declare const zSessionListCapabilities: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Capabilities for the `session/delete` method. * * Supplying `{}` means the agent supports deleting sessions from `session/list`. */ export declare const zSessionDeleteCapabilities: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Capabilities for additional session directories support. * * Supplying `{}` means the agent supports the `additionalDirectories` field on * supported session lifecycle requests. Agents that also support * `session/list` may return `SessionInfo.additionalDirectories` to report the * complete ordered additional-root list associated with a listed session. */ export declare const zSessionAdditionalDirectoriesCapabilities: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Capabilities for the `override` system prompt mode. * * Supplying `{}` means the agent supports replacing its built-in default * instructions with the client-provided system prompt. * * @experimental */ export declare const zSessionSystemPromptOverrideCapabilities: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * System prompt delivery modes the agent supports in addition to `append`. * * `append` has no entry because every agent advertising * `sessionCapabilities.systemPrompt` supports it. * * @experimental */ export declare const zSessionSystemPromptModeCapabilities: z.ZodObject<{ override: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Capabilities for client-provided system prompts. * * Supplying `{}` means the agent supports `systemPrompt` on session lifecycle * requests in `append` mode. * * @experimental */ export declare const zSessionSystemPromptCapabilities: z.ZodObject<{ mode: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Capabilities for the `session/fork` method. * * Supplying `{}` means the agent supports forking sessions. * * @experimental */ export declare const zSessionForkCapabilities: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Capabilities for the `session/resume` method. * * Supplying `{}` means the agent supports resuming sessions. */ export declare const zSessionResumeCapabilities: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Capabilities for the `session/close` method. * * Supplying `{}` means the agent supports closing sessions. */ export declare const zSessionCloseCapabilities: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Session capabilities supported by the agent. * * As a baseline, all Agents **MUST** support `session/new`, `session/prompt`, `session/cancel`, and `session/update`. * * Optionally, they **MAY** support other session methods and notifications by specifying additional capabilities. * * Note: `session/load` is still handled by the top-level `load_session` capability. This will be unified in future versions of the protocol. * * See protocol docs: [Session Capabilities](https://agentclientprotocol.com/protocol/initialization#session-capabilities) */ export declare const zSessionCapabilities: z.ZodObject<{ list: z.ZodCatch>>>; }, z.core.$strip>>>>; delete: z.ZodCatch>>>; }, z.core.$strip>>>>; additionalDirectories: z.ZodCatch>>>; }, z.core.$strip>>>>; systemPrompt: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; fork: z.ZodCatch>>>; }, z.core.$strip>>>>; resume: z.ZodCatch>>>; }, z.core.$strip>>>>; close: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Logout capabilities supported by the agent. * * Supplying `{}` means the agent supports the logout method. */ export declare const zLogoutCapabilities: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Authentication-related capabilities supported by the agent. */ export declare const zAgentAuthCapabilities: z.ZodObject<{ logout: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Provider configuration capabilities supported by the agent. * * Supplying `{}` means the agent supports provider configuration methods. * * @experimental */ export declare const zProvidersCapabilities: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Capabilities supported by the agent. * * Advertised during initialization to inform the client about * available features and content types. * * See protocol docs: [Agent Capabilities](https://agentclientprotocol.com/protocol/initialization#agent-capabilities) */ export declare const zAgentCapabilities: z.ZodObject<{ loadSession: z.ZodCatch>>; promptCapabilities: z.ZodCatch>>; audio: z.ZodCatch>>; embeddedContext: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; mcpCapabilities: z.ZodCatch>>; sse: z.ZodCatch>>; acp: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; sessionCapabilities: z.ZodCatch>>>; }, z.core.$strip>>>>; delete: z.ZodCatch>>>; }, z.core.$strip>>>>; additionalDirectories: z.ZodCatch>>>; }, z.core.$strip>>>>; systemPrompt: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; fork: z.ZodCatch>>>; }, z.core.$strip>>>>; resume: z.ZodCatch>>>; }, z.core.$strip>>>>; close: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; auth: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; providers: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Typed identifier used for auth method values on the wire. */ export declare const zAuthMethodId: z.ZodString; /** * Terminal-based authentication method. * * The client runs the configured agent program as a separate interactive * process for the user to authenticate via a TUI. Agents MUST advertise this * method only when the client enabled its terminal authentication capability. * A zero exit status signals success; any other termination signals failure. * The client MUST NOT pass this method to `authenticate`. */ export declare const zAuthMethodTerminal: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodCatch>>; args: z.ZodOptional>; env: z.ZodOptional>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Agent handles authentication itself through `authenticate`. * * This is the default authentication method type. */ export declare const zAuthMethodAgent: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Describes an available authentication method. * * The `type` field acts as the discriminator in the serialized JSON form. * When no `type` is present, the method is treated as `agent`. */ export declare const zAuthMethod: z.ZodUnion>>; args: z.ZodOptional>; env: z.ZodOptional>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal">; }, z.core.$strip>>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; /** * Metadata about the implementation of the client or agent. * Describes the name and version of an ACP implementation, with an optional * title for UI representation. */ export declare const zImplementation: z.ZodObject<{ name: z.ZodString; title: z.ZodCatch>>; version: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response to the `initialize` method. * * Contains the negotiated protocol version and agent capabilities. * * See protocol docs: [Initialization](https://agentclientprotocol.com/protocol/initialization) */ export declare const zInitializeResponse: z.ZodObject<{ protocolVersion: z.ZodInt; agentCapabilities: z.ZodCatch>>; promptCapabilities: z.ZodCatch>>; audio: z.ZodCatch>>; embeddedContext: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; mcpCapabilities: z.ZodCatch>>; sse: z.ZodCatch>>; acp: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; sessionCapabilities: z.ZodCatch>>>; }, z.core.$strip>>>>; delete: z.ZodCatch>>>; }, z.core.$strip>>>>; additionalDirectories: z.ZodCatch>>>; }, z.core.$strip>>>>; systemPrompt: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; fork: z.ZodCatch>>>; }, z.core.$strip>>>>; resume: z.ZodCatch>>>; }, z.core.$strip>>>>; close: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; auth: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; providers: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; authMethods: z.ZodCatch>>; args: z.ZodOptional>; env: z.ZodOptional>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal">; }, z.core.$strip>>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>]>>>, z.ZodTransform<({ id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; } | ({ id: string; name: string; description?: string | null | undefined; args?: string[] | undefined; env?: Record | undefined; _meta?: Record | null | undefined; } & { type: "terminal"; }))[], ({ id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; } | ({ id: string; name: string; description?: string | null | undefined; args?: string[] | undefined; env?: Record | undefined; _meta?: Record | null | undefined; } & { type: "terminal"; }))[]>>>>>; agentInfo: z.ZodCatch>>; version: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response to the `authenticate` method. */ export declare const zAuthenticateResponse: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Unique identifier for a configurable LLM provider. * * @experimental */ export declare const zProviderId: z.ZodString; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Well-known API protocol identifiers for LLM providers. * * Agents and clients MUST handle unknown protocol identifiers gracefully. * * Protocol names beginning with `_` are free for custom use, like other ACP extension methods. * Protocol names that do not begin with `_` are reserved for the ACP spec. * * @experimental */ export declare const zLlmProtocol: z.ZodUnion, z.ZodLiteral<"openai">, z.ZodLiteral<"azure">, z.ZodLiteral<"vertex">, z.ZodLiteral<"bedrock">, z.ZodString]>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Current effective non-secret routing configuration for a provider. * * @experimental */ export declare const zProviderCurrentConfig: z.ZodObject<{ apiType: z.ZodUnion, z.ZodLiteral<"openai">, z.ZodLiteral<"azure">, z.ZodLiteral<"vertex">, z.ZodLiteral<"bedrock">, z.ZodString]>; baseUrl: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Information about a configurable LLM provider. * * @experimental */ export declare const zProviderInfo: z.ZodObject<{ providerId: z.ZodString; supported: z.ZodType>; required: z.ZodBoolean; current: z.ZodOptional, z.ZodLiteral<"openai">, z.ZodLiteral<"azure">, z.ZodLiteral<"vertex">, z.ZodLiteral<"bedrock">, z.ZodString]>; baseUrl: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Response to `providers/list`. * * @experimental */ export declare const zListProvidersResponse: z.ZodObject<{ providers: z.ZodArray>; required: z.ZodBoolean; current: z.ZodOptional, z.ZodLiteral<"openai">, z.ZodLiteral<"azure">, z.ZodLiteral<"vertex">, z.ZodLiteral<"bedrock">, z.ZodString]>; baseUrl: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Response to `providers/set`. * * @experimental */ export declare const zSetProviderResponse: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Response to `providers/disable`. * * @experimental */ export declare const zDisableProviderResponse: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response to the `logout` method. */ export declare const zLogoutResponse: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Unique identifier for a Session Mode. */ export declare const zSessionModeId: z.ZodString; /** * A mode the agent can operate in. * * See protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes) */ export declare const zSessionMode: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * The set of modes and the one currently active. */ export declare const zSessionModeState: z.ZodObject<{ currentModeId: z.ZodString; availableModes: z.ZodType<{ id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Unique identifier for a session configuration option. */ export declare const zSessionConfigId: z.ZodString; /** * Semantic category for a session configuration option. * * This is intended to help Clients distinguish broadly common selectors (e.g. model selector vs * session mode selector vs thought/reasoning level) for UX purposes (keyboard shortcuts, icons, * placement). It MUST NOT be required for correctness. Clients MUST handle missing or unknown * categories gracefully. * * Category names beginning with `_` are free for custom use, like other ACP extension methods. * Category names that do not begin with `_` are reserved for the ACP spec. */ export declare const zSessionConfigOptionCategory: z.ZodUnion, z.ZodLiteral<"model">, z.ZodLiteral<"model_config">, z.ZodLiteral<"thought_level">, z.ZodString]>; /** * Unique identifier for a session configuration option value. */ export declare const zSessionConfigValueId: z.ZodString; /** * A possible value for a session configuration option. */ export declare const zSessionConfigSelectOption: z.ZodObject<{ value: z.ZodString; name: z.ZodString; description: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Unique identifier for a session configuration option value group. */ export declare const zSessionConfigGroupId: z.ZodString; /** * A group of possible values for a session configuration option. */ export declare const zSessionConfigSelectGroup: z.ZodObject<{ group: z.ZodString; name: z.ZodString; options: z.ZodType<{ value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Possible values for a session configuration option. */ export declare const zSessionConfigSelectOptions: z.ZodUnion>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>, z.ZodArray | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>]>; /** * A single-value selector (dropdown) session configuration option payload. */ export declare const zSessionConfigSelect: z.ZodObject<{ currentValue: z.ZodString; options: z.ZodUnion>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>, z.ZodArray | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>]>; }, z.core.$strip>; /** * A boolean on/off toggle session configuration option payload. */ export declare const zSessionConfigBoolean: z.ZodObject<{ currentValue: z.ZodBoolean; }, z.core.$strip>; /** * A session configuration option selector and its current state. */ export declare const zSessionConfigOption: z.ZodIntersection>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>, z.ZodArray | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; }, z.core.$strip>>, z.ZodIntersection, z.ZodObject<{ type: z.ZodLiteral<"boolean">; }, z.core.$strip>>]>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodCatch>>; category: z.ZodCatch, z.ZodLiteral<"model">, z.ZodLiteral<"model_config">, z.ZodLiteral<"thought_level">, z.ZodString]>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>; /** * Response from creating a new session. * * See protocol docs: [Creating a Session](https://agentclientprotocol.com/protocol/session-setup#creating-a-session) */ export declare const zNewSessionResponse: z.ZodObject<{ sessionId: z.ZodString; modes: z.ZodCatch | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; configOptions: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>, z.ZodArray | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; }, z.core.$strip>>, z.ZodIntersection, z.ZodObject<{ type: z.ZodLiteral<"boolean">; }, z.core.$strip>>]>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodCatch>>; category: z.ZodCatch, z.ZodLiteral<"model">, z.ZodLiteral<"model_config">, z.ZodLiteral<"thought_level">, z.ZodString]>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>, z.ZodTransform<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[]>>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response from loading an existing session. */ export declare const zLoadSessionResponse: z.ZodObject<{ modes: z.ZodCatch | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; configOptions: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>, z.ZodArray | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; }, z.core.$strip>>, z.ZodIntersection, z.ZodObject<{ type: z.ZodLiteral<"boolean">; }, z.core.$strip>>]>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodCatch>>; category: z.ZodCatch, z.ZodLiteral<"model">, z.ZodLiteral<"model_config">, z.ZodLiteral<"thought_level">, z.ZodString]>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>, z.ZodTransform<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[]>>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Information about a session returned by session/list */ export declare const zSessionInfo: z.ZodObject<{ sessionId: z.ZodString; cwd: z.ZodString; additionalDirectories: z.ZodCatch>, z.ZodTransform>>>; title: z.ZodCatch>>; updatedAt: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response from listing sessions. */ export declare const zListSessionsResponse: z.ZodObject<{ sessions: z.ZodType<{ sessionId: string; cwd: string; additionalDirectories?: string[] | undefined; title?: string | null | undefined; updatedAt?: string | null | undefined; _meta?: Record | null | undefined; }[], { sessionId: string; cwd: string; additionalDirectories?: string[] | undefined; title?: string | null | undefined; updatedAt?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ sessionId: string; cwd: string; additionalDirectories?: string[] | undefined; title?: string | null | undefined; updatedAt?: string | null | undefined; _meta?: Record | null | undefined; }[], { sessionId: string; cwd: string; additionalDirectories?: string[] | undefined; title?: string | null | undefined; updatedAt?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; nextCursor: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response from deleting a session. */ export declare const zDeleteSessionResponse: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Response from forking an existing session. * * @experimental */ export declare const zForkSessionResponse: z.ZodObject<{ sessionId: z.ZodString; modes: z.ZodCatch | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; configOptions: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>, z.ZodArray | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; }, z.core.$strip>>, z.ZodIntersection, z.ZodObject<{ type: z.ZodLiteral<"boolean">; }, z.core.$strip>>]>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodCatch>>; category: z.ZodCatch, z.ZodLiteral<"model">, z.ZodLiteral<"model_config">, z.ZodLiteral<"thought_level">, z.ZodString]>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>, z.ZodTransform<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[]>>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response from resuming an existing session. */ export declare const zResumeSessionResponse: z.ZodObject<{ modes: z.ZodCatch | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; configOptions: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>, z.ZodArray | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; }, z.core.$strip>>, z.ZodIntersection, z.ZodObject<{ type: z.ZodLiteral<"boolean">; }, z.core.$strip>>]>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodCatch>>; category: z.ZodCatch, z.ZodLiteral<"model">, z.ZodLiteral<"model_config">, z.ZodLiteral<"thought_level">, z.ZodString]>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>, z.ZodTransform<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[]>>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response from closing a session. */ export declare const zCloseSessionResponse: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response to `session/set_mode` method. */ export declare const zSetSessionModeResponse: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response to `session/set_config_option` method. */ export declare const zSetSessionConfigOptionResponse: z.ZodObject<{ configOptions: z.ZodType<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], z.core.$ZodTypeInternals<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Reasons why an agent stops processing a prompt turn. * * See protocol docs: [Stop Reasons](https://agentclientprotocol.com/protocol/prompt-turn#stop-reasons) */ export declare const zStopReason: z.ZodUnion, z.ZodLiteral<"max_tokens">, z.ZodLiteral<"max_turn_requests">, z.ZodLiteral<"refusal">, z.ZodLiteral<"cancelled">]>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Token usage information for a prompt turn. * * @experimental */ export declare const zUsage: z.ZodObject<{ totalTokens: z.ZodNumber; inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; thoughtTokens: z.ZodCatch>>; cachedReadTokens: z.ZodCatch>>; cachedWriteTokens: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response from processing a user prompt. * * See protocol docs: [Check for Completion](https://agentclientprotocol.com/protocol/prompt-turn#4-check-for-completion) */ export declare const zPromptResponse: z.ZodObject<{ stopReason: z.ZodUnion, z.ZodLiteral<"max_tokens">, z.ZodLiteral<"max_turn_requests">, z.ZodLiteral<"refusal">, z.ZodLiteral<"cancelled">]>; usage: z.ZodCatch>>; cachedReadTokens: z.ZodCatch>>; cachedWriteTokens: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Allows for sending an arbitrary response to an [`ExtRequest`] that is not part of the ACP spec. * Extension methods provide a way to add custom functionality while maintaining * protocol compatibility. * * See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility) */ export declare const zExtResponse: z.ZodUnknown; /** * Predefined error codes for common JSON-RPC and ACP-specific errors. * * These codes follow the JSON-RPC 2.0 specification for standard errors * and use the reserved range (-32000 to -32099) for protocol-specific errors. */ export declare const zErrorCode: z.ZodUnion, z.ZodLiteral<-32600>, z.ZodLiteral<-32601>, z.ZodLiteral<-32602>, z.ZodLiteral<-32603>, z.ZodLiteral<-32800>, z.ZodLiteral<-32000>, z.ZodLiteral<-32002>, z.ZodInt]>; /** * JSON-RPC error object. * * Represents an error that occurred during method execution, following the * JSON-RPC 2.0 error object specification with optional additional data. * * See protocol docs: [JSON-RPC Error Object](https://www.jsonrpc.org/specification#error_object) */ export declare const zError: z.ZodObject<{ code: z.ZodUnion, z.ZodLiteral<-32600>, z.ZodLiteral<-32601>, z.ZodLiteral<-32602>, z.ZodLiteral<-32603>, z.ZodLiteral<-32800>, z.ZodLiteral<-32000>, z.ZodLiteral<-32002>, z.ZodInt]>; message: z.ZodString; data: z.ZodCatch>; }, z.core.$strip>; /** * A JSON-RPC response object. */ export declare const zAgentResponse: z.ZodUnion>; result: z.ZodUnion>>; promptCapabilities: z.ZodCatch>>; audio: z.ZodCatch>>; embeddedContext: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; mcpCapabilities: z.ZodCatch>>; sse: z.ZodCatch>>; acp: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; sessionCapabilities: z.ZodCatch>>>; }, z.core.$strip>>>>; delete: z.ZodCatch>>>; }, z.core.$strip>>>>; additionalDirectories: z.ZodCatch>>>; }, z.core.$strip>>>>; systemPrompt: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; fork: z.ZodCatch>>>; }, z.core.$strip>>>>; resume: z.ZodCatch>>>; }, z.core.$strip>>>>; close: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; auth: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; providers: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; authMethods: z.ZodCatch>>; args: z.ZodOptional>; env: z.ZodOptional>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal">; }, z.core.$strip>>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>]>>>, z.ZodTransform<({ id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; } | ({ id: string; name: string; description?: string | null | undefined; args?: string[] | undefined; env?: Record | undefined; _meta?: Record | null | undefined; } & { type: "terminal"; }))[], ({ id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; } | ({ id: string; name: string; description?: string | null | undefined; args?: string[] | undefined; env?: Record | undefined; _meta?: Record | null | undefined; } & { type: "terminal"; }))[]>>>>>; agentInfo: z.ZodCatch>>; version: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ providers: z.ZodArray>; required: z.ZodBoolean; current: z.ZodOptional, z.ZodLiteral<"openai">, z.ZodLiteral<"azure">, z.ZodLiteral<"vertex">, z.ZodLiteral<"bedrock">, z.ZodString]>; baseUrl: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionId: z.ZodString; modes: z.ZodCatch | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; configOptions: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>, z.ZodArray | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; }, z.core.$strip>>, z.ZodIntersection, z.ZodObject<{ type: z.ZodLiteral<"boolean">; }, z.core.$strip>>]>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodCatch>>; category: z.ZodCatch, z.ZodLiteral<"model">, z.ZodLiteral<"model_config">, z.ZodLiteral<"thought_level">, z.ZodString]>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>, z.ZodTransform<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[]>>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ modes: z.ZodCatch | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; configOptions: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>, z.ZodArray | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; }, z.core.$strip>>, z.ZodIntersection, z.ZodObject<{ type: z.ZodLiteral<"boolean">; }, z.core.$strip>>]>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodCatch>>; category: z.ZodCatch, z.ZodLiteral<"model">, z.ZodLiteral<"model_config">, z.ZodLiteral<"thought_level">, z.ZodString]>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>, z.ZodTransform<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[]>>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessions: z.ZodType<{ sessionId: string; cwd: string; additionalDirectories?: string[] | undefined; title?: string | null | undefined; updatedAt?: string | null | undefined; _meta?: Record | null | undefined; }[], { sessionId: string; cwd: string; additionalDirectories?: string[] | undefined; title?: string | null | undefined; updatedAt?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ sessionId: string; cwd: string; additionalDirectories?: string[] | undefined; title?: string | null | undefined; updatedAt?: string | null | undefined; _meta?: Record | null | undefined; }[], { sessionId: string; cwd: string; additionalDirectories?: string[] | undefined; title?: string | null | undefined; updatedAt?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; nextCursor: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionId: z.ZodString; modes: z.ZodCatch | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; configOptions: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>, z.ZodArray | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; }, z.core.$strip>>, z.ZodIntersection, z.ZodObject<{ type: z.ZodLiteral<"boolean">; }, z.core.$strip>>]>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodCatch>>; category: z.ZodCatch, z.ZodLiteral<"model">, z.ZodLiteral<"model_config">, z.ZodLiteral<"thought_level">, z.ZodString]>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>, z.ZodTransform<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[]>>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ modes: z.ZodCatch | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { id: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; configOptions: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>, z.ZodArray | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[], { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>]>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"select">; }, z.core.$strip>>, z.ZodIntersection, z.ZodObject<{ type: z.ZodLiteral<"boolean">; }, z.core.$strip>>]>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodCatch>>; category: z.ZodCatch, z.ZodLiteral<"model">, z.ZodLiteral<"model_config">, z.ZodLiteral<"thought_level">, z.ZodString]>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>, z.ZodTransform<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[]>>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ configOptions: z.ZodType<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], z.core.$ZodTypeInternals<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ stopReason: z.ZodUnion, z.ZodLiteral<"max_tokens">, z.ZodLiteral<"max_turn_requests">, z.ZodLiteral<"refusal">, z.ZodLiteral<"cancelled">]>; usage: z.ZodCatch>>; cachedReadTokens: z.ZodCatch>>; cachedWriteTokens: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodUnknown]>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodNullable>; error: z.ZodObject<{ code: z.ZodUnion, z.ZodLiteral<-32600>, z.ZodLiteral<-32601>, z.ZodLiteral<-32602>, z.ZodLiteral<-32603>, z.ZodLiteral<-32800>, z.ZodLiteral<-32000>, z.ZodLiteral<-32002>, z.ZodInt]>; message: z.ZodString; data: z.ZodCatch>; }, z.core.$strip>; }, z.core.$strip>]>; /** * Unique identifier for a message within a session. */ export declare const zMessageId: z.ZodString; /** * A streamed item of content */ export declare const zContentChunk: z.ZodObject<{ content: z.ZodUnion, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; messageId: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Represents a tool call that the language model has requested. * * Tool calls are actions that the agent executes on behalf of the language model, * such as reading files, executing code, or fetching data from external sources. * * See protocol docs: [Tool Calls](https://agentclientprotocol.com/protocol/tool-calls) */ export declare const zToolCall: z.ZodObject<{ toolCallId: z.ZodString; title: z.ZodString; name: z.ZodCatch>>; kind: z.ZodCatch, z.ZodLiteral<"edit">, z.ZodLiteral<"delete">, z.ZodLiteral<"move">, z.ZodLiteral<"search">, z.ZodLiteral<"execute">, z.ZodLiteral<"think">, z.ZodLiteral<"fetch">, z.ZodLiteral<"switch_mode">, z.ZodLiteral<"other">]>>>; status: z.ZodCatch, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">]>>>; content: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"content">; }, z.core.$strip>>, z.ZodIntersection>>; newText: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diff">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[], (({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[]>>>>; locations: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>, z.ZodTransform<{ path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[], { path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[]>>>>; rawInput: z.ZodCatch>; rawOutput: z.ZodCatch>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Priority levels for plan entries. * * Used to indicate the relative importance or urgency of different * tasks in the execution plan. * See protocol docs: [Plan Entries](https://agentclientprotocol.com/protocol/agent-plan#plan-entries) */ export declare const zPlanEntryPriority: z.ZodUnion, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>; /** * Status of a plan entry in the execution flow. * * Tracks the lifecycle of each task from planning through completion. * See protocol docs: [Plan Entries](https://agentclientprotocol.com/protocol/agent-plan#plan-entries) */ export declare const zPlanEntryStatus: z.ZodUnion, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>; /** * A single entry in the execution plan. * * Represents a task or goal that the assistant intends to accomplish * as part of fulfilling the user's request. * See protocol docs: [Plan Entries](https://agentclientprotocol.com/protocol/agent-plan#plan-entries) */ export declare const zPlanEntry: z.ZodObject<{ content: z.ZodString; priority: z.ZodUnion, z.ZodLiteral<"medium">, z.ZodLiteral<"low">]>; status: z.ZodUnion, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">]>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * An execution plan for accomplishing complex tasks. * * Plans consist of multiple entries representing individual tasks or goals. * Agents report plans to clients to provide visibility into their execution strategy. * Plans can evolve during execution as the agent discovers new requirements or completes tasks. * * See protocol docs: [Agent Plan](https://agentclientprotocol.com/protocol/agent-plan) */ export declare const zPlan: z.ZodObject<{ entries: z.ZodType<{ content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Unique identifier for a plan within a session. * * @experimental */ export declare const zPlanId: z.ZodString; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * A plan represented as structured entries. * * @experimental */ export declare const zPlanItems: z.ZodObject<{ planId: z.ZodString; entries: z.ZodType<{ content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * A plan represented by a file URI. * * @experimental */ export declare const zPlanFile: z.ZodObject<{ planId: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * A plan represented as raw markdown content. * * @experimental */ export declare const zPlanMarkdown: z.ZodObject<{ planId: z.ZodString; content: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Updated content for a plan. * * @experimental */ export declare const zPlanUpdateContent: z.ZodUnion | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"items">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"markdown">; }, z.core.$strip>>]>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * A content update for a plan identified by ID. * * @experimental */ export declare const zPlanUpdate: z.ZodObject<{ plan: z.ZodUnion | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"items">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"markdown">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Removal notice for a plan identified by ID. * * @experimental */ export declare const zPlanRemoved: z.ZodObject<{ planId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * All text that was typed after the command name is provided as input. */ export declare const zUnstructuredCommandInput: z.ZodObject<{ hint: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * unstructured * * All text that was typed after the command name is provided as input. */ export declare const zAvailableCommandInput: z.ZodObject<{ hint: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Information about a command. */ export declare const zAvailableCommand: z.ZodObject<{ name: z.ZodString; description: z.ZodString; input: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Available commands are ready or have changed */ export declare const zAvailableCommandsUpdate: z.ZodObject<{ availableCommands: z.ZodType<{ name: string; description: string; input?: { hint: string; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; }[], { name: string; description: string; input?: { hint: string; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ name: string; description: string; input?: { hint: string; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; }[], { name: string; description: string; input?: { hint: string; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * The current mode of the session has changed * * See protocol docs: [Session Modes](https://agentclientprotocol.com/protocol/session-modes) */ export declare const zCurrentModeUpdate: z.ZodObject<{ currentModeId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Session configuration options have been updated. */ export declare const zConfigOptionUpdate: z.ZodObject<{ configOptions: z.ZodType<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], z.core.$ZodTypeInternals<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Update to session metadata. All fields are optional to support partial updates. * * Agents send this notification to update session information like title or custom metadata. * This allows clients to display dynamic session names and track session state changes. */ export declare const zSessionInfoUpdate: z.ZodObject<{ title: z.ZodCatch>>; updatedAt: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Cost information for a session. */ export declare const zCost: z.ZodObject<{ amount: z.ZodNumber; currency: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Context window and cost update for a session. */ export declare const zUsageUpdate: z.ZodObject<{ used: z.ZodNumber; size: z.ZodNumber; cost: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Severity hint for a session notice. */ export declare const zNoticeSeverity: z.ZodUnion, z.ZodLiteral<"warning">, z.ZodLiteral<"error">, z.ZodString]>; /** * Fire-and-forget information for the user. * * Notices are live events rather than session history. Agents must not rely on * a notice being received, displayed, or seen by the user. * Agents MUST only send notices when the Client advertised * [`ClientSessionCapabilities::notices`]. Otherwise, Agents may use an agent * message when the information should still be surfaced to the user. * * See RFD: [Session Notices](https://agentclientprotocol.com/rfds/session-notices) */ export declare const zNotice: z.ZodObject<{ severity: z.ZodUnion, z.ZodLiteral<"warning">, z.ZodLiteral<"error">, z.ZodString]>; title: z.ZodString; description: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Unique identifier for a context compaction within a session. */ export declare const zCompactionId: z.ZodString; /** * Lifecycle state of a context compaction. */ export declare const zCompactionStatus: z.ZodUnion, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">, z.ZodLiteral<"cancelled">, z.ZodString]>; /** * A context compaction upsert. The first notification fixes the compaction's * timeline position. Later updates with the same ID patch that entity in place. * Agents MUST only send this update when the Client advertised * [`ClientSessionCapabilities::compaction`]. * * `summary`, `error`, and `_meta` have patch semantics: omission leaves the * stored value unchanged, `null` clears it, and a concrete value replaces it. * `summary: []` also clears the summary. */ export declare const zCompactionUpdate: z.ZodObject<{ compactionId: z.ZodString; status: z.ZodUnion, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">, z.ZodLiteral<"cancelled">, z.ZodString]>; summary: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }))[], (({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }))[]>>>>>; error: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * A content block appended to a compaction's summary. A first-seen ID creates * an in-progress compaction. Chunks append in receive order. * Agents MUST only send this update when the Client advertised * [`ClientSessionCapabilities::compaction`]. */ export declare const zCompactionSummaryChunk: z.ZodObject<{ compactionId: z.ZodString; content: z.ZodUnion, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Capability to cancel work in a subagent session without ending that session. * * Supplying `{}` advertises support; an omitted or `null` `cancel` does not. * * @experimental */ export declare const zSessionCancelCapabilities: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Client-initiated session mutations permitted for a specific subagent session. * * A mutation requires an explicit per-child capability; support for the method * on ordinary sessions does not grant support on a child. * * @experimental */ export declare const zSubagentSessionCapabilities: z.ZodObject<{ cancel: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Foreground work is in progress. */ export declare const zRunningStateUpdate: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Details of a failure that ended a child's foreground work. * * @experimental */ export declare const zErrorStopReason: z.ZodObject<{ error: z.ZodCatch, z.ZodLiteral<-32600>, z.ZodLiteral<-32601>, z.ZodLiteral<-32602>, z.ZodLiteral<-32603>, z.ZodLiteral<-32800>, z.ZodLiteral<-32000>, z.ZodLiteral<-32002>, z.ZodInt]>; message: z.ZodString; data: z.ZodCatch>; }, z.core.$strip>>>>; }, z.core.$strip>; /** * The child is ready to process another prompt. * * An omitted, `null`, or malformed `stopReason` means not reported. * * Custom variants (unknown `stopReason` values) keep their extra * properties exactly as received; unlike known variants, those keys * bypass lenient-field salvage and arrive unvalidated. */ export declare const zIdleStateUpdate: z.ZodPreprocess | null | undefined; } | null | undefined; _meta?: Record | null | undefined; stopReason?: string | null | undefined; }, ({ stopReason: "end_turn"; } | { stopReason: "max_tokens"; } | { stopReason: "max_turn_requests"; } | { stopReason: "refusal"; } | { stopReason: "cancelled"; } | ({ error?: { code: number; message: string; data?: unknown; } | null | undefined; } & { stopReason: "error"; }) | { stopReason: string; } | { stopReason?: null | undefined; }) & { usage?: { totalTokens: number; inputTokens: number; outputTokens: number; thoughtTokens?: number | null | undefined; cachedReadTokens?: number | null | undefined; cachedWriteTokens?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; stopReason?: string | null | undefined; }, z.core.$ZodTypeInternals<({ stopReason: "end_turn"; } | { stopReason: "max_tokens"; } | { stopReason: "max_turn_requests"; } | { stopReason: "refusal"; } | { stopReason: "cancelled"; } | ({ error?: { code: number; message: string; data?: unknown; } | null | undefined; } & { stopReason: "error"; }) | { stopReason: string; } | { stopReason?: null | undefined; }) & { usage?: { totalTokens: number; inputTokens: number; outputTokens: number; thoughtTokens?: number | null | undefined; cachedReadTokens?: number | null | undefined; cachedWriteTokens?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; stopReason?: string | null | undefined; }, ({ stopReason: "end_turn"; } | { stopReason: "max_tokens"; } | { stopReason: "max_turn_requests"; } | { stopReason: "refusal"; } | { stopReason: "cancelled"; } | ({ error?: { code: number; message: string; data?: unknown; } | null | undefined; } & { stopReason: "error"; }) | { stopReason: string; } | { stopReason?: null | undefined; }) & { usage?: { totalTokens: number; inputTokens: number; outputTokens: number; thoughtTokens?: number | null | undefined; cachedReadTokens?: number | null | undefined; cachedWriteTokens?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; stopReason?: string | null | undefined; }>>, unknown>; /** * Foreground work is blocked on user action. */ export declare const zRequiresActionStateUpdate: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * The Agent cannot currently determine foreground activity. * * Report this when activity becomes unobservable, not merely because the child * has been quiet. The Client MUST stop presenting the previous state as confirmed * current activity, but may retain it as last known. A later state replaces this * snapshot normally. * * This is not a task outcome or session closure. It does not cancel work, resolve * pending requests, or revoke capabilities; capabilities are updated separately. * * @experimental */ export declare const zUnknownStateUpdate: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Current foreground-work state of a reusable child session. * * Each update is a whole-object snapshot. Idle does not terminate the child; * the parent can message it again, transitioning it back to running. * Background activity may still emit other session updates while idle. * * @experimental * * Custom variants (unknown `state` values) keep their extra * properties exactly as received; unlike known variants, those keys * bypass lenient-field salvage and arrive unvalidated. */ export declare const zStateUpdate: z.ZodType<({ _meta?: Record | null | undefined; } & { state: "running"; }) | ((({ stopReason: "end_turn"; } | { stopReason: "max_tokens"; } | { stopReason: "max_turn_requests"; } | { stopReason: "refusal"; } | { stopReason: "cancelled"; } | ({ error?: { code: number; message: string; data?: unknown; } | null | undefined; } & { stopReason: "error"; }) | { stopReason: string; } | { stopReason?: null | undefined; }) & { usage?: { totalTokens: number; inputTokens: number; outputTokens: number; thoughtTokens?: number | null | undefined; cachedReadTokens?: number | null | undefined; cachedWriteTokens?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; stopReason?: string | null | undefined; }) & { state: "idle"; }) | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }, ({ _meta?: Record | null | undefined; } & { state: "running"; }) | { state: "idle"; } | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }, z.core.$ZodTypeInternals<({ _meta?: Record | null | undefined; } & { state: "running"; }) | ((({ stopReason: "end_turn"; } | { stopReason: "max_tokens"; } | { stopReason: "max_turn_requests"; } | { stopReason: "refusal"; } | { stopReason: "cancelled"; } | ({ error?: { code: number; message: string; data?: unknown; } | null | undefined; } & { stopReason: "error"; }) | { stopReason: string; } | { stopReason?: null | undefined; }) & { usage?: { totalTokens: number; inputTokens: number; outputTokens: number; thoughtTokens?: number | null | undefined; cachedReadTokens?: number | null | undefined; cachedWriteTokens?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; stopReason?: string | null | undefined; }) & { state: "idle"; }) | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }, ({ _meta?: Record | null | undefined; } & { state: "running"; }) | { state: "idle"; } | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }>>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Notification that the enclosing parent session created and owns a child session. * * Later updates modify the existing association's metadata, not its ownership. * * Sent on the immediate parent session. The first update for an unknown * [`SubagentUpdate::session_id`] announces the child and MUST be sent * before any live child traffic or live message naming the child as sender * or recipient. Parents may message and reuse an announced child across * multiple operations. * Child events are delivered automatically on the same connection; no child * load, resume, or subscription is needed. * * Only the subagent session ID is required. Omitted patch fields keep their * previous values; `null` clears them. Clearing capabilities disables child * mutations. Clearing state leaves current activity unset/unconfirmed: it does * not imply idle, stop work, or create an `unknown` state snapshot. A concrete * state replaces the entire previous state object, not the session. * The title and description provide the parent's display metadata for the * child. They do not replace the content of individual messages or operations. * * @experimental */ export declare const zSubagentUpdate: z.ZodObject<{ sessionId: z.ZodString; title: z.ZodCatch>>; description: z.ZodCatch>>; capabilities: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; state: z.ZodCatch | null | undefined; } & { state: "running"; }) | ((({ stopReason: "end_turn"; } | { stopReason: "max_tokens"; } | { stopReason: "max_turn_requests"; } | { stopReason: "refusal"; } | { stopReason: "cancelled"; } | ({ error?: { code: number; message: string; data?: unknown; } | null | undefined; } & { stopReason: "error"; }) | { stopReason: string; } | { stopReason?: null | undefined; }) & { usage?: { totalTokens: number; inputTokens: number; outputTokens: number; thoughtTokens?: number | null | undefined; cachedReadTokens?: number | null | undefined; cachedWriteTokens?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; stopReason?: string | null | undefined; }) & { state: "idle"; }) | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }, ({ _meta?: Record | null | undefined; } & { state: "running"; }) | { state: "idle"; } | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }, z.core.$ZodTypeInternals<({ _meta?: Record | null | undefined; } & { state: "running"; }) | ((({ stopReason: "end_turn"; } | { stopReason: "max_tokens"; } | { stopReason: "max_turn_requests"; } | { stopReason: "refusal"; } | { stopReason: "cancelled"; } | ({ error?: { code: number; message: string; data?: unknown; } | null | undefined; } & { stopReason: "error"; }) | { stopReason: string; } | { stopReason?: null | undefined; }) & { usage?: { totalTokens: number; inputTokens: number; outputTokens: number; thoughtTokens?: number | null | undefined; cachedReadTokens?: number | null | undefined; cachedWriteTokens?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; stopReason?: string | null | undefined; }) & { state: "idle"; }) | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }, ({ _meta?: Record | null | undefined; } & { state: "running"; }) | { state: "idle"; } | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }>>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * An upsert for an inter-session message. * * @experimental */ export declare const zSessionMessage: z.ZodObject<{ messageId: z.ZodString; senderSessionId: z.ZodCatch>>; recipientSessionId: z.ZodCatch>>; content: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }))[], (({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }))[]>>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * A streamed content block of an inter-session message. * * @experimental */ export declare const zSessionMessageChunk: z.ZodObject<{ messageId: z.ZodString; senderSessionId: z.ZodCatch>>; recipientSessionId: z.ZodCatch>>; content: z.ZodUnion, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Different types of updates that can be sent during session processing. * * These updates provide real-time feedback about the agent's progress. * * See protocol docs: [Agent Reports Output](https://agentclientprotocol.com/protocol/prompt-turn#3-agent-reports-output) */ export declare const zSessionUpdate: z.ZodUnion, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; messageId: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"user_message_chunk">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; messageId: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"agent_message_chunk">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; messageId: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"agent_thought_chunk">; }, z.core.$strip>>, z.ZodIntersection>>; kind: z.ZodCatch, z.ZodLiteral<"edit">, z.ZodLiteral<"delete">, z.ZodLiteral<"move">, z.ZodLiteral<"search">, z.ZodLiteral<"execute">, z.ZodLiteral<"think">, z.ZodLiteral<"fetch">, z.ZodLiteral<"switch_mode">, z.ZodLiteral<"other">]>>>; status: z.ZodCatch, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">]>>>; content: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"content">; }, z.core.$strip>>, z.ZodIntersection>>; newText: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diff">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[], (({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[]>>>>; locations: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>, z.ZodTransform<{ path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[], { path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[]>>>>; rawInput: z.ZodCatch>; rawOutput: z.ZodCatch>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"tool_call">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"edit">, z.ZodLiteral<"delete">, z.ZodLiteral<"move">, z.ZodLiteral<"search">, z.ZodLiteral<"execute">, z.ZodLiteral<"think">, z.ZodLiteral<"fetch">, z.ZodLiteral<"switch_mode">, z.ZodLiteral<"other">]>>>>; status: z.ZodCatch, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">]>>>>; title: z.ZodCatch>>; name: z.ZodCatch>>; content: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"content">; }, z.core.$strip>>, z.ZodIntersection>>; newText: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diff">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[], (({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[]>>>>>; locations: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>, z.ZodTransform<{ path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[], { path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[]>>>>>; rawInput: z.ZodCatch>; rawOutput: z.ZodCatch>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"tool_call_update">; }, z.core.$strip>>, z.ZodIntersection | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"plan">; }, z.core.$strip>>, z.ZodIntersection | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"items">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"markdown">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"plan_update">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"plan_removed">; }, z.core.$strip>>, z.ZodIntersection | null | undefined; } | null | undefined; _meta?: Record | null | undefined; }[], { name: string; description: string; input?: { hint: string; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ name: string; description: string; input?: { hint: string; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; }[], { name: string; description: string; input?: { hint: string; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"available_commands_update">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"current_mode_update">; }, z.core.$strip>>, z.ZodIntersection | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], z.core.$ZodTypeInternals<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"config_option_update">; }, z.core.$strip>>, z.ZodIntersection>>; updatedAt: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"session_info_update">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"usage_update">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"warning">, z.ZodLiteral<"error">, z.ZodString]>; title: z.ZodString; description: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"notice">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">, z.ZodLiteral<"cancelled">, z.ZodString]>; summary: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }))[], (({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }))[]>>>>>; error: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"compaction_update">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"compaction_summary_chunk">; }, z.core.$strip>>, z.ZodIntersection>>; description: z.ZodCatch>>; capabilities: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; state: z.ZodCatch | null | undefined; } & { state: "running"; }) | ((({ stopReason: "end_turn"; } | { stopReason: "max_tokens"; } | { stopReason: "max_turn_requests"; } | { stopReason: "refusal"; } | { stopReason: "cancelled"; } | ({ error?: { code: number; message: string; data?: unknown; } | null | undefined; } & { stopReason: "error"; }) | { stopReason: string; } | { stopReason?: null | undefined; }) & { usage?: { totalTokens: number; inputTokens: number; outputTokens: number; thoughtTokens?: number | null | undefined; cachedReadTokens?: number | null | undefined; cachedWriteTokens?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; stopReason?: string | null | undefined; }) & { state: "idle"; }) | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }, ({ _meta?: Record | null | undefined; } & { state: "running"; }) | { state: "idle"; } | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }, z.core.$ZodTypeInternals<({ _meta?: Record | null | undefined; } & { state: "running"; }) | ((({ stopReason: "end_turn"; } | { stopReason: "max_tokens"; } | { stopReason: "max_turn_requests"; } | { stopReason: "refusal"; } | { stopReason: "cancelled"; } | ({ error?: { code: number; message: string; data?: unknown; } | null | undefined; } & { stopReason: "error"; }) | { stopReason: string; } | { stopReason?: null | undefined; }) & { usage?: { totalTokens: number; inputTokens: number; outputTokens: number; thoughtTokens?: number | null | undefined; cachedReadTokens?: number | null | undefined; cachedWriteTokens?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; stopReason?: string | null | undefined; }) & { state: "idle"; }) | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }, ({ _meta?: Record | null | undefined; } & { state: "running"; }) | { state: "idle"; } | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }>>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"subagent_update">; }, z.core.$strip>>, z.ZodIntersection>>; recipientSessionId: z.ZodCatch>>; content: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }))[], (({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }))[]>>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"session_message">; }, z.core.$strip>>, z.ZodIntersection>>; recipientSessionId: z.ZodCatch>>; content: z.ZodUnion, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"session_message_chunk">; }, z.core.$strip>>]>; /** * Notification containing a session update from the agent. * * Used to stream real-time progress and results during prompt processing. * * See protocol docs: [Agent Reports Output](https://agentclientprotocol.com/protocol/prompt-turn#3-agent-reports-output) */ export declare const zSessionNotification: z.ZodObject<{ sessionId: z.ZodString; update: z.ZodUnion, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; messageId: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"user_message_chunk">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; messageId: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"agent_message_chunk">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; messageId: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"agent_thought_chunk">; }, z.core.$strip>>, z.ZodIntersection>>; kind: z.ZodCatch, z.ZodLiteral<"edit">, z.ZodLiteral<"delete">, z.ZodLiteral<"move">, z.ZodLiteral<"search">, z.ZodLiteral<"execute">, z.ZodLiteral<"think">, z.ZodLiteral<"fetch">, z.ZodLiteral<"switch_mode">, z.ZodLiteral<"other">]>>>; status: z.ZodCatch, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">]>>>; content: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"content">; }, z.core.$strip>>, z.ZodIntersection>>; newText: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diff">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[], (({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[]>>>>; locations: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>, z.ZodTransform<{ path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[], { path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[]>>>>; rawInput: z.ZodCatch>; rawOutput: z.ZodCatch>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"tool_call">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"edit">, z.ZodLiteral<"delete">, z.ZodLiteral<"move">, z.ZodLiteral<"search">, z.ZodLiteral<"execute">, z.ZodLiteral<"think">, z.ZodLiteral<"fetch">, z.ZodLiteral<"switch_mode">, z.ZodLiteral<"other">]>>>>; status: z.ZodCatch, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">]>>>>; title: z.ZodCatch>>; name: z.ZodCatch>>; content: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"content">; }, z.core.$strip>>, z.ZodIntersection>>; newText: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diff">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[], (({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[]>>>>>; locations: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>, z.ZodTransform<{ path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[], { path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[]>>>>>; rawInput: z.ZodCatch>; rawOutput: z.ZodCatch>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"tool_call_update">; }, z.core.$strip>>, z.ZodIntersection | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"plan">; }, z.core.$strip>>, z.ZodIntersection | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"items">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"markdown">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"plan_update">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"plan_removed">; }, z.core.$strip>>, z.ZodIntersection | null | undefined; } | null | undefined; _meta?: Record | null | undefined; }[], { name: string; description: string; input?: { hint: string; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ name: string; description: string; input?: { hint: string; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; }[], { name: string; description: string; input?: { hint: string; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"available_commands_update">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"current_mode_update">; }, z.core.$strip>>, z.ZodIntersection | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], z.core.$ZodTypeInternals<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"config_option_update">; }, z.core.$strip>>, z.ZodIntersection>>; updatedAt: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"session_info_update">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"usage_update">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"warning">, z.ZodLiteral<"error">, z.ZodString]>; title: z.ZodString; description: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"notice">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">, z.ZodLiteral<"cancelled">, z.ZodString]>; summary: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }))[], (({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }))[]>>>>>; error: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"compaction_update">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"compaction_summary_chunk">; }, z.core.$strip>>, z.ZodIntersection>>; description: z.ZodCatch>>; capabilities: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; state: z.ZodCatch | null | undefined; } & { state: "running"; }) | ((({ stopReason: "end_turn"; } | { stopReason: "max_tokens"; } | { stopReason: "max_turn_requests"; } | { stopReason: "refusal"; } | { stopReason: "cancelled"; } | ({ error?: { code: number; message: string; data?: unknown; } | null | undefined; } & { stopReason: "error"; }) | { stopReason: string; } | { stopReason?: null | undefined; }) & { usage?: { totalTokens: number; inputTokens: number; outputTokens: number; thoughtTokens?: number | null | undefined; cachedReadTokens?: number | null | undefined; cachedWriteTokens?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; stopReason?: string | null | undefined; }) & { state: "idle"; }) | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }, ({ _meta?: Record | null | undefined; } & { state: "running"; }) | { state: "idle"; } | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }, z.core.$ZodTypeInternals<({ _meta?: Record | null | undefined; } & { state: "running"; }) | ((({ stopReason: "end_turn"; } | { stopReason: "max_tokens"; } | { stopReason: "max_turn_requests"; } | { stopReason: "refusal"; } | { stopReason: "cancelled"; } | ({ error?: { code: number; message: string; data?: unknown; } | null | undefined; } & { stopReason: "error"; }) | { stopReason: string; } | { stopReason?: null | undefined; }) & { usage?: { totalTokens: number; inputTokens: number; outputTokens: number; thoughtTokens?: number | null | undefined; cachedReadTokens?: number | null | undefined; cachedWriteTokens?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; stopReason?: string | null | undefined; }) & { state: "idle"; }) | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }, ({ _meta?: Record | null | undefined; } & { state: "running"; }) | { state: "idle"; } | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }>>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"subagent_update">; }, z.core.$strip>>, z.ZodIntersection>>; recipientSessionId: z.ZodCatch>>; content: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }))[], (({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }))[]>>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"session_message">; }, z.core.$strip>>, z.ZodIntersection>>; recipientSessionId: z.ZodCatch>>; content: z.ZodUnion, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"session_message_chunk">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Notification sent by the agent when a URL-based elicitation is complete. */ export declare const zCompleteElicitationNotification: z.ZodObject<{ elicitationId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Allows the Agent to send an arbitrary notification that is not part of the ACP spec. * Extension notifications provide a way to send one-way messages for custom functionality * while maintaining protocol compatibility. * * See protocol docs: [Extensibility](https://agentclientprotocol.com/protocol/extensibility) */ export declare const zExtNotification: z.ZodUnknown; /** * A JSON-RPC notification object. */ export declare const zAgentNotification: z.ZodObject<{ method: z.ZodString; params: z.ZodOptional, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; messageId: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"user_message_chunk">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; messageId: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"agent_message_chunk">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; messageId: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"agent_thought_chunk">; }, z.core.$strip>>, z.ZodIntersection>>; kind: z.ZodCatch, z.ZodLiteral<"edit">, z.ZodLiteral<"delete">, z.ZodLiteral<"move">, z.ZodLiteral<"search">, z.ZodLiteral<"execute">, z.ZodLiteral<"think">, z.ZodLiteral<"fetch">, z.ZodLiteral<"switch_mode">, z.ZodLiteral<"other">]>>>; status: z.ZodCatch, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">]>>>; content: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"content">; }, z.core.$strip>>, z.ZodIntersection>>; newText: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diff">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[], (({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[]>>>>; locations: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>, z.ZodTransform<{ path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[], { path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[]>>>>; rawInput: z.ZodCatch>; rawOutput: z.ZodCatch>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"tool_call">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"edit">, z.ZodLiteral<"delete">, z.ZodLiteral<"move">, z.ZodLiteral<"search">, z.ZodLiteral<"execute">, z.ZodLiteral<"think">, z.ZodLiteral<"fetch">, z.ZodLiteral<"switch_mode">, z.ZodLiteral<"other">]>>>>; status: z.ZodCatch, z.ZodLiteral<"in_progress">, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">]>>>>; title: z.ZodCatch>>; name: z.ZodCatch>>; content: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"content">; }, z.core.$strip>>, z.ZodIntersection>>; newText: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"diff">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"terminal">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[], (({ content: ({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }); _meta?: Record | null | undefined; } & { type: "content"; }) | ({ path: string; newText: string; oldText?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "diff"; }) | ({ terminalId: string; _meta?: Record | null | undefined; } & { type: "terminal"; }))[]>>>>>; locations: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>, z.ZodTransform<{ path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[], { path: string; line?: number | null | undefined; _meta?: Record | null | undefined; }[]>>>>>; rawInput: z.ZodCatch>; rawOutput: z.ZodCatch>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"tool_call_update">; }, z.core.$strip>>, z.ZodIntersection | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"plan">; }, z.core.$strip>>, z.ZodIntersection | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[], { content: string; priority: "high" | "medium" | "low"; status: "pending" | "in_progress" | "completed"; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"items">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"file">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"markdown">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"plan_update">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"plan_removed">; }, z.core.$strip>>, z.ZodIntersection | null | undefined; } | null | undefined; _meta?: Record | null | undefined; }[], { name: string; description: string; input?: { hint: string; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; }[], z.core.$ZodTypeInternals<{ name: string; description: string; input?: { hint: string; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; }[], { name: string; description: string; input?: { hint: string; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; }[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"available_commands_update">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"current_mode_update">; }, z.core.$strip>>, z.ZodIntersection | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], z.core.$ZodTypeInternals<((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[], ((({ currentValue: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[] | { group: string; name: string; options: { value: string; name: string; description?: string | null | undefined; _meta?: Record | null | undefined; }[]; _meta?: Record | null | undefined; }[]; } & { type: "select"; }) | ({ currentValue: boolean; } & { type: "boolean"; })) & { id: string; name: string; description?: string | null | undefined; category?: string | null | undefined; _meta?: Record | null | undefined; })[]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"config_option_update">; }, z.core.$strip>>, z.ZodIntersection>>; updatedAt: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"session_info_update">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"usage_update">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"warning">, z.ZodLiteral<"error">, z.ZodString]>; title: z.ZodString; description: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"notice">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"completed">, z.ZodLiteral<"failed">, z.ZodLiteral<"cancelled">, z.ZodString]>; summary: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }))[], (({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }))[]>>>>>; error: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"compaction_update">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"compaction_summary_chunk">; }, z.core.$strip>>, z.ZodIntersection>>; description: z.ZodCatch>>; capabilities: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; state: z.ZodCatch | null | undefined; } & { state: "running"; }) | ((({ stopReason: "end_turn"; } | { stopReason: "max_tokens"; } | { stopReason: "max_turn_requests"; } | { stopReason: "refusal"; } | { stopReason: "cancelled"; } | ({ error?: { code: number; message: string; data?: unknown; } | null | undefined; } & { stopReason: "error"; }) | { stopReason: string; } | { stopReason?: null | undefined; }) & { usage?: { totalTokens: number; inputTokens: number; outputTokens: number; thoughtTokens?: number | null | undefined; cachedReadTokens?: number | null | undefined; cachedWriteTokens?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; stopReason?: string | null | undefined; }) & { state: "idle"; }) | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }, ({ _meta?: Record | null | undefined; } & { state: "running"; }) | { state: "idle"; } | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }, z.core.$ZodTypeInternals<({ _meta?: Record | null | undefined; } & { state: "running"; }) | ((({ stopReason: "end_turn"; } | { stopReason: "max_tokens"; } | { stopReason: "max_turn_requests"; } | { stopReason: "refusal"; } | { stopReason: "cancelled"; } | ({ error?: { code: number; message: string; data?: unknown; } | null | undefined; } & { stopReason: "error"; }) | { stopReason: string; } | { stopReason?: null | undefined; }) & { usage?: { totalTokens: number; inputTokens: number; outputTokens: number; thoughtTokens?: number | null | undefined; cachedReadTokens?: number | null | undefined; cachedWriteTokens?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; stopReason?: string | null | undefined; }) & { state: "idle"; }) | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }, ({ _meta?: Record | null | undefined; } & { state: "running"; }) | { state: "idle"; } | ({ _meta?: Record | null | undefined; } & { state: "requires_action"; }) | ({ _meta?: Record | null | undefined; } & { state: "unknown"; }) | { state: string; }>>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"subagent_update">; }, z.core.$strip>>, z.ZodIntersection>>; recipientSessionId: z.ZodCatch>>; content: z.ZodCatch, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>>, z.ZodTransform<(({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }))[], (({ text: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "text"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; uri?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "image"; }) | ({ data: string; mimeType: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "audio"; }) | ({ name: string; uri: string; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; description?: string | null | undefined; mimeType?: string | null | undefined; size?: number | null | undefined; title?: string | null | undefined; _meta?: Record | null | undefined; } & { type: "resource_link"; }) | ({ resource: { text: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; } | { blob: string; uri: string; mimeType?: string | null | undefined; _meta?: Record | null | undefined; }; annotations?: { audience?: ("assistant" | "user")[] | null | undefined; lastModified?: string | null | undefined; priority?: number | null | undefined; _meta?: Record | null | undefined; } | null | undefined; _meta?: Record | null | undefined; } & { type: "resource"; }))[]>>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"session_message">; }, z.core.$strip>>, z.ZodIntersection>>; recipientSessionId: z.ZodCatch>>; content: z.ZodUnion, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionUpdate: z.ZodLiteral<"session_message_chunk">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ elicitationId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodUnknown]>>>; }, z.core.$strip>; /** * File system capabilities that a client may support. * * See protocol docs: [FileSystem](https://agentclientprotocol.com/protocol/initialization#filesystem) */ export declare const zFileSystemCapabilities: z.ZodObject<{ readTextFile: z.ZodCatch>>; writeTextFile: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Client support for ID-addressed context compaction updates. */ export declare const zCompactionCapabilities: z.ZodRecord; /** * Capabilities for boolean session configuration options. * * Supplying `{}` means the client supports boolean session configuration options. */ export declare const zBooleanConfigOptionCapabilities: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Session configuration option capabilities supported by the client. */ export declare const zSessionConfigOptionsCapabilities: z.ZodObject<{ boolean: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Client support for presenting live notices to the user. */ export declare const zNoticeCapabilities: z.ZodRecord; /** * Session-related capabilities supported by the client. */ export declare const zClientSessionCapabilities: z.ZodObject<{ compaction: z.ZodCatch>>>; configOptions: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; notices: z.ZodCatch>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Capability marker for exposing reusable child sessions as restricted ACP sessions. * * Supplying `{}` advertises support for child association and state updates, * session-directed messages, and restricted-session semantics. The client * must advertise this capability before the agent sends subagent updates or * session-directed messages. * * @experimental */ export declare const zSubagentCapabilities: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Capabilities for receiving `plan_update` and `plan_removed` session updates. * * @experimental */ export declare const zPlanCapabilities: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Authentication capabilities supported by the client. * * Advertised during initialization to inform the agent which authentication * method types the client can handle. This governs opt-in types that require * additional client-side support. */ export declare const zAuthCapabilities: z.ZodObject<{ terminal: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Form-based elicitation capabilities. * * Supplying `{}` means the client supports form-based elicitation. */ export declare const zElicitationFormCapabilities: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * URL-based elicitation capabilities. * * Supplying `{}` means the client supports URL-based elicitation. */ export declare const zElicitationUrlCapabilities: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Elicitation capabilities supported by the client. */ export declare const zElicitationCapabilities: z.ZodObject<{ form: z.ZodCatch>>>; }, z.core.$strip>>>>; url: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Capabilities supported by the client. * * Advertised during initialization to inform the agent about * available features and methods. * * See protocol docs: [Client Capabilities](https://agentclientprotocol.com/protocol/initialization#client-capabilities) */ export declare const zClientCapabilities: z.ZodObject<{ fs: z.ZodCatch>>; writeTextFile: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; terminal: z.ZodCatch>>; session: z.ZodCatch>>>; configOptions: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; notices: z.ZodCatch>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; subagents: z.ZodCatch>>>; }, z.core.$strip>>>>; plan: z.ZodCatch>>>; }, z.core.$strip>>>>; auth: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; elicitation: z.ZodCatch>>>; }, z.core.$strip>>>>; url: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request parameters for the initialize method. * * Sent by the client to establish connection and negotiate capabilities. * * See protocol docs: [Initialization](https://agentclientprotocol.com/protocol/initialization) */ export declare const zInitializeRequest: z.ZodObject<{ protocolVersion: z.ZodInt; clientCapabilities: z.ZodCatch>>; writeTextFile: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; terminal: z.ZodCatch>>; session: z.ZodCatch>>>; configOptions: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; notices: z.ZodCatch>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; subagents: z.ZodCatch>>>; }, z.core.$strip>>>>; plan: z.ZodCatch>>>; }, z.core.$strip>>>>; auth: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; elicitation: z.ZodCatch>>>; }, z.core.$strip>>>>; url: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; clientInfo: z.ZodCatch>>; version: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request parameters for the authenticate method. * * Specifies which authentication method to use. */ export declare const zAuthenticateRequest: z.ZodObject<{ methodId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Request parameters for `providers/list`. * * @experimental */ export declare const zListProvidersRequest: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Request parameters for `providers/set`. * * Replaces the full configuration for one provider ID. * * @experimental */ export declare const zSetProviderRequest: z.ZodObject<{ providerId: z.ZodString; apiType: z.ZodUnion, z.ZodLiteral<"openai">, z.ZodLiteral<"azure">, z.ZodLiteral<"vertex">, z.ZodLiteral<"bedrock">, z.ZodString]>; baseUrl: z.ZodString; headers: z.ZodOptional>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Request parameters for `providers/disable`. * * @experimental */ export declare const zDisableProviderRequest: z.ZodObject<{ providerId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request parameters for the logout method. * * Terminates the current authenticated session. */ export declare const zLogoutRequest: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * An HTTP header to set when making requests to the MCP server. */ export declare const zHttpHeader: z.ZodObject<{ name: z.ZodString; value: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * HTTP transport configuration for MCP. */ export declare const zMcpServerHttp: z.ZodObject<{ name: z.ZodString; url: z.ZodString; headers: z.ZodArray>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * SSE transport configuration for MCP. */ export declare const zMcpServerSse: z.ZodObject<{ name: z.ZodString; url: z.ZodString; headers: z.ZodArray>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * ACP transport configuration for MCP. * * The MCP server is provided by an ACP component and communicates over the ACP channel * using `mcp/message`. * * @experimental */ export declare const zMcpServerAcp: z.ZodObject<{ name: z.ZodString; serverId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Stdio transport configuration for MCP. */ export declare const zMcpServerStdio: z.ZodObject<{ name: z.ZodString; command: z.ZodString; args: z.ZodArray; env: z.ZodArray>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Configuration for connecting to an MCP (Model Context Protocol) server. * * MCP servers provide tools and context that the agent can use when * processing prompts. * * See protocol docs: [MCP Servers](https://agentclientprotocol.com/protocol/session-setup#mcp-servers) */ export declare const zMcpServer: z.ZodUnion>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"acp">; }, z.core.$strip>>, z.ZodObject<{ name: z.ZodString; command: z.ZodString; args: z.ZodArray; env: z.ZodArray>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * How the Agent combines a client-provided system prompt with its own instructions. * * Unknown modes parse as [`SystemPromptMode::Other`] so they can be stored, * proxied, or forwarded. An Agent MUST return an error for a mode it does not * support rather than treating it as `append` or `override`. * * @experimental */ export declare const zSystemPromptMode: z.ZodUnion, z.ZodLiteral<"override">, z.ZodString]>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Client-provided system-level instructions for a session. * * Clients MUST only send this when the Agent advertises * `sessionCapabilities.systemPrompt`. Agents that cannot apply it, for example * because of an unadvertised mode or an unsupported content block type, MUST * return an error instead of creating, loading, resuming, or forking the * session. * * @experimental */ export declare const zSystemPrompt: z.ZodObject<{ mode: z.ZodUnion, z.ZodLiteral<"override">, z.ZodString]>; content: z.ZodArray, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request parameters for creating a new session. * * See protocol docs: [Creating a Session](https://agentclientprotocol.com/protocol/session-setup#creating-a-session) */ export declare const zNewSessionRequest: z.ZodObject<{ cwd: z.ZodString; additionalDirectories: z.ZodOptional>; mcpServers: z.ZodArray>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"acp">; }, z.core.$strip>>, z.ZodObject<{ name: z.ZodString; command: z.ZodString; args: z.ZodArray; env: z.ZodArray>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>]>>; systemPrompt: z.ZodOptional, z.ZodLiteral<"override">, z.ZodString]>; content: z.ZodArray, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request parameters for loading an existing session. * * Only available if the Agent supports the `loadSession` capability. * * See protocol docs: [Loading Sessions](https://agentclientprotocol.com/protocol/session-setup#loading-sessions) */ export declare const zLoadSessionRequest: z.ZodObject<{ mcpServers: z.ZodArray>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"acp">; }, z.core.$strip>>, z.ZodObject<{ name: z.ZodString; command: z.ZodString; args: z.ZodArray; env: z.ZodArray>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>]>>; cwd: z.ZodString; additionalDirectories: z.ZodOptional>; sessionId: z.ZodString; systemPrompt: z.ZodOptional, z.ZodLiteral<"override">, z.ZodString]>; content: z.ZodArray, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request parameters for listing existing sessions. * * Only available if the Agent supports the `sessionCapabilities.list` capability. */ export declare const zListSessionsRequest: z.ZodObject<{ cwd: z.ZodOptional>; cursor: z.ZodOptional>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request parameters for deleting an existing session from `session/list`. * * Only available if the Agent supports the `sessionCapabilities.delete` capability. */ export declare const zDeleteSessionRequest: z.ZodObject<{ sessionId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Request parameters for forking an existing session. * * Creates a new session based on the context of an existing one, allowing * operations like generating summaries without affecting the original session's history. * * Only available if the Agent supports the `session.fork` capability. * * @experimental */ export declare const zForkSessionRequest: z.ZodObject<{ sessionId: z.ZodString; cwd: z.ZodString; additionalDirectories: z.ZodOptional>; mcpServers: z.ZodOptional>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"acp">; }, z.core.$strip>>, z.ZodObject<{ name: z.ZodString; command: z.ZodString; args: z.ZodArray; env: z.ZodArray>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>]>>>; systemPrompt: z.ZodOptional, z.ZodLiteral<"override">, z.ZodString]>; content: z.ZodArray, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request parameters for resuming an existing session. * * Resumes an existing session without returning previous messages (unlike `session/load`). * This is useful for agents that can resume sessions but don't implement full session loading. * * Only available if the Agent supports the `sessionCapabilities.resume` capability. */ export declare const zResumeSessionRequest: z.ZodObject<{ sessionId: z.ZodString; cwd: z.ZodString; additionalDirectories: z.ZodOptional>; mcpServers: z.ZodOptional>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"acp">; }, z.core.$strip>>, z.ZodObject<{ name: z.ZodString; command: z.ZodString; args: z.ZodArray; env: z.ZodArray>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>]>>>; systemPrompt: z.ZodOptional, z.ZodLiteral<"override">, z.ZodString]>; content: z.ZodArray, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request parameters for closing an active session. * * If supported, the agent **must** cancel any ongoing work related to the session * (treat it as if `session/cancel` was called) and then free up any resources * associated with the session. * * Only available if the Agent supports the `sessionCapabilities.close` capability. */ export declare const zCloseSessionRequest: z.ZodObject<{ sessionId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request parameters for setting a session mode. */ export declare const zSetSessionModeRequest: z.ZodObject<{ sessionId: z.ZodString; modeId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Request parameters for setting a session configuration option. */ export declare const zSetSessionConfigOptionRequest: z.ZodIntersection; }, z.core.$strip>, z.ZodObject<{ value: z.ZodString; }, z.core.$strip>]>, z.ZodObject<{ sessionId: z.ZodString; configId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>>; /** * Request parameters for sending a user prompt to the agent. * * Contains the user's message and any additional context. * * See protocol docs: [User Message](https://agentclientprotocol.com/protocol/prompt-turn#1-user-message) */ export declare const zPromptRequest: z.ZodObject<{ sessionId: z.ZodString; prompt: z.ZodArray, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * A JSON-RPC request object. */ export declare const zClientRequest: z.ZodObject<{ id: z.ZodNullable>; method: z.ZodString; params: z.ZodOptional>>; writeTextFile: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; terminal: z.ZodCatch>>; session: z.ZodCatch>>>; configOptions: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; notices: z.ZodCatch>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; subagents: z.ZodCatch>>>; }, z.core.$strip>>>>; plan: z.ZodCatch>>>; }, z.core.$strip>>>>; auth: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; elicitation: z.ZodCatch>>>; }, z.core.$strip>>>>; url: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; clientInfo: z.ZodCatch>>; version: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ methodId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ providerId: z.ZodString; apiType: z.ZodUnion, z.ZodLiteral<"openai">, z.ZodLiteral<"azure">, z.ZodLiteral<"vertex">, z.ZodLiteral<"bedrock">, z.ZodString]>; baseUrl: z.ZodString; headers: z.ZodOptional>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ providerId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodString; additionalDirectories: z.ZodOptional>; mcpServers: z.ZodArray>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"acp">; }, z.core.$strip>>, z.ZodObject<{ name: z.ZodString; command: z.ZodString; args: z.ZodArray; env: z.ZodArray>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>]>>; systemPrompt: z.ZodOptional, z.ZodLiteral<"override">, z.ZodString]>; content: z.ZodArray, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ mcpServers: z.ZodArray>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"acp">; }, z.core.$strip>>, z.ZodObject<{ name: z.ZodString; command: z.ZodString; args: z.ZodArray; env: z.ZodArray>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>]>>; cwd: z.ZodString; additionalDirectories: z.ZodOptional>; sessionId: z.ZodString; systemPrompt: z.ZodOptional, z.ZodLiteral<"override">, z.ZodString]>; content: z.ZodArray, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ cwd: z.ZodOptional>; cursor: z.ZodOptional>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionId: z.ZodString; cwd: z.ZodString; additionalDirectories: z.ZodOptional>; mcpServers: z.ZodOptional>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"acp">; }, z.core.$strip>>, z.ZodObject<{ name: z.ZodString; command: z.ZodString; args: z.ZodArray; env: z.ZodArray>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>]>>>; systemPrompt: z.ZodOptional, z.ZodLiteral<"override">, z.ZodString]>; content: z.ZodArray, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionId: z.ZodString; cwd: z.ZodString; additionalDirectories: z.ZodOptional>; mcpServers: z.ZodOptional>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; }, z.core.$strip>>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"acp">; }, z.core.$strip>>, z.ZodObject<{ name: z.ZodString; command: z.ZodString; args: z.ZodArray; env: z.ZodArray>>>; }, z.core.$strip>>; _meta: z.ZodCatch>>>; }, z.core.$strip>]>>>; systemPrompt: z.ZodOptional, z.ZodLiteral<"override">, z.ZodString]>; content: z.ZodArray, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ sessionId: z.ZodString; modeId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodIntersection; }, z.core.$strip>, z.ZodObject<{ value: z.ZodString; }, z.core.$strip>]>, z.ZodObject<{ sessionId: z.ZodString; configId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>>, z.ZodObject<{ sessionId: z.ZodString; prompt: z.ZodArray, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; text: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"text">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; uri: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"image">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; data: z.ZodString; mimeType: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"audio">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; description: z.ZodCatch>>; mimeType: z.ZodCatch>>; name: z.ZodString; size: z.ZodCatch>>; title: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource_link">; }, z.core.$strip>>, z.ZodIntersection, z.ZodLiteral<"user">]>>>, z.ZodTransform<("assistant" | "user")[], ("assistant" | "user")[]>>>>>; lastModified: z.ZodCatch>>; priority: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; resource: z.ZodUnion>>; text: z.ZodString; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ blob: z.ZodString; mimeType: z.ZodCatch>>; uri: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"resource">; }, z.core.$strip>>]>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodUnknown]>>>; }, z.core.$strip>; /** * Response to `fs/write_text_file` */ export declare const zWriteTextFileResponse: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response containing the contents of a text file. */ export declare const zReadTextFileResponse: z.ZodObject<{ content: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * The user selected one of the provided options. */ export declare const zSelectedPermissionOutcome: z.ZodObject<{ optionId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * The outcome of a permission request. */ export declare const zRequestPermissionOutcome: z.ZodUnion; }, z.core.$strip>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ outcome: z.ZodLiteral<"selected">; }, z.core.$strip>>]>; /** * Response to a permission request. */ export declare const zRequestPermissionResponse: z.ZodObject<{ outcome: z.ZodUnion; }, z.core.$strip>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ outcome: z.ZodLiteral<"selected">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response containing the ID of the created terminal. */ export declare const zCreateTerminalResponse: z.ZodObject<{ terminalId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Exit status of a terminal command. */ export declare const zTerminalExitStatus: z.ZodObject<{ exitCode: z.ZodCatch>>; signal: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response containing the terminal output and exit status. */ export declare const zTerminalOutputResponse: z.ZodObject<{ output: z.ZodString; truncated: z.ZodBoolean; exitStatus: z.ZodCatch>>; signal: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response to terminal/release method */ export declare const zReleaseTerminalResponse: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response containing the exit status of a terminal command. */ export declare const zWaitForTerminalExitResponse: z.ZodObject<{ exitCode: z.ZodCatch>>; signal: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Response to `terminal/kill` method */ export declare const zKillTerminalResponse: z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * Allowed wire representations for [`ElicitationContentValue`]. */ export declare const zElicitationContentValue: z.ZodUnion]>; /** * The user accepted the elicitation and provided content. */ export declare const zElicitationAcceptAction: z.ZodObject<{ content: z.ZodOptional]>>>>; }, z.core.$strip>; /** * Response from the client to an elicitation request. * * Custom variants (unknown `action` values) keep their extra * properties exactly as received; unlike known variants, those keys * bypass lenient-field salvage and arrive unvalidated. */ export declare const zCreateElicitationResponse: z.ZodType<(({ content?: Record | null | undefined; } & { action: "accept"; }) | { action: "decline"; } | { action: "cancel"; } | { action: string; }) & { _meta?: Record | null | undefined; }, (({ content?: Record | null | undefined; } & { action: "accept"; }) | { action: "decline"; } | { action: "cancel"; } | { action: string; }) & { _meta?: Record | null | undefined; }, z.core.$ZodTypeInternals<(({ content?: Record | null | undefined; } & { action: "accept"; }) | { action: "decline"; } | { action: "cancel"; } | { action: string; }) & { _meta?: Record | null | undefined; }, (({ content?: Record | null | undefined; } & { action: "accept"; }) | { action: "decline"; } | { action: "cancel"; } | { action: string; }) & { _meta?: Record | null | undefined; }>>; /** * **UNSTABLE** * * An inner MCP error, distinct from an outer ACP binding or runtime error. * * `code` and `message` are required and non-null. `data` is optional; * explicit `null` is preserved separately from an omitted key. * * @experimental */ export declare const zMcpError: z.ZodObject<{ code: z.ZodInt; message: z.ZodString; data: z.ZodOptional; }, z.core.$loose>; /** * **UNSTABLE** * * The successful outer ACP `mcp/message` response carries exactly one * inner MCP outcome: an opaque result (including JSON null), or an MCP error. * Outer ACP errors are reserved for binding and runtime failures. * * Both branches require their carrier key. An error must be a non-null object. * Unknown outer fields are ignored; inner result and error fields are preserved. * Carrier `_meta` is optional; null or invalid values are treated as absent. * Senders must include exactly one outcome; receivers prefer `result` if both are present. * * @experimental */ export declare const zMessageMcpResponse: z.ZodUnion>>>; }, z.core.$strip>, z.ZodObject<{ error: z.ZodObject<{ code: z.ZodInt; message: z.ZodString; data: z.ZodOptional; }, z.core.$loose>; _meta: z.ZodCatch>>>; }, z.core.$strip>]>; /** * A JSON-RPC response object. */ export declare const zClientResponse: z.ZodUnion>; result: z.ZodUnion>>>; }, z.core.$strip>, z.ZodObject<{ content: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ outcome: z.ZodUnion; }, z.core.$strip>, z.ZodIntersection>>>; }, z.core.$strip>, z.ZodObject<{ outcome: z.ZodLiteral<"selected">; }, z.core.$strip>>]>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ terminalId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ output: z.ZodString; truncated: z.ZodBoolean; exitStatus: z.ZodCatch>>; signal: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>>>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ exitCode: z.ZodCatch>>; signal: z.ZodCatch>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodObject<{ _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodType<(({ content?: Record | null | undefined; } & { action: "accept"; }) | { action: "decline"; } | { action: "cancel"; } | { action: string; }) & { _meta?: Record | null | undefined; }, (({ content?: Record | null | undefined; } & { action: "accept"; }) | { action: "decline"; } | { action: "cancel"; } | { action: string; }) & { _meta?: Record | null | undefined; }, z.core.$ZodTypeInternals<(({ content?: Record | null | undefined; } & { action: "accept"; }) | { action: "decline"; } | { action: "cancel"; } | { action: string; }) & { _meta?: Record | null | undefined; }, (({ content?: Record | null | undefined; } & { action: "accept"; }) | { action: "decline"; } | { action: "cancel"; } | { action: string; }) & { _meta?: Record | null | undefined; }>>, z.ZodUnion>>>; }, z.core.$strip>, z.ZodObject<{ error: z.ZodObject<{ code: z.ZodInt; message: z.ZodString; data: z.ZodOptional; }, z.core.$loose>; _meta: z.ZodCatch>>>; }, z.core.$strip>]>, z.ZodUnknown]>; }, z.core.$strip>, z.ZodObject<{ id: z.ZodNullable>; error: z.ZodObject<{ code: z.ZodUnion, z.ZodLiteral<-32600>, z.ZodLiteral<-32601>, z.ZodLiteral<-32602>, z.ZodLiteral<-32603>, z.ZodLiteral<-32800>, z.ZodLiteral<-32000>, z.ZodLiteral<-32002>, z.ZodInt]>; message: z.ZodString; data: z.ZodCatch>; }, z.core.$strip>; }, z.core.$strip>]>; /** * Notification to cancel ongoing operations for a session. * * See protocol docs: [Cancellation](https://agentclientprotocol.com/protocol/prompt-turn#cancellation) */ export declare const zCancelNotification: z.ZodObject<{ sessionId: z.ZodString; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * **UNSTABLE** * * This capability is not part of the spec yet, and may be removed or changed at any point. * * Notification parameters for `mcp/message`. * * Sent by the provider to the consumer for an active request (including * subscription acknowledgements and updates); the outer envelope has no `id`. * * @experimental */ export declare const zMessageMcpNotification: z.ZodObject<{ serverId: z.ZodString; requestId: z.ZodString; method: z.ZodString; params: z.ZodOptional>>; _meta: z.ZodCatch>>>; }, z.core.$strip>; /** * A JSON-RPC notification object. */ export declare const zClientNotification: z.ZodObject<{ method: z.ZodString; params: z.ZodOptional>>>; }, z.core.$strip>, z.ZodObject<{ serverId: z.ZodString; requestId: z.ZodString; method: z.ZodString; params: z.ZodOptional>>; _meta: z.ZodCatch>>>; }, z.core.$strip>, z.ZodUnknown]>>>; }, z.core.$strip>; /** * Notification to cancel an ongoing request. * * See protocol docs: [Cancellation](https://agentclientprotocol.com/protocol/cancellation) */ export declare const zCancelRequestNotification: z.ZodObject<{ requestId: z.ZodNullable>; _meta: z.ZodCatch>>>; }, z.core.$strip>;