import { ServerProviderDeps, ConversationStepRecord, Conversation, A2AServerRegistry } from '@voltagent/core'; import { Logger, LogLevel, LogEntry, LogFilter } from '@voltagent/internal'; import { z } from 'zod'; import { UIMessage } from 'ai'; import { A2AServerLike } from '@voltagent/internal/a2a'; /** * Common app setup utilities * Framework-agnostic application configuration helpers */ /** * OpenAPI documentation info */ interface OpenApiInfo { version?: string; title?: string; description?: string; } /** * Common app setup configuration */ interface AppSetupConfig { /** * Enable Swagger UI */ enableSwaggerUI?: boolean; /** * CORS options */ corsOptions?: any; /** * OpenAPI documentation info */ openApiInfo?: OpenApiInfo; /** * Server port for documentation */ port?: number; } /** * Get or create a logger instance * @param deps Server provider dependencies * @param component Component name for logger * @returns Logger instance */ declare function getOrCreateLogger(deps: ServerProviderDeps, component?: string): Logger; /** * Check if Swagger UI should be enabled * @param config App configuration * @returns Whether Swagger UI should be enabled */ declare function shouldEnableSwaggerUI(config: { enableSwaggerUI?: boolean; }): boolean; /** * Get default OpenAPI documentation info * @param port Server port * @returns OpenAPI documentation object */ declare function getOpenApiDoc(port: number, info?: OpenApiInfo): { openapi: "3.1.0"; info: { version: string; title: string; description: string; }; servers: { url: string; description: string; }[]; }; /** * Default CORS configuration */ declare const DEFAULT_CORS_OPTIONS: { origin: string; methods: string[]; allowedHeaders: string[]; credentials: boolean; }; /** * Framework-agnostic route definitions * These can be used by any server implementation (Hono, Fastify, Express, etc.) */ /** * HTTP methods */ type HttpMethod = "get" | "post" | "put" | "patch" | "delete" | "options" | "head"; /** * Response definition for a specific status code */ interface ResponseDefinition { description: string; contentType?: string; } /** * Base route definition that can be used by any framework */ interface RouteDefinition { method: HttpMethod; path: string; summary: string; description: string; tags: string[]; operationId?: string; responses?: Record; } /** * Agent route definitions */ declare const AGENT_ROUTES: { readonly listAgents: { readonly method: "get"; readonly path: "/agents"; readonly summary: "List all registered agents"; readonly description: "Retrieve a comprehensive list of all agents registered in the system. Each agent includes its configuration, status, model information, tools, sub-agents, and memory settings. Use this endpoint to discover available agents and their capabilities."; readonly tags: readonly ["Agent Management"]; readonly operationId: "listAgents"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved list of all registered agents"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve agents due to server error"; readonly contentType: "application/json"; }; }; }; readonly getAgent: { readonly method: "get"; readonly path: "/agents/:id"; readonly summary: "Get agent by ID"; readonly description: "Retrieve detailed information about a specific agent by its ID."; readonly tags: readonly ["Agent Management"]; readonly operationId: "getAgent"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved agent details"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve agent due to server error"; readonly contentType: "application/json"; }; }; }; readonly generateText: { readonly method: "post"; readonly path: "/agents/:id/text"; readonly summary: "Generate text response"; readonly description: "Generate a text response from an agent using the provided conversation history. This endpoint processes messages synchronously and returns the complete response once generation is finished. Use this for traditional request-response interactions where you need the full response before proceeding."; readonly tags: readonly ["Agent Generation"]; readonly operationId: "generateText"; readonly responses: { readonly 200: { readonly description: "Successfully generated text response from the agent"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request parameters or message format"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to generate text due to server error"; readonly contentType: "application/json"; }; }; }; readonly streamText: { readonly method: "post"; readonly path: "/agents/:id/stream"; readonly summary: "Stream raw text response"; readonly description: "Generate a text response from an agent and stream the raw fullStream data via Server-Sent Events (SSE). This endpoint provides direct access to all stream events including text deltas, tool calls, and tool results. Use this for advanced applications that need full control over stream processing."; readonly tags: readonly ["Agent Generation"]; readonly operationId: "streamText"; readonly responses: { readonly 200: { readonly description: "Successfully established SSE stream for raw text generation"; readonly contentType: "text/event-stream"; }; readonly 400: { readonly description: "Invalid request parameters or message format"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to stream text due to server error"; readonly contentType: "application/json"; }; }; }; readonly chatStream: { readonly method: "post"; readonly path: "/agents/:id/chat"; readonly summary: "Stream chat messages"; readonly description: "Generate a text response from an agent and stream it as UI messages via Server-Sent Events (SSE). This endpoint is optimized for chat interfaces and works seamlessly with the AI SDK's useChat hook. It provides a high-level stream format with automatic handling of messages, tool calls, and metadata."; readonly tags: readonly ["Agent Generation"]; readonly operationId: "chatStream"; readonly responses: { readonly 200: { readonly description: "Successfully established SSE stream for chat generation"; readonly contentType: "text/event-stream"; }; readonly 400: { readonly description: "Invalid request parameters or message format"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to stream chat due to server error"; readonly contentType: "application/json"; }; }; }; readonly resumeChatStream: { readonly method: "get"; readonly path: "/agents/:id/chat/:conversationId/stream"; readonly summary: "Resume chat stream"; readonly description: "Resume an in-progress UI message stream for a chat conversation. Requires userId query parameter. Returns 204 if no active stream is found."; readonly tags: readonly ["Agent Generation"]; readonly operationId: "resumeChatStream"; readonly responses: { readonly 200: { readonly description: "Successfully resumed SSE stream for chat generation"; readonly contentType: "text/event-stream"; }; readonly 400: { readonly description: "Missing or invalid userId"; readonly contentType: "application/json"; }; readonly 204: { readonly description: "No active stream found for the conversation"; readonly contentType: "text/plain"; }; readonly 404: { readonly description: "Resumable streams not configured"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to resume chat stream due to server error"; readonly contentType: "application/json"; }; }; }; readonly generateObject: { readonly method: "post"; readonly path: "/agents/:id/object"; readonly summary: "Generate structured object"; readonly description: "Generate a structured object that conforms to a specified JSON schema. This endpoint is perfect for extracting structured data from unstructured input, generating form data, or creating API responses with guaranteed structure. The agent will ensure the output matches the provided schema exactly."; readonly tags: readonly ["Agent Generation"]; readonly operationId: "generateObject"; readonly responses: { readonly 200: { readonly description: "Successfully generated structured object matching the provided schema"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request parameters, message format, or schema"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to generate object due to server error"; readonly contentType: "application/json"; }; }; }; readonly streamObject: { readonly method: "post"; readonly path: "/agents/:id/stream-object"; readonly summary: "Stream structured object generation"; readonly description: "Generate a structured object and stream partial updates via Server-Sent Events (SSE). This allows you to display incremental object construction in real-time, useful for complex object generation where you want to show progress. Events may contain partial object updates or the complete final object, depending on the agent's implementation."; readonly tags: readonly ["Agent Generation"]; readonly operationId: "streamObject"; readonly responses: { readonly 200: { readonly description: "Successfully established SSE stream for object generation"; readonly contentType: "text/event-stream"; }; readonly 400: { readonly description: "Invalid request parameters, message format, or schema"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to stream object due to server error"; readonly contentType: "application/json"; }; }; }; readonly getAgentHistory: { readonly method: "get"; readonly path: "/agents/:id/history"; readonly summary: "Get agent history"; readonly description: "Retrieve the execution history for a specific agent with pagination support."; readonly tags: readonly ["Agent Management"]; readonly operationId: "getAgentHistory"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved agent execution history"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve agent history due to server error"; readonly contentType: "application/json"; }; }; }; readonly getWorkspace: { readonly method: "get"; readonly path: "/agents/:id/workspace"; readonly summary: "Get agent workspace info"; readonly description: "Retrieve workspace configuration metadata for an agent, including capabilities (filesystem, sandbox, search, skills)."; readonly tags: readonly ["Agent Workspace"]; readonly operationId: "getAgentWorkspace"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved workspace info"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent or workspace not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve workspace info due to server error"; readonly contentType: "application/json"; }; }; }; readonly listWorkspaceFiles: { readonly method: "get"; readonly path: "/agents/:id/workspace/ls"; readonly summary: "List workspace files"; readonly description: "List files and directories under a workspace path."; readonly tags: readonly ["Agent Workspace"]; readonly operationId: "listWorkspaceFiles"; readonly responses: { readonly 200: { readonly description: "Successfully listed workspace files"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request parameters"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent or workspace not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to list workspace files due to server error"; readonly contentType: "application/json"; }; }; }; readonly readWorkspaceFile: { readonly method: "get"; readonly path: "/agents/:id/workspace/read"; readonly summary: "Read workspace file"; readonly description: "Read a file from the workspace filesystem."; readonly tags: readonly ["Agent Workspace"]; readonly operationId: "readWorkspaceFile"; readonly responses: { readonly 200: { readonly description: "Successfully read workspace file"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request parameters"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent or workspace not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to read workspace file due to server error"; readonly contentType: "application/json"; }; }; }; readonly listWorkspaceSkills: { readonly method: "get"; readonly path: "/agents/:id/workspace/skills"; readonly summary: "List workspace skills"; readonly description: "List available workspace skills for an agent."; readonly tags: readonly ["Agent Workspace"]; readonly operationId: "listWorkspaceSkills"; readonly responses: { readonly 200: { readonly description: "Successfully listed workspace skills"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent, workspace, or skills not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to list workspace skills due to server error"; readonly contentType: "application/json"; }; }; }; readonly getWorkspaceSkill: { readonly method: "get"; readonly path: "/agents/:id/workspace/skills/:skillId"; readonly summary: "Get workspace skill"; readonly description: "Retrieve a specific workspace skill including its instructions."; readonly tags: readonly ["Agent Workspace"]; readonly operationId: "getWorkspaceSkill"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved workspace skill"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent, workspace, or skill not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve workspace skill due to server error"; readonly contentType: "application/json"; }; }; }; }; /** * Workflow route definitions */ declare const WORKFLOW_ROUTES: { readonly listWorkflows: { readonly method: "get"; readonly path: "/workflows"; readonly summary: "List all registered workflows"; readonly description: "Retrieve a list of all workflows registered in the system. Each workflow includes its ID, name, purpose, step count, and current status. Use this endpoint to discover available workflows and understand their capabilities before execution."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "listWorkflows"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved list of all registered workflows"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve workflows due to server error"; readonly contentType: "application/json"; }; }; }; readonly getWorkflow: { readonly method: "get"; readonly path: "/workflows/:id"; readonly summary: "Get workflow by ID"; readonly description: "Retrieve detailed information about a specific workflow by its ID."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "getWorkflow"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved workflow details"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve workflow due to server error"; readonly contentType: "application/json"; }; }; }; readonly listWorkflowRuns: { readonly method: "get"; readonly path: "/workflows/executions"; readonly summary: "List workflow executions (query-driven)"; readonly description: "Retrieve workflow executions using query params (workflowId, status, from, to, limit, offset, userId) without path parameters. You can also filter metadata with `metadata` (JSON object) or key-based params such as `metadata.tenantId=acme`."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "listWorkflowRuns"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved workflow executions"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid query parameters"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve workflow executions due to server error"; readonly contentType: "application/json"; }; }; }; readonly executeWorkflow: { readonly method: "post"; readonly path: "/workflows/:id/execute"; readonly summary: "Execute workflow synchronously"; readonly description: "Execute a workflow and wait for it to complete. This endpoint runs the workflow to completion and returns the final result. Use this for workflows that complete quickly or when you need the complete result before proceeding. For long-running workflows, consider using the streaming endpoint instead."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "executeWorkflow"; readonly responses: { readonly 200: { readonly description: "Successfully executed workflow and returned final result"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid workflow input or parameters"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to execute workflow due to server error"; readonly contentType: "application/json"; }; }; }; readonly streamWorkflow: { readonly method: "post"; readonly path: "/workflows/:id/stream"; readonly summary: "Stream workflow execution events"; readonly description: "Execute a workflow and stream real-time events via Server-Sent Events (SSE). The stream remains open during suspension and continues after resume."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "streamWorkflow"; readonly responses: { readonly 200: { readonly description: "Successfully established SSE stream for workflow execution"; readonly contentType: "text/event-stream"; }; readonly 400: { readonly description: "Invalid workflow input or parameters"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to stream workflow due to server error"; readonly contentType: "application/json"; }; }; }; readonly attachWorkflowStream: { readonly method: "get"; readonly path: "/workflows/:id/executions/:executionId/stream"; readonly summary: "Attach to workflow execution stream"; readonly description: "Attach to an in-progress workflow execution stream and receive real-time events via Server-Sent Events (SSE). Use Last-Event-ID header or `fromSequence` query parameter to replay missed events on reconnect."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "attachWorkflowStream"; readonly responses: { readonly 200: { readonly description: "Successfully attached to workflow SSE stream"; readonly contentType: "text/event-stream"; }; readonly 404: { readonly description: "Workflow or execution not found"; readonly contentType: "application/json"; }; readonly 409: { readonly description: "Workflow execution is not streamable in current state"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to attach workflow stream due to server error"; readonly contentType: "application/json"; }; }; }; readonly suspendWorkflow: { readonly method: "post"; readonly path: "/workflows/:id/executions/:executionId/suspend"; readonly summary: "Suspend workflow execution"; readonly description: "Suspend a running workflow execution at its current step. This allows you to pause long-running workflows, perform external validations, wait for human approval, or handle rate limits. The workflow state is preserved and can be resumed later with the resume endpoint. Only workflows in 'running' state can be suspended."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "suspendWorkflow"; readonly responses: { readonly 200: { readonly description: "Successfully suspended workflow execution"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Workflow is not in a suspendable state"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow or execution not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to suspend workflow due to server error"; readonly contentType: "application/json"; }; }; }; readonly cancelWorkflow: { readonly method: "post"; readonly path: "/workflows/:id/executions/:executionId/cancel"; readonly summary: "Cancel workflow execution"; readonly description: "Cancel a running workflow execution immediately. The workflow stops execution and the state is marked as cancelled. Cancelled workflows cannot be resumed."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "cancelWorkflow"; readonly responses: { readonly 200: { readonly description: "Successfully cancelled workflow execution"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow or execution not found"; readonly contentType: "application/json"; }; readonly 409: { readonly description: "Workflow execution already completed or not cancellable"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to cancel workflow due to server error"; readonly contentType: "application/json"; }; }; }; readonly resumeWorkflow: { readonly method: "post"; readonly path: "/workflows/:id/executions/:executionId/resume"; readonly summary: "Resume suspended workflow"; readonly description: "Resume a previously suspended workflow execution from where it left off. You can optionally provide resume data that will be passed to the suspended step for processing. This is commonly used after human approval, external system responses, or scheduled resumptions. The workflow continues execution and returns the final result."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "resumeWorkflow"; readonly responses: { readonly 200: { readonly description: "Successfully resumed workflow execution and returned final result"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Workflow is not in a suspended state"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow or execution not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to resume workflow due to server error"; readonly contentType: "application/json"; }; }; }; readonly replayWorkflow: { readonly method: "post"; readonly path: "/workflows/:id/executions/:executionId/replay"; readonly summary: "Replay workflow execution from a step"; readonly description: "Create a deterministic replay execution from a historical workflow run and selected step. Replay creates a new execution ID and preserves the original run history."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "replayWorkflow"; readonly responses: { readonly 200: { readonly description: "Successfully replayed workflow execution"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid replay parameters"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow or source execution not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to replay workflow due to server error"; readonly contentType: "application/json"; }; }; }; readonly getWorkflowState: { readonly method: "get"; readonly path: "/workflows/:id/executions/:executionId/state"; readonly summary: "Get workflow execution state"; readonly description: "Retrieve the workflow execution state including input data, suspension information, context, and current status. This is essential for understanding the current state of a workflow execution, especially for suspended workflows that need to be resumed with the correct context."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "getWorkflowState"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved workflow execution state"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow or execution not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve workflow state due to server error"; readonly contentType: "application/json"; }; }; }; }; /** * Log route definitions */ declare const LOG_ROUTES: { readonly getLogs: { readonly method: "get"; readonly path: "/api/logs"; readonly summary: "Get logs with filters"; readonly description: "Retrieve system logs with optional filtering by level, agent ID, workflow ID, conversation ID, execution ID, and time range."; readonly tags: readonly ["Logging"]; readonly operationId: "getLogs"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved filtered log entries"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid filter parameters"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve logs due to server error"; readonly contentType: "application/json"; }; }; }; }; /** * Update route definitions */ declare const UPDATE_ROUTES: { readonly checkUpdates: { readonly method: "get"; readonly path: "/updates"; readonly summary: "Check for updates"; readonly description: "Check for available package updates in the VoltAgent ecosystem."; readonly tags: readonly ["System"]; readonly operationId: "checkUpdates"; readonly responses: { readonly 200: { readonly description: "Successfully checked for available updates"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to check updates due to server error"; readonly contentType: "application/json"; }; }; }; readonly installUpdates: { readonly method: "post"; readonly path: "/updates"; readonly summary: "Install updates"; readonly description: "Install available updates for VoltAgent packages. Can install a single package or all packages."; readonly tags: readonly ["System"]; readonly operationId: "installUpdates"; readonly responses: { readonly 200: { readonly description: "Successfully installed requested updates"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid update request or package not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to install updates due to server error"; readonly contentType: "application/json"; }; }; }; readonly installSingleUpdate: { readonly method: "post"; readonly path: "/updates/:packageName"; readonly summary: "Install single package update"; readonly description: "Install update for a specific VoltAgent package. The package manager is automatically detected based on lock files (pnpm-lock.yaml, yarn.lock, package-lock.json, or bun.lockb)."; readonly tags: readonly ["System"]; readonly operationId: "installSingleUpdate"; readonly responses: { readonly 200: { readonly description: "Successfully installed package update"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid package name or package not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to install update due to server error"; readonly contentType: "application/json"; }; }; }; }; /** * Observability route definitions */ declare const OBSERVABILITY_ROUTES: { readonly setupObservability: { readonly method: "post"; readonly path: "/setup-observability"; readonly summary: "Configure observability settings"; readonly description: "Updates the .env file with VoltAgent public and secret keys to enable observability features. This allows automatic tracing and monitoring of agent operations."; readonly tags: readonly ["Observability"]; readonly operationId: "setupObservability"; readonly responses: { readonly 200: { readonly description: "Successfully configured observability settings"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request - missing publicKey or secretKey"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to update .env file"; readonly contentType: "application/json"; }; }; }; readonly getTraces: { readonly method: "get"; readonly path: "/observability/traces"; readonly summary: "List all traces"; readonly description: "Retrieve all OpenTelemetry traces from the observability store. Each trace represents a complete operation with its spans showing the execution flow."; readonly tags: readonly ["Observability"]; readonly operationId: "getTraces"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved traces"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve traces due to server error"; readonly contentType: "application/json"; }; }; }; readonly getTraceById: { readonly method: "get"; readonly path: "/observability/traces/:traceId"; readonly summary: "Get trace by ID"; readonly description: "Retrieve a specific trace and all its spans by trace ID."; readonly tags: readonly ["Observability"]; readonly operationId: "getTraceById"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved trace"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Trace not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve trace due to server error"; readonly contentType: "application/json"; }; }; }; readonly getSpanById: { readonly method: "get"; readonly path: "/observability/spans/:spanId"; readonly summary: "Get span by ID"; readonly description: "Retrieve a specific span by its ID."; readonly tags: readonly ["Observability"]; readonly operationId: "getSpanById"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved span"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Span not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve span due to server error"; readonly contentType: "application/json"; }; }; }; readonly getObservabilityStatus: { readonly method: "get"; readonly path: "/observability/status"; readonly summary: "Get observability status"; readonly description: "Check the status and configuration of the observability system."; readonly tags: readonly ["Observability"]; readonly operationId: "getObservabilityStatus"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved observability status"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve status due to server error"; readonly contentType: "application/json"; }; }; }; readonly getLogsByTraceId: { readonly method: "get"; readonly path: "/observability/traces/:traceId/logs"; readonly summary: "Get logs by trace ID"; readonly description: "Retrieve all logs associated with a specific trace ID."; readonly tags: readonly ["Observability"]; readonly operationId: "getLogsByTraceId"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved logs"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "No logs found for the trace"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve logs due to server error"; readonly contentType: "application/json"; }; }; }; readonly getLogsBySpanId: { readonly method: "get"; readonly path: "/observability/spans/:spanId/logs"; readonly summary: "Get logs by span ID"; readonly description: "Retrieve all logs associated with a specific span ID."; readonly tags: readonly ["Observability"]; readonly operationId: "getLogsBySpanId"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved logs"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "No logs found for the span"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve logs due to server error"; readonly contentType: "application/json"; }; }; }; readonly queryLogs: { readonly method: "get"; readonly path: "/observability/logs"; readonly summary: "Query logs"; readonly description: "Query logs with filters such as severity, time range, trace ID, etc."; readonly tags: readonly ["Observability"]; readonly operationId: "queryLogs"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved logs"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid query parameters"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to query logs due to server error"; readonly contentType: "application/json"; }; }; }; }; declare const OBSERVABILITY_MEMORY_ROUTES: { readonly listMemoryUsers: { readonly method: "get"; readonly path: "/observability/memory/users"; readonly summary: "List memory users"; readonly description: "Retrieve all users who have associated memory records. Supports optional filtering by agent and pagination controls."; readonly tags: readonly ["Observability", "Memory"]; readonly operationId: "listMemoryUsers"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved users"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve memory users due to server error"; readonly contentType: "application/json"; }; }; }; readonly listMemoryConversations: { readonly method: "get"; readonly path: "/observability/memory/conversations"; readonly summary: "List memory conversations"; readonly description: "Retrieve conversations stored in memory with optional filtering by agent or user. Results are paginated and sorted by last update by default."; readonly tags: readonly ["Observability", "Memory"]; readonly operationId: "listObservabilityMemoryConversations"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved conversations"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve conversations due to server error"; readonly contentType: "application/json"; }; }; }; readonly getMemoryConversationMessages: { readonly method: "get"; readonly path: "/observability/memory/conversations/:conversationId/messages"; readonly summary: "Get conversation messages"; readonly description: "Fetch the messages for a specific conversation stored in memory. Supports optional role filtering and windowing via before/after parameters."; readonly tags: readonly ["Observability", "Memory"]; readonly operationId: "getMemoryConversationMessages"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved messages"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Conversation not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve messages due to server error"; readonly contentType: "application/json"; }; }; }; readonly getConversationSteps: { readonly method: "get"; readonly path: "/observability/memory/conversations/:conversationId/steps"; readonly summary: "Get conversation steps"; readonly description: "Fetch the recorded agent steps for a specific conversation stored in memory."; readonly tags: readonly ["Observability", "Memory"]; readonly operationId: "getConversationSteps"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved conversation steps"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Conversation not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve conversation steps due to server error"; readonly contentType: "application/json"; }; }; }; readonly getWorkingMemory: { readonly method: "get"; readonly path: "/observability/memory/working-memory"; readonly summary: "Get working memory"; readonly description: "Retrieve working memory content for a conversation or user. Specify the scope and relevant identifiers in query parameters."; readonly tags: readonly ["Observability", "Memory"]; readonly operationId: "getWorkingMemory"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved working memory"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Working memory not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve working memory due to server error"; readonly contentType: "application/json"; }; }; }; }; /** * Tool route definitions */ declare const TOOL_ROUTES: { readonly listTools: { readonly method: "get"; readonly path: "/tools"; readonly summary: "List all tools"; readonly description: "Retrieve a list of all tools registered across agents. Includes name, description, parameters, and owning agent metadata."; readonly tags: readonly ["Tools"]; readonly operationId: "listTools"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved list of tools"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve tools due to server error"; readonly contentType: "application/json"; }; }; }; readonly executeTool: { readonly method: "post"; readonly path: "/tools/:name/execute"; readonly summary: "Execute a tool directly"; readonly description: "Execute a registered tool directly via HTTP without going through the agent chat flow. Accepts tool input and optional context metadata."; readonly tags: readonly ["Tools"]; readonly operationId: "executeTool"; readonly responses: { readonly 200: { readonly description: "Successfully executed tool"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request or tool input"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Tool not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to execute tool due to server error"; readonly contentType: "application/json"; }; }; }; }; /** * Memory route definitions */ declare const MEMORY_ROUTES: { readonly listConversations: { readonly method: "get"; readonly path: "/api/memory/conversations"; readonly summary: "List memory conversations"; readonly description: "Retrieve conversations stored in memory with optional filtering by resource or user."; readonly tags: readonly ["Memory"]; readonly operationId: "listMemoryConversations"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved memory conversations"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid query parameters"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to list memory conversations"; readonly contentType: "application/json"; }; }; }; readonly getConversation: { readonly method: "get"; readonly path: "/api/memory/conversations/:conversationId"; readonly summary: "Get conversation by ID"; readonly description: "Retrieve a single conversation by ID from memory storage."; readonly tags: readonly ["Memory"]; readonly operationId: "getMemoryConversation"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved conversation"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Conversation not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve conversation"; readonly contentType: "application/json"; }; }; }; readonly listMessages: { readonly method: "get"; readonly path: "/api/memory/conversations/:conversationId/messages"; readonly summary: "List conversation messages"; readonly description: "Retrieve messages for a conversation with optional filtering."; readonly tags: readonly ["Memory"]; readonly operationId: "listMemoryConversationMessages"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved conversation messages"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Conversation not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve conversation messages"; readonly contentType: "application/json"; }; }; }; readonly getMemoryWorkingMemory: { readonly method: "get"; readonly path: "/api/memory/conversations/:conversationId/working-memory"; readonly summary: "Get working memory"; readonly description: "Retrieve working memory content for a conversation."; readonly tags: readonly ["Memory"]; readonly operationId: "getMemoryWorkingMemory"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved working memory"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Working memory not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve working memory"; readonly contentType: "application/json"; }; }; }; readonly saveMessages: { readonly method: "post"; readonly path: "/api/memory/save-messages"; readonly summary: "Save messages"; readonly description: "Persist new messages into memory storage."; readonly tags: readonly ["Memory"]; readonly operationId: "saveMemoryMessages"; readonly responses: { readonly 200: { readonly description: "Successfully saved messages"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request body"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to save messages"; readonly contentType: "application/json"; }; }; }; readonly createConversation: { readonly method: "post"; readonly path: "/api/memory/conversations"; readonly summary: "Create conversation"; readonly description: "Create a new conversation in memory storage."; readonly tags: readonly ["Memory"]; readonly operationId: "createMemoryConversation"; readonly responses: { readonly 200: { readonly description: "Successfully created conversation"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request body"; readonly contentType: "application/json"; }; readonly 409: { readonly description: "Conversation already exists"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to create conversation"; readonly contentType: "application/json"; }; }; }; readonly updateConversation: { readonly method: "patch"; readonly path: "/api/memory/conversations/:conversationId"; readonly summary: "Update conversation"; readonly description: "Update an existing conversation in memory storage."; readonly tags: readonly ["Memory"]; readonly operationId: "updateMemoryConversation"; readonly responses: { readonly 200: { readonly description: "Successfully updated conversation"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request body"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Conversation not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to update conversation"; readonly contentType: "application/json"; }; }; }; readonly deleteConversation: { readonly method: "delete"; readonly path: "/api/memory/conversations/:conversationId"; readonly summary: "Delete conversation"; readonly description: "Delete a conversation and its messages from memory storage."; readonly tags: readonly ["Memory"]; readonly operationId: "deleteMemoryConversation"; readonly responses: { readonly 200: { readonly description: "Successfully deleted conversation"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Conversation not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to delete conversation"; readonly contentType: "application/json"; }; }; }; readonly cloneConversation: { readonly method: "post"; readonly path: "/api/memory/conversations/:conversationId/clone"; readonly summary: "Clone conversation"; readonly description: "Create a copy of a conversation, optionally including messages."; readonly tags: readonly ["Memory"]; readonly operationId: "cloneMemoryConversation"; readonly responses: { readonly 200: { readonly description: "Successfully cloned conversation"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Conversation not found"; readonly contentType: "application/json"; }; readonly 409: { readonly description: "Conversation already exists"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to clone conversation"; readonly contentType: "application/json"; }; }; }; readonly updateWorkingMemory: { readonly method: "post"; readonly path: "/api/memory/conversations/:conversationId/working-memory"; readonly summary: "Update working memory"; readonly description: "Update working memory content for a conversation."; readonly tags: readonly ["Memory"]; readonly operationId: "updateMemoryWorkingMemory"; readonly responses: { readonly 200: { readonly description: "Successfully updated working memory"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request body"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Conversation not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to update working memory"; readonly contentType: "application/json"; }; }; }; readonly deleteMessages: { readonly method: "post"; readonly path: "/api/memory/messages/delete"; readonly summary: "Delete messages"; readonly description: "Delete specific messages from memory storage."; readonly tags: readonly ["Memory"]; readonly operationId: "deleteMemoryMessages"; readonly responses: { readonly 200: { readonly description: "Successfully deleted messages"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request body"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to delete messages"; readonly contentType: "application/json"; }; }; }; readonly searchMemory: { readonly method: "get"; readonly path: "/api/memory/search"; readonly summary: "Search memory"; readonly description: "Search memory using semantic search when available."; readonly tags: readonly ["Memory"]; readonly operationId: "searchMemory"; readonly responses: { readonly 200: { readonly description: "Successfully searched memory"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid query parameters"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to search memory"; readonly contentType: "application/json"; }; }; }; }; /** * All route definitions combined */ declare const ALL_ROUTES: { readonly listMemoryUsers: { readonly method: "get"; readonly path: "/observability/memory/users"; readonly summary: "List memory users"; readonly description: "Retrieve all users who have associated memory records. Supports optional filtering by agent and pagination controls."; readonly tags: readonly ["Observability", "Memory"]; readonly operationId: "listMemoryUsers"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved users"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve memory users due to server error"; readonly contentType: "application/json"; }; }; }; readonly listMemoryConversations: { readonly method: "get"; readonly path: "/observability/memory/conversations"; readonly summary: "List memory conversations"; readonly description: "Retrieve conversations stored in memory with optional filtering by agent or user. Results are paginated and sorted by last update by default."; readonly tags: readonly ["Observability", "Memory"]; readonly operationId: "listObservabilityMemoryConversations"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved conversations"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve conversations due to server error"; readonly contentType: "application/json"; }; }; }; readonly getMemoryConversationMessages: { readonly method: "get"; readonly path: "/observability/memory/conversations/:conversationId/messages"; readonly summary: "Get conversation messages"; readonly description: "Fetch the messages for a specific conversation stored in memory. Supports optional role filtering and windowing via before/after parameters."; readonly tags: readonly ["Observability", "Memory"]; readonly operationId: "getMemoryConversationMessages"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved messages"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Conversation not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve messages due to server error"; readonly contentType: "application/json"; }; }; }; readonly getConversationSteps: { readonly method: "get"; readonly path: "/observability/memory/conversations/:conversationId/steps"; readonly summary: "Get conversation steps"; readonly description: "Fetch the recorded agent steps for a specific conversation stored in memory."; readonly tags: readonly ["Observability", "Memory"]; readonly operationId: "getConversationSteps"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved conversation steps"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Conversation not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve conversation steps due to server error"; readonly contentType: "application/json"; }; }; }; readonly getWorkingMemory: { readonly method: "get"; readonly path: "/observability/memory/working-memory"; readonly summary: "Get working memory"; readonly description: "Retrieve working memory content for a conversation or user. Specify the scope and relevant identifiers in query parameters."; readonly tags: readonly ["Observability", "Memory"]; readonly operationId: "getWorkingMemory"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved working memory"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Working memory not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve working memory due to server error"; readonly contentType: "application/json"; }; }; }; readonly setupObservability: { readonly method: "post"; readonly path: "/setup-observability"; readonly summary: "Configure observability settings"; readonly description: "Updates the .env file with VoltAgent public and secret keys to enable observability features. This allows automatic tracing and monitoring of agent operations."; readonly tags: readonly ["Observability"]; readonly operationId: "setupObservability"; readonly responses: { readonly 200: { readonly description: "Successfully configured observability settings"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request - missing publicKey or secretKey"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to update .env file"; readonly contentType: "application/json"; }; }; }; readonly getTraces: { readonly method: "get"; readonly path: "/observability/traces"; readonly summary: "List all traces"; readonly description: "Retrieve all OpenTelemetry traces from the observability store. Each trace represents a complete operation with its spans showing the execution flow."; readonly tags: readonly ["Observability"]; readonly operationId: "getTraces"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved traces"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve traces due to server error"; readonly contentType: "application/json"; }; }; }; readonly getTraceById: { readonly method: "get"; readonly path: "/observability/traces/:traceId"; readonly summary: "Get trace by ID"; readonly description: "Retrieve a specific trace and all its spans by trace ID."; readonly tags: readonly ["Observability"]; readonly operationId: "getTraceById"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved trace"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Trace not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve trace due to server error"; readonly contentType: "application/json"; }; }; }; readonly getSpanById: { readonly method: "get"; readonly path: "/observability/spans/:spanId"; readonly summary: "Get span by ID"; readonly description: "Retrieve a specific span by its ID."; readonly tags: readonly ["Observability"]; readonly operationId: "getSpanById"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved span"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Span not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve span due to server error"; readonly contentType: "application/json"; }; }; }; readonly getObservabilityStatus: { readonly method: "get"; readonly path: "/observability/status"; readonly summary: "Get observability status"; readonly description: "Check the status and configuration of the observability system."; readonly tags: readonly ["Observability"]; readonly operationId: "getObservabilityStatus"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved observability status"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve status due to server error"; readonly contentType: "application/json"; }; }; }; readonly getLogsByTraceId: { readonly method: "get"; readonly path: "/observability/traces/:traceId/logs"; readonly summary: "Get logs by trace ID"; readonly description: "Retrieve all logs associated with a specific trace ID."; readonly tags: readonly ["Observability"]; readonly operationId: "getLogsByTraceId"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved logs"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "No logs found for the trace"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve logs due to server error"; readonly contentType: "application/json"; }; }; }; readonly getLogsBySpanId: { readonly method: "get"; readonly path: "/observability/spans/:spanId/logs"; readonly summary: "Get logs by span ID"; readonly description: "Retrieve all logs associated with a specific span ID."; readonly tags: readonly ["Observability"]; readonly operationId: "getLogsBySpanId"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved logs"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "No logs found for the span"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve logs due to server error"; readonly contentType: "application/json"; }; }; }; readonly queryLogs: { readonly method: "get"; readonly path: "/observability/logs"; readonly summary: "Query logs"; readonly description: "Query logs with filters such as severity, time range, trace ID, etc."; readonly tags: readonly ["Observability"]; readonly operationId: "queryLogs"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved logs"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid query parameters"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to query logs due to server error"; readonly contentType: "application/json"; }; }; }; readonly listConversations: { readonly method: "get"; readonly path: "/api/memory/conversations"; readonly summary: "List memory conversations"; readonly description: "Retrieve conversations stored in memory with optional filtering by resource or user."; readonly tags: readonly ["Memory"]; readonly operationId: "listMemoryConversations"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved memory conversations"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid query parameters"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to list memory conversations"; readonly contentType: "application/json"; }; }; }; readonly getConversation: { readonly method: "get"; readonly path: "/api/memory/conversations/:conversationId"; readonly summary: "Get conversation by ID"; readonly description: "Retrieve a single conversation by ID from memory storage."; readonly tags: readonly ["Memory"]; readonly operationId: "getMemoryConversation"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved conversation"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Conversation not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve conversation"; readonly contentType: "application/json"; }; }; }; readonly listMessages: { readonly method: "get"; readonly path: "/api/memory/conversations/:conversationId/messages"; readonly summary: "List conversation messages"; readonly description: "Retrieve messages for a conversation with optional filtering."; readonly tags: readonly ["Memory"]; readonly operationId: "listMemoryConversationMessages"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved conversation messages"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Conversation not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve conversation messages"; readonly contentType: "application/json"; }; }; }; readonly getMemoryWorkingMemory: { readonly method: "get"; readonly path: "/api/memory/conversations/:conversationId/working-memory"; readonly summary: "Get working memory"; readonly description: "Retrieve working memory content for a conversation."; readonly tags: readonly ["Memory"]; readonly operationId: "getMemoryWorkingMemory"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved working memory"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Working memory not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve working memory"; readonly contentType: "application/json"; }; }; }; readonly saveMessages: { readonly method: "post"; readonly path: "/api/memory/save-messages"; readonly summary: "Save messages"; readonly description: "Persist new messages into memory storage."; readonly tags: readonly ["Memory"]; readonly operationId: "saveMemoryMessages"; readonly responses: { readonly 200: { readonly description: "Successfully saved messages"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request body"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to save messages"; readonly contentType: "application/json"; }; }; }; readonly createConversation: { readonly method: "post"; readonly path: "/api/memory/conversations"; readonly summary: "Create conversation"; readonly description: "Create a new conversation in memory storage."; readonly tags: readonly ["Memory"]; readonly operationId: "createMemoryConversation"; readonly responses: { readonly 200: { readonly description: "Successfully created conversation"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request body"; readonly contentType: "application/json"; }; readonly 409: { readonly description: "Conversation already exists"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to create conversation"; readonly contentType: "application/json"; }; }; }; readonly updateConversation: { readonly method: "patch"; readonly path: "/api/memory/conversations/:conversationId"; readonly summary: "Update conversation"; readonly description: "Update an existing conversation in memory storage."; readonly tags: readonly ["Memory"]; readonly operationId: "updateMemoryConversation"; readonly responses: { readonly 200: { readonly description: "Successfully updated conversation"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request body"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Conversation not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to update conversation"; readonly contentType: "application/json"; }; }; }; readonly deleteConversation: { readonly method: "delete"; readonly path: "/api/memory/conversations/:conversationId"; readonly summary: "Delete conversation"; readonly description: "Delete a conversation and its messages from memory storage."; readonly tags: readonly ["Memory"]; readonly operationId: "deleteMemoryConversation"; readonly responses: { readonly 200: { readonly description: "Successfully deleted conversation"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Conversation not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to delete conversation"; readonly contentType: "application/json"; }; }; }; readonly cloneConversation: { readonly method: "post"; readonly path: "/api/memory/conversations/:conversationId/clone"; readonly summary: "Clone conversation"; readonly description: "Create a copy of a conversation, optionally including messages."; readonly tags: readonly ["Memory"]; readonly operationId: "cloneMemoryConversation"; readonly responses: { readonly 200: { readonly description: "Successfully cloned conversation"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Conversation not found"; readonly contentType: "application/json"; }; readonly 409: { readonly description: "Conversation already exists"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to clone conversation"; readonly contentType: "application/json"; }; }; }; readonly updateWorkingMemory: { readonly method: "post"; readonly path: "/api/memory/conversations/:conversationId/working-memory"; readonly summary: "Update working memory"; readonly description: "Update working memory content for a conversation."; readonly tags: readonly ["Memory"]; readonly operationId: "updateMemoryWorkingMemory"; readonly responses: { readonly 200: { readonly description: "Successfully updated working memory"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request body"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Conversation not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to update working memory"; readonly contentType: "application/json"; }; }; }; readonly deleteMessages: { readonly method: "post"; readonly path: "/api/memory/messages/delete"; readonly summary: "Delete messages"; readonly description: "Delete specific messages from memory storage."; readonly tags: readonly ["Memory"]; readonly operationId: "deleteMemoryMessages"; readonly responses: { readonly 200: { readonly description: "Successfully deleted messages"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request body"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to delete messages"; readonly contentType: "application/json"; }; }; }; readonly searchMemory: { readonly method: "get"; readonly path: "/api/memory/search"; readonly summary: "Search memory"; readonly description: "Search memory using semantic search when available."; readonly tags: readonly ["Memory"]; readonly operationId: "searchMemory"; readonly responses: { readonly 200: { readonly description: "Successfully searched memory"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid query parameters"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to search memory"; readonly contentType: "application/json"; }; }; }; readonly checkUpdates: { readonly method: "get"; readonly path: "/updates"; readonly summary: "Check for updates"; readonly description: "Check for available package updates in the VoltAgent ecosystem."; readonly tags: readonly ["System"]; readonly operationId: "checkUpdates"; readonly responses: { readonly 200: { readonly description: "Successfully checked for available updates"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to check updates due to server error"; readonly contentType: "application/json"; }; }; }; readonly installUpdates: { readonly method: "post"; readonly path: "/updates"; readonly summary: "Install updates"; readonly description: "Install available updates for VoltAgent packages. Can install a single package or all packages."; readonly tags: readonly ["System"]; readonly operationId: "installUpdates"; readonly responses: { readonly 200: { readonly description: "Successfully installed requested updates"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid update request or package not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to install updates due to server error"; readonly contentType: "application/json"; }; }; }; readonly installSingleUpdate: { readonly method: "post"; readonly path: "/updates/:packageName"; readonly summary: "Install single package update"; readonly description: "Install update for a specific VoltAgent package. The package manager is automatically detected based on lock files (pnpm-lock.yaml, yarn.lock, package-lock.json, or bun.lockb)."; readonly tags: readonly ["System"]; readonly operationId: "installSingleUpdate"; readonly responses: { readonly 200: { readonly description: "Successfully installed package update"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid package name or package not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to install update due to server error"; readonly contentType: "application/json"; }; }; }; readonly getLogs: { readonly method: "get"; readonly path: "/api/logs"; readonly summary: "Get logs with filters"; readonly description: "Retrieve system logs with optional filtering by level, agent ID, workflow ID, conversation ID, execution ID, and time range."; readonly tags: readonly ["Logging"]; readonly operationId: "getLogs"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved filtered log entries"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid filter parameters"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve logs due to server error"; readonly contentType: "application/json"; }; }; }; readonly listTools: { readonly method: "get"; readonly path: "/tools"; readonly summary: "List all tools"; readonly description: "Retrieve a list of all tools registered across agents. Includes name, description, parameters, and owning agent metadata."; readonly tags: readonly ["Tools"]; readonly operationId: "listTools"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved list of tools"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve tools due to server error"; readonly contentType: "application/json"; }; }; }; readonly executeTool: { readonly method: "post"; readonly path: "/tools/:name/execute"; readonly summary: "Execute a tool directly"; readonly description: "Execute a registered tool directly via HTTP without going through the agent chat flow. Accepts tool input and optional context metadata."; readonly tags: readonly ["Tools"]; readonly operationId: "executeTool"; readonly responses: { readonly 200: { readonly description: "Successfully executed tool"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request or tool input"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Tool not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to execute tool due to server error"; readonly contentType: "application/json"; }; }; }; readonly listWorkflows: { readonly method: "get"; readonly path: "/workflows"; readonly summary: "List all registered workflows"; readonly description: "Retrieve a list of all workflows registered in the system. Each workflow includes its ID, name, purpose, step count, and current status. Use this endpoint to discover available workflows and understand their capabilities before execution."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "listWorkflows"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved list of all registered workflows"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve workflows due to server error"; readonly contentType: "application/json"; }; }; }; readonly getWorkflow: { readonly method: "get"; readonly path: "/workflows/:id"; readonly summary: "Get workflow by ID"; readonly description: "Retrieve detailed information about a specific workflow by its ID."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "getWorkflow"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved workflow details"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve workflow due to server error"; readonly contentType: "application/json"; }; }; }; readonly listWorkflowRuns: { readonly method: "get"; readonly path: "/workflows/executions"; readonly summary: "List workflow executions (query-driven)"; readonly description: "Retrieve workflow executions using query params (workflowId, status, from, to, limit, offset, userId) without path parameters. You can also filter metadata with `metadata` (JSON object) or key-based params such as `metadata.tenantId=acme`."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "listWorkflowRuns"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved workflow executions"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid query parameters"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve workflow executions due to server error"; readonly contentType: "application/json"; }; }; }; readonly executeWorkflow: { readonly method: "post"; readonly path: "/workflows/:id/execute"; readonly summary: "Execute workflow synchronously"; readonly description: "Execute a workflow and wait for it to complete. This endpoint runs the workflow to completion and returns the final result. Use this for workflows that complete quickly or when you need the complete result before proceeding. For long-running workflows, consider using the streaming endpoint instead."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "executeWorkflow"; readonly responses: { readonly 200: { readonly description: "Successfully executed workflow and returned final result"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid workflow input or parameters"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to execute workflow due to server error"; readonly contentType: "application/json"; }; }; }; readonly streamWorkflow: { readonly method: "post"; readonly path: "/workflows/:id/stream"; readonly summary: "Stream workflow execution events"; readonly description: "Execute a workflow and stream real-time events via Server-Sent Events (SSE). The stream remains open during suspension and continues after resume."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "streamWorkflow"; readonly responses: { readonly 200: { readonly description: "Successfully established SSE stream for workflow execution"; readonly contentType: "text/event-stream"; }; readonly 400: { readonly description: "Invalid workflow input or parameters"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to stream workflow due to server error"; readonly contentType: "application/json"; }; }; }; readonly attachWorkflowStream: { readonly method: "get"; readonly path: "/workflows/:id/executions/:executionId/stream"; readonly summary: "Attach to workflow execution stream"; readonly description: "Attach to an in-progress workflow execution stream and receive real-time events via Server-Sent Events (SSE). Use Last-Event-ID header or `fromSequence` query parameter to replay missed events on reconnect."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "attachWorkflowStream"; readonly responses: { readonly 200: { readonly description: "Successfully attached to workflow SSE stream"; readonly contentType: "text/event-stream"; }; readonly 404: { readonly description: "Workflow or execution not found"; readonly contentType: "application/json"; }; readonly 409: { readonly description: "Workflow execution is not streamable in current state"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to attach workflow stream due to server error"; readonly contentType: "application/json"; }; }; }; readonly suspendWorkflow: { readonly method: "post"; readonly path: "/workflows/:id/executions/:executionId/suspend"; readonly summary: "Suspend workflow execution"; readonly description: "Suspend a running workflow execution at its current step. This allows you to pause long-running workflows, perform external validations, wait for human approval, or handle rate limits. The workflow state is preserved and can be resumed later with the resume endpoint. Only workflows in 'running' state can be suspended."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "suspendWorkflow"; readonly responses: { readonly 200: { readonly description: "Successfully suspended workflow execution"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Workflow is not in a suspendable state"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow or execution not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to suspend workflow due to server error"; readonly contentType: "application/json"; }; }; }; readonly cancelWorkflow: { readonly method: "post"; readonly path: "/workflows/:id/executions/:executionId/cancel"; readonly summary: "Cancel workflow execution"; readonly description: "Cancel a running workflow execution immediately. The workflow stops execution and the state is marked as cancelled. Cancelled workflows cannot be resumed."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "cancelWorkflow"; readonly responses: { readonly 200: { readonly description: "Successfully cancelled workflow execution"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow or execution not found"; readonly contentType: "application/json"; }; readonly 409: { readonly description: "Workflow execution already completed or not cancellable"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to cancel workflow due to server error"; readonly contentType: "application/json"; }; }; }; readonly resumeWorkflow: { readonly method: "post"; readonly path: "/workflows/:id/executions/:executionId/resume"; readonly summary: "Resume suspended workflow"; readonly description: "Resume a previously suspended workflow execution from where it left off. You can optionally provide resume data that will be passed to the suspended step for processing. This is commonly used after human approval, external system responses, or scheduled resumptions. The workflow continues execution and returns the final result."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "resumeWorkflow"; readonly responses: { readonly 200: { readonly description: "Successfully resumed workflow execution and returned final result"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Workflow is not in a suspended state"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow or execution not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to resume workflow due to server error"; readonly contentType: "application/json"; }; }; }; readonly replayWorkflow: { readonly method: "post"; readonly path: "/workflows/:id/executions/:executionId/replay"; readonly summary: "Replay workflow execution from a step"; readonly description: "Create a deterministic replay execution from a historical workflow run and selected step. Replay creates a new execution ID and preserves the original run history."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "replayWorkflow"; readonly responses: { readonly 200: { readonly description: "Successfully replayed workflow execution"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid replay parameters"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow or source execution not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to replay workflow due to server error"; readonly contentType: "application/json"; }; }; }; readonly getWorkflowState: { readonly method: "get"; readonly path: "/workflows/:id/executions/:executionId/state"; readonly summary: "Get workflow execution state"; readonly description: "Retrieve the workflow execution state including input data, suspension information, context, and current status. This is essential for understanding the current state of a workflow execution, especially for suspended workflows that need to be resumed with the correct context."; readonly tags: readonly ["Workflow Management"]; readonly operationId: "getWorkflowState"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved workflow execution state"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Workflow or execution not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve workflow state due to server error"; readonly contentType: "application/json"; }; }; }; readonly listAgents: { readonly method: "get"; readonly path: "/agents"; readonly summary: "List all registered agents"; readonly description: "Retrieve a comprehensive list of all agents registered in the system. Each agent includes its configuration, status, model information, tools, sub-agents, and memory settings. Use this endpoint to discover available agents and their capabilities."; readonly tags: readonly ["Agent Management"]; readonly operationId: "listAgents"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved list of all registered agents"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve agents due to server error"; readonly contentType: "application/json"; }; }; }; readonly getAgent: { readonly method: "get"; readonly path: "/agents/:id"; readonly summary: "Get agent by ID"; readonly description: "Retrieve detailed information about a specific agent by its ID."; readonly tags: readonly ["Agent Management"]; readonly operationId: "getAgent"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved agent details"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve agent due to server error"; readonly contentType: "application/json"; }; }; }; readonly generateText: { readonly method: "post"; readonly path: "/agents/:id/text"; readonly summary: "Generate text response"; readonly description: "Generate a text response from an agent using the provided conversation history. This endpoint processes messages synchronously and returns the complete response once generation is finished. Use this for traditional request-response interactions where you need the full response before proceeding."; readonly tags: readonly ["Agent Generation"]; readonly operationId: "generateText"; readonly responses: { readonly 200: { readonly description: "Successfully generated text response from the agent"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request parameters or message format"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to generate text due to server error"; readonly contentType: "application/json"; }; }; }; readonly streamText: { readonly method: "post"; readonly path: "/agents/:id/stream"; readonly summary: "Stream raw text response"; readonly description: "Generate a text response from an agent and stream the raw fullStream data via Server-Sent Events (SSE). This endpoint provides direct access to all stream events including text deltas, tool calls, and tool results. Use this for advanced applications that need full control over stream processing."; readonly tags: readonly ["Agent Generation"]; readonly operationId: "streamText"; readonly responses: { readonly 200: { readonly description: "Successfully established SSE stream for raw text generation"; readonly contentType: "text/event-stream"; }; readonly 400: { readonly description: "Invalid request parameters or message format"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to stream text due to server error"; readonly contentType: "application/json"; }; }; }; readonly chatStream: { readonly method: "post"; readonly path: "/agents/:id/chat"; readonly summary: "Stream chat messages"; readonly description: "Generate a text response from an agent and stream it as UI messages via Server-Sent Events (SSE). This endpoint is optimized for chat interfaces and works seamlessly with the AI SDK's useChat hook. It provides a high-level stream format with automatic handling of messages, tool calls, and metadata."; readonly tags: readonly ["Agent Generation"]; readonly operationId: "chatStream"; readonly responses: { readonly 200: { readonly description: "Successfully established SSE stream for chat generation"; readonly contentType: "text/event-stream"; }; readonly 400: { readonly description: "Invalid request parameters or message format"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to stream chat due to server error"; readonly contentType: "application/json"; }; }; }; readonly resumeChatStream: { readonly method: "get"; readonly path: "/agents/:id/chat/:conversationId/stream"; readonly summary: "Resume chat stream"; readonly description: "Resume an in-progress UI message stream for a chat conversation. Requires userId query parameter. Returns 204 if no active stream is found."; readonly tags: readonly ["Agent Generation"]; readonly operationId: "resumeChatStream"; readonly responses: { readonly 200: { readonly description: "Successfully resumed SSE stream for chat generation"; readonly contentType: "text/event-stream"; }; readonly 400: { readonly description: "Missing or invalid userId"; readonly contentType: "application/json"; }; readonly 204: { readonly description: "No active stream found for the conversation"; readonly contentType: "text/plain"; }; readonly 404: { readonly description: "Resumable streams not configured"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to resume chat stream due to server error"; readonly contentType: "application/json"; }; }; }; readonly generateObject: { readonly method: "post"; readonly path: "/agents/:id/object"; readonly summary: "Generate structured object"; readonly description: "Generate a structured object that conforms to a specified JSON schema. This endpoint is perfect for extracting structured data from unstructured input, generating form data, or creating API responses with guaranteed structure. The agent will ensure the output matches the provided schema exactly."; readonly tags: readonly ["Agent Generation"]; readonly operationId: "generateObject"; readonly responses: { readonly 200: { readonly description: "Successfully generated structured object matching the provided schema"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request parameters, message format, or schema"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to generate object due to server error"; readonly contentType: "application/json"; }; }; }; readonly streamObject: { readonly method: "post"; readonly path: "/agents/:id/stream-object"; readonly summary: "Stream structured object generation"; readonly description: "Generate a structured object and stream partial updates via Server-Sent Events (SSE). This allows you to display incremental object construction in real-time, useful for complex object generation where you want to show progress. Events may contain partial object updates or the complete final object, depending on the agent's implementation."; readonly tags: readonly ["Agent Generation"]; readonly operationId: "streamObject"; readonly responses: { readonly 200: { readonly description: "Successfully established SSE stream for object generation"; readonly contentType: "text/event-stream"; }; readonly 400: { readonly description: "Invalid request parameters, message format, or schema"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to stream object due to server error"; readonly contentType: "application/json"; }; }; }; readonly getAgentHistory: { readonly method: "get"; readonly path: "/agents/:id/history"; readonly summary: "Get agent history"; readonly description: "Retrieve the execution history for a specific agent with pagination support."; readonly tags: readonly ["Agent Management"]; readonly operationId: "getAgentHistory"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved agent execution history"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve agent history due to server error"; readonly contentType: "application/json"; }; }; }; readonly getWorkspace: { readonly method: "get"; readonly path: "/agents/:id/workspace"; readonly summary: "Get agent workspace info"; readonly description: "Retrieve workspace configuration metadata for an agent, including capabilities (filesystem, sandbox, search, skills)."; readonly tags: readonly ["Agent Workspace"]; readonly operationId: "getAgentWorkspace"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved workspace info"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent or workspace not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve workspace info due to server error"; readonly contentType: "application/json"; }; }; }; readonly listWorkspaceFiles: { readonly method: "get"; readonly path: "/agents/:id/workspace/ls"; readonly summary: "List workspace files"; readonly description: "List files and directories under a workspace path."; readonly tags: readonly ["Agent Workspace"]; readonly operationId: "listWorkspaceFiles"; readonly responses: { readonly 200: { readonly description: "Successfully listed workspace files"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request parameters"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent or workspace not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to list workspace files due to server error"; readonly contentType: "application/json"; }; }; }; readonly readWorkspaceFile: { readonly method: "get"; readonly path: "/agents/:id/workspace/read"; readonly summary: "Read workspace file"; readonly description: "Read a file from the workspace filesystem."; readonly tags: readonly ["Agent Workspace"]; readonly operationId: "readWorkspaceFile"; readonly responses: { readonly 200: { readonly description: "Successfully read workspace file"; readonly contentType: "application/json"; }; readonly 400: { readonly description: "Invalid request parameters"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent or workspace not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to read workspace file due to server error"; readonly contentType: "application/json"; }; }; }; readonly listWorkspaceSkills: { readonly method: "get"; readonly path: "/agents/:id/workspace/skills"; readonly summary: "List workspace skills"; readonly description: "List available workspace skills for an agent."; readonly tags: readonly ["Agent Workspace"]; readonly operationId: "listWorkspaceSkills"; readonly responses: { readonly 200: { readonly description: "Successfully listed workspace skills"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent, workspace, or skills not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to list workspace skills due to server error"; readonly contentType: "application/json"; }; }; }; readonly getWorkspaceSkill: { readonly method: "get"; readonly path: "/agents/:id/workspace/skills/:skillId"; readonly summary: "Get workspace skill"; readonly description: "Retrieve a specific workspace skill including its instructions."; readonly tags: readonly ["Agent Workspace"]; readonly operationId: "getWorkspaceSkill"; readonly responses: { readonly 200: { readonly description: "Successfully retrieved workspace skill"; readonly contentType: "application/json"; }; readonly 404: { readonly description: "Agent, workspace, or skill not found"; readonly contentType: "application/json"; }; readonly 500: { readonly description: "Failed to retrieve workspace skill due to server error"; readonly contentType: "application/json"; }; }; }; }; /** * Helper to get all routes as an array */ declare function getAllRoutesArray(): RouteDefinition[]; /** * MCP route definitions */ declare const MCP_ROUTES: { listServers: { method: "get"; path: string; summary: string; description: string; tags: string[]; operationId: string; responses: { 200: { description: string; contentType: string; }; 500: { description: string; contentType: string; }; }; }; getServer: { method: "get"; path: string; summary: string; description: string; tags: string[]; operationId: string; responses: { 200: { description: string; contentType: string; }; 404: { description: string; contentType: string; }; }; }; listTools: { method: "get"; path: string; summary: string; description: string; tags: string[]; operationId: string; responses: { 200: { description: string; contentType: string; }; 404: { description: string; contentType: string; }; 500: { description: string; contentType: string; }; }; }; invokeTool: { method: "post"; path: string; summary: string; description: string; tags: string[]; operationId: string; responses: { 200: { description: string; contentType: string; }; 404: { description: string; contentType: string; }; 500: { description: string; contentType: string; }; }; }; setLogLevel: { method: "post"; path: string; summary: string; description: string; tags: string[]; operationId: string; responses: { 200: { description: string; contentType: string; }; 404: { description: string; contentType: string; }; 500: { description: string; contentType: string; }; }; }; listPrompts: { method: "get"; path: string; summary: string; description: string; tags: string[]; operationId: string; responses: { 200: { description: string; contentType: string; }; 404: { description: string; contentType: string; }; 500: { description: string; contentType: string; }; }; }; getPrompt: { method: "get"; path: string; summary: string; description: string; tags: string[]; operationId: string; responses: { 200: { description: string; contentType: string; }; 400: { description: string; contentType: string; }; 404: { description: string; contentType: string; }; 500: { description: string; contentType: string; }; }; }; listResources: { method: "get"; path: string; summary: string; description: string; tags: string[]; operationId: string; responses: { 200: { description: string; contentType: string; }; 404: { description: string; contentType: string; }; 500: { description: string; contentType: string; }; }; }; readResource: { method: "get"; path: string; summary: string; description: string; tags: string[]; operationId: string; responses: { 200: { description: string; contentType: string; }; 400: { description: string; contentType: string; }; 404: { description: string; contentType: string; }; 500: { description: string; contentType: string; }; }; }; listResourceTemplates: { method: "get"; path: string; summary: string; description: string; tags: string[]; operationId: string; responses: { 200: { description: string; contentType: string; }; 404: { description: string; contentType: string; }; 500: { description: string; contentType: string; }; }; }; }; declare const A2A_ROUTES: { agentCard: { method: "get"; path: string; summary: string; description: string; tags: string[]; operationId: string; responses: { 200: { description: string; contentType: string; }; 404: { description: string; contentType: string; }; 400: { description: string; contentType: string; }; }; }; jsonRpc: { method: "post"; path: string; summary: string; description: string; tags: string[]; operationId: string; responses: { 200: { description: string; contentType: string; }; 400: { description: string; contentType: string; }; 404: { description: string; contentType: string; }; }; }; }; /** * Helper to get routes by tag */ declare function getRoutesByTag(tag: string): RouteDefinition[]; /** * Framework-agnostic response types for server handlers */ interface SuccessResponse { success: true; data: T; } interface ErrorResponse { success: false; error: string; httpStatus?: number; code?: string; name?: string; } type ApiResponse = SuccessResponse | ErrorResponse; type StreamResponse = Response | ReadableStream | ErrorResponse; declare function isErrorResponse(response: any): response is ErrorResponse; declare function isSuccessResponse(response: any): response is SuccessResponse; interface MemoryUserSummary { userId: string; conversationCount: number; agents: MemoryUserAgentSummary[]; lastInteractionAt?: string; } interface MemoryUserAgentSummary { agentId: string; agentName?: string; conversationCount: number; lastInteractionAt?: string; } interface MemoryConversationSummary { id: string; userId: string; agentId: string; agentName?: string; title: string; createdAt: string; updatedAt: string; metadata?: Record; } interface MemoryConversationMessagesResult { conversation: MemoryConversationSummary; messages: UIMessage[]; } interface MemoryConversationStepsResult { conversation: MemoryConversationSummary; steps: ConversationStepRecord[]; } interface MemoryWorkingMemoryResult { agentId: string | null; agentName?: string | null; scope: "conversation" | "user"; content: string | null; format: "markdown" | "json" | null; template?: string | null; } interface MemoryListUsersQuery { agentId?: string; limit?: number; offset?: number; search?: string; } interface MemoryListConversationsQuery { agentId?: string; userId?: string; limit?: number; offset?: number; orderBy?: "created_at" | "updated_at" | "title"; orderDirection?: "ASC" | "DESC"; } interface MemoryGetMessagesQuery { agentId?: string; limit?: number; before?: Date; after?: Date; roles?: string[]; } interface MemoryGetStepsQuery { agentId?: string; limit?: number; operationId?: string; } /** * Handler for listing all agents * Returns agent data array */ declare function handleGetAgents(deps: ServerProviderDeps, logger: Logger): Promise; /** * Handler for generating text * Returns generated text data */ declare function handleGenerateText(agentId: string, body: any, deps: ServerProviderDeps, logger: Logger, signal?: AbortSignal, requestHeaders?: Headers | Record): Promise; /** * Handler for streaming text generation with raw fullStream * Returns raw stream data via SSE */ declare function handleStreamText(agentId: string, body: any, deps: ServerProviderDeps, logger: Logger, signal?: AbortSignal, requestHeaders?: Headers | Record): Promise; /** * Handler for streaming chat messages * Returns AI SDK UI Message Stream Response */ declare function handleChatStream(agentId: string, body: any, deps: ServerProviderDeps, logger: Logger, signal?: AbortSignal, requestHeaders?: Headers | Record): Promise; /** * Handler for resuming chat streams * Returns SSE stream if active, or 204 if no stream is active */ declare function handleResumeChatStream(agentId: string, conversationId: string, deps: ServerProviderDeps, logger: Logger, userId?: string): Promise; /** * Handler for generating objects * Returns generated object data */ declare function handleGenerateObject(agentId: string, body: any, deps: ServerProviderDeps, logger: Logger, signal?: AbortSignal, requestHeaders?: Headers | Record): Promise; /** * Handler for streaming object generation * Returns AI SDK Response or error */ declare function handleStreamObject(agentId: string, body: any, deps: ServerProviderDeps, logger: Logger, signal?: AbortSignal, requestHeaders?: Headers | Record): Promise; /** * Handler for getting a single agent by ID * Returns agent data */ declare function handleGetAgent(agentId: string, deps: ServerProviderDeps, logger: Logger): Promise; /** * Handler for getting agent history * Returns agent history data */ declare function handleGetAgentHistory(agentId: string, page: number, limit: number, deps: ServerProviderDeps, logger: Logger): Promise; /** * Handler for getting agent workspace info */ declare function handleGetAgentWorkspaceInfo(agentId: string, deps: ServerProviderDeps, logger: Logger): Promise; /** * Handler for listing workspace files */ declare function handleListAgentWorkspaceFiles(agentId: string, options: { path?: string; }, deps: ServerProviderDeps, logger: Logger): Promise; /** * Handler for reading a workspace file */ declare function handleReadAgentWorkspaceFile(agentId: string, options: { path?: string; offset?: unknown; limit?: unknown; }, deps: ServerProviderDeps, logger: Logger): Promise; /** * Handler for listing workspace skills */ declare function handleListAgentWorkspaceSkills(agentId: string, options: { refresh?: unknown; }, deps: ServerProviderDeps, logger: Logger): Promise; /** * Handler for reading a workspace skill */ declare function handleGetAgentWorkspaceSkill(agentId: string, skillId: string, deps: ServerProviderDeps, logger: Logger): Promise; /** * Log filter options for querying logs */ interface LogFilterOptions { limit?: number; level?: LogLevel; agentId?: string; conversationId?: string; workflowId?: string; executionId?: string; since?: string | Date; until?: string | Date; } interface LogHandlerResponse { logs: LogEntry[]; total: number; query: LogFilter; } /** * Handler for getting logs with filters * Returns filtered log entries */ declare function handleGetLogs(options: LogFilterOptions, _deps: ServerProviderDeps, logger: Logger): Promise>; type ZodNamespace = typeof z; declare function createServerCoreSchemas(zod?: ZodNamespace): { ParamsSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; AgentParamsSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; WorkflowParamsSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; WorkflowExecutionParamsSchema: z.ZodObject<{ id: z.ZodString; executionId: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; executionId: string; }, { id: string; executionId: string; }>; ErrorSchema: z.ZodObject<{ success: z.ZodLiteral; error: z.ZodString; }, "strip", z.ZodTypeAny, { success: false; error: string; }, { success: false; error: string; }>; SubAgentResponseSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; AgentResponseSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodArray; subAgents: z.ZodOptional>; memory: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; memory: z.ZodOptional; isTelemetryEnabled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodArray; subAgents: z.ZodOptional>; memory: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; memory: z.ZodOptional; isTelemetryEnabled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodArray; subAgents: z.ZodOptional>; memory: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; memory: z.ZodOptional; isTelemetryEnabled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; AgentListSchema: z.ZodArray; subAgents: z.ZodOptional>; memory: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; memory: z.ZodOptional; isTelemetryEnabled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodArray; subAgents: z.ZodOptional>; memory: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; memory: z.ZodOptional; isTelemetryEnabled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodArray; subAgents: z.ZodOptional>; memory: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; memory: z.ZodOptional; isTelemetryEnabled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>, "many">; WorkspaceInfoSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; scope: z.ZodOptional>; capabilities: z.ZodObject<{ filesystem: z.ZodBoolean; sandbox: z.ZodBoolean; search: z.ZodBoolean; skills: z.ZodBoolean; }, "strip", z.ZodTypeAny, { search: boolean; skills: boolean; filesystem: boolean; sandbox: boolean; }, { search: boolean; skills: boolean; filesystem: boolean; sandbox: boolean; }>; }, "strip", z.ZodTypeAny, { id: string; capabilities: { search: boolean; skills: boolean; filesystem: boolean; sandbox: boolean; }; name?: string | undefined; scope?: "conversation" | "agent" | undefined; }, { id: string; capabilities: { search: boolean; skills: boolean; filesystem: boolean; sandbox: boolean; }; name?: string | undefined; scope?: "conversation" | "agent" | undefined; }>; WorkspaceFileInfoSchema: z.ZodObject<{ path: z.ZodString; is_dir: z.ZodBoolean; size: z.ZodOptional; modified_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { path: string; is_dir: boolean; size?: number | undefined; modified_at?: string | undefined; }, { path: string; is_dir: boolean; size?: number | undefined; modified_at?: string | undefined; }>; WorkspaceFileListSchema: z.ZodObject<{ path: z.ZodString; entries: z.ZodArray; modified_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { path: string; is_dir: boolean; size?: number | undefined; modified_at?: string | undefined; }, { path: string; is_dir: boolean; size?: number | undefined; modified_at?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { entries: { path: string; is_dir: boolean; size?: number | undefined; modified_at?: string | undefined; }[]; path: string; }, { entries: { path: string; is_dir: boolean; size?: number | undefined; modified_at?: string | undefined; }[]; path: string; }>; WorkspaceReadFileSchema: z.ZodObject<{ path: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; content: string; }, { path: string; content: string; }>; WorkspaceSkillMetadataSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; version: z.ZodOptional; tags: z.ZodOptional>; path: z.ZodString; root: z.ZodString; references: z.ZodOptional>; scripts: z.ZodOptional>; assets: z.ZodOptional>; }, "strip", z.ZodTypeAny, { path: string; name: string; id: string; root: string; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }, { path: string; name: string; id: string; root: string; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }>; WorkspaceSkillListItemSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; version: z.ZodOptional; tags: z.ZodOptional>; path: z.ZodString; root: z.ZodString; references: z.ZodOptional>; scripts: z.ZodOptional>; assets: z.ZodOptional>; } & { active: z.ZodBoolean; }, "strip", z.ZodTypeAny, { path: string; name: string; id: string; root: string; active: boolean; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }, { path: string; name: string; id: string; root: string; active: boolean; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }>; WorkspaceSkillListSchema: z.ZodObject<{ skills: z.ZodArray; version: z.ZodOptional; tags: z.ZodOptional>; path: z.ZodString; root: z.ZodString; references: z.ZodOptional>; scripts: z.ZodOptional>; assets: z.ZodOptional>; } & { active: z.ZodBoolean; }, "strip", z.ZodTypeAny, { path: string; name: string; id: string; root: string; active: boolean; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }, { path: string; name: string; id: string; root: string; active: boolean; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { skills: { path: string; name: string; id: string; root: string; active: boolean; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }[]; }, { skills: { path: string; name: string; id: string; root: string; active: boolean; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }[]; }>; WorkspaceSkillSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; version: z.ZodOptional; tags: z.ZodOptional>; path: z.ZodString; root: z.ZodString; references: z.ZodOptional>; scripts: z.ZodOptional>; assets: z.ZodOptional>; } & { instructions: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; name: string; id: string; root: string; instructions: string; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }, { path: string; name: string; id: string; root: string; instructions: string; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }>; BasicJsonSchema: z.ZodObject<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; GenerateOptionsSchema: z.ZodObject<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>; TextRequestSchema: z.ZodObject<{ input: z.ZodUnion<[z.ZodString, z.ZodArray]>; options: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { input: string | any[]; options?: z.objectOutputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { input: string | any[]; options?: z.objectInputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough"> | undefined; }>; TextResponseSchema: z.ZodObject<{ success: z.ZodLiteral; data: z.ZodUnion<[z.ZodString, z.ZodObject<{ text: z.ZodString; usage: z.ZodOptional; reasoningTokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { promptTokens: number; completionTokens: number; totalTokens: number; cachedInputTokens?: number | undefined; reasoningTokens?: number | undefined; }, { promptTokens: number; completionTokens: number; totalTokens: number; cachedInputTokens?: number | undefined; reasoningTokens?: number | undefined; }>>; finishReason: z.ZodOptional; toolCalls: z.ZodOptional>; toolResults: z.ZodOptional>; output: z.ZodOptional; feedback: z.ZodOptional; expiresAt: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; provided: z.ZodOptional; providedAt: z.ZodOptional; feedbackId: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; traceId: string; url: string; feedbackConfig?: z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough"> | null | undefined; expiresAt?: string | undefined; tokenId?: string | undefined; provided?: boolean | undefined; providedAt?: string | undefined; feedbackId?: string | undefined; }, { key: string; traceId: string; url: string; feedbackConfig?: z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough"> | null | undefined; expiresAt?: string | undefined; tokenId?: string | undefined; provided?: boolean | undefined; providedAt?: string | undefined; feedbackId?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { text: string; output?: any; feedback?: { key: string; traceId: string; url: string; feedbackConfig?: z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough"> | null | undefined; expiresAt?: string | undefined; tokenId?: string | undefined; provided?: boolean | undefined; providedAt?: string | undefined; feedbackId?: string | undefined; } | null | undefined; toolCalls?: any[] | undefined; toolResults?: any[] | undefined; finishReason?: string | undefined; usage?: { promptTokens: number; completionTokens: number; totalTokens: number; cachedInputTokens?: number | undefined; reasoningTokens?: number | undefined; } | undefined; }, { text: string; output?: any; feedback?: { key: string; traceId: string; url: string; feedbackConfig?: z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough"> | null | undefined; expiresAt?: string | undefined; tokenId?: string | undefined; provided?: boolean | undefined; providedAt?: string | undefined; feedbackId?: string | undefined; } | null | undefined; toolCalls?: any[] | undefined; toolResults?: any[] | undefined; finishReason?: string | undefined; usage?: { promptTokens: number; completionTokens: number; totalTokens: number; cachedInputTokens?: number | undefined; reasoningTokens?: number | undefined; } | undefined; }>]>; }, "strip", z.ZodTypeAny, { success: true; data: string | { text: string; output?: any; feedback?: { key: string; traceId: string; url: string; feedbackConfig?: z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough"> | null | undefined; expiresAt?: string | undefined; tokenId?: string | undefined; provided?: boolean | undefined; providedAt?: string | undefined; feedbackId?: string | undefined; } | null | undefined; toolCalls?: any[] | undefined; toolResults?: any[] | undefined; finishReason?: string | undefined; usage?: { promptTokens: number; completionTokens: number; totalTokens: number; cachedInputTokens?: number | undefined; reasoningTokens?: number | undefined; } | undefined; }; }, { success: true; data: string | { text: string; output?: any; feedback?: { key: string; traceId: string; url: string; feedbackConfig?: z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough"> | null | undefined; expiresAt?: string | undefined; tokenId?: string | undefined; provided?: boolean | undefined; providedAt?: string | undefined; feedbackId?: string | undefined; } | null | undefined; toolCalls?: any[] | undefined; toolResults?: any[] | undefined; finishReason?: string | undefined; usage?: { promptTokens: number; completionTokens: number; totalTokens: number; cachedInputTokens?: number | undefined; reasoningTokens?: number | undefined; } | undefined; }; }>; StreamTextEventSchema: z.ZodObject<{ text: z.ZodOptional; timestamp: z.ZodOptional; type: z.ZodOptional>; done: z.ZodOptional; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { type?: "error" | "text" | "completion" | undefined; error?: string | undefined; text?: string | undefined; done?: boolean | undefined; timestamp?: string | undefined; }, { type?: "error" | "text" | "completion" | undefined; error?: string | undefined; text?: string | undefined; done?: boolean | undefined; timestamp?: string | undefined; }>; ObjectRequestSchema: z.ZodObject<{ input: z.ZodUnion<[z.ZodString, z.ZodArray]>; schema: z.ZodObject<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; options: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { schema: { type: "object"; properties?: Record | null | undefined; required?: string[] | undefined; } & { [k: string]: unknown; }; input: string | any[]; options?: z.objectOutputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { schema: { type: "object"; properties?: Record | null | undefined; required?: string[] | undefined; } & { [k: string]: unknown; }; input: string | any[]; options?: z.objectInputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough"> | undefined; }>; ObjectResponseSchema: z.ZodObject<{ success: z.ZodLiteral; data: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { success: true; data: {} & { [k: string]: unknown; }; }, { success: true; data: {} & { [k: string]: unknown; }; }>; StreamObjectEventSchema: z.ZodAny; WorkflowResponseSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; purpose: z.ZodString; stepsCount: z.ZodNumber; status: z.ZodEnum<["idle", "running", "completed", "error"]>; }, "strip", z.ZodTypeAny, { name: string; status: "error" | "idle" | "running" | "completed"; id: string; purpose: string; stepsCount: number; }, { name: string; status: "error" | "idle" | "running" | "completed"; id: string; purpose: string; stepsCount: number; }>; WorkflowListSchema: z.ZodArray; }, "strip", z.ZodTypeAny, { name: string; status: "error" | "idle" | "running" | "completed"; id: string; purpose: string; stepsCount: number; }, { name: string; status: "error" | "idle" | "running" | "completed"; id: string; purpose: string; stepsCount: number; }>, "many">; WorkflowExecutionRequestSchema: z.ZodObject<{ input: z.ZodAny; options: z.ZodOptional; conversationId: z.ZodOptional; executionId: z.ZodOptional; context: z.ZodOptional; workflowState: z.ZodOptional>; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { conversationId?: string | undefined; userId?: string | undefined; context?: any; metadata?: Record | undefined; executionId?: string | undefined; workflowState?: Record | undefined; }, { conversationId?: string | undefined; userId?: string | undefined; context?: any; metadata?: Record | undefined; executionId?: string | undefined; workflowState?: Record | undefined; }>>; }, "strip", z.ZodTypeAny, { options?: { conversationId?: string | undefined; userId?: string | undefined; context?: any; metadata?: Record | undefined; executionId?: string | undefined; workflowState?: Record | undefined; } | undefined; input?: any; }, { options?: { conversationId?: string | undefined; userId?: string | undefined; context?: any; metadata?: Record | undefined; executionId?: string | undefined; workflowState?: Record | undefined; } | undefined; input?: any; }>; WorkflowExecutionResponseSchema: z.ZodObject<{ success: z.ZodLiteral; data: z.ZodObject<{ executionId: z.ZodString; startAt: z.ZodString; endAt: z.ZodString; status: z.ZodLiteral<"completed">; result: z.ZodAny; }, "strip", z.ZodTypeAny, { status: "completed"; executionId: string; startAt: string; endAt: string; result?: any; }, { status: "completed"; executionId: string; startAt: string; endAt: string; result?: any; }>; }, "strip", z.ZodTypeAny, { success: true; data: { status: "completed"; executionId: string; startAt: string; endAt: string; result?: any; }; }, { success: true; data: { status: "completed"; executionId: string; startAt: string; endAt: string; result?: any; }; }>; WorkflowStreamEventSchema: z.ZodObject<{ type: z.ZodString; executionId: z.ZodString; from: z.ZodString; input: z.ZodOptional; output: z.ZodOptional; status: z.ZodEnum<["pending", "running", "success", "error", "suspended", "cancelled"]>; timestamp: z.ZodString; stepIndex: z.ZodOptional; metadata: z.ZodOptional>>; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; status: "success" | "error" | "running" | "pending" | "suspended" | "cancelled"; from: string; executionId: string; timestamp: string; output?: any; input?: any; metadata?: Record | null | undefined; error?: any; stepIndex?: number | undefined; }, { type: string; status: "success" | "error" | "running" | "pending" | "suspended" | "cancelled"; from: string; executionId: string; timestamp: string; output?: any; input?: any; metadata?: Record | null | undefined; error?: any; stepIndex?: number | undefined; }>; WorkflowSuspendRequestSchema: z.ZodObject<{ reason: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>; WorkflowSuspendResponseSchema: z.ZodObject<{ success: z.ZodLiteral; data: z.ZodObject<{ executionId: z.ZodString; status: z.ZodLiteral<"suspended">; suspension: z.ZodObject<{ suspendedAt: z.ZodString; reason: z.ZodOptional; }, "strip", z.ZodTypeAny, { suspendedAt: string; reason?: string | undefined; }, { suspendedAt: string; reason?: string | undefined; }>; }, "strip", z.ZodTypeAny, { status: "suspended"; executionId: string; suspension: { suspendedAt: string; reason?: string | undefined; }; }, { status: "suspended"; executionId: string; suspension: { suspendedAt: string; reason?: string | undefined; }; }>; }, "strip", z.ZodTypeAny, { success: true; data: { status: "suspended"; executionId: string; suspension: { suspendedAt: string; reason?: string | undefined; }; }; }, { success: true; data: { status: "suspended"; executionId: string; suspension: { suspendedAt: string; reason?: string | undefined; }; }; }>; WorkflowCancelRequestSchema: z.ZodObject<{ reason: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>; WorkflowCancelResponseSchema: z.ZodObject<{ success: z.ZodLiteral; data: z.ZodObject<{ executionId: z.ZodString; status: z.ZodLiteral<"cancelled">; cancelledAt: z.ZodString; reason: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "cancelled"; executionId: string; cancelledAt: string; reason?: string | undefined; }, { status: "cancelled"; executionId: string; cancelledAt: string; reason?: string | undefined; }>; }, "strip", z.ZodTypeAny, { success: true; data: { status: "cancelled"; executionId: string; cancelledAt: string; reason?: string | undefined; }; }, { success: true; data: { status: "cancelled"; executionId: string; cancelledAt: string; reason?: string | undefined; }; }>; WorkflowResumeRequestSchema: z.ZodOptional; options: z.ZodOptional; }, "strip", z.ZodTypeAny, { stepId?: string | undefined; }, { stepId?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { options?: { stepId?: string | undefined; } | undefined; resumeData?: any; }, { options?: { stepId?: string | undefined; } | undefined; resumeData?: any; }>>; WorkflowResumeResponseSchema: z.ZodObject<{ success: z.ZodLiteral; data: z.ZodObject<{ executionId: z.ZodString; startAt: z.ZodString; endAt: z.ZodOptional; status: z.ZodString; result: z.ZodAny; }, "strip", z.ZodTypeAny, { status: string; executionId: string; startAt: string; endAt?: string | undefined; result?: any; }, { status: string; executionId: string; startAt: string; endAt?: string | undefined; result?: any; }>; }, "strip", z.ZodTypeAny, { success: true; data: { status: string; executionId: string; startAt: string; endAt?: string | undefined; result?: any; }; }, { success: true; data: { status: string; executionId: string; startAt: string; endAt?: string | undefined; result?: any; }; }>; WorkflowReplayRequestSchema: z.ZodObject<{ stepId: z.ZodString; inputData: z.ZodOptional; resumeData: z.ZodOptional; workflowStateOverride: z.ZodOptional>; }, "strip", z.ZodTypeAny, { stepId: string; resumeData?: any; inputData?: any; workflowStateOverride?: Record | undefined; }, { stepId: string; resumeData?: any; inputData?: any; workflowStateOverride?: Record | undefined; }>; WorkflowReplayResponseSchema: z.ZodObject<{ success: z.ZodLiteral; data: z.ZodObject<{ executionId: z.ZodString; startAt: z.ZodString; endAt: z.ZodOptional; status: z.ZodString; result: z.ZodAny; }, "strip", z.ZodTypeAny, { status: string; executionId: string; startAt: string; endAt?: string | undefined; result?: any; }, { status: string; executionId: string; startAt: string; endAt?: string | undefined; result?: any; }>; }, "strip", z.ZodTypeAny, { success: true; data: { status: string; executionId: string; startAt: string; endAt?: string | undefined; result?: any; }; }, { success: true; data: { status: string; executionId: string; startAt: string; endAt?: string | undefined; result?: any; }; }>; }; declare const ParamsSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; declare const AgentParamsSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; declare const WorkflowParamsSchema: z.ZodObject<{ id: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; }, { id: string; }>; declare const WorkflowExecutionParamsSchema: z.ZodObject<{ id: z.ZodString; executionId: z.ZodString; }, "strip", z.ZodTypeAny, { id: string; executionId: string; }, { id: string; executionId: string; }>; declare const ErrorSchema: z.ZodObject<{ success: z.ZodLiteral; error: z.ZodString; }, "strip", z.ZodTypeAny, { success: false; error: string; }, { success: false; error: string; }>; declare const SubAgentResponseSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; declare const AgentResponseSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodArray; subAgents: z.ZodOptional>; memory: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; memory: z.ZodOptional; isTelemetryEnabled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodArray; subAgents: z.ZodOptional>; memory: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; memory: z.ZodOptional; isTelemetryEnabled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodArray; subAgents: z.ZodOptional>; memory: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; memory: z.ZodOptional; isTelemetryEnabled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>; declare const AgentListSchema: z.ZodArray; subAgents: z.ZodOptional>; memory: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; memory: z.ZodOptional; isTelemetryEnabled: z.ZodBoolean; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodArray; subAgents: z.ZodOptional>; memory: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; memory: z.ZodOptional; isTelemetryEnabled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodArray; subAgents: z.ZodOptional>; memory: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; status: z.ZodString; model: z.ZodString; tools: z.ZodOptional>; memory: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>, "many">>; memory: z.ZodOptional; isTelemetryEnabled: z.ZodBoolean; }, z.ZodTypeAny, "passthrough">>, "many">; declare const WorkspaceInfoSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodOptional; scope: z.ZodOptional>; capabilities: z.ZodObject<{ filesystem: z.ZodBoolean; sandbox: z.ZodBoolean; search: z.ZodBoolean; skills: z.ZodBoolean; }, "strip", z.ZodTypeAny, { search: boolean; skills: boolean; filesystem: boolean; sandbox: boolean; }, { search: boolean; skills: boolean; filesystem: boolean; sandbox: boolean; }>; }, "strip", z.ZodTypeAny, { id: string; capabilities: { search: boolean; skills: boolean; filesystem: boolean; sandbox: boolean; }; name?: string | undefined; scope?: "conversation" | "agent" | undefined; }, { id: string; capabilities: { search: boolean; skills: boolean; filesystem: boolean; sandbox: boolean; }; name?: string | undefined; scope?: "conversation" | "agent" | undefined; }>; declare const WorkspaceFileInfoSchema: z.ZodObject<{ path: z.ZodString; is_dir: z.ZodBoolean; size: z.ZodOptional; modified_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { path: string; is_dir: boolean; size?: number | undefined; modified_at?: string | undefined; }, { path: string; is_dir: boolean; size?: number | undefined; modified_at?: string | undefined; }>; declare const WorkspaceFileListSchema: z.ZodObject<{ path: z.ZodString; entries: z.ZodArray; modified_at: z.ZodOptional; }, "strip", z.ZodTypeAny, { path: string; is_dir: boolean; size?: number | undefined; modified_at?: string | undefined; }, { path: string; is_dir: boolean; size?: number | undefined; modified_at?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { entries: { path: string; is_dir: boolean; size?: number | undefined; modified_at?: string | undefined; }[]; path: string; }, { entries: { path: string; is_dir: boolean; size?: number | undefined; modified_at?: string | undefined; }[]; path: string; }>; declare const WorkspaceReadFileSchema: z.ZodObject<{ path: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; content: string; }, { path: string; content: string; }>; declare const WorkspaceSkillMetadataSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; version: z.ZodOptional; tags: z.ZodOptional>; path: z.ZodString; root: z.ZodString; references: z.ZodOptional>; scripts: z.ZodOptional>; assets: z.ZodOptional>; }, "strip", z.ZodTypeAny, { path: string; name: string; id: string; root: string; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }, { path: string; name: string; id: string; root: string; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }>; declare const WorkspaceSkillListItemSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; version: z.ZodOptional; tags: z.ZodOptional>; path: z.ZodString; root: z.ZodString; references: z.ZodOptional>; scripts: z.ZodOptional>; assets: z.ZodOptional>; } & { active: z.ZodBoolean; }, "strip", z.ZodTypeAny, { path: string; name: string; id: string; root: string; active: boolean; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }, { path: string; name: string; id: string; root: string; active: boolean; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }>; declare const WorkspaceSkillListSchema: z.ZodObject<{ skills: z.ZodArray; version: z.ZodOptional; tags: z.ZodOptional>; path: z.ZodString; root: z.ZodString; references: z.ZodOptional>; scripts: z.ZodOptional>; assets: z.ZodOptional>; } & { active: z.ZodBoolean; }, "strip", z.ZodTypeAny, { path: string; name: string; id: string; root: string; active: boolean; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }, { path: string; name: string; id: string; root: string; active: boolean; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { skills: { path: string; name: string; id: string; root: string; active: boolean; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }[]; }, { skills: { path: string; name: string; id: string; root: string; active: boolean; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }[]; }>; declare const WorkspaceSkillSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodOptional; version: z.ZodOptional; tags: z.ZodOptional>; path: z.ZodString; root: z.ZodString; references: z.ZodOptional>; scripts: z.ZodOptional>; assets: z.ZodOptional>; } & { instructions: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; name: string; id: string; root: string; instructions: string; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }, { path: string; name: string; id: string; root: string; instructions: string; description?: string | undefined; version?: string | undefined; tags?: string[] | undefined; references?: string[] | undefined; scripts?: string[] | undefined; assets?: string[] | undefined; }>; declare const BasicJsonSchema: z.ZodObject<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; declare const GenerateOptionsSchema: z.ZodObject<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>; declare const TextRequestSchema: z.ZodObject<{ input: z.ZodUnion<[z.ZodString, z.ZodArray]>; options: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { input: string | any[]; options?: z.objectOutputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { input: string | any[]; options?: z.objectInputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough"> | undefined; }>; declare const TextResponseSchema: z.ZodObject<{ success: z.ZodLiteral; data: z.ZodUnion<[z.ZodString, z.ZodObject<{ text: z.ZodString; usage: z.ZodOptional; reasoningTokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { promptTokens: number; completionTokens: number; totalTokens: number; cachedInputTokens?: number | undefined; reasoningTokens?: number | undefined; }, { promptTokens: number; completionTokens: number; totalTokens: number; cachedInputTokens?: number | undefined; reasoningTokens?: number | undefined; }>>; finishReason: z.ZodOptional; toolCalls: z.ZodOptional>; toolResults: z.ZodOptional>; output: z.ZodOptional; feedback: z.ZodOptional; expiresAt: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; provided: z.ZodOptional; providedAt: z.ZodOptional; feedbackId: z.ZodOptional; }, "strip", z.ZodTypeAny, { key: string; traceId: string; url: string; feedbackConfig?: z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough"> | null | undefined; expiresAt?: string | undefined; tokenId?: string | undefined; provided?: boolean | undefined; providedAt?: string | undefined; feedbackId?: string | undefined; }, { key: string; traceId: string; url: string; feedbackConfig?: z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough"> | null | undefined; expiresAt?: string | undefined; tokenId?: string | undefined; provided?: boolean | undefined; providedAt?: string | undefined; feedbackId?: string | undefined; }>>>; }, "strip", z.ZodTypeAny, { text: string; output?: any; feedback?: { key: string; traceId: string; url: string; feedbackConfig?: z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough"> | null | undefined; expiresAt?: string | undefined; tokenId?: string | undefined; provided?: boolean | undefined; providedAt?: string | undefined; feedbackId?: string | undefined; } | null | undefined; toolCalls?: any[] | undefined; toolResults?: any[] | undefined; finishReason?: string | undefined; usage?: { promptTokens: number; completionTokens: number; totalTokens: number; cachedInputTokens?: number | undefined; reasoningTokens?: number | undefined; } | undefined; }, { text: string; output?: any; feedback?: { key: string; traceId: string; url: string; feedbackConfig?: z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough"> | null | undefined; expiresAt?: string | undefined; tokenId?: string | undefined; provided?: boolean | undefined; providedAt?: string | undefined; feedbackId?: string | undefined; } | null | undefined; toolCalls?: any[] | undefined; toolResults?: any[] | undefined; finishReason?: string | undefined; usage?: { promptTokens: number; completionTokens: number; totalTokens: number; cachedInputTokens?: number | undefined; reasoningTokens?: number | undefined; } | undefined; }>]>; }, "strip", z.ZodTypeAny, { success: true; data: string | { text: string; output?: any; feedback?: { key: string; traceId: string; url: string; feedbackConfig?: z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough"> | null | undefined; expiresAt?: string | undefined; tokenId?: string | undefined; provided?: boolean | undefined; providedAt?: string | undefined; feedbackId?: string | undefined; } | null | undefined; toolCalls?: any[] | undefined; toolResults?: any[] | undefined; finishReason?: string | undefined; usage?: { promptTokens: number; completionTokens: number; totalTokens: number; cachedInputTokens?: number | undefined; reasoningTokens?: number | undefined; } | undefined; }; }, { success: true; data: string | { text: string; output?: any; feedback?: { key: string; traceId: string; url: string; feedbackConfig?: z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough"> | null | undefined; expiresAt?: string | undefined; tokenId?: string | undefined; provided?: boolean | undefined; providedAt?: string | undefined; feedbackId?: string | undefined; } | null | undefined; toolCalls?: any[] | undefined; toolResults?: any[] | undefined; finishReason?: string | undefined; usage?: { promptTokens: number; completionTokens: number; totalTokens: number; cachedInputTokens?: number | undefined; reasoningTokens?: number | undefined; } | undefined; }; }>; declare const StreamTextEventSchema: z.ZodObject<{ text: z.ZodOptional; timestamp: z.ZodOptional; type: z.ZodOptional>; done: z.ZodOptional; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { type?: "error" | "text" | "completion" | undefined; error?: string | undefined; text?: string | undefined; done?: boolean | undefined; timestamp?: string | undefined; }, { type?: "error" | "text" | "completion" | undefined; error?: string | undefined; text?: string | undefined; done?: boolean | undefined; timestamp?: string | undefined; }>; declare const ObjectRequestSchema: z.ZodObject<{ input: z.ZodUnion<[z.ZodString, z.ZodArray]>; schema: z.ZodObject<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>; options: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { schema: { type: "object"; properties?: Record | null | undefined; required?: string[] | undefined; } & { [k: string]: unknown; }; input: string | any[]; options?: z.objectOutputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { schema: { type: "object"; properties?: Record | null | undefined; required?: string[] | undefined; } & { [k: string]: unknown; }; input: string | any[]; options?: z.objectInputType<{ memory: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ conversationId: z.ZodOptional; userId: z.ZodOptional; options: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ contextLimit: z.ZodOptional; readOnly: z.ZodOptional; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>>; userId: z.ZodOptional; conversationId: z.ZodOptional; context: z.ZodOptional>>; contextLimit: z.ZodDefault>; semanticMemory: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ enabled: z.ZodOptional; semanticLimit: z.ZodOptional; semanticThreshold: z.ZodOptional; mergeStrategy: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; conversationPersistence: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ mode: z.ZodOptional>; debounceMs: z.ZodOptional; flushOnToolResult: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; messageMetadataPersistence: z.ZodOptional; finishReason: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ usage: z.ZodOptional; finishReason: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>]>>; maxSteps: z.ZodOptional; temperature: z.ZodDefault>; maxOutputTokens: z.ZodDefault>; topP: z.ZodDefault>; frequencyPenalty: z.ZodDefault>; presencePenalty: z.ZodDefault>; seed: z.ZodOptional; stopSequences: z.ZodOptional>; providerOptions: z.ZodOptional>>; resumableStream: z.ZodOptional; output: z.ZodOptional; schema: z.ZodOptional; properties: z.ZodOptional>>; required: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>>; }, "strip", z.ZodTypeAny, { type: "object" | "text"; schema?: z.objectOutputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }, { type: "object" | "text"; schema?: z.objectInputType<{ type: z.ZodLiteral<"object">; properties: z.ZodOptional>>; required: z.ZodOptional>; }, z.ZodTypeAny, "passthrough"> | undefined; }>>; feedback: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ key: z.ZodOptional; feedbackConfig: z.ZodOptional; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ type: z.ZodEnum<["continuous", "categorical", "freeform"]>; min: z.ZodOptional; max: z.ZodOptional; categories: z.ZodOptional; label: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { value: string | number; description?: string | undefined; label?: string | undefined; }, { value: string | number; description?: string | undefined; label?: string | undefined; }>, "many">>; }, z.ZodTypeAny, "passthrough">>>>>; expiresAt: z.ZodOptional; expiresIn: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ days: z.ZodOptional; hours: z.ZodOptional; minutes: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>>; }, z.ZodTypeAny, "passthrough">>]>>; }, z.ZodTypeAny, "passthrough"> | undefined; }>; declare const ObjectResponseSchema: z.ZodObject<{ success: z.ZodLiteral; data: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>; }, "strip", z.ZodTypeAny, { success: true; data: {} & { [k: string]: unknown; }; }, { success: true; data: {} & { [k: string]: unknown; }; }>; declare const StreamObjectEventSchema: z.ZodAny; declare const WorkflowResponseSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; purpose: z.ZodString; stepsCount: z.ZodNumber; status: z.ZodEnum<["idle", "running", "completed", "error"]>; }, "strip", z.ZodTypeAny, { name: string; status: "error" | "idle" | "running" | "completed"; id: string; purpose: string; stepsCount: number; }, { name: string; status: "error" | "idle" | "running" | "completed"; id: string; purpose: string; stepsCount: number; }>; declare const WorkflowListSchema: z.ZodArray; }, "strip", z.ZodTypeAny, { name: string; status: "error" | "idle" | "running" | "completed"; id: string; purpose: string; stepsCount: number; }, { name: string; status: "error" | "idle" | "running" | "completed"; id: string; purpose: string; stepsCount: number; }>, "many">; declare const WorkflowExecutionRequestSchema: z.ZodObject<{ input: z.ZodAny; options: z.ZodOptional; conversationId: z.ZodOptional; executionId: z.ZodOptional; context: z.ZodOptional; workflowState: z.ZodOptional>; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { conversationId?: string | undefined; userId?: string | undefined; context?: any; metadata?: Record | undefined; executionId?: string | undefined; workflowState?: Record | undefined; }, { conversationId?: string | undefined; userId?: string | undefined; context?: any; metadata?: Record | undefined; executionId?: string | undefined; workflowState?: Record | undefined; }>>; }, "strip", z.ZodTypeAny, { options?: { conversationId?: string | undefined; userId?: string | undefined; context?: any; metadata?: Record | undefined; executionId?: string | undefined; workflowState?: Record | undefined; } | undefined; input?: any; }, { options?: { conversationId?: string | undefined; userId?: string | undefined; context?: any; metadata?: Record | undefined; executionId?: string | undefined; workflowState?: Record | undefined; } | undefined; input?: any; }>; declare const WorkflowExecutionResponseSchema: z.ZodObject<{ success: z.ZodLiteral; data: z.ZodObject<{ executionId: z.ZodString; startAt: z.ZodString; endAt: z.ZodString; status: z.ZodLiteral<"completed">; result: z.ZodAny; }, "strip", z.ZodTypeAny, { status: "completed"; executionId: string; startAt: string; endAt: string; result?: any; }, { status: "completed"; executionId: string; startAt: string; endAt: string; result?: any; }>; }, "strip", z.ZodTypeAny, { success: true; data: { status: "completed"; executionId: string; startAt: string; endAt: string; result?: any; }; }, { success: true; data: { status: "completed"; executionId: string; startAt: string; endAt: string; result?: any; }; }>; declare const WorkflowStreamEventSchema: z.ZodObject<{ type: z.ZodString; executionId: z.ZodString; from: z.ZodString; input: z.ZodOptional; output: z.ZodOptional; status: z.ZodEnum<["pending", "running", "success", "error", "suspended", "cancelled"]>; timestamp: z.ZodString; stepIndex: z.ZodOptional; metadata: z.ZodOptional>>; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: string; status: "success" | "error" | "running" | "pending" | "suspended" | "cancelled"; from: string; executionId: string; timestamp: string; output?: any; input?: any; metadata?: Record | null | undefined; error?: any; stepIndex?: number | undefined; }, { type: string; status: "success" | "error" | "running" | "pending" | "suspended" | "cancelled"; from: string; executionId: string; timestamp: string; output?: any; input?: any; metadata?: Record | null | undefined; error?: any; stepIndex?: number | undefined; }>; declare const WorkflowSuspendRequestSchema: z.ZodObject<{ reason: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>; declare const WorkflowSuspendResponseSchema: z.ZodObject<{ success: z.ZodLiteral; data: z.ZodObject<{ executionId: z.ZodString; status: z.ZodLiteral<"suspended">; suspension: z.ZodObject<{ suspendedAt: z.ZodString; reason: z.ZodOptional; }, "strip", z.ZodTypeAny, { suspendedAt: string; reason?: string | undefined; }, { suspendedAt: string; reason?: string | undefined; }>; }, "strip", z.ZodTypeAny, { status: "suspended"; executionId: string; suspension: { suspendedAt: string; reason?: string | undefined; }; }, { status: "suspended"; executionId: string; suspension: { suspendedAt: string; reason?: string | undefined; }; }>; }, "strip", z.ZodTypeAny, { success: true; data: { status: "suspended"; executionId: string; suspension: { suspendedAt: string; reason?: string | undefined; }; }; }, { success: true; data: { status: "suspended"; executionId: string; suspension: { suspendedAt: string; reason?: string | undefined; }; }; }>; declare const WorkflowCancelRequestSchema: z.ZodObject<{ reason: z.ZodOptional; }, "strip", z.ZodTypeAny, { reason?: string | undefined; }, { reason?: string | undefined; }>; declare const WorkflowCancelResponseSchema: z.ZodObject<{ success: z.ZodLiteral; data: z.ZodObject<{ executionId: z.ZodString; status: z.ZodLiteral<"cancelled">; cancelledAt: z.ZodString; reason: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "cancelled"; executionId: string; cancelledAt: string; reason?: string | undefined; }, { status: "cancelled"; executionId: string; cancelledAt: string; reason?: string | undefined; }>; }, "strip", z.ZodTypeAny, { success: true; data: { status: "cancelled"; executionId: string; cancelledAt: string; reason?: string | undefined; }; }, { success: true; data: { status: "cancelled"; executionId: string; cancelledAt: string; reason?: string | undefined; }; }>; declare const WorkflowResumeRequestSchema: z.ZodOptional; options: z.ZodOptional; }, "strip", z.ZodTypeAny, { stepId?: string | undefined; }, { stepId?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { options?: { stepId?: string | undefined; } | undefined; resumeData?: any; }, { options?: { stepId?: string | undefined; } | undefined; resumeData?: any; }>>; declare const WorkflowResumeResponseSchema: z.ZodObject<{ success: z.ZodLiteral; data: z.ZodObject<{ executionId: z.ZodString; startAt: z.ZodString; endAt: z.ZodOptional; status: z.ZodString; result: z.ZodAny; }, "strip", z.ZodTypeAny, { status: string; executionId: string; startAt: string; endAt?: string | undefined; result?: any; }, { status: string; executionId: string; startAt: string; endAt?: string | undefined; result?: any; }>; }, "strip", z.ZodTypeAny, { success: true; data: { status: string; executionId: string; startAt: string; endAt?: string | undefined; result?: any; }; }, { success: true; data: { status: string; executionId: string; startAt: string; endAt?: string | undefined; result?: any; }; }>; declare const WorkflowReplayRequestSchema: z.ZodObject<{ stepId: z.ZodString; inputData: z.ZodOptional; resumeData: z.ZodOptional; workflowStateOverride: z.ZodOptional>; }, "strip", z.ZodTypeAny, { stepId: string; resumeData?: any; inputData?: any; workflowStateOverride?: Record | undefined; }, { stepId: string; resumeData?: any; inputData?: any; workflowStateOverride?: Record | undefined; }>; declare const WorkflowReplayResponseSchema: z.ZodObject<{ success: z.ZodLiteral; data: z.ZodObject<{ executionId: z.ZodString; startAt: z.ZodString; endAt: z.ZodOptional; status: z.ZodString; result: z.ZodAny; }, "strip", z.ZodTypeAny, { status: string; executionId: string; startAt: string; endAt?: string | undefined; result?: any; }, { status: string; executionId: string; startAt: string; endAt?: string | undefined; result?: any; }>; }, "strip", z.ZodTypeAny, { success: true; data: { status: string; executionId: string; startAt: string; endAt?: string | undefined; result?: any; }; }, { success: true; data: { status: string; executionId: string; startAt: string; endAt?: string | undefined; result?: any; }; }>; type WorkflowReplayRequestBody = z.infer; /** * Handler for listing all workflows * Returns workflow list data */ declare function handleGetWorkflows(deps: ServerProviderDeps, logger: Logger): Promise; /** * Handler for getting a single workflow * Returns workflow detail data with inferred schemas */ declare function handleGetWorkflow(workflowId: string, deps: ServerProviderDeps, logger: Logger): Promise; /** * Handler for executing a workflow * Returns workflow execution result */ declare function handleExecuteWorkflow(workflowId: string, body: any, deps: ServerProviderDeps, logger: Logger): Promise; /** * Handler for streaming workflow execution * Returns a ReadableStream for SSE */ declare function handleStreamWorkflow(workflowId: string, body: any, deps: ServerProviderDeps, logger: Logger): Promise; /** * Handler for attaching to an existing workflow execution stream * Returns a ReadableStream for SSE */ declare function handleAttachWorkflowStream(workflowId: string, executionId: string, query: { fromSequence?: string | number; lastEventId?: string | null; }, deps: ServerProviderDeps, logger: Logger): Promise; type WorkflowControlRequestBody = Record & { __workflowId: string; reason?: string; }; declare function createWorkflowControlRequestBody(body: unknown, workflowId: string): WorkflowControlRequestBody | undefined; /** * Handler for suspending a workflow * Returns suspension result */ declare function handleSuspendWorkflow(executionId: string, body: WorkflowControlRequestBody | undefined, deps: ServerProviderDeps, logger: Logger): Promise; /** * Handler for cancelling a workflow * Returns cancellation result */ declare function handleCancelWorkflow(executionId: string, body: WorkflowControlRequestBody | undefined, deps: ServerProviderDeps, logger: Logger): Promise; /** * Handler for resuming a workflow * Returns resume result */ declare function handleResumeWorkflow(workflowId: string, executionId: string, body: any, deps: ServerProviderDeps, logger: Logger): Promise; /** * Handler for replaying a workflow execution from a historical step * Returns replay result */ declare function handleReplayWorkflow(workflowId: string, executionId: string, body: WorkflowReplayRequestBody | undefined, deps: ServerProviderDeps, logger: Logger): Promise; type WorkflowRunsQuery = { status?: string | number; from?: string | number; to?: string | number; limit?: string | number; offset?: string | number; workflowId?: string | number; userId?: string | number; metadata?: string; } & Record; /** * Handler for listing workflow execution runs */ declare function handleListWorkflowRuns(workflowId: string | undefined, query: WorkflowRunsQuery | undefined, deps: ServerProviderDeps, logger: Logger): Promise; /** * Handler for getting workflow execution state * Returns workflow state from Memory V2 */ declare function handleGetWorkflowState(workflowId: string, executionId: string, deps: ServerProviderDeps, logger: Logger): Promise; declare function listMemoryUsersHandler(deps: ServerProviderDeps, query: MemoryListUsersQuery): Promise>; declare function listMemoryConversationsHandler(deps: ServerProviderDeps, query: MemoryListConversationsQuery): Promise>; declare function getConversationMessagesHandler(deps: ServerProviderDeps, conversationId: string, query: MemoryGetMessagesQuery): Promise>; declare function getConversationStepsHandler(deps: ServerProviderDeps, conversationId: string, query: MemoryGetStepsQuery): Promise>; declare function getWorkingMemoryHandler(deps: ServerProviderDeps, params: { agentId?: string; conversationId?: string; userId?: string; scope: "conversation" | "user"; }): Promise>; declare function handleListMemoryConversations(deps: ServerProviderDeps, query: { agentId?: string; resourceId?: string; userId?: string; limit?: number; offset?: number; orderBy?: "created_at" | "updated_at" | "title"; orderDirection?: "ASC" | "DESC"; }): Promise>; declare function handleGetMemoryConversation(deps: ServerProviderDeps, conversationId: string, query: { agentId?: string; }): Promise>; declare function handleListMemoryConversationMessages(deps: ServerProviderDeps, conversationId: string, query: { agentId?: string; limit?: number; before?: Date; after?: Date; roles?: string[]; userId?: string; }): Promise>; declare function handleGetMemoryWorkingMemory(deps: ServerProviderDeps, conversationId: string, query: { agentId?: string; scope?: "conversation" | "user"; userId?: string; }): Promise>; type SaveMessageEntry = (UIMessage & { userId?: string; conversationId?: string; }) | { message: UIMessage; userId?: string; conversationId?: string; }; declare function handleSaveMemoryMessages(deps: ServerProviderDeps, body: { agentId?: string; userId?: string; conversationId?: string; messages?: SaveMessageEntry[]; }): Promise>; declare function handleCreateMemoryConversation(deps: ServerProviderDeps, body: { agentId?: string; conversationId?: string; resourceId?: string; userId?: string; title?: string; metadata?: Record; }): Promise>; declare function handleUpdateMemoryConversation(deps: ServerProviderDeps, conversationId: string, body: { agentId?: string; resourceId?: string; userId?: string; title?: string; metadata?: Record; }): Promise>; declare function handleDeleteMemoryConversation(deps: ServerProviderDeps, conversationId: string, query: { agentId?: string; }): Promise>; declare function handleCloneMemoryConversation(deps: ServerProviderDeps, conversationId: string, body: { agentId?: string; newConversationId?: string; resourceId?: string; userId?: string; title?: string; metadata?: Record; includeMessages?: boolean; }): Promise>; declare function handleUpdateMemoryWorkingMemory(deps: ServerProviderDeps, conversationId: string, body: { agentId?: string; userId?: string; content?: string | Record; mode?: "replace" | "append"; }): Promise>; declare function handleDeleteMemoryMessages(deps: ServerProviderDeps, body: { agentId?: string; conversationId?: string; userId?: string; messageIds?: string[]; }): Promise>; declare function handleSearchMemory(deps: ServerProviderDeps, query: { agentId?: string; searchQuery?: string; limit?: number; threshold?: number; conversationId?: string; userId?: string; }): Promise>; type A2AJsonRpcId = string | number | null; interface JsonRpcError { code: number; message: string; data?: Data; } interface JsonRpcResponse { jsonrpc: "2.0"; id: A2AJsonRpcId; result?: Result; error?: JsonRpcError | null; } interface JsonRpcStream { kind: "stream"; id: A2AJsonRpcId; stream: AsyncGenerator>; } type JsonRpcHandlerResult = JsonRpcResponse | JsonRpcStream; interface JsonRpcRequest { jsonrpc: "2.0"; id: A2AJsonRpcId; method: string; params?: Params; } interface A2ARequestContext { userId?: string; sessionId?: string; metadata?: Record; requestUrl?: string; } interface AgentCardSkill { id: string; name: string; description?: string; tags?: string[]; } interface AgentCardProviderInfo { organization?: string; url?: string; } interface AgentCardCapabilities { streaming: boolean; pushNotifications: boolean; stateTransitionHistory: boolean; } interface AgentCard { name: string; description?: string; url: string; provider?: AgentCardProviderInfo; version: string; capabilities: AgentCardCapabilities; defaultInputModes: string[]; defaultOutputModes: string[]; skills: AgentCardSkill[]; } interface A2AServerLikeWithHandlers extends A2AServerLike { getAgentCard?(agentId: string, context?: A2ARequestContext): AgentCard; handleRequest?(agentId: string, request: JsonRpcRequest, context?: A2ARequestContext): Promise; } declare const A2AErrorCode: { readonly PARSE_ERROR: -32700; readonly INVALID_REQUEST: -32600; readonly METHOD_NOT_FOUND: -32601; readonly INVALID_PARAMS: -32602; readonly INTERNAL_ERROR: -32603; readonly TASK_NOT_FOUND: -32001; readonly TASK_NOT_CANCELABLE: -32002; readonly PUSH_NOTIFICATION_UNSUPPORTED: -32003; readonly UNSUPPORTED_OPERATION: -32004; }; type A2AErrorCode = (typeof A2AErrorCode)[keyof typeof A2AErrorCode]; declare class VoltA2AError extends Error { code: A2AErrorCode; data?: unknown | undefined; taskId?: string | undefined; constructor(code: A2AErrorCode, message: string, data?: unknown | undefined, taskId?: string | undefined); toJsonRpcError(): JsonRpcError; static parseError(details?: unknown): VoltA2AError; static invalidRequest(message?: string, details?: unknown): VoltA2AError; static methodNotFound(method: string): VoltA2AError; static invalidParams(message?: string, details?: unknown): VoltA2AError; static taskNotFound(taskId: string): VoltA2AError; static taskNotCancelable(taskId: string): VoltA2AError; static unsupportedOperation(message?: string): VoltA2AError; static internal(message?: string, details?: unknown): VoltA2AError; } declare function normalizeError(id: A2AJsonRpcId, cause: unknown): JsonRpcResponse; declare function isJsonRpcRequest(value: unknown): value is JsonRpcRequest; declare function parseJsonRpcRequest(payload: unknown): JsonRpcRequest; declare function resolveAgentCard(registry: A2AServerRegistry, serverId: string, agentId: string, context?: A2ARequestContext): AgentCard; declare function executeA2ARequest(params: { registry: A2AServerRegistry; serverId: string; request: JsonRpcRequest; context?: A2ARequestContext; logger?: Logger; }): Promise; interface LogResponseData { success: true; data: LogEntry[]; total: number; query: LogFilter; } /** * Maps a log handler response to match OpenAPI schema expectations * Extracts nested data properties to root level */ declare function mapLogResponse(response: ApiResponse): LogResponseData | ErrorResponse; /** * Maps a generic handler response to framework-specific format * Can be extended for other response types as needed */ declare function mapHandlerResponse(response: ApiResponse, type?: string): ApiResponse; /** * Extracts HTTP status code from response */ declare function getResponseStatus(response: ApiResponse): number; export { WorkflowResumeResponseSchema as $, type ApiResponse as A, WorkspaceSkillListSchema as B, WorkspaceSkillSchema as C, BasicJsonSchema as D, type ErrorResponse as E, TextResponseSchema as F, GenerateOptionsSchema as G, type HttpMethod as H, StreamTextEventSchema as I, ObjectResponseSchema as J, StreamObjectEventSchema as K, WorkflowResponseSchema as L, type MemoryUserSummary as M, WorkflowListSchema as N, ObjectRequestSchema as O, ParamsSchema as P, WorkflowExecutionRequestSchema as Q, WorkflowExecutionResponseSchema as R, type SuccessResponse as S, TextRequestSchema as T, WorkflowStreamEventSchema as U, WorkflowSuspendRequestSchema as V, WorkflowParamsSchema as W, WorkflowSuspendResponseSchema as X, WorkflowCancelRequestSchema as Y, WorkflowCancelResponseSchema as Z, WorkflowResumeRequestSchema as _, type A2AServerLikeWithHandlers as a, type LogHandlerResponse as a$, WorkflowReplayRequestSchema as a0, WorkflowReplayResponseSchema as a1, type ResponseDefinition as a2, type RouteDefinition as a3, AGENT_ROUTES as a4, WORKFLOW_ROUTES as a5, LOG_ROUTES as a6, UPDATE_ROUTES as a7, OBSERVABILITY_ROUTES as a8, OBSERVABILITY_MEMORY_ROUTES as a9, handleGenerateText as aA, handleStreamText as aB, handleChatStream as aC, handleResumeChatStream as aD, handleGenerateObject as aE, handleStreamObject as aF, handleGetAgent as aG, handleGetAgentHistory as aH, handleGetAgentWorkspaceInfo as aI, handleListAgentWorkspaceFiles as aJ, handleReadAgentWorkspaceFile as aK, handleListAgentWorkspaceSkills as aL, handleGetAgentWorkspaceSkill as aM, handleGetWorkflows as aN, handleGetWorkflow as aO, handleExecuteWorkflow as aP, handleStreamWorkflow as aQ, handleAttachWorkflowStream as aR, type WorkflowControlRequestBody as aS, createWorkflowControlRequestBody as aT, handleSuspendWorkflow as aU, handleCancelWorkflow as aV, handleResumeWorkflow as aW, handleReplayWorkflow as aX, handleListWorkflowRuns as aY, handleGetWorkflowState as aZ, type LogFilterOptions as a_, TOOL_ROUTES as aa, MEMORY_ROUTES as ab, ALL_ROUTES as ac, getAllRoutesArray as ad, MCP_ROUTES as ae, A2A_ROUTES as af, getRoutesByTag as ag, parseJsonRpcRequest as ah, resolveAgentCard as ai, executeA2ARequest as aj, type A2AJsonRpcId as ak, type JsonRpcError as al, type JsonRpcResponse as am, type JsonRpcStream as an, type JsonRpcHandlerResult as ao, type JsonRpcRequest as ap, type A2ARequestContext as aq, type AgentCardSkill as ar, type AgentCardProviderInfo as as, type AgentCardCapabilities as at, type AgentCard as au, A2AErrorCode as av, VoltA2AError as aw, normalizeError as ax, isJsonRpcRequest as ay, handleGetAgents as az, type StreamResponse as b, handleGetLogs as b0, handleListMemoryConversations as b1, handleGetMemoryConversation as b2, handleListMemoryConversationMessages as b3, handleGetMemoryWorkingMemory as b4, handleSaveMemoryMessages as b5, handleCreateMemoryConversation as b6, handleUpdateMemoryConversation as b7, handleDeleteMemoryConversation as b8, handleCloneMemoryConversation as b9, handleUpdateMemoryWorkingMemory as ba, handleDeleteMemoryMessages as bb, handleSearchMemory as bc, listMemoryUsersHandler as bd, listMemoryConversationsHandler as be, getConversationMessagesHandler as bf, getConversationStepsHandler as bg, getWorkingMemoryHandler as bh, mapLogResponse as bi, mapHandlerResponse as bj, getResponseStatus as bk, type OpenApiInfo as bl, type AppSetupConfig as bm, getOrCreateLogger as bn, shouldEnableSwaggerUI as bo, getOpenApiDoc as bp, DEFAULT_CORS_OPTIONS as bq, isSuccessResponse as c, type MemoryUserAgentSummary as d, type MemoryConversationSummary as e, type MemoryConversationMessagesResult as f, type MemoryConversationStepsResult as g, type MemoryWorkingMemoryResult as h, isErrorResponse as i, type MemoryListUsersQuery as j, type MemoryListConversationsQuery as k, type MemoryGetMessagesQuery as l, type MemoryGetStepsQuery as m, createServerCoreSchemas as n, AgentParamsSchema as o, WorkflowExecutionParamsSchema as p, ErrorSchema as q, SubAgentResponseSchema as r, AgentResponseSchema as s, AgentListSchema as t, WorkspaceInfoSchema as u, WorkspaceFileInfoSchema as v, WorkspaceFileListSchema as w, WorkspaceReadFileSchema as x, WorkspaceSkillMetadataSchema as y, WorkspaceSkillListItemSchema as z };