import z$1, { z } from 'zod'; declare enum JsonRpcMessageType { Request = "request", Response = "response", Notification = "notification" } /** * Standard JSON-RPC 2.0 error codes * @see https://www.jsonrpc.org/specification#error_object */ declare enum JsonRpcErrorCode { PARSE_ERROR = -32700, INVALID_REQUEST = -32600, METHOD_NOT_FOUND = -32601, INVALID_PARAMS = -32602, INTERNAL_ERROR = -32603, AUTHENTICATION_ERROR = -32001, ENTITY_NOT_FOUND = -32004, /** Session's CLI process has disconnected or died */ SESSION_DISCONNECTED = -32005 } /** * The interaction mode determines how Droid operates. * - Auto: Droid can execute actions based on autonomy level * - Spec: Droid is in planning/research mode only (read-only operations) * - Mission: Droid orchestrates missions with read-only tools and orchestrator controls */ declare enum DroidInteractionMode { Auto = "auto", Spec = "spec", /** @deprecated Use Mission instead. Kept for protocol compatibility. */ AGI = "agi", Mission = "mission" } /** * Supported operating system platforms */ declare enum Platform { Darwin = "darwin", Windows = "win32", Linux = "linux" } /** * Autonomy level determines what actions Droid can perform without user confirmation. * - Off: User controls all actions (confirmation required for everything) * - Low: Allow file edits and read-only commands * - Medium: Allow reversible commands * - High: Allow all commands without prompts */ declare enum AutonomyLevel { Off = "off", Low = "low", Medium = "medium", High = "high" } /** * Combined autonomy mode for backward compatibility. * This is derived from DroidInteractionMode + AutonomyLevel: * - Normal = Auto + Off * - Spec = Spec mode (autonomy level ignored) * - AutoLow = Auto + Low * - AutoMedium = Auto + Medium * - AutoHigh = Auto + High * @deprecated Use DroidInteractionMode + AutonomyLevel instead */ declare enum AutonomyMode { Normal = "normal", Spec = "spec", AutoLow = "auto-low", AutoMedium = "auto-medium", AutoHigh = "auto-high" } declare enum ToolConfirmationOutcome { ProceedOnce = "proceed_once", ProceedAlways = "proceed_always", /** Like ProceedAlways, but persists the exact file path instead of its parent directory. */ ProceedAlwaysForExactPath = "proceed_always_file", ProceedAutoRun = "proceed_auto_run", ProceedAutoRunLow = "proceed_auto_run_low", ProceedAutoRunMedium = "proceed_auto_run_medium", ProceedAutoRunHigh = "proceed_auto_run_high", ProceedNewSession = "proceed_new_session", ProceedNewSessionLow = "proceed_new_session_low", ProceedNewSessionMedium = "proceed_new_session_medium", ProceedNewSessionHigh = "proceed_new_session_high", ProceedEdit = "proceed_edit", /** MCP: Persist approval for specific tool(s) across sessions */ ProceedAlwaysTools = "proceed_always_tools", /** MCP: Persist approval for all tools from a server across sessions */ ProceedAlwaysServer = "proceed_always_server", Cancel = "cancel" } declare enum ToolConfirmationType { Edit = "edit", Execute = "exec", Create = "create", AskUser = "ask_user", ExitSpecMode = "exit_spec_mode", ProposeMission = "propose_mission", StartMissionRun = "start_mission_run", ApplyPatch = "apply_patch", McpTool = "mcp_tool", SandboxViolation = "sandbox_violation" } declare enum SandboxViolationType { FilesystemRead = "filesystem-read", FilesystemWrite = "filesystem-write", Network = "network" } declare enum SandboxViolationReason { DenyList = "deny-list", NotAllowed = "not-allowed" } declare enum SandboxOperationType { Read = "read", Write = "write", Network = "network" } declare enum DroidServerMethod { INITIALIZE_SESSION = "droid.initialize_session", LOAD_SESSION = "droid.load_session", ADD_USER_MESSAGE = "droid.add_user_message", RESOLVE_QUEUED_USER_MESSAGE = "droid.resolve_queued_user_message", CLOSE_SESSION = "droid.close_session", INTERRUPT_SESSION = "droid.interrupt_session", KILL_WORKER_SESSION = "droid.kill_worker_session", UPDATE_SESSION_SETTINGS = "droid.update_session_settings", TOGGLE_MCP_SERVER = "droid.toggle_mcp_server", AUTHENTICATE_MCP_SERVER = "droid.authenticate_mcp_server", CANCEL_MCP_AUTH = "droid.cancel_mcp_auth", CLEAR_MCP_AUTH = "droid.clear_mcp_auth", ADD_MCP_SERVER = "droid.add_mcp_server", REMOVE_MCP_SERVER = "droid.remove_mcp_server", LIST_MCP_REGISTRY = "droid.list_mcp_registry", LIST_MCP_TOOLS = "droid.list_mcp_tools", LIST_TOOLS = "droid.list_tools", LIST_MCP_SERVERS = "droid.list_mcp_servers", TOGGLE_MCP_TOOL = "droid.toggle_mcp_tool", SUBMIT_MCP_AUTH_CODE = "droid.submit_mcp_auth_code", LIST_SKILLS = "droid.list_skills", LIST_COMMANDS = "droid.list_commands", SUBMIT_BUG_REPORT = "droid.submit_bug_report", GET_REWIND_INFO = "droid.get_rewind_info", EXECUTE_REWIND = "droid.execute_rewind", COMPACT_SESSION = "droid.compact_session", FORK_SESSION = "droid.fork_session", RENAME_SESSION = "droid.rename_session", GET_CONTEXT_STATS = "droid.get_context_stats", GET_CONTEXT_BREAKDOWN = "droid.get_context_breakdown", WARMUP_CACHE = "droid.warmup_cache" } declare enum QueuePlacement { EndOfTurn = "end_of_turn", EndOfLoop = "end_of_loop" } declare enum ResolveQueuedUserMessageAction { UpdateQueue = "update_queue", Delete = "delete" } declare enum DroidClientMethod { SESSION_NOTIFICATION = "droid.session_notification", REQUEST_PERMISSION = "droid.request_permission", ASK_USER = "droid.ask_user" } declare enum SessionNotificationType { TOOL_RESULT = "tool_result", TOOL_PROGRESS_UPDATE = "tool_progress_update", CREATE_MESSAGE = "create_message", ERROR = "error", DROID_WORKING_STATE_CHANGED = "droid_working_state_changed", SESSION_COMPACTED = "session_compacted", LOOP_STATE_CHANGED = "loop_state_changed", PERMISSION_RESOLVED = "permission_resolved", SETTINGS_UPDATED = "settings_updated", SESSION_TITLE_UPDATED = "session_title_updated", MCP_STATUS_CHANGED = "mcp_status_changed", ASSISTANT_TEXT_DELTA = "assistant_text_delta", ASSISTANT_TEXT_COMPLETE = "assistant_text_complete", STRUCTURED_OUTPUT = "structured_output", THINKING_TEXT_DELTA = "thinking_text_delta", THINKING_TEXT_COMPLETE = "thinking_text_complete", SESSION_TOKEN_USAGE_CHANGED = "session_token_usage_changed", MISSION_STATE_CHANGED = "mission_state_changed", MISSION_FEATURES_CHANGED = "mission_features_changed", MISSION_PROGRESS_ENTRY = "mission_progress_entry", MISSION_HEARTBEAT = "mission_heartbeat", MISSION_WORKER_STARTED = "mission_worker_started", MISSION_WORKER_COMPLETED = "mission_worker_completed", MCP_AUTH_REQUIRED = "mcp_auth_required", MCP_AUTH_COMPLETED = "mcp_auth_completed", HOOK_EXECUTION_STARTED = "hook_execution_started", HOOK_EXECUTION_COMPLETED = "hook_execution_completed", TOOL_CALL = "tool_call", QUEUED_MESSAGES_DISCARDED = "queued_messages_discarded", /** * Internal daemon keep-alive signal emitted while a long-running tool * (e.g. Execute) is actively executing but not streaming output. Used by * the daemon to refresh session inactivity timeouts. Not forwarded to * external clients. */ TOOL_EXECUTION_HEARTBEAT = "tool_execution_heartbeat" } declare enum StructuredOutputErrorCode { MissingStructuredOutput = "missing_structured_output", InvalidStructuredOutput = "invalid_structured_output", InvalidSchema = "invalid_schema", SchemaValidationFailed = "schema_validation_failed" } declare enum McpAuthOutcome { Success = "success", Cancelled = "cancelled", Failed = "failed" } declare enum McpServerStatus { Connecting = "connecting", Connected = "connected", Disconnected = "disconnected", Failed = "failed", Disabled = "disabled" } declare enum McpServerType { Stdio = "stdio", Http = "http", Sse = "sse" } declare enum McpStatus { NotInitialized = "not-initialized", Initializing = "initializing", Ready = "ready", NoServers = "no-servers", Failed = "failed" } declare enum DroidErrorType { CONNECTION_ERROR = "ConnectionError", PROTOCOL_ERROR = "ProtocolError", SESSION_ERROR = "SessionError", TIMEOUT_ERROR = "TimeoutError", DROID_CLIENT_ERROR = "DroidClientError", PROCESS_EXIT_ERROR = "ProcessExitError", ERROR = "Error" } declare enum DroidWorkingState { Idle = "idle", Thinking = "thinking", StreamingAssistantMessage = "streaming_assistant_message", WaitingForToolConfirmation = "waiting_for_tool_confirmation", ExecutingTool = "executing_tool", CompactingConversation = "compacting_conversation" } declare enum DroidLoopStatus { Waiting = "waiting", Running = "running", Due = "due", Stopped = "stopped", Error = "error" } declare enum DroidLoopStopReason { UserStopped = "user_stopped", ManualMessage = "manual_message", Interrupted = "interrupted", SessionClosed = "session_closed", ProcessExited = "process_exited", Error = "error" } declare enum ContextStatsAccuracy { Exact = "exact", Estimated = "estimated" } declare enum ToolExecutionRenderStatus { Streaming = "streaming", Pending = "pending", Executing = "executing", Completed = "completed", Error = "error" } declare enum DecompSessionType { Orchestrator = "orchestrator", Worker = "worker" } /** Mission state enum (used by orchestrator mission runner). */ declare enum MissionState { /** Idle. Waiting for user to send a message. */ AwaitingInput = "awaiting_input", /** Orchestrator is creating mission artifacts after user accepted proposal. */ Initializing = "initializing", /** Runner is active, spawning/monitoring workers. User input disabled. */ Running = "running", /** User paused execution. Resumable. */ Paused = "paused", /** Worker returned control or failed. Orchestrator acts next. */ OrchestratorTurn = "orchestrator_turn", /** All features done. Terminal state. */ Completed = "completed" } /** Feature status enum (mirrors orchestrator feature lifecycle). */ declare enum FeatureStatus { Pending = "pending", InProgress = "in_progress", Completed = "completed", Cancelled = "cancelled" } /** Success state for feature completion. */ declare enum FeatureSuccessState { Success = "success", Partial = "partial", Failure = "failure" } /** Issue severity for discovered issues. */ declare enum IssueSeverity { Blocking = "blocking", NonBlocking = "non_blocking", Suggestion = "suggestion" } /** Dismissal item type. */ declare enum DismissalType { DiscoveredIssue = "discovered_issue", CriticalContext = "critical_context", IncompleteWork = "incomplete_work" } /** Progress log entry type. */ declare enum ProgressLogEntryType { MissionAccepted = "mission_accepted", MissionPaused = "mission_paused", MissionResumed = "mission_resumed", MissionRunStarted = "mission_run_started", WorkerStarted = "worker_started", WorkerSelectedFeature = "worker_selected_feature", WorkerCompleted = "worker_completed", WorkerFailed = "worker_failed", WorkerPaused = "worker_paused", HandoffItemsDismissed = "handoff_items_dismissed", MilestoneValidationTriggered = "milestone_validation_triggered" } /** Structured failure cause used by orchestrators to branch on auto-pause vs requeue. */ declare enum WorkerFailureReason { UnrecoverableUsage402 = "unrecoverable_usage_402" } /** Structured cause for automatically-triggered mission pauses. */ declare enum MissionPauseReason { UnrecoverableUsage402 = "unrecoverable_usage_402" } /** * Color-key discriminators for the `/context` window usage breakdown. Each key * maps to a CSS variable in the rendering surface (CLI chalk colors or web * design tokens), so adding a new category requires updating both ends. */ declare enum ContextCategoryColorKey { SystemPrompt = "systemPrompt", SystemTools = "systemTools", McpTools = "mcpTools", UserInfo = "userInfo", AgentsMd = "agentsMd", CustomAgents = "customAgents", Skills = "skills", Messages = "messages" } declare enum MessageVisibility { Both = "both", LLMOnly = "llm_only", UserOnly = "user_only" } declare enum MessageRoleNoSystem { User = "user", Assistant = "assistant", Tool = "tool" } declare enum MessageRole { User = "user", Assistant = "assistant", Tool = "tool", System = "system" } declare enum MessageContentBlockType { Text = "text", Image = "image", Thinking = "thinking", RedactedThinking = "redacted_thinking", ToolUse = "tool_use", ToolResult = "tool_result", Document = "document" } declare enum DocumentSourceType { Base64 = "base64", Text = "text" } declare enum SessionPlatform { Slack = "slack", Web = "web", Api = "api", SessionsApi = "sessions_api", Linear = "linear", ReadinessRemediation = "readiness-remediation", ReadinessEvaluation = "readiness-evaluation", Automation = "automation", WikiGeneration = "wiki-generation", WikiCISetup = "wiki-ci-setup" } declare enum SessionOrigin { Web = "web", Desktop = "desktop", CliTui = "cli_tui", CliExec = "cli_exec", CliAcp = "cli_acp", Slack = "slack", Linear = "linear", SessionsApi = "sessions_api", Api = "api", Automation = "automation", ReadinessRemediation = "readiness-remediation", ReadinessEvaluation = "readiness-evaluation", WikiGeneration = "wiki-generation", WikiCiSetup = "wiki-ci-setup" } /** * ModelID enum defines unique identifiers for language models. * * These IDs are independent of provider (Anthropic, OpenAI, etc.) and reasoning effort (Low, Medium, High). * They represent the core model identity that remains consistent regardless of how the model is accessed. */ declare enum ModelID { CLAUDE_SONNET_3_5 = "claude-3-5-sonnet-20241022", CLAUDE_SONNET_3_7 = "claude-3-7-sonnet-20250219", CLAUDE_SONNET_4 = "claude-sonnet-4-20250514", CLAUDE_OPUS_4 = "claude-opus-4-1-20250805", CLAUDE_HAIKU_3_5 = "claude-3-5-haiku-20241022", CLAUDE_SONNET_4_5 = "claude-sonnet-4-5-20250929", CLAUDE_OPUS_4_5 = "claude-opus-4-5-20251101", CLAUDE_HAIKU_4_5 = "claude-haiku-4-5-20251001", CLAUDE_SONNET_4_6 = "claude-sonnet-4-6", CLAUDE_OPUS_4_6 = "claude-opus-4-6", CLAUDE_OPUS_4_6_FAST = "claude-opus-4-6-fast", CLAUDE_OPUS_4_7 = "claude-opus-4-7", CLAUDE_OPUS_4_7_FAST = "claude-opus-4-7-fast", CLAUDE_OPUS_4_8 = "claude-opus-4-8", CLAUDE_OPUS_4_8_FAST = "claude-opus-4-8-fast", ASPEN_0515 = "aspen-05-15", ALMOND_0527 = "almond-05-27", GPT_5 = "gpt-5-2025-08-07", GPT_5_MINI = "gpt-5-mini-2025-08-07", GPT_5_NANO = "gpt-5-nano-2025-08-07", GPT_5_CODEX = "gpt-5-codex", GPT_5_1 = "gpt-5.1", GPT_5_1_CODEX = "gpt-5.1-codex", GPT_5_1_CODEX_MAX = "gpt-5.1-codex-max", GPT_5_2 = "gpt-5.2", GPT_5_2_CODEX = "gpt-5.2-codex", GPT_5_3_CODEX = "gpt-5.3-codex", GPT_5_3_CODEX_FAST = "gpt-5.3-codex-fast", GPT_5_4 = "gpt-5.4", GPT_5_4_FAST = "gpt-5.4-fast", GPT_5_4_MINI = "gpt-5.4-mini", GPT_5_5 = "gpt-5.5", GPT_5_5_FAST = "gpt-5.5-fast", GPT_5_5_PRO = "gpt-5.5-pro", OLM_0305 = "olm-03-05", ORBIT_0409 = "orbit-04-09", OLIVE_0522 = "olive-05-22", ORIEL_0601 = "oriel-06-01", OXIDE_0601 = "oxide-06-01", OXBOW_0601 = "oxbow-06-01", OCELOT_0601 = "ocelot-06-01", GEMINI_2_5_FLASH = "gemini-2.5-flash", GEMINI_2_5_PRO = "gemini-2.5-pro", GEMINI_3_PRO = "gemini-3-pro-preview", GEMINI_3_FLASH = "gemini-3-flash-preview", GEMINI_3_1_PRO = "gemini-3.1-pro-preview", GEMINI_3_5_FLASH = "gemini-3.5-flash", GANTRY_0507 = "gantry-05-07", TITAN_0212 = "titan-02-12", GLM_4_6 = "glm-4.6", GLM_4_7 = "glm-4.7", KIMI_K2_5 = "kimi-k2.5", KIMI_K2_6 = "kimi-k2.6", DEEPSEEK_V4_PRO = "deepseek-v4-pro", MINIMAX_M2_5 = "minimax-m2.5", MINIMAX_M2_7 = "minimax-m2.7", GLM_5 = "glm-5", GLM_5_1 = "glm-5.1", FACTORY_ROUTER = "factory-router" } declare enum OpenAIPhase { Commentary = "commentary", FinalAnswer = "final_answer" } /** * Wire-format field name for assistant-message reasoning on the OpenAI * Chat Completions endpoint. OpenAI / XAI capture reasoning in `reasoning`; * vLLM / SGLang / Fireworks' Kimi deployments use `reasoning_content`. */ declare enum ChatCompletionReasoningField { Reasoning = "reasoning", ReasoningContent = "reasoning_content" } /** * Enum defining the reasoning effort levels for LLMs. * This determines how much "thinking" the model does before responding. */ declare enum ReasoningEffort { None = "none", Dynamic = "dynamic", Off = "off", Minimal = "minimal", Low = "low", Medium = "medium", High = "high", ExtraHigh = "xhigh", Max = "max" } declare enum ModelProvider { ANTHROPIC = "anthropic", OPENAI = "openai", GENERIC_CHAT_COMPLETION_API = "generic-chat-completion-api", FACTORY = "factory", GOOGLE = "google", XAI = "xai", VOYAGE = "voyage", /** * BYOK custom models served over the AWS Bedrock Converse API * (`ConverseStream`). Distinct from {@link ModelProvider.ANTHROPIC} * Bedrock routing (which speaks the Anthropic Messages dialect over the * Bedrock SDK): this provider speaks the native Converse schema and is * never used for first-party / proxy-routed models. */ BEDROCK_CONVERSE = "bedrock-converse" } declare enum ApiProvider { BEDROCK = "bedrock", ANTHROPIC = "anthropic", VERTEX_ANTHROPIC = "vertex_anthropic", BEDROCK_ANTHROPIC = "bedrock_anthropic", BEDROCK_CONVERSE = "bedrock_converse", OPENAI = "openai", AZURE_OPENAI = "azure_openai", GOOGLE = "google", XAI = "xai", FIREWORKS = "fireworks", BASETEN = "baseten", SNOWFLAKE = "snowflake" } declare enum ModelKind { Concrete = "concrete", Router = "router" } declare enum LLMModelTier { Standard = "standard", Premium = "premium", Overage = "overage" } /** * Settings hierarchy level enum. * Precedence order (highest to lowest): Org -> Runtime -> Folder -> Project -> User */ declare enum SettingsLevel { Org = "org", Runtime = "runtime", User = "user", Project = "project", Folder = "folder", Dynamic = "dynamic", BuiltIn = "builtin" } declare enum DroidLocation { Project = "project", Personal = "personal" } declare enum SkillLocation { Project = "project", Personal = "personal", Builtin = "builtin" } declare enum SandboxMode { PerCommand = "per-command", WholeProcess = "whole-process" } declare enum DiffMode { Github = "github", Unified = "unified" } declare enum SoundFocusMode { Always = "always", Focused = "focused", Unfocused = "unfocused" } declare enum TodoDisplayMode { Inline = "inline", Pinned = "pinned" } declare enum SubagentSoundMode { Off = "off", Quiet = "quiet", Inherit = "inherit" } declare enum LogoAnimationMode { Once = "once", Always = "always", Off = "off" } declare enum ToolResultDisplay { Expanded = "expanded", Compact = "compact" } declare const FACTORY_CLIENT_HEADER = "X-Factory-Client"; declare const FACTORY_CLIENT_VERSION = "X-Client-Version"; declare const ACTIVE_ORGANIZATION_HEADER = "X-Factory-Org-Id"; /** * Legacy envelope field for old JSON-RPC peers - `factoryApiVersion` must be set to this value. * * @deprecated Do not change this value; use `factoryProtocolVersion` for runtime compatibility. */ declare const LEGACY_FACTORY_API_VERSION: "1.0.0"; declare const FACTORY_PROTOCOL_VERSION: "1.66.0"; declare const JSONRPC_VERSION: "2.0"; /** * Sentinel ModelID value for the Factory routing model. */ declare const FACTORY_ROUTER_MODEL_ID: "factory-router"; /** * Sentinel value used by CompactionModelSchema to mean "use the session's * current model for compaction". */ declare const CURRENT_COMPACTION_MODEL = "current-model"; /** Sized comparably to a trimmed user message in the classifier context budget. */ declare const FACTORY_ROUTER_GUIDANCE_MAX_LENGTH = 2000; declare const FACTORY_ROUTER_RULES_MAX_COUNT = 20; declare const FACTORY_ROUTER_RULE_WHEN_MAX_LENGTH = 300; declare const FACTORY_ROUTER_RULE_GUIDANCE_MAX_LENGTH = 600; /** * System reminder tag constants used for marking content as hidden from users. */ declare const SYSTEM_REMINDER_START = ""; declare const SYSTEM_REMINDER_END = ""; /** * System notification tag constants used for marking notifications as hidden from users. */ declare const SYSTEM_NOTIFICATION_START = ""; declare const SYSTEM_NOTIFICATION_END = ""; declare const EXIT_SPEC_MODE_REJECTED_MESSAGE = "Plan not approved - remaining in Spec Mode. Provide feedback to refine the spec."; declare const LOOP_INTERVAL_POLICY: { readonly minMs: number; readonly maxMs: number; readonly displayRange: "1m–24h"; readonly examples: "5m, 30m, 2h"; }; declare const DROID_IN_PROGRESS_STATES: DroidWorkingState[]; declare const DroidInteractionModeSchema: z.ZodNativeEnum; /** * Trace context metadata for distributed tracing propagation. * Follows W3C Trace Context standard for cross-service trace correlation. * @see https://www.w3.org/TR/trace-context/ */ declare const TraceContextMetaSchema: z.ZodObject<{ /** W3C traceparent header value (e.g., "00-0af7651916cd43dd8448eb211c80319c-00f067aa0ba902b7-01") */ traceparent: z.ZodOptional; /** W3C tracestate header value for vendor-specific trace data */ tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>; declare const JsonRpcEnvelopeSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; /** Optional runtime compatibility signal; tolerate absence while old peers roll forward. */ factoryProtocolVersion: z.ZodOptional; /** Optional metadata for trace context propagation (MCP-style) */ _meta: z.ZodOptional; /** W3C tracestate header value for vendor-specific trace data */ tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const JsonRpcProtocolVersionMismatchErrorDataSchema: z.ZodObject<{ localFactoryProtocolVersion: z.ZodString; peerFactoryProtocolVersion: z.ZodString; messageType: z.ZodOptional>; method: z.ZodOptional; requestId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { localFactoryProtocolVersion: string; peerFactoryProtocolVersion: string; method?: string | undefined; requestId?: string | null | undefined; messageType?: JsonRpcMessageType | undefined; }, { localFactoryProtocolVersion: string; peerFactoryProtocolVersion: string; method?: string | undefined; requestId?: string | null | undefined; messageType?: JsonRpcMessageType | undefined; }>; declare const JsonRpcErrorSchema: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; declare const BaseRequestSchema: z.ZodObject<{ type: z.ZodLiteral<"request">; id: z.ZodString; method: z.ZodString; params: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "request"; id: string; method: string; params?: unknown; }, { type: "request"; id: string; method: string; params?: unknown; }>; declare const BaseResponseSuccessSchema: z.ZodObject<{ type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; } & { id: z.ZodString; result: z.ZodUnknown; }, "strip", z.ZodTypeAny, { type: "response"; id: string; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; result?: unknown; }, { type: "response"; id: string; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; result?: unknown; }>; declare const BaseResponseFailureSchema: z.ZodObject<{ type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; id: string | null; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; id: string | null; result?: unknown; }>; declare const BaseNotificationSchema: z.ZodObject<{ type: z.ZodLiteral<"notification">; method: z.ZodString; params: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "notification"; method: string; params?: unknown; }, { type: "notification"; method: string; params?: unknown; }>; declare const JsonRpcBaseRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; /** Optional runtime compatibility signal; tolerate absence while old peers roll forward. */ factoryProtocolVersion: z.ZodOptional; /** Optional metadata for trace context propagation (MCP-style) */ _meta: z.ZodOptional; /** W3C tracestate header value for vendor-specific trace data */ tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"request">; id: z.ZodString; method: z.ZodString; params: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: string; params?: unknown; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: string; params?: unknown; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const JsonRpcBaseResponseSuccessSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; /** Optional runtime compatibility signal; tolerate absence while old peers roll forward. */ factoryProtocolVersion: z.ZodOptional; /** Optional metadata for trace context propagation (MCP-style) */ _meta: z.ZodOptional; /** W3C tracestate header value for vendor-specific trace data */ tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; } & { id: z.ZodString; result: z.ZodUnknown; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>; declare const JsonRpcBaseResponseFailureSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; /** Optional runtime compatibility signal; tolerate absence while old peers roll forward. */ factoryProtocolVersion: z.ZodOptional; /** Optional metadata for trace context propagation (MCP-style) */ _meta: z.ZodOptional; /** W3C tracestate header value for vendor-specific trace data */ tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>; declare const JsonRpcBaseResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; /** Optional runtime compatibility signal; tolerate absence while old peers roll forward. */ factoryProtocolVersion: z.ZodOptional; /** Optional metadata for trace context propagation (MCP-style) */ _meta: z.ZodOptional; /** W3C tracestate header value for vendor-specific trace data */ tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; /** Optional runtime compatibility signal; tolerate absence while old peers roll forward. */ factoryProtocolVersion: z.ZodOptional; /** Optional metadata for trace context propagation (MCP-style) */ _meta: z.ZodOptional; /** W3C tracestate header value for vendor-specific trace data */ tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; } & { id: z.ZodString; result: z.ZodUnknown; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const JsonRpcBaseNotificationSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; /** Optional runtime compatibility signal; tolerate absence while old peers roll forward. */ factoryProtocolVersion: z.ZodOptional; /** Optional metadata for trace context propagation (MCP-style) */ _meta: z.ZodOptional; /** W3C tracestate header value for vendor-specific trace data */ tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"notification">; method: z.ZodString; params: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "notification"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; method: string; params?: unknown; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "notification"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; method: string; params?: unknown; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; /** * Generic acknowledgement payload for command-style RPCs. */ declare const CommandAckSchema: z.ZodObject<{ accepted: z.ZodLiteral; }, "strip", z.ZodTypeAny, { accepted: true; }, { accepted: true; }>; declare const JsonRpcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; /** Optional runtime compatibility signal; tolerate absence while old peers roll forward. */ factoryProtocolVersion: z.ZodOptional; /** Optional metadata for trace context propagation (MCP-style) */ _meta: z.ZodOptional; /** W3C tracestate header value for vendor-specific trace data */ tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"request">; id: z.ZodString; method: z.ZodString; params: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: string; params?: unknown; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: string; params?: unknown; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; /** Optional runtime compatibility signal; tolerate absence while old peers roll forward. */ factoryProtocolVersion: z.ZodOptional; /** Optional metadata for trace context propagation (MCP-style) */ _meta: z.ZodOptional; /** W3C tracestate header value for vendor-specific trace data */ tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; /** Optional runtime compatibility signal; tolerate absence while old peers roll forward. */ factoryProtocolVersion: z.ZodOptional; /** Optional metadata for trace context propagation (MCP-style) */ _meta: z.ZodOptional; /** W3C tracestate header value for vendor-specific trace data */ tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"notification">; method: z.ZodString; params: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "notification"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; method: string; params?: unknown; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "notification"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; method: string; params?: unknown; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>]>; type TraceContextMeta = z.infer; type JsonRpcEnvelope = z.infer; type JsonRpcError = z.infer; type JsonRpcProtocolVersionMismatchErrorData = z.infer; type JsonRpcBaseRequest = z.infer; type JsonRpcBaseResponseSuccess = z.infer; type JsonRpcBaseResponseFailure = z.infer; type JsonRpcBaseResponse = z.infer; type JsonRpcBaseNotification = z.infer; type CommandAck = z.infer; type JsonRpcMessage = z.infer; declare const HostIdSchema: z.ZodString; declare const ComputerRegistrationSchema: z.ZodObject<{ computerId: z.ZodString; firestoreOrgId: z.ZodString; userId: z.ZodString; registeredAt: z.ZodNumber; }, "strip", z.ZodTypeAny, { computerId: string; firestoreOrgId: string; userId: string; registeredAt: number; }, { computerId: string; firestoreOrgId: string; userId: string; registeredAt: number; }>; declare const HostConfigSchema: z.ZodObject<{ schemaVersion: z.ZodLiteral<1>; hostId: z.ZodString; createdAt: z.ZodNumber; computerRegistration: z.ZodOptional>; }, "strip", z.ZodTypeAny, { createdAt: number; schemaVersion: 1; hostId: string; computerRegistration?: { computerId: string; firestoreOrgId: string; userId: string; registeredAt: number; } | undefined; }, { createdAt: number; schemaVersion: 1; hostId: string; computerRegistration?: { computerId: string; firestoreOrgId: string; userId: string; registeredAt: number; } | undefined; }>; declare const LegacyComputerConfigSchema: z.ZodObject<{ computerId: z.ZodString; registeredAt: z.ZodNumber; }, "strip", z.ZodTypeAny, { computerId: string; registeredAt: number; }, { computerId: string; registeredAt: number; }>; type ComputerRegistration = z.infer; type HostConfig = z.infer; type LegacyComputerConfig = z.infer; type ResolvedComputerRegistration = Omit; type ResolvedHostIdentity = { hostId: string; computerRegistration?: ResolvedComputerRegistration; }; declare const SessionTagSchema: z.ZodObject<{ name: z.ZodString; metadata: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>; type SessionTag = z.infer; interface MissionSessionTagMetadata { role: DecompSessionType; missionId: string; } /** * Token usage schema for session settings. * Tracks LLM token consumption for a session. */ declare const TokenUsageSchema$1: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; cacheCreationTokens: z.ZodNumber; cacheReadTokens: z.ZodNumber; thinkingTokens: z.ZodNumber; factoryCredits: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>; type TokenUsage = z.infer; declare const SlackSourceSchema: z.ZodObject<{ platform: z.ZodLiteral; teamId: z.ZodOptional>; channel: z.ZodOptional>; threadTs: z.ZodOptional>; userId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Slack; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; }, { platform: SessionPlatform.Slack; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; }>; declare const WebSourceSchema: z.ZodObject<{ platform: z.ZodLiteral; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Web; }, { platform: SessionPlatform.Web; }>; declare const ApiSourceSchema: z.ZodObject<{ platform: z.ZodLiteral; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Api; }, { platform: SessionPlatform.Api; }>; declare const SessionsApiSourceSchema: z.ZodObject<{ platform: z.ZodLiteral; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.SessionsApi; }, { platform: SessionPlatform.SessionsApi; }>; declare const LinearSourceSchema: z.ZodObject<{ platform: z.ZodLiteral; agentSessionId: z.ZodString; issueId: z.ZodOptional>; issueUrl: z.ZodOptional>; issueIdentifier: z.ZodOptional>; organizationId: z.ZodOptional>; userId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Linear; agentSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; }, { platform: SessionPlatform.Linear; agentSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; }>; declare const ReadinessRemediationSourceSchema: z.ZodObject<{ platform: z.ZodLiteral; reportId: z.ZodString; repoUrl: z.ZodString; criterionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; }, { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; }>; declare const ReadinessEvaluationSourceSchema: z.ZodObject<{ platform: z.ZodLiteral; repoUrl: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; }, { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; }>; declare const AutomationSourceSchema: z.ZodObject<{ platform: z.ZodLiteral; automationId: z.ZodString; computerId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Automation; computerId: string; automationId: string; }, { platform: SessionPlatform.Automation; computerId: string; automationId: string; }>; declare const WikiGenerationSourceSchema: z.ZodObject<{ platform: z.ZodLiteral; repoUrl: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.WikiGeneration; repoUrl: string; }, { platform: SessionPlatform.WikiGeneration; repoUrl: string; }>; declare const WikiCISetupSourceSchema: z.ZodObject<{ platform: z.ZodLiteral; repoUrl: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.WikiCISetup; repoUrl: string; }, { platform: SessionPlatform.WikiCISetup; repoUrl: string; }>; declare const SessionSourceSchema: z.ZodDiscriminatedUnion<"platform", [z.ZodObject<{ platform: z.ZodLiteral; teamId: z.ZodOptional>; channel: z.ZodOptional>; threadTs: z.ZodOptional>; userId: z.ZodOptional>; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; }, { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; }>, z.ZodObject<{ platform: z.ZodLiteral; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Web; delegationSessionId: string; }, { platform: SessionPlatform.Web; delegationSessionId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Api; delegationSessionId: string; }, { platform: SessionPlatform.Api; delegationSessionId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.SessionsApi; delegationSessionId: string; }, { platform: SessionPlatform.SessionsApi; delegationSessionId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; agentSessionId: z.ZodString; issueId: z.ZodOptional>; issueUrl: z.ZodOptional>; issueIdentifier: z.ZodOptional>; organizationId: z.ZodOptional>; userId: z.ZodOptional>; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; }, { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; }>, z.ZodObject<{ platform: z.ZodLiteral; reportId: z.ZodString; repoUrl: z.ZodString; criterionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; }, { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; repoUrl: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; }, { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; }>, z.ZodObject<{ platform: z.ZodLiteral; automationId: z.ZodString; computerId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Automation; computerId: string; automationId: string; }, { platform: SessionPlatform.Automation; computerId: string; automationId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; repoUrl: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.WikiGeneration; repoUrl: string; }, { platform: SessionPlatform.WikiGeneration; repoUrl: string; }>, z.ZodObject<{ platform: z.ZodLiteral; repoUrl: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.WikiCISetup; repoUrl: string; }, { platform: SessionPlatform.WikiCISetup; repoUrl: string; }>]>; type SlackSource = z.infer; type WebSource = z.infer; type ApiSource = z.infer; type SessionsApiSource = z.infer; type LinearSource = z.infer; type ReadinessRemediationSource = z.infer; type ReadinessEvaluationSource = z.infer; type AutomationSource = z.infer; type WikiGenerationSource = z.infer; type WikiCISetupSource = z.infer; type PlatformSource = SlackSource | WebSource | ApiSource | SessionsApiSource | LinearSource | ReadinessRemediationSource | ReadinessEvaluationSource | AutomationSource | WikiGenerationSource | WikiCISetupSource; type SessionSource = z.infer; declare const BaseContentBlockSchema: z.ZodObject<{ id: z.ZodOptional; }, "strip", z.ZodTypeAny, { id?: string | undefined; }, { id?: string | undefined; }>; declare const TextBlockSchema: z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>; declare const Base64ImageSourceSchema: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; declare const ImageBlockSchema: z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>; declare const ThinkingBlockSchema: z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; signature: z.ZodString; signatureProvider: z.ZodOptional, z.ZodLiteral<"unknown">]>>; thinking: z.ZodString; durationMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>; declare const RedactedThinkingBlockSchema: z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; data: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>; declare const ToolUseSchema: z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>; declare const Base64PDFSourceSchema: z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>; declare const PlainTextSourceSchema: z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>; declare const DocumentSourceSchema: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; declare const DocumentBlockSchema: z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>; declare const ToolResultSchema: z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; toolUseId: z.ZodString; content: z.ZodOptional; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>; declare const ContentBlockSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; signature: z.ZodString; signatureProvider: z.ZodOptional, z.ZodLiteral<"unknown">]>>; thinking: z.ZodString; durationMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; data: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; toolUseId: z.ZodString; content: z.ZodOptional; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>; declare const CacheLabelSchema: z.ZodObject<{ cache_control: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "ephemeral"; }, { type: "ephemeral"; }>>; }, "strip", z.ZodTypeAny, { cache_control?: { type: "ephemeral"; } | undefined; }, { cache_control?: { type: "ephemeral"; } | undefined; }>; declare const FactoryDroidMessageSchema: z.ZodObject<{ id: z.ZodString; role: z.ZodNativeEnum; content: z.ZodArray; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; signature: z.ZodString; signatureProvider: z.ZodOptional, z.ZodLiteral<"unknown">]>>; thinking: z.ZodString; durationMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; data: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; toolUseId: z.ZodString; content: z.ZodOptional; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; parentId: z.ZodOptional; userMessageSource: z.ZodOptional>; visibility: z.ZodOptional>; openaiMessageId: z.ZodOptional; openaiPhase: z.ZodOptional>>; openaiEncryptedContent: z.ZodOptional; openaiReasoningId: z.ZodOptional; openaiReasoningSummary: z.ZodOptional; geminiThoughtSignature: z.ZodOptional; chatCompletionReasoningField: z.ZodOptional>; chatCompletionReasoningContent: z.ZodOptional; isUserVisible: z.ZodOptional; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>; declare const FactoryDroidMessageWithCachingSchema: z.ZodObject<{ id: z.ZodString; role: z.ZodNativeEnum; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; parentId: z.ZodOptional; userMessageSource: z.ZodOptional>; visibility: z.ZodOptional>; openaiMessageId: z.ZodOptional; openaiPhase: z.ZodOptional>>; openaiEncryptedContent: z.ZodOptional; openaiReasoningId: z.ZodOptional; openaiReasoningSummary: z.ZodOptional; geminiThoughtSignature: z.ZodOptional; chatCompletionReasoningField: z.ZodOptional>; chatCompletionReasoningContent: z.ZodOptional; isUserVisible: z.ZodOptional; isError: z.ZodOptional; } & { content: z.ZodArray; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; signature: z.ZodString; signatureProvider: z.ZodOptional, z.ZodLiteral<"unknown">]>>; thinking: z.ZodString; durationMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; data: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; toolUseId: z.ZodString; content: z.ZodOptional; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, z.ZodObject<{ cache_control: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "ephemeral"; }, { type: "ephemeral"; }>>; }, "strip", z.ZodTypeAny, { cache_control?: { type: "ephemeral"; } | undefined; }, { cache_control?: { type: "ephemeral"; } | undefined; }>>, "many">; }, "strip", z.ZodTypeAny, { id: string; content: (({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }) & { cache_control?: { type: "ephemeral"; } | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: (({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }) & { cache_control?: { type: "ephemeral"; } | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>; type TextBlock = z.infer; type Base64ImageSource = z.infer; type ImageBlock = z.infer; type ThinkingBlock = z.infer; type RedactedThinkingBlock = z.infer; type ToolUse = z.infer; type Base64PDFSource = z.infer; type PlainTextSource = z.infer; type DocumentSource = z.infer; type DocumentBlock = z.infer; type ToolResult = z.infer; type ContentBlock = z.infer; type CacheLabel = z.infer; type FactoryDroidMessage = z.infer; type FactoryDroidMessageWithCaching = z.infer; declare const MissionModelSettingsSchema: z.ZodObject<{ workerModel: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>; declare const SubagentModelSettingsSchema: z.ZodObject<{ lightModel: z.ZodOptional; lightReasoningEffort: z.ZodOptional>; mediumModel: z.ZodOptional; mediumReasoningEffort: z.ZodOptional>; heavyModel: z.ZodOptional; heavyReasoningEffort: z.ZodOptional>; }, "strip", z.ZodTypeAny, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }>; type MissionModelSettings = z.infer; type SubagentModelSettings = z.infer; declare const AutonomyModeSchema: z.ZodNativeEnum; declare const CompactionModelSchema: z.ZodUnion<[z.ZodLiteral<"current-model">, z.ZodEnum<[string, ...string[]]>, z.ZodString]>; declare const SessionDefaultSettingsSchema: z.ZodObject<{ model: z.ZodOptional; reasoningEffort: z.ZodOptional>; interactionMode: z.ZodOptional>; autonomyLevel: z.ZodOptional>; autonomyMode: z.ZodOptional>; specModeModel: z.ZodOptional; specModeReasoningEffort: z.ZodOptional>; /** * When true, new sessions started against a git repo are created in an * isolated worktree. Gated behind the `DesktopWorktrees` feature flag in * the desktop UI. */ runInWorktree: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; model?: string | undefined; specModeModel?: string | undefined; runInWorktree?: boolean | undefined; }, { reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; model?: string | undefined; specModeModel?: string | undefined; runInWorktree?: boolean | undefined; }>; declare const MarketplaceSourceSchema: z.ZodDiscriminatedUnion<"source", [z.ZodObject<{ source: z.ZodLiteral<"github">; repo: z.ZodString; }, "strip", z.ZodTypeAny, { source: "github"; repo: string; }, { source: "github"; repo: string; }>, z.ZodObject<{ source: z.ZodLiteral<"url">; url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; source: "url"; }, { url: string; source: "url"; }>, z.ZodObject<{ source: z.ZodLiteral<"local">; path: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; source: "local"; }, { path: string; source: "local"; }>, z.ZodObject<{ source: z.ZodLiteral<"git-subdir">; url: z.ZodString; path: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; url: string; source: "git-subdir"; }, { path: string; url: string; source: "git-subdir"; }>]>; declare const SettingsSourceTypeEnum: z.ZodEnum<["builtin-default", "dynamic-config", "org", "user", "project", "folder", "feature-flag", "localstorage", "nav-state", "orchestrator-override", "auto-select", "session-state"]>; declare const SettingsSourceSchema: z.ZodObject<{ type: z.ZodEnum<["builtin-default", "dynamic-config", "org", "user", "project", "folder", "feature-flag", "localstorage", "nav-state", "orchestrator-override", "auto-select", "session-state"]>; filePath: z.ZodOptional; flagName: z.ZodOptional; key: z.ZodOptional; orgId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }, { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }>; declare const SettingsActionEnum: z.ZodEnum<["set", "override", "skip", "fallback"]>; declare const SettingsResolutionEventSchema: z.ZodObject<{ timestamp: z.ZodString; keys: z.ZodArray; action: z.ZodEnum<["set", "override", "skip", "fallback"]>; source: z.ZodObject<{ type: z.ZodEnum<["builtin-default", "dynamic-config", "org", "user", "project", "folder", "feature-flag", "localstorage", "nav-state", "orchestrator-override", "auto-select", "session-state"]>; filePath: z.ZodOptional; flagName: z.ZodOptional; key: z.ZodOptional; orgId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }, { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }>; value: z.ZodOptional>; reason: z.ZodOptional; location: z.ZodOptional; }, "strip", z.ZodTypeAny, { file: string; package: string; function?: string | undefined; }, { file: string; package: string; function?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }, { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }>; type SessionDefaultSettings = z.infer; type MarketplaceSource = z.infer; type CompactionModel = z.infer; type SettingsResolutionEvent = z.infer; type SettingsSource = z.infer; declare const ModelPolicySchema: z.ZodObject<{ allowedModelIds: z.ZodOptional, ModelID[], string[]>>; blockedModelIds: z.ZodOptional, ModelID[], string[]>>; allowCustomModels: z.ZodOptional; allowedBaseUrls: z.ZodOptional>; allowAllFactoryModels: z.ZodOptional; isFastModelsAllowed: z.ZodOptional; }, "strip", z.ZodTypeAny, { allowedModelIds?: ModelID[] | undefined; blockedModelIds?: ModelID[] | undefined; allowCustomModels?: boolean | undefined; allowedBaseUrls?: string[] | undefined; allowAllFactoryModels?: boolean | undefined; isFastModelsAllowed?: boolean | undefined; }, { allowedModelIds?: string[] | undefined; blockedModelIds?: string[] | undefined; allowCustomModels?: boolean | undefined; allowedBaseUrls?: string[] | undefined; allowAllFactoryModels?: boolean | undefined; isFastModelsAllowed?: boolean | undefined; }>; declare const McpPolicySchema: z.ZodObject<{ enabled: z.ZodDefault; allowlist: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabled: boolean; allowlist?: string[] | undefined; }, { enabled?: boolean | undefined; allowlist?: string[] | undefined; }>; declare const MissionPolicySchema: z.ZodObject<{ restrictedAccess: z.ZodDefault; allowedUserIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { restrictedAccess: boolean; allowedUserIds?: string[] | undefined; }, { restrictedAccess?: boolean | undefined; allowedUserIds?: string[] | undefined; }>; declare const SandboxFilesystemSettingsSchema: z.ZodObject<{ allowWrite: z.ZodOptional>; allowRead: z.ZodOptional>; denyWrite: z.ZodOptional>; denyRead: z.ZodOptional>; }, "strip", z.ZodTypeAny, { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; }, { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; }>; declare const SandboxNetworkSettingsSchema: z.ZodObject<{ allowedDomains: z.ZodOptional>; allowUnixSockets: z.ZodOptional>; allowAllUnixSockets: z.ZodOptional; allowLocalBinding: z.ZodOptional; httpProxyPort: z.ZodOptional; socksProxyPort: z.ZodOptional; }, "strip", z.ZodTypeAny, { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; }, { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; }>; declare const SandboxSettingsSchema: z.ZodObject<{ enabled: z.ZodOptional; mode: z.ZodOptional>; filesystem: z.ZodOptional>; allowRead: z.ZodOptional>; denyWrite: z.ZodOptional>; denyRead: z.ZodOptional>; }, "strip", z.ZodTypeAny, { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; }, { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; }>>; network: z.ZodOptional>; allowUnixSockets: z.ZodOptional>; allowAllUnixSockets: z.ZodOptional; allowLocalBinding: z.ZodOptional; httpProxyPort: z.ZodOptional; socksProxyPort: z.ZodOptional; }, "strip", z.ZodTypeAny, { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; }, { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; network?: { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; } | undefined; mode?: SandboxMode | undefined; filesystem?: { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; } | undefined; }, { enabled?: boolean | undefined; network?: { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; } | undefined; mode?: SandboxMode | undefined; filesystem?: { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; } | undefined; }>; declare const SESSION_RETENTION_MIN_DAYS = 14; declare const SESSION_RETENTION_MAX_DAYS = 365; declare const FactoryRouterRuleSchema: z.ZodObject<{ when: z.ZodOptional; guidance: z.ZodString; }, "strip", z.ZodTypeAny, { guidance: string; when?: string | undefined; }, { guidance: string; when?: string | undefined; }>; declare const ManagedSettingsBaseSchema: z.ZodObject<{ sessionDefaultSettings: z.ZodOptional; reasoningEffort: z.ZodOptional>; interactionMode: z.ZodOptional>; autonomyLevel: z.ZodOptional>; autonomyMode: z.ZodOptional>; specModeModel: z.ZodOptional; specModeReasoningEffort: z.ZodOptional>; runInWorktree: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; model?: string | undefined; specModeModel?: string | undefined; runInWorktree?: boolean | undefined; }, { reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; model?: string | undefined; specModeModel?: string | undefined; runInWorktree?: boolean | undefined; }>>; maxAutonomyLevel: z.ZodOptional>; mcpAutonomyOverrides: z.ZodOptional>; tools: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { tools?: Record | undefined; defaultLevel?: AutonomyLevel.Low | AutonomyLevel.Medium | AutonomyLevel.High | undefined; }, { tools?: Record | undefined; defaultLevel?: AutonomyLevel.Low | AutonomyLevel.Medium | AutonomyLevel.High | undefined; }>>>; mcpAutonomyUrlOverrides: z.ZodOptional; }, "strip", z.ZodTypeAny, { urlPattern: string; defaultLevel: AutonomyLevel.Low | AutonomyLevel.Medium | AutonomyLevel.High; }, { urlPattern: string; defaultLevel: AutonomyLevel.Low | AutonomyLevel.Medium | AutonomyLevel.High; }>, "many">>; cloudSessionSync: z.ZodOptional; wikiCloudSync: z.ZodOptional; includeCoAuthoredByDroid: z.ZodOptional; enableDroidShield: z.ZodOptional; ideAutoConnect: z.ZodOptional; commandAllowlist: z.ZodOptional>; commandDenylist: z.ZodOptional>; customModels: z.ZodOptional; index: z.ZodOptional; baseUrl: z.ZodOptional; apiKey: z.ZodOptional; provider: z.ZodNativeEnum; displayName: z.ZodOptional; maxContextLimit: z.ZodOptional; enableThinking: z.ZodOptional; thinkingMaxTokens: z.ZodOptional; maxOutputTokens: z.ZodOptional; reasoningEffort: z.ZodOptional>; extraHeaders: z.ZodOptional>; extraArgs: z.ZodOptional>; noImageSupport: z.ZodOptional; bedrock: z.ZodOptional; awsRegion: z.ZodOptional; bedrockBaseUrl: z.ZodOptional; awsAuthRefresh: z.ZodOptional; awsCredentialExport: z.ZodOptional; }, "strip", z.ZodTypeAny, { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; }, { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }>, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }>, "many">>; modelPolicy: z.ZodOptional, ModelID[], string[]>>; blockedModelIds: z.ZodOptional, ModelID[], string[]>>; allowCustomModels: z.ZodOptional; allowedBaseUrls: z.ZodOptional>; allowAllFactoryModels: z.ZodOptional; isFastModelsAllowed: z.ZodOptional; }, "strip", z.ZodTypeAny, { allowedModelIds?: ModelID[] | undefined; blockedModelIds?: ModelID[] | undefined; allowCustomModels?: boolean | undefined; allowedBaseUrls?: string[] | undefined; allowAllFactoryModels?: boolean | undefined; isFastModelsAllowed?: boolean | undefined; }, { allowedModelIds?: string[] | undefined; blockedModelIds?: string[] | undefined; allowCustomModels?: boolean | undefined; allowedBaseUrls?: string[] | undefined; allowAllFactoryModels?: boolean | undefined; isFastModelsAllowed?: boolean | undefined; }>>; mcpPolicy: z.ZodOptional; allowlist: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabled: boolean; allowlist?: string[] | undefined; }, { enabled?: boolean | undefined; allowlist?: string[] | undefined; }>>; missionPolicy: z.ZodOptional; allowedUserIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { restrictedAccess: boolean; allowedUserIds?: string[] | undefined; }, { restrictedAccess?: boolean | undefined; allowedUserIds?: string[] | undefined; }>>; userModelPolicies: z.ZodOptional, ModelID[], string[]>; blockedModelIds: z.ZodEffects, ModelID[], string[]>; }, "strip", z.ZodTypeAny, { allowedModelIds: ModelID[]; blockedModelIds: ModelID[]; }, { allowedModelIds: string[]; blockedModelIds: string[]; }>>>; enabledPlugins: z.ZodOptional>; extraKnownMarketplaces: z.ZodOptional; repo: z.ZodString; }, "strip", z.ZodTypeAny, { source: "github"; repo: string; }, { source: "github"; repo: string; }>, z.ZodObject<{ source: z.ZodLiteral<"url">; url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; source: "url"; }, { url: string; source: "url"; }>, z.ZodObject<{ source: z.ZodLiteral<"local">; path: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; source: "local"; }, { path: string; source: "local"; }>, z.ZodObject<{ source: z.ZodLiteral<"git-subdir">; url: z.ZodString; path: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; url: string; source: "git-subdir"; }, { path: string; url: string; source: "git-subdir"; }>]>; }, "strip", z.ZodTypeAny, { source: { source: "github"; repo: string; } | { url: string; source: "url"; } | { path: string; source: "local"; } | { path: string; url: string; source: "git-subdir"; }; }, { source: { source: "github"; repo: string; } | { url: string; source: "url"; } | { path: string; source: "local"; } | { path: string; url: string; source: "git-subdir"; }; }>>>; strictKnownMarketplaces: z.ZodOptional; repo: z.ZodString; }, "strip", z.ZodTypeAny, { source: "github"; repo: string; }, { source: "github"; repo: string; }>, z.ZodObject<{ source: z.ZodLiteral<"url">; url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; source: "url"; }, { url: string; source: "url"; }>, z.ZodObject<{ source: z.ZodLiteral<"local">; path: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; source: "local"; }, { path: string; source: "local"; }>, z.ZodObject<{ source: z.ZodLiteral<"git-subdir">; url: z.ZodString; path: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; url: string; source: "git-subdir"; }, { path: string; url: string; source: "git-subdir"; }>]>, "many">>; networkPolicy: z.ZodOptional; }, "strip", z.ZodTypeAny, { allowedIps: string[]; }, { allowedIps: string[]; }>>; sandbox: z.ZodOptional; mode: z.ZodOptional>; filesystem: z.ZodOptional>; allowRead: z.ZodOptional>; denyWrite: z.ZodOptional>; denyRead: z.ZodOptional>; }, "strip", z.ZodTypeAny, { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; }, { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; }>>; network: z.ZodOptional>; allowUnixSockets: z.ZodOptional>; allowAllUnixSockets: z.ZodOptional; allowLocalBinding: z.ZodOptional; httpProxyPort: z.ZodOptional; socksProxyPort: z.ZodOptional; }, "strip", z.ZodTypeAny, { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; }, { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; network?: { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; } | undefined; mode?: SandboxMode | undefined; filesystem?: { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; } | undefined; }, { enabled?: boolean | undefined; network?: { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; } | undefined; mode?: SandboxMode | undefined; filesystem?: { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; } | undefined; }>>; restrictMemberVisibility: z.ZodOptional; restrictApiKeyCreationToManagers: z.ZodOptional; managedComputersEnabled: z.ZodOptional; managedComputersAllowedEmails: z.ZodOptional>; byomComputersEnabled: z.ZodOptional; byomComputersAllowedEmails: z.ZodOptional>; sessionRetentionDays: z.ZodOptional; factoryRouterGuidance: z.ZodOptional; factoryRouterRules: z.ZodOptional; guidance: z.ZodString; }, "strip", z.ZodTypeAny, { guidance: string; when?: string | undefined; }, { guidance: string; when?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { sessionDefaultSettings?: { reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; model?: string | undefined; specModeModel?: string | undefined; runInWorktree?: boolean | undefined; } | undefined; maxAutonomyLevel?: AutonomyLevel | undefined; mcpAutonomyOverrides?: Record | undefined; defaultLevel?: AutonomyLevel.Low | AutonomyLevel.Medium | AutonomyLevel.High | undefined; }> | undefined; mcpAutonomyUrlOverrides?: { urlPattern: string; defaultLevel: AutonomyLevel.Low | AutonomyLevel.Medium | AutonomyLevel.High; }[] | undefined; cloudSessionSync?: boolean | undefined; wikiCloudSync?: boolean | undefined; includeCoAuthoredByDroid?: boolean | undefined; enableDroidShield?: boolean | undefined; ideAutoConnect?: boolean | undefined; commandAllowlist?: string[] | undefined; commandDenylist?: string[] | undefined; customModels?: { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }[] | undefined; modelPolicy?: { allowedModelIds?: ModelID[] | undefined; blockedModelIds?: ModelID[] | undefined; allowCustomModels?: boolean | undefined; allowedBaseUrls?: string[] | undefined; allowAllFactoryModels?: boolean | undefined; isFastModelsAllowed?: boolean | undefined; } | undefined; mcpPolicy?: { enabled: boolean; allowlist?: string[] | undefined; } | undefined; missionPolicy?: { restrictedAccess: boolean; allowedUserIds?: string[] | undefined; } | undefined; userModelPolicies?: Record | undefined; enabledPlugins?: Record | undefined; extraKnownMarketplaces?: Record | undefined; strictKnownMarketplaces?: ({ source: "github"; repo: string; } | { url: string; source: "url"; } | { path: string; source: "local"; } | { path: string; url: string; source: "git-subdir"; })[] | undefined; networkPolicy?: { allowedIps: string[]; } | undefined; sandbox?: { enabled?: boolean | undefined; network?: { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; } | undefined; mode?: SandboxMode | undefined; filesystem?: { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; } | undefined; } | undefined; restrictMemberVisibility?: boolean | undefined; restrictApiKeyCreationToManagers?: boolean | undefined; managedComputersEnabled?: boolean | undefined; managedComputersAllowedEmails?: string[] | undefined; byomComputersEnabled?: boolean | undefined; byomComputersAllowedEmails?: string[] | undefined; sessionRetentionDays?: number | undefined; factoryRouterGuidance?: string | undefined; factoryRouterRules?: { guidance: string; when?: string | undefined; }[] | undefined; }, { sessionDefaultSettings?: { reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; model?: string | undefined; specModeModel?: string | undefined; runInWorktree?: boolean | undefined; } | undefined; maxAutonomyLevel?: AutonomyLevel | undefined; mcpAutonomyOverrides?: Record | undefined; defaultLevel?: AutonomyLevel.Low | AutonomyLevel.Medium | AutonomyLevel.High | undefined; }> | undefined; mcpAutonomyUrlOverrides?: { urlPattern: string; defaultLevel: AutonomyLevel.Low | AutonomyLevel.Medium | AutonomyLevel.High; }[] | undefined; cloudSessionSync?: boolean | undefined; wikiCloudSync?: boolean | undefined; includeCoAuthoredByDroid?: boolean | undefined; enableDroidShield?: boolean | undefined; ideAutoConnect?: boolean | undefined; commandAllowlist?: string[] | undefined; commandDenylist?: string[] | undefined; customModels?: { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }[] | undefined; modelPolicy?: { allowedModelIds?: string[] | undefined; blockedModelIds?: string[] | undefined; allowCustomModels?: boolean | undefined; allowedBaseUrls?: string[] | undefined; allowAllFactoryModels?: boolean | undefined; isFastModelsAllowed?: boolean | undefined; } | undefined; mcpPolicy?: { enabled?: boolean | undefined; allowlist?: string[] | undefined; } | undefined; missionPolicy?: { restrictedAccess?: boolean | undefined; allowedUserIds?: string[] | undefined; } | undefined; userModelPolicies?: Record | undefined; enabledPlugins?: Record | undefined; extraKnownMarketplaces?: Record | undefined; strictKnownMarketplaces?: ({ source: "github"; repo: string; } | { url: string; source: "url"; } | { path: string; source: "local"; } | { path: string; url: string; source: "git-subdir"; })[] | undefined; networkPolicy?: { allowedIps: string[]; } | undefined; sandbox?: { enabled?: boolean | undefined; network?: { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; } | undefined; mode?: SandboxMode | undefined; filesystem?: { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; } | undefined; } | undefined; restrictMemberVisibility?: boolean | undefined; restrictApiKeyCreationToManagers?: boolean | undefined; managedComputersEnabled?: boolean | undefined; managedComputersAllowedEmails?: string[] | undefined; byomComputersEnabled?: boolean | undefined; byomComputersAllowedEmails?: string[] | undefined; sessionRetentionDays?: number | undefined; factoryRouterGuidance?: string | undefined; factoryRouterRules?: { guidance: string; when?: string | undefined; }[] | undefined; }>; declare const GeneralSettingsSchema: z.ZodObject<{ sessionDefaultSettings: z.ZodOptional; reasoningEffort: z.ZodOptional>; interactionMode: z.ZodOptional>; autonomyLevel: z.ZodOptional>; autonomyMode: z.ZodOptional>; specModeModel: z.ZodOptional; specModeReasoningEffort: z.ZodOptional>; runInWorktree: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; model?: string | undefined; specModeModel?: string | undefined; runInWorktree?: boolean | undefined; }, { reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; model?: string | undefined; specModeModel?: string | undefined; runInWorktree?: boolean | undefined; }>>; maxAutonomyLevel: z.ZodOptional>; mcpAutonomyOverrides: z.ZodOptional>; tools: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { tools?: Record | undefined; defaultLevel?: AutonomyLevel.Low | AutonomyLevel.Medium | AutonomyLevel.High | undefined; }, { tools?: Record | undefined; defaultLevel?: AutonomyLevel.Low | AutonomyLevel.Medium | AutonomyLevel.High | undefined; }>>>; mcpAutonomyUrlOverrides: z.ZodOptional; }, "strip", z.ZodTypeAny, { urlPattern: string; defaultLevel: AutonomyLevel.Low | AutonomyLevel.Medium | AutonomyLevel.High; }, { urlPattern: string; defaultLevel: AutonomyLevel.Low | AutonomyLevel.Medium | AutonomyLevel.High; }>, "many">>; cloudSessionSync: z.ZodOptional; wikiCloudSync: z.ZodOptional; includeCoAuthoredByDroid: z.ZodOptional; enableDroidShield: z.ZodOptional; ideAutoConnect: z.ZodOptional; commandAllowlist: z.ZodOptional>; commandDenylist: z.ZodOptional>; customModels: z.ZodOptional; index: z.ZodOptional; baseUrl: z.ZodOptional; apiKey: z.ZodOptional; provider: z.ZodNativeEnum; displayName: z.ZodOptional; maxContextLimit: z.ZodOptional; enableThinking: z.ZodOptional; thinkingMaxTokens: z.ZodOptional; maxOutputTokens: z.ZodOptional; reasoningEffort: z.ZodOptional>; extraHeaders: z.ZodOptional>; extraArgs: z.ZodOptional>; noImageSupport: z.ZodOptional; bedrock: z.ZodOptional; awsRegion: z.ZodOptional; bedrockBaseUrl: z.ZodOptional; awsAuthRefresh: z.ZodOptional; awsCredentialExport: z.ZodOptional; }, "strip", z.ZodTypeAny, { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; }, { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }>, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }>, "many">>; modelPolicy: z.ZodOptional, ModelID[], string[]>>; blockedModelIds: z.ZodOptional, ModelID[], string[]>>; allowCustomModels: z.ZodOptional; allowedBaseUrls: z.ZodOptional>; allowAllFactoryModels: z.ZodOptional; isFastModelsAllowed: z.ZodOptional; }, "strip", z.ZodTypeAny, { allowedModelIds?: ModelID[] | undefined; blockedModelIds?: ModelID[] | undefined; allowCustomModels?: boolean | undefined; allowedBaseUrls?: string[] | undefined; allowAllFactoryModels?: boolean | undefined; isFastModelsAllowed?: boolean | undefined; }, { allowedModelIds?: string[] | undefined; blockedModelIds?: string[] | undefined; allowCustomModels?: boolean | undefined; allowedBaseUrls?: string[] | undefined; allowAllFactoryModels?: boolean | undefined; isFastModelsAllowed?: boolean | undefined; }>>; mcpPolicy: z.ZodOptional; allowlist: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabled: boolean; allowlist?: string[] | undefined; }, { enabled?: boolean | undefined; allowlist?: string[] | undefined; }>>; missionPolicy: z.ZodOptional; allowedUserIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { restrictedAccess: boolean; allowedUserIds?: string[] | undefined; }, { restrictedAccess?: boolean | undefined; allowedUserIds?: string[] | undefined; }>>; userModelPolicies: z.ZodOptional, ModelID[], string[]>; blockedModelIds: z.ZodEffects, ModelID[], string[]>; }, "strip", z.ZodTypeAny, { allowedModelIds: ModelID[]; blockedModelIds: ModelID[]; }, { allowedModelIds: string[]; blockedModelIds: string[]; }>>>; enabledPlugins: z.ZodOptional>; extraKnownMarketplaces: z.ZodOptional; repo: z.ZodString; }, "strip", z.ZodTypeAny, { source: "github"; repo: string; }, { source: "github"; repo: string; }>, z.ZodObject<{ source: z.ZodLiteral<"url">; url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; source: "url"; }, { url: string; source: "url"; }>, z.ZodObject<{ source: z.ZodLiteral<"local">; path: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; source: "local"; }, { path: string; source: "local"; }>, z.ZodObject<{ source: z.ZodLiteral<"git-subdir">; url: z.ZodString; path: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; url: string; source: "git-subdir"; }, { path: string; url: string; source: "git-subdir"; }>]>; }, "strip", z.ZodTypeAny, { source: { source: "github"; repo: string; } | { url: string; source: "url"; } | { path: string; source: "local"; } | { path: string; url: string; source: "git-subdir"; }; }, { source: { source: "github"; repo: string; } | { url: string; source: "url"; } | { path: string; source: "local"; } | { path: string; url: string; source: "git-subdir"; }; }>>>; strictKnownMarketplaces: z.ZodOptional; repo: z.ZodString; }, "strip", z.ZodTypeAny, { source: "github"; repo: string; }, { source: "github"; repo: string; }>, z.ZodObject<{ source: z.ZodLiteral<"url">; url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; source: "url"; }, { url: string; source: "url"; }>, z.ZodObject<{ source: z.ZodLiteral<"local">; path: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; source: "local"; }, { path: string; source: "local"; }>, z.ZodObject<{ source: z.ZodLiteral<"git-subdir">; url: z.ZodString; path: z.ZodString; }, "strip", z.ZodTypeAny, { path: string; url: string; source: "git-subdir"; }, { path: string; url: string; source: "git-subdir"; }>]>, "many">>; networkPolicy: z.ZodOptional; }, "strip", z.ZodTypeAny, { allowedIps: string[]; }, { allowedIps: string[]; }>>; sandbox: z.ZodOptional; mode: z.ZodOptional>; filesystem: z.ZodOptional>; allowRead: z.ZodOptional>; denyWrite: z.ZodOptional>; denyRead: z.ZodOptional>; }, "strip", z.ZodTypeAny, { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; }, { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; }>>; network: z.ZodOptional>; allowUnixSockets: z.ZodOptional>; allowAllUnixSockets: z.ZodOptional; allowLocalBinding: z.ZodOptional; httpProxyPort: z.ZodOptional; socksProxyPort: z.ZodOptional; }, "strip", z.ZodTypeAny, { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; }, { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { enabled?: boolean | undefined; network?: { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; } | undefined; mode?: SandboxMode | undefined; filesystem?: { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; } | undefined; }, { enabled?: boolean | undefined; network?: { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; } | undefined; mode?: SandboxMode | undefined; filesystem?: { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; } | undefined; }>>; restrictMemberVisibility: z.ZodOptional; restrictApiKeyCreationToManagers: z.ZodOptional; managedComputersEnabled: z.ZodOptional; managedComputersAllowedEmails: z.ZodOptional>; byomComputersEnabled: z.ZodOptional; byomComputersAllowedEmails: z.ZodOptional>; sessionRetentionDays: z.ZodOptional; factoryRouterGuidance: z.ZodOptional; factoryRouterRules: z.ZodOptional; guidance: z.ZodString; }, "strip", z.ZodTypeAny, { guidance: string; when?: string | undefined; }, { guidance: string; when?: string | undefined; }>, "many">>; } & { diffMode: z.ZodOptional>; ideExtensionPromptedAt: z.ZodOptional>; ideActivationNudgedForVersion: z.ZodOptional>; enableCompletionBell: z.ZodOptional; completionSound: z.ZodOptional; awaitingInputSound: z.ZodOptional; soundFocusMode: z.ZodOptional>; completionSoundFocusMode: z.ZodOptional>; awaitingInputSoundFocusMode: z.ZodOptional>; specSaveEnabled: z.ZodOptional; specSaveDir: z.ZodOptional; todoDisplayMode: z.ZodOptional>; toolResultDisplay: z.ZodOptional>; showThinkingInMainView: z.ZodOptional; keepSystemAwakeDuringMissions: z.ZodOptional; showTokenUsageIndicator: z.ZodOptional; missionOrchestratorModel: z.ZodOptional; missionOrchestratorReasoningEffort: z.ZodOptional>; modelFavorites: z.ZodOptional>; dismissedNewModels: z.ZodOptional>; logoAnimation: z.ZodOptional>; missionModelSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; subagentModelSettings: z.ZodOptional; lightReasoningEffort: z.ZodOptional>; mediumModel: z.ZodOptional; mediumReasoningEffort: z.ZodOptional>; heavyModel: z.ZodOptional; heavyReasoningEffort: z.ZodOptional>; }, "strip", z.ZodTypeAny, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }>>; statusLine: z.ZodOptional>; command: z.ZodString; padding: z.ZodOptional; maxRows: z.ZodOptional; }, "strip", z.ZodTypeAny, { command: string; type?: "command" | undefined; padding?: number | undefined; maxRows?: number | undefined; }, { command: string; type?: "command" | undefined; padding?: number | undefined; maxRows?: number | undefined; }>>; theme: z.ZodOptional; overrideTerminalColors: z.ZodOptional; hasSeenMissionOnboarding: z.ZodOptional; worktreeDirectory: z.ZodOptional; windowZoomLevel: z.ZodOptional; remoteAccessEnabled: z.ZodOptional; llmRequestTimeout: z.ZodOptional; subagentInactivityTimeout: z.ZodOptional; subagentSounds: z.ZodOptional>; nerdFont: z.ZodOptional; compactionTokenLimit: z.ZodOptional; compactionTokenLimitPerModel: z.ZodOptional>; compactionModel: z.ZodOptional, z.ZodEnum<[string, ...string[]]>, z.ZodString]>>; }, "strip", z.ZodTypeAny, { sessionDefaultSettings?: { reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; model?: string | undefined; specModeModel?: string | undefined; runInWorktree?: boolean | undefined; } | undefined; maxAutonomyLevel?: AutonomyLevel | undefined; mcpAutonomyOverrides?: Record | undefined; defaultLevel?: AutonomyLevel.Low | AutonomyLevel.Medium | AutonomyLevel.High | undefined; }> | undefined; mcpAutonomyUrlOverrides?: { urlPattern: string; defaultLevel: AutonomyLevel.Low | AutonomyLevel.Medium | AutonomyLevel.High; }[] | undefined; cloudSessionSync?: boolean | undefined; wikiCloudSync?: boolean | undefined; includeCoAuthoredByDroid?: boolean | undefined; enableDroidShield?: boolean | undefined; ideAutoConnect?: boolean | undefined; commandAllowlist?: string[] | undefined; commandDenylist?: string[] | undefined; customModels?: { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }[] | undefined; modelPolicy?: { allowedModelIds?: ModelID[] | undefined; blockedModelIds?: ModelID[] | undefined; allowCustomModels?: boolean | undefined; allowedBaseUrls?: string[] | undefined; allowAllFactoryModels?: boolean | undefined; isFastModelsAllowed?: boolean | undefined; } | undefined; mcpPolicy?: { enabled: boolean; allowlist?: string[] | undefined; } | undefined; missionPolicy?: { restrictedAccess: boolean; allowedUserIds?: string[] | undefined; } | undefined; userModelPolicies?: Record | undefined; enabledPlugins?: Record | undefined; extraKnownMarketplaces?: Record | undefined; strictKnownMarketplaces?: ({ source: "github"; repo: string; } | { url: string; source: "url"; } | { path: string; source: "local"; } | { path: string; url: string; source: "git-subdir"; })[] | undefined; networkPolicy?: { allowedIps: string[]; } | undefined; sandbox?: { enabled?: boolean | undefined; network?: { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; } | undefined; mode?: SandboxMode | undefined; filesystem?: { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; } | undefined; } | undefined; restrictMemberVisibility?: boolean | undefined; restrictApiKeyCreationToManagers?: boolean | undefined; managedComputersEnabled?: boolean | undefined; managedComputersAllowedEmails?: string[] | undefined; byomComputersEnabled?: boolean | undefined; byomComputersAllowedEmails?: string[] | undefined; sessionRetentionDays?: number | undefined; factoryRouterGuidance?: string | undefined; factoryRouterRules?: { guidance: string; when?: string | undefined; }[] | undefined; diffMode?: DiffMode | undefined; ideExtensionPromptedAt?: Record | undefined; ideActivationNudgedForVersion?: Record | undefined; enableCompletionBell?: boolean | undefined; completionSound?: string | undefined; awaitingInputSound?: string | undefined; soundFocusMode?: SoundFocusMode | undefined; completionSoundFocusMode?: SoundFocusMode | undefined; awaitingInputSoundFocusMode?: SoundFocusMode | undefined; specSaveEnabled?: boolean | undefined; specSaveDir?: string | undefined; todoDisplayMode?: TodoDisplayMode | undefined; toolResultDisplay?: ToolResultDisplay | undefined; showThinkingInMainView?: boolean | undefined; keepSystemAwakeDuringMissions?: boolean | undefined; showTokenUsageIndicator?: boolean | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; modelFavorites?: string[] | undefined; dismissedNewModels?: string[] | undefined; logoAnimation?: LogoAnimationMode | undefined; missionModelSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; statusLine?: { command: string; type?: "command" | undefined; padding?: number | undefined; maxRows?: number | undefined; } | undefined; theme?: string | undefined; overrideTerminalColors?: boolean | undefined; hasSeenMissionOnboarding?: boolean | undefined; worktreeDirectory?: string | undefined; windowZoomLevel?: number | undefined; remoteAccessEnabled?: boolean | undefined; llmRequestTimeout?: number | undefined; subagentInactivityTimeout?: number | undefined; subagentSounds?: SubagentSoundMode | undefined; nerdFont?: boolean | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; }, { sessionDefaultSettings?: { reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; model?: string | undefined; specModeModel?: string | undefined; runInWorktree?: boolean | undefined; } | undefined; maxAutonomyLevel?: AutonomyLevel | undefined; mcpAutonomyOverrides?: Record | undefined; defaultLevel?: AutonomyLevel.Low | AutonomyLevel.Medium | AutonomyLevel.High | undefined; }> | undefined; mcpAutonomyUrlOverrides?: { urlPattern: string; defaultLevel: AutonomyLevel.Low | AutonomyLevel.Medium | AutonomyLevel.High; }[] | undefined; cloudSessionSync?: boolean | undefined; wikiCloudSync?: boolean | undefined; includeCoAuthoredByDroid?: boolean | undefined; enableDroidShield?: boolean | undefined; ideAutoConnect?: boolean | undefined; commandAllowlist?: string[] | undefined; commandDenylist?: string[] | undefined; customModels?: { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }[] | undefined; modelPolicy?: { allowedModelIds?: string[] | undefined; blockedModelIds?: string[] | undefined; allowCustomModels?: boolean | undefined; allowedBaseUrls?: string[] | undefined; allowAllFactoryModels?: boolean | undefined; isFastModelsAllowed?: boolean | undefined; } | undefined; mcpPolicy?: { enabled?: boolean | undefined; allowlist?: string[] | undefined; } | undefined; missionPolicy?: { restrictedAccess?: boolean | undefined; allowedUserIds?: string[] | undefined; } | undefined; userModelPolicies?: Record | undefined; enabledPlugins?: Record | undefined; extraKnownMarketplaces?: Record | undefined; strictKnownMarketplaces?: ({ source: "github"; repo: string; } | { url: string; source: "url"; } | { path: string; source: "local"; } | { path: string; url: string; source: "git-subdir"; })[] | undefined; networkPolicy?: { allowedIps: string[]; } | undefined; sandbox?: { enabled?: boolean | undefined; network?: { allowedDomains?: string[] | undefined; allowUnixSockets?: string[] | undefined; allowAllUnixSockets?: boolean | undefined; allowLocalBinding?: boolean | undefined; httpProxyPort?: number | undefined; socksProxyPort?: number | undefined; } | undefined; mode?: SandboxMode | undefined; filesystem?: { allowWrite?: string[] | undefined; allowRead?: string[] | undefined; denyWrite?: string[] | undefined; denyRead?: string[] | undefined; } | undefined; } | undefined; restrictMemberVisibility?: boolean | undefined; restrictApiKeyCreationToManagers?: boolean | undefined; managedComputersEnabled?: boolean | undefined; managedComputersAllowedEmails?: string[] | undefined; byomComputersEnabled?: boolean | undefined; byomComputersAllowedEmails?: string[] | undefined; sessionRetentionDays?: number | undefined; factoryRouterGuidance?: string | undefined; factoryRouterRules?: { guidance: string; when?: string | undefined; }[] | undefined; diffMode?: DiffMode | undefined; ideExtensionPromptedAt?: Record | undefined; ideActivationNudgedForVersion?: Record | undefined; enableCompletionBell?: boolean | undefined; completionSound?: string | undefined; awaitingInputSound?: string | undefined; soundFocusMode?: SoundFocusMode | undefined; completionSoundFocusMode?: SoundFocusMode | undefined; awaitingInputSoundFocusMode?: SoundFocusMode | undefined; specSaveEnabled?: boolean | undefined; specSaveDir?: string | undefined; todoDisplayMode?: TodoDisplayMode | undefined; toolResultDisplay?: ToolResultDisplay | undefined; showThinkingInMainView?: boolean | undefined; keepSystemAwakeDuringMissions?: boolean | undefined; showTokenUsageIndicator?: boolean | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; modelFavorites?: string[] | undefined; dismissedNewModels?: string[] | undefined; logoAnimation?: LogoAnimationMode | undefined; missionModelSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; statusLine?: { command: string; type?: "command" | undefined; padding?: number | undefined; maxRows?: number | undefined; } | undefined; theme?: string | undefined; overrideTerminalColors?: boolean | undefined; hasSeenMissionOnboarding?: boolean | undefined; worktreeDirectory?: string | undefined; windowZoomLevel?: number | undefined; remoteAccessEnabled?: boolean | undefined; llmRequestTimeout?: number | undefined; subagentInactivityTimeout?: number | undefined; subagentSounds?: SubagentSoundMode | undefined; nerdFont?: boolean | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; }>; type ManagedSettingsBase = z.infer; type GeneralSettings = z.infer; type ModelPolicy = z.infer; type McpPolicy = z.infer; type MissionPolicy = z.infer; type SandboxSettings = z.infer; type FactoryRouterRule = z.infer; /** @deprecated Loop scheduling now uses daemon cron schemas. */ declare const LoopStateSchema: z.ZodObject<{ loopId: z.ZodString; status: z.ZodNativeEnum; intervalMs: z.ZodNumber; iteration: z.ZodNumber; startedAt: z.ZodNumber; updatedAt: z.ZodNumber; nextRunAt: z.ZodNullable; isDue: z.ZodBoolean; lastRunStartedAt: z.ZodOptional; lastRunCompletedAt: z.ZodOptional; stopReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }>; type LoopState = z.infer; /** * Schema for a selectable list item in CLI UI * * Used for tool confirmation prompts to provide structured options * that can be rendered with visual feedback (colors, prefixes, etc.) */ declare const ToolConfirmationListItemSchema: z.ZodObject<{ label: z.ZodString; value: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { value: ToolConfirmationOutcome; label: string; }, { value: ToolConfirmationOutcome; label: string; }>; type ToolConfirmationListItem = z.infer; declare const SandboxModeSchema: z.ZodNativeEnum; declare const ManagedCustomModelSchema: z.ZodEffects; index: z.ZodOptional; baseUrl: z.ZodOptional; apiKey: z.ZodOptional; provider: z.ZodNativeEnum; displayName: z.ZodOptional; maxContextLimit: z.ZodOptional; enableThinking: z.ZodOptional; thinkingMaxTokens: z.ZodOptional; maxOutputTokens: z.ZodOptional; reasoningEffort: z.ZodOptional>; extraHeaders: z.ZodOptional>; extraArgs: z.ZodOptional>; noImageSupport: z.ZodOptional; bedrock: z.ZodOptional; awsRegion: z.ZodOptional; bedrockBaseUrl: z.ZodOptional; awsAuthRefresh: z.ZodOptional; awsCredentialExport: z.ZodOptional; }, "strip", z.ZodTypeAny, { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; }, { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }>, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }>; declare const CustomModelsSchema: z.ZodArray; index: z.ZodOptional; baseUrl: z.ZodOptional; apiKey: z.ZodOptional; provider: z.ZodNativeEnum; displayName: z.ZodOptional; maxContextLimit: z.ZodOptional; enableThinking: z.ZodOptional; thinkingMaxTokens: z.ZodOptional; maxOutputTokens: z.ZodOptional; reasoningEffort: z.ZodOptional>; extraHeaders: z.ZodOptional>; extraArgs: z.ZodOptional>; noImageSupport: z.ZodOptional; bedrock: z.ZodOptional; awsRegion: z.ZodOptional; bedrockBaseUrl: z.ZodOptional; awsAuthRefresh: z.ZodOptional; awsCredentialExport: z.ZodOptional; }, "strip", z.ZodTypeAny, { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; }, { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }>, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }>, "many">; type ManagedCustomModel = z.infer; type CustomModels = z.infer; declare const McpServerNameSchema: z.ZodString; declare const McpServerTypeSchema: z.ZodEnum<["stdio", "http", "sse"]>; declare const McpHttpServerConfigFieldsSchema: z.ZodObject<{ url: z.ZodOptional; }, "strip", z.ZodTypeAny, { url?: string | undefined; }, { url?: string | undefined; }>; declare const McpStdioServerConfigFieldsSchema: z.ZodObject<{ command: z.ZodOptional; args: z.ZodOptional>; }, "strip", z.ZodTypeAny, { command?: string | undefined; args?: string[] | undefined; }, { command?: string | undefined; args?: string[] | undefined; }>; declare const McpServerStatusInfoSchema: z.ZodObject<{ name: z.ZodString; status: z.ZodNativeEnum; source: z.ZodNativeEnum; isManaged: z.ZodBoolean; error: z.ZodOptional; toolCount: z.ZodOptional; serverType: z.ZodNativeEnum; hasAuthTokens: z.ZodOptional; requiresAuth: z.ZodOptional; pendingAuthUrl: z.ZodOptional; pendingAuthMessage: z.ZodOptional; pendingAuthState: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }>; declare const McpStatusSummarySchema: z.ZodObject<{ total: z.ZodNumber; connected: z.ZodNumber; connecting: z.ZodNumber; failed: z.ZodNumber; disabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }>; declare const McpRegistryServerSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodString; type: z.ZodEnum<["stdio", "http", "sse"]>; } & { url: z.ZodOptional; } & { command: z.ZodOptional; args: z.ZodOptional>; } & { note: z.ZodOptional; logoUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }, { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }>; declare const McpToolInfoSchema: z.ZodObject<{ serverName: z.ZodString; name: z.ZodString; description: z.ZodOptional; isEnabled: z.ZodBoolean; isReadOnly: z.ZodOptional; inputSchema: z.ZodOptional; properties: z.ZodOptional>; required: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; }, { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }, { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }>; declare const FeatureSuccessStateSchema: z.ZodNativeEnum; /** * Mission feature schema. * * NOTE: This is intentionally tolerant (passthrough + optional fields) * because the CLI/orchestrator owns the canonical on-disk feature shape and * may evolve it over time. */ declare const MissionFeatureSchema: z.ZodObject<{ id: z.ZodString; description: z.ZodString; status: z.ZodNativeEnum; skillName: z.ZodString; preconditions: z.ZodArray; expectedBehavior: z.ZodArray; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }>; declare const DiscoveredIssueSchema: z.ZodObject<{ severity: z.ZodNativeEnum; description: z.ZodString; suggestedFix: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>; declare const VerificationCommandSchema: z.ZodObject<{ command: z.ZodString; exitCode: z.ZodNumber; observation: z.ZodString; }, "strip", z.ZodTypeAny, { command: string; exitCode: number; observation: string; }, { command: string; exitCode: number; observation: string; }>; declare const InteractiveCheckSchema: z.ZodObject<{ action: z.ZodString; observed: z.ZodString; }, "strip", z.ZodTypeAny, { action: string; observed: string; }, { action: string; observed: string; }>; declare const VerificationSchema: z.ZodObject<{ commandsRun: z.ZodArray, "many">; interactiveChecks: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; declare const TestCaseSchema: z.ZodObject<{ name: z.ZodString; verifies: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; verifies: string; }, { name: string; verifies: string; }>; declare const TestFileSchema: z.ZodObject<{ file: z.ZodString; cases: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>; declare const TestsSchema: z.ZodObject<{ added: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z.ZodOptional>; coverage: z.ZodString; }, "strip", z.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; declare const HandoffSchema: z.ZodObject<{ salientSummary: z.ZodOptional; whatWasImplemented: z.ZodString; whatWasLeftUndone: z.ZodString; verification: z.ZodObject<{ commandsRun: z.ZodArray, "many">; interactiveChecks: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; tests: z.ZodObject<{ added: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z.ZodOptional>; coverage: z.ZodString; }, "strip", z.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; discoveredIssues: z.ZodArray; description: z.ZodString; suggestedFix: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>, "many">; skillFeedback: z.ZodOptional, "many">; suggestedChanges: z.ZodOptional>; }, "strip", z.ZodTypeAny, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }>; declare const DismissalRecordSchema: z.ZodObject<{ type: z.ZodNativeEnum; sourceFeatureId: z.ZodString; summary: z.ZodString; justification: z.ZodString; }, "strip", z.ZodTypeAny, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }>; /** * Schema for handoff entries stored in `handoffs.jsonl`. */ declare const HandoffEntrySchema: z.ZodObject<{ timestamp: z.ZodString; workerSessionId: z.ZodString; featureId: z.ZodString; milestone: z.ZodOptional; commitId: z.ZodEffects, string | undefined, unknown>; repoPath: z.ZodEffects, string | undefined, unknown>; handoff: z.ZodObject<{ salientSummary: z.ZodOptional; whatWasImplemented: z.ZodString; whatWasLeftUndone: z.ZodString; verification: z.ZodObject<{ commandsRun: z.ZodArray, "many">; interactiveChecks: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; tests: z.ZodObject<{ added: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z.ZodOptional>; coverage: z.ZodString; }, "strip", z.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; discoveredIssues: z.ZodArray; description: z.ZodString; suggestedFix: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>, "many">; skillFeedback: z.ZodOptional, "many">; suggestedChanges: z.ZodOptional>; }, "strip", z.ZodTypeAny, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }>; }, "strip", z.ZodTypeAny, { timestamp: string; workerSessionId: string; featureId: string; handoff: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }; milestone?: string | undefined; commitId?: string | undefined; repoPath?: string | undefined; }, { timestamp: string; workerSessionId: string; featureId: string; handoff: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }; milestone?: string | undefined; commitId?: unknown; repoPath?: unknown; }>; /** * Schema for per-worker handoff JSON files written to * `{missionDir}/handoffs/{timestamp}__{featureId}__{workerSessionId}.json`. */ declare const WorkerHandoffFileSchema: z.ZodObject<{ timestamp: z.ZodString; workerSessionId: z.ZodString; featureId: z.ZodString; milestone: z.ZodOptional; commitId: z.ZodOptional; successState: z.ZodOptional; returnToOrchestrator: z.ZodOptional; handoff: z.ZodObject<{ salientSummary: z.ZodOptional; whatWasImplemented: z.ZodString; whatWasLeftUndone: z.ZodString; verification: z.ZodObject<{ commandsRun: z.ZodArray, "many">; interactiveChecks: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; tests: z.ZodObject<{ added: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z.ZodOptional>; coverage: z.ZodString; }, "strip", z.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; discoveredIssues: z.ZodArray; description: z.ZodString; suggestedFix: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>, "many">; skillFeedback: z.ZodOptional, "many">; suggestedChanges: z.ZodOptional>; }, "strip", z.ZodTypeAny, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }>; }, "strip", z.ZodTypeAny, { timestamp: string; workerSessionId: string; featureId: string; handoff: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }; milestone?: string | undefined; successState?: string | undefined; returnToOrchestrator?: boolean | undefined; commitId?: string | undefined; }, { timestamp: string; workerSessionId: string; featureId: string; handoff: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }; milestone?: string | undefined; successState?: string | undefined; returnToOrchestrator?: boolean | undefined; commitId?: string | undefined; }>; /** * Schema for the mission state file (`state.json`). System-managed. * * Kept permissive on unknown top-level keys (`.passthrough`) to stay * forward-compatible with in-flight missions authored by older CLI versions, * but strict on required fields and enums so that genuine corruption (e.g. * truncated write) is caught. */ declare const MissionStateFileSchema: z.ZodObject<{ missionId: z.ZodString; state: z.ZodNativeEnum; workingDirectory: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; lastReviewedHandoffCount: z.ZodOptional; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ missionId: z.ZodString; state: z.ZodNativeEnum; workingDirectory: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; lastReviewedHandoffCount: z.ZodOptional; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ missionId: z.ZodString; state: z.ZodNativeEnum; workingDirectory: z.ZodString; createdAt: z.ZodString; updatedAt: z.ZodString; lastReviewedHandoffCount: z.ZodOptional; }, z.ZodTypeAny, "passthrough">>; /** * Schema for the features file (`features.json`). * * Accepts only the modern `{ "features": [...] }` wrapper shape; legacy bare * arrays are normalized into the wrapper shape by callers before validation. */ declare const FeaturesFileSchema: z.ZodObject<{ features: z.ZodArray; skillName: z.ZodOptional; preconditions: z.ZodOptional>; expectedBehavior: z.ZodOptional, z.ZodString]>>; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; description: z.ZodString; status: z.ZodNativeEnum; skillName: z.ZodOptional; preconditions: z.ZodOptional>; expectedBehavior: z.ZodOptional, z.ZodString]>>; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; description: z.ZodString; status: z.ZodNativeEnum; skillName: z.ZodOptional; preconditions: z.ZodOptional>; expectedBehavior: z.ZodOptional, z.ZodString]>>; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>, "many">; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ features: z.ZodArray; skillName: z.ZodOptional; preconditions: z.ZodOptional>; expectedBehavior: z.ZodOptional, z.ZodString]>>; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; description: z.ZodString; status: z.ZodNativeEnum; skillName: z.ZodOptional; preconditions: z.ZodOptional>; expectedBehavior: z.ZodOptional, z.ZodString]>>; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; description: z.ZodString; status: z.ZodNativeEnum; skillName: z.ZodOptional; preconditions: z.ZodOptional>; expectedBehavior: z.ZodOptional, z.ZodString]>>; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ features: z.ZodArray; skillName: z.ZodOptional; preconditions: z.ZodOptional>; expectedBehavior: z.ZodOptional, z.ZodString]>>; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, "passthrough", z.ZodTypeAny, z.objectOutputType<{ id: z.ZodString; description: z.ZodString; status: z.ZodNativeEnum; skillName: z.ZodOptional; preconditions: z.ZodOptional>; expectedBehavior: z.ZodOptional, z.ZodString]>>; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">, z.objectInputType<{ id: z.ZodString; description: z.ZodString; status: z.ZodNativeEnum; skillName: z.ZodOptional; preconditions: z.ZodOptional>; expectedBehavior: z.ZodOptional, z.ZodString]>>; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, z.ZodTypeAny, "passthrough">>, "many">; }, z.ZodTypeAny, "passthrough">>; /** * Schema for `runtime-custom-models.json`. */ declare const RuntimeCustomModelsFileSchema: z.ZodObject<{ customModels: z.ZodArray; index: z.ZodOptional; baseUrl: z.ZodOptional; apiKey: z.ZodOptional; provider: z.ZodNativeEnum; displayName: z.ZodOptional; maxContextLimit: z.ZodOptional; enableThinking: z.ZodOptional; thinkingMaxTokens: z.ZodOptional; maxOutputTokens: z.ZodOptional; reasoningEffort: z.ZodOptional>; extraHeaders: z.ZodOptional>; extraArgs: z.ZodOptional>; noImageSupport: z.ZodOptional; bedrock: z.ZodOptional; awsRegion: z.ZodOptional; bedrockBaseUrl: z.ZodOptional; awsAuthRefresh: z.ZodOptional; awsCredentialExport: z.ZodOptional; }, "strip", z.ZodTypeAny, { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; }, { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }>, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }, { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { customModels: { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }[]; }, { customModels: { model: string; provider: ModelProvider; id?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; displayName?: string | undefined; noImageSupport?: boolean | undefined; index?: number | undefined; bedrock?: { awsProfile?: string | undefined; awsRegion?: string | undefined; bedrockBaseUrl?: string | undefined; awsAuthRefresh?: string | undefined; awsCredentialExport?: string | undefined; } | undefined; baseUrl?: string | undefined; apiKey?: string | undefined; maxContextLimit?: number | undefined; enableThinking?: boolean | undefined; thinkingMaxTokens?: number | undefined; maxOutputTokens?: number | undefined; extraHeaders?: Record | undefined; extraArgs?: Record | undefined; }[]; }>; declare const MissionAcceptedEntrySchema: z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }>; declare const MissionPausedEntrySchema: z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; /** Structured cause when the pause is automatic. Absent for user-initiated pauses. */ pauseReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }>; declare const MissionResumedEntrySchema: z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; resumeWorkerSessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }>; declare const MissionRunStartedEntrySchema: z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }>; declare const WorkerStartedEntrySchema: z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; spawnId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }>; declare const WorkerSelectedFeatureEntrySchema: z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }>; declare const WorkerCompletedEntrySchema: z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; successState: z.ZodNativeEnum; returnToOrchestrator: z.ZodBoolean; commitId: z.ZodEffects, string | undefined, unknown>; repoPath: z.ZodEffects, string | undefined, unknown>; exitCode: z.ZodNumber; validatorsPassed: z.ZodOptional; handoff: z.ZodOptional; whatWasImplemented: z.ZodString; whatWasLeftUndone: z.ZodString; verification: z.ZodObject<{ commandsRun: z.ZodArray, "many">; interactiveChecks: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; tests: z.ZodObject<{ added: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z.ZodOptional>; coverage: z.ZodString; }, "strip", z.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; discoveredIssues: z.ZodArray; description: z.ZodString; suggestedFix: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>, "many">; skillFeedback: z.ZodOptional, "many">; suggestedChanges: z.ZodOptional>; }, "strip", z.ZodTypeAny, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; }, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; }>; declare const WorkerFailedEntrySchema: z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodOptional; spawnId: z.ZodString; exitCode: z.ZodOptional; reason: z.ZodString; /** Structured failure cause used to branch on auto-pause vs requeue. Absent means a generic failure. */ failureReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }>; declare const WorkerPausedEntrySchema: z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }>; declare const HandoffItemsDismissedEntrySchema: z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; dismissals: z.ZodOptional; sourceFeatureId: z.ZodString; summary: z.ZodString; justification: z.ZodString; }, "strip", z.ZodTypeAny, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }>, "many">>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }>; declare const MilestoneValidationTriggeredEntrySchema: z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; milestone: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }>; declare const ProgressLogEntrySchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; /** Structured cause when the pause is automatic. Absent for user-initiated pauses. */ pauseReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; resumeWorkerSessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; spawnId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; successState: z.ZodNativeEnum; returnToOrchestrator: z.ZodBoolean; commitId: z.ZodEffects, string | undefined, unknown>; repoPath: z.ZodEffects, string | undefined, unknown>; exitCode: z.ZodNumber; validatorsPassed: z.ZodOptional; handoff: z.ZodOptional; whatWasImplemented: z.ZodString; whatWasLeftUndone: z.ZodString; verification: z.ZodObject<{ commandsRun: z.ZodArray, "many">; interactiveChecks: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; tests: z.ZodObject<{ added: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z.ZodOptional>; coverage: z.ZodString; }, "strip", z.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; discoveredIssues: z.ZodArray; description: z.ZodString; suggestedFix: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>, "many">; skillFeedback: z.ZodOptional, "many">; suggestedChanges: z.ZodOptional>; }, "strip", z.ZodTypeAny, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; }, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodOptional; spawnId: z.ZodString; exitCode: z.ZodOptional; reason: z.ZodString; /** Structured failure cause used to branch on auto-pause vs requeue. Absent means a generic failure. */ failureReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; dismissals: z.ZodOptional; sourceFeatureId: z.ZodString; summary: z.ZodString; justification: z.ZodString; }, "strip", z.ZodTypeAny, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }>, "many">>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; milestone: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }>]>; declare const ToolProgressUpdateSchema: z.ZodObject<{ type: z.ZodEnum<["tool_call", "tool_result", "error", "status", "message"]>; toolName: z.ZodOptional; status: z.ZodOptional; details: z.ZodOptional; text: z.ZodOptional; error: z.ZodOptional; timestamp: z.ZodOptional; parameters: z.ZodOptional>; valueSnippet: z.ZodOptional; terminalId: z.ZodOptional; fullOutput: z.ZodOptional; /** The session ID of the spawned subagent, parsed from a system/init debug event */ subagentSessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }, { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }>; declare const SessionCompactedNotificationSchema: z.ZodObject<{ type: z.ZodLiteral; summaryId: z.ZodString; removedCount: z.ZodNumber; visibleBoundaryMessageId: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; }, { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; }>; declare const LoopStateChangedNotificationSchema: z.ZodObject<{ type: z.ZodLiteral; loopState: z.ZodObject<{ loopId: z.ZodString; status: z.ZodNativeEnum; intervalMs: z.ZodNumber; iteration: z.ZodNumber; startedAt: z.ZodNumber; updatedAt: z.ZodNumber; nextRunAt: z.ZodNullable; isDue: z.ZodBoolean; lastRunStartedAt: z.ZodOptional; lastRunCompletedAt: z.ZodOptional; stopReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; }, { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; }>; declare const SessionTokenUsageChangedNotificationSchema: z.ZodObject<{ type: z.ZodLiteral; sessionId: z.ZodString; tokenUsage: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; cacheCreationTokens: z.ZodNumber; cacheReadTokens: z.ZodNumber; thinkingTokens: z.ZodNumber; factoryCredits: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>; inclusiveTokenUsage: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; lastCallTokenUsage: z.ZodOptional; }, "inputTokens" | "cacheReadTokens"> & { outputTokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; }, { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; }, { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; }>; declare const MissionStateChangedNotificationSchema: z.ZodObject<{ type: z.ZodLiteral; state: z.ZodNativeEnum; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; }, { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; }>; declare const MissionFeaturesChangedNotificationSchema: z.ZodObject<{ type: z.ZodLiteral; features: z.ZodArray; skillName: z.ZodString; preconditions: z.ZodArray; expectedBehavior: z.ZodArray; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; }, { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; }>; declare const MissionProgressEntryNotificationSchema: z.ZodObject<{ type: z.ZodLiteral; progressLog: z.ZodArray; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; pauseReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; resumeWorkerSessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; spawnId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; successState: z.ZodNativeEnum; returnToOrchestrator: z.ZodBoolean; commitId: z.ZodEffects, string | undefined, unknown>; repoPath: z.ZodEffects, string | undefined, unknown>; exitCode: z.ZodNumber; validatorsPassed: z.ZodOptional; handoff: z.ZodOptional; whatWasImplemented: z.ZodString; whatWasLeftUndone: z.ZodString; verification: z.ZodObject<{ commandsRun: z.ZodArray, "many">; interactiveChecks: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; tests: z.ZodObject<{ added: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z.ZodOptional>; coverage: z.ZodString; }, "strip", z.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; discoveredIssues: z.ZodArray; description: z.ZodString; suggestedFix: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>, "many">; skillFeedback: z.ZodOptional, "many">; suggestedChanges: z.ZodOptional>; }, "strip", z.ZodTypeAny, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; }, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodOptional; spawnId: z.ZodString; exitCode: z.ZodOptional; reason: z.ZodString; failureReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; dismissals: z.ZodOptional; sourceFeatureId: z.ZodString; summary: z.ZodString; justification: z.ZodString; }, "strip", z.ZodTypeAny, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }>, "many">>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; milestone: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; }, { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; }>; declare const MissionHeartbeatNotificationSchema: z.ZodObject<{ type: z.ZodLiteral; timestamp: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; }, { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; }>; declare const MissionWorkerStartedNotificationSchema: z.ZodObject<{ type: z.ZodLiteral; workerSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; }, { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; }>; declare const MissionWorkerCompletedNotificationSchema: z.ZodObject<{ type: z.ZodLiteral; workerSessionId: z.ZodString; exitCode: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; }, { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; }>; declare const DroidHookEventSchema: z.ZodEnum<["PreToolUse", "PostToolUse", "Notification", "UserPromptSubmit", "Stop", "SubagentStop", "PreCompact", "SessionStart", "SessionEnd"]>; declare const SandboxStatusSchema: z.ZodObject<{ enabled: z.ZodBoolean; mode: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabled: boolean; mode?: SandboxMode | undefined; }, { enabled: boolean; mode?: SandboxMode | undefined; }>; declare const SessionNotificationSchemaList: readonly [z.ZodObject<{ id: z.ZodOptional; toolUseId: z.ZodString; content: z.ZodOptional; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z.ZodOptional; } & { type: z.ZodLiteral; messageId: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; toolUseId: z.ZodString; toolName: z.ZodString; update: z.ZodObject<{ type: z.ZodEnum<["tool_call", "tool_result", "error", "status", "message"]>; toolName: z.ZodOptional; status: z.ZodOptional; details: z.ZodOptional; text: z.ZodOptional; error: z.ZodOptional; timestamp: z.ZodOptional; parameters: z.ZodOptional>; valueSnippet: z.ZodOptional; terminalId: z.ZodOptional; fullOutput: z.ZodOptional; /** The session ID of the spawned subagent, parsed from a system/init debug event */ subagentSessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }, { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; }, { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral; message: z.ZodObject<{ id: z.ZodString; role: z.ZodNativeEnum; content: z.ZodArray; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; signature: z.ZodString; signatureProvider: z.ZodOptional, z.ZodLiteral<"unknown">]>>; thinking: z.ZodString; durationMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; data: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; toolUseId: z.ZodString; content: z.ZodOptional; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; parentId: z.ZodOptional; userMessageSource: z.ZodOptional>; visibility: z.ZodOptional>; openaiMessageId: z.ZodOptional; openaiPhase: z.ZodOptional>>; openaiEncryptedContent: z.ZodOptional; openaiReasoningId: z.ZodOptional; openaiReasoningSummary: z.ZodOptional; geminiThoughtSignature: z.ZodOptional; chatCompletionReasoningField: z.ZodOptional>; chatCompletionReasoningContent: z.ZodOptional; isUserVisible: z.ZodOptional; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>; parentId: z.ZodOptional; requestId: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; }, { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; message: z.ZodString; errorType: z.ZodNativeEnum; timestamp: z.ZodString; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; }, { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; newState: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; }, { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; }>, z.ZodObject<{ type: z.ZodLiteral; summaryId: z.ZodString; removedCount: z.ZodNumber; visibleBoundaryMessageId: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; }, { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; }>, z.ZodObject<{ type: z.ZodLiteral; loopState: z.ZodObject<{ loopId: z.ZodString; status: z.ZodNativeEnum; intervalMs: z.ZodNumber; iteration: z.ZodNumber; startedAt: z.ZodNumber; updatedAt: z.ZodNumber; nextRunAt: z.ZodNullable; isDue: z.ZodBoolean; lastRunStartedAt: z.ZodOptional; lastRunCompletedAt: z.ZodOptional; stopReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; }, { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral; requestId: z.ZodString; toolUseIds: z.ZodArray; selectedOption: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; }, { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; }>, z.ZodObject<{ type: z.ZodLiteral; requestId: z.ZodOptional; settings: z.ZodObject<{ autonomyMode: z.ZodOptional>; interactionMode: z.ZodCatch>>; autonomyLevel: z.ZodCatch>>; modelId: z.ZodOptional; reasoningEffort: z.ZodOptional>; specModeModelId: z.ZodOptional; specModeReasoningEffort: z.ZodOptional>; enabledToolIds: z.ZodOptional>; disabledToolIds: z.ZodOptional>; missionSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; compactionThresholdCheckEnabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; }, { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; requestId: z.ZodOptional; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; }, { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; servers: z.ZodArray; source: z.ZodNativeEnum; isManaged: z.ZodBoolean; error: z.ZodOptional; toolCount: z.ZodOptional; serverType: z.ZodNativeEnum; hasAuthTokens: z.ZodOptional; requiresAuth: z.ZodOptional; pendingAuthUrl: z.ZodOptional; pendingAuthMessage: z.ZodOptional; pendingAuthState: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }>, "many">; summary: z.ZodObject<{ total: z.ZodNumber; connected: z.ZodNumber; connecting: z.ZodNumber; failed: z.ZodNumber; disabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }, { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }>, z.ZodObject<{ type: z.ZodLiteral; messageId: z.ZodString; blockIndex: z.ZodNumber; textDelta: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }, { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }>, z.ZodObject<{ type: z.ZodLiteral; messageId: z.ZodString; blockIndex: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; }, { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; }>, z.ZodObject<{ type: z.ZodLiteral; messageId: z.ZodString; structuredOutput: z.ZodNullable>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; }, { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; }>, z.ZodObject<{ type: z.ZodLiteral; messageId: z.ZodString; blockIndex: z.ZodNumber; textDelta: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }, { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }>, z.ZodObject<{ type: z.ZodLiteral; messageId: z.ZodString; blockIndex: z.ZodNumber; durationMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; }, { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; sessionId: z.ZodString; tokenUsage: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; cacheCreationTokens: z.ZodNumber; cacheReadTokens: z.ZodNumber; thinkingTokens: z.ZodNumber; factoryCredits: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>; inclusiveTokenUsage: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; lastCallTokenUsage: z.ZodOptional; }, "inputTokens" | "cacheReadTokens"> & { outputTokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; }, { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; }, { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; state: z.ZodNativeEnum; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; }, { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; features: z.ZodArray; skillName: z.ZodString; preconditions: z.ZodArray; expectedBehavior: z.ZodArray; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; }, { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; }>, z.ZodObject<{ type: z.ZodLiteral; progressLog: z.ZodArray; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; pauseReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; resumeWorkerSessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; spawnId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; successState: z.ZodNativeEnum; returnToOrchestrator: z.ZodBoolean; commitId: z.ZodEffects, string | undefined, unknown>; repoPath: z.ZodEffects, string | undefined, unknown>; exitCode: z.ZodNumber; validatorsPassed: z.ZodOptional; handoff: z.ZodOptional; whatWasImplemented: z.ZodString; whatWasLeftUndone: z.ZodString; verification: z.ZodObject<{ commandsRun: z.ZodArray, "many">; interactiveChecks: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; tests: z.ZodObject<{ added: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z.ZodOptional>; coverage: z.ZodString; }, "strip", z.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; discoveredIssues: z.ZodArray; description: z.ZodString; suggestedFix: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>, "many">; skillFeedback: z.ZodOptional, "many">; suggestedChanges: z.ZodOptional>; }, "strip", z.ZodTypeAny, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; }, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodOptional; spawnId: z.ZodString; exitCode: z.ZodOptional; reason: z.ZodString; failureReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; dismissals: z.ZodOptional; sourceFeatureId: z.ZodString; summary: z.ZodString; justification: z.ZodString; }, "strip", z.ZodTypeAny, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }>, "many">>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; milestone: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; }, { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; }>, z.ZodObject<{ type: z.ZodLiteral; timestamp: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; }, { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; }>, z.ZodObject<{ type: z.ZodLiteral; workerSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; }, { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; }>, z.ZodObject<{ type: z.ZodLiteral; workerSessionId: z.ZodString; exitCode: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; }, { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; }>, z.ZodObject<{ type: z.ZodLiteral; serverName: z.ZodString; authUrl: z.ZodString; message: z.ZodString; state: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; }, { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; }>, z.ZodObject<{ type: z.ZodLiteral; serverName: z.ZodString; outcome: z.ZodNativeEnum; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; }, { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; }>, z.ZodObject<{ type: z.ZodLiteral; hookId: z.ZodString; hookEventName: z.ZodString; hookMatcher: z.ZodOptional; hookCommands: z.ZodArray; }, "strip", z.ZodTypeAny, { command: string; timeout?: number | undefined; }, { command: string; timeout?: number | undefined; }>, "many">; hookToolCallId: z.ZodOptional; isParallelExecution: z.ZodOptional; parallelGroupId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; }, { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; hookId: z.ZodString; hookEventName: z.ZodOptional>; hookMatcher: z.ZodOptional; hookToolCallId: z.ZodOptional; hookStatus: z.ZodEnum<["completed", "error"]>; hookResults: z.ZodOptional; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }, { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }, { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; toolUse: z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; }, { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral; text: z.ZodString; requestId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; }, { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; toolUseId: z.ZodString; toolName: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; }, { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; }>]; declare const SessionNotificationSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"notification">; } & { method: z.ZodLiteral; params: z.ZodObject<{ notification: z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{ id: z.ZodOptional; toolUseId: z.ZodString; content: z.ZodOptional; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z.ZodOptional; } & { type: z.ZodLiteral; messageId: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; toolUseId: z.ZodString; toolName: z.ZodString; update: z.ZodObject<{ type: z.ZodEnum<["tool_call", "tool_result", "error", "status", "message"]>; toolName: z.ZodOptional; status: z.ZodOptional; details: z.ZodOptional; text: z.ZodOptional; error: z.ZodOptional; timestamp: z.ZodOptional; parameters: z.ZodOptional>; valueSnippet: z.ZodOptional; terminalId: z.ZodOptional; fullOutput: z.ZodOptional; /** The session ID of the spawned subagent, parsed from a system/init debug event */ subagentSessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }, { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; }, { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral; message: z.ZodObject<{ id: z.ZodString; role: z.ZodNativeEnum; content: z.ZodArray; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; signature: z.ZodString; signatureProvider: z.ZodOptional, z.ZodLiteral<"unknown">]>>; thinking: z.ZodString; durationMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; data: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; toolUseId: z.ZodString; content: z.ZodOptional; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; parentId: z.ZodOptional; userMessageSource: z.ZodOptional>; visibility: z.ZodOptional>; openaiMessageId: z.ZodOptional; openaiPhase: z.ZodOptional>>; openaiEncryptedContent: z.ZodOptional; openaiReasoningId: z.ZodOptional; openaiReasoningSummary: z.ZodOptional; geminiThoughtSignature: z.ZodOptional; chatCompletionReasoningField: z.ZodOptional>; chatCompletionReasoningContent: z.ZodOptional; isUserVisible: z.ZodOptional; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>; parentId: z.ZodOptional; requestId: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; }, { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; message: z.ZodString; errorType: z.ZodNativeEnum; timestamp: z.ZodString; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; }, { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; newState: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; }, { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; }>, z.ZodObject<{ type: z.ZodLiteral; summaryId: z.ZodString; removedCount: z.ZodNumber; visibleBoundaryMessageId: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; }, { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; }>, z.ZodObject<{ type: z.ZodLiteral; loopState: z.ZodObject<{ loopId: z.ZodString; status: z.ZodNativeEnum; intervalMs: z.ZodNumber; iteration: z.ZodNumber; startedAt: z.ZodNumber; updatedAt: z.ZodNumber; nextRunAt: z.ZodNullable; isDue: z.ZodBoolean; lastRunStartedAt: z.ZodOptional; lastRunCompletedAt: z.ZodOptional; stopReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; }, { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral; requestId: z.ZodString; toolUseIds: z.ZodArray; selectedOption: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; }, { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; }>, z.ZodObject<{ type: z.ZodLiteral; requestId: z.ZodOptional; settings: z.ZodObject<{ autonomyMode: z.ZodOptional>; interactionMode: z.ZodCatch>>; autonomyLevel: z.ZodCatch>>; modelId: z.ZodOptional; reasoningEffort: z.ZodOptional>; specModeModelId: z.ZodOptional; specModeReasoningEffort: z.ZodOptional>; enabledToolIds: z.ZodOptional>; disabledToolIds: z.ZodOptional>; missionSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; compactionThresholdCheckEnabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; }, { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; requestId: z.ZodOptional; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; }, { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; servers: z.ZodArray; source: z.ZodNativeEnum; isManaged: z.ZodBoolean; error: z.ZodOptional; toolCount: z.ZodOptional; serverType: z.ZodNativeEnum; hasAuthTokens: z.ZodOptional; requiresAuth: z.ZodOptional; pendingAuthUrl: z.ZodOptional; pendingAuthMessage: z.ZodOptional; pendingAuthState: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }>, "many">; summary: z.ZodObject<{ total: z.ZodNumber; connected: z.ZodNumber; connecting: z.ZodNumber; failed: z.ZodNumber; disabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }, { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }>, z.ZodObject<{ type: z.ZodLiteral; messageId: z.ZodString; blockIndex: z.ZodNumber; textDelta: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }, { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }>, z.ZodObject<{ type: z.ZodLiteral; messageId: z.ZodString; blockIndex: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; }, { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; }>, z.ZodObject<{ type: z.ZodLiteral; messageId: z.ZodString; structuredOutput: z.ZodNullable>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; }, { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; }>, z.ZodObject<{ type: z.ZodLiteral; messageId: z.ZodString; blockIndex: z.ZodNumber; textDelta: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }, { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }>, z.ZodObject<{ type: z.ZodLiteral; messageId: z.ZodString; blockIndex: z.ZodNumber; durationMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; }, { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; sessionId: z.ZodString; tokenUsage: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; cacheCreationTokens: z.ZodNumber; cacheReadTokens: z.ZodNumber; thinkingTokens: z.ZodNumber; factoryCredits: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>; inclusiveTokenUsage: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; lastCallTokenUsage: z.ZodOptional; }, "inputTokens" | "cacheReadTokens"> & { outputTokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; }, { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; }, { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; state: z.ZodNativeEnum; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; }, { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; features: z.ZodArray; skillName: z.ZodString; preconditions: z.ZodArray; expectedBehavior: z.ZodArray; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; }, { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; }>, z.ZodObject<{ type: z.ZodLiteral; progressLog: z.ZodArray; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; pauseReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; resumeWorkerSessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; spawnId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; successState: z.ZodNativeEnum; returnToOrchestrator: z.ZodBoolean; commitId: z.ZodEffects, string | undefined, unknown>; repoPath: z.ZodEffects, string | undefined, unknown>; exitCode: z.ZodNumber; validatorsPassed: z.ZodOptional; handoff: z.ZodOptional; whatWasImplemented: z.ZodString; whatWasLeftUndone: z.ZodString; verification: z.ZodObject<{ commandsRun: z.ZodArray, "many">; interactiveChecks: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; tests: z.ZodObject<{ added: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z.ZodOptional>; coverage: z.ZodString; }, "strip", z.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; discoveredIssues: z.ZodArray; description: z.ZodString; suggestedFix: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>, "many">; skillFeedback: z.ZodOptional, "many">; suggestedChanges: z.ZodOptional>; }, "strip", z.ZodTypeAny, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; }, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodOptional; spawnId: z.ZodString; exitCode: z.ZodOptional; reason: z.ZodString; failureReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; dismissals: z.ZodOptional; sourceFeatureId: z.ZodString; summary: z.ZodString; justification: z.ZodString; }, "strip", z.ZodTypeAny, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }>, "many">>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; milestone: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; }, { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; }>, z.ZodObject<{ type: z.ZodLiteral; timestamp: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; }, { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; }>, z.ZodObject<{ type: z.ZodLiteral; workerSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; }, { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; }>, z.ZodObject<{ type: z.ZodLiteral; workerSessionId: z.ZodString; exitCode: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; }, { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; }>, z.ZodObject<{ type: z.ZodLiteral; serverName: z.ZodString; authUrl: z.ZodString; message: z.ZodString; state: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; }, { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; }>, z.ZodObject<{ type: z.ZodLiteral; serverName: z.ZodString; outcome: z.ZodNativeEnum; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; }, { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; }>, z.ZodObject<{ type: z.ZodLiteral; hookId: z.ZodString; hookEventName: z.ZodString; hookMatcher: z.ZodOptional; hookCommands: z.ZodArray; }, "strip", z.ZodTypeAny, { command: string; timeout?: number | undefined; }, { command: string; timeout?: number | undefined; }>, "many">; hookToolCallId: z.ZodOptional; isParallelExecution: z.ZodOptional; parallelGroupId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; }, { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; hookId: z.ZodString; hookEventName: z.ZodOptional>; hookMatcher: z.ZodOptional; hookToolCallId: z.ZodOptional; hookStatus: z.ZodEnum<["completed", "error"]>; hookResults: z.ZodOptional; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }, { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }, { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; toolUse: z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; }, { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral; text: z.ZodString; requestId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; }, { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; toolUseId: z.ZodString; toolName: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; }, { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; }>]>; }, "strip", z.ZodTypeAny, { notification: { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; } | { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; } | { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; } | { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; } | { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; } | { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; } | { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; } | { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; } | { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; } | { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; } | { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; } | { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; } | { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; } | { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; } | { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; } | { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; } | { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; } | { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; } | { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; } | { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; } | { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; } | { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; } | { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; } | { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; } | { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; } | { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }; }, { notification: { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; } | { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; } | { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; } | { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; } | { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; } | { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; } | { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; } | { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; } | { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; } | { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; } | { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; } | { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; } | { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; } | { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; } | { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; } | { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; } | { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; } | { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; } | { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; } | { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; } | { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; } | { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; } | { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; } | { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; } | { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; } | { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }; }>; }, "strip", z.ZodTypeAny, { params: { notification: { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; } | { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; } | { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; } | { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; } | { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; } | { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; } | { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; } | { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; } | { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; } | { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; } | { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; } | { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; } | { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; } | { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; } | { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; } | { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; } | { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; } | { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; } | { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; } | { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; } | { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; } | { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; } | { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; } | { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; } | { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; } | { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }; }; type: "notification"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; method: DroidClientMethod.SESSION_NOTIFICATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { notification: { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; } | { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; } | { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; } | { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; } | { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; } | { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; } | { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; } | { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; } | { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; } | { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; } | { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; } | { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; } | { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; } | { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; } | { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; } | { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; } | { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; } | { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; } | { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; } | { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; } | { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; } | { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; } | { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; } | { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; } | { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; } | { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }; }; type: "notification"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; method: DroidClientMethod.SESSION_NOTIFICATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const ToolConfirmationDetailsSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; oldContent: z.ZodOptional; newContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; fullCommand: z.ZodString; command: z.ZodString; extractedCommands: z.ZodOptional>; impactLevel: z.ZodOptional; riskLevelReason: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }>, z.ZodObject<{ type: z.ZodLiteral; questionnaire: z.ZodString; parsed: z.ZodOptional; }, "strip", z.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }>>; parseError: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: string; line?: number | undefined; }, { message: string; line?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; plan: z.ZodString; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; proposal: z.ZodString; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; runningMissionCount: z.ZodNumber; runningMissionSessionIds: z.ZodArray; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }>, z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; patchContent: z.ZodString; oldContent: z.ZodOptional; newContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; toolName: z.ZodString; impactLevel: z.ZodString; serverName: z.ZodOptional; actualToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; violatingToolName: z.ZodString; target: z.ZodString; operationType: z.ZodNativeEnum; violationType: z.ZodNativeEnum; reason: z.ZodString; violationReason: z.ZodOptional>; isOrgDeny: z.ZodBoolean; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }>]>; declare const RequestPermissionRequestParamsSchema: z.ZodObject<{ toolUses: z.ZodArray; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>; confirmationType: z.ZodNativeEnum; details: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; oldContent: z.ZodOptional; newContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; fullCommand: z.ZodString; command: z.ZodString; extractedCommands: z.ZodOptional>; impactLevel: z.ZodOptional; riskLevelReason: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }>, z.ZodObject<{ type: z.ZodLiteral; questionnaire: z.ZodString; parsed: z.ZodOptional; }, "strip", z.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }>>; parseError: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: string; line?: number | undefined; }, { message: string; line?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; plan: z.ZodString; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; proposal: z.ZodString; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; runningMissionCount: z.ZodNumber; runningMissionSessionIds: z.ZodArray; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }>, z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; patchContent: z.ZodString; oldContent: z.ZodOptional; newContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; toolName: z.ZodString; impactLevel: z.ZodString; serverName: z.ZodOptional; actualToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; violatingToolName: z.ZodString; target: z.ZodString; operationType: z.ZodNativeEnum; violationType: z.ZodNativeEnum; reason: z.ZodString; violationReason: z.ZodOptional>; isOrgDeny: z.ZodBoolean; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }>]>; }, "strip", z.ZodTypeAny, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }>, "many">; options: z.ZodArray; }, "strip", z.ZodTypeAny, { value: ToolConfirmationOutcome; label: string; }, { value: ToolConfirmationOutcome; label: string; }>, "many">; }, "strip", z.ZodTypeAny, { options: { value: ToolConfirmationOutcome; label: string; }[]; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }, { options: { value: ToolConfirmationOutcome; label: string; }[]; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }>; declare const RequestPermissionRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ toolUses: z.ZodArray; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>; confirmationType: z.ZodNativeEnum; details: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; oldContent: z.ZodOptional; newContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; fullCommand: z.ZodString; command: z.ZodString; extractedCommands: z.ZodOptional>; impactLevel: z.ZodOptional; riskLevelReason: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }>, z.ZodObject<{ type: z.ZodLiteral; questionnaire: z.ZodString; parsed: z.ZodOptional; }, "strip", z.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }>>; parseError: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: string; line?: number | undefined; }, { message: string; line?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; plan: z.ZodString; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; proposal: z.ZodString; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; runningMissionCount: z.ZodNumber; runningMissionSessionIds: z.ZodArray; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }>, z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; patchContent: z.ZodString; oldContent: z.ZodOptional; newContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; toolName: z.ZodString; impactLevel: z.ZodString; serverName: z.ZodOptional; actualToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; violatingToolName: z.ZodString; target: z.ZodString; operationType: z.ZodNativeEnum; violationType: z.ZodNativeEnum; reason: z.ZodString; violationReason: z.ZodOptional>; isOrgDeny: z.ZodBoolean; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }>]>; }, "strip", z.ZodTypeAny, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }>, "many">; options: z.ZodArray; }, "strip", z.ZodTypeAny, { value: ToolConfirmationOutcome; label: string; }, { value: ToolConfirmationOutcome; label: string; }>, "many">; }, "strip", z.ZodTypeAny, { options: { value: ToolConfirmationOutcome; label: string; }[]; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }, { options: { value: ToolConfirmationOutcome; label: string; }[]; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }>; }, "strip", z.ZodTypeAny, { params: { options: { value: ToolConfirmationOutcome; label: string; }[]; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidClientMethod.REQUEST_PERMISSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { options: { value: ToolConfirmationOutcome; label: string; }[]; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidClientMethod.REQUEST_PERMISSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const AskUserQuestionSchema: z.ZodObject<{ index: z.ZodNumber; topic: z.ZodString; question: z.ZodString; options: z.ZodArray; }, "strip", z.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>; declare const AskUserRequestParamsSchema: z.ZodObject<{ /** The tool call id that initiated this AskUser request */ toolCallId: z.ZodString; questions: z.ZodArray; }, "strip", z.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }, { questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }>; declare const AskUserRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ /** The tool call id that initiated this AskUser request */ toolCallId: z.ZodString; questions: z.ZodArray; }, "strip", z.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }, { questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }>; }, "strip", z.ZodTypeAny, { params: { questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidClientMethod.ASK_USER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidClientMethod.ASK_USER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const AskUserCollectedAnswerSchema: z.ZodObject<{ index: z.ZodNumber; question: z.ZodString; answer: z.ZodString; }, "strip", z.ZodTypeAny, { index: number; question: string; answer: string; }, { index: number; question: string; answer: string; }>; declare const AskUserResultSchema: z.ZodObject<{ /** If true, the user cancelled the questionnaire */ cancelled: z.ZodOptional; answers: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { answers: { index: number; question: string; answer: string; }[]; cancelled?: boolean | undefined; }, { answers: { index: number; question: string; answer: string; }[]; cancelled?: boolean | undefined; }>; declare const AskUserResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ /** If true, the user cancelled the questionnaire */ cancelled: z.ZodOptional; answers: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { answers: { index: number; question: string; answer: string; }[]; cancelled?: boolean | undefined; }, { answers: { index: number; question: string; answer: string; }[]; cancelled?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { answers: { index: number; question: string; answer: string; }[]; cancelled?: boolean | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { answers: { index: number; question: string; answer: string; }[]; cancelled?: boolean | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const RequestPermissionResultSchema: z.ZodEffects; comment: z.ZodOptional; editedSpecContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { selectedOption: ToolConfirmationOutcome; comment?: string | undefined; editedSpecContent?: string | undefined; }, { selectedOption: ToolConfirmationOutcome; comment?: string | undefined; editedSpecContent?: string | undefined; }>, { selectedOption: ToolConfirmationOutcome; comment?: string | undefined; editedSpecContent?: string | undefined; }, { selectedOption: ToolConfirmationOutcome; comment?: string | undefined; editedSpecContent?: string | undefined; }>; declare const RequestPermissionResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodEffects; comment: z.ZodOptional; editedSpecContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { selectedOption: ToolConfirmationOutcome; comment?: string | undefined; editedSpecContent?: string | undefined; }, { selectedOption: ToolConfirmationOutcome; comment?: string | undefined; editedSpecContent?: string | undefined; }>, { selectedOption: ToolConfirmationOutcome; comment?: string | undefined; editedSpecContent?: string | undefined; }, { selectedOption: ToolConfirmationOutcome; comment?: string | undefined; editedSpecContent?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { selectedOption: ToolConfirmationOutcome; comment?: string | undefined; editedSpecContent?: string | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { selectedOption: ToolConfirmationOutcome; comment?: string | undefined; editedSpecContent?: string | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const CliRequestOrNotificationSchema: z.ZodIntersection; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"notification">; } & { method: z.ZodLiteral; params: z.ZodObject<{ notification: z.ZodDiscriminatedUnion<"type", readonly [z.ZodObject<{ id: z.ZodOptional; toolUseId: z.ZodString; content: z.ZodOptional; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z.ZodOptional; } & { type: z.ZodLiteral; messageId: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; toolUseId: z.ZodString; toolName: z.ZodString; update: z.ZodObject<{ type: z.ZodEnum<["tool_call", "tool_result", "error", "status", "message"]>; toolName: z.ZodOptional; status: z.ZodOptional; details: z.ZodOptional; text: z.ZodOptional; error: z.ZodOptional; timestamp: z.ZodOptional; parameters: z.ZodOptional>; valueSnippet: z.ZodOptional; terminalId: z.ZodOptional; fullOutput: z.ZodOptional; /** The session ID of the spawned subagent, parsed from a system/init debug event */ subagentSessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }, { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; }, { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral; message: z.ZodObject<{ id: z.ZodString; role: z.ZodNativeEnum; content: z.ZodArray; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; signature: z.ZodString; signatureProvider: z.ZodOptional, z.ZodLiteral<"unknown">]>>; thinking: z.ZodString; durationMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; data: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; toolUseId: z.ZodString; content: z.ZodOptional; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; parentId: z.ZodOptional; userMessageSource: z.ZodOptional>; visibility: z.ZodOptional>; openaiMessageId: z.ZodOptional; openaiPhase: z.ZodOptional>>; openaiEncryptedContent: z.ZodOptional; openaiReasoningId: z.ZodOptional; openaiReasoningSummary: z.ZodOptional; geminiThoughtSignature: z.ZodOptional; chatCompletionReasoningField: z.ZodOptional>; chatCompletionReasoningContent: z.ZodOptional; isUserVisible: z.ZodOptional; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>; parentId: z.ZodOptional; requestId: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; }, { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; message: z.ZodString; errorType: z.ZodNativeEnum; timestamp: z.ZodString; error: z.ZodOptional>; }, "strip", z.ZodTypeAny, { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; }, { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; newState: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; }, { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; }>, z.ZodObject<{ type: z.ZodLiteral; summaryId: z.ZodString; removedCount: z.ZodNumber; visibleBoundaryMessageId: z.ZodNullable; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; }, { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; }>, z.ZodObject<{ type: z.ZodLiteral; loopState: z.ZodObject<{ loopId: z.ZodString; status: z.ZodNativeEnum; intervalMs: z.ZodNumber; iteration: z.ZodNumber; startedAt: z.ZodNumber; updatedAt: z.ZodNumber; nextRunAt: z.ZodNullable; isDue: z.ZodBoolean; lastRunStartedAt: z.ZodOptional; lastRunCompletedAt: z.ZodOptional; stopReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; }, { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral; requestId: z.ZodString; toolUseIds: z.ZodArray; selectedOption: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; }, { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; }>, z.ZodObject<{ type: z.ZodLiteral; requestId: z.ZodOptional; settings: z.ZodObject<{ autonomyMode: z.ZodOptional>; interactionMode: z.ZodCatch>>; autonomyLevel: z.ZodCatch>>; modelId: z.ZodOptional; reasoningEffort: z.ZodOptional>; specModeModelId: z.ZodOptional; specModeReasoningEffort: z.ZodOptional>; enabledToolIds: z.ZodOptional>; disabledToolIds: z.ZodOptional>; missionSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; compactionThresholdCheckEnabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; }, { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; requestId: z.ZodOptional; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; }, { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; servers: z.ZodArray; source: z.ZodNativeEnum; isManaged: z.ZodBoolean; error: z.ZodOptional; toolCount: z.ZodOptional; serverType: z.ZodNativeEnum; hasAuthTokens: z.ZodOptional; requiresAuth: z.ZodOptional; pendingAuthUrl: z.ZodOptional; pendingAuthMessage: z.ZodOptional; pendingAuthState: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }>, "many">; summary: z.ZodObject<{ total: z.ZodNumber; connected: z.ZodNumber; connecting: z.ZodNumber; failed: z.ZodNumber; disabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }, { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }>, z.ZodObject<{ type: z.ZodLiteral; messageId: z.ZodString; blockIndex: z.ZodNumber; textDelta: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }, { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }>, z.ZodObject<{ type: z.ZodLiteral; messageId: z.ZodString; blockIndex: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; }, { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; }>, z.ZodObject<{ type: z.ZodLiteral; messageId: z.ZodString; structuredOutput: z.ZodNullable>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; }, { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; }>, z.ZodObject<{ type: z.ZodLiteral; messageId: z.ZodString; blockIndex: z.ZodNumber; textDelta: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }, { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }>, z.ZodObject<{ type: z.ZodLiteral; messageId: z.ZodString; blockIndex: z.ZodNumber; durationMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; }, { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; sessionId: z.ZodString; tokenUsage: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; cacheCreationTokens: z.ZodNumber; cacheReadTokens: z.ZodNumber; thinkingTokens: z.ZodNumber; factoryCredits: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>; inclusiveTokenUsage: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; lastCallTokenUsage: z.ZodOptional; }, "inputTokens" | "cacheReadTokens"> & { outputTokens: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; }, { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; }, { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; state: z.ZodNativeEnum; updatedAt: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; }, { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; features: z.ZodArray; skillName: z.ZodString; preconditions: z.ZodArray; expectedBehavior: z.ZodArray; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; }, { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; }>, z.ZodObject<{ type: z.ZodLiteral; progressLog: z.ZodArray; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; pauseReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; resumeWorkerSessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; spawnId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; successState: z.ZodNativeEnum; returnToOrchestrator: z.ZodBoolean; commitId: z.ZodEffects, string | undefined, unknown>; repoPath: z.ZodEffects, string | undefined, unknown>; exitCode: z.ZodNumber; validatorsPassed: z.ZodOptional; handoff: z.ZodOptional; whatWasImplemented: z.ZodString; whatWasLeftUndone: z.ZodString; verification: z.ZodObject<{ commandsRun: z.ZodArray, "many">; interactiveChecks: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; tests: z.ZodObject<{ added: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z.ZodOptional>; coverage: z.ZodString; }, "strip", z.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; discoveredIssues: z.ZodArray; description: z.ZodString; suggestedFix: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>, "many">; skillFeedback: z.ZodOptional, "many">; suggestedChanges: z.ZodOptional>; }, "strip", z.ZodTypeAny, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; }, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodOptional; spawnId: z.ZodString; exitCode: z.ZodOptional; reason: z.ZodString; failureReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; dismissals: z.ZodOptional; sourceFeatureId: z.ZodString; summary: z.ZodString; justification: z.ZodString; }, "strip", z.ZodTypeAny, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }>, "many">>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; milestone: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }>]>, "many">; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; }, { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; }>, z.ZodObject<{ type: z.ZodLiteral; timestamp: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; }, { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; }>, z.ZodObject<{ type: z.ZodLiteral; workerSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; }, { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; }>, z.ZodObject<{ type: z.ZodLiteral; workerSessionId: z.ZodString; exitCode: z.ZodNumber; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; }, { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; }>, z.ZodObject<{ type: z.ZodLiteral; serverName: z.ZodString; authUrl: z.ZodString; message: z.ZodString; state: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; }, { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; }>, z.ZodObject<{ type: z.ZodLiteral; serverName: z.ZodString; outcome: z.ZodNativeEnum; message: z.ZodString; }, "strip", z.ZodTypeAny, { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; }, { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; }>, z.ZodObject<{ type: z.ZodLiteral; hookId: z.ZodString; hookEventName: z.ZodString; hookMatcher: z.ZodOptional; hookCommands: z.ZodArray; }, "strip", z.ZodTypeAny, { command: string; timeout?: number | undefined; }, { command: string; timeout?: number | undefined; }>, "many">; hookToolCallId: z.ZodOptional; isParallelExecution: z.ZodOptional; parallelGroupId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; }, { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; hookId: z.ZodString; hookEventName: z.ZodOptional>; hookMatcher: z.ZodOptional; hookToolCallId: z.ZodOptional; hookStatus: z.ZodEnum<["completed", "error"]>; hookResults: z.ZodOptional; timeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }, { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }, { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; toolUse: z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; }, { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral; text: z.ZodString; requestId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; }, { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; toolUseId: z.ZodString; toolName: z.ZodString; }, "strip", z.ZodTypeAny, { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; }, { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; }>]>; }, "strip", z.ZodTypeAny, { notification: { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; } | { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; } | { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; } | { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; } | { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; } | { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; } | { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; } | { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; } | { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; } | { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; } | { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; } | { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; } | { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; } | { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; } | { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; } | { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; } | { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; } | { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; } | { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; } | { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; } | { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; } | { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; } | { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; } | { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; } | { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; } | { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }; }, { notification: { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; } | { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; } | { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; } | { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; } | { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; } | { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; } | { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; } | { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; } | { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; } | { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; } | { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; } | { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; } | { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; } | { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; } | { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; } | { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; } | { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; } | { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; } | { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; } | { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; } | { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; } | { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; } | { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; } | { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; } | { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; } | { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }; }>; }, "strip", z.ZodTypeAny, { params: { notification: { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; } | { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; } | { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; } | { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; } | { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; } | { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; } | { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; } | { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; } | { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; } | { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; } | { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; } | { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; } | { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; } | { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; } | { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; } | { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; } | { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; } | { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; } | { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; } | { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; } | { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; } | { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; } | { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; } | { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; } | { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; } | { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }; }; type: "notification"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; method: DroidClientMethod.SESSION_NOTIFICATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { notification: { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; } | { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; } | { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; } | { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; } | { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; } | { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; } | { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; } | { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; } | { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; } | { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; } | { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; } | { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; } | { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; } | { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; } | { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; } | { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; } | { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; } | { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; } | { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; } | { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; } | { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; } | { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; } | { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; } | { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; } | { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; } | { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }; }; type: "notification"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; method: DroidClientMethod.SESSION_NOTIFICATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ toolUses: z.ZodArray; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>; confirmationType: z.ZodNativeEnum; details: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; oldContent: z.ZodOptional; newContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; fullCommand: z.ZodString; command: z.ZodString; extractedCommands: z.ZodOptional>; impactLevel: z.ZodOptional; riskLevelReason: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }>, z.ZodObject<{ type: z.ZodLiteral; questionnaire: z.ZodString; parsed: z.ZodOptional; }, "strip", z.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }>>; parseError: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: string; line?: number | undefined; }, { message: string; line?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; plan: z.ZodString; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; proposal: z.ZodString; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; runningMissionCount: z.ZodNumber; runningMissionSessionIds: z.ZodArray; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }>, z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; patchContent: z.ZodString; oldContent: z.ZodOptional; newContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; toolName: z.ZodString; impactLevel: z.ZodString; serverName: z.ZodOptional; actualToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; violatingToolName: z.ZodString; target: z.ZodString; operationType: z.ZodNativeEnum; violationType: z.ZodNativeEnum; reason: z.ZodString; violationReason: z.ZodOptional>; isOrgDeny: z.ZodBoolean; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }>]>; }, "strip", z.ZodTypeAny, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }>, "many">; options: z.ZodArray; }, "strip", z.ZodTypeAny, { value: ToolConfirmationOutcome; label: string; }, { value: ToolConfirmationOutcome; label: string; }>, "many">; }, "strip", z.ZodTypeAny, { options: { value: ToolConfirmationOutcome; label: string; }[]; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }, { options: { value: ToolConfirmationOutcome; label: string; }[]; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }>; }, "strip", z.ZodTypeAny, { params: { options: { value: ToolConfirmationOutcome; label: string; }[]; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidClientMethod.REQUEST_PERMISSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { options: { value: ToolConfirmationOutcome; label: string; }[]; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidClientMethod.REQUEST_PERMISSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ /** The tool call id that initiated this AskUser request */ toolCallId: z.ZodString; questions: z.ZodArray; }, "strip", z.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }, { questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }>; }, "strip", z.ZodTypeAny, { params: { questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidClientMethod.ASK_USER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidClientMethod.ASK_USER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>]>>; /** * Schema for available model configuration returned in session init/load responses. * This represents both built-in models (feature-flag filtered) and custom BYOK models. */ declare const AvailableModelConfigSchema: z.ZodObject<{ id: z.ZodString; displayName: z.ZodString; shortDisplayName: z.ZodString; modelProvider: z.ZodNativeEnum; supportedReasoningEfforts: z.ZodArray, "many">; defaultReasoningEffort: z.ZodNativeEnum; isCustom: z.ZodDefault; noImageSupport: z.ZodOptional; tier: z.ZodOptional>; tokenMultiplier: z.ZodOptional; promoLabel: z.ZodOptional; kind: z.ZodOptional>; variantBadge: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }>; declare const ContextStatsSchema: z.ZodObject<{ used: z.ZodNumber; remaining: z.ZodNumber; limit: z.ZodNumber; accuracy: z.ZodNativeEnum; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { updatedAt: string; used: number; remaining: number; limit: number; accuracy: ContextStatsAccuracy; }, { updatedAt: string; used: number; remaining: number; limit: number; accuracy: ContextStatsAccuracy; }>; declare const OutputFormatSchema: z.ZodObject<{ type: z.ZodLiteral<"json_schema">; schema: z.ZodRecord; }, "strip", z.ZodTypeAny, { type: "json_schema"; schema: Record; }, { type: "json_schema"; schema: Record; }>; declare const InitializeSessionRequestParamsSchema: z.ZodObject<{ machineId: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; sessionId: z.ZodOptional; mcpServers: z.ZodOptional>; env: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"http">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"sse">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; autonomyMode: z.ZodOptional>; interactionMode: z.ZodCatch>>; autonomyLevel: z.ZodCatch>>; modelId: z.ZodOptional; reasoningEffort: z.ZodOptional>; specModeModelId: z.ZodOptional; specModeReasoningEffort: z.ZodOptional>; missionSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; compactionThresholdCheckEnabled: z.ZodOptional; /** * @deprecated use session tags instead: mission decomposition session * type (orchestrator or worker). undefined = standard session (not part of decomposition) */ decompSessionType: z.ZodOptional>; /** * @deprecated use session tags instead: mission id for worker sessions * (links worker back to its orchestrator's mission) */ decompMissionId: z.ZodOptional; skipPermissionsUnsafe: z.ZodOptional; sessionLocation: z.ZodOptional; sessionSource: z.ZodOptional; teamId: z.ZodOptional>; channel: z.ZodOptional>; threadTs: z.ZodOptional>; userId: z.ZodOptional>; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; }, { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; }>, z.ZodObject<{ platform: z.ZodLiteral; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Web; delegationSessionId: string; }, { platform: SessionPlatform.Web; delegationSessionId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Api; delegationSessionId: string; }, { platform: SessionPlatform.Api; delegationSessionId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.SessionsApi; delegationSessionId: string; }, { platform: SessionPlatform.SessionsApi; delegationSessionId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; agentSessionId: z.ZodString; issueId: z.ZodOptional>; issueUrl: z.ZodOptional>; issueIdentifier: z.ZodOptional>; organizationId: z.ZodOptional>; userId: z.ZodOptional>; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; }, { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; }>, z.ZodObject<{ platform: z.ZodLiteral; reportId: z.ZodString; repoUrl: z.ZodString; criterionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; }, { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; repoUrl: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; }, { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; }>, z.ZodObject<{ platform: z.ZodLiteral; automationId: z.ZodString; computerId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Automation; computerId: string; automationId: string; }, { platform: SessionPlatform.Automation; computerId: string; automationId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; repoUrl: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.WikiGeneration; repoUrl: string; }, { platform: SessionPlatform.WikiGeneration; repoUrl: string; }>, z.ZodObject<{ platform: z.ZodLiteral; repoUrl: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.WikiCISetup; repoUrl: string; }, { platform: SessionPlatform.WikiCISetup; repoUrl: string; }>]>>; sessionOriginHint: z.ZodOptional>; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; mcpOAuthCallbackUri: z.ZodOptional; /** * When true, the daemon should create or reuse a git worktree rooted * at `cwd` and run the session there. The original `cwd` is used to * locate the git repo; the actual session cwd becomes the worktree * path. No-op when `cwd` is not inside a git repository. */ worktree: z.ZodOptional; /** * Optional override for where the worktree directory is created. * Falls back to the user's `worktreeDirectory` setting (or the * sibling-of-repo default) when omitted. */ worktreeDir: z.ZodOptional; } & { enabledToolIds: z.ZodOptional>; disabledToolIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { machineId: string; cwd: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; }, { machineId: string; cwd: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; }>; declare const LoadSessionRequestParamsSchema: z.ZodObject<{ sessionId: z.ZodString; mcpServers: z.ZodOptional>; env: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"http">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"sse">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; loadAllMessages: z.ZodOptional; mcpOAuthCallbackUri: z.ZodOptional; }, "strip", z.ZodTypeAny, { sessionId: string; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; }, { sessionId: string; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; }>; declare const AddUserMessageRequestParamsSchema: z.ZodObject<{ messageId: z.ZodOptional; text: z.ZodString; images: z.ZodOptional; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>, "many">>; files: z.ZodOptional; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>, "many">>; outputFormat: z.ZodOptional; schema: z.ZodRecord; }, "strip", z.ZodTypeAny, { type: "json_schema"; schema: Record; }, { type: "json_schema"; schema: Record; }>>; skipAgentLoop: z.ZodOptional; queuePlacement: z.ZodOptional>; role: z.ZodOptional>; visibility: z.ZodOptional>; userMessageSource: z.ZodOptional>; }, "strip", z.ZodTypeAny, { text: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }, { text: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }>; declare const ResolveQueuedUserMessageRequestParamsSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{ requestId: z.ZodString; action: z.ZodLiteral; queuePlacement: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; }, { action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; }>, z.ZodObject<{ requestId: z.ZodString; action: z.ZodLiteral; }, "strip", z.ZodTypeAny, { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }, { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }>]>; declare const InterruptSessionRequestParamsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; declare const CloseSessionResultSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; declare const KillWorkerSessionRequestParamsSchema: z.ZodObject<{ workerSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { workerSessionId: string; }, { workerSessionId: string; }>; declare const KillWorkerSessionResultSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; declare const UpdateSessionSettingsRequestParamsSchema: z.ZodObject<{ modelId: z.ZodOptional; reasoningEffort: z.ZodOptional>; autonomyMode: z.ZodOptional>; interactionMode: z.ZodCatch>>; autonomyLevel: z.ZodCatch>>; specModeModelId: z.ZodOptional>; specModeReasoningEffort: z.ZodOptional>>; missionSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; compactionTokenLimit: z.ZodOptional; compactionThresholdCheckEnabled: z.ZodOptional; } & { enabledToolIds: z.ZodOptional>; disabledToolIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; declare const InitializeSessionResultSchema: z.ZodObject<{ sessionId: z.ZodString; hostId: z.ZodOptional; session: z.ZodObject<{ messages: z.ZodArray; content: z.ZodArray; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; signature: z.ZodString; signatureProvider: z.ZodOptional, z.ZodLiteral<"unknown">]>>; thinking: z.ZodString; durationMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; data: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; toolUseId: z.ZodString; content: z.ZodOptional; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; parentId: z.ZodOptional; userMessageSource: z.ZodOptional>; visibility: z.ZodOptional>; openaiMessageId: z.ZodOptional; openaiPhase: z.ZodOptional>>; openaiEncryptedContent: z.ZodOptional; openaiReasoningId: z.ZodOptional; openaiReasoningSummary: z.ZodOptional; geminiThoughtSignature: z.ZodOptional; chatCompletionReasoningField: z.ZodOptional>; chatCompletionReasoningContent: z.ZodOptional; isUserVisible: z.ZodOptional; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>, "many">; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }>; mcpServers: z.ZodOptional>; env: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"http">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"sse">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; settings: z.ZodObject<{ modelId: z.ZodString; reasoningEffort: z.ZodNativeEnum; autonomyMode: z.ZodOptional>; interactionMode: z.ZodCatch>>; autonomyLevel: z.ZodCatch>>; specModeModelId: z.ZodOptional; specModeReasoningEffort: z.ZodOptional>; missionSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; sandbox: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabled: boolean; mode?: SandboxMode | undefined; }, { enabled: boolean; mode?: SandboxMode | undefined; }>>; compactionThresholdCheckEnabled: z.ZodOptional; } & { enabledToolIds: z.ZodOptional>; disabledToolIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; gitRepo: z.ZodOptional; repoName: z.ZodString; }, "strip", z.ZodTypeAny, { repoName: string; owner?: string | undefined; }, { repoName: string; owner?: string | undefined; }>>; availableModels: z.ZodOptional; supportedReasoningEfforts: z.ZodArray, "many">; defaultReasoningEffort: z.ZodNativeEnum; isCustom: z.ZodDefault; noImageSupport: z.ZodOptional; tier: z.ZodOptional>; tokenMultiplier: z.ZodOptional; promoLabel: z.ZodOptional; kind: z.ZodOptional>; variantBadge: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }>, "many">>; worktree: z.ZodOptional; isNewlyCreated: z.ZodBoolean; }, "strip", z.ZodTypeAny, { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; }, { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { sessionId: string; session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; hostId?: string | undefined; worktree?: { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; } | undefined; }, { sessionId: string; session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; hostId?: string | undefined; worktree?: { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; } | undefined; }>; declare const WorkerStateInfoSchema: z.ZodObject<{ startedAt: z.ZodString; completedAt: z.ZodOptional; exitCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { startedAt: string; exitCode?: number | undefined; completedAt?: string | undefined; }, { startedAt: string; exitCode?: number | undefined; completedAt?: string | undefined; }>; declare const MissionStateSchema: z.ZodObject<{ state: z.ZodNativeEnum; updatedAt: z.ZodOptional; title: z.ZodOptional; workingDirectory: z.ZodOptional; features: z.ZodArray; skillName: z.ZodString; preconditions: z.ZodArray; expectedBehavior: z.ZodArray; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }>, "many">; progressLog: z.ZodArray; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; pauseReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; resumeWorkerSessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; spawnId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; successState: z.ZodNativeEnum; returnToOrchestrator: z.ZodBoolean; commitId: z.ZodEffects, string | undefined, unknown>; repoPath: z.ZodEffects, string | undefined, unknown>; exitCode: z.ZodNumber; validatorsPassed: z.ZodOptional; handoff: z.ZodOptional; whatWasImplemented: z.ZodString; whatWasLeftUndone: z.ZodString; verification: z.ZodObject<{ commandsRun: z.ZodArray, "many">; interactiveChecks: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; tests: z.ZodObject<{ added: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z.ZodOptional>; coverage: z.ZodString; }, "strip", z.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; discoveredIssues: z.ZodArray; description: z.ZodString; suggestedFix: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>, "many">; skillFeedback: z.ZodOptional, "many">; suggestedChanges: z.ZodOptional>; }, "strip", z.ZodTypeAny, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; }, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodOptional; spawnId: z.ZodString; exitCode: z.ZodOptional; reason: z.ZodString; failureReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; dismissals: z.ZodOptional; sourceFeatureId: z.ZodString; summary: z.ZodString; justification: z.ZodString; }, "strip", z.ZodTypeAny, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }>, "many">>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; milestone: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }>]>, "many">; workerSessionIds: z.ZodArray; workerStates: z.ZodOptional; exitCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { startedAt: string; exitCode?: number | undefined; completedAt?: string | undefined; }, { startedAt: string; exitCode?: number | undefined; completedAt?: string | undefined; }>>>; tokenUsage: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; tokenUsageBySessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>>; }, "strip", z.ZodTypeAny, { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; }, { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; }>; declare const LoadSessionResultSchema: z.ZodObject<{ session: z.ZodObject<{ messages: z.ZodArray; content: z.ZodArray; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; signature: z.ZodString; signatureProvider: z.ZodOptional, z.ZodLiteral<"unknown">]>>; thinking: z.ZodString; durationMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; data: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; toolUseId: z.ZodString; content: z.ZodOptional; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; parentId: z.ZodOptional; userMessageSource: z.ZodOptional>; visibility: z.ZodOptional>; openaiMessageId: z.ZodOptional; openaiPhase: z.ZodOptional>>; openaiEncryptedContent: z.ZodOptional; openaiReasoningId: z.ZodOptional; openaiReasoningSummary: z.ZodOptional; geminiThoughtSignature: z.ZodOptional; chatCompletionReasoningField: z.ZodOptional>; chatCompletionReasoningContent: z.ZodOptional; isUserVisible: z.ZodOptional; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>, "many">; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }>; hostId: z.ZodOptional; mcpServers: z.ZodOptional>; env: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"http">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"sse">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; pendingPermissions: z.ZodOptional; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>; confirmationType: z.ZodNativeEnum; details: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; oldContent: z.ZodOptional; newContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; fullCommand: z.ZodString; command: z.ZodString; extractedCommands: z.ZodOptional>; impactLevel: z.ZodOptional; riskLevelReason: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }>, z.ZodObject<{ type: z.ZodLiteral; questionnaire: z.ZodString; parsed: z.ZodOptional; }, "strip", z.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }>>; parseError: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: string; line?: number | undefined; }, { message: string; line?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; plan: z.ZodString; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; proposal: z.ZodString; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; runningMissionCount: z.ZodNumber; runningMissionSessionIds: z.ZodArray; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }>, z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; patchContent: z.ZodString; oldContent: z.ZodOptional; newContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; toolName: z.ZodString; impactLevel: z.ZodString; serverName: z.ZodOptional; actualToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; violatingToolName: z.ZodString; target: z.ZodString; operationType: z.ZodNativeEnum; violationType: z.ZodNativeEnum; reason: z.ZodString; violationReason: z.ZodOptional>; isOrgDeny: z.ZodBoolean; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }>]>; }, "strip", z.ZodTypeAny, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }>, "many">; options: z.ZodArray; }, "strip", z.ZodTypeAny, { value: ToolConfirmationOutcome; label: string; }, { value: ToolConfirmationOutcome; label: string; }>, "many">; } & { requestId: z.ZodString; }, "strip", z.ZodTypeAny, { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }, { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }>, "many">>; pendingAskUserRequests: z.ZodOptional; }, "strip", z.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; } & { requestId: z.ZodString; }, "strip", z.ZodTypeAny, { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }, { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }>, "many">>; settings: z.ZodObject<{ modelId: z.ZodString; reasoningEffort: z.ZodNativeEnum; autonomyMode: z.ZodOptional>; interactionMode: z.ZodCatch>>; autonomyLevel: z.ZodCatch>>; specModeModelId: z.ZodOptional; specModeReasoningEffort: z.ZodOptional>; missionSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; sandbox: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabled: boolean; mode?: SandboxMode | undefined; }, { enabled: boolean; mode?: SandboxMode | undefined; }>>; compactionThresholdCheckEnabled: z.ZodOptional; } & { enabledToolIds: z.ZodOptional>; disabledToolIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; isAgentLoopInProgress: z.ZodOptional; queuedMessages: z.ZodOptional; text: z.ZodString; images: z.ZodOptional; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>, "many">>; files: z.ZodOptional; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>, "many">>; outputFormat: z.ZodOptional; schema: z.ZodRecord; }, "strip", z.ZodTypeAny, { type: "json_schema"; schema: Record; }, { type: "json_schema"; schema: Record; }>>; skipAgentLoop: z.ZodOptional; queuePlacement: z.ZodOptional>; role: z.ZodOptional>; visibility: z.ZodOptional>; userMessageSource: z.ZodOptional>; } & { requestId: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }, { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }>, "many">>; gitRepo: z.ZodOptional; repoName: z.ZodString; }, "strip", z.ZodTypeAny, { repoName: string; owner?: string | undefined; }, { repoName: string; owner?: string | undefined; }>>; cwd: z.ZodOptional; callingSessionId: z.ZodOptional; callingToolUseId: z.ZodOptional; availableModels: z.ZodOptional; supportedReasoningEfforts: z.ZodArray, "many">; defaultReasoningEffort: z.ZodNativeEnum; isCustom: z.ZodDefault; noImageSupport: z.ZodOptional; tier: z.ZodOptional>; tokenMultiplier: z.ZodOptional; promoLabel: z.ZodOptional; kind: z.ZodOptional>; variantBadge: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }>, "many">>; tokenUsage: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; mission: z.ZodOptional; updatedAt: z.ZodOptional; title: z.ZodOptional; workingDirectory: z.ZodOptional; features: z.ZodArray; skillName: z.ZodString; preconditions: z.ZodArray; expectedBehavior: z.ZodArray; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }>, "many">; progressLog: z.ZodArray; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; pauseReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; resumeWorkerSessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; spawnId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; successState: z.ZodNativeEnum; returnToOrchestrator: z.ZodBoolean; commitId: z.ZodEffects, string | undefined, unknown>; repoPath: z.ZodEffects, string | undefined, unknown>; exitCode: z.ZodNumber; validatorsPassed: z.ZodOptional; handoff: z.ZodOptional; whatWasImplemented: z.ZodString; whatWasLeftUndone: z.ZodString; verification: z.ZodObject<{ commandsRun: z.ZodArray, "many">; interactiveChecks: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; tests: z.ZodObject<{ added: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z.ZodOptional>; coverage: z.ZodString; }, "strip", z.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; discoveredIssues: z.ZodArray; description: z.ZodString; suggestedFix: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>, "many">; skillFeedback: z.ZodOptional, "many">; suggestedChanges: z.ZodOptional>; }, "strip", z.ZodTypeAny, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; }, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodOptional; spawnId: z.ZodString; exitCode: z.ZodOptional; reason: z.ZodString; failureReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; dismissals: z.ZodOptional; sourceFeatureId: z.ZodString; summary: z.ZodString; justification: z.ZodString; }, "strip", z.ZodTypeAny, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }>, "many">>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; milestone: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }>]>, "many">; workerSessionIds: z.ZodArray; workerStates: z.ZodOptional; exitCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { startedAt: string; exitCode?: number | undefined; completedAt?: string | undefined; }, { startedAt: string; exitCode?: number | undefined; completedAt?: string | undefined; }>>>; tokenUsage: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; tokenUsageBySessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>>; }, "strip", z.ZodTypeAny, { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; }, { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; }>>; decompSessionType: z.ZodOptional>; loopState: z.ZodOptional; intervalMs: z.ZodNumber; iteration: z.ZodNumber; startedAt: z.ZodNumber; updatedAt: z.ZodNumber; nextRunAt: z.ZodNullable; isDue: z.ZodBoolean; lastRunStartedAt: z.ZodOptional; lastRunCompletedAt: z.ZodOptional; stopReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }>>>; }, "strip", z.ZodTypeAny, { session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; cwd?: string | undefined; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; decompSessionType?: DecompSessionType | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; pendingPermissions?: { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }[] | undefined; pendingAskUserRequests?: { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }[] | undefined; isAgentLoopInProgress?: boolean | undefined; queuedMessages?: { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; } | undefined; hostId?: string | undefined; loopState?: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; } | null | undefined; }, { session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; cwd?: string | undefined; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; decompSessionType?: DecompSessionType | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; pendingPermissions?: { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }[] | undefined; pendingAskUserRequests?: { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }[] | undefined; isAgentLoopInProgress?: boolean | undefined; queuedMessages?: { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; } | undefined; hostId?: string | undefined; loopState?: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; } | null | undefined; }>; declare const AddUserMessageResultSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; declare const ResolveQueuedUserMessageResultSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; declare const InterruptSessionResultSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; declare const UpdateSessionSettingsResultSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; declare const GetUserInfoResultSchema: z.ZodObject<{ userId: z.ZodString; orgId: z.ZodString; }, "strip", z.ZodTypeAny, { userId: string; orgId: string; }, { userId: string; orgId: string; }>; declare const ValidateWorkingDirectoryResultSchema: z.ZodObject<{ isValid: z.ZodBoolean; error: z.ZodOptional; /** * The fully-resolved absolute path (tilde expanded, `..`/`.` normalized, * symlinks canonicalized). Set by daemons that support it when * `isValid === true`. Optional for backwards compatibility with daemons * that predate the field — callers should fall back to the original * user input when absent. */ resolvedPath: z.ZodOptional; }, "strip", z.ZodTypeAny, { isValid: boolean; error?: string | undefined; resolvedPath?: string | undefined; }, { isValid: boolean; error?: string | undefined; resolvedPath?: string | undefined; }>; declare const InitializeSessionRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ machineId: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; sessionId: z.ZodOptional; mcpServers: z.ZodOptional>; env: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"http">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"sse">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; autonomyMode: z.ZodOptional>; interactionMode: z.ZodCatch>>; autonomyLevel: z.ZodCatch>>; modelId: z.ZodOptional; reasoningEffort: z.ZodOptional>; specModeModelId: z.ZodOptional; specModeReasoningEffort: z.ZodOptional>; missionSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; compactionThresholdCheckEnabled: z.ZodOptional; /** * @deprecated use session tags instead: mission decomposition session * type (orchestrator or worker). undefined = standard session (not part of decomposition) */ decompSessionType: z.ZodOptional>; /** * @deprecated use session tags instead: mission id for worker sessions * (links worker back to its orchestrator's mission) */ decompMissionId: z.ZodOptional; skipPermissionsUnsafe: z.ZodOptional; sessionLocation: z.ZodOptional; sessionSource: z.ZodOptional; teamId: z.ZodOptional>; channel: z.ZodOptional>; threadTs: z.ZodOptional>; userId: z.ZodOptional>; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; }, { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; }>, z.ZodObject<{ platform: z.ZodLiteral; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Web; delegationSessionId: string; }, { platform: SessionPlatform.Web; delegationSessionId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Api; delegationSessionId: string; }, { platform: SessionPlatform.Api; delegationSessionId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.SessionsApi; delegationSessionId: string; }, { platform: SessionPlatform.SessionsApi; delegationSessionId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; agentSessionId: z.ZodString; issueId: z.ZodOptional>; issueUrl: z.ZodOptional>; issueIdentifier: z.ZodOptional>; organizationId: z.ZodOptional>; userId: z.ZodOptional>; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; }, { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; }>, z.ZodObject<{ platform: z.ZodLiteral; reportId: z.ZodString; repoUrl: z.ZodString; criterionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; }, { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; repoUrl: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; }, { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; }>, z.ZodObject<{ platform: z.ZodLiteral; automationId: z.ZodString; computerId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Automation; computerId: string; automationId: string; }, { platform: SessionPlatform.Automation; computerId: string; automationId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; repoUrl: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.WikiGeneration; repoUrl: string; }, { platform: SessionPlatform.WikiGeneration; repoUrl: string; }>, z.ZodObject<{ platform: z.ZodLiteral; repoUrl: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.WikiCISetup; repoUrl: string; }, { platform: SessionPlatform.WikiCISetup; repoUrl: string; }>]>>; sessionOriginHint: z.ZodOptional>; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; mcpOAuthCallbackUri: z.ZodOptional; /** * When true, the daemon should create or reuse a git worktree rooted * at `cwd` and run the session there. The original `cwd` is used to * locate the git repo; the actual session cwd becomes the worktree * path. No-op when `cwd` is not inside a git repository. */ worktree: z.ZodOptional; /** * Optional override for where the worktree directory is created. * Falls back to the user's `worktreeDirectory` setting (or the * sibling-of-repo default) when omitted. */ worktreeDir: z.ZodOptional; } & { enabledToolIds: z.ZodOptional>; disabledToolIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { machineId: string; cwd: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; }, { machineId: string; cwd: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; }>; }, "strip", z.ZodTypeAny, { params: { machineId: string; cwd: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.INITIALIZE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { machineId: string; cwd: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.INITIALIZE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const LoadSessionRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ sessionId: z.ZodString; mcpServers: z.ZodOptional>; env: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"http">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"sse">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; loadAllMessages: z.ZodOptional; mcpOAuthCallbackUri: z.ZodOptional; }, "strip", z.ZodTypeAny, { sessionId: string; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; }, { sessionId: string; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { params: { sessionId: string; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LOAD_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LOAD_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const AddUserMessageRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ messageId: z.ZodOptional; text: z.ZodString; images: z.ZodOptional; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>, "many">>; files: z.ZodOptional; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>, "many">>; outputFormat: z.ZodOptional; schema: z.ZodRecord; }, "strip", z.ZodTypeAny, { type: "json_schema"; schema: Record; }, { type: "json_schema"; schema: Record; }>>; skipAgentLoop: z.ZodOptional; queuePlacement: z.ZodOptional>; role: z.ZodOptional>; visibility: z.ZodOptional>; userMessageSource: z.ZodOptional>; }, "strip", z.ZodTypeAny, { text: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }, { text: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }>; }, "strip", z.ZodTypeAny, { params: { text: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.ADD_USER_MESSAGE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { text: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.ADD_USER_MESSAGE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const ResolveQueuedUserMessageRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{ requestId: z.ZodString; action: z.ZodLiteral; queuePlacement: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; }, { action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; }>, z.ZodObject<{ requestId: z.ZodString; action: z.ZodLiteral; }, "strip", z.ZodTypeAny, { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }, { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }>]>; }, "strip", z.ZodTypeAny, { params: { action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; } | { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.RESOLVE_QUEUED_USER_MESSAGE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; } | { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.RESOLVE_QUEUED_USER_MESSAGE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const InterruptSessionRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.INTERRUPT_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.INTERRUPT_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const CloseSessionRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ reason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { reason?: "clear" | "logout" | "prompt_input_exit" | "other" | undefined; }, { reason?: "clear" | "logout" | "prompt_input_exit" | "other" | undefined; }>; }, "strip", z.ZodTypeAny, { params: { reason?: "clear" | "logout" | "prompt_input_exit" | "other" | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.CLOSE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { reason?: "clear" | "logout" | "prompt_input_exit" | "other" | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.CLOSE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const KillWorkerSessionRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ workerSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { workerSessionId: string; }, { workerSessionId: string; }>; }, "strip", z.ZodTypeAny, { params: { workerSessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.KILL_WORKER_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { workerSessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.KILL_WORKER_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const UpdateSessionSettingsRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ modelId: z.ZodOptional; reasoningEffort: z.ZodOptional>; autonomyMode: z.ZodOptional>; interactionMode: z.ZodCatch>>; autonomyLevel: z.ZodCatch>>; specModeModelId: z.ZodOptional>; specModeReasoningEffort: z.ZodOptional>>; missionSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; compactionTokenLimit: z.ZodOptional; compactionThresholdCheckEnabled: z.ZodOptional; } & { enabledToolIds: z.ZodOptional>; disabledToolIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { params: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.UPDATE_SESSION_SETTINGS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.UPDATE_SESSION_SETTINGS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const ToggleMcpServerRequestParamsSchema: z.ZodObject<{ serverName: z.ZodString; } & { enabled: z.ZodBoolean; settingsLevel: z.ZodLiteral; }, "strip", z.ZodTypeAny, { serverName: string; enabled: boolean; settingsLevel: SettingsLevel.User; }, { serverName: string; enabled: boolean; settingsLevel: SettingsLevel.User; }>; declare const ToggleMcpServerRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ serverName: z.ZodString; } & { enabled: z.ZodBoolean; settingsLevel: z.ZodLiteral; }, "strip", z.ZodTypeAny, { serverName: string; enabled: boolean; settingsLevel: SettingsLevel.User; }, { serverName: string; enabled: boolean; settingsLevel: SettingsLevel.User; }>; }, "strip", z.ZodTypeAny, { params: { serverName: string; enabled: boolean; settingsLevel: SettingsLevel.User; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.TOGGLE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; enabled: boolean; settingsLevel: SettingsLevel.User; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.TOGGLE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const AuthenticateMcpServerRequestParamsSchema: z.ZodObject<{ serverName: z.ZodString; }, "strip", z.ZodTypeAny, { serverName: string; }, { serverName: string; }>; declare const AuthenticateMcpServerRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ serverName: z.ZodString; }, "strip", z.ZodTypeAny, { serverName: string; }, { serverName: string; }>; }, "strip", z.ZodTypeAny, { params: { serverName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.AUTHENTICATE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.AUTHENTICATE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const CancelMcpAuthRequestParamsSchema: z.ZodObject<{ serverName: z.ZodString; }, "strip", z.ZodTypeAny, { serverName: string; }, { serverName: string; }>; declare const CancelMcpAuthRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ serverName: z.ZodString; }, "strip", z.ZodTypeAny, { serverName: string; }, { serverName: string; }>; }, "strip", z.ZodTypeAny, { params: { serverName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.CANCEL_MCP_AUTH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.CANCEL_MCP_AUTH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const ClearMcpAuthRequestParamsSchema: z.ZodObject<{ serverName: z.ZodString; }, "strip", z.ZodTypeAny, { serverName: string; }, { serverName: string; }>; declare const ClearMcpAuthRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ serverName: z.ZodString; }, "strip", z.ZodTypeAny, { serverName: string; }, { serverName: string; }>; }, "strip", z.ZodTypeAny, { params: { serverName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.CLEAR_MCP_AUTH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.CLEAR_MCP_AUTH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const SubmitMcpAuthCodeRequestParamsSchema: z.ZodObject<{ serverName: z.ZodString; code: z.ZodString; state: z.ZodString; }, "strip", z.ZodTypeAny, { code: string; serverName: string; state: string; }, { code: string; serverName: string; state: string; }>; declare const SubmitMcpAuthCodeRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ serverName: z.ZodString; code: z.ZodString; state: z.ZodString; }, "strip", z.ZodTypeAny, { code: string; serverName: string; state: string; }, { code: string; serverName: string; state: string; }>; }, "strip", z.ZodTypeAny, { params: { code: string; serverName: string; state: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.SUBMIT_MCP_AUTH_CODE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { code: string; serverName: string; state: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.SUBMIT_MCP_AUTH_CODE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const SubmitMcpAuthCodeResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { success: boolean; }, { success: boolean; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const AddMcpServerRequestParamsSchema: z.ZodObject<{ name: z.ZodString; type: z.ZodEnum<["stdio", "http", "sse"]>; } & { url: z.ZodOptional; } & { headers: z.ZodOptional>; } & { command: z.ZodOptional; args: z.ZodOptional>; } & { env: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "stdio" | "http" | "sse"; name: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }, { type: "stdio" | "http" | "sse"; name: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }>; declare const AddMcpServerRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ name: z.ZodString; type: z.ZodEnum<["stdio", "http", "sse"]>; } & { url: z.ZodOptional; } & { headers: z.ZodOptional>; } & { command: z.ZodOptional; args: z.ZodOptional>; } & { env: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "stdio" | "http" | "sse"; name: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }, { type: "stdio" | "http" | "sse"; name: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }>; }, "strip", z.ZodTypeAny, { params: { type: "stdio" | "http" | "sse"; name: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.ADD_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { type: "stdio" | "http" | "sse"; name: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.ADD_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const RemoveMcpServerRequestParamsSchema: z.ZodObject<{ serverName: z.ZodString; } & { settingsLevel: z.ZodLiteral; }, "strip", z.ZodTypeAny, { serverName: string; settingsLevel: SettingsLevel.User; }, { serverName: string; settingsLevel: SettingsLevel.User; }>; declare const RemoveMcpServerRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ serverName: z.ZodString; } & { settingsLevel: z.ZodLiteral; }, "strip", z.ZodTypeAny, { serverName: string; settingsLevel: SettingsLevel.User; }, { serverName: string; settingsLevel: SettingsLevel.User; }>; }, "strip", z.ZodTypeAny, { params: { serverName: string; settingsLevel: SettingsLevel.User; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.REMOVE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; settingsLevel: SettingsLevel.User; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.REMOVE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const ListMcpRegistryRequestParamsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; declare const ListMcpRegistryResultSchema: z.ZodObject<{ servers: z.ZodArray; } & { url: z.ZodOptional; } & { command: z.ZodOptional; args: z.ZodOptional>; } & { note: z.ZodOptional; logoUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }, { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { servers: { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }[]; }, { servers: { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }[]; }>; declare const ListMcpRegistryRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_MCP_REGISTRY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_MCP_REGISTRY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const ListMcpToolsRequestParamsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; declare const ListMcpToolsResultSchema: z.ZodObject<{ tools: z.ZodArray; isEnabled: z.ZodBoolean; isReadOnly: z.ZodOptional; inputSchema: z.ZodOptional; properties: z.ZodOptional>; required: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; }, { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }, { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { tools: { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }[]; }, { tools: { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }[]; }>; declare const ListMcpToolsRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_MCP_TOOLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_MCP_TOOLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const ListToolsRequestParamsSchema: z.ZodObject; reasoningEffort: z.ZodOptional>; autonomyMode: z.ZodOptional>; interactionMode: z.ZodCatch>>; autonomyLevel: z.ZodCatch>>; specModeModelId: z.ZodOptional>; specModeReasoningEffort: z.ZodOptional>>; missionSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; compactionTokenLimit: z.ZodOptional; compactionThresholdCheckEnabled: z.ZodOptional; } & { enabledToolIds: z.ZodOptional>; disabledToolIds: z.ZodOptional>; }, "enabledToolIds" | "disabledToolIds" | "modelId" | "autonomyMode" | "interactionMode" | "autonomyLevel" | "specModeModelId"> & { skipPermissionsUnsafe: z.ZodOptional; depth: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; skipPermissionsUnsafe?: boolean | undefined; depth?: number | undefined; }, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | null | undefined; skipPermissionsUnsafe?: boolean | undefined; depth?: number | undefined; }>; declare const ListToolsResultSchema: z.ZodObject<{ tools: z.ZodArray; defaultAllowed: z.ZodBoolean; currentlyAllowed: z.ZodBoolean; }, "strip", z.ZodTypeAny, { id: string; description: string; displayName: string; llmId: string; category: "edit" | "other" | "read" | "execute"; defaultAllowed: boolean; currentlyAllowed: boolean; }, { id: string; description: string; displayName: string; llmId: string; category: "edit" | "other" | "read" | "execute"; defaultAllowed: boolean; currentlyAllowed: boolean; }>, "many">; }, "strip", z.ZodTypeAny, { tools: { id: string; description: string; displayName: string; llmId: string; category: "edit" | "other" | "read" | "execute"; defaultAllowed: boolean; currentlyAllowed: boolean; }[]; }, { tools: { id: string; description: string; displayName: string; llmId: string; category: "edit" | "other" | "read" | "execute"; defaultAllowed: boolean; currentlyAllowed: boolean; }[]; }>; declare const ListToolsRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject; reasoningEffort: z.ZodOptional>; autonomyMode: z.ZodOptional>; interactionMode: z.ZodCatch>>; autonomyLevel: z.ZodCatch>>; specModeModelId: z.ZodOptional>; specModeReasoningEffort: z.ZodOptional>>; missionSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; compactionTokenLimit: z.ZodOptional; compactionThresholdCheckEnabled: z.ZodOptional; } & { enabledToolIds: z.ZodOptional>; disabledToolIds: z.ZodOptional>; }, "enabledToolIds" | "disabledToolIds" | "modelId" | "autonomyMode" | "interactionMode" | "autonomyLevel" | "specModeModelId"> & { skipPermissionsUnsafe: z.ZodOptional; depth: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; skipPermissionsUnsafe?: boolean | undefined; depth?: number | undefined; }, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | null | undefined; skipPermissionsUnsafe?: boolean | undefined; depth?: number | undefined; }>; }, "strip", z.ZodTypeAny, { params: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; skipPermissionsUnsafe?: boolean | undefined; depth?: number | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_TOOLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | null | undefined; skipPermissionsUnsafe?: boolean | undefined; depth?: number | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_TOOLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const ListMcpServersRequestParamsSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; declare const ListMcpServersResultSchema: z.ZodObject<{ servers: z.ZodArray; source: z.ZodNativeEnum; isManaged: z.ZodBoolean; error: z.ZodOptional; toolCount: z.ZodOptional; serverType: z.ZodNativeEnum; hasAuthTokens: z.ZodOptional; requiresAuth: z.ZodOptional; pendingAuthUrl: z.ZodOptional; pendingAuthMessage: z.ZodOptional; pendingAuthState: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }>, "many">; summary: z.ZodObject<{ total: z.ZodNumber; connected: z.ZodNumber; connecting: z.ZodNumber; failed: z.ZodNumber; disabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }>; }, "strip", z.ZodTypeAny, { summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }, { summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }>; declare const ListMcpServersRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_MCP_SERVERS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_MCP_SERVERS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const ToggleMcpToolRequestParamsSchema: z.ZodObject<{ serverName: z.ZodString; } & { toolName: z.ZodString; enabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { serverName: string; enabled: boolean; toolName: string; }, { serverName: string; enabled: boolean; toolName: string; }>; declare const ToggleMcpToolRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ serverName: z.ZodString; } & { toolName: z.ZodString; enabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { serverName: string; enabled: boolean; toolName: string; }, { serverName: string; enabled: boolean; toolName: string; }>; }, "strip", z.ZodTypeAny, { params: { serverName: string; enabled: boolean; toolName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.TOGGLE_MCP_TOOL; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; enabled: boolean; toolName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.TOGGLE_MCP_TOOL; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const SkillInfoSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; location: z.ZodNativeEnum; filePath: z.ZodString; enabled: z.ZodOptional; userInvocable: z.ZodOptional; version: z.ZodOptional; content: z.ZodOptional; resources: z.ZodOptional; }, "strip", z.ZodTypeAny, { path: string; type: "reference" | "asset"; name: string; }, { path: string; type: "reference" | "asset"; name: string; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; location: SkillLocation; filePath: string; description?: string | undefined; content?: string | undefined; enabled?: boolean | undefined; userInvocable?: boolean | undefined; version?: string | undefined; resources?: { path: string; type: "reference" | "asset"; name: string; }[] | undefined; }, { name: string; location: SkillLocation; filePath: string; description?: string | undefined; content?: string | undefined; enabled?: boolean | undefined; userInvocable?: boolean | undefined; version?: string | undefined; resources?: { path: string; type: "reference" | "asset"; name: string; }[] | undefined; }>; declare const ListSkillsRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_SKILLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_SKILLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const CustomCommandInfoSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodString; argumentHint: z.ZodOptional; isExecutable: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; argumentHint?: string | undefined; isExecutable?: boolean | undefined; }, { name: string; description: string; argumentHint?: string | undefined; isExecutable?: boolean | undefined; }>; declare const ListCommandsRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_COMMANDS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_COMMANDS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const GetContextStatsRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.GET_CONTEXT_STATS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.GET_CONTEXT_STATS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const GetContextBreakdownResultSchema: z.ZodObject<{ modelId: z.ZodString; modelDisplayName: z.ZodString; contextBudget: z.ZodNumber; lastCallCompactionTokens: z.ZodOptional; usedTokens: z.ZodNumber; freeTokens: z.ZodNumber; categories: z.ZodArray; }, "strip", z.ZodTypeAny, { name: string; tokens: number; colorKey: ContextCategoryColorKey; }, { name: string; tokens: number; colorKey: ContextCategoryColorKey; }>, "many">; skills: z.ZodArray; tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; location: SkillLocation; tokens: number; }, { name: string; location: SkillLocation; tokens: number; }>, "many">; mcpServers: z.ZodArray, "many">; droids: z.ZodArray; tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; location: DroidLocation; tokens: number; }, { name: string; location: DroidLocation; tokens: number; }>, "many">; }, "strip", z.ZodTypeAny, { modelId: string; mcpServers: { name: string; toolCount: number; tokens: number; }[]; skills: { name: string; location: SkillLocation; tokens: number; }[]; modelDisplayName: string; contextBudget: number; usedTokens: number; freeTokens: number; categories: { name: string; tokens: number; colorKey: ContextCategoryColorKey; }[]; droids: { name: string; location: DroidLocation; tokens: number; }[]; lastCallCompactionTokens?: number | undefined; }, { modelId: string; mcpServers: { name: string; toolCount: number; tokens: number; }[]; skills: { name: string; location: SkillLocation; tokens: number; }[]; modelDisplayName: string; contextBudget: number; usedTokens: number; freeTokens: number; categories: { name: string; tokens: number; colorKey: ContextCategoryColorKey; }[]; droids: { name: string; location: DroidLocation; tokens: number; }[]; lastCallCompactionTokens?: number | undefined; }>; declare const GetContextBreakdownRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.GET_CONTEXT_BREAKDOWN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.GET_CONTEXT_BREAKDOWN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const SubmitBugReportResultSchema: z.ZodObject<{ bugReportId: z.ZodString; }, "strip", z.ZodTypeAny, { bugReportId: string; }, { bugReportId: string; }>; declare const SubmitBugReportRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ userComment: z.ZodString; clientLogs: z.ZodOptional; }, "strip", z.ZodTypeAny, { userComment: string; clientLogs?: string | undefined; }, { userComment: string; clientLogs?: string | undefined; }>; }, "strip", z.ZodTypeAny, { params: { userComment: string; clientLogs?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.SUBMIT_BUG_REPORT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { userComment: string; clientLogs?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.SUBMIT_BUG_REPORT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const GetRewindInfoResultSchema: z.ZodObject<{ availableFiles: z.ZodArray, "many">; createdFiles: z.ZodArray, "many">; evictedFiles: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { availableFiles: { filePath: string; contentHash: string; size: number; }[]; createdFiles: { filePath: string; }[]; evictedFiles: { reason: string; filePath: string; }[]; }, { availableFiles: { filePath: string; contentHash: string; size: number; }[]; createdFiles: { filePath: string; }[]; evictedFiles: { reason: string; filePath: string; }[]; }>; declare const GetRewindInfoRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ sessionId: z.ZodString; messageId: z.ZodString; }, "strip", z.ZodTypeAny, { sessionId: string; messageId: string; }, { sessionId: string; messageId: string; }>; }, "strip", z.ZodTypeAny, { params: { sessionId: string; messageId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.GET_REWIND_INFO; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; messageId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.GET_REWIND_INFO; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const ExecuteRewindResultSchema: z.ZodObject<{ newSessionId: z.ZodString; restoredCount: z.ZodNumber; deletedCount: z.ZodNumber; failedRestoreCount: z.ZodNumber; failedDeleteCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { newSessionId: string; restoredCount: number; deletedCount: number; failedRestoreCount: number; failedDeleteCount: number; }, { newSessionId: string; restoredCount: number; deletedCount: number; failedRestoreCount: number; failedDeleteCount: number; }>; declare const ExecuteRewindRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ sessionId: z.ZodString; messageId: z.ZodString; filesToRestore: z.ZodArray, "many">; filesToDelete: z.ZodArray, "many">; forkTitle: z.ZodString; }, "strip", z.ZodTypeAny, { sessionId: string; messageId: string; filesToRestore: { filePath: string; contentHash: string; size: number; }[]; filesToDelete: { filePath: string; }[]; forkTitle: string; }, { sessionId: string; messageId: string; filesToRestore: { filePath: string; contentHash: string; size: number; }[]; filesToDelete: { filePath: string; }[]; forkTitle: string; }>; }, "strip", z.ZodTypeAny, { params: { sessionId: string; messageId: string; filesToRestore: { filePath: string; contentHash: string; size: number; }[]; filesToDelete: { filePath: string; }[]; forkTitle: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.EXECUTE_REWIND; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; messageId: string; filesToRestore: { filePath: string; contentHash: string; size: number; }[]; filesToDelete: { filePath: string; }[]; forkTitle: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.EXECUTE_REWIND; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const CompactSessionResultSchema: z.ZodObject<{ newSessionId: z.ZodString; removedCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { newSessionId: string; removedCount: number; }, { newSessionId: string; removedCount: number; }>; declare const CompactSessionRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ customInstructions: z.ZodOptional; }, "strip", z.ZodTypeAny, { customInstructions?: string | undefined; }, { customInstructions?: string | undefined; }>; }, "strip", z.ZodTypeAny, { params: { customInstructions?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.COMPACT_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { customInstructions?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.COMPACT_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const CompactSessionResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ newSessionId: z.ZodString; removedCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { newSessionId: string; removedCount: number; }, { newSessionId: string; removedCount: number; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { newSessionId: string; removedCount: number; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { newSessionId: string; removedCount: number; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const ForkSessionResultSchema: z.ZodObject<{ newSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { newSessionId: string; }, { newSessionId: string; }>; declare const ForkSessionRequestParamsSchema: z.ZodObject<{ title: z.ZodOptional; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }, { title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }>; declare const ForkSessionRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ title: z.ZodOptional; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }, { title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }>; }, "strip", z.ZodTypeAny, { params: { title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.FORK_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.FORK_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const ForkSessionResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ newSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { newSessionId: string; }, { newSessionId: string; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { newSessionId: string; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { newSessionId: string; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const RenameSessionRequestParamsSchema: z.ZodObject<{ title: z.ZodString; }, "strip", z.ZodTypeAny, { title: string; }, { title: string; }>; declare const RenameSessionResultSchema: z.ZodObject<{ success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { success: boolean; }, { success: boolean; }>; declare const RenameSessionRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ title: z.ZodString; }, "strip", z.ZodTypeAny, { title: string; }, { title: string; }>; }, "strip", z.ZodTypeAny, { params: { title: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.RENAME_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { title: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.RENAME_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const RenameSessionResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { success: boolean; }, { success: boolean; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const WarmupCacheRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.WARMUP_CACHE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.WARMUP_CACHE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const WarmupCacheResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const ClientRequestSchema: z.ZodDiscriminatedUnion<"method", [z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ machineId: z.ZodString; cwd: z.ZodString; workspaceId: z.ZodOptional; sessionId: z.ZodOptional; mcpServers: z.ZodOptional>; env: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"http">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"sse">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; autonomyMode: z.ZodOptional>; interactionMode: z.ZodCatch>>; autonomyLevel: z.ZodCatch>>; modelId: z.ZodOptional; reasoningEffort: z.ZodOptional>; specModeModelId: z.ZodOptional; specModeReasoningEffort: z.ZodOptional>; missionSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; compactionThresholdCheckEnabled: z.ZodOptional; /** * @deprecated use session tags instead: mission decomposition session * type (orchestrator or worker). undefined = standard session (not part of decomposition) */ decompSessionType: z.ZodOptional>; /** * @deprecated use session tags instead: mission id for worker sessions * (links worker back to its orchestrator's mission) */ decompMissionId: z.ZodOptional; skipPermissionsUnsafe: z.ZodOptional; sessionLocation: z.ZodOptional; sessionSource: z.ZodOptional; teamId: z.ZodOptional>; channel: z.ZodOptional>; threadTs: z.ZodOptional>; userId: z.ZodOptional>; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; }, { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; }>, z.ZodObject<{ platform: z.ZodLiteral; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Web; delegationSessionId: string; }, { platform: SessionPlatform.Web; delegationSessionId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Api; delegationSessionId: string; }, { platform: SessionPlatform.Api; delegationSessionId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.SessionsApi; delegationSessionId: string; }, { platform: SessionPlatform.SessionsApi; delegationSessionId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; agentSessionId: z.ZodString; issueId: z.ZodOptional>; issueUrl: z.ZodOptional>; issueIdentifier: z.ZodOptional>; organizationId: z.ZodOptional>; userId: z.ZodOptional>; } & { delegationSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; }, { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; }>, z.ZodObject<{ platform: z.ZodLiteral; reportId: z.ZodString; repoUrl: z.ZodString; criterionId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; }, { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; repoUrl: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; }, { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; }>, z.ZodObject<{ platform: z.ZodLiteral; automationId: z.ZodString; computerId: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.Automation; computerId: string; automationId: string; }, { platform: SessionPlatform.Automation; computerId: string; automationId: string; }>, z.ZodObject<{ platform: z.ZodLiteral; repoUrl: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.WikiGeneration; repoUrl: string; }, { platform: SessionPlatform.WikiGeneration; repoUrl: string; }>, z.ZodObject<{ platform: z.ZodLiteral; repoUrl: z.ZodString; }, "strip", z.ZodTypeAny, { platform: SessionPlatform.WikiCISetup; repoUrl: string; }, { platform: SessionPlatform.WikiCISetup; repoUrl: string; }>]>>; sessionOriginHint: z.ZodOptional>; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; mcpOAuthCallbackUri: z.ZodOptional; /** * When true, the daemon should create or reuse a git worktree rooted * at `cwd` and run the session there. The original `cwd` is used to * locate the git repo; the actual session cwd becomes the worktree * path. No-op when `cwd` is not inside a git repository. */ worktree: z.ZodOptional; /** * Optional override for where the worktree directory is created. * Falls back to the user's `worktreeDirectory` setting (or the * sibling-of-repo default) when omitted. */ worktreeDir: z.ZodOptional; } & { enabledToolIds: z.ZodOptional>; disabledToolIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { machineId: string; cwd: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; }, { machineId: string; cwd: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; }>; }, "strip", z.ZodTypeAny, { params: { machineId: string; cwd: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.INITIALIZE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { machineId: string; cwd: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.INITIALIZE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ sessionId: z.ZodString; mcpServers: z.ZodOptional>; env: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"http">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"sse">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; loadAllMessages: z.ZodOptional; mcpOAuthCallbackUri: z.ZodOptional; }, "strip", z.ZodTypeAny, { sessionId: string; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; }, { sessionId: string; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { params: { sessionId: string; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LOAD_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LOAD_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.INTERRUPT_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.INTERRUPT_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ reason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { reason?: "clear" | "logout" | "prompt_input_exit" | "other" | undefined; }, { reason?: "clear" | "logout" | "prompt_input_exit" | "other" | undefined; }>; }, "strip", z.ZodTypeAny, { params: { reason?: "clear" | "logout" | "prompt_input_exit" | "other" | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.CLOSE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { reason?: "clear" | "logout" | "prompt_input_exit" | "other" | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.CLOSE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ workerSessionId: z.ZodString; }, "strip", z.ZodTypeAny, { workerSessionId: string; }, { workerSessionId: string; }>; }, "strip", z.ZodTypeAny, { params: { workerSessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.KILL_WORKER_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { workerSessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.KILL_WORKER_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ messageId: z.ZodOptional; text: z.ZodString; images: z.ZodOptional; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>, "many">>; files: z.ZodOptional; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>, "many">>; outputFormat: z.ZodOptional; schema: z.ZodRecord; }, "strip", z.ZodTypeAny, { type: "json_schema"; schema: Record; }, { type: "json_schema"; schema: Record; }>>; skipAgentLoop: z.ZodOptional; queuePlacement: z.ZodOptional>; role: z.ZodOptional>; visibility: z.ZodOptional>; userMessageSource: z.ZodOptional>; }, "strip", z.ZodTypeAny, { text: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }, { text: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }>; }, "strip", z.ZodTypeAny, { params: { text: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.ADD_USER_MESSAGE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { text: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.ADD_USER_MESSAGE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{ requestId: z.ZodString; action: z.ZodLiteral; queuePlacement: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; }, { action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; }>, z.ZodObject<{ requestId: z.ZodString; action: z.ZodLiteral; }, "strip", z.ZodTypeAny, { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }, { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }>]>; }, "strip", z.ZodTypeAny, { params: { action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; } | { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.RESOLVE_QUEUED_USER_MESSAGE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; } | { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.RESOLVE_QUEUED_USER_MESSAGE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ modelId: z.ZodOptional; reasoningEffort: z.ZodOptional>; autonomyMode: z.ZodOptional>; interactionMode: z.ZodCatch>>; autonomyLevel: z.ZodCatch>>; specModeModelId: z.ZodOptional>; specModeReasoningEffort: z.ZodOptional>>; missionSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; compactionTokenLimit: z.ZodOptional; compactionThresholdCheckEnabled: z.ZodOptional; } & { enabledToolIds: z.ZodOptional>; disabledToolIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { params: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.UPDATE_SESSION_SETTINGS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.UPDATE_SESSION_SETTINGS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ serverName: z.ZodString; } & { enabled: z.ZodBoolean; settingsLevel: z.ZodLiteral; }, "strip", z.ZodTypeAny, { serverName: string; enabled: boolean; settingsLevel: SettingsLevel.User; }, { serverName: string; enabled: boolean; settingsLevel: SettingsLevel.User; }>; }, "strip", z.ZodTypeAny, { params: { serverName: string; enabled: boolean; settingsLevel: SettingsLevel.User; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.TOGGLE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; enabled: boolean; settingsLevel: SettingsLevel.User; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.TOGGLE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ serverName: z.ZodString; }, "strip", z.ZodTypeAny, { serverName: string; }, { serverName: string; }>; }, "strip", z.ZodTypeAny, { params: { serverName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.AUTHENTICATE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.AUTHENTICATE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ serverName: z.ZodString; }, "strip", z.ZodTypeAny, { serverName: string; }, { serverName: string; }>; }, "strip", z.ZodTypeAny, { params: { serverName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.CANCEL_MCP_AUTH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.CANCEL_MCP_AUTH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ serverName: z.ZodString; }, "strip", z.ZodTypeAny, { serverName: string; }, { serverName: string; }>; }, "strip", z.ZodTypeAny, { params: { serverName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.CLEAR_MCP_AUTH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.CLEAR_MCP_AUTH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ name: z.ZodString; type: z.ZodEnum<["stdio", "http", "sse"]>; } & { url: z.ZodOptional; } & { headers: z.ZodOptional>; } & { command: z.ZodOptional; args: z.ZodOptional>; } & { env: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "stdio" | "http" | "sse"; name: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }, { type: "stdio" | "http" | "sse"; name: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }>; }, "strip", z.ZodTypeAny, { params: { type: "stdio" | "http" | "sse"; name: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.ADD_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { type: "stdio" | "http" | "sse"; name: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.ADD_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ serverName: z.ZodString; } & { settingsLevel: z.ZodLiteral; }, "strip", z.ZodTypeAny, { serverName: string; settingsLevel: SettingsLevel.User; }, { serverName: string; settingsLevel: SettingsLevel.User; }>; }, "strip", z.ZodTypeAny, { params: { serverName: string; settingsLevel: SettingsLevel.User; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.REMOVE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; settingsLevel: SettingsLevel.User; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.REMOVE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_MCP_REGISTRY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_MCP_REGISTRY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_MCP_TOOLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_MCP_TOOLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject; reasoningEffort: z.ZodOptional>; autonomyMode: z.ZodOptional>; interactionMode: z.ZodCatch>>; autonomyLevel: z.ZodCatch>>; specModeModelId: z.ZodOptional>; specModeReasoningEffort: z.ZodOptional>>; missionSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; compactionTokenLimit: z.ZodOptional; compactionThresholdCheckEnabled: z.ZodOptional; } & { enabledToolIds: z.ZodOptional>; disabledToolIds: z.ZodOptional>; }, "enabledToolIds" | "disabledToolIds" | "modelId" | "autonomyMode" | "interactionMode" | "autonomyLevel" | "specModeModelId"> & { skipPermissionsUnsafe: z.ZodOptional; depth: z.ZodOptional; }, "strip", z.ZodTypeAny, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; skipPermissionsUnsafe?: boolean | undefined; depth?: number | undefined; }, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | null | undefined; skipPermissionsUnsafe?: boolean | undefined; depth?: number | undefined; }>; }, "strip", z.ZodTypeAny, { params: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; skipPermissionsUnsafe?: boolean | undefined; depth?: number | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_TOOLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | null | undefined; skipPermissionsUnsafe?: boolean | undefined; depth?: number | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_TOOLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_MCP_SERVERS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_MCP_SERVERS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ serverName: z.ZodString; } & { toolName: z.ZodString; enabled: z.ZodBoolean; }, "strip", z.ZodTypeAny, { serverName: string; enabled: boolean; toolName: string; }, { serverName: string; enabled: boolean; toolName: string; }>; }, "strip", z.ZodTypeAny, { params: { serverName: string; enabled: boolean; toolName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.TOGGLE_MCP_TOOL; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; enabled: boolean; toolName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.TOGGLE_MCP_TOOL; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ serverName: z.ZodString; code: z.ZodString; state: z.ZodString; }, "strip", z.ZodTypeAny, { code: string; serverName: string; state: string; }, { code: string; serverName: string; state: string; }>; }, "strip", z.ZodTypeAny, { params: { code: string; serverName: string; state: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.SUBMIT_MCP_AUTH_CODE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { code: string; serverName: string; state: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.SUBMIT_MCP_AUTH_CODE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_SKILLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_SKILLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_COMMANDS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.LIST_COMMANDS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.GET_CONTEXT_STATS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.GET_CONTEXT_STATS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.GET_CONTEXT_BREAKDOWN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.GET_CONTEXT_BREAKDOWN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ userComment: z.ZodString; clientLogs: z.ZodOptional; }, "strip", z.ZodTypeAny, { userComment: string; clientLogs?: string | undefined; }, { userComment: string; clientLogs?: string | undefined; }>; }, "strip", z.ZodTypeAny, { params: { userComment: string; clientLogs?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.SUBMIT_BUG_REPORT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { userComment: string; clientLogs?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.SUBMIT_BUG_REPORT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ sessionId: z.ZodString; messageId: z.ZodString; }, "strip", z.ZodTypeAny, { sessionId: string; messageId: string; }, { sessionId: string; messageId: string; }>; }, "strip", z.ZodTypeAny, { params: { sessionId: string; messageId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.GET_REWIND_INFO; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; messageId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.GET_REWIND_INFO; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ sessionId: z.ZodString; messageId: z.ZodString; filesToRestore: z.ZodArray, "many">; filesToDelete: z.ZodArray, "many">; forkTitle: z.ZodString; }, "strip", z.ZodTypeAny, { sessionId: string; messageId: string; filesToRestore: { filePath: string; contentHash: string; size: number; }[]; filesToDelete: { filePath: string; }[]; forkTitle: string; }, { sessionId: string; messageId: string; filesToRestore: { filePath: string; contentHash: string; size: number; }[]; filesToDelete: { filePath: string; }[]; forkTitle: string; }>; }, "strip", z.ZodTypeAny, { params: { sessionId: string; messageId: string; filesToRestore: { filePath: string; contentHash: string; size: number; }[]; filesToDelete: { filePath: string; }[]; forkTitle: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.EXECUTE_REWIND; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; messageId: string; filesToRestore: { filePath: string; contentHash: string; size: number; }[]; filesToDelete: { filePath: string; }[]; forkTitle: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.EXECUTE_REWIND; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ customInstructions: z.ZodOptional; }, "strip", z.ZodTypeAny, { customInstructions?: string | undefined; }, { customInstructions?: string | undefined; }>; }, "strip", z.ZodTypeAny, { params: { customInstructions?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.COMPACT_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { customInstructions?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.COMPACT_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ title: z.ZodOptional; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }, { title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }>; }, "strip", z.ZodTypeAny, { params: { title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.FORK_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.FORK_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ title: z.ZodString; }, "strip", z.ZodTypeAny, { title: string; }, { title: string; }>; }, "strip", z.ZodTypeAny, { params: { title: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.RENAME_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { title: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.RENAME_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.WARMUP_CACHE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DroidServerMethod.WARMUP_CACHE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>]>; declare const InitializeSessionResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ sessionId: z.ZodString; hostId: z.ZodOptional; session: z.ZodObject<{ messages: z.ZodArray; content: z.ZodArray; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; signature: z.ZodString; signatureProvider: z.ZodOptional, z.ZodLiteral<"unknown">]>>; thinking: z.ZodString; durationMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; data: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; toolUseId: z.ZodString; content: z.ZodOptional; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; parentId: z.ZodOptional; userMessageSource: z.ZodOptional>; visibility: z.ZodOptional>; openaiMessageId: z.ZodOptional; openaiPhase: z.ZodOptional>>; openaiEncryptedContent: z.ZodOptional; openaiReasoningId: z.ZodOptional; openaiReasoningSummary: z.ZodOptional; geminiThoughtSignature: z.ZodOptional; chatCompletionReasoningField: z.ZodOptional>; chatCompletionReasoningContent: z.ZodOptional; isUserVisible: z.ZodOptional; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>, "many">; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }>; mcpServers: z.ZodOptional>; env: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"http">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"sse">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; settings: z.ZodObject<{ modelId: z.ZodString; reasoningEffort: z.ZodNativeEnum; autonomyMode: z.ZodOptional>; interactionMode: z.ZodCatch>>; autonomyLevel: z.ZodCatch>>; specModeModelId: z.ZodOptional; specModeReasoningEffort: z.ZodOptional>; missionSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; sandbox: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabled: boolean; mode?: SandboxMode | undefined; }, { enabled: boolean; mode?: SandboxMode | undefined; }>>; compactionThresholdCheckEnabled: z.ZodOptional; } & { enabledToolIds: z.ZodOptional>; disabledToolIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; gitRepo: z.ZodOptional; repoName: z.ZodString; }, "strip", z.ZodTypeAny, { repoName: string; owner?: string | undefined; }, { repoName: string; owner?: string | undefined; }>>; availableModels: z.ZodOptional; supportedReasoningEfforts: z.ZodArray, "many">; defaultReasoningEffort: z.ZodNativeEnum; isCustom: z.ZodDefault; noImageSupport: z.ZodOptional; tier: z.ZodOptional>; tokenMultiplier: z.ZodOptional; promoLabel: z.ZodOptional; kind: z.ZodOptional>; variantBadge: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }>, "many">>; worktree: z.ZodOptional; isNewlyCreated: z.ZodBoolean; }, "strip", z.ZodTypeAny, { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; }, { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { sessionId: string; session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; hostId?: string | undefined; worktree?: { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; } | undefined; }, { sessionId: string; session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; hostId?: string | undefined; worktree?: { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; } | undefined; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { sessionId: string; session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; hostId?: string | undefined; worktree?: { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; } | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { sessionId: string; session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; hostId?: string | undefined; worktree?: { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; } | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const LoadSessionResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ session: z.ZodObject<{ messages: z.ZodArray; content: z.ZodArray; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; signature: z.ZodString; signatureProvider: z.ZodOptional, z.ZodLiteral<"unknown">]>>; thinking: z.ZodString; durationMs: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; data: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; toolUseId: z.ZodString; content: z.ZodOptional; } & { type: z.ZodLiteral; text: z.ZodString; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodObject<{ type: z.ZodLiteral<"base64">; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z.ZodObject<{ id: z.ZodOptional; } & { type: z.ZodLiteral; source: z.ZodUnion<[z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">; createdAt: z.ZodNumber; updatedAt: z.ZodNumber; parentId: z.ZodOptional; userMessageSource: z.ZodOptional>; visibility: z.ZodOptional>; openaiMessageId: z.ZodOptional; openaiPhase: z.ZodOptional>>; openaiEncryptedContent: z.ZodOptional; openaiReasoningId: z.ZodOptional; openaiReasoningSummary: z.ZodOptional; geminiThoughtSignature: z.ZodOptional; chatCompletionReasoningField: z.ZodOptional>; chatCompletionReasoningContent: z.ZodOptional; isUserVisible: z.ZodOptional; isError: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>, "many">; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }>; hostId: z.ZodOptional; mcpServers: z.ZodOptional>; env: z.ZodDefault>>; }, "strip", z.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"http">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"sse">; name: z.ZodString; url: z.ZodString; headers: z.ZodDefault, "many">>; }, "strip", z.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; pendingPermissions: z.ZodOptional; id: z.ZodString; input: z.ZodRecord; name: z.ZodString; thoughtSignature: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>; confirmationType: z.ZodNativeEnum; details: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; oldContent: z.ZodOptional; newContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; fullCommand: z.ZodString; command: z.ZodString; extractedCommands: z.ZodOptional>; impactLevel: z.ZodOptional; riskLevelReason: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }>, z.ZodObject<{ type: z.ZodLiteral; questionnaire: z.ZodString; parsed: z.ZodOptional; }, "strip", z.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; }, "strip", z.ZodTypeAny, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }>>; parseError: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: string; line?: number | undefined; }, { message: string; line?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; plan: z.ZodString; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; proposal: z.ZodString; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; runningMissionCount: z.ZodNumber; runningMissionSessionIds: z.ZodArray; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }>, z.ZodObject<{ type: z.ZodLiteral; filePath: z.ZodString; fileName: z.ZodString; patchContent: z.ZodString; oldContent: z.ZodOptional; newContent: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; toolName: z.ZodString; impactLevel: z.ZodString; serverName: z.ZodOptional; actualToolName: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; violatingToolName: z.ZodString; target: z.ZodString; operationType: z.ZodNativeEnum; violationType: z.ZodNativeEnum; reason: z.ZodString; violationReason: z.ZodOptional>; isOrgDeny: z.ZodBoolean; }, "strip", z.ZodTypeAny, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }>]>; }, "strip", z.ZodTypeAny, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }>, "many">; options: z.ZodArray; }, "strip", z.ZodTypeAny, { value: ToolConfirmationOutcome; label: string; }, { value: ToolConfirmationOutcome; label: string; }>, "many">; } & { requestId: z.ZodString; }, "strip", z.ZodTypeAny, { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }, { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }>, "many">>; pendingAskUserRequests: z.ZodOptional; }, "strip", z.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; } & { requestId: z.ZodString; }, "strip", z.ZodTypeAny, { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }, { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }>, "many">>; settings: z.ZodObject<{ modelId: z.ZodString; reasoningEffort: z.ZodNativeEnum; autonomyMode: z.ZodOptional>; interactionMode: z.ZodCatch>>; autonomyLevel: z.ZodCatch>>; specModeModelId: z.ZodOptional; specModeReasoningEffort: z.ZodOptional>; missionSettings: z.ZodOptional; workerReasoningEffort: z.ZodOptional>; validationWorkerModel: z.ZodOptional; validationWorkerReasoningEffort: z.ZodOptional>; skipScrutiny: z.ZodOptional; skipUserTesting: z.ZodOptional; }, "strip", z.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; sandbox: z.ZodOptional>; }, "strip", z.ZodTypeAny, { enabled: boolean; mode?: SandboxMode | undefined; }, { enabled: boolean; mode?: SandboxMode | undefined; }>>; compactionThresholdCheckEnabled: z.ZodOptional; } & { enabledToolIds: z.ZodOptional>; disabledToolIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; isAgentLoopInProgress: z.ZodOptional; queuedMessages: z.ZodOptional; text: z.ZodString; images: z.ZodOptional; data: z.ZodString; mediaType: z.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>, "many">>; files: z.ZodOptional; mediaType: z.ZodLiteral<"application/pdf">; data: z.ZodString; parsedData: z.ZodOptional; name: z.ZodOptional; path: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z.ZodObject<{ type: z.ZodLiteral; mediaType: z.ZodLiteral<"text/plain">; data: z.ZodString; name: z.ZodOptional; mime: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>, "many">>; outputFormat: z.ZodOptional; schema: z.ZodRecord; }, "strip", z.ZodTypeAny, { type: "json_schema"; schema: Record; }, { type: "json_schema"; schema: Record; }>>; skipAgentLoop: z.ZodOptional; queuePlacement: z.ZodOptional>; role: z.ZodOptional>; visibility: z.ZodOptional>; userMessageSource: z.ZodOptional>; } & { requestId: z.ZodString; }, "strip", z.ZodTypeAny, { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }, { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }>, "many">>; gitRepo: z.ZodOptional; repoName: z.ZodString; }, "strip", z.ZodTypeAny, { repoName: string; owner?: string | undefined; }, { repoName: string; owner?: string | undefined; }>>; cwd: z.ZodOptional; callingSessionId: z.ZodOptional; callingToolUseId: z.ZodOptional; availableModels: z.ZodOptional; supportedReasoningEfforts: z.ZodArray, "many">; defaultReasoningEffort: z.ZodNativeEnum; isCustom: z.ZodDefault; noImageSupport: z.ZodOptional; tier: z.ZodOptional>; tokenMultiplier: z.ZodOptional; promoLabel: z.ZodOptional; kind: z.ZodOptional>; variantBadge: z.ZodOptional; }, "strip", z.ZodTypeAny, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }>, "many">>; tokenUsage: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; mission: z.ZodOptional; updatedAt: z.ZodOptional; title: z.ZodOptional; workingDirectory: z.ZodOptional; features: z.ZodArray; skillName: z.ZodString; preconditions: z.ZodArray; expectedBehavior: z.ZodArray; fulfills: z.ZodOptional>; milestone: z.ZodOptional; workerSessionIds: z.ZodOptional>; currentWorkerSessionId: z.ZodOptional>; completedWorkerSessionId: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }>, "many">; progressLog: z.ZodArray; title: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; pauseReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; resumeWorkerSessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; message: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; spawnId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodString; successState: z.ZodNativeEnum; returnToOrchestrator: z.ZodBoolean; commitId: z.ZodEffects, string | undefined, unknown>; repoPath: z.ZodEffects, string | undefined, unknown>; exitCode: z.ZodNumber; validatorsPassed: z.ZodOptional; handoff: z.ZodOptional; whatWasImplemented: z.ZodString; whatWasLeftUndone: z.ZodString; verification: z.ZodObject<{ commandsRun: z.ZodArray, "many">; interactiveChecks: z.ZodOptional, "many">>; }, "strip", z.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; tests: z.ZodObject<{ added: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z.ZodOptional>; coverage: z.ZodString; }, "strip", z.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; discoveredIssues: z.ZodArray; description: z.ZodString; suggestedFix: z.ZodOptional; }, "strip", z.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>, "many">; skillFeedback: z.ZodOptional, "many">; suggestedChanges: z.ZodOptional>; }, "strip", z.ZodTypeAny, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }>>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; }, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodOptional; spawnId: z.ZodString; exitCode: z.ZodOptional; reason: z.ZodString; failureReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; workerSessionId: z.ZodString; featureId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; dismissals: z.ZodOptional; sourceFeatureId: z.ZodString; summary: z.ZodString; justification: z.ZodString; }, "strip", z.ZodTypeAny, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }>, "many">>; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }>, z.ZodObject<{ timestamp: z.ZodString; } & { type: z.ZodLiteral; milestone: z.ZodString; featureId: z.ZodString; }, "strip", z.ZodTypeAny, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }>]>, "many">; workerSessionIds: z.ZodArray; workerStates: z.ZodOptional; exitCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { startedAt: string; exitCode?: number | undefined; completedAt?: string | undefined; }, { startedAt: string; exitCode?: number | undefined; completedAt?: string | undefined; }>>>; tokenUsage: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; tokenUsageBySessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>>; }, "strip", z.ZodTypeAny, { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; }, { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; }>>; decompSessionType: z.ZodOptional>; loopState: z.ZodOptional; intervalMs: z.ZodNumber; iteration: z.ZodNumber; startedAt: z.ZodNumber; updatedAt: z.ZodNumber; nextRunAt: z.ZodNullable; isDue: z.ZodBoolean; lastRunStartedAt: z.ZodOptional; lastRunCompletedAt: z.ZodOptional; stopReason: z.ZodOptional>; }, "strip", z.ZodTypeAny, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }>>>; }, "strip", z.ZodTypeAny, { session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; cwd?: string | undefined; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; decompSessionType?: DecompSessionType | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; pendingPermissions?: { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }[] | undefined; pendingAskUserRequests?: { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }[] | undefined; isAgentLoopInProgress?: boolean | undefined; queuedMessages?: { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; } | undefined; hostId?: string | undefined; loopState?: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; } | null | undefined; }, { session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; cwd?: string | undefined; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; decompSessionType?: DecompSessionType | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; pendingPermissions?: { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }[] | undefined; pendingAskUserRequests?: { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }[] | undefined; isAgentLoopInProgress?: boolean | undefined; queuedMessages?: { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; } | undefined; hostId?: string | undefined; loopState?: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; } | null | undefined; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; cwd?: string | undefined; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; decompSessionType?: DecompSessionType | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; pendingPermissions?: { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }[] | undefined; pendingAskUserRequests?: { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }[] | undefined; isAgentLoopInProgress?: boolean | undefined; queuedMessages?: { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; } | undefined; hostId?: string | undefined; loopState?: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; } | null | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; cwd?: string | undefined; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; decompSessionType?: DecompSessionType | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; pendingPermissions?: { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }[] | undefined; pendingAskUserRequests?: { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }[] | undefined; isAgentLoopInProgress?: boolean | undefined; queuedMessages?: { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; } | undefined; hostId?: string | undefined; loopState?: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; } | null | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const AddUserMessageResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const ResolveQueuedUserMessageResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const InterruptSessionResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const CloseSessionResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const KillWorkerSessionResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const UpdateSessionSettingsResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const ToggleMcpServerResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { success: boolean; }, { success: boolean; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const AuthenticateMcpServerResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { success: boolean; }, { success: boolean; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const CancelMcpAuthResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { success: boolean; }, { success: boolean; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const ClearMcpAuthResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { success: boolean; }, { success: boolean; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const AddMcpServerResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { success: boolean; }, { success: boolean; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const RemoveMcpServerResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { success: boolean; }, { success: boolean; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const ListMcpRegistryResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ servers: z.ZodArray; } & { url: z.ZodOptional; } & { command: z.ZodOptional; args: z.ZodOptional>; } & { note: z.ZodOptional; logoUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }, { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { servers: { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }[]; }, { servers: { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }[]; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { servers: { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { servers: { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const ListMcpToolsResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ tools: z.ZodArray; isEnabled: z.ZodBoolean; isReadOnly: z.ZodOptional; inputSchema: z.ZodOptional; properties: z.ZodOptional>; required: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; }, { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }, { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { tools: { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }[]; }, { tools: { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }[]; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { tools: { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { tools: { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const ListToolsResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ tools: z.ZodArray; defaultAllowed: z.ZodBoolean; currentlyAllowed: z.ZodBoolean; }, "strip", z.ZodTypeAny, { id: string; description: string; displayName: string; llmId: string; category: "edit" | "other" | "read" | "execute"; defaultAllowed: boolean; currentlyAllowed: boolean; }, { id: string; description: string; displayName: string; llmId: string; category: "edit" | "other" | "read" | "execute"; defaultAllowed: boolean; currentlyAllowed: boolean; }>, "many">; }, "strip", z.ZodTypeAny, { tools: { id: string; description: string; displayName: string; llmId: string; category: "edit" | "other" | "read" | "execute"; defaultAllowed: boolean; currentlyAllowed: boolean; }[]; }, { tools: { id: string; description: string; displayName: string; llmId: string; category: "edit" | "other" | "read" | "execute"; defaultAllowed: boolean; currentlyAllowed: boolean; }[]; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { tools: { id: string; description: string; displayName: string; llmId: string; category: "edit" | "other" | "read" | "execute"; defaultAllowed: boolean; currentlyAllowed: boolean; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { tools: { id: string; description: string; displayName: string; llmId: string; category: "edit" | "other" | "read" | "execute"; defaultAllowed: boolean; currentlyAllowed: boolean; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const ListMcpServersResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ servers: z.ZodArray; source: z.ZodNativeEnum; isManaged: z.ZodBoolean; error: z.ZodOptional; toolCount: z.ZodOptional; serverType: z.ZodNativeEnum; hasAuthTokens: z.ZodOptional; requiresAuth: z.ZodOptional; pendingAuthUrl: z.ZodOptional; pendingAuthMessage: z.ZodOptional; pendingAuthState: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }>, "many">; summary: z.ZodObject<{ total: z.ZodNumber; connected: z.ZodNumber; connecting: z.ZodNumber; failed: z.ZodNumber; disabled: z.ZodOptional; }, "strip", z.ZodTypeAny, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }>; }, "strip", z.ZodTypeAny, { summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }, { summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const ToggleMcpToolResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ success: z.ZodBoolean; }, "strip", z.ZodTypeAny, { success: boolean; }, { success: boolean; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const ListSkillsResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ skills: z.ZodArray; location: z.ZodNativeEnum; filePath: z.ZodString; enabled: z.ZodOptional; userInvocable: z.ZodOptional; version: z.ZodOptional; content: z.ZodOptional; resources: z.ZodOptional; }, "strip", z.ZodTypeAny, { path: string; type: "reference" | "asset"; name: string; }, { path: string; type: "reference" | "asset"; name: string; }>, "many">>; }, "strip", z.ZodTypeAny, { name: string; location: SkillLocation; filePath: string; description?: string | undefined; content?: string | undefined; enabled?: boolean | undefined; userInvocable?: boolean | undefined; version?: string | undefined; resources?: { path: string; type: "reference" | "asset"; name: string; }[] | undefined; }, { name: string; location: SkillLocation; filePath: string; description?: string | undefined; content?: string | undefined; enabled?: boolean | undefined; userInvocable?: boolean | undefined; version?: string | undefined; resources?: { path: string; type: "reference" | "asset"; name: string; }[] | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { skills: { name: string; location: SkillLocation; filePath: string; description?: string | undefined; content?: string | undefined; enabled?: boolean | undefined; userInvocable?: boolean | undefined; version?: string | undefined; resources?: { path: string; type: "reference" | "asset"; name: string; }[] | undefined; }[]; }, { skills: { name: string; location: SkillLocation; filePath: string; description?: string | undefined; content?: string | undefined; enabled?: boolean | undefined; userInvocable?: boolean | undefined; version?: string | undefined; resources?: { path: string; type: "reference" | "asset"; name: string; }[] | undefined; }[]; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { skills: { name: string; location: SkillLocation; filePath: string; description?: string | undefined; content?: string | undefined; enabled?: boolean | undefined; userInvocable?: boolean | undefined; version?: string | undefined; resources?: { path: string; type: "reference" | "asset"; name: string; }[] | undefined; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { skills: { name: string; location: SkillLocation; filePath: string; description?: string | undefined; content?: string | undefined; enabled?: boolean | undefined; userInvocable?: boolean | undefined; version?: string | undefined; resources?: { path: string; type: "reference" | "asset"; name: string; }[] | undefined; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const ListCommandsResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ commands: z.ZodArray; isExecutable: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; argumentHint?: string | undefined; isExecutable?: boolean | undefined; }, { name: string; description: string; argumentHint?: string | undefined; isExecutable?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { commands: { name: string; description: string; argumentHint?: string | undefined; isExecutable?: boolean | undefined; }[]; }, { commands: { name: string; description: string; argumentHint?: string | undefined; isExecutable?: boolean | undefined; }[]; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { commands: { name: string; description: string; argumentHint?: string | undefined; isExecutable?: boolean | undefined; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { commands: { name: string; description: string; argumentHint?: string | undefined; isExecutable?: boolean | undefined; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const GetContextStatsResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ used: z.ZodNumber; remaining: z.ZodNumber; limit: z.ZodNumber; accuracy: z.ZodNativeEnum; updatedAt: z.ZodString; }, "strip", z.ZodTypeAny, { updatedAt: string; used: number; remaining: number; limit: number; accuracy: ContextStatsAccuracy; }, { updatedAt: string; used: number; remaining: number; limit: number; accuracy: ContextStatsAccuracy; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { updatedAt: string; used: number; remaining: number; limit: number; accuracy: ContextStatsAccuracy; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { updatedAt: string; used: number; remaining: number; limit: number; accuracy: ContextStatsAccuracy; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const GetContextBreakdownResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ modelId: z.ZodString; modelDisplayName: z.ZodString; contextBudget: z.ZodNumber; lastCallCompactionTokens: z.ZodOptional; usedTokens: z.ZodNumber; freeTokens: z.ZodNumber; categories: z.ZodArray; }, "strip", z.ZodTypeAny, { name: string; tokens: number; colorKey: ContextCategoryColorKey; }, { name: string; tokens: number; colorKey: ContextCategoryColorKey; }>, "many">; skills: z.ZodArray; tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; location: SkillLocation; tokens: number; }, { name: string; location: SkillLocation; tokens: number; }>, "many">; mcpServers: z.ZodArray, "many">; droids: z.ZodArray; tokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { name: string; location: DroidLocation; tokens: number; }, { name: string; location: DroidLocation; tokens: number; }>, "many">; }, "strip", z.ZodTypeAny, { modelId: string; mcpServers: { name: string; toolCount: number; tokens: number; }[]; skills: { name: string; location: SkillLocation; tokens: number; }[]; modelDisplayName: string; contextBudget: number; usedTokens: number; freeTokens: number; categories: { name: string; tokens: number; colorKey: ContextCategoryColorKey; }[]; droids: { name: string; location: DroidLocation; tokens: number; }[]; lastCallCompactionTokens?: number | undefined; }, { modelId: string; mcpServers: { name: string; toolCount: number; tokens: number; }[]; skills: { name: string; location: SkillLocation; tokens: number; }[]; modelDisplayName: string; contextBudget: number; usedTokens: number; freeTokens: number; categories: { name: string; tokens: number; colorKey: ContextCategoryColorKey; }[]; droids: { name: string; location: DroidLocation; tokens: number; }[]; lastCallCompactionTokens?: number | undefined; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { modelId: string; mcpServers: { name: string; toolCount: number; tokens: number; }[]; skills: { name: string; location: SkillLocation; tokens: number; }[]; modelDisplayName: string; contextBudget: number; usedTokens: number; freeTokens: number; categories: { name: string; tokens: number; colorKey: ContextCategoryColorKey; }[]; droids: { name: string; location: DroidLocation; tokens: number; }[]; lastCallCompactionTokens?: number | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { modelId: string; mcpServers: { name: string; toolCount: number; tokens: number; }[]; skills: { name: string; location: SkillLocation; tokens: number; }[]; modelDisplayName: string; contextBudget: number; usedTokens: number; freeTokens: number; categories: { name: string; tokens: number; colorKey: ContextCategoryColorKey; }[]; droids: { name: string; location: DroidLocation; tokens: number; }[]; lastCallCompactionTokens?: number | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const SubmitBugReportResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ bugReportId: z.ZodString; }, "strip", z.ZodTypeAny, { bugReportId: string; }, { bugReportId: string; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { bugReportId: string; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { bugReportId: string; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const GetRewindInfoResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ availableFiles: z.ZodArray, "many">; createdFiles: z.ZodArray, "many">; evictedFiles: z.ZodArray, "many">; }, "strip", z.ZodTypeAny, { availableFiles: { filePath: string; contentHash: string; size: number; }[]; createdFiles: { filePath: string; }[]; evictedFiles: { reason: string; filePath: string; }[]; }, { availableFiles: { filePath: string; contentHash: string; size: number; }[]; createdFiles: { filePath: string; }[]; evictedFiles: { reason: string; filePath: string; }[]; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { availableFiles: { filePath: string; contentHash: string; size: number; }[]; createdFiles: { filePath: string; }[]; evictedFiles: { reason: string; filePath: string; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { availableFiles: { filePath: string; contentHash: string; size: number; }[]; createdFiles: { filePath: string; }[]; evictedFiles: { reason: string; filePath: string; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const ExecuteRewindResponseSchema: z.ZodUnion<[z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"response">; error: z.ZodOptional; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z.ZodString; } & { result: z.ZodObject<{ newSessionId: z.ZodString; restoredCount: z.ZodNumber; deletedCount: z.ZodNumber; failedRestoreCount: z.ZodNumber; failedDeleteCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { newSessionId: string; restoredCount: number; deletedCount: number; failedRestoreCount: number; failedDeleteCount: number; }, { newSessionId: string; restoredCount: number; deletedCount: number; failedRestoreCount: number; failedDeleteCount: number; }>; }, "strip", z.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { newSessionId: string; restoredCount: number; deletedCount: number; failedRestoreCount: number; failedDeleteCount: number; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { newSessionId: string; restoredCount: number; deletedCount: number; failedRestoreCount: number; failedDeleteCount: number; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z.ZodLiteral<"response">; id: z.ZodNullable; result: z.ZodOptional; } & { error: z.ZodObject<{ code: z.ZodNativeEnum; message: z.ZodString; data: z.ZodOptional; }, "strip", z.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; /** Named schedule cadences */ declare enum AutomationScheduleCadence { Daily = "daily", Weekly = "weekly", Monthly = "monthly" } /** Types of validation issues */ declare enum AutomationValidationIssueType { MissingFile = "missing_file", InvalidFrontmatter = "invalid_frontmatter", InvalidSchedule = "invalid_schedule", ParseError = "parse_error" } /** * Control-plane error codes. * * These codes enable deterministic error handling across CLI/desktop surfaces. */ declare enum AutomationErrorCode { /** Automation with the given ID was not found */ NotFound = "AUTOMATION_NOT_FOUND", /** Automation already exists with the given ID */ AlreadyExists = "AUTOMATION_ALREADY_EXISTS", /** Invalid automation ID format */ InvalidId = "INVALID_AUTOMATION_ID", /** Invalid configuration (e.g., invalid schedule) */ InvalidConfig = "INVALID_AUTOMATION_CONFIG", /** Automation is already in the requested state */ AlreadyInState = "ALREADY_IN_STATE", /** A run is already in progress for this automation */ RunInProgress = "RUN_IN_PROGRESS", /** Heartbeat execution failed */ ExecutionFailed = "EXECUTION_FAILED", /** General internal error */ InternalError = "INTERNAL_ERROR" } /** Privacy level for an automation */ declare enum AutomationPrivacyLevel { /** Only visible to the creator */ Private = "private", /** Visible to all members of the organization */ Organization = "organization" } declare const AutomationCreatedBySchema: z.ZodObject<{ name: z.ZodString; email: z.ZodOptional; avatarUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; email?: string | undefined; avatarUrl?: string | undefined; }, { name: string; email?: string | undefined; avatarUrl?: string | undefined; }>; type AutomationCreatedBy = z.infer; /** * Schema for the on-disk YAML metadata in HEARTBEAT.md frontmatter. * * This is the flat representation stored between `---` delimiters. * Differs from AutomationConfig in that `schedule` is a plain string * (e.g. "daily", "0 9 * * 1-5") rather than the runtime * `{ cadence: string }` shape. */ declare const AutomationsHeartbeatSchema: z.ZodObject<{ id: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; schedule: z.ZodString; model: z.ZodOptional; tags: z.ZodOptional>; paused: z.ZodOptional; privacyLevel: z.ZodOptional>; createdBy: z.ZodOptional; avatarUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; email?: string | undefined; avatarUrl?: string | undefined; }, { name: string; email?: string | undefined; avatarUrl?: string | undefined; }>>; forkedFrom: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; schedule: string; paused?: boolean | undefined; id?: string | undefined; description?: string | undefined; tags?: string[] | undefined; model?: string | undefined; privacyLevel?: AutomationPrivacyLevel | undefined; createdBy?: { name: string; email?: string | undefined; avatarUrl?: string | undefined; } | undefined; forkedFrom?: string | undefined; }, { name: string; schedule: string; paused?: boolean | undefined; id?: string | undefined; description?: string | undefined; tags?: string[] | undefined; model?: string | undefined; privacyLevel?: AutomationPrivacyLevel | undefined; createdBy?: { name: string; email?: string | undefined; avatarUrl?: string | undefined; } | undefined; forkedFrom?: string | undefined; }>; type AutomationsHeartbeat = z.infer; declare const CronCreateToolInputSchema: z.ZodObject<{ expression: z.ZodString; job: z.ZodObject<{ type: z.ZodLiteral<"prompt">; prompt: z.ZodString; }, "strip", z.ZodTypeAny, { type: "prompt"; prompt: string; }, { type: "prompt"; prompt: string; }>; target: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "same_session"; }, { type: "same_session"; }>>; recurring: z.ZodBoolean; }, "strip", z.ZodTypeAny, { expression: string; job: { type: "prompt"; prompt: string; }; recurring: boolean; target?: { type: "same_session"; } | undefined; }, { expression: string; job: { type: "prompt"; prompt: string; }; recurring: boolean; target?: { type: "same_session"; } | undefined; }>; declare const CronDeleteToolInputSchema: z.ZodObject<{ cronId: z.ZodString; }, "strip", z.ZodTypeAny, { cronId: string; }, { cronId: string; }>; declare const CronListToolInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; /** * Auto-stage for session title generation. * Tracks whether the title was generated from the first message or first file edit. */ declare enum SessionTitleAutoStage { FirstMessage = "first_message", FirstFileEdit = "first_file_edit" } /** * Schema for the first line (session_start event) of a session .jsonl file. * This is the canonical definition of the session summary format on disk. */ declare const SessionSummaryEventSchema: z.ZodObject<{ type: z.ZodLiteral<"session_start">; id: z.ZodString; title: z.ZodString; sessionTitle: z.ZodOptional; isSessionTitleManuallySet: z.ZodOptional; sessionTitleAutoStage: z.ZodOptional>; owner: z.ZodString; parent: z.ZodOptional>; version: z.ZodOptional; cwd: z.ZodOptional; lastCwd: z.ZodOptional; decompSessionType: z.ZodOptional>; decompMissionId: z.ZodOptional; callingSessionId: z.ZodOptional; callingToolUseId: z.ZodOptional; hostId: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "session_start"; id: string; title: string; owner: string; version?: number | undefined; cwd?: string | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; sessionTitle?: string | undefined; hostId?: string | undefined; isSessionTitleManuallySet?: boolean | undefined; sessionTitleAutoStage?: SessionTitleAutoStage | undefined; parent?: string | null | undefined; lastCwd?: string | undefined; }, { type: "session_start"; id: string; title: string; owner: string; version?: number | undefined; cwd?: string | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; sessionTitle?: string | undefined; hostId?: string | undefined; isSessionTitleManuallySet?: boolean | undefined; sessionTitleAutoStage?: SessionTitleAutoStage | undefined; parent?: string | null | undefined; lastCwd?: string | undefined; }>; type SessionSummaryEvent = z.infer; declare const GenericToolExecutionOutputSchema: z.ZodUnion<[z.ZodRecord, z.ZodString, z.ZodArray]>, "many">]>; type GenericToolExecutionOutput = z.infer; /** * Cached pick written once per Factory Router session (or overridden by the * upgrade tool). Resumes + sub-agents read it instead of re-routing. */ declare const EffectiveFactoryRouterModelSchema: z.ZodObject<{ modelId: z.ZodString; apiProvider: z.ZodNativeEnum; reasoningEffort: z.ZodNativeEnum; }, "strict", z.ZodTypeAny, { modelId: string; reasoningEffort: ReasoningEffort; apiProvider: ApiProvider; }, { modelId: string; reasoningEffort: ReasoningEffort; apiProvider: ApiProvider; }>; /** * Session settings schema. * Settings persisted to .settings.json for each session. */ declare const SessionSettingsSchema: z.ZodObject<{ model: z.ZodOptional; reasoningEffort: z.ZodOptional>; interactionMode: z.ZodOptional>; autonomyLevel: z.ZodOptional>; autonomyMode: z.ZodOptional>; specModeModel: z.ZodOptional; specModeReasoningEffort: z.ZodOptional>; runInWorktree: z.ZodOptional; } & { providerLock: z.ZodOptional>; providerLockTimestamp: z.ZodOptional; apiProviderLock: z.ZodOptional>; assistantActiveTimeMs: z.ZodOptional; tokenUsage: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; inclusiveTokenUsage: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; childInclusiveTokenUsageBySessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>>; /** * ISO timestamp when the session was archived. * Presence indicates archived status (omit to unarchive). */ archivedAt: z.ZodOptional; /** Session tags for categorization */ tags: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; /** Additional tool IDs enabled for this session */ enabledToolIds: z.ZodOptional>; /** Tool IDs explicitly disabled for this session */ disabledToolIds: z.ZodOptional>; /** Model to use for compaction; "current-model" follows the session/spec model. */ compactionModel: z.ZodOptional, z.ZodEnum<[string, ...string[]]>, z.ZodString]>>; /** Whether threshold-based automatic compaction is enabled for this session */ compactionThresholdCheckEnabled: z.ZodOptional; effectiveFactoryRouterModel: z.ZodOptional; reasoningEffort: z.ZodNativeEnum; }, "strict", z.ZodTypeAny, { modelId: string; reasoningEffort: ReasoningEffort; apiProvider: ApiProvider; }, { modelId: string; reasoningEffort: ReasoningEffort; apiProvider: ApiProvider; }>>; }, "strip", z.ZodTypeAny, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; archivedAt?: string | undefined; model?: string | undefined; specModeModel?: string | undefined; runInWorktree?: boolean | undefined; compactionModel?: string | undefined; compactionThresholdCheckEnabled?: boolean | undefined; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; providerLock?: ModelProvider | undefined; providerLockTimestamp?: string | undefined; apiProviderLock?: ApiProvider | undefined; assistantActiveTimeMs?: number | undefined; childInclusiveTokenUsageBySessionId?: Record | undefined; effectiveFactoryRouterModel?: { modelId: string; reasoningEffort: ReasoningEffort; apiProvider: ApiProvider; } | undefined; }, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; archivedAt?: string | undefined; model?: string | undefined; specModeModel?: string | undefined; runInWorktree?: boolean | undefined; compactionModel?: string | undefined; compactionThresholdCheckEnabled?: boolean | undefined; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; providerLock?: ModelProvider | undefined; providerLockTimestamp?: string | undefined; apiProviderLock?: ApiProvider | undefined; assistantActiveTimeMs?: number | undefined; childInclusiveTokenUsageBySessionId?: Record | undefined; effectiveFactoryRouterModel?: { modelId: string; reasoningEffort: ReasoningEffort; apiProvider: ApiProvider; } | undefined; }>; type EffectiveFactoryRouterModel = z.infer; /** * Settings persisted to .settings.json for each session. * Note: Field names differ from protocol (model vs modelId). */ type SessionSettings = z.infer; declare const UserModelPolicySchema: z.ZodObject<{ allowedModelIds: z.ZodEffects, ModelID[], string[]>; blockedModelIds: z.ZodEffects, ModelID[], string[]>; }, "strip", z.ZodTypeAny, { allowedModelIds: ModelID[]; blockedModelIds: ModelID[]; }, { allowedModelIds: string[]; blockedModelIds: string[]; }>; /** * The execution location for an tool: * - Client: The tool is executed in the UI context (e.g. change the page). * - Server: The tool is executed server-side (e.g. a code search). * - Both: The tool can be executed in either environment depending on runtime logic. */ declare enum ToolExecutionLocation { Client = "client", Server = "server", Both = "both" } /** * Common status values for tool execution. * Used for tracking the progress and final outcome of an tool's execution. */ declare enum ToolStatus { Pending = "pending", Running = "running", Completed = "completed", Failed = "failed" } declare enum RiskLevel { LOW = "low", MEDIUM = "medium", HIGH = "high" } /** * Edit tool input (Anthropic-style find/replace) */ declare const EditToolInputSchema: z.ZodObject<{ file_path: z.ZodString; old_str: z.ZodString; new_str: z.ZodString; change_all: z.ZodOptional; }, "strip", z.ZodTypeAny, { file_path: string; old_str: string; new_str: string; change_all?: boolean | undefined; }, { file_path: string; old_str: string; new_str: string; change_all?: boolean | undefined; }>; /** * Create tool input */ declare const CreateToolInputSchema: z.ZodObject<{ file_path: z.ZodString; content: z.ZodString; }, "strip", z.ZodTypeAny, { content: string; file_path: string; }, { content: string; file_path: string; }>; /** * Read tool input */ declare const ReadToolInputSchema: z.ZodObject<{ file_path: z.ZodString; offset: z.ZodOptional; limit: z.ZodOptional; image_quality: z.ZodOptional>; }, "strip", z.ZodTypeAny, { file_path: string; limit?: number | undefined; offset?: number | undefined; image_quality?: "high" | "default" | undefined; }, { file_path: string; limit?: number | undefined; offset?: number | undefined; image_quality?: "high" | "default" | undefined; }>; /** * Execute tool input */ declare const ExecuteToolInputSchema: z.ZodObject<{ summary: z.ZodOptional; command: z.ZodString; timeout: z.ZodOptional; riskLevel: z.ZodOptional>; riskLevelReason: z.ZodOptional; fireAndForget: z.ZodOptional; }, "strip", z.ZodTypeAny, { command: string; summary?: string | undefined; timeout?: number | undefined; riskLevelReason?: string | undefined; riskLevel?: RiskLevel | undefined; fireAndForget?: boolean | undefined; }, { command: string; summary?: string | undefined; timeout?: number | undefined; riskLevelReason?: string | undefined; riskLevel?: RiskLevel | undefined; fireAndForget?: boolean | undefined; }>; /** * Glob tool input */ declare const GlobToolInputSchema: z.ZodObject<{ patterns: z.ZodOptional>; folder: z.ZodOptional; excludePatterns: z.ZodOptional>; }, "strip", z.ZodTypeAny, { folder?: string | undefined; patterns?: string[] | undefined; excludePatterns?: string[] | undefined; }, { folder?: string | undefined; patterns?: string[] | undefined; excludePatterns?: string[] | undefined; }>; /** * Grep tool input */ declare const GrepToolInputSchema: z.ZodObject<{ pattern: z.ZodString; path: z.ZodOptional; glob_pattern: z.ZodOptional; case_insensitive: z.ZodOptional; output_mode: z.ZodOptional>; context: z.ZodOptional; context_before: z.ZodOptional; context_after: z.ZodOptional; line_numbers: z.ZodOptional; head_limit: z.ZodOptional; }, "strip", z.ZodTypeAny, { pattern: string; path?: string | undefined; glob_pattern?: string | undefined; case_insensitive?: boolean | undefined; output_mode?: "content" | "file_paths" | undefined; context?: number | undefined; context_before?: number | undefined; context_after?: number | undefined; line_numbers?: boolean | undefined; head_limit?: number | undefined; }, { pattern: string; path?: string | undefined; glob_pattern?: string | undefined; case_insensitive?: boolean | undefined; output_mode?: "content" | "file_paths" | undefined; context?: number | undefined; context_before?: number | undefined; context_after?: number | undefined; line_numbers?: boolean | undefined; head_limit?: number | undefined; }>; /** * LS tool input */ declare const LSToolInputSchema: z.ZodObject<{ directory_path: z.ZodOptional; ignorePatterns: z.ZodOptional>; }, "strip", z.ZodTypeAny, { directory_path?: string | undefined; ignorePatterns?: string[] | undefined; }, { directory_path?: string | undefined; ignorePatterns?: string[] | undefined; }>; /** * WebSearch tool input */ declare const WebSearchToolInputSchema: z.ZodObject<{ query: z.ZodString; numResults: z.ZodOptional; includeDomains: z.ZodOptional>; excludeDomains: z.ZodOptional>; category: z.ZodOptional; }, "strip", z.ZodTypeAny, { query: string; category?: string | undefined; numResults?: number | undefined; includeDomains?: string[] | undefined; excludeDomains?: string[] | undefined; }, { query: string; category?: string | undefined; numResults?: number | undefined; includeDomains?: string[] | undefined; excludeDomains?: string[] | undefined; }>; /** * FetchUrl tool input */ declare const FetchUrlToolInputSchema: z.ZodObject<{ url: z.ZodString; }, "strip", z.ZodTypeAny, { url: string; }, { url: string; }>; /** * Task (subagent) tool input */ declare const TaskToolInputSchema: z.ZodObject<{ subagent_type: z.ZodString; description: z.ZodString; prompt: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; prompt: string; subagent_type: string; }, { description: string; prompt: string; subagent_type: string; }>; /** * TodoWrite tool input */ declare const TodoWriteToolInputSchema: z.ZodObject<{ todos: z.ZodString; }, "strip", z.ZodTypeAny, { todos: string; }, { todos: string; }>; /** * ExitSpecMode tool input */ declare const ExitSpecModeToolInputSchema: z.ZodObject<{ plan: z.ZodString; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { plan: string; title?: string | undefined; }, { plan: string; title?: string | undefined; }>; /** * Skill tool input */ declare const SkillToolInputSchema: z.ZodObject<{ skill: z.ZodString; }, "strip", z.ZodTypeAny, { skill: string; }, { skill: string; }>; /** * ApplyPatch tool input */ declare const ApplyPatchToolInputSchema: z.ZodObject<{ file_path: z.ZodString; patch: z.ZodString; }, "strip", z.ZodTypeAny, { file_path: string; patch: string; }, { file_path: string; patch: string; }>; /** * ProposeMission tool input */ declare const ProposeMissionToolInputSchema: z.ZodObject<{ proposal: z.ZodString; title: z.ZodOptional; }, "strip", z.ZodTypeAny, { proposal: string; title?: string | undefined; }, { proposal: string; title?: string | undefined; }>; /** * Diff line for Edit/Create tool results */ declare const DiffLineSchema: z.ZodObject<{ type: z.ZodEnum<["added", "removed", "unchanged", "context"]>; content: z.ZodString; lineNumber: z.ZodOptional; new: z.ZodOptional; }, "strip", z.ZodTypeAny, { old?: number | undefined; new?: number | undefined; }, { old?: number | undefined; new?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "added" | "context" | "removed" | "unchanged"; content: string; lineNumber?: { old?: number | undefined; new?: number | undefined; } | undefined; }, { type: "added" | "context" | "removed" | "unchanged"; content: string; lineNumber?: { old?: number | undefined; new?: number | undefined; } | undefined; }>; /** * Common result payload for file operation tools (Edit, Create, ApplyPatch) */ declare const FileOperationResultSchema: z.ZodObject<{ success: z.ZodOptional; diff: z.ZodOptional; diffLines: z.ZodOptional; content: z.ZodString; lineNumber: z.ZodOptional; new: z.ZodOptional; }, "strip", z.ZodTypeAny, { old?: number | undefined; new?: number | undefined; }, { old?: number | undefined; new?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { type: "added" | "context" | "removed" | "unchanged"; content: string; lineNumber?: { old?: number | undefined; new?: number | undefined; } | undefined; }, { type: "added" | "context" | "removed" | "unchanged"; content: string; lineNumber?: { old?: number | undefined; new?: number | undefined; } | undefined; }>, "many">>; content: z.ZodOptional; message: z.ZodOptional; file_path: z.ZodOptional; filePath: z.ZodOptional; }, "strip", z.ZodTypeAny, { success?: boolean | undefined; message?: string | undefined; content?: string | undefined; filePath?: string | undefined; file_path?: string | undefined; diff?: string | undefined; diffLines?: { type: "added" | "context" | "removed" | "unchanged"; content: string; lineNumber?: { old?: number | undefined; new?: number | undefined; } | undefined; }[] | undefined; }, { success?: boolean | undefined; message?: string | undefined; content?: string | undefined; filePath?: string | undefined; file_path?: string | undefined; diff?: string | undefined; diffLines?: { type: "added" | "context" | "removed" | "unchanged"; content: string; lineNumber?: { old?: number | undefined; new?: number | undefined; } | undefined; }[] | undefined; }>; /** * Schema for a resolved binary download plan. * Contains a version and fully-qualified URLs for the binary and its checksum. * Used by both the backend API response and internal provisioning. */ declare const BinaryDownloadPlanSchema: z.ZodObject<{ version: z.ZodString; binaryUrl: z.ZodString; checksumUrl: z.ZodString; }, "strip", z.ZodTypeAny, { version: string; binaryUrl: string; checksumUrl: string; }, { version: string; binaryUrl: string; checksumUrl: string; }>; /** * Token usage schema for tracking LLM token consumption. */ declare const TokenUsageSchema: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; cacheCreationInputTokens: z.ZodNumber; cacheReadInputTokens: z.ZodNumber; thinkingTokens: z.ZodNumber; factoryCredits: z.ZodOptional; }, "strip", z.ZodTypeAny, { inputTokens: number; outputTokens: number; thinkingTokens: number; cacheCreationInputTokens: number; cacheReadInputTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; thinkingTokens: number; cacheCreationInputTokens: number; cacheReadInputTokens: number; factoryCredits?: number | undefined; }>; declare const usage_TokenUsageSchema: typeof TokenUsageSchema; declare namespace usage { export { usage_TokenUsageSchema as TokenUsageSchema }; } declare enum DaemonConnectionMethod { AUTHENTICATE = "daemon.authenticate", LOGOUT = "daemon.logout" } declare enum DaemonConnectionEvent { CONNECTION_STATUS = "daemon.connection_status" } /** * Connection state for daemon WebSocket connections. * * This enum contains two categories of states: * * **WebSocket connection states** (actual transport-level states): * - `Disconnected` - No active WebSocket connection * - `Connecting` - WebSocket handshake in progress * - `Connected` - WebSocket is open and ready * - `Closing` - WebSocket is closing * * **UI/UX display states** (for user feedback, not actual WS state): * - `LookingUpMachine` - Checking if session exists locally or in backend * - `StartingMachine` - Waiting for remote sandbox/machine to start before connecting * - `LoadingSession` - WebSocket connected, but loading session state from daemon * - `AuthenticationFailed` - Connection succeeded but authentication was rejected */ declare enum ConnectionState { Disconnected = "disconnected", Connecting = "connecting", Connected = "connected", Closing = "closing", LookingUpMachine = "looking_up_machine", StartingMachine = "starting_machine", LoadingSession = "loading_session", /** @deprecated Use ConnectionStatus.lastFailure instead. Will be removed in a future version. */ AuthenticationFailed = "authentication_failed" } declare enum DaemonTerminalMethod { CREATE = "daemon.create_terminal", WRITE_DATA = "daemon.write_terminal_data", RESIZE = "daemon.resize_terminal", CLOSE = "daemon.close_terminal", LIST = "daemon.list_terminals" } declare enum DaemonTerminalEvent { DATA = "daemon.terminal_data", EXIT = "daemon.terminal_exit", ERROR = "daemon.terminal_error" } declare enum DaemonDroidMethod { INITIALIZE_SESSION = "daemon.initialize_session", LOAD_SESSION = "daemon.load_session", ADD_USER_MESSAGE = "daemon.add_user_message", RESOLVE_QUEUED_USER_MESSAGE = "daemon.resolve_queued_user_message", INTERRUPT_SESSION = "daemon.interrupt_session", CLOSE_SESSION = "daemon.close_session", KILL_WORKER_SESSION = "daemon.kill_worker_session", LIST_OPENED_SESSIONS = "daemon.list_opened_sessions", LIST_AVAILABLE_SESSIONS = "daemon.list_available_sessions", GET_SESSION_MESSAGES = "daemon.get_session_messages", UPDATE_SESSION_SETTINGS = "daemon.update_session_settings", VALIDATE_WORKING_DIRECTORY = "daemon.validate_working_directory", GET_MCP_CONFIG = "daemon.get_mcp_config", UPDATE_MCP_CONFIG = "daemon.update_mcp_config", TOGGLE_MCP_SERVER = "daemon.toggle_mcp_server", AUTHENTICATE_MCP_SERVER = "daemon.authenticate_mcp_server", CANCEL_MCP_AUTH = "daemon.cancel_mcp_auth", CLEAR_MCP_AUTH = "daemon.clear_mcp_auth", SUBMIT_MCP_AUTH_CODE = "daemon.submit_mcp_auth_code", LIST_FILES = "daemon.list_files", SEARCH_FILES = "daemon.search_files", ADD_MCP_SERVER = "daemon.add_mcp_server", REMOVE_MCP_SERVER = "daemon.remove_mcp_server", LIST_MCP_REGISTRY = "daemon.list_mcp_registry", LIST_MCP_TOOLS = "daemon.list_mcp_tools", LIST_MCP_SERVERS = "daemon.list_mcp_servers", TOGGLE_MCP_TOOL = "daemon.toggle_mcp_tool", SEARCH_SESSIONS = "daemon.search_sessions", ARCHIVE_SESSION = "daemon.archive_session", UNARCHIVE_SESSION = "daemon.unarchive_session", RENAME_SESSION = "daemon.rename_session", LIST_SKILLS = "daemon.list_skills", LIST_COMMANDS = "daemon.list_commands", LIST_AVAILABLE_PLUGINS = "daemon.list_available_plugins", LIST_INSTALLED_PLUGINS = "daemon.list_installed_plugins", INSTALL_PLUGIN = "daemon.install_plugin", UNINSTALL_PLUGIN = "daemon.uninstall_plugin", UPDATE_PLUGIN = "daemon.update_plugin", LIST_MARKETPLACES = "daemon.list_marketplaces", ADD_MARKETPLACE = "daemon.add_marketplace", REMOVE_MARKETPLACE = "daemon.remove_marketplace", UPDATE_MARKETPLACE = "daemon.update_marketplace", LIST_AUTOMATIONS = "daemon.list_automations", RUN_AUTOMATION = "daemon.run_automation", PAUSE_AUTOMATION = "daemon.pause_automation", RESUME_AUTOMATION = "daemon.resume_automation", GET_AUTOMATION_HISTORY = "daemon.get_automation_history", GET_AUTOMATION_VISUAL = "daemon.get_automation_visual", CREATE_AUTOMATION = "daemon.create_automation", UPDATE_AUTOMATION_MODEL = "daemon.update_automation_model", UPDATE_AUTOMATION_PRIVACY = "daemon.update_automation_privacy", RENAME_AUTOMATION = "daemon.rename_automation", DELETE_AUTOMATION = "daemon.delete_automation", FORK_AUTOMATION = "daemon.fork_automation", LIST_CRONS = "daemon.list_crons", CREATE_CRON = "daemon.create_cron", UPDATE_CRON = "daemon.update_cron", DELETE_CRON = "daemon.delete_cron", HOLD_SESSION_CRONS = "daemon.hold_session_crons", RESUME_SESSION_CRONS = "daemon.resume_session_crons", GET_GIT_DIFF = "daemon.get_git_diff", GIT_PUSH = "daemon.git_push", GIT_COMMIT = "daemon.git_commit", CREATE_PR = "daemon.create_pr", GET_SEMANTIC_DIFF_CACHE = "daemon.get_semantic_diff_cache", SAVE_SEMANTIC_DIFF_CACHE = "daemon.save_semantic_diff_cache", GENERATE_SEMANTIC_DIFF = "daemon.generate_semantic_diff", GET_PROXY_TOKEN = "daemon.get_proxy_token", GET_WORKSPACE_FILE_CONTENT = "daemon.get_workspace_file_content", SUBMIT_BUG_REPORT = "daemon.submit_bug_report", GET_REWIND_INFO = "daemon.get_rewind_info", EXECUTE_REWIND = "daemon.execute_rewind", COMPACT_SESSION = "daemon.compact_session", FORK_SESSION = "daemon.fork_session", WARMUP_CACHE = "daemon.warmup_cache", GET_CONTEXT_BREAKDOWN = "daemon.get_context_breakdown" } declare enum DaemonGetGitDiffUnavailableReason { MissingSessionCwd = "missing_session_cwd", NotGitRepository = "not_git_repository", GitNotAvailable = "git_not_available", Unknown = "unknown" } declare enum DaemonSettingsMethod { GET_DEFAULT_SETTINGS = "daemon.get_default_settings", UPDATE_SESSION_DEFAULTS = "daemon.update_session_defaults" } declare enum DaemonManagementMethod { TRIGGER_UPDATE = "daemon.trigger_update", INSTALL_SSH_KEY = "daemon.install_ssh_key" } declare enum DaemonRelayMethod { START = "daemon.relay.start", STOP = "daemon.relay.stop", GET_STATUS = "daemon.relay.get_status" } declare enum DaemonRelayEvent { STATUS_CHANGED = "daemon.relay.status_changed" } declare enum DaemonCronEvent { STATE_CHANGED = "daemon.cron.state_changed" } declare enum DaemonSpecificNotificationType { SESSION_INACTIVITY = "session_inactivity", SESSION_PROCESS_EXITED = "session_process_exited", SESSION_CLOSED = "session_closed", SESSION_UNSUBSCRIBED = "session_unsubscribed", CHILD_SESSION_AVAILABLE = "child_session_available" } declare enum DaemonDroidEvent { SESSION_NOTIFICATION = "daemon.session_notification", REQUEST_PERMISSION = "daemon.request_permission", ASK_USER = "daemon.ask_user" } declare enum CreateTerminalError { TerminalIdExists = "TerminalIdExists" } declare enum McpConfigSource { User = "user", Project = "project" } /** * Tracks the loading state of a session in the daemon. * * State Transitions (Event-Driven, Non-Linear): * - New session: NotLoaded → Loading → Loaded * - Existing session (direct URL): NotLoaded → Loading → Loaded * - Reconnection: Loaded → NotLoaded → Loading → Loaded * - After inactivity: Loaded → NotLoaded → Loading → Loaded * * Entry Points: * - NotLoaded: Default state, or via disconnect/inactivity/unsubscribed * - Loading: Via markSessionLoading() for new sessions, existing sessions, reloads, or reconnections * - Loaded: Via initializeSession() (new) or loadSession() (existing/reload) */ declare enum SessionLoadState { /** * Session doesn't exist in daemon state yet, or became inactive. * * Effect: Default state for sessions not yet created or loaded. * Next State: * - Call markSessionLoading() → Loading (for all sessions) */ NotLoaded = "NOT_LOADED", /** * Session is fully loaded and ready for use in daemon state. * * Effect: Normal operation, all features available, UI fully interactive. * Next State: * - Via WebSocket disconnect → NotLoaded (connection lost, then reconnect flow starts) * - Via daemon notification → NotLoaded (inactivity timeout or unsubscribed) * - Via markSessionLoading() → Loading (manual reload without disconnect) */ Loaded = "LOADED", /** * Session is being loaded, initialized, or reloaded. * * Effect: Shows loading UI. Session may be new or existing. * Next State: When initializeSession() or loadSession() completes → Loaded * Usage: New session creation, initial load of existing session, reconnection, manual reload, or reload after inactive. */ Loading = "LOADING" } declare enum SessionSearchDocKind { MessageText = "message_text", Document = "document", ToolUse = "tool_use", ToolResult = "tool_result" } declare const DaemonSubmitBugReportRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; userComment: z$1.ZodString; clientLogs: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; userComment: string; clientLogs?: string | undefined; }, { sessionId: string; userComment: string; clientLogs?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; userComment: string; clientLogs?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SUBMIT_BUG_REPORT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; userComment: string; clientLogs?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SUBMIT_BUG_REPORT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonSubmitBugReportResultSchema: z$1.ZodObject<{ bugReportId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { bugReportId: string; }, { bugReportId: string; }>; declare const DaemonTriggerUpdateRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; }, "strip", z$1.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonManagementMethod.TRIGGER_UPDATE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonManagementMethod.TRIGGER_UPDATE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonTriggerUpdateResultSchema: z$1.ZodObject<{ triggered: z$1.ZodBoolean; message: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { triggered: boolean; message?: string | undefined; }, { triggered: boolean; message?: string | undefined; }>; declare const DaemonTriggerUpdateResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ triggered: z$1.ZodBoolean; message: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { triggered: boolean; message?: string | undefined; }, { triggered: boolean; message?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { triggered: boolean; message?: string | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { triggered: boolean; message?: string | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonInstallSshKeyRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ publicKey: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { publicKey: string; }, { publicKey: string; }>; }, "strip", z$1.ZodTypeAny, { params: { publicKey: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonManagementMethod.INSTALL_SSH_KEY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { publicKey: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonManagementMethod.INSTALL_SSH_KEY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonInstallSshKeyResultSchema: z$1.ZodObject<{ installed: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { installed: boolean; }, { installed: boolean; }>; declare const DaemonListSkillsRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_SKILLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_SKILLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonListSkillsResultSchema: z$1.ZodObject<{ skills: z$1.ZodArray; location: z$1.ZodNativeEnum; filePath: z$1.ZodString; enabled: z$1.ZodOptional; userInvocable: z$1.ZodOptional; version: z$1.ZodOptional; content: z$1.ZodOptional; resources: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { path: string; type: "reference" | "asset"; name: string; }, { path: string; type: "reference" | "asset"; name: string; }>, "many">>; }, "strip", z$1.ZodTypeAny, { name: string; location: SkillLocation; filePath: string; description?: string | undefined; content?: string | undefined; enabled?: boolean | undefined; userInvocable?: boolean | undefined; version?: string | undefined; resources?: { path: string; type: "reference" | "asset"; name: string; }[] | undefined; }, { name: string; location: SkillLocation; filePath: string; description?: string | undefined; content?: string | undefined; enabled?: boolean | undefined; userInvocable?: boolean | undefined; version?: string | undefined; resources?: { path: string; type: "reference" | "asset"; name: string; }[] | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { skills: { name: string; location: SkillLocation; filePath: string; description?: string | undefined; content?: string | undefined; enabled?: boolean | undefined; userInvocable?: boolean | undefined; version?: string | undefined; resources?: { path: string; type: "reference" | "asset"; name: string; }[] | undefined; }[]; }, { skills: { name: string; location: SkillLocation; filePath: string; description?: string | undefined; content?: string | undefined; enabled?: boolean | undefined; userInvocable?: boolean | undefined; version?: string | undefined; resources?: { path: string; type: "reference" | "asset"; name: string; }[] | undefined; }[]; }>; declare const DaemonListCommandsRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ sessionId: z.ZodString; }, "strip", z.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_COMMANDS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_COMMANDS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonListCommandsResultSchema: z.ZodObject<{ commands: z.ZodArray; isExecutable: z.ZodOptional; }, "strip", z.ZodTypeAny, { name: string; description: string; argumentHint?: string | undefined; isExecutable?: boolean | undefined; }, { name: string; description: string; argumentHint?: string | undefined; isExecutable?: boolean | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { commands: { name: string; description: string; argumentHint?: string | undefined; isExecutable?: boolean | undefined; }[]; }, { commands: { name: string; description: string; argumentHint?: string | undefined; isExecutable?: boolean | undefined; }[]; }>; declare const DaemonRelayStartRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; }, "strip", z$1.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonRelayMethod.START; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonRelayMethod.START; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonRelayStartResultSchema: z$1.ZodObject<{ relayUrl: z$1.ZodString; computerId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { computerId: string; relayUrl: string; }, { computerId: string; relayUrl: string; }>; declare const DaemonRelayStartResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ relayUrl: z$1.ZodString; computerId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { computerId: string; relayUrl: string; }, { computerId: string; relayUrl: string; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { computerId: string; relayUrl: string; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { computerId: string; relayUrl: string; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonRelayStopRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; }, "strip", z$1.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonRelayMethod.STOP; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonRelayMethod.STOP; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonRelayStopResultSchema: z$1.ZodObject<{}, "strict", z$1.ZodTypeAny, {}, {}>; declare const DaemonRelayStopResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{}, "strict", z$1.ZodTypeAny, {}, {}>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonRelayGetStatusRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; }, "strip", z$1.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonRelayMethod.GET_STATUS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonRelayMethod.GET_STATUS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonRelayGetStatusResultSchema: z$1.ZodObject<{ connected: z$1.ZodBoolean; url: z$1.ZodOptional; clientCount: z$1.ZodOptional; computerId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { connected: boolean; url?: string | undefined; computerId?: string | undefined; clientCount?: number | undefined; }, { connected: boolean; url?: string | undefined; computerId?: string | undefined; clientCount?: number | undefined; }>; declare const DaemonRelayGetStatusResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ connected: z$1.ZodBoolean; url: z$1.ZodOptional; clientCount: z$1.ZodOptional; computerId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { connected: boolean; url?: string | undefined; computerId?: string | undefined; clientCount?: number | undefined; }, { connected: boolean; url?: string | undefined; computerId?: string | undefined; clientCount?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { connected: boolean; url?: string | undefined; computerId?: string | undefined; clientCount?: number | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { connected: boolean; url?: string | undefined; computerId?: string | undefined; clientCount?: number | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonRelayStatusChangedNotificationParamsSchema: z$1.ZodObject<{ connected: z$1.ZodBoolean; url: z$1.ZodOptional; clientCount: z$1.ZodOptional; computerId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { connected: boolean; url?: string | undefined; computerId?: string | undefined; clientCount?: number | undefined; }, { connected: boolean; url?: string | undefined; computerId?: string | undefined; clientCount?: number | undefined; }>; declare const DaemonRelayStatusChangedNotificationSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"notification">; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ connected: z$1.ZodBoolean; url: z$1.ZodOptional; clientCount: z$1.ZodOptional; computerId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { connected: boolean; url?: string | undefined; computerId?: string | undefined; clientCount?: number | undefined; }, { connected: boolean; url?: string | undefined; computerId?: string | undefined; clientCount?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { connected: boolean; url?: string | undefined; computerId?: string | undefined; clientCount?: number | undefined; }; type: "notification"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; method: DaemonRelayEvent; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { connected: boolean; url?: string | undefined; computerId?: string | undefined; clientCount?: number | undefined; }; type: "notification"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; method: DaemonRelayEvent; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const CreateTerminalRequestParamsSchema: z$1.ZodObject<{ terminalId: z$1.ZodString; cols: z$1.ZodOptional; rows: z$1.ZodOptional; cwd: z$1.ZodOptional; env: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { terminalId: string; env?: Record | undefined; cwd?: string | undefined; cols?: number | undefined; rows?: number | undefined; }, { terminalId: string; env?: Record | undefined; cwd?: string | undefined; cols?: number | undefined; rows?: number | undefined; }>; declare const WriteDataRequestParamsSchema: z$1.ZodObject<{ terminalId: z$1.ZodString; data: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { data: string; terminalId: string; }, { data: string; terminalId: string; }>; declare const ResizeRequestParamsSchema: z$1.ZodObject<{ terminalId: z$1.ZodString; cols: z$1.ZodNumber; rows: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { terminalId: string; cols: number; rows: number; }, { terminalId: string; cols: number; rows: number; }>; declare const CloseTerminalRequestParamsSchema: z$1.ZodObject<{ terminalId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { terminalId: string; }, { terminalId: string; }>; declare const ListTerminalsRequestParamsSchema: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; declare const CreateTerminalResultSchema: z$1.ZodDiscriminatedUnion<"success", [z$1.ZodObject<{ success: z$1.ZodLiteral; }, "strip", z$1.ZodTypeAny, { success: true; }, { success: true; }>, z$1.ZodObject<{ success: z$1.ZodLiteral; error: z$1.ZodNativeEnum; }, "strip", z$1.ZodTypeAny, { error: CreateTerminalError; success: false; }, { error: CreateTerminalError; success: false; }>]>; declare const WriteDataResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>; declare const ResizeResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>; declare const CloseTerminalResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>; declare const TerminalInfoSchema: z$1.ZodObject<{ id: z$1.ZodString; pid: z$1.ZodNullable; cols: z$1.ZodNumber; rows: z$1.ZodNumber; createdAt: z$1.ZodDate; state: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; }, { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; }>>; }, "strip", z$1.ZodTypeAny, { id: string; createdAt: Date; cols: number; rows: number; pid: number | null; state?: { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; } | undefined; }, { id: string; createdAt: Date; cols: number; rows: number; pid: number | null; state?: { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; } | undefined; }>; declare const ListTerminalsResultSchema: z$1.ZodObject<{ terminals: z$1.ZodArray; cols: z$1.ZodNumber; rows: z$1.ZodNumber; createdAt: z$1.ZodDate; state: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; }, { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; }>>; }, "strip", z$1.ZodTypeAny, { id: string; createdAt: Date; cols: number; rows: number; pid: number | null; state?: { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; } | undefined; }, { id: string; createdAt: Date; cols: number; rows: number; pid: number | null; state?: { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; } | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { terminals: { id: string; createdAt: Date; cols: number; rows: number; pid: number | null; state?: { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; } | undefined; }[]; }, { terminals: { id: string; createdAt: Date; cols: number; rows: number; pid: number | null; state?: { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; } | undefined; }[]; }>; declare const CreateTerminalRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ terminalId: z$1.ZodString; cols: z$1.ZodOptional; rows: z$1.ZodOptional; cwd: z$1.ZodOptional; env: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { terminalId: string; env?: Record | undefined; cwd?: string | undefined; cols?: number | undefined; rows?: number | undefined; }, { terminalId: string; env?: Record | undefined; cwd?: string | undefined; cols?: number | undefined; rows?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { terminalId: string; env?: Record | undefined; cwd?: string | undefined; cols?: number | undefined; rows?: number | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.CREATE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { terminalId: string; env?: Record | undefined; cwd?: string | undefined; cols?: number | undefined; rows?: number | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.CREATE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const WriteDataRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ terminalId: z$1.ZodString; data: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { data: string; terminalId: string; }, { data: string; terminalId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { data: string; terminalId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.WRITE_DATA; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { data: string; terminalId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.WRITE_DATA; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const ResizeRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ terminalId: z$1.ZodString; cols: z$1.ZodNumber; rows: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { terminalId: string; cols: number; rows: number; }, { terminalId: string; cols: number; rows: number; }>; }, "strip", z$1.ZodTypeAny, { params: { terminalId: string; cols: number; rows: number; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.RESIZE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { terminalId: string; cols: number; rows: number; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.RESIZE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const CloseTerminalRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ terminalId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { terminalId: string; }, { terminalId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { terminalId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.CLOSE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { terminalId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.CLOSE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const ListTerminalsRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; }, "strip", z$1.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.LIST; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.LIST; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const CreateTerminalResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodDiscriminatedUnion<"success", [z$1.ZodObject<{ success: z$1.ZodLiteral; }, "strip", z$1.ZodTypeAny, { success: true; }, { success: true; }>, z$1.ZodObject<{ success: z$1.ZodLiteral; error: z$1.ZodNativeEnum; }, "strip", z$1.ZodTypeAny, { error: CreateTerminalError; success: false; }, { error: CreateTerminalError; success: false; }>]>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: true; } | { error: CreateTerminalError; success: false; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: true; } | { error: CreateTerminalError; success: false; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const WriteDataResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const ResizeResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const CloseTerminalResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const ListTerminalsResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ terminals: z$1.ZodArray; cols: z$1.ZodNumber; rows: z$1.ZodNumber; createdAt: z$1.ZodDate; state: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; }, { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; }>>; }, "strip", z$1.ZodTypeAny, { id: string; createdAt: Date; cols: number; rows: number; pid: number | null; state?: { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; } | undefined; }, { id: string; createdAt: Date; cols: number; rows: number; pid: number | null; state?: { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; } | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { terminals: { id: string; createdAt: Date; cols: number; rows: number; pid: number | null; state?: { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; } | undefined; }[]; }, { terminals: { id: string; createdAt: Date; cols: number; rows: number; pid: number | null; state?: { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; } | undefined; }[]; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { terminals: { id: string; createdAt: Date; cols: number; rows: number; pid: number | null; state?: { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; } | undefined; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { terminals: { id: string; createdAt: Date; cols: number; rows: number; pid: number | null; state?: { timestamp: Date; cols: number; rows: number; serialized: string; plainText: string; cursorHidden?: boolean | undefined; } | undefined; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const TerminalRequestSchema: z$1.ZodDiscriminatedUnion<"method", [z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ terminalId: z$1.ZodString; cols: z$1.ZodOptional; rows: z$1.ZodOptional; cwd: z$1.ZodOptional; env: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { terminalId: string; env?: Record | undefined; cwd?: string | undefined; cols?: number | undefined; rows?: number | undefined; }, { terminalId: string; env?: Record | undefined; cwd?: string | undefined; cols?: number | undefined; rows?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { terminalId: string; env?: Record | undefined; cwd?: string | undefined; cols?: number | undefined; rows?: number | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.CREATE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { terminalId: string; env?: Record | undefined; cwd?: string | undefined; cols?: number | undefined; rows?: number | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.CREATE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ terminalId: z$1.ZodString; data: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { data: string; terminalId: string; }, { data: string; terminalId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { data: string; terminalId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.WRITE_DATA; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { data: string; terminalId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.WRITE_DATA; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ terminalId: z$1.ZodString; cols: z$1.ZodNumber; rows: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { terminalId: string; cols: number; rows: number; }, { terminalId: string; cols: number; rows: number; }>; }, "strip", z$1.ZodTypeAny, { params: { terminalId: string; cols: number; rows: number; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.RESIZE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { terminalId: string; cols: number; rows: number; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.RESIZE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ terminalId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { terminalId: string; }, { terminalId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { terminalId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.CLOSE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { terminalId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.CLOSE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; }, "strip", z$1.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.LIST; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.LIST; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>]>; declare const TerminalDataNotificationSchema: z$1.ZodObject<{ type: z$1.ZodLiteral; terminalId: z$1.ZodString; data: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: DaemonTerminalEvent.DATA; data: string; terminalId: string; }, { type: DaemonTerminalEvent.DATA; data: string; terminalId: string; }>; declare const TerminalExitNotificationSchema: z$1.ZodObject<{ type: z$1.ZodLiteral; terminalId: z$1.ZodString; exitCode: z$1.ZodNumber; signal: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: DaemonTerminalEvent.EXIT; exitCode: number; signal: string; terminalId: string; }, { type: DaemonTerminalEvent.EXIT; exitCode: number; signal: string; terminalId: string; }>; declare const TerminalNotificationSchema: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{ type: z$1.ZodLiteral; terminalId: z$1.ZodString; data: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: DaemonTerminalEvent.DATA; data: string; terminalId: string; }, { type: DaemonTerminalEvent.DATA; data: string; terminalId: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; terminalId: z$1.ZodString; exitCode: z$1.ZodNumber; signal: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: DaemonTerminalEvent.EXIT; exitCode: number; signal: string; terminalId: string; }, { type: DaemonTerminalEvent.EXIT; exitCode: number; signal: string; terminalId: string; }>]>; declare const DaemonCreateTerminalRequestParamsSchema: z$1.ZodObject<{ terminalId: z$1.ZodString; cols: z$1.ZodOptional; rows: z$1.ZodOptional; cwd: z$1.ZodOptional; env: z$1.ZodOptional>; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; terminalId: string; env?: Record | undefined; cwd?: string | undefined; cols?: number | undefined; rows?: number | undefined; }, { sessionId: string; terminalId: string; env?: Record | undefined; cwd?: string | undefined; cols?: number | undefined; rows?: number | undefined; }>; declare const DaemonWriteDataRequestParamsSchema: z$1.ZodObject<{ terminalId: z$1.ZodString; data: z$1.ZodString; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { data: string; sessionId: string; terminalId: string; }, { data: string; sessionId: string; terminalId: string; }>; declare const DaemonResizeRequestParamsSchema: z$1.ZodObject<{ terminalId: z$1.ZodString; cols: z$1.ZodNumber; rows: z$1.ZodNumber; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; terminalId: string; cols: number; rows: number; }, { sessionId: string; terminalId: string; cols: number; rows: number; }>; declare const DaemonCloseTerminalRequestParamsSchema: z$1.ZodObject<{ terminalId: z$1.ZodString; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; terminalId: string; }, { sessionId: string; terminalId: string; }>; declare const DaemonListTerminalsRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; declare const DaemonCreateTerminalRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ terminalId: z$1.ZodString; cols: z$1.ZodOptional; rows: z$1.ZodOptional; cwd: z$1.ZodOptional; env: z$1.ZodOptional>; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; terminalId: string; env?: Record | undefined; cwd?: string | undefined; cols?: number | undefined; rows?: number | undefined; }, { sessionId: string; terminalId: string; env?: Record | undefined; cwd?: string | undefined; cols?: number | undefined; rows?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; terminalId: string; env?: Record | undefined; cwd?: string | undefined; cols?: number | undefined; rows?: number | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.CREATE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; terminalId: string; env?: Record | undefined; cwd?: string | undefined; cols?: number | undefined; rows?: number | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.CREATE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonWriteDataRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ terminalId: z$1.ZodString; data: z$1.ZodString; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { data: string; sessionId: string; terminalId: string; }, { data: string; sessionId: string; terminalId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { data: string; sessionId: string; terminalId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.WRITE_DATA; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { data: string; sessionId: string; terminalId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.WRITE_DATA; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonResizeRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ terminalId: z$1.ZodString; cols: z$1.ZodNumber; rows: z$1.ZodNumber; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; terminalId: string; cols: number; rows: number; }, { sessionId: string; terminalId: string; cols: number; rows: number; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; terminalId: string; cols: number; rows: number; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.RESIZE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; terminalId: string; cols: number; rows: number; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.RESIZE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonCloseTerminalRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ terminalId: z$1.ZodString; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; terminalId: string; }, { sessionId: string; terminalId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; terminalId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.CLOSE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; terminalId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.CLOSE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonListTerminalsRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.LIST; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonTerminalMethod.LIST; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; /** * Client-supplied metadata attached to the authenticate handshake. * Extensible: new fields can be added here without changing the * transport protocol. The daemon stores these on the connection * context and uses them for span attribution. */ declare const DaemonConnectionMetadataSchema: z$1.ZodObject<{ tracing: z$1.ZodOptional; /** Client-relative machine classification: local | ephemeral | computer. */ machineType: z$1.ZodOptional; /** Computer provider: byom | e2b. */ machineProvider: z$1.ZodOptional; /** Transport kind: ws_localhost | ws_direct | ws_relay. */ daemonTransport: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; }, { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; }>>; }, "strip", z$1.ZodTypeAny, { tracing?: { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; } | undefined; }, { tracing?: { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; } | undefined; }>; declare const DaemonAuthenticateRequestParamsSchema: z$1.ZodEffects; /** Factory API key (fk-*) */ apiKey: z$1.ZodOptional; /** Frontend-generated connection ID for trace correlation */ connectionId: z$1.ZodOptional; /** Caller identifier for debugging (e.g., 'frontend', 'cli'). */ caller: z$1.ZodString; /** Client-supplied metadata for tracing and diagnostics. */ metadata: z$1.ZodOptional; /** Client-relative machine classification: local | ephemeral | computer. */ machineType: z$1.ZodOptional; /** Computer provider: byom | e2b. */ machineProvider: z$1.ZodOptional; /** Transport kind: ws_localhost | ws_direct | ws_relay. */ daemonTransport: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; }, { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; }>>; }, "strip", z$1.ZodTypeAny, { tracing?: { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; } | undefined; }, { tracing?: { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; } | undefined; }>>; }, "strip", z$1.ZodTypeAny, { caller: string; metadata?: { tracing?: { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; } | undefined; } | undefined; apiKey?: string | undefined; token?: string | undefined; connectionId?: string | undefined; }, { caller: string; metadata?: { tracing?: { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; } | undefined; } | undefined; apiKey?: string | undefined; token?: string | undefined; connectionId?: string | undefined; }>, { caller: string; metadata?: { tracing?: { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; } | undefined; } | undefined; apiKey?: string | undefined; token?: string | undefined; connectionId?: string | undefined; }, { caller: string; metadata?: { tracing?: { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; } | undefined; } | undefined; apiKey?: string | undefined; token?: string | undefined; connectionId?: string | undefined; }>; declare const DaemonAuthenticateRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodEffects; /** Factory API key (fk-*) */ apiKey: z$1.ZodOptional; /** Frontend-generated connection ID for trace correlation */ connectionId: z$1.ZodOptional; /** Caller identifier for debugging (e.g., 'frontend', 'cli'). */ caller: z$1.ZodString; /** Client-supplied metadata for tracing and diagnostics. */ metadata: z$1.ZodOptional; /** Client-relative machine classification: local | ephemeral | computer. */ machineType: z$1.ZodOptional; /** Computer provider: byom | e2b. */ machineProvider: z$1.ZodOptional; /** Transport kind: ws_localhost | ws_direct | ws_relay. */ daemonTransport: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; }, { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; }>>; }, "strip", z$1.ZodTypeAny, { tracing?: { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; } | undefined; }, { tracing?: { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; } | undefined; }>>; }, "strip", z$1.ZodTypeAny, { caller: string; metadata?: { tracing?: { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; } | undefined; } | undefined; apiKey?: string | undefined; token?: string | undefined; connectionId?: string | undefined; }, { caller: string; metadata?: { tracing?: { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; } | undefined; } | undefined; apiKey?: string | undefined; token?: string | undefined; connectionId?: string | undefined; }>, { caller: string; metadata?: { tracing?: { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; } | undefined; } | undefined; apiKey?: string | undefined; token?: string | undefined; connectionId?: string | undefined; }, { caller: string; metadata?: { tracing?: { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; } | undefined; } | undefined; apiKey?: string | undefined; token?: string | undefined; connectionId?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { caller: string; metadata?: { tracing?: { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; } | undefined; } | undefined; apiKey?: string | undefined; token?: string | undefined; connectionId?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonConnectionMethod.AUTHENTICATE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { caller: string; metadata?: { tracing?: { app?: string | undefined; machineType?: string | undefined; machineProvider?: string | undefined; daemonTransport?: string | undefined; } | undefined; } | undefined; apiKey?: string | undefined; token?: string | undefined; connectionId?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonConnectionMethod.AUTHENTICATE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonAuthenticateResultSchema: z$1.ZodObject<{ userId: z$1.ZodString; orgId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { userId: string; orgId: string; }, { userId: string; orgId: string; }>; declare const DaemonAuthenticateResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ userId: z$1.ZodString; orgId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { userId: string; orgId: string; }, { userId: string; orgId: string; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { userId: string; orgId: string; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { userId: string; orgId: string; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonLogoutRequestParamsSchema: z$1.ZodObject<{}, "strict", z$1.ZodTypeAny, {}, {}>; declare const DaemonLogoutRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{}, "strict", z$1.ZodTypeAny, {}, {}>; }, "strip", z$1.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonConnectionMethod.LOGOUT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonConnectionMethod.LOGOUT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonLogoutResultSchema: z$1.ZodObject<{ accepted: z$1.ZodLiteral; }, "strip", z$1.ZodTypeAny, { accepted: true; }, { accepted: true; }>; declare const DaemonLogoutResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ accepted: z$1.ZodLiteral; }, "strip", z$1.ZodTypeAny, { accepted: true; }, { accepted: true; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { accepted: true; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { accepted: true; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonConnectionStatusNotificationParamsSchema: z$1.ZodObject<{ isDroidCLIInPath: z$1.ZodBoolean; droidCLIVersion: z$1.ZodOptional; homedir: z$1.ZodString; platform: z$1.ZodNativeEnum; }, "strip", z$1.ZodTypeAny, { platform: Platform; isDroidCLIInPath: boolean; homedir: string; droidCLIVersion?: string | undefined; }, { platform: Platform; isDroidCLIInPath: boolean; homedir: string; droidCLIVersion?: string | undefined; }>; declare const DaemonConnectionStatusNotificationSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"notification">; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ isDroidCLIInPath: z$1.ZodBoolean; droidCLIVersion: z$1.ZodOptional; homedir: z$1.ZodString; platform: z$1.ZodNativeEnum; }, "strip", z$1.ZodTypeAny, { platform: Platform; isDroidCLIInPath: boolean; homedir: string; droidCLIVersion?: string | undefined; }, { platform: Platform; isDroidCLIInPath: boolean; homedir: string; droidCLIVersion?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { platform: Platform; isDroidCLIInPath: boolean; homedir: string; droidCLIVersion?: string | undefined; }; type: "notification"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; method: DaemonConnectionEvent; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { platform: Platform; isDroidCLIInPath: boolean; homedir: string; droidCLIVersion?: string | undefined; }; type: "notification"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; method: DaemonConnectionEvent; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; type DaemonConnectionMetadata = z$1.infer; type DaemonAuthenticateRequestParams = z$1.infer; type DaemonAuthenticateRequest = z$1.infer; type DaemonAuthenticateResult = z$1.infer; type DaemonAuthenticateResponse = z$1.infer; type DaemonLogoutRequestParams = z$1.infer; type DaemonLogoutRequest = z$1.infer; type DaemonLogoutResult = z$1.infer; type DaemonLogoutResponse = z$1.infer; type DaemonConnectionStatusNotificationParams = z$1.infer; type DaemonConnectionStatusNotification = z$1.infer; declare const McpOAuthConfigSchema: z$1.ZodObject<{ scopes: z$1.ZodOptional>; clientId: z$1.ZodOptional; clientSecret: z$1.ZodOptional>; callbackPort: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }>; declare const McpHttpServerConfigSchema: z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; url: z$1.ZodString; headers: z$1.ZodOptional>; oauth: z$1.ZodOptional>; clientId: z$1.ZodOptional; clientSecret: z$1.ZodOptional>; callbackPort: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }>>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }, { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }>; declare const McpServerConfigSchema: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodDefault>>; command: z$1.ZodString; args: z$1.ZodArray; env: z$1.ZodOptional>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; }, { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; url: z$1.ZodString; headers: z$1.ZodOptional>; oauth: z$1.ZodOptional>; clientId: z$1.ZodOptional; clientSecret: z$1.ZodOptional>; callbackPort: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }>>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }, { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; url: z$1.ZodString; headers: z$1.ZodOptional>; oauth: z$1.ZodOptional>; clientId: z$1.ZodOptional; clientSecret: z$1.ZodOptional>; callbackPort: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }>>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }, { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }>]>; declare const McpServerInfoSchema: z$1.ZodObject<{ name: z$1.ZodString; config: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodDefault>>; command: z$1.ZodString; args: z$1.ZodArray; env: z$1.ZodOptional>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; }, { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; url: z$1.ZodString; headers: z$1.ZodOptional>; oauth: z$1.ZodOptional>; clientId: z$1.ZodOptional; clientSecret: z$1.ZodOptional>; callbackPort: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }>>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }, { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; url: z$1.ZodString; headers: z$1.ZodOptional>; oauth: z$1.ZodOptional>; clientId: z$1.ZodOptional; clientSecret: z$1.ZodOptional>; callbackPort: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }>>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }, { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }>]>; source: z$1.ZodNativeEnum; status: z$1.ZodOptional>; error: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { name: string; source: McpConfigSource; config: { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; } | { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }; error?: string | undefined; status?: McpServerStatus | undefined; }, { name: string; source: McpConfigSource; config: { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; } | { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }; error?: string | undefined; status?: McpServerStatus | undefined; }>; declare const McpSuccessResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>; declare const DaemonGetMcpConfigRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; }, "strip", z$1.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_MCP_CONFIG; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_MCP_CONFIG; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonGetMcpConfigResultSchema: z$1.ZodObject<{ servers: z$1.ZodArray>>; command: z$1.ZodString; args: z$1.ZodArray; env: z$1.ZodOptional>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; }, { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; url: z$1.ZodString; headers: z$1.ZodOptional>; oauth: z$1.ZodOptional>; clientId: z$1.ZodOptional; clientSecret: z$1.ZodOptional>; callbackPort: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }>>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }, { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; url: z$1.ZodString; headers: z$1.ZodOptional>; oauth: z$1.ZodOptional>; clientId: z$1.ZodOptional; clientSecret: z$1.ZodOptional>; callbackPort: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }>>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }, { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }>]>; source: z$1.ZodNativeEnum; status: z$1.ZodOptional>; error: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { name: string; source: McpConfigSource; config: { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; } | { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }; error?: string | undefined; status?: McpServerStatus | undefined; }, { name: string; source: McpConfigSource; config: { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; } | { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }; error?: string | undefined; status?: McpServerStatus | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { servers: { name: string; source: McpConfigSource; config: { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; } | { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }; error?: string | undefined; status?: McpServerStatus | undefined; }[]; }, { servers: { name: string; source: McpConfigSource; config: { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; } | { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }; error?: string | undefined; status?: McpServerStatus | undefined; }[]; }>; declare const DaemonUpdateMcpConfigRequestParamsSchema: z$1.ZodObject<{ action: z$1.ZodEnum<["add", "remove", "enable", "disable"]>; serverNames: z$1.ZodArray; serverConfig: z$1.ZodOptional>>; command: z$1.ZodString; args: z$1.ZodArray; env: z$1.ZodOptional>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; }, { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; url: z$1.ZodString; headers: z$1.ZodOptional>; oauth: z$1.ZodOptional>; clientId: z$1.ZodOptional; clientSecret: z$1.ZodOptional>; callbackPort: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }>>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }, { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; url: z$1.ZodString; headers: z$1.ZodOptional>; oauth: z$1.ZodOptional>; clientId: z$1.ZodOptional; clientSecret: z$1.ZodOptional>; callbackPort: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }>>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }, { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }>]>>; }, "strip", z$1.ZodTypeAny, { action: "add" | "remove" | "enable" | "disable"; serverNames: string[]; serverConfig?: { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; } | { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | undefined; }, { action: "add" | "remove" | "enable" | "disable"; serverNames: string[]; serverConfig?: { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; } | { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | undefined; }>; declare const DaemonUpdateMcpConfigRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ action: z$1.ZodEnum<["add", "remove", "enable", "disable"]>; serverNames: z$1.ZodArray; serverConfig: z$1.ZodOptional>>; command: z$1.ZodString; args: z$1.ZodArray; env: z$1.ZodOptional>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; }, { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; url: z$1.ZodString; headers: z$1.ZodOptional>; oauth: z$1.ZodOptional>; clientId: z$1.ZodOptional; clientSecret: z$1.ZodOptional>; callbackPort: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }>>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }, { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; url: z$1.ZodString; headers: z$1.ZodOptional>; oauth: z$1.ZodOptional>; clientId: z$1.ZodOptional; clientSecret: z$1.ZodOptional>; callbackPort: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }>>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }, { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }>]>>; }, "strip", z$1.ZodTypeAny, { action: "add" | "remove" | "enable" | "disable"; serverNames: string[]; serverConfig?: { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; } | { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | undefined; }, { action: "add" | "remove" | "enable" | "disable"; serverNames: string[]; serverConfig?: { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; } | { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { action: "add" | "remove" | "enable" | "disable"; serverNames: string[]; serverConfig?: { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; } | { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_MCP_CONFIG; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { action: "add" | "remove" | "enable" | "disable"; serverNames: string[]; serverConfig?: { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; } | { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_MCP_CONFIG; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonUpdateMcpConfigResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; servers: z$1.ZodArray>>; command: z$1.ZodString; args: z$1.ZodArray; env: z$1.ZodOptional>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; }, { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; url: z$1.ZodString; headers: z$1.ZodOptional>; oauth: z$1.ZodOptional>; clientId: z$1.ZodOptional; clientSecret: z$1.ZodOptional>; callbackPort: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }>>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }, { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; url: z$1.ZodString; headers: z$1.ZodOptional>; oauth: z$1.ZodOptional>; clientId: z$1.ZodOptional; clientSecret: z$1.ZodOptional>; callbackPort: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }>>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }, { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }>]>; source: z$1.ZodNativeEnum; status: z$1.ZodOptional>; error: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { name: string; source: McpConfigSource; config: { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; } | { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }; error?: string | undefined; status?: McpServerStatus | undefined; }, { name: string; source: McpConfigSource; config: { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; } | { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }; error?: string | undefined; status?: McpServerStatus | undefined; }>, "many">; error: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { success: boolean; servers: { name: string; source: McpConfigSource; config: { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; } | { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }; error?: string | undefined; status?: McpServerStatus | undefined; }[]; error?: string | undefined; }, { success: boolean; servers: { name: string; source: McpConfigSource; config: { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; } | { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }; error?: string | undefined; status?: McpServerStatus | undefined; }[]; error?: string | undefined; }>; declare const DaemonToggleMcpServerRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ serverName: z$1.ZodString; } & { enabled: z$1.ZodBoolean; settingsLevel: z$1.ZodLiteral; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { serverName: string; enabled: boolean; sessionId: string; settingsLevel: SettingsLevel.User; }, { serverName: string; enabled: boolean; sessionId: string; settingsLevel: SettingsLevel.User; }>; }, "strip", z$1.ZodTypeAny, { params: { serverName: string; enabled: boolean; sessionId: string; settingsLevel: SettingsLevel.User; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.TOGGLE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; enabled: boolean; sessionId: string; settingsLevel: SettingsLevel.User; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.TOGGLE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonAuthenticateMcpServerRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ serverName: z$1.ZodString; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { serverName: string; sessionId: string; }, { serverName: string; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { serverName: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.AUTHENTICATE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.AUTHENTICATE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonCancelMcpAuthRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ serverName: z$1.ZodString; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { serverName: string; sessionId: string; }, { serverName: string; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { serverName: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CANCEL_MCP_AUTH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CANCEL_MCP_AUTH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonClearMcpAuthRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ serverName: z$1.ZodString; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { serverName: string; sessionId: string; }, { serverName: string; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { serverName: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CLEAR_MCP_AUTH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CLEAR_MCP_AUTH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonAddMcpServerRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ name: z$1.ZodString; type: z$1.ZodEnum<["stdio", "http", "sse"]>; } & { url: z$1.ZodOptional; } & { headers: z$1.ZodOptional>; } & { command: z$1.ZodOptional; args: z$1.ZodOptional>; } & { env: z$1.ZodOptional>; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: "stdio" | "http" | "sse"; name: string; sessionId: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }, { type: "stdio" | "http" | "sse"; name: string; sessionId: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { type: "stdio" | "http" | "sse"; name: string; sessionId: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.ADD_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { type: "stdio" | "http" | "sse"; name: string; sessionId: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.ADD_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonRemoveMcpServerRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ serverName: z$1.ZodString; } & { settingsLevel: z$1.ZodLiteral; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { serverName: string; sessionId: string; settingsLevel: SettingsLevel.User; }, { serverName: string; sessionId: string; settingsLevel: SettingsLevel.User; }>; }, "strip", z$1.ZodTypeAny, { params: { serverName: string; sessionId: string; settingsLevel: SettingsLevel.User; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.REMOVE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; sessionId: string; settingsLevel: SettingsLevel.User; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.REMOVE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonListMcpRegistryRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_MCP_REGISTRY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_MCP_REGISTRY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonMcpRegistryServerSchema: z$1.ZodObject<{ name: z$1.ZodString; description: z$1.ZodString; type: z$1.ZodEnum<["stdio", "http", "sse"]>; } & { url: z$1.ZodOptional; } & { command: z$1.ZodOptional; args: z$1.ZodOptional>; } & { note: z$1.ZodOptional; logoUrl: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }, { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }>; declare const DaemonListMcpRegistryResultSchema: z$1.ZodObject<{ servers: z$1.ZodArray; } & { url: z$1.ZodOptional; } & { command: z$1.ZodOptional; args: z$1.ZodOptional>; } & { note: z$1.ZodOptional; logoUrl: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }, { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { servers: { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }[]; }, { servers: { type: "stdio" | "http" | "sse"; name: string; description: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; note?: string | undefined; logoUrl?: string | undefined; }[]; }>; declare const DaemonListMcpToolsRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_MCP_TOOLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_MCP_TOOLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonMcpToolInfoSchema: z$1.ZodObject<{ serverName: z$1.ZodString; name: z$1.ZodString; description: z$1.ZodOptional; isEnabled: z$1.ZodBoolean; isReadOnly: z$1.ZodOptional; inputSchema: z$1.ZodOptional; properties: z$1.ZodOptional>; required: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; }, { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; }>>; }, "strip", z$1.ZodTypeAny, { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }, { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }>; declare const DaemonListMcpToolsResultSchema: z$1.ZodObject<{ tools: z$1.ZodArray; isEnabled: z$1.ZodBoolean; isReadOnly: z$1.ZodOptional; inputSchema: z$1.ZodOptional; properties: z$1.ZodOptional>; required: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; }, { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; }>>; }, "strip", z$1.ZodTypeAny, { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }, { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { tools: { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }[]; }, { tools: { name: string; serverName: string; isEnabled: boolean; description?: string | undefined; isReadOnly?: boolean | undefined; inputSchema?: { type?: string | undefined; properties?: Record | undefined; required?: string[] | undefined; } | undefined; }[]; }>; declare const DaemonToggleMcpToolRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ serverName: z$1.ZodString; } & { toolName: z$1.ZodString; enabled: z$1.ZodBoolean; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { serverName: string; enabled: boolean; sessionId: string; toolName: string; }, { serverName: string; enabled: boolean; sessionId: string; toolName: string; }>; }, "strip", z$1.ZodTypeAny, { params: { serverName: string; enabled: boolean; sessionId: string; toolName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.TOGGLE_MCP_TOOL; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; enabled: boolean; sessionId: string; toolName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.TOGGLE_MCP_TOOL; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonListMcpServersRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_MCP_SERVERS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_MCP_SERVERS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonListMcpServersResultSchema: z$1.ZodObject<{ servers: z$1.ZodArray; source: z$1.ZodNativeEnum; isManaged: z$1.ZodBoolean; error: z$1.ZodOptional; toolCount: z$1.ZodOptional; serverType: z$1.ZodNativeEnum; hasAuthTokens: z$1.ZodOptional; requiresAuth: z$1.ZodOptional; pendingAuthUrl: z$1.ZodOptional; pendingAuthMessage: z$1.ZodOptional; pendingAuthState: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }>, "many">; summary: z$1.ZodObject<{ total: z$1.ZodNumber; connected: z$1.ZodNumber; connecting: z$1.ZodNumber; failed: z$1.ZodNumber; disabled: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }, { summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }>; declare const DaemonSubmitMcpAuthCodeRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; serverName: z$1.ZodString; code: z$1.ZodString; state: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { code: string; serverName: string; sessionId: string; state: string; }, { code: string; serverName: string; sessionId: string; state: string; }>; }, "strip", z$1.ZodTypeAny, { params: { code: string; serverName: string; sessionId: string; state: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SUBMIT_MCP_AUTH_CODE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { code: string; serverName: string; sessionId: string; state: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SUBMIT_MCP_AUTH_CODE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonListAutomationsRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { basePath?: string | undefined; }, { basePath?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { basePath?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_AUTOMATIONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { basePath?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_AUTOMATIONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const AutomationEntrySchema: z$1.ZodObject<{ /** Directory name slug (e.g. "health-check"). */ id: z$1.ZodString; /** Stable UUID for backend sync. */ uuid: z$1.ZodOptional; name: z$1.ZodString; description: z$1.ZodOptional; status: z$1.ZodString; schedule: z$1.ZodOptional; model: z$1.ZodOptional; tags: z$1.ZodOptional>; nextRunAt: z$1.ZodOptional; lastRunAt: z$1.ZodOptional; isValid: z$1.ZodBoolean; path: z$1.ZodString; privacyLevel: z$1.ZodOptional; createdBy: z$1.ZodOptional; avatarUrl: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { name: string; email?: string | undefined; avatarUrl?: string | undefined; }, { name: string; email?: string | undefined; avatarUrl?: string | undefined; }>>; forkedFrom: z$1.ZodOptional; /** Present when the automation targets a remote computer. */ computerId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { status: string; path: string; id: string; name: string; isValid: boolean; description?: string | undefined; tags?: string[] | undefined; computerId?: string | undefined; model?: string | undefined; nextRunAt?: string | undefined; schedule?: string | undefined; privacyLevel?: string | undefined; createdBy?: { name: string; email?: string | undefined; avatarUrl?: string | undefined; } | undefined; forkedFrom?: string | undefined; uuid?: string | undefined; lastRunAt?: string | undefined; }, { status: string; path: string; id: string; name: string; isValid: boolean; description?: string | undefined; tags?: string[] | undefined; computerId?: string | undefined; model?: string | undefined; nextRunAt?: string | undefined; schedule?: string | undefined; privacyLevel?: string | undefined; createdBy?: { name: string; email?: string | undefined; avatarUrl?: string | undefined; } | undefined; forkedFrom?: string | undefined; uuid?: string | undefined; lastRunAt?: string | undefined; }>; declare const DaemonListAutomationsResultSchema: z$1.ZodObject<{ automations: z$1.ZodArray; name: z$1.ZodString; description: z$1.ZodOptional; status: z$1.ZodString; schedule: z$1.ZodOptional; model: z$1.ZodOptional; tags: z$1.ZodOptional>; nextRunAt: z$1.ZodOptional; lastRunAt: z$1.ZodOptional; isValid: z$1.ZodBoolean; path: z$1.ZodString; privacyLevel: z$1.ZodOptional; createdBy: z$1.ZodOptional; avatarUrl: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { name: string; email?: string | undefined; avatarUrl?: string | undefined; }, { name: string; email?: string | undefined; avatarUrl?: string | undefined; }>>; forkedFrom: z$1.ZodOptional; /** Present when the automation targets a remote computer. */ computerId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { status: string; path: string; id: string; name: string; isValid: boolean; description?: string | undefined; tags?: string[] | undefined; computerId?: string | undefined; model?: string | undefined; nextRunAt?: string | undefined; schedule?: string | undefined; privacyLevel?: string | undefined; createdBy?: { name: string; email?: string | undefined; avatarUrl?: string | undefined; } | undefined; forkedFrom?: string | undefined; uuid?: string | undefined; lastRunAt?: string | undefined; }, { status: string; path: string; id: string; name: string; isValid: boolean; description?: string | undefined; tags?: string[] | undefined; computerId?: string | undefined; model?: string | undefined; nextRunAt?: string | undefined; schedule?: string | undefined; privacyLevel?: string | undefined; createdBy?: { name: string; email?: string | undefined; avatarUrl?: string | undefined; } | undefined; forkedFrom?: string | undefined; uuid?: string | undefined; lastRunAt?: string | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { automations: { status: string; path: string; id: string; name: string; isValid: boolean; description?: string | undefined; tags?: string[] | undefined; computerId?: string | undefined; model?: string | undefined; nextRunAt?: string | undefined; schedule?: string | undefined; privacyLevel?: string | undefined; createdBy?: { name: string; email?: string | undefined; avatarUrl?: string | undefined; } | undefined; forkedFrom?: string | undefined; uuid?: string | undefined; lastRunAt?: string | undefined; }[]; }, { automations: { status: string; path: string; id: string; name: string; isValid: boolean; description?: string | undefined; tags?: string[] | undefined; computerId?: string | undefined; model?: string | undefined; nextRunAt?: string | undefined; schedule?: string | undefined; privacyLevel?: string | undefined; createdBy?: { name: string; email?: string | undefined; avatarUrl?: string | undefined; } | undefined; forkedFrom?: string | undefined; uuid?: string | undefined; lastRunAt?: string | undefined; }[]; }>; declare const DaemonRunAutomationRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; /** Directory name of the automation (e.g. "health-check"). Preferred over automationId. */ automationDirName: z$1.ZodOptional; basePath: z$1.ZodOptional; /** When set, fetches the automation from the backend API instead of local filesystem. */ computerId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; computerId?: string | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; computerId?: string | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; computerId?: string | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RUN_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; computerId?: string | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RUN_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonRunAutomationResultSchema: z$1.ZodObject<{ prompt: z$1.ZodString; automationName: z$1.ZodString; /** UUID from HEARTBEAT.md frontmatter (falls back to directory name if no UUID) */ automationId: z$1.ZodString; cwd: z$1.ZodString; model: z$1.ZodOptional; /** Present when the automation targets a remote computer. */ computerId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { cwd: string; automationId: string; prompt: string; automationName: string; computerId?: string | undefined; model?: string | undefined; }, { cwd: string; automationId: string; prompt: string; automationName: string; computerId?: string | undefined; model?: string | undefined; }>; declare const DaemonPauseAutomationRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.PAUSE_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.PAUSE_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonPauseAutomationResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; automationId: z$1.ZodString; status: z$1.ZodString; error: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { success: boolean; status: string; automationId: string; error?: string | undefined; }, { success: boolean; status: string; automationId: string; error?: string | undefined; }>; declare const DaemonResumeAutomationRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RESUME_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RESUME_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonResumeAutomationResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; automationId: z$1.ZodString; status: z$1.ZodString; error: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { success: boolean; status: string; automationId: string; error?: string | undefined; }, { success: boolean; status: string; automationId: string; error?: string | undefined; }>; declare const DaemonGetAutomationHistoryRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; limit: z$1.ZodOptional; offset: z$1.ZodOptional; basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; limit?: number | undefined; offset?: number | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; limit?: number | undefined; offset?: number | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; limit?: number | undefined; offset?: number | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_AUTOMATION_HISTORY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; limit?: number | undefined; offset?: number | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_AUTOMATION_HISTORY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonGetAutomationHistoryResultSchema: z$1.ZodObject<{ automationId: z$1.ZodString; runs: z$1.ZodArray; durationMs: z$1.ZodOptional; errorMessage: z$1.ZodOptional; isRetry: z$1.ZodOptional; originalRunId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { status: string; startedAt: string; automationId: string; runId: string; completedAt?: string | undefined; durationMs?: number | undefined; errorMessage?: string | undefined; isRetry?: boolean | undefined; originalRunId?: string | undefined; }, { status: string; startedAt: string; automationId: string; runId: string; completedAt?: string | undefined; durationMs?: number | undefined; errorMessage?: string | undefined; isRetry?: boolean | undefined; originalRunId?: string | undefined; }>, "many">; totalCount: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { automationId: string; runs: { status: string; startedAt: string; automationId: string; runId: string; completedAt?: string | undefined; durationMs?: number | undefined; errorMessage?: string | undefined; isRetry?: boolean | undefined; originalRunId?: string | undefined; }[]; totalCount: number; }, { automationId: string; runs: { status: string; startedAt: string; automationId: string; runId: string; completedAt?: string | undefined; durationMs?: number | undefined; errorMessage?: string | undefined; isRetry?: boolean | undefined; originalRunId?: string | undefined; }[]; totalCount: number; }>; declare const DaemonGetAutomationVisualRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; basePath: z$1.ZodOptional; sessionId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; sessionId?: string | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; sessionId?: string | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; sessionId?: string | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_AUTOMATION_VISUAL; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; sessionId?: string | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_AUTOMATION_VISUAL; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonGetAutomationVisualResultSchema: z$1.ZodObject<{ automationId: z$1.ZodString; exists: z$1.ZodBoolean; content: z$1.ZodOptional; isStale: z$1.ZodOptional; s3Url: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; exists: boolean; content?: string | undefined; isStale?: boolean | undefined; s3Url?: string | undefined; }, { automationId: string; exists: boolean; content?: string | undefined; isStale?: boolean | undefined; s3Url?: string | undefined; }>; declare const DaemonCreateAutomationRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ id: z$1.ZodString; name: z$1.ZodString; description: z$1.ZodOptional; schedule: z$1.ZodString; basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; name: string; schedule: string; description?: string | undefined; basePath?: string | undefined; }, { id: string; name: string; schedule: string; description?: string | undefined; basePath?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { id: string; name: string; schedule: string; description?: string | undefined; basePath?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CREATE_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { id: string; name: string; schedule: string; description?: string | undefined; basePath?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CREATE_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonCreateAutomationResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; automationId: z$1.ZodOptional; error: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { success: boolean; error?: string | undefined; automationId?: string | undefined; }, { success: boolean; error?: string | undefined; automationId?: string | undefined; }>; declare const DaemonUpdateAutomationModelRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; model: z$1.ZodNullable; basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; model: string | null; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; model: string | null; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; model: string | null; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_AUTOMATION_MODEL; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; model: string | null; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_AUTOMATION_MODEL; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonUpdateAutomationModelResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; error: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { success: boolean; error?: string | undefined; }, { success: boolean; error?: string | undefined; }>; declare const DaemonUpdateAutomationPrivacyRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; privacyLevel: z$1.ZodNativeEnum; createdBy: z$1.ZodOptional; avatarUrl: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { name: string; email?: string | undefined; avatarUrl?: string | undefined; }, { name: string; email?: string | undefined; avatarUrl?: string | undefined; }>>; basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; privacyLevel: AutomationPrivacyLevel; createdBy?: { name: string; email?: string | undefined; avatarUrl?: string | undefined; } | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; privacyLevel: AutomationPrivacyLevel; createdBy?: { name: string; email?: string | undefined; avatarUrl?: string | undefined; } | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; privacyLevel: AutomationPrivacyLevel; createdBy?: { name: string; email?: string | undefined; avatarUrl?: string | undefined; } | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_AUTOMATION_PRIVACY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; privacyLevel: AutomationPrivacyLevel; createdBy?: { name: string; email?: string | undefined; avatarUrl?: string | undefined; } | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_AUTOMATION_PRIVACY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonUpdateAutomationPrivacyResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; error: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { success: boolean; error?: string | undefined; }, { success: boolean; error?: string | undefined; }>; declare const DaemonRenameAutomationRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; newName: z$1.ZodString; basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; newName: string; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; newName: string; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; newName: string; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RENAME_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; newName: string; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RENAME_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonRenameAutomationResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; error: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { success: boolean; error?: string | undefined; }, { success: boolean; error?: string | undefined; }>; declare const DaemonDeleteAutomationRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.DELETE_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.DELETE_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonDeleteAutomationResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; error: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { success: boolean; error?: string | undefined; }, { success: boolean; error?: string | undefined; }>; declare const DaemonForkAutomationRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; name: z$1.ZodString; description: z$1.ZodOptional; schedule: z$1.ZodString; tags: z$1.ZodOptional>; model: z$1.ZodOptional; prompt: z$1.ZodString; forkedFrom: z$1.ZodString; localDirName: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { name: string; automationId: string; schedule: string; forkedFrom: string; prompt: string; localDirName: string; description?: string | undefined; tags?: string[] | undefined; model?: string | undefined; }, { name: string; automationId: string; schedule: string; forkedFrom: string; prompt: string; localDirName: string; description?: string | undefined; tags?: string[] | undefined; model?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { name: string; automationId: string; schedule: string; forkedFrom: string; prompt: string; localDirName: string; description?: string | undefined; tags?: string[] | undefined; model?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.FORK_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { name: string; automationId: string; schedule: string; forkedFrom: string; prompt: string; localDirName: string; description?: string | undefined; tags?: string[] | undefined; model?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.FORK_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonForkAutomationResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; automationId: z$1.ZodOptional; error: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { success: boolean; error?: string | undefined; automationId?: string | undefined; }, { success: boolean; error?: string | undefined; automationId?: string | undefined; }>; declare const CronStatusSchema: z.ZodEnum<["active", "held", "paused", "running", "error", "expired", "cancelled"]>; declare const CronKindSchema: z.ZodLiteral<"session_prompt">; declare const CronScopeSchema: z.ZodObject<{ type: z.ZodLiteral<"session">; sessionId: z.ZodString; sessionCwd: z.ZodString; storageDir: z.ZodString; }, "strip", z.ZodTypeAny, { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }, { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }>; declare const CronCreateScopeSchema: z.ZodObject<{ type: z.ZodLiteral<"session">; sessionId: z.ZodString; sessionCwd: z.ZodString; }, "strip", z.ZodTypeAny, { type: "session"; sessionId: string; sessionCwd: string; }, { type: "session"; sessionId: string; sessionCwd: string; }>; declare const CronPayloadSchema: z.ZodObject<{ type: z.ZodLiteral<"prompt">; prompt: z.ZodString; target: z.ZodObject<{ type: z.ZodLiteral<"same_session">; }, "strip", z.ZodTypeAny, { type: "same_session"; }, { type: "same_session"; }>; }, "strip", z.ZodTypeAny, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }>; declare const CronRecordSchema: z.ZodObject<{ version: z.ZodLiteral<1>; id: z.ZodString; kind: z.ZodLiteral<"session_prompt">; status: z.ZodEnum<["active", "held", "paused", "running", "error", "expired", "cancelled"]>; source: z.ZodEnum<["loop_command", "cron_tool"]>; scope: z.ZodObject<{ type: z.ZodLiteral<"session">; sessionId: z.ZodString; sessionCwd: z.ZodString; storageDir: z.ZodString; }, "strip", z.ZodTypeAny, { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }, { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }>; schedule: z.ZodObject<{ expression: z.ZodString; recurring: z.ZodBoolean; nextRunAt: z.ZodOptional; firstFireGuardUntil: z.ZodOptional; timezone: z.ZodLiteral<"UTC">; }, "strip", z.ZodTypeAny, { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }, { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }>; runPolicy: z.ZodObject<{ whenSessionInactive: z.ZodLiteral<"hold">; }, "strip", z.ZodTypeAny, { whenSessionInactive: "hold"; }, { whenSessionInactive: "hold"; }>; payload: z.ZodObject<{ type: z.ZodLiteral<"prompt">; prompt: z.ZodString; target: z.ZodObject<{ type: z.ZodLiteral<"same_session">; }, "strip", z.ZodTypeAny, { type: "same_session"; }, { type: "same_session"; }>; }, "strip", z.ZodTypeAny, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }>; stats: z.ZodObject<{ fireCount: z.ZodNumber; lastRunAt: z.ZodOptional; lastCompletedAt: z.ZodOptional; lastError: z.ZodOptional; }, "strip", z.ZodTypeAny, { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }, { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }>; createdAt: z.ZodString; updatedAt: z.ZodString; heldAt: z.ZodOptional; holdReason: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }, { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }>; declare const DaemonListCronsRequestParamsSchema: z.ZodObject<{ sessionId: z.ZodOptional; includeInactive: z.ZodOptional; }, "strip", z.ZodTypeAny, { sessionId?: string | undefined; includeInactive?: boolean | undefined; }, { sessionId?: string | undefined; includeInactive?: boolean | undefined; }>; declare const DaemonListCronsRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ sessionId: z.ZodOptional; includeInactive: z.ZodOptional; }, "strip", z.ZodTypeAny, { sessionId?: string | undefined; includeInactive?: boolean | undefined; }, { sessionId?: string | undefined; includeInactive?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { params: { sessionId?: string | undefined; includeInactive?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_CRONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId?: string | undefined; includeInactive?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_CRONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonListCronsResultSchema: z.ZodObject<{ crons: z.ZodArray; id: z.ZodString; kind: z.ZodLiteral<"session_prompt">; status: z.ZodEnum<["active", "held", "paused", "running", "error", "expired", "cancelled"]>; source: z.ZodEnum<["loop_command", "cron_tool"]>; scope: z.ZodObject<{ type: z.ZodLiteral<"session">; sessionId: z.ZodString; sessionCwd: z.ZodString; storageDir: z.ZodString; }, "strip", z.ZodTypeAny, { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }, { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }>; schedule: z.ZodObject<{ expression: z.ZodString; recurring: z.ZodBoolean; nextRunAt: z.ZodOptional; firstFireGuardUntil: z.ZodOptional; timezone: z.ZodLiteral<"UTC">; }, "strip", z.ZodTypeAny, { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }, { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }>; runPolicy: z.ZodObject<{ whenSessionInactive: z.ZodLiteral<"hold">; }, "strip", z.ZodTypeAny, { whenSessionInactive: "hold"; }, { whenSessionInactive: "hold"; }>; payload: z.ZodObject<{ type: z.ZodLiteral<"prompt">; prompt: z.ZodString; target: z.ZodObject<{ type: z.ZodLiteral<"same_session">; }, "strip", z.ZodTypeAny, { type: "same_session"; }, { type: "same_session"; }>; }, "strip", z.ZodTypeAny, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }>; stats: z.ZodObject<{ fireCount: z.ZodNumber; lastRunAt: z.ZodOptional; lastCompletedAt: z.ZodOptional; lastError: z.ZodOptional; }, "strip", z.ZodTypeAny, { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }, { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }>; createdAt: z.ZodString; updatedAt: z.ZodString; heldAt: z.ZodOptional; holdReason: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }, { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }>, "many">; }, "strip", z.ZodTypeAny, { crons: { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }[]; }, { crons: { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }[]; }>; declare const DaemonCreateCronRequestParamsSchema: z.ZodObject<{ kind: z.ZodLiteral<"session_prompt">; source: z.ZodEnum<["loop_command", "cron_tool"]>; scope: z.ZodObject<{ type: z.ZodLiteral<"session">; sessionId: z.ZodString; sessionCwd: z.ZodString; }, "strip", z.ZodTypeAny, { type: "session"; sessionId: string; sessionCwd: string; }, { type: "session"; sessionId: string; sessionCwd: string; }>; schedule: z.ZodObject<{ expression: z.ZodString; recurring: z.ZodBoolean; }, "strip", z.ZodTypeAny, { expression: string; recurring: boolean; }, { expression: string; recurring: boolean; }>; runImmediately: z.ZodOptional; runPolicy: z.ZodOptional; }, "strip", z.ZodTypeAny, { whenSessionInactive: "hold"; }, { whenSessionInactive: "hold"; }>>; payload: z.ZodObject<{ type: z.ZodLiteral<"prompt">; prompt: z.ZodString; target: z.ZodObject<{ type: z.ZodLiteral<"same_session">; }, "strip", z.ZodTypeAny, { type: "same_session"; }, { type: "same_session"; }>; }, "strip", z.ZodTypeAny, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }>; }, "strip", z.ZodTypeAny, { source: "loop_command" | "cron_tool"; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; }; scope: { type: "session"; sessionId: string; sessionCwd: string; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; runPolicy?: { whenSessionInactive: "hold"; } | undefined; runImmediately?: boolean | undefined; }, { source: "loop_command" | "cron_tool"; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; }; scope: { type: "session"; sessionId: string; sessionCwd: string; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; runPolicy?: { whenSessionInactive: "hold"; } | undefined; runImmediately?: boolean | undefined; }>; declare const DaemonCreateCronRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ kind: z.ZodLiteral<"session_prompt">; source: z.ZodEnum<["loop_command", "cron_tool"]>; scope: z.ZodObject<{ type: z.ZodLiteral<"session">; sessionId: z.ZodString; sessionCwd: z.ZodString; }, "strip", z.ZodTypeAny, { type: "session"; sessionId: string; sessionCwd: string; }, { type: "session"; sessionId: string; sessionCwd: string; }>; schedule: z.ZodObject<{ expression: z.ZodString; recurring: z.ZodBoolean; }, "strip", z.ZodTypeAny, { expression: string; recurring: boolean; }, { expression: string; recurring: boolean; }>; runImmediately: z.ZodOptional; runPolicy: z.ZodOptional; }, "strip", z.ZodTypeAny, { whenSessionInactive: "hold"; }, { whenSessionInactive: "hold"; }>>; payload: z.ZodObject<{ type: z.ZodLiteral<"prompt">; prompt: z.ZodString; target: z.ZodObject<{ type: z.ZodLiteral<"same_session">; }, "strip", z.ZodTypeAny, { type: "same_session"; }, { type: "same_session"; }>; }, "strip", z.ZodTypeAny, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }>; }, "strip", z.ZodTypeAny, { source: "loop_command" | "cron_tool"; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; }; scope: { type: "session"; sessionId: string; sessionCwd: string; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; runPolicy?: { whenSessionInactive: "hold"; } | undefined; runImmediately?: boolean | undefined; }, { source: "loop_command" | "cron_tool"; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; }; scope: { type: "session"; sessionId: string; sessionCwd: string; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; runPolicy?: { whenSessionInactive: "hold"; } | undefined; runImmediately?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { params: { source: "loop_command" | "cron_tool"; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; }; scope: { type: "session"; sessionId: string; sessionCwd: string; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; runPolicy?: { whenSessionInactive: "hold"; } | undefined; runImmediately?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CREATE_CRON; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { source: "loop_command" | "cron_tool"; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; }; scope: { type: "session"; sessionId: string; sessionCwd: string; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; runPolicy?: { whenSessionInactive: "hold"; } | undefined; runImmediately?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CREATE_CRON; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonCreateCronResultSchema: z.ZodObject<{ cron: z.ZodObject<{ version: z.ZodLiteral<1>; id: z.ZodString; kind: z.ZodLiteral<"session_prompt">; status: z.ZodEnum<["active", "held", "paused", "running", "error", "expired", "cancelled"]>; source: z.ZodEnum<["loop_command", "cron_tool"]>; scope: z.ZodObject<{ type: z.ZodLiteral<"session">; sessionId: z.ZodString; sessionCwd: z.ZodString; storageDir: z.ZodString; }, "strip", z.ZodTypeAny, { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }, { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }>; schedule: z.ZodObject<{ expression: z.ZodString; recurring: z.ZodBoolean; nextRunAt: z.ZodOptional; firstFireGuardUntil: z.ZodOptional; timezone: z.ZodLiteral<"UTC">; }, "strip", z.ZodTypeAny, { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }, { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }>; runPolicy: z.ZodObject<{ whenSessionInactive: z.ZodLiteral<"hold">; }, "strip", z.ZodTypeAny, { whenSessionInactive: "hold"; }, { whenSessionInactive: "hold"; }>; payload: z.ZodObject<{ type: z.ZodLiteral<"prompt">; prompt: z.ZodString; target: z.ZodObject<{ type: z.ZodLiteral<"same_session">; }, "strip", z.ZodTypeAny, { type: "same_session"; }, { type: "same_session"; }>; }, "strip", z.ZodTypeAny, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }>; stats: z.ZodObject<{ fireCount: z.ZodNumber; lastRunAt: z.ZodOptional; lastCompletedAt: z.ZodOptional; lastError: z.ZodOptional; }, "strip", z.ZodTypeAny, { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }, { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }>; createdAt: z.ZodString; updatedAt: z.ZodString; heldAt: z.ZodOptional; holdReason: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }, { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }>; }, "strip", z.ZodTypeAny, { cron: { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }; }, { cron: { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }; }>; declare const DaemonDeleteCronRequestParamsSchema: z.ZodObject<{ cronId: z.ZodString; sessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { cronId: string; sessionId?: string | undefined; }, { cronId: string; sessionId?: string | undefined; }>; declare const DaemonDeleteCronRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ cronId: z.ZodString; sessionId: z.ZodOptional; }, "strip", z.ZodTypeAny, { cronId: string; sessionId?: string | undefined; }, { cronId: string; sessionId?: string | undefined; }>; }, "strip", z.ZodTypeAny, { params: { cronId: string; sessionId?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.DELETE_CRON; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { cronId: string; sessionId?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.DELETE_CRON; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonDeleteCronResultSchema: z.ZodObject<{ deleted: z.ZodBoolean; }, "strip", z.ZodTypeAny, { deleted: boolean; }, { deleted: boolean; }>; declare const DaemonUpdateCronRequestParamsSchema: z.ZodObject<{ cronId: z.ZodString; status: z.ZodOptional>; schedule: z.ZodOptional>; payload: z.ZodOptional; }, "strict", z.ZodTypeAny, { prompt?: string | undefined; }, { prompt?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { cronId: string; status?: "paused" | "active" | undefined; schedule?: { expression: string; recurring: boolean; } | undefined; payload?: { prompt?: string | undefined; } | undefined; }, { cronId: string; status?: "paused" | "active" | undefined; schedule?: { expression: string; recurring: boolean; } | undefined; payload?: { prompt?: string | undefined; } | undefined; }>; declare const DaemonUpdateCronRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ cronId: z.ZodString; status: z.ZodOptional>; schedule: z.ZodOptional>; payload: z.ZodOptional; }, "strict", z.ZodTypeAny, { prompt?: string | undefined; }, { prompt?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { cronId: string; status?: "paused" | "active" | undefined; schedule?: { expression: string; recurring: boolean; } | undefined; payload?: { prompt?: string | undefined; } | undefined; }, { cronId: string; status?: "paused" | "active" | undefined; schedule?: { expression: string; recurring: boolean; } | undefined; payload?: { prompt?: string | undefined; } | undefined; }>; }, "strip", z.ZodTypeAny, { params: { cronId: string; status?: "paused" | "active" | undefined; schedule?: { expression: string; recurring: boolean; } | undefined; payload?: { prompt?: string | undefined; } | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_CRON; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { cronId: string; status?: "paused" | "active" | undefined; schedule?: { expression: string; recurring: boolean; } | undefined; payload?: { prompt?: string | undefined; } | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_CRON; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonUpdateCronResultSchema: z.ZodObject<{ cron: z.ZodNullable; id: z.ZodString; kind: z.ZodLiteral<"session_prompt">; status: z.ZodEnum<["active", "held", "paused", "running", "error", "expired", "cancelled"]>; source: z.ZodEnum<["loop_command", "cron_tool"]>; scope: z.ZodObject<{ type: z.ZodLiteral<"session">; sessionId: z.ZodString; sessionCwd: z.ZodString; storageDir: z.ZodString; }, "strip", z.ZodTypeAny, { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }, { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }>; schedule: z.ZodObject<{ expression: z.ZodString; recurring: z.ZodBoolean; nextRunAt: z.ZodOptional; firstFireGuardUntil: z.ZodOptional; timezone: z.ZodLiteral<"UTC">; }, "strip", z.ZodTypeAny, { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }, { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }>; runPolicy: z.ZodObject<{ whenSessionInactive: z.ZodLiteral<"hold">; }, "strip", z.ZodTypeAny, { whenSessionInactive: "hold"; }, { whenSessionInactive: "hold"; }>; payload: z.ZodObject<{ type: z.ZodLiteral<"prompt">; prompt: z.ZodString; target: z.ZodObject<{ type: z.ZodLiteral<"same_session">; }, "strip", z.ZodTypeAny, { type: "same_session"; }, { type: "same_session"; }>; }, "strip", z.ZodTypeAny, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }>; stats: z.ZodObject<{ fireCount: z.ZodNumber; lastRunAt: z.ZodOptional; lastCompletedAt: z.ZodOptional; lastError: z.ZodOptional; }, "strip", z.ZodTypeAny, { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }, { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }>; createdAt: z.ZodString; updatedAt: z.ZodString; heldAt: z.ZodOptional; holdReason: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }, { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }>>; }, "strip", z.ZodTypeAny, { cron: { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; } | null; }, { cron: { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; } | null; }>; declare const DaemonHoldSessionCronsRequestParamsSchema: z.ZodObject<{ sessionId: z.ZodString; reason: z.ZodString; }, "strip", z.ZodTypeAny, { reason: string; sessionId: string; }, { reason: string; sessionId: string; }>; declare const DaemonHoldSessionCronsRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ sessionId: z.ZodString; reason: z.ZodString; }, "strip", z.ZodTypeAny, { reason: string; sessionId: string; }, { reason: string; sessionId: string; }>; }, "strip", z.ZodTypeAny, { params: { reason: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.HOLD_SESSION_CRONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { reason: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.HOLD_SESSION_CRONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonHoldSessionCronsResultSchema: z.ZodObject<{ heldCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { heldCount: number; }, { heldCount: number; }>; declare const DaemonResumeSessionCronsRequestParamsSchema: z.ZodObject<{ sessionId: z.ZodString; }, "strip", z.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; declare const DaemonResumeSessionCronsRequestSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"request">; id: z.ZodString; } & { method: z.ZodLiteral; params: z.ZodObject<{ sessionId: z.ZodString; }, "strip", z.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RESUME_SESSION_CRONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RESUME_SESSION_CRONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonResumeSessionCronsResultSchema: z.ZodObject<{ resumedCount: z.ZodNumber; }, "strip", z.ZodTypeAny, { resumedCount: number; }, { resumedCount: number; }>; declare const DaemonCronStateChangedNotificationParamsSchema: z.ZodObject<{ reason: z.ZodEnum<["created", "updated", "deleted"]>; cronIds: z.ZodArray; crons: z.ZodOptional; id: z.ZodString; kind: z.ZodLiteral<"session_prompt">; status: z.ZodEnum<["active", "held", "paused", "running", "error", "expired", "cancelled"]>; source: z.ZodEnum<["loop_command", "cron_tool"]>; scope: z.ZodObject<{ type: z.ZodLiteral<"session">; sessionId: z.ZodString; sessionCwd: z.ZodString; storageDir: z.ZodString; }, "strip", z.ZodTypeAny, { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }, { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }>; schedule: z.ZodObject<{ expression: z.ZodString; recurring: z.ZodBoolean; nextRunAt: z.ZodOptional; firstFireGuardUntil: z.ZodOptional; timezone: z.ZodLiteral<"UTC">; }, "strip", z.ZodTypeAny, { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }, { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }>; runPolicy: z.ZodObject<{ whenSessionInactive: z.ZodLiteral<"hold">; }, "strip", z.ZodTypeAny, { whenSessionInactive: "hold"; }, { whenSessionInactive: "hold"; }>; payload: z.ZodObject<{ type: z.ZodLiteral<"prompt">; prompt: z.ZodString; target: z.ZodObject<{ type: z.ZodLiteral<"same_session">; }, "strip", z.ZodTypeAny, { type: "same_session"; }, { type: "same_session"; }>; }, "strip", z.ZodTypeAny, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }>; stats: z.ZodObject<{ fireCount: z.ZodNumber; lastRunAt: z.ZodOptional; lastCompletedAt: z.ZodOptional; lastError: z.ZodOptional; }, "strip", z.ZodTypeAny, { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }, { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }>; createdAt: z.ZodString; updatedAt: z.ZodString; heldAt: z.ZodOptional; holdReason: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }, { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { reason: "updated" | "deleted" | "created"; cronIds: string[]; crons?: { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }[] | undefined; }, { reason: "updated" | "deleted" | "created"; cronIds: string[]; crons?: { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }[] | undefined; }>; declare const DaemonCronStateChangedNotificationSchema: z.ZodObject<{ jsonrpc: z.ZodLiteral<"2.0">; factoryApiVersion: z.ZodLiteral<"1.0.0">; factoryProtocolVersion: z.ZodOptional; _meta: z.ZodOptional; tracestate: z.ZodOptional; }, "strip", z.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z.ZodLiteral<"notification">; } & { method: z.ZodLiteral; params: z.ZodObject<{ reason: z.ZodEnum<["created", "updated", "deleted"]>; cronIds: z.ZodArray; crons: z.ZodOptional; id: z.ZodString; kind: z.ZodLiteral<"session_prompt">; status: z.ZodEnum<["active", "held", "paused", "running", "error", "expired", "cancelled"]>; source: z.ZodEnum<["loop_command", "cron_tool"]>; scope: z.ZodObject<{ type: z.ZodLiteral<"session">; sessionId: z.ZodString; sessionCwd: z.ZodString; storageDir: z.ZodString; }, "strip", z.ZodTypeAny, { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }, { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }>; schedule: z.ZodObject<{ expression: z.ZodString; recurring: z.ZodBoolean; nextRunAt: z.ZodOptional; firstFireGuardUntil: z.ZodOptional; timezone: z.ZodLiteral<"UTC">; }, "strip", z.ZodTypeAny, { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }, { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }>; runPolicy: z.ZodObject<{ whenSessionInactive: z.ZodLiteral<"hold">; }, "strip", z.ZodTypeAny, { whenSessionInactive: "hold"; }, { whenSessionInactive: "hold"; }>; payload: z.ZodObject<{ type: z.ZodLiteral<"prompt">; prompt: z.ZodString; target: z.ZodObject<{ type: z.ZodLiteral<"same_session">; }, "strip", z.ZodTypeAny, { type: "same_session"; }, { type: "same_session"; }>; }, "strip", z.ZodTypeAny, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }>; stats: z.ZodObject<{ fireCount: z.ZodNumber; lastRunAt: z.ZodOptional; lastCompletedAt: z.ZodOptional; lastError: z.ZodOptional; }, "strip", z.ZodTypeAny, { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }, { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }>; createdAt: z.ZodString; updatedAt: z.ZodString; heldAt: z.ZodOptional; holdReason: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }, { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { reason: "updated" | "deleted" | "created"; cronIds: string[]; crons?: { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }[] | undefined; }, { reason: "updated" | "deleted" | "created"; cronIds: string[]; crons?: { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }[] | undefined; }>; }, "strip", z.ZodTypeAny, { params: { reason: "updated" | "deleted" | "created"; cronIds: string[]; crons?: { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }[] | undefined; }; type: "notification"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; method: DaemonCronEvent; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { reason: "updated" | "deleted" | "created"; cronIds: string[]; crons?: { status: "error" | "cancelled" | "running" | "paused" | "active" | "held" | "expired"; id: string; source: "loop_command" | "cron_tool"; createdAt: string; updatedAt: string; version: 1; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; timezone: "UTC"; nextRunAt?: string | undefined; firstFireGuardUntil?: string | undefined; }; scope: { type: "session"; sessionId: string; sessionCwd: string; storageDir: string; }; runPolicy: { whenSessionInactive: "hold"; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; stats: { fireCount: number; lastRunAt?: string | undefined; lastCompletedAt?: string | undefined; lastError?: string | undefined; }; heldAt?: string | undefined; holdReason?: string | undefined; }[] | undefined; }; type: "notification"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; method: DaemonCronEvent; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonListAvailablePluginsRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_AVAILABLE_PLUGINS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_AVAILABLE_PLUGINS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonListAvailablePluginsResultSchema: z$1.ZodObject<{ plugins: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { name: string; marketplace: string; description?: string | undefined; }, { name: string; marketplace: string; description?: string | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { plugins: { name: string; marketplace: string; description?: string | undefined; }[]; }, { plugins: { name: string; marketplace: string; description?: string | undefined; }[]; }>; declare const DaemonListInstalledPluginsRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; scope: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; scope?: string | undefined; }, { sessionId: string; scope?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; scope?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_INSTALLED_PLUGINS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; scope?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_INSTALLED_PLUGINS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonListInstalledPluginsResultSchema: z$1.ZodObject<{ plugins: z$1.ZodArray, "many">; }, "strip", z$1.ZodTypeAny, { plugins: { id: string; source: string; version: string; scope: string; installPath: string; installedAt: string; lastUpdated: string; }[]; }, { plugins: { id: string; source: string; version: string; scope: string; installPath: string; installedAt: string; lastUpdated: string; }[]; }>; declare const DaemonInstallPluginRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; marketplace: z$1.ZodString; pluginName: z$1.ZodString; scope: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; scope: string; marketplace: string; pluginName: string; }, { sessionId: string; scope: string; marketplace: string; pluginName: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; scope: string; marketplace: string; pluginName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.INSTALL_PLUGIN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; scope: string; marketplace: string; pluginName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.INSTALL_PLUGIN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonInstallPluginResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; pluginId: z$1.ZodOptional; error: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { success: boolean; error?: string | undefined; pluginId?: string | undefined; }, { success: boolean; error?: string | undefined; pluginId?: string | undefined; }>; declare const DaemonUninstallPluginRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; pluginId: z$1.ZodString; scope: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; scope: string; pluginId: string; }, { sessionId: string; scope: string; pluginId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; scope: string; pluginId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UNINSTALL_PLUGIN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; scope: string; pluginId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UNINSTALL_PLUGIN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonUninstallPluginResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; error: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { success: boolean; error?: string | undefined; }, { success: boolean; error?: string | undefined; }>; declare const DaemonUpdatePluginRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; pluginId: z$1.ZodOptional; scope: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; scope?: string | undefined; pluginId?: string | undefined; }, { sessionId: string; scope?: string | undefined; pluginId?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; scope?: string | undefined; pluginId?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_PLUGIN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; scope?: string | undefined; pluginId?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_PLUGIN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonUpdatePluginResultSchema: z$1.ZodObject<{ results: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { success: boolean; pluginId: string; error?: string | undefined; }, { success: boolean; pluginId: string; error?: string | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { results: { success: boolean; pluginId: string; error?: string | undefined; }[]; }, { results: { success: boolean; pluginId: string; error?: string | undefined; }[]; }>; declare const DaemonListMarketplacesRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_MARKETPLACES; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_MARKETPLACES; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const RedactedMarketplaceSourceSchema: z$1.ZodDiscriminatedUnion<"source", [z$1.ZodObject<{ source: z$1.ZodLiteral<"github">; repo: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { source: "github"; repo: string; }, { source: "github"; repo: string; }>, z$1.ZodObject<{ source: z$1.ZodLiteral<"url">; url: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { url: string; source: "url"; }, { url: string; source: "url"; }>, z$1.ZodObject<{ source: z$1.ZodLiteral<"local">; }, "strip", z$1.ZodTypeAny, { source: "local"; }, { source: "local"; }>, z$1.ZodObject<{ source: z$1.ZodLiteral<"git-subdir">; url: z$1.ZodString; path: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { path: string; url: string; source: "git-subdir"; }, { path: string; url: string; source: "git-subdir"; }>]>; declare const DaemonListMarketplacesResultSchema: z$1.ZodObject<{ marketplaces: z$1.ZodArray; repo: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { source: "github"; repo: string; }, { source: "github"; repo: string; }>, z$1.ZodObject<{ source: z$1.ZodLiteral<"url">; url: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { url: string; source: "url"; }, { url: string; source: "url"; }>, z$1.ZodObject<{ source: z$1.ZodLiteral<"local">; }, "strip", z$1.ZodTypeAny, { source: "local"; }, { source: "local"; }>, z$1.ZodObject<{ source: z$1.ZodLiteral<"git-subdir">; url: z$1.ZodString; path: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { path: string; url: string; source: "git-subdir"; }, { path: string; url: string; source: "git-subdir"; }>]>; pluginCount: z$1.ZodNumber; autoUpdate: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { name: string; source: { source: "github"; repo: string; } | { url: string; source: "url"; } | { source: "local"; } | { path: string; url: string; source: "git-subdir"; }; pluginCount: number; autoUpdate: boolean; }, { name: string; source: { source: "github"; repo: string; } | { url: string; source: "url"; } | { source: "local"; } | { path: string; url: string; source: "git-subdir"; }; pluginCount: number; autoUpdate: boolean; }>, "many">; }, "strip", z$1.ZodTypeAny, { marketplaces: { name: string; source: { source: "github"; repo: string; } | { url: string; source: "url"; } | { source: "local"; } | { path: string; url: string; source: "git-subdir"; }; pluginCount: number; autoUpdate: boolean; }[]; }, { marketplaces: { name: string; source: { source: "github"; repo: string; } | { url: string; source: "url"; } | { source: "local"; } | { path: string; url: string; source: "git-subdir"; }; pluginCount: number; autoUpdate: boolean; }[]; }>; declare const DaemonAddMarketplaceRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; source: z$1.ZodDiscriminatedUnion<"source", [z$1.ZodObject<{ source: z$1.ZodLiteral<"github">; repo: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { source: "github"; repo: string; }, { source: "github"; repo: string; }>, z$1.ZodObject<{ source: z$1.ZodLiteral<"url">; url: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { url: string; source: "url"; }, { url: string; source: "url"; }>, z$1.ZodObject<{ source: z$1.ZodLiteral<"local">; path: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { path: string; source: "local"; }, { path: string; source: "local"; }>, z$1.ZodObject<{ source: z$1.ZodLiteral<"git-subdir">; url: z$1.ZodString; path: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { path: string; url: string; source: "git-subdir"; }, { path: string; url: string; source: "git-subdir"; }>]>; }, "strip", z$1.ZodTypeAny, { source: { source: "github"; repo: string; } | { url: string; source: "url"; } | { path: string; source: "local"; } | { path: string; url: string; source: "git-subdir"; }; sessionId: string; }, { source: { source: "github"; repo: string; } | { url: string; source: "url"; } | { path: string; source: "local"; } | { path: string; url: string; source: "git-subdir"; }; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { source: { source: "github"; repo: string; } | { url: string; source: "url"; } | { path: string; source: "local"; } | { path: string; url: string; source: "git-subdir"; }; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.ADD_MARKETPLACE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { source: { source: "github"; repo: string; } | { url: string; source: "url"; } | { path: string; source: "local"; } | { path: string; url: string; source: "git-subdir"; }; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.ADD_MARKETPLACE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonAddMarketplaceResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; name: z$1.ZodOptional; error: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { success: boolean; error?: string | undefined; name?: string | undefined; }, { success: boolean; error?: string | undefined; name?: string | undefined; }>; declare const DaemonRemoveMarketplaceRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; name: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { name: string; sessionId: string; }, { name: string; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { name: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.REMOVE_MARKETPLACE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { name: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.REMOVE_MARKETPLACE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonRemoveMarketplaceResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; error: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { success: boolean; error?: string | undefined; }, { success: boolean; error?: string | undefined; }>; declare const DaemonUpdateMarketplaceRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; name: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; name?: string | undefined; }, { sessionId: string; name?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; name?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_MARKETPLACE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; name?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_MARKETPLACE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonUpdateMarketplaceResultSchema: z$1.ZodObject<{ results: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { success: boolean; name: string; error?: string | undefined; }, { success: boolean; name: string; error?: string | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { results: { success: boolean; name: string; error?: string | undefined; }[]; }, { results: { success: boolean; name: string; error?: string | undefined; }[]; }>; declare const DaemonGetDefaultSettingsRequestParamsSchema: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; declare const DaemonSessionDefaultsManagementMapSchema: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; reasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; interactionMode: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; autonomyLevel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; autonomyMode: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; specModeModelId: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; specModeReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; specSaveDir: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionTokenLimit: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionTokenLimitPerModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionModelMode: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; runInWorktree: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; worktreeDirectory: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; subagent: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; lightReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; mediumModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; mediumReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; heavyModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; heavyReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; }, "strip", z$1.ZodTypeAny, { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; }, { lightModel?: unknown; lightReasoningEffort?: unknown; mediumModel?: unknown; mediumReasoningEffort?: unknown; heavyModel?: unknown; heavyReasoningEffort?: unknown; }>>>>; mission: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; orchestratorReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; workerModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; workerReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; validationWorkerModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; validationWorkerReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; skipScrutiny: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; skipUserTesting: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; }, "strip", z$1.ZodTypeAny, { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; }, { workerModel?: unknown; workerReasoningEffort?: unknown; validationWorkerModel?: unknown; validationWorkerReasoningEffort?: unknown; skipScrutiny?: unknown; skipUserTesting?: unknown; orchestratorModel?: unknown; orchestratorReasoningEffort?: unknown; }>>>>; }, "strip", z$1.ZodTypeAny, { modelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; reasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; interactionMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyLevel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeModelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mission?: { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; runInWorktree?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specSaveDir?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; worktreeDirectory?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimit?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimitPerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModelMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; subagent?: { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; }, { modelId?: unknown; reasoningEffort?: unknown; autonomyMode?: unknown; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: unknown; specModeReasoningEffort?: unknown; mission?: unknown; runInWorktree?: unknown; specSaveDir?: unknown; worktreeDirectory?: unknown; compactionTokenLimit?: unknown; compactionTokenLimitPerModel?: unknown; compactionModel?: unknown; compactionModelMode?: unknown; subagent?: unknown; }>>; declare const DaemonUpdateSessionDefaultsRequestParamsSchema: z$1.ZodObject<{ modelId: z$1.ZodOptional; reasoningEffort: z$1.ZodOptional>; interactionMode: z$1.ZodOptional>; autonomyLevel: z$1.ZodOptional>; specModeModelId: z$1.ZodNullable>; specModeReasoningEffort: z$1.ZodNullable>>; compactionTokenLimit: z$1.ZodOptional; compactionTokenLimitPerModel: z$1.ZodOptional>; compactionModel: z$1.ZodOptional, z$1.ZodEnum<[string, ...string[]]>, z$1.ZodString]>>; compactionModelMode: z$1.ZodOptional>; subagentModelSettings: z$1.ZodOptional>; lightReasoningEffort: z$1.ZodOptional>>; mediumModel: z$1.ZodOptional>; mediumReasoningEffort: z$1.ZodOptional>>; heavyModel: z$1.ZodOptional>; heavyReasoningEffort: z$1.ZodOptional>>; }, "strip", z$1.ZodTypeAny, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }>>; specSaveDir: z$1.ZodOptional>>; missionOrchestratorModel: z$1.ZodOptional>>; missionOrchestratorReasoningEffort: z$1.ZodOptional>>>; missionModelSettings: z$1.ZodOptional>; workerReasoningEffort: z$1.ZodOptional>>; validationWorkerModel: z$1.ZodOptional>; validationWorkerReasoningEffort: z$1.ZodOptional>>; skipScrutiny: z$1.ZodOptional>; skipUserTesting: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; runInWorktree: z$1.ZodOptional>>; worktreeDirectory: z$1.ZodOptional>>; }, "strip", z$1.ZodTypeAny, { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; runInWorktree?: boolean | null | undefined; specSaveDir?: string | null | undefined; missionOrchestratorModel?: string | null | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | null | undefined; missionModelSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | null | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; }, { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; runInWorktree?: boolean | null | undefined; specSaveDir?: string | null | undefined; missionOrchestratorModel?: string | null | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | null | undefined; missionModelSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | null | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; }>; declare const DaemonGetDefaultSettingsRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; }, "strip", z$1.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonSettingsMethod.GET_DEFAULT_SETTINGS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonSettingsMethod.GET_DEFAULT_SETTINGS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonUpdateSessionDefaultsRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ modelId: z$1.ZodOptional; reasoningEffort: z$1.ZodOptional>; interactionMode: z$1.ZodOptional>; autonomyLevel: z$1.ZodOptional>; specModeModelId: z$1.ZodNullable>; specModeReasoningEffort: z$1.ZodNullable>>; compactionTokenLimit: z$1.ZodOptional; compactionTokenLimitPerModel: z$1.ZodOptional>; compactionModel: z$1.ZodOptional, z$1.ZodEnum<[string, ...string[]]>, z$1.ZodString]>>; compactionModelMode: z$1.ZodOptional>; subagentModelSettings: z$1.ZodOptional>; lightReasoningEffort: z$1.ZodOptional>>; mediumModel: z$1.ZodOptional>; mediumReasoningEffort: z$1.ZodOptional>>; heavyModel: z$1.ZodOptional>; heavyReasoningEffort: z$1.ZodOptional>>; }, "strip", z$1.ZodTypeAny, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }>>; specSaveDir: z$1.ZodOptional>>; missionOrchestratorModel: z$1.ZodOptional>>; missionOrchestratorReasoningEffort: z$1.ZodOptional>>>; missionModelSettings: z$1.ZodOptional>; workerReasoningEffort: z$1.ZodOptional>>; validationWorkerModel: z$1.ZodOptional>; validationWorkerReasoningEffort: z$1.ZodOptional>>; skipScrutiny: z$1.ZodOptional>; skipUserTesting: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; runInWorktree: z$1.ZodOptional>>; worktreeDirectory: z$1.ZodOptional>>; }, "strip", z$1.ZodTypeAny, { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; runInWorktree?: boolean | null | undefined; specSaveDir?: string | null | undefined; missionOrchestratorModel?: string | null | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | null | undefined; missionModelSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | null | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; }, { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; runInWorktree?: boolean | null | undefined; specSaveDir?: string | null | undefined; missionOrchestratorModel?: string | null | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | null | undefined; missionModelSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | null | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; runInWorktree?: boolean | null | undefined; specSaveDir?: string | null | undefined; missionOrchestratorModel?: string | null | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | null | undefined; missionModelSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | null | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonSettingsMethod.UPDATE_SESSION_DEFAULTS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; runInWorktree?: boolean | null | undefined; specSaveDir?: string | null | undefined; missionOrchestratorModel?: string | null | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | null | undefined; missionModelSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | null | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonSettingsMethod.UPDATE_SESSION_DEFAULTS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonGetDefaultSettingsResultSchema: z$1.ZodObject<{ autonomyMode: z$1.ZodOptional>; interactionMode: z$1.ZodCatch>>; autonomyLevel: z$1.ZodCatch>>; maxAutonomyLevel: z$1.ZodCatch>>; modelId: z$1.ZodOptional; reasoningEffort: z$1.ZodOptional>; specSaveDir: z$1.ZodOptional; specModeModelId: z$1.ZodOptional; specModeReasoningEffort: z$1.ZodOptional>; compactionTokenLimit: z$1.ZodOptional; compactionTokenLimitPerModel: z$1.ZodOptional>; compactionModel: z$1.ZodOptional, z$1.ZodEnum<[string, ...string[]]>, z$1.ZodString]>>; compactionModelMode: z$1.ZodOptional>; runInWorktree: z$1.ZodOptional; worktreeDirectory: z$1.ZodOptional; management: z$1.ZodOptional>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; reasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; interactionMode: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; autonomyLevel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; autonomyMode: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; specModeModelId: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; specModeReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; specSaveDir: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionTokenLimit: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionTokenLimitPerModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionModelMode: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; runInWorktree: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; worktreeDirectory: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; subagent: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; lightReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; mediumModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; mediumReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; heavyModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; heavyReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; }, "strip", z$1.ZodTypeAny, { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; }, { lightModel?: unknown; lightReasoningEffort?: unknown; mediumModel?: unknown; mediumReasoningEffort?: unknown; heavyModel?: unknown; heavyReasoningEffort?: unknown; }>>>>; mission: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; orchestratorReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; workerModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; workerReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; validationWorkerModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; validationWorkerReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; skipScrutiny: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; skipUserTesting: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; }, "strip", z$1.ZodTypeAny, { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; }, { workerModel?: unknown; workerReasoningEffort?: unknown; validationWorkerModel?: unknown; validationWorkerReasoningEffort?: unknown; skipScrutiny?: unknown; skipUserTesting?: unknown; orchestratorModel?: unknown; orchestratorReasoningEffort?: unknown; }>>>>; }, "strip", z$1.ZodTypeAny, { modelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; reasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; interactionMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyLevel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeModelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mission?: { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; runInWorktree?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specSaveDir?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; worktreeDirectory?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimit?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimitPerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModelMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; subagent?: { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; }, { modelId?: unknown; reasoningEffort?: unknown; autonomyMode?: unknown; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: unknown; specModeReasoningEffort?: unknown; mission?: unknown; runInWorktree?: unknown; specSaveDir?: unknown; worktreeDirectory?: unknown; compactionTokenLimit?: unknown; compactionTokenLimitPerModel?: unknown; compactionModel?: unknown; compactionModelMode?: unknown; subagent?: unknown; }>>>; missionOrchestratorModel: z$1.ZodOptional; missionOrchestratorReasoningEffort: z$1.ZodOptional>; missionSettings: z$1.ZodOptional; workerReasoningEffort: z$1.ZodOptional>; validationWorkerModel: z$1.ZodOptional; validationWorkerReasoningEffort: z$1.ZodOptional>; skipScrutiny: z$1.ZodOptional; skipUserTesting: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; subagentModelSettings: z$1.ZodOptional; lightReasoningEffort: z$1.ZodOptional>; mediumModel: z$1.ZodOptional; mediumReasoningEffort: z$1.ZodOptional>; heavyModel: z$1.ZodOptional; heavyReasoningEffort: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }>>; availableModels: z$1.ZodOptional; supportedReasoningEfforts: z$1.ZodArray, "many">; defaultReasoningEffort: z$1.ZodNativeEnum; isCustom: z$1.ZodDefault; noImageSupport: z$1.ZodOptional; tier: z$1.ZodOptional>; tokenMultiplier: z$1.ZodOptional; promoLabel: z$1.ZodOptional; kind: z$1.ZodOptional>; variantBadge: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }>, "many">>; specSavePresets: z$1.ZodOptional; userFactoryDir: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { userFactoryDir: string; projectFactoryDir?: string | undefined; }, { userFactoryDir: string; projectFactoryDir?: string | undefined; }>>; resolutionChain: z$1.ZodCatch; action: z$1.ZodEnum<["set", "override", "skip", "fallback"]>; source: z$1.ZodObject<{ type: z$1.ZodEnum<["builtin-default", "dynamic-config", "org", "user", "project", "folder", "feature-flag", "localstorage", "nav-state", "orchestrator-override", "auto-select", "session-state"]>; filePath: z$1.ZodOptional; flagName: z$1.ZodOptional; key: z$1.ZodOptional; orgId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }, { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }>; value: z$1.ZodOptional>; reason: z$1.ZodOptional; location: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { file: string; package: string; function?: string | undefined; }, { file: string; package: string; function?: string | undefined; }>>; }, "strip", z$1.ZodTypeAny, { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }, { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }>, "many">>>; }, "strip", z$1.ZodTypeAny, { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; runInWorktree?: boolean | undefined; maxAutonomyLevel?: AutonomyLevel | undefined; specSaveDir?: string | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; management?: { modelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; reasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; interactionMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyLevel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeModelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mission?: { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; runInWorktree?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specSaveDir?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; worktreeDirectory?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimit?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimitPerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModelMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; subagent?: { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; } | undefined; specSavePresets?: { userFactoryDir: string; projectFactoryDir?: string | undefined; } | undefined; resolutionChain?: { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }[] | undefined; }, { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; runInWorktree?: boolean | undefined; maxAutonomyLevel?: unknown; specSaveDir?: string | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; management?: unknown; specSavePresets?: { userFactoryDir: string; projectFactoryDir?: string | undefined; } | undefined; resolutionChain?: unknown; }>; declare const DaemonUpdateSessionDefaultsResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; defaults: z$1.ZodObject<{ autonomyMode: z$1.ZodOptional>; interactionMode: z$1.ZodCatch>>; autonomyLevel: z$1.ZodCatch>>; maxAutonomyLevel: z$1.ZodCatch>>; modelId: z$1.ZodOptional; reasoningEffort: z$1.ZodOptional>; specSaveDir: z$1.ZodOptional; specModeModelId: z$1.ZodOptional; specModeReasoningEffort: z$1.ZodOptional>; compactionTokenLimit: z$1.ZodOptional; compactionTokenLimitPerModel: z$1.ZodOptional>; compactionModel: z$1.ZodOptional, z$1.ZodEnum<[string, ...string[]]>, z$1.ZodString]>>; compactionModelMode: z$1.ZodOptional>; runInWorktree: z$1.ZodOptional; worktreeDirectory: z$1.ZodOptional; management: z$1.ZodOptional>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; reasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; interactionMode: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; autonomyLevel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; autonomyMode: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; specModeModelId: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; specModeReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; specSaveDir: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionTokenLimit: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionTokenLimitPerModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionModelMode: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; runInWorktree: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; worktreeDirectory: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; subagent: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; lightReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; mediumModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; mediumReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; heavyModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; heavyReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; }, "strip", z$1.ZodTypeAny, { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; }, { lightModel?: unknown; lightReasoningEffort?: unknown; mediumModel?: unknown; mediumReasoningEffort?: unknown; heavyModel?: unknown; heavyReasoningEffort?: unknown; }>>>>; mission: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; orchestratorReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; workerModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; workerReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; validationWorkerModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; validationWorkerReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; skipScrutiny: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; skipUserTesting: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; }, "strip", z$1.ZodTypeAny, { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; }, { workerModel?: unknown; workerReasoningEffort?: unknown; validationWorkerModel?: unknown; validationWorkerReasoningEffort?: unknown; skipScrutiny?: unknown; skipUserTesting?: unknown; orchestratorModel?: unknown; orchestratorReasoningEffort?: unknown; }>>>>; }, "strip", z$1.ZodTypeAny, { modelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; reasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; interactionMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyLevel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeModelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mission?: { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; runInWorktree?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specSaveDir?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; worktreeDirectory?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimit?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimitPerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModelMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; subagent?: { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; }, { modelId?: unknown; reasoningEffort?: unknown; autonomyMode?: unknown; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: unknown; specModeReasoningEffort?: unknown; mission?: unknown; runInWorktree?: unknown; specSaveDir?: unknown; worktreeDirectory?: unknown; compactionTokenLimit?: unknown; compactionTokenLimitPerModel?: unknown; compactionModel?: unknown; compactionModelMode?: unknown; subagent?: unknown; }>>>; missionOrchestratorModel: z$1.ZodOptional; missionOrchestratorReasoningEffort: z$1.ZodOptional>; missionSettings: z$1.ZodOptional; workerReasoningEffort: z$1.ZodOptional>; validationWorkerModel: z$1.ZodOptional; validationWorkerReasoningEffort: z$1.ZodOptional>; skipScrutiny: z$1.ZodOptional; skipUserTesting: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; subagentModelSettings: z$1.ZodOptional; lightReasoningEffort: z$1.ZodOptional>; mediumModel: z$1.ZodOptional; mediumReasoningEffort: z$1.ZodOptional>; heavyModel: z$1.ZodOptional; heavyReasoningEffort: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }>>; availableModels: z$1.ZodOptional; supportedReasoningEfforts: z$1.ZodArray, "many">; defaultReasoningEffort: z$1.ZodNativeEnum; isCustom: z$1.ZodDefault; noImageSupport: z$1.ZodOptional; tier: z$1.ZodOptional>; tokenMultiplier: z$1.ZodOptional; promoLabel: z$1.ZodOptional; kind: z$1.ZodOptional>; variantBadge: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }>, "many">>; specSavePresets: z$1.ZodOptional; userFactoryDir: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { userFactoryDir: string; projectFactoryDir?: string | undefined; }, { userFactoryDir: string; projectFactoryDir?: string | undefined; }>>; resolutionChain: z$1.ZodCatch; action: z$1.ZodEnum<["set", "override", "skip", "fallback"]>; source: z$1.ZodObject<{ type: z$1.ZodEnum<["builtin-default", "dynamic-config", "org", "user", "project", "folder", "feature-flag", "localstorage", "nav-state", "orchestrator-override", "auto-select", "session-state"]>; filePath: z$1.ZodOptional; flagName: z$1.ZodOptional; key: z$1.ZodOptional; orgId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }, { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }>; value: z$1.ZodOptional>; reason: z$1.ZodOptional; location: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { file: string; package: string; function?: string | undefined; }, { file: string; package: string; function?: string | undefined; }>>; }, "strip", z$1.ZodTypeAny, { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }, { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }>, "many">>>; }, "strip", z$1.ZodTypeAny, { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; runInWorktree?: boolean | undefined; maxAutonomyLevel?: AutonomyLevel | undefined; specSaveDir?: string | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; management?: { modelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; reasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; interactionMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyLevel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeModelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mission?: { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; runInWorktree?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specSaveDir?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; worktreeDirectory?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimit?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimitPerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModelMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; subagent?: { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; } | undefined; specSavePresets?: { userFactoryDir: string; projectFactoryDir?: string | undefined; } | undefined; resolutionChain?: { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }[] | undefined; }, { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; runInWorktree?: boolean | undefined; maxAutonomyLevel?: unknown; specSaveDir?: string | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; management?: unknown; specSavePresets?: { userFactoryDir: string; projectFactoryDir?: string | undefined; } | undefined; resolutionChain?: unknown; }>; }, "strip", z$1.ZodTypeAny, { success: boolean; defaults: { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; runInWorktree?: boolean | undefined; maxAutonomyLevel?: AutonomyLevel | undefined; specSaveDir?: string | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; management?: { modelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; reasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; interactionMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyLevel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeModelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mission?: { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; runInWorktree?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specSaveDir?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; worktreeDirectory?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimit?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimitPerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModelMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; subagent?: { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; } | undefined; specSavePresets?: { userFactoryDir: string; projectFactoryDir?: string | undefined; } | undefined; resolutionChain?: { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }[] | undefined; }; }, { success: boolean; defaults: { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; runInWorktree?: boolean | undefined; maxAutonomyLevel?: unknown; specSaveDir?: string | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; management?: unknown; specSavePresets?: { userFactoryDir: string; projectFactoryDir?: string | undefined; } | undefined; resolutionChain?: unknown; }; }>; declare const DaemonGetDefaultSettingsResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ autonomyMode: z$1.ZodOptional>; interactionMode: z$1.ZodCatch>>; autonomyLevel: z$1.ZodCatch>>; maxAutonomyLevel: z$1.ZodCatch>>; modelId: z$1.ZodOptional; reasoningEffort: z$1.ZodOptional>; specSaveDir: z$1.ZodOptional; specModeModelId: z$1.ZodOptional; specModeReasoningEffort: z$1.ZodOptional>; compactionTokenLimit: z$1.ZodOptional; compactionTokenLimitPerModel: z$1.ZodOptional>; compactionModel: z$1.ZodOptional, z$1.ZodEnum<[string, ...string[]]>, z$1.ZodString]>>; compactionModelMode: z$1.ZodOptional>; runInWorktree: z$1.ZodOptional; worktreeDirectory: z$1.ZodOptional; management: z$1.ZodOptional>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; reasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; interactionMode: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; autonomyLevel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; autonomyMode: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; specModeModelId: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; specModeReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; specSaveDir: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionTokenLimit: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionTokenLimitPerModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionModelMode: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; runInWorktree: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; worktreeDirectory: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; subagent: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; lightReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; mediumModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; mediumReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; heavyModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; heavyReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; }, "strip", z$1.ZodTypeAny, { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; }, { lightModel?: unknown; lightReasoningEffort?: unknown; mediumModel?: unknown; mediumReasoningEffort?: unknown; heavyModel?: unknown; heavyReasoningEffort?: unknown; }>>>>; mission: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; orchestratorReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; workerModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; workerReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; validationWorkerModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; validationWorkerReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; skipScrutiny: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; skipUserTesting: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; }, "strip", z$1.ZodTypeAny, { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; }, { workerModel?: unknown; workerReasoningEffort?: unknown; validationWorkerModel?: unknown; validationWorkerReasoningEffort?: unknown; skipScrutiny?: unknown; skipUserTesting?: unknown; orchestratorModel?: unknown; orchestratorReasoningEffort?: unknown; }>>>>; }, "strip", z$1.ZodTypeAny, { modelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; reasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; interactionMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyLevel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeModelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mission?: { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; runInWorktree?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specSaveDir?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; worktreeDirectory?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimit?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimitPerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModelMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; subagent?: { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; }, { modelId?: unknown; reasoningEffort?: unknown; autonomyMode?: unknown; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: unknown; specModeReasoningEffort?: unknown; mission?: unknown; runInWorktree?: unknown; specSaveDir?: unknown; worktreeDirectory?: unknown; compactionTokenLimit?: unknown; compactionTokenLimitPerModel?: unknown; compactionModel?: unknown; compactionModelMode?: unknown; subagent?: unknown; }>>>; missionOrchestratorModel: z$1.ZodOptional; missionOrchestratorReasoningEffort: z$1.ZodOptional>; missionSettings: z$1.ZodOptional; workerReasoningEffort: z$1.ZodOptional>; validationWorkerModel: z$1.ZodOptional; validationWorkerReasoningEffort: z$1.ZodOptional>; skipScrutiny: z$1.ZodOptional; skipUserTesting: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; subagentModelSettings: z$1.ZodOptional; lightReasoningEffort: z$1.ZodOptional>; mediumModel: z$1.ZodOptional; mediumReasoningEffort: z$1.ZodOptional>; heavyModel: z$1.ZodOptional; heavyReasoningEffort: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }>>; availableModels: z$1.ZodOptional; supportedReasoningEfforts: z$1.ZodArray, "many">; defaultReasoningEffort: z$1.ZodNativeEnum; isCustom: z$1.ZodDefault; noImageSupport: z$1.ZodOptional; tier: z$1.ZodOptional>; tokenMultiplier: z$1.ZodOptional; promoLabel: z$1.ZodOptional; kind: z$1.ZodOptional>; variantBadge: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }>, "many">>; specSavePresets: z$1.ZodOptional; userFactoryDir: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { userFactoryDir: string; projectFactoryDir?: string | undefined; }, { userFactoryDir: string; projectFactoryDir?: string | undefined; }>>; resolutionChain: z$1.ZodCatch; action: z$1.ZodEnum<["set", "override", "skip", "fallback"]>; source: z$1.ZodObject<{ type: z$1.ZodEnum<["builtin-default", "dynamic-config", "org", "user", "project", "folder", "feature-flag", "localstorage", "nav-state", "orchestrator-override", "auto-select", "session-state"]>; filePath: z$1.ZodOptional; flagName: z$1.ZodOptional; key: z$1.ZodOptional; orgId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }, { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }>; value: z$1.ZodOptional>; reason: z$1.ZodOptional; location: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { file: string; package: string; function?: string | undefined; }, { file: string; package: string; function?: string | undefined; }>>; }, "strip", z$1.ZodTypeAny, { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }, { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }>, "many">>>; }, "strip", z$1.ZodTypeAny, { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; runInWorktree?: boolean | undefined; maxAutonomyLevel?: AutonomyLevel | undefined; specSaveDir?: string | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; management?: { modelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; reasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; interactionMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyLevel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeModelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mission?: { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; runInWorktree?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specSaveDir?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; worktreeDirectory?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimit?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimitPerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModelMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; subagent?: { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; } | undefined; specSavePresets?: { userFactoryDir: string; projectFactoryDir?: string | undefined; } | undefined; resolutionChain?: { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }[] | undefined; }, { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; runInWorktree?: boolean | undefined; maxAutonomyLevel?: unknown; specSaveDir?: string | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; management?: unknown; specSavePresets?: { userFactoryDir: string; projectFactoryDir?: string | undefined; } | undefined; resolutionChain?: unknown; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; runInWorktree?: boolean | undefined; maxAutonomyLevel?: AutonomyLevel | undefined; specSaveDir?: string | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; management?: { modelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; reasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; interactionMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyLevel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeModelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mission?: { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; runInWorktree?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specSaveDir?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; worktreeDirectory?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimit?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimitPerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModelMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; subagent?: { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; } | undefined; specSavePresets?: { userFactoryDir: string; projectFactoryDir?: string | undefined; } | undefined; resolutionChain?: { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }[] | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; runInWorktree?: boolean | undefined; maxAutonomyLevel?: unknown; specSaveDir?: string | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; management?: unknown; specSavePresets?: { userFactoryDir: string; projectFactoryDir?: string | undefined; } | undefined; resolutionChain?: unknown; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonUpdateSessionDefaultsResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ success: z$1.ZodBoolean; defaults: z$1.ZodObject<{ autonomyMode: z$1.ZodOptional>; interactionMode: z$1.ZodCatch>>; autonomyLevel: z$1.ZodCatch>>; maxAutonomyLevel: z$1.ZodCatch>>; modelId: z$1.ZodOptional; reasoningEffort: z$1.ZodOptional>; specSaveDir: z$1.ZodOptional; specModeModelId: z$1.ZodOptional; specModeReasoningEffort: z$1.ZodOptional>; compactionTokenLimit: z$1.ZodOptional; compactionTokenLimitPerModel: z$1.ZodOptional>; compactionModel: z$1.ZodOptional, z$1.ZodEnum<[string, ...string[]]>, z$1.ZodString]>>; compactionModelMode: z$1.ZodOptional>; runInWorktree: z$1.ZodOptional; worktreeDirectory: z$1.ZodOptional; management: z$1.ZodOptional>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; reasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; interactionMode: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; autonomyLevel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; autonomyMode: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; specModeModelId: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; specModeReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; specSaveDir: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionTokenLimit: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionTokenLimitPerModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; compactionModelMode: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; runInWorktree: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; worktreeDirectory: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; subagent: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; lightReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; mediumModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; mediumReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; heavyModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; heavyReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; }, "strip", z$1.ZodTypeAny, { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; }, { lightModel?: unknown; lightReasoningEffort?: unknown; mediumModel?: unknown; mediumReasoningEffort?: unknown; heavyModel?: unknown; heavyReasoningEffort?: unknown; }>>>>; mission: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; orchestratorReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; workerModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; workerReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; validationWorkerModel: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; validationWorkerReasoningEffort: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; skipScrutiny: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; skipUserTesting: z$1.ZodCatch>; folderPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }, { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; }>>>; }, "strip", z$1.ZodTypeAny, { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; }, { workerModel?: unknown; workerReasoningEffort?: unknown; validationWorkerModel?: unknown; validationWorkerReasoningEffort?: unknown; skipScrutiny?: unknown; skipUserTesting?: unknown; orchestratorModel?: unknown; orchestratorReasoningEffort?: unknown; }>>>>; }, "strip", z$1.ZodTypeAny, { modelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; reasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; interactionMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyLevel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeModelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mission?: { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; runInWorktree?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specSaveDir?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; worktreeDirectory?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimit?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimitPerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModelMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; subagent?: { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; }, { modelId?: unknown; reasoningEffort?: unknown; autonomyMode?: unknown; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: unknown; specModeReasoningEffort?: unknown; mission?: unknown; runInWorktree?: unknown; specSaveDir?: unknown; worktreeDirectory?: unknown; compactionTokenLimit?: unknown; compactionTokenLimitPerModel?: unknown; compactionModel?: unknown; compactionModelMode?: unknown; subagent?: unknown; }>>>; missionOrchestratorModel: z$1.ZodOptional; missionOrchestratorReasoningEffort: z$1.ZodOptional>; missionSettings: z$1.ZodOptional; workerReasoningEffort: z$1.ZodOptional>; validationWorkerModel: z$1.ZodOptional; validationWorkerReasoningEffort: z$1.ZodOptional>; skipScrutiny: z$1.ZodOptional; skipUserTesting: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; subagentModelSettings: z$1.ZodOptional; lightReasoningEffort: z$1.ZodOptional>; mediumModel: z$1.ZodOptional; mediumReasoningEffort: z$1.ZodOptional>; heavyModel: z$1.ZodOptional; heavyReasoningEffort: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }>>; availableModels: z$1.ZodOptional; supportedReasoningEfforts: z$1.ZodArray, "many">; defaultReasoningEffort: z$1.ZodNativeEnum; isCustom: z$1.ZodDefault; noImageSupport: z$1.ZodOptional; tier: z$1.ZodOptional>; tokenMultiplier: z$1.ZodOptional; promoLabel: z$1.ZodOptional; kind: z$1.ZodOptional>; variantBadge: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }>, "many">>; specSavePresets: z$1.ZodOptional; userFactoryDir: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { userFactoryDir: string; projectFactoryDir?: string | undefined; }, { userFactoryDir: string; projectFactoryDir?: string | undefined; }>>; resolutionChain: z$1.ZodCatch; action: z$1.ZodEnum<["set", "override", "skip", "fallback"]>; source: z$1.ZodObject<{ type: z$1.ZodEnum<["builtin-default", "dynamic-config", "org", "user", "project", "folder", "feature-flag", "localstorage", "nav-state", "orchestrator-override", "auto-select", "session-state"]>; filePath: z$1.ZodOptional; flagName: z$1.ZodOptional; key: z$1.ZodOptional; orgId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }, { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }>; value: z$1.ZodOptional>; reason: z$1.ZodOptional; location: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { file: string; package: string; function?: string | undefined; }, { file: string; package: string; function?: string | undefined; }>>; }, "strip", z$1.ZodTypeAny, { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }, { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }>, "many">>>; }, "strip", z$1.ZodTypeAny, { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; runInWorktree?: boolean | undefined; maxAutonomyLevel?: AutonomyLevel | undefined; specSaveDir?: string | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; management?: { modelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; reasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; interactionMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyLevel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeModelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mission?: { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; runInWorktree?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specSaveDir?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; worktreeDirectory?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimit?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimitPerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModelMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; subagent?: { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; } | undefined; specSavePresets?: { userFactoryDir: string; projectFactoryDir?: string | undefined; } | undefined; resolutionChain?: { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }[] | undefined; }, { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; runInWorktree?: boolean | undefined; maxAutonomyLevel?: unknown; specSaveDir?: string | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; management?: unknown; specSavePresets?: { userFactoryDir: string; projectFactoryDir?: string | undefined; } | undefined; resolutionChain?: unknown; }>; }, "strip", z$1.ZodTypeAny, { success: boolean; defaults: { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; runInWorktree?: boolean | undefined; maxAutonomyLevel?: AutonomyLevel | undefined; specSaveDir?: string | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; management?: { modelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; reasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; interactionMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyLevel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeModelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mission?: { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; runInWorktree?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specSaveDir?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; worktreeDirectory?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimit?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimitPerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModelMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; subagent?: { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; } | undefined; specSavePresets?: { userFactoryDir: string; projectFactoryDir?: string | undefined; } | undefined; resolutionChain?: { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }[] | undefined; }; }, { success: boolean; defaults: { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; runInWorktree?: boolean | undefined; maxAutonomyLevel?: unknown; specSaveDir?: string | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; management?: unknown; specSavePresets?: { userFactoryDir: string; projectFactoryDir?: string | undefined; } | undefined; resolutionChain?: unknown; }; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; defaults: { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; runInWorktree?: boolean | undefined; maxAutonomyLevel?: AutonomyLevel | undefined; specSaveDir?: string | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; management?: { modelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; reasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; interactionMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; autonomyLevel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeModelId?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specModeReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mission?: { workerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; workerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; validationWorkerReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipScrutiny?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; skipUserTesting?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; orchestratorReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; runInWorktree?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; specSaveDir?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; worktreeDirectory?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimit?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionTokenLimitPerModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; compactionModelMode?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; subagent?: { lightModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; lightReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; mediumReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyModel?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; heavyReasoningEffort?: { disabled: boolean; source: SettingsLevel | null; folderPath?: string | undefined; } | undefined; } | undefined; } | undefined; specSavePresets?: { userFactoryDir: string; projectFactoryDir?: string | undefined; } | undefined; resolutionChain?: { keys: string[]; source: { type: "org" | "user" | "project" | "folder" | "builtin-default" | "dynamic-config" | "feature-flag" | "localstorage" | "nav-state" | "orchestrator-override" | "auto-select" | "session-state"; filePath?: string | undefined; flagName?: string | undefined; key?: string | undefined; orgId?: string | undefined; }; action: "set" | "override" | "skip" | "fallback"; timestamp: string; value?: Record | undefined; reason?: string | undefined; location?: { file: string; package: string; function?: string | undefined; } | undefined; }[] | undefined; }; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; defaults: { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; runInWorktree?: boolean | undefined; maxAutonomyLevel?: unknown; specSaveDir?: string | undefined; missionOrchestratorModel?: string | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; management?: unknown; specSavePresets?: { userFactoryDir: string; projectFactoryDir?: string | undefined; } | undefined; resolutionChain?: unknown; }; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonCommandAckResultSchema: z$1.ZodObject<{ accepted: z$1.ZodLiteral; }, "strip", z$1.ZodTypeAny, { accepted: true; }, { accepted: true; }>; declare const DaemonInitializeSessionRequestParamsSchema: z$1.ZodObject<{ machineId: z$1.ZodString; cwd: z$1.ZodString; workspaceId: z$1.ZodOptional; sessionId: z$1.ZodOptional; mcpServers: z$1.ZodOptional>; env: z$1.ZodDefault>>; }, "strip", z$1.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; autonomyMode: z$1.ZodOptional>; interactionMode: z$1.ZodCatch>>; autonomyLevel: z$1.ZodCatch>>; modelId: z$1.ZodOptional; reasoningEffort: z$1.ZodOptional>; specModeModelId: z$1.ZodOptional; specModeReasoningEffort: z$1.ZodOptional>; missionSettings: z$1.ZodOptional; workerReasoningEffort: z$1.ZodOptional>; validationWorkerModel: z$1.ZodOptional; validationWorkerReasoningEffort: z$1.ZodOptional>; skipScrutiny: z$1.ZodOptional; skipUserTesting: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; compactionThresholdCheckEnabled: z$1.ZodOptional; decompSessionType: z$1.ZodOptional>; decompMissionId: z$1.ZodOptional; skipPermissionsUnsafe: z$1.ZodOptional; sessionLocation: z$1.ZodOptional; sessionSource: z$1.ZodOptional; teamId: z$1.ZodOptional>; channel: z$1.ZodOptional>; threadTs: z$1.ZodOptional>; userId: z$1.ZodOptional>; } & { delegationSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; }, { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; } & { delegationSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.Web; delegationSessionId: string; }, { platform: SessionPlatform.Web; delegationSessionId: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; } & { delegationSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.Api; delegationSessionId: string; }, { platform: SessionPlatform.Api; delegationSessionId: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; } & { delegationSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.SessionsApi; delegationSessionId: string; }, { platform: SessionPlatform.SessionsApi; delegationSessionId: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; agentSessionId: z$1.ZodString; issueId: z$1.ZodOptional>; issueUrl: z$1.ZodOptional>; issueIdentifier: z$1.ZodOptional>; organizationId: z$1.ZodOptional>; userId: z$1.ZodOptional>; } & { delegationSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; }, { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; reportId: z$1.ZodString; repoUrl: z$1.ZodString; criterionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; }, { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; repoUrl: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; }, { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; automationId: z$1.ZodString; computerId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.Automation; computerId: string; automationId: string; }, { platform: SessionPlatform.Automation; computerId: string; automationId: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; repoUrl: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.WikiGeneration; repoUrl: string; }, { platform: SessionPlatform.WikiGeneration; repoUrl: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; repoUrl: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.WikiCISetup; repoUrl: string; }, { platform: SessionPlatform.WikiCISetup; repoUrl: string; }>]>>; sessionOriginHint: z$1.ZodOptional>; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; mcpOAuthCallbackUri: z$1.ZodOptional; worktree: z$1.ZodOptional; worktreeDir: z$1.ZodOptional; } & { enabledToolIds: z$1.ZodOptional>; disabledToolIds: z$1.ZodOptional>; } & { token: z$1.ZodString; inactivityTimeoutMs: z$1.ZodOptional; disableInactivityTimeout: z$1.ZodOptional; runtimeSettingsPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { machineId: string; cwd: string; token: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; inactivityTimeoutMs?: number | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }, { machineId: string; cwd: string; token: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; inactivityTimeoutMs?: number | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }>; /** Session spawn options captured for loadSession replay. */ declare const DaemonLoadSessionSpawnOptionsSchema: z$1.ZodObject<{ disableInactivityTimeout: z$1.ZodOptional; skipPermissionsUnsafe: z$1.ZodOptional; runtimeSettingsPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { skipPermissionsUnsafe?: boolean | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }, { skipPermissionsUnsafe?: boolean | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }>; declare const DaemonLoadSessionRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; mcpServers: z$1.ZodOptional>; env: z$1.ZodDefault>>; }, "strip", z$1.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; loadAllMessages: z$1.ZodOptional; mcpOAuthCallbackUri: z$1.ZodOptional; } & { disableInactivityTimeout: z$1.ZodOptional; skipPermissionsUnsafe: z$1.ZodOptional; runtimeSettingsPath: z$1.ZodOptional; } & { token: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; token: string; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; skipPermissionsUnsafe?: boolean | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }, { sessionId: string; token: string; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; skipPermissionsUnsafe?: boolean | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }>; declare const DaemonAddUserMessageRequestParamsSchema: z$1.ZodObject<{ messageId: z$1.ZodOptional; text: z$1.ZodString; images: z$1.ZodOptional; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>, "many">>; files: z$1.ZodOptional; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>, "many">>; outputFormat: z$1.ZodOptional; schema: z$1.ZodRecord; }, "strip", z$1.ZodTypeAny, { type: "json_schema"; schema: Record; }, { type: "json_schema"; schema: Record; }>>; skipAgentLoop: z$1.ZodOptional; queuePlacement: z$1.ZodOptional>; role: z$1.ZodOptional>; visibility: z$1.ZodOptional>; userMessageSource: z$1.ZodOptional>; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; sessionId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }, { text: string; sessionId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }>; declare const DaemonResolveQueuedUserMessageRequestParamsSchema: z$1.ZodIntersection; queuePlacement: z$1.ZodNativeEnum; }, "strip", z$1.ZodTypeAny, { action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; }, { action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; }>, z$1.ZodObject<{ requestId: z$1.ZodString; action: z$1.ZodLiteral; }, "strip", z$1.ZodTypeAny, { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }, { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }>]>, z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>>; declare const DaemonInterruptSessionRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; declare const DaemonCloseSessionRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; declare const DaemonSessionListFilterSchema: z$1.ZodObject<{ missionSessions: z$1.ZodOptional; includeBtwForks: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; }, { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; }>; declare const DaemonListOpenedSessionsRequestParamsSchema: z$1.ZodObject<{ filter: z$1.ZodOptional; includeBtwForks: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; }, { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; }>>; }, "strip", z$1.ZodTypeAny, { filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; } | undefined; }, { filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; } | undefined; }>; declare const DaemonListAvailableSessionsFilterSchema: z$1.ZodObject<{ missionSessions: z$1.ZodOptional; includeBtwForks: z$1.ZodOptional; } & { missionStates: z$1.ZodOptional, "many">>; }, "strip", z$1.ZodTypeAny, { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; }, { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; }>; declare const DaemonListAvailableSessionsRequestParamsSchema: z$1.ZodObject<{ limit: z$1.ZodDefault; endBefore: z$1.ZodOptional; includeMissionMetadata: z$1.ZodOptional; filter: z$1.ZodOptional; includeBtwForks: z$1.ZodOptional; } & { missionStates: z$1.ZodOptional, "many">>; }, "strip", z$1.ZodTypeAny, { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; }, { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; }>>; }, "strip", z$1.ZodTypeAny, { limit: number; filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; } | undefined; endBefore?: number | undefined; includeMissionMetadata?: boolean | undefined; }, { filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; } | undefined; limit?: number | undefined; endBefore?: number | undefined; includeMissionMetadata?: boolean | undefined; }>; declare const DaemonGetSessionMessagesRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; limit: z$1.ZodDefault; cursor: z$1.ZodOptional; role: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { limit: number; sessionId: string; role?: MessageRoleNoSystem | undefined; cursor?: string | undefined; }, { sessionId: string; role?: MessageRoleNoSystem | undefined; limit?: number | undefined; cursor?: string | undefined; }>; declare const DaemonUpdateSessionSettingsRequestParamsSchema: z$1.ZodObject<{ modelId: z$1.ZodOptional; reasoningEffort: z$1.ZodOptional>; autonomyMode: z$1.ZodOptional>; interactionMode: z$1.ZodCatch>>; autonomyLevel: z$1.ZodCatch>>; specModeModelId: z$1.ZodOptional>; specModeReasoningEffort: z$1.ZodOptional>>; missionSettings: z$1.ZodOptional; workerReasoningEffort: z$1.ZodOptional>; validationWorkerModel: z$1.ZodOptional; validationWorkerReasoningEffort: z$1.ZodOptional>; skipScrutiny: z$1.ZodOptional; skipUserTesting: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; compactionTokenLimit: z$1.ZodOptional; compactionThresholdCheckEnabled: z$1.ZodOptional; } & { enabledToolIds: z$1.ZodOptional>; disabledToolIds: z$1.ZodOptional>; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { sessionId: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; declare const DaemonGetUserInfoRequestParamsSchema: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; declare const DaemonValidateWorkingDirectoryRequestParamsSchema: z$1.ZodObject<{ workingDirectory: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { workingDirectory: string; }, { workingDirectory: string; }>; declare const DaemonInitializeSessionRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ machineId: z$1.ZodString; cwd: z$1.ZodString; workspaceId: z$1.ZodOptional; sessionId: z$1.ZodOptional; mcpServers: z$1.ZodOptional>; env: z$1.ZodDefault>>; }, "strip", z$1.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; autonomyMode: z$1.ZodOptional>; interactionMode: z$1.ZodCatch>>; autonomyLevel: z$1.ZodCatch>>; modelId: z$1.ZodOptional; reasoningEffort: z$1.ZodOptional>; specModeModelId: z$1.ZodOptional; specModeReasoningEffort: z$1.ZodOptional>; missionSettings: z$1.ZodOptional; workerReasoningEffort: z$1.ZodOptional>; validationWorkerModel: z$1.ZodOptional; validationWorkerReasoningEffort: z$1.ZodOptional>; skipScrutiny: z$1.ZodOptional; skipUserTesting: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; compactionThresholdCheckEnabled: z$1.ZodOptional; decompSessionType: z$1.ZodOptional>; decompMissionId: z$1.ZodOptional; skipPermissionsUnsafe: z$1.ZodOptional; sessionLocation: z$1.ZodOptional; sessionSource: z$1.ZodOptional; teamId: z$1.ZodOptional>; channel: z$1.ZodOptional>; threadTs: z$1.ZodOptional>; userId: z$1.ZodOptional>; } & { delegationSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; }, { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; } & { delegationSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.Web; delegationSessionId: string; }, { platform: SessionPlatform.Web; delegationSessionId: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; } & { delegationSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.Api; delegationSessionId: string; }, { platform: SessionPlatform.Api; delegationSessionId: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; } & { delegationSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.SessionsApi; delegationSessionId: string; }, { platform: SessionPlatform.SessionsApi; delegationSessionId: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; agentSessionId: z$1.ZodString; issueId: z$1.ZodOptional>; issueUrl: z$1.ZodOptional>; issueIdentifier: z$1.ZodOptional>; organizationId: z$1.ZodOptional>; userId: z$1.ZodOptional>; } & { delegationSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; }, { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; reportId: z$1.ZodString; repoUrl: z$1.ZodString; criterionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; }, { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; repoUrl: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; }, { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; automationId: z$1.ZodString; computerId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.Automation; computerId: string; automationId: string; }, { platform: SessionPlatform.Automation; computerId: string; automationId: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; repoUrl: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.WikiGeneration; repoUrl: string; }, { platform: SessionPlatform.WikiGeneration; repoUrl: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; repoUrl: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.WikiCISetup; repoUrl: string; }, { platform: SessionPlatform.WikiCISetup; repoUrl: string; }>]>>; sessionOriginHint: z$1.ZodOptional>; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; mcpOAuthCallbackUri: z$1.ZodOptional; worktree: z$1.ZodOptional; worktreeDir: z$1.ZodOptional; } & { enabledToolIds: z$1.ZodOptional>; disabledToolIds: z$1.ZodOptional>; } & { token: z$1.ZodString; inactivityTimeoutMs: z$1.ZodOptional; disableInactivityTimeout: z$1.ZodOptional; runtimeSettingsPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { machineId: string; cwd: string; token: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; inactivityTimeoutMs?: number | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }, { machineId: string; cwd: string; token: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; inactivityTimeoutMs?: number | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { machineId: string; cwd: string; token: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; inactivityTimeoutMs?: number | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.INITIALIZE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { machineId: string; cwd: string; token: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; inactivityTimeoutMs?: number | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.INITIALIZE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonLoadSessionRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; mcpServers: z$1.ZodOptional>; env: z$1.ZodDefault>>; }, "strip", z$1.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; loadAllMessages: z$1.ZodOptional; mcpOAuthCallbackUri: z$1.ZodOptional; } & { disableInactivityTimeout: z$1.ZodOptional; skipPermissionsUnsafe: z$1.ZodOptional; runtimeSettingsPath: z$1.ZodOptional; } & { token: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; token: string; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; skipPermissionsUnsafe?: boolean | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }, { sessionId: string; token: string; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; skipPermissionsUnsafe?: boolean | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; token: string; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; skipPermissionsUnsafe?: boolean | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LOAD_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; token: string; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; skipPermissionsUnsafe?: boolean | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LOAD_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonAddUserMessageRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ messageId: z$1.ZodOptional; text: z$1.ZodString; images: z$1.ZodOptional; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>, "many">>; files: z$1.ZodOptional; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>, "many">>; outputFormat: z$1.ZodOptional; schema: z$1.ZodRecord; }, "strip", z$1.ZodTypeAny, { type: "json_schema"; schema: Record; }, { type: "json_schema"; schema: Record; }>>; skipAgentLoop: z$1.ZodOptional; queuePlacement: z$1.ZodOptional>; role: z$1.ZodOptional>; visibility: z$1.ZodOptional>; userMessageSource: z$1.ZodOptional>; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; sessionId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }, { text: string; sessionId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { text: string; sessionId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.ADD_USER_MESSAGE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { text: string; sessionId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.ADD_USER_MESSAGE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonResolveQueuedUserMessageRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodIntersection; queuePlacement: z$1.ZodNativeEnum; }, "strip", z$1.ZodTypeAny, { action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; }, { action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; }>, z$1.ZodObject<{ requestId: z$1.ZodString; action: z$1.ZodLiteral; }, "strip", z$1.ZodTypeAny, { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }, { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }>]>, z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>>; }, "strip", z$1.ZodTypeAny, { params: ({ action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; } | { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }) & { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RESOLVE_QUEUED_USER_MESSAGE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: ({ action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; } | { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }) & { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RESOLVE_QUEUED_USER_MESSAGE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonInterruptSessionRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.INTERRUPT_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.INTERRUPT_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonCloseSessionRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CLOSE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CLOSE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonCloseSessionResultSchema: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; declare const DaemonKillWorkerSessionRequestParamsSchema: z$1.ZodObject<{ /** The orchestrator session ID (where the mission is running) */ sessionId: z$1.ZodString; } & { workerSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { workerSessionId: string; sessionId: string; }, { workerSessionId: string; sessionId: string; }>; declare const DaemonKillWorkerSessionRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ /** The orchestrator session ID (where the mission is running) */ sessionId: z$1.ZodString; } & { workerSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { workerSessionId: string; sessionId: string; }, { workerSessionId: string; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { workerSessionId: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.KILL_WORKER_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { workerSessionId: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.KILL_WORKER_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonKillWorkerSessionResultSchema: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; declare const DaemonListOpenedSessionsRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ filter: z$1.ZodOptional; includeBtwForks: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; }, { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; }>>; }, "strip", z$1.ZodTypeAny, { filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; } | undefined; }, { filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; } | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; } | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_OPENED_SESSIONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; } | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_OPENED_SESSIONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonListAvailableSessionsRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ limit: z$1.ZodDefault; endBefore: z$1.ZodOptional; includeMissionMetadata: z$1.ZodOptional; filter: z$1.ZodOptional; includeBtwForks: z$1.ZodOptional; } & { missionStates: z$1.ZodOptional, "many">>; }, "strip", z$1.ZodTypeAny, { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; }, { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; }>>; }, "strip", z$1.ZodTypeAny, { limit: number; filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; } | undefined; endBefore?: number | undefined; includeMissionMetadata?: boolean | undefined; }, { filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; } | undefined; limit?: number | undefined; endBefore?: number | undefined; includeMissionMetadata?: boolean | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { limit: number; filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; } | undefined; endBefore?: number | undefined; includeMissionMetadata?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_AVAILABLE_SESSIONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; } | undefined; limit?: number | undefined; endBefore?: number | undefined; includeMissionMetadata?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_AVAILABLE_SESSIONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonGetSessionMessagesRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; limit: z$1.ZodDefault; cursor: z$1.ZodOptional; role: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { limit: number; sessionId: string; role?: MessageRoleNoSystem | undefined; cursor?: string | undefined; }, { sessionId: string; role?: MessageRoleNoSystem | undefined; limit?: number | undefined; cursor?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { limit: number; sessionId: string; role?: MessageRoleNoSystem | undefined; cursor?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_SESSION_MESSAGES; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; role?: MessageRoleNoSystem | undefined; limit?: number | undefined; cursor?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_SESSION_MESSAGES; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonUpdateSessionSettingsRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ modelId: z$1.ZodOptional; reasoningEffort: z$1.ZodOptional>; autonomyMode: z$1.ZodOptional>; interactionMode: z$1.ZodCatch>>; autonomyLevel: z$1.ZodCatch>>; specModeModelId: z$1.ZodOptional>; specModeReasoningEffort: z$1.ZodOptional>>; missionSettings: z$1.ZodOptional; workerReasoningEffort: z$1.ZodOptional>; validationWorkerModel: z$1.ZodOptional; validationWorkerReasoningEffort: z$1.ZodOptional>; skipScrutiny: z$1.ZodOptional; skipUserTesting: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; compactionTokenLimit: z$1.ZodOptional; compactionThresholdCheckEnabled: z$1.ZodOptional; } & { enabledToolIds: z$1.ZodOptional>; disabledToolIds: z$1.ZodOptional>; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { sessionId: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_SESSION_SETTINGS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_SESSION_SETTINGS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonValidateWorkingDirectoryRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ workingDirectory: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { workingDirectory: string; }, { workingDirectory: string; }>; }, "strip", z$1.ZodTypeAny, { params: { workingDirectory: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.VALIDATE_WORKING_DIRECTORY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { workingDirectory: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.VALIDATE_WORKING_DIRECTORY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonInitializeSessionResultSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; hostId: z$1.ZodOptional; session: z$1.ZodObject<{ messages: z$1.ZodArray; content: z$1.ZodArray; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; signature: z$1.ZodString; signatureProvider: z$1.ZodOptional, z$1.ZodLiteral<"unknown">]>>; thinking: z$1.ZodString; durationMs: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; data: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; id: z$1.ZodString; input: z$1.ZodRecord; name: z$1.ZodString; thoughtSignature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; toolUseId: z$1.ZodString; content: z$1.ZodOptional; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">; createdAt: z$1.ZodNumber; updatedAt: z$1.ZodNumber; parentId: z$1.ZodOptional; userMessageSource: z$1.ZodOptional>; visibility: z$1.ZodOptional>; openaiMessageId: z$1.ZodOptional; openaiPhase: z$1.ZodOptional>>; openaiEncryptedContent: z$1.ZodOptional; openaiReasoningId: z$1.ZodOptional; openaiReasoningSummary: z$1.ZodOptional; geminiThoughtSignature: z$1.ZodOptional; chatCompletionReasoningField: z$1.ZodOptional>; chatCompletionReasoningContent: z$1.ZodOptional; isUserVisible: z$1.ZodOptional; isError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>, "many">; title: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }>; mcpServers: z$1.ZodOptional>; env: z$1.ZodDefault>>; }, "strip", z$1.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; settings: z$1.ZodObject<{ modelId: z$1.ZodString; reasoningEffort: z$1.ZodNativeEnum; autonomyMode: z$1.ZodOptional>; interactionMode: z$1.ZodCatch>>; autonomyLevel: z$1.ZodCatch>>; specModeModelId: z$1.ZodOptional; specModeReasoningEffort: z$1.ZodOptional>; missionSettings: z$1.ZodOptional; workerReasoningEffort: z$1.ZodOptional>; validationWorkerModel: z$1.ZodOptional; validationWorkerReasoningEffort: z$1.ZodOptional>; skipScrutiny: z$1.ZodOptional; skipUserTesting: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; sandbox: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { enabled: boolean; mode?: SandboxMode | undefined; }, { enabled: boolean; mode?: SandboxMode | undefined; }>>; compactionThresholdCheckEnabled: z$1.ZodOptional; } & { enabledToolIds: z$1.ZodOptional>; disabledToolIds: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; gitRepo: z$1.ZodOptional; repoName: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { repoName: string; owner?: string | undefined; }, { repoName: string; owner?: string | undefined; }>>; availableModels: z$1.ZodOptional; supportedReasoningEfforts: z$1.ZodArray, "many">; defaultReasoningEffort: z$1.ZodNativeEnum; isCustom: z$1.ZodDefault; noImageSupport: z$1.ZodOptional; tier: z$1.ZodOptional>; tokenMultiplier: z$1.ZodOptional; promoLabel: z$1.ZodOptional; kind: z$1.ZodOptional>; variantBadge: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }>, "many">>; worktree: z$1.ZodOptional; isNewlyCreated: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; }, { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; }>>; }, "strip", z$1.ZodTypeAny, { sessionId: string; session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; hostId?: string | undefined; worktree?: { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; } | undefined; }, { sessionId: string; session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; hostId?: string | undefined; worktree?: { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; } | undefined; }>; declare const DaemonLoadSessionResultSchema: z$1.ZodObject<{ session: z$1.ZodObject<{ messages: z$1.ZodArray; content: z$1.ZodArray; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; signature: z$1.ZodString; signatureProvider: z$1.ZodOptional, z$1.ZodLiteral<"unknown">]>>; thinking: z$1.ZodString; durationMs: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; data: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; id: z$1.ZodString; input: z$1.ZodRecord; name: z$1.ZodString; thoughtSignature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; toolUseId: z$1.ZodString; content: z$1.ZodOptional; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">; createdAt: z$1.ZodNumber; updatedAt: z$1.ZodNumber; parentId: z$1.ZodOptional; userMessageSource: z$1.ZodOptional>; visibility: z$1.ZodOptional>; openaiMessageId: z$1.ZodOptional; openaiPhase: z$1.ZodOptional>>; openaiEncryptedContent: z$1.ZodOptional; openaiReasoningId: z$1.ZodOptional; openaiReasoningSummary: z$1.ZodOptional; geminiThoughtSignature: z$1.ZodOptional; chatCompletionReasoningField: z$1.ZodOptional>; chatCompletionReasoningContent: z$1.ZodOptional; isUserVisible: z$1.ZodOptional; isError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>, "many">; title: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }>; hostId: z$1.ZodOptional; mcpServers: z$1.ZodOptional>; env: z$1.ZodDefault>>; }, "strip", z$1.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; pendingPermissions: z$1.ZodOptional; id: z$1.ZodString; input: z$1.ZodRecord; name: z$1.ZodString; thoughtSignature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>; confirmationType: z$1.ZodNativeEnum; details: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{ type: z$1.ZodLiteral; filePath: z$1.ZodString; fileName: z$1.ZodString; oldContent: z$1.ZodOptional; newContent: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; fullCommand: z$1.ZodString; command: z$1.ZodString; extractedCommands: z$1.ZodOptional>; impactLevel: z$1.ZodOptional; riskLevelReason: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; filePath: z$1.ZodString; fileName: z$1.ZodString; content: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; questionnaire: z$1.ZodString; parsed: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; }, "strip", z$1.ZodTypeAny, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }>>; parseError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { message: string; line?: number | undefined; }, { message: string; line?: number | undefined; }>>; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; plan: z$1.ZodString; title: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; proposal: z$1.ZodString; title: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; runningMissionCount: z$1.ZodNumber; runningMissionSessionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; filePath: z$1.ZodString; fileName: z$1.ZodString; patchContent: z$1.ZodString; oldContent: z$1.ZodOptional; newContent: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; toolName: z$1.ZodString; impactLevel: z$1.ZodString; serverName: z$1.ZodOptional; actualToolName: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; violatingToolName: z$1.ZodString; target: z$1.ZodString; operationType: z$1.ZodNativeEnum; violationType: z$1.ZodNativeEnum; reason: z$1.ZodString; violationReason: z$1.ZodOptional>; isOrgDeny: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }>, "many">; options: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { value: ToolConfirmationOutcome; label: string; }, { value: ToolConfirmationOutcome; label: string; }>, "many">; } & { requestId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }, { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }>, "many">>; pendingAskUserRequests: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; } & { requestId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }, { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }>, "many">>; settings: z$1.ZodObject<{ modelId: z$1.ZodString; reasoningEffort: z$1.ZodNativeEnum; autonomyMode: z$1.ZodOptional>; interactionMode: z$1.ZodCatch>>; autonomyLevel: z$1.ZodCatch>>; specModeModelId: z$1.ZodOptional; specModeReasoningEffort: z$1.ZodOptional>; missionSettings: z$1.ZodOptional; workerReasoningEffort: z$1.ZodOptional>; validationWorkerModel: z$1.ZodOptional; validationWorkerReasoningEffort: z$1.ZodOptional>; skipScrutiny: z$1.ZodOptional; skipUserTesting: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; sandbox: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { enabled: boolean; mode?: SandboxMode | undefined; }, { enabled: boolean; mode?: SandboxMode | undefined; }>>; compactionThresholdCheckEnabled: z$1.ZodOptional; } & { enabledToolIds: z$1.ZodOptional>; disabledToolIds: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; isAgentLoopInProgress: z$1.ZodOptional; queuedMessages: z$1.ZodOptional; text: z$1.ZodString; images: z$1.ZodOptional; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>, "many">>; files: z$1.ZodOptional; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>, "many">>; outputFormat: z$1.ZodOptional; schema: z$1.ZodRecord; }, "strip", z$1.ZodTypeAny, { type: "json_schema"; schema: Record; }, { type: "json_schema"; schema: Record; }>>; skipAgentLoop: z$1.ZodOptional; queuePlacement: z$1.ZodOptional>; role: z$1.ZodOptional>; visibility: z$1.ZodOptional>; userMessageSource: z$1.ZodOptional>; } & { requestId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }, { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }>, "many">>; gitRepo: z$1.ZodOptional; repoName: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { repoName: string; owner?: string | undefined; }, { repoName: string; owner?: string | undefined; }>>; cwd: z$1.ZodOptional; callingSessionId: z$1.ZodOptional; callingToolUseId: z$1.ZodOptional; availableModels: z$1.ZodOptional; supportedReasoningEfforts: z$1.ZodArray, "many">; defaultReasoningEffort: z$1.ZodNativeEnum; isCustom: z$1.ZodDefault; noImageSupport: z$1.ZodOptional; tier: z$1.ZodOptional>; tokenMultiplier: z$1.ZodOptional; promoLabel: z$1.ZodOptional; kind: z$1.ZodOptional>; variantBadge: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }>, "many">>; tokenUsage: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; mission: z$1.ZodOptional; updatedAt: z$1.ZodOptional; title: z$1.ZodOptional; workingDirectory: z$1.ZodOptional; features: z$1.ZodArray; skillName: z$1.ZodString; preconditions: z$1.ZodArray; expectedBehavior: z$1.ZodArray; fulfills: z$1.ZodOptional>; milestone: z$1.ZodOptional; workerSessionIds: z$1.ZodOptional>; currentWorkerSessionId: z$1.ZodOptional>; completedWorkerSessionId: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }>, "many">; progressLog: z$1.ZodArray; title: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; pauseReason: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; resumeWorkerSessionId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; message: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; spawnId: z$1.ZodString; featureId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; featureId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; featureId: z$1.ZodString; successState: z$1.ZodNativeEnum; returnToOrchestrator: z$1.ZodBoolean; commitId: z$1.ZodEffects, string | undefined, unknown>; repoPath: z$1.ZodEffects, string | undefined, unknown>; exitCode: z$1.ZodNumber; validatorsPassed: z$1.ZodOptional; handoff: z$1.ZodOptional; whatWasImplemented: z$1.ZodString; whatWasLeftUndone: z$1.ZodString; verification: z$1.ZodObject<{ commandsRun: z$1.ZodArray, "many">; interactiveChecks: z$1.ZodOptional, "many">>; }, "strip", z$1.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; tests: z$1.ZodObject<{ added: z$1.ZodArray, "many">; }, "strip", z$1.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z$1.ZodOptional>; coverage: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; discoveredIssues: z$1.ZodArray; description: z$1.ZodString; suggestedFix: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>, "many">; skillFeedback: z$1.ZodOptional, "many">; suggestedChanges: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }>>; }, "strip", z$1.ZodTypeAny, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }>>; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; }, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodOptional; spawnId: z$1.ZodString; exitCode: z$1.ZodOptional; reason: z$1.ZodString; failureReason: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; featureId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; dismissals: z$1.ZodOptional; sourceFeatureId: z$1.ZodString; summary: z$1.ZodString; justification: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }>, "many">>; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; milestone: z$1.ZodString; featureId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }>]>, "many">; workerSessionIds: z$1.ZodArray; workerStates: z$1.ZodOptional; exitCode: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { startedAt: string; exitCode?: number | undefined; completedAt?: string | undefined; }, { startedAt: string; exitCode?: number | undefined; completedAt?: string | undefined; }>>>; tokenUsage: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; tokenUsageBySessionId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>>; }, "strip", z$1.ZodTypeAny, { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; }, { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; }>>; decompSessionType: z$1.ZodOptional>; loopState: z$1.ZodOptional; intervalMs: z$1.ZodNumber; iteration: z$1.ZodNumber; startedAt: z$1.ZodNumber; updatedAt: z$1.ZodNumber; nextRunAt: z$1.ZodNullable; isDue: z$1.ZodBoolean; lastRunStartedAt: z$1.ZodOptional; lastRunCompletedAt: z$1.ZodOptional; stopReason: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }>>>; }, "strip", z$1.ZodTypeAny, { session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; cwd?: string | undefined; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; decompSessionType?: DecompSessionType | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; pendingPermissions?: { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }[] | undefined; pendingAskUserRequests?: { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }[] | undefined; isAgentLoopInProgress?: boolean | undefined; queuedMessages?: { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; } | undefined; hostId?: string | undefined; loopState?: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; } | null | undefined; }, { session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; cwd?: string | undefined; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; decompSessionType?: DecompSessionType | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; pendingPermissions?: { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }[] | undefined; pendingAskUserRequests?: { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }[] | undefined; isAgentLoopInProgress?: boolean | undefined; queuedMessages?: { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; } | undefined; hostId?: string | undefined; loopState?: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; } | null | undefined; }>; declare const DaemonAddUserMessageResultSchema: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; declare const DaemonResolveQueuedUserMessageResultSchema: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; declare const DaemonInterruptSessionResultSchema: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; declare const DaemonOpenedSessionInfoSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; hostId: z$1.ZodOptional; updatedAt: z$1.ZodNumber; workingState: z$1.ZodNativeEnum; cwd: z$1.ZodOptional; repoRoot: z$1.ZodOptional; messagesCount: z$1.ZodOptional; callingSessionId: z$1.ZodOptional; callingToolUseId: z$1.ZodOptional; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; }, "strip", z$1.ZodTypeAny, { updatedAt: number; sessionId: string; workingState: DroidWorkingState; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }, { updatedAt: number; sessionId: string; workingState: DroidWorkingState; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }>; declare const DaemonAvailableSessionInfoSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; hostId: z$1.ZodOptional; updatedAt: z$1.ZodNumber; title: z$1.ZodOptional; cwd: z$1.ZodOptional; repoRoot: z$1.ZodOptional; messagesCount: z$1.ZodOptional; archivedAt: z$1.ZodOptional; callingSessionId: z$1.ZodOptional; callingToolUseId: z$1.ZodOptional; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; mission: z$1.ZodOptional>; title: z$1.ZodNullable; workingDirectory: z$1.ZodNullable; createdAt: z$1.ZodNullable; elapsedMs: z$1.ZodNullable; completedFeatures: z$1.ZodNullable; totalFeatures: z$1.ZodNullable; }, "strip", z$1.ZodTypeAny, { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; }, { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; }>>; }, "strip", z$1.ZodTypeAny, { updatedAt: number; sessionId: string; title?: string | undefined; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; } | undefined; archivedAt?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }, { updatedAt: number; sessionId: string; title?: string | undefined; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; } | undefined; archivedAt?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }>; declare const DaemonListOpenedSessionsResultSchema: z$1.ZodObject<{ sessions: z$1.ZodArray; updatedAt: z$1.ZodNumber; workingState: z$1.ZodNativeEnum; cwd: z$1.ZodOptional; repoRoot: z$1.ZodOptional; messagesCount: z$1.ZodOptional; callingSessionId: z$1.ZodOptional; callingToolUseId: z$1.ZodOptional; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; }, "strip", z$1.ZodTypeAny, { updatedAt: number; sessionId: string; workingState: DroidWorkingState; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }, { updatedAt: number; sessionId: string; workingState: DroidWorkingState; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { sessions: { updatedAt: number; sessionId: string; workingState: DroidWorkingState; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }[]; }, { sessions: { updatedAt: number; sessionId: string; workingState: DroidWorkingState; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }[]; }>; declare const DaemonListAvailableSessionsResultSchema: z$1.ZodObject<{ sessions: z$1.ZodArray; updatedAt: z$1.ZodNumber; title: z$1.ZodOptional; cwd: z$1.ZodOptional; repoRoot: z$1.ZodOptional; messagesCount: z$1.ZodOptional; archivedAt: z$1.ZodOptional; callingSessionId: z$1.ZodOptional; callingToolUseId: z$1.ZodOptional; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; mission: z$1.ZodOptional>; title: z$1.ZodNullable; workingDirectory: z$1.ZodNullable; createdAt: z$1.ZodNullable; elapsedMs: z$1.ZodNullable; completedFeatures: z$1.ZodNullable; totalFeatures: z$1.ZodNullable; }, "strip", z$1.ZodTypeAny, { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; }, { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; }>>; }, "strip", z$1.ZodTypeAny, { updatedAt: number; sessionId: string; title?: string | undefined; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; } | undefined; archivedAt?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }, { updatedAt: number; sessionId: string; title?: string | undefined; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; } | undefined; archivedAt?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }>, "many">; hasMore: z$1.ZodBoolean; nextCursor: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessions: { updatedAt: number; sessionId: string; title?: string | undefined; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; } | undefined; archivedAt?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }[]; hasMore: boolean; nextCursor?: number | undefined; }, { sessions: { updatedAt: number; sessionId: string; title?: string | undefined; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; } | undefined; archivedAt?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }[]; hasMore: boolean; nextCursor?: number | undefined; }>; declare const DaemonGetSessionMessagesResultSchema: z$1.ZodObject<{ messages: z$1.ZodArray; content: z$1.ZodArray; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; signature: z$1.ZodString; signatureProvider: z$1.ZodOptional, z$1.ZodLiteral<"unknown">]>>; thinking: z$1.ZodString; durationMs: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; data: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; id: z$1.ZodString; input: z$1.ZodRecord; name: z$1.ZodString; thoughtSignature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; toolUseId: z$1.ZodString; content: z$1.ZodOptional; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">; createdAt: z$1.ZodNumber; updatedAt: z$1.ZodNumber; parentId: z$1.ZodOptional; userMessageSource: z$1.ZodOptional>; visibility: z$1.ZodOptional>; openaiMessageId: z$1.ZodOptional; openaiPhase: z$1.ZodOptional>>; openaiEncryptedContent: z$1.ZodOptional; openaiReasoningId: z$1.ZodOptional; openaiReasoningSummary: z$1.ZodOptional; geminiThoughtSignature: z$1.ZodOptional; chatCompletionReasoningField: z$1.ZodOptional>; chatCompletionReasoningContent: z$1.ZodOptional; isUserVisible: z$1.ZodOptional; isError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>, "many">; hasMore: z$1.ZodBoolean; nextCursor: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; hasMore: boolean; nextCursor?: string | undefined; }, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; hasMore: boolean; nextCursor?: string | undefined; }>; declare const DaemonUpdateSessionSettingsResultSchema: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; declare const DaemonGetUserInfoResultSchema: z$1.ZodObject<{ userId: z$1.ZodString; orgId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { userId: string; orgId: string; }, { userId: string; orgId: string; }>; declare const DaemonValidateWorkingDirectoryResultSchema: z$1.ZodObject<{ isValid: z$1.ZodBoolean; error: z$1.ZodOptional; resolvedPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { isValid: boolean; error?: string | undefined; resolvedPath?: string | undefined; }, { isValid: boolean; error?: string | undefined; resolvedPath?: string | undefined; }>; declare const DaemonRequestPermissionParamsSchema: z$1.ZodObject<{ toolUses: z$1.ZodArray; id: z$1.ZodString; input: z$1.ZodRecord; name: z$1.ZodString; thoughtSignature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>; confirmationType: z$1.ZodNativeEnum; details: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{ type: z$1.ZodLiteral; filePath: z$1.ZodString; fileName: z$1.ZodString; oldContent: z$1.ZodOptional; newContent: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; fullCommand: z$1.ZodString; command: z$1.ZodString; extractedCommands: z$1.ZodOptional>; impactLevel: z$1.ZodOptional; riskLevelReason: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; filePath: z$1.ZodString; fileName: z$1.ZodString; content: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; questionnaire: z$1.ZodString; parsed: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; }, "strip", z$1.ZodTypeAny, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }>>; parseError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { message: string; line?: number | undefined; }, { message: string; line?: number | undefined; }>>; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; plan: z$1.ZodString; title: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; proposal: z$1.ZodString; title: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; runningMissionCount: z$1.ZodNumber; runningMissionSessionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; filePath: z$1.ZodString; fileName: z$1.ZodString; patchContent: z$1.ZodString; oldContent: z$1.ZodOptional; newContent: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; toolName: z$1.ZodString; impactLevel: z$1.ZodString; serverName: z$1.ZodOptional; actualToolName: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; violatingToolName: z$1.ZodString; target: z$1.ZodString; operationType: z$1.ZodNativeEnum; violationType: z$1.ZodNativeEnum; reason: z$1.ZodString; violationReason: z$1.ZodOptional>; isOrgDeny: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }>, "many">; options: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { value: ToolConfirmationOutcome; label: string; }, { value: ToolConfirmationOutcome; label: string; }>, "many">; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { options: { value: ToolConfirmationOutcome; label: string; }[]; sessionId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }, { options: { value: ToolConfirmationOutcome; label: string; }[]; sessionId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }>; declare const DaemonRequestPermissionResultSchema: z$1.ZodIntersection; comment: z$1.ZodOptional; editedSpecContent: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { selectedOption: ToolConfirmationOutcome; comment?: string | undefined; editedSpecContent?: string | undefined; }, { selectedOption: ToolConfirmationOutcome; comment?: string | undefined; editedSpecContent?: string | undefined; }>, { selectedOption: ToolConfirmationOutcome; comment?: string | undefined; editedSpecContent?: string | undefined; }, { selectedOption: ToolConfirmationOutcome; comment?: string | undefined; editedSpecContent?: string | undefined; }>, z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>>; declare const DaemonAskUserParamsSchema: z$1.ZodObject<{ toolCallId: z$1.ZodString; questions: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }, { sessionId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }>; declare const DaemonAskUserResultSchema: z$1.ZodObject<{ cancelled: z$1.ZodOptional; answers: z$1.ZodArray, "many">; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; answers: { index: number; question: string; answer: string; }[]; cancelled?: boolean | undefined; }, { sessionId: string; answers: { index: number; question: string; answer: string; }[]; cancelled?: boolean | undefined; }>; declare const DaemonListFilesRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; showHidden: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { sessionId: string; showHidden: boolean; }, { sessionId: string; showHidden?: boolean | undefined; }>; declare const DaemonListFilesResultSchema: z$1.ZodObject<{ files: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { files: string[]; }, { files: string[]; }>; declare const DaemonListFilesRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; showHidden: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { sessionId: string; showHidden: boolean; }, { sessionId: string; showHidden?: boolean | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; showHidden: boolean; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_FILES; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; showHidden?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_FILES; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonListFilesResponseSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ files: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { files: string[]; }, { files: string[]; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { files: string[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { files: string[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonSearchFilesRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; query: z$1.ZodString; maxResults: z$1.ZodDefault>; showHidden: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { sessionId: string; query: string; showHidden: boolean; maxResults: number; }, { sessionId: string; query: string; showHidden?: boolean | undefined; maxResults?: number | undefined; }>; declare const DaemonSearchFilesResultSchema: z$1.ZodObject<{ files: z$1.ZodArray; totalFiles: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { files: string[]; totalFiles: number; }, { files: string[]; totalFiles: number; }>; declare const DaemonSearchFilesRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; query: z$1.ZodString; maxResults: z$1.ZodDefault>; showHidden: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { sessionId: string; query: string; showHidden: boolean; maxResults: number; }, { sessionId: string; query: string; showHidden?: boolean | undefined; maxResults?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; query: string; showHidden: boolean; maxResults: number; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SEARCH_FILES; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; query: string; showHidden?: boolean | undefined; maxResults?: number | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SEARCH_FILES; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonSearchFilesResponseSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ files: z$1.ZodArray; totalFiles: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { files: string[]; totalFiles: number; }, { files: string[]; totalFiles: number; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { files: string[]; totalFiles: number; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { files: string[]; totalFiles: number; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonSearchSessionsRequestParamsSchema: z$1.ZodObject<{ query: z$1.ZodString; kind: z$1.ZodOptional, z$1.ZodLiteral<"all">]>>; limitSessions: z$1.ZodOptional; limitHitsPerSession: z$1.ZodOptional; contextChars: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { query: string; kind?: SessionSearchDocKind | "all" | undefined; limitSessions?: number | undefined; limitHitsPerSession?: number | undefined; contextChars?: number | undefined; }, { query: string; kind?: SessionSearchDocKind | "all" | undefined; limitSessions?: number | undefined; limitHitsPerSession?: number | undefined; contextChars?: number | undefined; }>; declare const DaemonSearchSessionsHitSchema: z$1.ZodObject<{ docId: z$1.ZodString; kind: z$1.ZodNativeEnum; score: z$1.ZodOptional; toolName: z$1.ZodOptional; messageRole: z$1.ZodOptional>; snippets: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }, { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }>; declare const DaemonSearchSessionsSessionResultSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; title: z$1.ZodOptional; updatedAt: z$1.ZodOptional; hits: z$1.ZodArray; score: z$1.ZodOptional; toolName: z$1.ZodOptional; messageRole: z$1.ZodOptional>; snippets: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }, { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }>, "many">; totals: z$1.ZodOptional>; toolUse: z$1.ZodOptional>; toolResult: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; }, { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; }>>; }, "strip", z$1.ZodTypeAny, { sessionId: string; hits: { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }[]; updatedAt?: number | undefined; title?: string | undefined; totals?: { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; } | undefined; }, { sessionId: string; hits: { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }[]; updatedAt?: number | undefined; title?: string | undefined; totals?: { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; } | undefined; }>; declare const DaemonSearchSessionsResultSchema: z$1.ZodObject<{ query: z$1.ZodString; sessions: z$1.ZodArray; updatedAt: z$1.ZodOptional; hits: z$1.ZodArray; score: z$1.ZodOptional; toolName: z$1.ZodOptional; messageRole: z$1.ZodOptional>; snippets: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }, { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }>, "many">; totals: z$1.ZodOptional>; toolUse: z$1.ZodOptional>; toolResult: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; }, { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; }>>; }, "strip", z$1.ZodTypeAny, { sessionId: string; hits: { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }[]; updatedAt?: number | undefined; title?: string | undefined; totals?: { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; } | undefined; }, { sessionId: string; hits: { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }[]; updatedAt?: number | undefined; title?: string | undefined; totals?: { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; } | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { query: string; sessions: { sessionId: string; hits: { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }[]; updatedAt?: number | undefined; title?: string | undefined; totals?: { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; } | undefined; }[]; }, { query: string; sessions: { sessionId: string; hits: { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }[]; updatedAt?: number | undefined; title?: string | undefined; totals?: { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; } | undefined; }[]; }>; declare const DaemonSearchSessionsRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ query: z$1.ZodString; kind: z$1.ZodOptional, z$1.ZodLiteral<"all">]>>; limitSessions: z$1.ZodOptional; limitHitsPerSession: z$1.ZodOptional; contextChars: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { query: string; kind?: SessionSearchDocKind | "all" | undefined; limitSessions?: number | undefined; limitHitsPerSession?: number | undefined; contextChars?: number | undefined; }, { query: string; kind?: SessionSearchDocKind | "all" | undefined; limitSessions?: number | undefined; limitHitsPerSession?: number | undefined; contextChars?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { query: string; kind?: SessionSearchDocKind | "all" | undefined; limitSessions?: number | undefined; limitHitsPerSession?: number | undefined; contextChars?: number | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SEARCH_SESSIONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { query: string; kind?: SessionSearchDocKind | "all" | undefined; limitSessions?: number | undefined; limitHitsPerSession?: number | undefined; contextChars?: number | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SEARCH_SESSIONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonSearchSessionsResponseSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ query: z$1.ZodString; sessions: z$1.ZodArray; updatedAt: z$1.ZodOptional; hits: z$1.ZodArray; score: z$1.ZodOptional; toolName: z$1.ZodOptional; messageRole: z$1.ZodOptional>; snippets: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }, { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }>, "many">; totals: z$1.ZodOptional>; toolUse: z$1.ZodOptional>; toolResult: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; }, { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; }>>; }, "strip", z$1.ZodTypeAny, { sessionId: string; hits: { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }[]; updatedAt?: number | undefined; title?: string | undefined; totals?: { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; } | undefined; }, { sessionId: string; hits: { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }[]; updatedAt?: number | undefined; title?: string | undefined; totals?: { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; } | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { query: string; sessions: { sessionId: string; hits: { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }[]; updatedAt?: number | undefined; title?: string | undefined; totals?: { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; } | undefined; }[]; }, { query: string; sessions: { sessionId: string; hits: { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }[]; updatedAt?: number | undefined; title?: string | undefined; totals?: { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; } | undefined; }[]; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { query: string; sessions: { sessionId: string; hits: { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }[]; updatedAt?: number | undefined; title?: string | undefined; totals?: { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; } | undefined; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { query: string; sessions: { sessionId: string; hits: { kind: SessionSearchDocKind; docId: string; snippets: string[]; toolName?: string | undefined; score?: number | undefined; messageRole?: "user" | "assistant" | undefined; }[]; updatedAt?: number | undefined; title?: string | undefined; totals?: { toolUse?: Record | undefined; byKind?: Record | undefined; toolResult?: Record | undefined; } | undefined; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonArchiveSessionRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; declare const DaemonArchiveSessionResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; archivedAt: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { success: boolean; archivedAt: string; }, { success: boolean; archivedAt: string; }>; declare const DaemonArchiveSessionRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.ARCHIVE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.ARCHIVE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonArchiveSessionResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ success: z$1.ZodBoolean; archivedAt: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { success: boolean; archivedAt: string; }, { success: boolean; archivedAt: string; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; archivedAt: string; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; archivedAt: string; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonUnarchiveSessionRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; declare const DaemonUnarchiveSessionResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>; declare const DaemonUnarchiveSessionRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UNARCHIVE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UNARCHIVE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonUnarchiveSessionResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonRenameSessionRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; title: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { title: string; sessionId: string; }, { title: string; sessionId: string; }>; declare const DaemonRenameSessionResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>; declare const DaemonRenameSessionRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; title: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { title: string; sessionId: string; }, { title: string; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { title: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RENAME_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { title: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RENAME_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonRenameSessionResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodUnion<[z$1.ZodObject<{ accepted: z$1.ZodLiteral; }, "strip", z$1.ZodTypeAny, { accepted: true; }, { accepted: true; }>, z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>]>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { accepted: true; } | { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { accepted: true; } | { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonGetGitDiffRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; baseBranch: z$1.ZodOptional; statsOnly: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; baseBranch?: string | undefined; statsOnly?: boolean | undefined; }, { sessionId: string; baseBranch?: string | undefined; statsOnly?: boolean | undefined; }>; declare const DaemonGetGitDiffFileSchema: z$1.ZodObject<{ path: z$1.ZodString; additions: z$1.ZodNumber; deletions: z$1.ZodNumber; status: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { status: string; path: string; additions: number; deletions: number; }, { status: string; path: string; additions: number; deletions: number; }>; declare const DaemonGetGitDiffCommitSchema: z$1.ZodObject<{ hash: z$1.ZodString; message: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { message: string; hash: string; }, { message: string; hash: string; }>; declare const DaemonGetGitDiffDataSchema: z$1.ZodObject<{ diff: z$1.ZodString; branch: z$1.ZodString; baseBranch: z$1.ZodString; files: z$1.ZodArray, "many">; totalAdditions: z$1.ZodNumber; totalDeletions: z$1.ZodNumber; remoteUrl: z$1.ZodNullable; commits: z$1.ZodArray, "many">; committedDiff: z$1.ZodDefault; committedFiles: z$1.ZodDefault, "many">>; committedTotalAdditions: z$1.ZodDefault; committedTotalDeletions: z$1.ZodDefault; unstagedDiff: z$1.ZodDefault; unstagedFiles: z$1.ZodDefault, "many">>; unstagedTotalAdditions: z$1.ZodDefault; unstagedTotalDeletions: z$1.ZodDefault; }, "strip", z$1.ZodTypeAny, { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff: string; committedFiles: { status: string; path: string; additions: number; deletions: number; }[]; committedTotalAdditions: number; committedTotalDeletions: number; unstagedDiff: string; unstagedFiles: { status: string; path: string; additions: number; deletions: number; }[]; unstagedTotalAdditions: number; unstagedTotalDeletions: number; }, { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff?: string | undefined; committedFiles?: { status: string; path: string; additions: number; deletions: number; }[] | undefined; committedTotalAdditions?: number | undefined; committedTotalDeletions?: number | undefined; unstagedDiff?: string | undefined; unstagedFiles?: { status: string; path: string; additions: number; deletions: number; }[] | undefined; unstagedTotalAdditions?: number | undefined; unstagedTotalDeletions?: number | undefined; }>; declare const DaemonGetGitDiffSuccessResultSchema: z$1.ZodObject<{ success: z$1.ZodLiteral; data: z$1.ZodObject<{ diff: z$1.ZodString; branch: z$1.ZodString; baseBranch: z$1.ZodString; files: z$1.ZodArray, "many">; totalAdditions: z$1.ZodNumber; totalDeletions: z$1.ZodNumber; remoteUrl: z$1.ZodNullable; commits: z$1.ZodArray, "many">; committedDiff: z$1.ZodDefault; committedFiles: z$1.ZodDefault, "many">>; committedTotalAdditions: z$1.ZodDefault; committedTotalDeletions: z$1.ZodDefault; unstagedDiff: z$1.ZodDefault; unstagedFiles: z$1.ZodDefault, "many">>; unstagedTotalAdditions: z$1.ZodDefault; unstagedTotalDeletions: z$1.ZodDefault; }, "strip", z$1.ZodTypeAny, { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff: string; committedFiles: { status: string; path: string; additions: number; deletions: number; }[]; committedTotalAdditions: number; committedTotalDeletions: number; unstagedDiff: string; unstagedFiles: { status: string; path: string; additions: number; deletions: number; }[]; unstagedTotalAdditions: number; unstagedTotalDeletions: number; }, { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff?: string | undefined; committedFiles?: { status: string; path: string; additions: number; deletions: number; }[] | undefined; committedTotalAdditions?: number | undefined; committedTotalDeletions?: number | undefined; unstagedDiff?: string | undefined; unstagedFiles?: { status: string; path: string; additions: number; deletions: number; }[] | undefined; unstagedTotalAdditions?: number | undefined; unstagedTotalDeletions?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { success: true; data: { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff: string; committedFiles: { status: string; path: string; additions: number; deletions: number; }[]; committedTotalAdditions: number; committedTotalDeletions: number; unstagedDiff: string; unstagedFiles: { status: string; path: string; additions: number; deletions: number; }[]; unstagedTotalAdditions: number; unstagedTotalDeletions: number; }; }, { success: true; data: { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff?: string | undefined; committedFiles?: { status: string; path: string; additions: number; deletions: number; }[] | undefined; committedTotalAdditions?: number | undefined; committedTotalDeletions?: number | undefined; unstagedDiff?: string | undefined; unstagedFiles?: { status: string; path: string; additions: number; deletions: number; }[] | undefined; unstagedTotalAdditions?: number | undefined; unstagedTotalDeletions?: number | undefined; }; }>; declare const DaemonGetGitDiffUnavailableResultSchema: z$1.ZodObject<{ success: z$1.ZodLiteral; unavailableReason: z$1.ZodCatch>; unavailableMessage: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { success: false; unavailableReason: DaemonGetGitDiffUnavailableReason; unavailableMessage: string; }, { success: false; unavailableMessage: string; unavailableReason?: unknown; }>; declare const DaemonGetGitDiffResultSchema: z$1.ZodEffects; data: z$1.ZodObject<{ diff: z$1.ZodString; branch: z$1.ZodString; baseBranch: z$1.ZodString; files: z$1.ZodArray, "many">; totalAdditions: z$1.ZodNumber; totalDeletions: z$1.ZodNumber; remoteUrl: z$1.ZodNullable; commits: z$1.ZodArray, "many">; committedDiff: z$1.ZodDefault; committedFiles: z$1.ZodDefault, "many">>; committedTotalAdditions: z$1.ZodDefault; committedTotalDeletions: z$1.ZodDefault; unstagedDiff: z$1.ZodDefault; unstagedFiles: z$1.ZodDefault, "many">>; unstagedTotalAdditions: z$1.ZodDefault; unstagedTotalDeletions: z$1.ZodDefault; }, "strip", z$1.ZodTypeAny, { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff: string; committedFiles: { status: string; path: string; additions: number; deletions: number; }[]; committedTotalAdditions: number; committedTotalDeletions: number; unstagedDiff: string; unstagedFiles: { status: string; path: string; additions: number; deletions: number; }[]; unstagedTotalAdditions: number; unstagedTotalDeletions: number; }, { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff?: string | undefined; committedFiles?: { status: string; path: string; additions: number; deletions: number; }[] | undefined; committedTotalAdditions?: number | undefined; committedTotalDeletions?: number | undefined; unstagedDiff?: string | undefined; unstagedFiles?: { status: string; path: string; additions: number; deletions: number; }[] | undefined; unstagedTotalAdditions?: number | undefined; unstagedTotalDeletions?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { success: true; data: { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff: string; committedFiles: { status: string; path: string; additions: number; deletions: number; }[]; committedTotalAdditions: number; committedTotalDeletions: number; unstagedDiff: string; unstagedFiles: { status: string; path: string; additions: number; deletions: number; }[]; unstagedTotalAdditions: number; unstagedTotalDeletions: number; }; }, { success: true; data: { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff?: string | undefined; committedFiles?: { status: string; path: string; additions: number; deletions: number; }[] | undefined; committedTotalAdditions?: number | undefined; committedTotalDeletions?: number | undefined; unstagedDiff?: string | undefined; unstagedFiles?: { status: string; path: string; additions: number; deletions: number; }[] | undefined; unstagedTotalAdditions?: number | undefined; unstagedTotalDeletions?: number | undefined; }; }>, z$1.ZodObject<{ success: z$1.ZodLiteral; unavailableReason: z$1.ZodCatch>; unavailableMessage: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { success: false; unavailableReason: DaemonGetGitDiffUnavailableReason; unavailableMessage: string; }, { success: false; unavailableMessage: string; unavailableReason?: unknown; }>]>, { success: true; data: { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff: string; committedFiles: { status: string; path: string; additions: number; deletions: number; }[]; committedTotalAdditions: number; committedTotalDeletions: number; unstagedDiff: string; unstagedFiles: { status: string; path: string; additions: number; deletions: number; }[]; unstagedTotalAdditions: number; unstagedTotalDeletions: number; }; } | { success: false; unavailableReason: DaemonGetGitDiffUnavailableReason; unavailableMessage: string; }, unknown>; declare const DaemonGetGitDiffRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; baseBranch: z$1.ZodOptional; statsOnly: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; baseBranch?: string | undefined; statsOnly?: boolean | undefined; }, { sessionId: string; baseBranch?: string | undefined; statsOnly?: boolean | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; baseBranch?: string | undefined; statsOnly?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_GIT_DIFF; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; baseBranch?: string | undefined; statsOnly?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_GIT_DIFF; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonGetGitDiffResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodEffects; data: z$1.ZodObject<{ diff: z$1.ZodString; branch: z$1.ZodString; baseBranch: z$1.ZodString; files: z$1.ZodArray, "many">; totalAdditions: z$1.ZodNumber; totalDeletions: z$1.ZodNumber; remoteUrl: z$1.ZodNullable; commits: z$1.ZodArray, "many">; committedDiff: z$1.ZodDefault; committedFiles: z$1.ZodDefault, "many">>; committedTotalAdditions: z$1.ZodDefault; committedTotalDeletions: z$1.ZodDefault; unstagedDiff: z$1.ZodDefault; unstagedFiles: z$1.ZodDefault, "many">>; unstagedTotalAdditions: z$1.ZodDefault; unstagedTotalDeletions: z$1.ZodDefault; }, "strip", z$1.ZodTypeAny, { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff: string; committedFiles: { status: string; path: string; additions: number; deletions: number; }[]; committedTotalAdditions: number; committedTotalDeletions: number; unstagedDiff: string; unstagedFiles: { status: string; path: string; additions: number; deletions: number; }[]; unstagedTotalAdditions: number; unstagedTotalDeletions: number; }, { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff?: string | undefined; committedFiles?: { status: string; path: string; additions: number; deletions: number; }[] | undefined; committedTotalAdditions?: number | undefined; committedTotalDeletions?: number | undefined; unstagedDiff?: string | undefined; unstagedFiles?: { status: string; path: string; additions: number; deletions: number; }[] | undefined; unstagedTotalAdditions?: number | undefined; unstagedTotalDeletions?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { success: true; data: { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff: string; committedFiles: { status: string; path: string; additions: number; deletions: number; }[]; committedTotalAdditions: number; committedTotalDeletions: number; unstagedDiff: string; unstagedFiles: { status: string; path: string; additions: number; deletions: number; }[]; unstagedTotalAdditions: number; unstagedTotalDeletions: number; }; }, { success: true; data: { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff?: string | undefined; committedFiles?: { status: string; path: string; additions: number; deletions: number; }[] | undefined; committedTotalAdditions?: number | undefined; committedTotalDeletions?: number | undefined; unstagedDiff?: string | undefined; unstagedFiles?: { status: string; path: string; additions: number; deletions: number; }[] | undefined; unstagedTotalAdditions?: number | undefined; unstagedTotalDeletions?: number | undefined; }; }>, z$1.ZodObject<{ success: z$1.ZodLiteral; unavailableReason: z$1.ZodCatch>; unavailableMessage: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { success: false; unavailableReason: DaemonGetGitDiffUnavailableReason; unavailableMessage: string; }, { success: false; unavailableMessage: string; unavailableReason?: unknown; }>]>, { success: true; data: { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff: string; committedFiles: { status: string; path: string; additions: number; deletions: number; }[]; committedTotalAdditions: number; committedTotalDeletions: number; unstagedDiff: string; unstagedFiles: { status: string; path: string; additions: number; deletions: number; }[]; unstagedTotalAdditions: number; unstagedTotalDeletions: number; }; } | { success: false; unavailableReason: DaemonGetGitDiffUnavailableReason; unavailableMessage: string; }, unknown>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: true; data: { files: { status: string; path: string; additions: number; deletions: number; }[]; branch: string; diff: string; baseBranch: string; totalAdditions: number; totalDeletions: number; remoteUrl: string | null; commits: { message: string; hash: string; }[]; committedDiff: string; committedFiles: { status: string; path: string; additions: number; deletions: number; }[]; committedTotalAdditions: number; committedTotalDeletions: number; unstagedDiff: string; unstagedFiles: { status: string; path: string; additions: number; deletions: number; }[]; unstagedTotalAdditions: number; unstagedTotalDeletions: number; }; } | { success: false; unavailableReason: DaemonGetGitDiffUnavailableReason; unavailableMessage: string; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonGitPushRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; declare const DaemonGitPushResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>; declare const DaemonGitPushRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GIT_PUSH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GIT_PUSH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonGitPushResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonGitCommitRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; message: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { message: string; sessionId: string; }, { message: string; sessionId: string; }>; declare const DaemonGitCommitResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>; declare const DaemonGitCommitRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; message: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { message: string; sessionId: string; }, { message: string; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { message: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GIT_COMMIT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { message: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GIT_COMMIT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonGitCommitResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonCreatePRRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; title: z$1.ZodString; body: z$1.ZodOptional; baseBranch: z$1.ZodString; draft: z$1.ZodOptional; linkedTicketIds: z$1.ZodOptional>; linkedTicketUrls: z$1.ZodOptional>; jiraIssueKeys: z$1.ZodOptional>; linearIssueIds: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { title: string; sessionId: string; baseBranch: string; body?: string | undefined; draft?: boolean | undefined; linkedTicketIds?: string[] | undefined; linkedTicketUrls?: string[] | undefined; jiraIssueKeys?: string[] | undefined; linearIssueIds?: string[] | undefined; }, { title: string; sessionId: string; baseBranch: string; body?: string | undefined; draft?: boolean | undefined; linkedTicketIds?: string[] | undefined; linkedTicketUrls?: string[] | undefined; jiraIssueKeys?: string[] | undefined; linearIssueIds?: string[] | undefined; }>; declare const DaemonCreatePRResultSchema: z$1.ZodObject<{ number: z$1.ZodNumber; title: z$1.ZodString; url: z$1.ZodString; state: z$1.ZodString; draft: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { number: number; url: string; title: string; state: string; draft: boolean; }, { number: number; url: string; title: string; state: string; draft: boolean; }>; declare const DaemonCreatePRRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; title: z$1.ZodString; body: z$1.ZodOptional; baseBranch: z$1.ZodString; draft: z$1.ZodOptional; linkedTicketIds: z$1.ZodOptional>; linkedTicketUrls: z$1.ZodOptional>; jiraIssueKeys: z$1.ZodOptional>; linearIssueIds: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { title: string; sessionId: string; baseBranch: string; body?: string | undefined; draft?: boolean | undefined; linkedTicketIds?: string[] | undefined; linkedTicketUrls?: string[] | undefined; jiraIssueKeys?: string[] | undefined; linearIssueIds?: string[] | undefined; }, { title: string; sessionId: string; baseBranch: string; body?: string | undefined; draft?: boolean | undefined; linkedTicketIds?: string[] | undefined; linkedTicketUrls?: string[] | undefined; jiraIssueKeys?: string[] | undefined; linearIssueIds?: string[] | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { title: string; sessionId: string; baseBranch: string; body?: string | undefined; draft?: boolean | undefined; linkedTicketIds?: string[] | undefined; linkedTicketUrls?: string[] | undefined; jiraIssueKeys?: string[] | undefined; linearIssueIds?: string[] | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CREATE_PR; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { title: string; sessionId: string; baseBranch: string; body?: string | undefined; draft?: boolean | undefined; linkedTicketIds?: string[] | undefined; linkedTicketUrls?: string[] | undefined; jiraIssueKeys?: string[] | undefined; linearIssueIds?: string[] | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CREATE_PR; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonCreatePRResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ number: z$1.ZodNumber; title: z$1.ZodString; url: z$1.ZodString; state: z$1.ZodString; draft: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { number: number; url: string; title: string; state: string; draft: boolean; }, { number: number; url: string; title: string; state: string; draft: boolean; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { number: number; url: string; title: string; state: string; draft: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { number: number; url: string; title: string; state: string; draft: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonGetSemanticDiffCacheRequestParamsSchema: z$1.ZodObject<{ currentBranch: z$1.ZodString; baseBranch: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { baseBranch: string; currentBranch: string; }, { baseBranch: string; currentBranch: string; }>; declare const DaemonGetSemanticDiffCacheResultSchema: z$1.ZodObject<{ content: z$1.ZodNullable; commitHash: z$1.ZodNullable; truncated: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { content: string | null; commitHash: string | null; truncated: boolean; }, { content: string | null; commitHash: string | null; truncated: boolean; }>; declare const DaemonGetSemanticDiffCacheRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ currentBranch: z$1.ZodString; baseBranch: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { baseBranch: string; currentBranch: string; }, { baseBranch: string; currentBranch: string; }>; }, "strip", z$1.ZodTypeAny, { params: { baseBranch: string; currentBranch: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_SEMANTIC_DIFF_CACHE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { baseBranch: string; currentBranch: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_SEMANTIC_DIFF_CACHE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonGetSemanticDiffCacheResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ content: z$1.ZodNullable; commitHash: z$1.ZodNullable; truncated: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { content: string | null; commitHash: string | null; truncated: boolean; }, { content: string | null; commitHash: string | null; truncated: boolean; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { content: string | null; commitHash: string | null; truncated: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { content: string | null; commitHash: string | null; truncated: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonSaveSemanticDiffCacheRequestParamsSchema: z$1.ZodObject<{ currentBranch: z$1.ZodString; baseBranch: z$1.ZodString; commitHash: z$1.ZodString; content: z$1.ZodString; truncated: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { content: string; baseBranch: string; currentBranch: string; commitHash: string; truncated: boolean; }, { content: string; baseBranch: string; currentBranch: string; commitHash: string; truncated: boolean; }>; declare const DaemonSaveSemanticDiffCacheResultSchema: z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>; declare const DaemonSaveSemanticDiffCacheRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ currentBranch: z$1.ZodString; baseBranch: z$1.ZodString; commitHash: z$1.ZodString; content: z$1.ZodString; truncated: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { content: string; baseBranch: string; currentBranch: string; commitHash: string; truncated: boolean; }, { content: string; baseBranch: string; currentBranch: string; commitHash: string; truncated: boolean; }>; }, "strip", z$1.ZodTypeAny, { params: { content: string; baseBranch: string; currentBranch: string; commitHash: string; truncated: boolean; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SAVE_SEMANTIC_DIFF_CACHE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { content: string; baseBranch: string; currentBranch: string; commitHash: string; truncated: boolean; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SAVE_SEMANTIC_DIFF_CACHE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonSaveSemanticDiffCacheResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ success: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { success: boolean; }, { success: boolean; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { success: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonGenerateSemanticDiffRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; diff: z$1.ZodString; baseBranch: z$1.ZodString; currentBranch: z$1.ZodString; commitHash: z$1.ZodOptional; modelId: z$1.ZodOptional; unstagedDiff: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; diff: string; baseBranch: string; currentBranch: string; modelId?: string | undefined; unstagedDiff?: string | undefined; commitHash?: string | undefined; }, { sessionId: string; diff: string; baseBranch: string; currentBranch: string; modelId?: string | undefined; unstagedDiff?: string | undefined; commitHash?: string | undefined; }>; declare const DaemonGenerateSemanticDiffResultSchema: z$1.ZodObject<{ content: z$1.ZodString; truncated: z$1.ZodBoolean; sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { content: string; sessionId: string; truncated: boolean; }, { content: string; sessionId: string; truncated: boolean; }>; declare const DaemonGenerateSemanticDiffRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; diff: z$1.ZodString; baseBranch: z$1.ZodString; currentBranch: z$1.ZodString; commitHash: z$1.ZodOptional; modelId: z$1.ZodOptional; unstagedDiff: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; diff: string; baseBranch: string; currentBranch: string; modelId?: string | undefined; unstagedDiff?: string | undefined; commitHash?: string | undefined; }, { sessionId: string; diff: string; baseBranch: string; currentBranch: string; modelId?: string | undefined; unstagedDiff?: string | undefined; commitHash?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; diff: string; baseBranch: string; currentBranch: string; modelId?: string | undefined; unstagedDiff?: string | undefined; commitHash?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GENERATE_SEMANTIC_DIFF; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; diff: string; baseBranch: string; currentBranch: string; modelId?: string | undefined; unstagedDiff?: string | undefined; commitHash?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GENERATE_SEMANTIC_DIFF; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonGenerateSemanticDiffResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ content: z$1.ZodString; truncated: z$1.ZodBoolean; sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { content: string; sessionId: string; truncated: boolean; }, { content: string; sessionId: string; truncated: boolean; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { content: string; sessionId: string; truncated: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { content: string; sessionId: string; truncated: boolean; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonGetProxyTokenResultSchema: z$1.ZodObject<{ token: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { token: string; }, { token: string; }>; declare const DaemonGetProxyTokenRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; params: z$1.ZodOptional; } & { method: z$1.ZodLiteral; }, "strip", z$1.ZodTypeAny, { type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_PROXY_TOKEN; params?: unknown; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_PROXY_TOKEN; params?: unknown; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonGetProxyTokenResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ token: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { token: string; }, { token: string; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { token: string; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { token: string; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonGetWorkspaceFileContentResultSchema: z$1.ZodObject<{ content: z$1.ZodString; byteLength: z$1.ZodNumber; /** * Encoding of `content`: decoded text (`utf8`) or raw bytes (`base64`). * Optional for protocol back-compat; absent responses are treated as * `utf8` by the client. */ encoding: z$1.ZodOptional>; /** Best-effort MIME type derived from the file extension, when known. */ mimeType: z$1.ZodOptional; /** * Set when a `utf8` request targeted a file whose bytes are not valid text * (e.g. a binary file opened by the generic code renderer). The client * shows a "binary file" guard instead of rendering garbage. */ isBinary: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { content: string; byteLength: number; encoding?: "base64" | "utf8" | undefined; mimeType?: string | undefined; isBinary?: boolean | undefined; }, { content: string; byteLength: number; encoding?: "base64" | "utf8" | undefined; mimeType?: string | undefined; isBinary?: boolean | undefined; }>; declare const DaemonGetWorkspaceFileContentRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; filePath: z$1.ZodString; /** * How the file bytes should be encoded in the response. `utf8` (default) * returns decoded text for source/markdown previews; `base64` returns the * raw bytes for binary previews (PDF, images) that the client turns into a * blob URL. */ encoding: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { filePath: string; sessionId: string; encoding?: "base64" | "utf8" | undefined; }, { filePath: string; sessionId: string; encoding?: "base64" | "utf8" | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { filePath: string; sessionId: string; encoding?: "base64" | "utf8" | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_WORKSPACE_FILE_CONTENT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { filePath: string; sessionId: string; encoding?: "base64" | "utf8" | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_WORKSPACE_FILE_CONTENT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonGetWorkspaceFileContentResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ content: z$1.ZodString; byteLength: z$1.ZodNumber; /** * Encoding of `content`: decoded text (`utf8`) or raw bytes (`base64`). * Optional for protocol back-compat; absent responses are treated as * `utf8` by the client. */ encoding: z$1.ZodOptional>; /** Best-effort MIME type derived from the file extension, when known. */ mimeType: z$1.ZodOptional; /** * Set when a `utf8` request targeted a file whose bytes are not valid text * (e.g. a binary file opened by the generic code renderer). The client * shows a "binary file" guard instead of rendering garbage. */ isBinary: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { content: string; byteLength: number; encoding?: "base64" | "utf8" | undefined; mimeType?: string | undefined; isBinary?: boolean | undefined; }, { content: string; byteLength: number; encoding?: "base64" | "utf8" | undefined; mimeType?: string | undefined; isBinary?: boolean | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { content: string; byteLength: number; encoding?: "base64" | "utf8" | undefined; mimeType?: string | undefined; isBinary?: boolean | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { content: string; byteLength: number; encoding?: "base64" | "utf8" | undefined; mimeType?: string | undefined; isBinary?: boolean | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonGetRewindInfoResultSchema: z$1.ZodObject<{ availableFiles: z$1.ZodArray, "many">; createdFiles: z$1.ZodArray, "many">; evictedFiles: z$1.ZodArray, "many">; }, "strip", z$1.ZodTypeAny, { availableFiles: { filePath: string; contentHash: string; size: number; }[]; createdFiles: { filePath: string; }[]; evictedFiles: { reason: string; filePath: string; }[]; }, { availableFiles: { filePath: string; contentHash: string; size: number; }[]; createdFiles: { filePath: string; }[]; evictedFiles: { reason: string; filePath: string; }[]; }>; declare const DaemonGetRewindInfoRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; messageId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; messageId: string; }, { sessionId: string; messageId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; messageId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_REWIND_INFO; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; messageId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_REWIND_INFO; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonGetRewindInfoResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ availableFiles: z$1.ZodArray, "many">; createdFiles: z$1.ZodArray, "many">; evictedFiles: z$1.ZodArray, "many">; }, "strip", z$1.ZodTypeAny, { availableFiles: { filePath: string; contentHash: string; size: number; }[]; createdFiles: { filePath: string; }[]; evictedFiles: { reason: string; filePath: string; }[]; }, { availableFiles: { filePath: string; contentHash: string; size: number; }[]; createdFiles: { filePath: string; }[]; evictedFiles: { reason: string; filePath: string; }[]; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { availableFiles: { filePath: string; contentHash: string; size: number; }[]; createdFiles: { filePath: string; }[]; evictedFiles: { reason: string; filePath: string; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { availableFiles: { filePath: string; contentHash: string; size: number; }[]; createdFiles: { filePath: string; }[]; evictedFiles: { reason: string; filePath: string; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonExecuteRewindResultSchema: z$1.ZodObject<{ newSessionId: z$1.ZodString; restoredCount: z$1.ZodNumber; deletedCount: z$1.ZodNumber; failedRestoreCount: z$1.ZodNumber; failedDeleteCount: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { newSessionId: string; restoredCount: number; deletedCount: number; failedRestoreCount: number; failedDeleteCount: number; }, { newSessionId: string; restoredCount: number; deletedCount: number; failedRestoreCount: number; failedDeleteCount: number; }>; declare const DaemonExecuteRewindRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; messageId: z$1.ZodString; filesToRestore: z$1.ZodArray, "many">; filesToDelete: z$1.ZodArray, "many">; forkTitle: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; messageId: string; filesToRestore: { filePath: string; contentHash: string; size: number; }[]; filesToDelete: { filePath: string; }[]; forkTitle: string; }, { sessionId: string; messageId: string; filesToRestore: { filePath: string; contentHash: string; size: number; }[]; filesToDelete: { filePath: string; }[]; forkTitle: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; messageId: string; filesToRestore: { filePath: string; contentHash: string; size: number; }[]; filesToDelete: { filePath: string; }[]; forkTitle: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.EXECUTE_REWIND; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; messageId: string; filesToRestore: { filePath: string; contentHash: string; size: number; }[]; filesToDelete: { filePath: string; }[]; forkTitle: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.EXECUTE_REWIND; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonExecuteRewindResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ newSessionId: z$1.ZodString; restoredCount: z$1.ZodNumber; deletedCount: z$1.ZodNumber; failedRestoreCount: z$1.ZodNumber; failedDeleteCount: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { newSessionId: string; restoredCount: number; deletedCount: number; failedRestoreCount: number; failedDeleteCount: number; }, { newSessionId: string; restoredCount: number; deletedCount: number; failedRestoreCount: number; failedDeleteCount: number; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { newSessionId: string; restoredCount: number; deletedCount: number; failedRestoreCount: number; failedDeleteCount: number; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { newSessionId: string; restoredCount: number; deletedCount: number; failedRestoreCount: number; failedDeleteCount: number; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonCompactSessionRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; customInstructions: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; customInstructions?: string | undefined; }, { sessionId: string; customInstructions?: string | undefined; }>; declare const DaemonCompactSessionResultSchema: z$1.ZodObject<{ newSessionId: z$1.ZodString; removedCount: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { newSessionId: string; removedCount: number; }, { newSessionId: string; removedCount: number; }>; declare const DaemonCompactSessionRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; customInstructions: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; customInstructions?: string | undefined; }, { sessionId: string; customInstructions?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; customInstructions?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.COMPACT_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; customInstructions?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.COMPACT_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonCompactSessionResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ newSessionId: z$1.ZodString; removedCount: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { newSessionId: string; removedCount: number; }, { newSessionId: string; removedCount: number; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { newSessionId: string; removedCount: number; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { newSessionId: string; removedCount: number; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonForkSessionRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; title: z$1.ZodOptional; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; }, "strip", z$1.ZodTypeAny, { sessionId: string; title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }, { sessionId: string; title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }>; declare const DaemonForkSessionResultSchema: z$1.ZodObject<{ newSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { newSessionId: string; }, { newSessionId: string; }>; declare const DaemonForkSessionRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; title: z$1.ZodOptional; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; }, "strip", z$1.ZodTypeAny, { sessionId: string; title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }, { sessionId: string; title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.FORK_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.FORK_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonForkSessionResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ newSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { newSessionId: string; }, { newSessionId: string; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { newSessionId: string; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { newSessionId: string; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonWarmupCacheRequestParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; declare const DaemonWarmupCacheRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.WARMUP_CACHE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.WARMUP_CACHE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonWarmupCacheResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonGetContextBreakdownResultSchema: z$1.ZodObject<{ modelId: z$1.ZodString; modelDisplayName: z$1.ZodString; contextBudget: z$1.ZodNumber; lastCallCompactionTokens: z$1.ZodOptional; usedTokens: z$1.ZodNumber; freeTokens: z$1.ZodNumber; categories: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { name: string; tokens: number; colorKey: ContextCategoryColorKey; }, { name: string; tokens: number; colorKey: ContextCategoryColorKey; }>, "many">; skills: z$1.ZodArray; tokens: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { name: string; location: SkillLocation; tokens: number; }, { name: string; location: SkillLocation; tokens: number; }>, "many">; mcpServers: z$1.ZodArray, "many">; droids: z$1.ZodArray; tokens: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { name: string; location: DroidLocation; tokens: number; }, { name: string; location: DroidLocation; tokens: number; }>, "many">; }, "strip", z$1.ZodTypeAny, { modelId: string; mcpServers: { name: string; toolCount: number; tokens: number; }[]; skills: { name: string; location: SkillLocation; tokens: number; }[]; modelDisplayName: string; contextBudget: number; usedTokens: number; freeTokens: number; categories: { name: string; tokens: number; colorKey: ContextCategoryColorKey; }[]; droids: { name: string; location: DroidLocation; tokens: number; }[]; lastCallCompactionTokens?: number | undefined; }, { modelId: string; mcpServers: { name: string; toolCount: number; tokens: number; }[]; skills: { name: string; location: SkillLocation; tokens: number; }[]; modelDisplayName: string; contextBudget: number; usedTokens: number; freeTokens: number; categories: { name: string; tokens: number; colorKey: ContextCategoryColorKey; }[]; droids: { name: string; location: DroidLocation; tokens: number; }[]; lastCallCompactionTokens?: number | undefined; }>; declare const DaemonGetContextBreakdownRequestSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_CONTEXT_BREAKDOWN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_CONTEXT_BREAKDOWN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonGetContextBreakdownResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ modelId: z$1.ZodString; modelDisplayName: z$1.ZodString; contextBudget: z$1.ZodNumber; lastCallCompactionTokens: z$1.ZodOptional; usedTokens: z$1.ZodNumber; freeTokens: z$1.ZodNumber; categories: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { name: string; tokens: number; colorKey: ContextCategoryColorKey; }, { name: string; tokens: number; colorKey: ContextCategoryColorKey; }>, "many">; skills: z$1.ZodArray; tokens: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { name: string; location: SkillLocation; tokens: number; }, { name: string; location: SkillLocation; tokens: number; }>, "many">; mcpServers: z$1.ZodArray, "many">; droids: z$1.ZodArray; tokens: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { name: string; location: DroidLocation; tokens: number; }, { name: string; location: DroidLocation; tokens: number; }>, "many">; }, "strip", z$1.ZodTypeAny, { modelId: string; mcpServers: { name: string; toolCount: number; tokens: number; }[]; skills: { name: string; location: SkillLocation; tokens: number; }[]; modelDisplayName: string; contextBudget: number; usedTokens: number; freeTokens: number; categories: { name: string; tokens: number; colorKey: ContextCategoryColorKey; }[]; droids: { name: string; location: DroidLocation; tokens: number; }[]; lastCallCompactionTokens?: number | undefined; }, { modelId: string; mcpServers: { name: string; toolCount: number; tokens: number; }[]; skills: { name: string; location: SkillLocation; tokens: number; }[]; modelDisplayName: string; contextBudget: number; usedTokens: number; freeTokens: number; categories: { name: string; tokens: number; colorKey: ContextCategoryColorKey; }[]; droids: { name: string; location: DroidLocation; tokens: number; }[]; lastCallCompactionTokens?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { modelId: string; mcpServers: { name: string; toolCount: number; tokens: number; }[]; skills: { name: string; location: SkillLocation; tokens: number; }[]; modelDisplayName: string; contextBudget: number; usedTokens: number; freeTokens: number; categories: { name: string; tokens: number; colorKey: ContextCategoryColorKey; }[]; droids: { name: string; location: DroidLocation; tokens: number; }[]; lastCallCompactionTokens?: number | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { modelId: string; mcpServers: { name: string; toolCount: number; tokens: number; }[]; skills: { name: string; location: SkillLocation; tokens: number; }[]; modelDisplayName: string; contextBudget: number; usedTokens: number; freeTokens: number; categories: { name: string; tokens: number; colorKey: ContextCategoryColorKey; }[]; droids: { name: string; location: DroidLocation; tokens: number; }[]; lastCallCompactionTokens?: number | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonRequestSchema: z$1.ZodDiscriminatedUnion<"method", [z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ machineId: z$1.ZodString; cwd: z$1.ZodString; workspaceId: z$1.ZodOptional; sessionId: z$1.ZodOptional; mcpServers: z$1.ZodOptional>; env: z$1.ZodDefault>>; }, "strip", z$1.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; autonomyMode: z$1.ZodOptional>; interactionMode: z$1.ZodCatch>>; autonomyLevel: z$1.ZodCatch>>; modelId: z$1.ZodOptional; reasoningEffort: z$1.ZodOptional>; specModeModelId: z$1.ZodOptional; specModeReasoningEffort: z$1.ZodOptional>; missionSettings: z$1.ZodOptional; workerReasoningEffort: z$1.ZodOptional>; validationWorkerModel: z$1.ZodOptional; validationWorkerReasoningEffort: z$1.ZodOptional>; skipScrutiny: z$1.ZodOptional; skipUserTesting: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; compactionThresholdCheckEnabled: z$1.ZodOptional; decompSessionType: z$1.ZodOptional>; decompMissionId: z$1.ZodOptional; skipPermissionsUnsafe: z$1.ZodOptional; sessionLocation: z$1.ZodOptional; sessionSource: z$1.ZodOptional; teamId: z$1.ZodOptional>; channel: z$1.ZodOptional>; threadTs: z$1.ZodOptional>; userId: z$1.ZodOptional>; } & { delegationSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; }, { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; } & { delegationSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.Web; delegationSessionId: string; }, { platform: SessionPlatform.Web; delegationSessionId: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; } & { delegationSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.Api; delegationSessionId: string; }, { platform: SessionPlatform.Api; delegationSessionId: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; } & { delegationSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.SessionsApi; delegationSessionId: string; }, { platform: SessionPlatform.SessionsApi; delegationSessionId: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; agentSessionId: z$1.ZodString; issueId: z$1.ZodOptional>; issueUrl: z$1.ZodOptional>; issueIdentifier: z$1.ZodOptional>; organizationId: z$1.ZodOptional>; userId: z$1.ZodOptional>; } & { delegationSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; }, { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; reportId: z$1.ZodString; repoUrl: z$1.ZodString; criterionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; }, { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; repoUrl: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; }, { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; automationId: z$1.ZodString; computerId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.Automation; computerId: string; automationId: string; }, { platform: SessionPlatform.Automation; computerId: string; automationId: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; repoUrl: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.WikiGeneration; repoUrl: string; }, { platform: SessionPlatform.WikiGeneration; repoUrl: string; }>, z$1.ZodObject<{ platform: z$1.ZodLiteral; repoUrl: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { platform: SessionPlatform.WikiCISetup; repoUrl: string; }, { platform: SessionPlatform.WikiCISetup; repoUrl: string; }>]>>; sessionOriginHint: z$1.ZodOptional>; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; mcpOAuthCallbackUri: z$1.ZodOptional; worktree: z$1.ZodOptional; worktreeDir: z$1.ZodOptional; } & { enabledToolIds: z$1.ZodOptional>; disabledToolIds: z$1.ZodOptional>; } & { token: z$1.ZodString; inactivityTimeoutMs: z$1.ZodOptional; disableInactivityTimeout: z$1.ZodOptional; runtimeSettingsPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { machineId: string; cwd: string; token: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; inactivityTimeoutMs?: number | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }, { machineId: string; cwd: string; token: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; inactivityTimeoutMs?: number | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { machineId: string; cwd: string; token: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; inactivityTimeoutMs?: number | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.INITIALIZE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { machineId: string; cwd: string; token: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; workspaceId?: string | undefined; sessionId?: string | undefined; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; decompSessionType?: DecompSessionType | undefined; decompMissionId?: string | undefined; skipPermissionsUnsafe?: boolean | undefined; sessionLocation?: string | undefined; sessionSource?: { platform: SessionPlatform.ReadinessRemediation; reportId: string; repoUrl: string; criterionId: string; } | { platform: SessionPlatform.ReadinessEvaluation; repoUrl: string; } | { platform: SessionPlatform.Automation; computerId: string; automationId: string; } | { platform: SessionPlatform.WikiGeneration; repoUrl: string; } | { platform: SessionPlatform.WikiCISetup; repoUrl: string; } | { platform: SessionPlatform.Slack; delegationSessionId: string; userId?: string | null | undefined; teamId?: string | null | undefined; channel?: string | null | undefined; threadTs?: string | null | undefined; } | { platform: SessionPlatform.Web; delegationSessionId: string; } | { platform: SessionPlatform.Api; delegationSessionId: string; } | { platform: SessionPlatform.SessionsApi; delegationSessionId: string; } | { platform: SessionPlatform.Linear; agentSessionId: string; delegationSessionId: string; userId?: string | null | undefined; issueId?: string | null | undefined; issueUrl?: string | null | undefined; issueIdentifier?: string | null | undefined; organizationId?: string | null | undefined; } | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; mcpOAuthCallbackUri?: string | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; sessionOriginHint?: SessionOrigin | undefined; worktree?: boolean | undefined; worktreeDir?: string | undefined; inactivityTimeoutMs?: number | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.INITIALIZE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; mcpServers: z$1.ZodOptional>; env: z$1.ZodDefault>>; }, "strip", z$1.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; loadAllMessages: z$1.ZodOptional; mcpOAuthCallbackUri: z$1.ZodOptional; } & { disableInactivityTimeout: z$1.ZodOptional; skipPermissionsUnsafe: z$1.ZodOptional; runtimeSettingsPath: z$1.ZodOptional; } & { token: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; token: string; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; skipPermissionsUnsafe?: boolean | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }, { sessionId: string; token: string; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; skipPermissionsUnsafe?: boolean | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; token: string; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; skipPermissionsUnsafe?: boolean | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LOAD_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; token: string; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; skipPermissionsUnsafe?: boolean | undefined; mcpOAuthCallbackUri?: string | undefined; loadAllMessages?: boolean | undefined; disableInactivityTimeout?: boolean | undefined; runtimeSettingsPath?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LOAD_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ messageId: z$1.ZodOptional; text: z$1.ZodString; images: z$1.ZodOptional; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>, "many">>; files: z$1.ZodOptional; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>, "many">>; outputFormat: z$1.ZodOptional; schema: z$1.ZodRecord; }, "strip", z$1.ZodTypeAny, { type: "json_schema"; schema: Record; }, { type: "json_schema"; schema: Record; }>>; skipAgentLoop: z$1.ZodOptional; queuePlacement: z$1.ZodOptional>; role: z$1.ZodOptional>; visibility: z$1.ZodOptional>; userMessageSource: z$1.ZodOptional>; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; sessionId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }, { text: string; sessionId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { text: string; sessionId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.ADD_USER_MESSAGE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { text: string; sessionId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.ADD_USER_MESSAGE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodIntersection; queuePlacement: z$1.ZodNativeEnum; }, "strip", z$1.ZodTypeAny, { action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; }, { action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; }>, z$1.ZodObject<{ requestId: z$1.ZodString; action: z$1.ZodLiteral; }, "strip", z$1.ZodTypeAny, { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }, { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }>]>, z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>>; }, "strip", z$1.ZodTypeAny, { params: ({ action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; } | { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }) & { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RESOLVE_QUEUED_USER_MESSAGE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: ({ action: ResolveQueuedUserMessageAction.UpdateQueue; requestId: string; queuePlacement: QueuePlacement; } | { action: ResolveQueuedUserMessageAction.Delete; requestId: string; }) & { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RESOLVE_QUEUED_USER_MESSAGE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.INTERRUPT_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.INTERRUPT_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CLOSE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CLOSE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ /** The orchestrator session ID (where the mission is running) */ sessionId: z$1.ZodString; } & { workerSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { workerSessionId: string; sessionId: string; }, { workerSessionId: string; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { workerSessionId: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.KILL_WORKER_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { workerSessionId: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.KILL_WORKER_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ filter: z$1.ZodOptional; includeBtwForks: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; }, { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; }>>; }, "strip", z$1.ZodTypeAny, { filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; } | undefined; }, { filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; } | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; } | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_OPENED_SESSIONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; } | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_OPENED_SESSIONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ limit: z$1.ZodDefault; endBefore: z$1.ZodOptional; includeMissionMetadata: z$1.ZodOptional; filter: z$1.ZodOptional; includeBtwForks: z$1.ZodOptional; } & { missionStates: z$1.ZodOptional, "many">>; }, "strip", z$1.ZodTypeAny, { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; }, { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; }>>; }, "strip", z$1.ZodTypeAny, { limit: number; filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; } | undefined; endBefore?: number | undefined; includeMissionMetadata?: boolean | undefined; }, { filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; } | undefined; limit?: number | undefined; endBefore?: number | undefined; includeMissionMetadata?: boolean | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { limit: number; filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; } | undefined; endBefore?: number | undefined; includeMissionMetadata?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_AVAILABLE_SESSIONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { filter?: { missionSessions?: boolean | undefined; includeBtwForks?: boolean | undefined; missionStates?: MissionState[] | undefined; } | undefined; limit?: number | undefined; endBefore?: number | undefined; includeMissionMetadata?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_AVAILABLE_SESSIONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; limit: z$1.ZodDefault; cursor: z$1.ZodOptional; role: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { limit: number; sessionId: string; role?: MessageRoleNoSystem | undefined; cursor?: string | undefined; }, { sessionId: string; role?: MessageRoleNoSystem | undefined; limit?: number | undefined; cursor?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { limit: number; sessionId: string; role?: MessageRoleNoSystem | undefined; cursor?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_SESSION_MESSAGES; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; role?: MessageRoleNoSystem | undefined; limit?: number | undefined; cursor?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_SESSION_MESSAGES; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ modelId: z$1.ZodOptional; reasoningEffort: z$1.ZodOptional>; autonomyMode: z$1.ZodOptional>; interactionMode: z$1.ZodCatch>>; autonomyLevel: z$1.ZodCatch>>; specModeModelId: z$1.ZodOptional>; specModeReasoningEffort: z$1.ZodOptional>>; missionSettings: z$1.ZodOptional; workerReasoningEffort: z$1.ZodOptional>; validationWorkerModel: z$1.ZodOptional; validationWorkerReasoningEffort: z$1.ZodOptional>; skipScrutiny: z$1.ZodOptional; skipUserTesting: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; compactionTokenLimit: z$1.ZodOptional; compactionThresholdCheckEnabled: z$1.ZodOptional; } & { enabledToolIds: z$1.ZodOptional>; disabledToolIds: z$1.ZodOptional>; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { sessionId: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_SESSION_SETTINGS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; compactionTokenLimit?: number | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_SESSION_SETTINGS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; }, "strip", z$1.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonSettingsMethod.GET_DEFAULT_SETTINGS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonSettingsMethod.GET_DEFAULT_SETTINGS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ modelId: z$1.ZodOptional; reasoningEffort: z$1.ZodOptional>; interactionMode: z$1.ZodOptional>; autonomyLevel: z$1.ZodOptional>; specModeModelId: z$1.ZodNullable>; specModeReasoningEffort: z$1.ZodNullable>>; compactionTokenLimit: z$1.ZodOptional; compactionTokenLimitPerModel: z$1.ZodOptional>; compactionModel: z$1.ZodOptional, z$1.ZodEnum<[string, ...string[]]>, z$1.ZodString]>>; compactionModelMode: z$1.ZodOptional>; subagentModelSettings: z$1.ZodOptional>; lightReasoningEffort: z$1.ZodOptional>>; mediumModel: z$1.ZodOptional>; mediumReasoningEffort: z$1.ZodOptional>>; heavyModel: z$1.ZodOptional>; heavyReasoningEffort: z$1.ZodOptional>>; }, "strip", z$1.ZodTypeAny, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }, { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; }>>; specSaveDir: z$1.ZodOptional>>; missionOrchestratorModel: z$1.ZodOptional>>; missionOrchestratorReasoningEffort: z$1.ZodOptional>>>; missionModelSettings: z$1.ZodOptional>; workerReasoningEffort: z$1.ZodOptional>>; validationWorkerModel: z$1.ZodOptional>; validationWorkerReasoningEffort: z$1.ZodOptional>>; skipScrutiny: z$1.ZodOptional>; skipUserTesting: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; runInWorktree: z$1.ZodOptional>>; worktreeDirectory: z$1.ZodOptional>>; }, "strip", z$1.ZodTypeAny, { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; runInWorktree?: boolean | null | undefined; specSaveDir?: string | null | undefined; missionOrchestratorModel?: string | null | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | null | undefined; missionModelSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | null | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; }, { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; runInWorktree?: boolean | null | undefined; specSaveDir?: string | null | undefined; missionOrchestratorModel?: string | null | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | null | undefined; missionModelSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | null | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; runInWorktree?: boolean | null | undefined; specSaveDir?: string | null | undefined; missionOrchestratorModel?: string | null | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | null | undefined; missionModelSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | null | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonSettingsMethod.UPDATE_SESSION_DEFAULTS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | null | undefined; specModeReasoningEffort?: ReasoningEffort | null | undefined; runInWorktree?: boolean | null | undefined; specSaveDir?: string | null | undefined; missionOrchestratorModel?: string | null | undefined; missionOrchestratorReasoningEffort?: ReasoningEffort | null | undefined; missionModelSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; subagentModelSettings?: { lightModel?: string | undefined; lightReasoningEffort?: ReasoningEffort | undefined; mediumModel?: string | undefined; mediumReasoningEffort?: ReasoningEffort | undefined; heavyModel?: string | undefined; heavyReasoningEffort?: ReasoningEffort | undefined; } | undefined; worktreeDirectory?: string | null | undefined; compactionTokenLimit?: number | undefined; compactionTokenLimitPerModel?: Record | undefined; compactionModel?: string | undefined; compactionModelMode?: "current-model" | "factory-default" | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonSettingsMethod.UPDATE_SESSION_DEFAULTS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ workingDirectory: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { workingDirectory: string; }, { workingDirectory: string; }>; }, "strip", z$1.ZodTypeAny, { params: { workingDirectory: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.VALIDATE_WORKING_DIRECTORY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { workingDirectory: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.VALIDATE_WORKING_DIRECTORY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; showHidden: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { sessionId: string; showHidden: boolean; }, { sessionId: string; showHidden?: boolean | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; showHidden: boolean; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_FILES; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; showHidden?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_FILES; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; query: z$1.ZodString; maxResults: z$1.ZodDefault>; showHidden: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { sessionId: string; query: string; showHidden: boolean; maxResults: number; }, { sessionId: string; query: string; showHidden?: boolean | undefined; maxResults?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; query: string; showHidden: boolean; maxResults: number; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SEARCH_FILES; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; query: string; showHidden?: boolean | undefined; maxResults?: number | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SEARCH_FILES; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; }, "strip", z$1.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_MCP_CONFIG; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_MCP_CONFIG; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ action: z$1.ZodEnum<["add", "remove", "enable", "disable"]>; serverNames: z$1.ZodArray; serverConfig: z$1.ZodOptional>>; command: z$1.ZodString; args: z$1.ZodArray; env: z$1.ZodOptional>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; }, { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; url: z$1.ZodString; headers: z$1.ZodOptional>; oauth: z$1.ZodOptional>; clientId: z$1.ZodOptional; clientSecret: z$1.ZodOptional>; callbackPort: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }>>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }, { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; url: z$1.ZodString; headers: z$1.ZodOptional>; oauth: z$1.ZodOptional>; clientId: z$1.ZodOptional; clientSecret: z$1.ZodOptional>; callbackPort: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }, { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; }>>; disabled: z$1.ZodDefault>; }, "strip", z$1.ZodTypeAny, { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }, { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; }>]>>; }, "strip", z$1.ZodTypeAny, { action: "add" | "remove" | "enable" | "disable"; serverNames: string[]; serverConfig?: { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; } | { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | undefined; }, { action: "add" | "remove" | "enable" | "disable"; serverNames: string[]; serverConfig?: { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; } | { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { action: "add" | "remove" | "enable" | "disable"; serverNames: string[]; serverConfig?: { disabled: boolean; type: "stdio"; command: string; args: string[]; env?: Record | undefined; } | { disabled: boolean; type: "http"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { disabled: boolean; type: "sse"; url: string; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_MCP_CONFIG; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { action: "add" | "remove" | "enable" | "disable"; serverNames: string[]; serverConfig?: { command: string; args: string[]; disabled?: boolean | undefined; type?: "stdio" | undefined; env?: Record | undefined; } | { type: "http"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | { type: "sse"; url: string; disabled?: boolean | undefined; headers?: Record | undefined; oauth?: { scopes?: string[] | undefined; clientId?: string | undefined; clientSecret?: string | undefined; callbackPort?: number | undefined; } | undefined; } | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_MCP_CONFIG; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ serverName: z$1.ZodString; } & { enabled: z$1.ZodBoolean; settingsLevel: z$1.ZodLiteral; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { serverName: string; enabled: boolean; sessionId: string; settingsLevel: SettingsLevel.User; }, { serverName: string; enabled: boolean; sessionId: string; settingsLevel: SettingsLevel.User; }>; }, "strip", z$1.ZodTypeAny, { params: { serverName: string; enabled: boolean; sessionId: string; settingsLevel: SettingsLevel.User; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.TOGGLE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; enabled: boolean; sessionId: string; settingsLevel: SettingsLevel.User; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.TOGGLE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ serverName: z$1.ZodString; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { serverName: string; sessionId: string; }, { serverName: string; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { serverName: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.AUTHENTICATE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.AUTHENTICATE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ serverName: z$1.ZodString; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { serverName: string; sessionId: string; }, { serverName: string; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { serverName: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CANCEL_MCP_AUTH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CANCEL_MCP_AUTH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ serverName: z$1.ZodString; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { serverName: string; sessionId: string; }, { serverName: string; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { serverName: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CLEAR_MCP_AUTH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CLEAR_MCP_AUTH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ name: z$1.ZodString; type: z$1.ZodEnum<["stdio", "http", "sse"]>; } & { url: z$1.ZodOptional; } & { headers: z$1.ZodOptional>; } & { command: z$1.ZodOptional; args: z$1.ZodOptional>; } & { env: z$1.ZodOptional>; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: "stdio" | "http" | "sse"; name: string; sessionId: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }, { type: "stdio" | "http" | "sse"; name: string; sessionId: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { type: "stdio" | "http" | "sse"; name: string; sessionId: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.ADD_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { type: "stdio" | "http" | "sse"; name: string; sessionId: string; command?: string | undefined; args?: string[] | undefined; url?: string | undefined; headers?: Record | undefined; env?: Record | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.ADD_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ serverName: z$1.ZodString; } & { settingsLevel: z$1.ZodLiteral; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { serverName: string; sessionId: string; settingsLevel: SettingsLevel.User; }, { serverName: string; sessionId: string; settingsLevel: SettingsLevel.User; }>; }, "strip", z$1.ZodTypeAny, { params: { serverName: string; sessionId: string; settingsLevel: SettingsLevel.User; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.REMOVE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; sessionId: string; settingsLevel: SettingsLevel.User; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.REMOVE_MCP_SERVER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_MCP_REGISTRY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_MCP_REGISTRY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_MCP_TOOLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_MCP_TOOLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_MCP_SERVERS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_MCP_SERVERS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ serverName: z$1.ZodString; } & { toolName: z$1.ZodString; enabled: z$1.ZodBoolean; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { serverName: string; enabled: boolean; sessionId: string; toolName: string; }, { serverName: string; enabled: boolean; sessionId: string; toolName: string; }>; }, "strip", z$1.ZodTypeAny, { params: { serverName: string; enabled: boolean; sessionId: string; toolName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.TOGGLE_MCP_TOOL; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { serverName: string; enabled: boolean; sessionId: string; toolName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.TOGGLE_MCP_TOOL; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; serverName: z$1.ZodString; code: z$1.ZodString; state: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { code: string; serverName: string; sessionId: string; state: string; }, { code: string; serverName: string; sessionId: string; state: string; }>; }, "strip", z$1.ZodTypeAny, { params: { code: string; serverName: string; sessionId: string; state: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SUBMIT_MCP_AUTH_CODE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { code: string; serverName: string; sessionId: string; state: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SUBMIT_MCP_AUTH_CODE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ query: z$1.ZodString; kind: z$1.ZodOptional, z$1.ZodLiteral<"all">]>>; limitSessions: z$1.ZodOptional; limitHitsPerSession: z$1.ZodOptional; contextChars: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { query: string; kind?: SessionSearchDocKind | "all" | undefined; limitSessions?: number | undefined; limitHitsPerSession?: number | undefined; contextChars?: number | undefined; }, { query: string; kind?: SessionSearchDocKind | "all" | undefined; limitSessions?: number | undefined; limitHitsPerSession?: number | undefined; contextChars?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { query: string; kind?: SessionSearchDocKind | "all" | undefined; limitSessions?: number | undefined; limitHitsPerSession?: number | undefined; contextChars?: number | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SEARCH_SESSIONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { query: string; kind?: SessionSearchDocKind | "all" | undefined; limitSessions?: number | undefined; limitHitsPerSession?: number | undefined; contextChars?: number | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SEARCH_SESSIONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.ARCHIVE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.ARCHIVE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UNARCHIVE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UNARCHIVE_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; title: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { title: string; sessionId: string; }, { title: string; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { title: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RENAME_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { title: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RENAME_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_SKILLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_SKILLS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_COMMANDS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_COMMANDS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_AVAILABLE_PLUGINS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_AVAILABLE_PLUGINS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; scope: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; scope?: string | undefined; }, { sessionId: string; scope?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; scope?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_INSTALLED_PLUGINS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; scope?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_INSTALLED_PLUGINS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; marketplace: z$1.ZodString; pluginName: z$1.ZodString; scope: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; scope: string; marketplace: string; pluginName: string; }, { sessionId: string; scope: string; marketplace: string; pluginName: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; scope: string; marketplace: string; pluginName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.INSTALL_PLUGIN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; scope: string; marketplace: string; pluginName: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.INSTALL_PLUGIN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; pluginId: z$1.ZodString; scope: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; scope: string; pluginId: string; }, { sessionId: string; scope: string; pluginId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; scope: string; pluginId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UNINSTALL_PLUGIN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; scope: string; pluginId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UNINSTALL_PLUGIN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; pluginId: z$1.ZodOptional; scope: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; scope?: string | undefined; pluginId?: string | undefined; }, { sessionId: string; scope?: string | undefined; pluginId?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; scope?: string | undefined; pluginId?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_PLUGIN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; scope?: string | undefined; pluginId?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_PLUGIN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_MARKETPLACES; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_MARKETPLACES; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; source: z$1.ZodDiscriminatedUnion<"source", [z$1.ZodObject<{ source: z$1.ZodLiteral<"github">; repo: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { source: "github"; repo: string; }, { source: "github"; repo: string; }>, z$1.ZodObject<{ source: z$1.ZodLiteral<"url">; url: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { url: string; source: "url"; }, { url: string; source: "url"; }>, z$1.ZodObject<{ source: z$1.ZodLiteral<"local">; path: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { path: string; source: "local"; }, { path: string; source: "local"; }>, z$1.ZodObject<{ source: z$1.ZodLiteral<"git-subdir">; url: z$1.ZodString; path: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { path: string; url: string; source: "git-subdir"; }, { path: string; url: string; source: "git-subdir"; }>]>; }, "strip", z$1.ZodTypeAny, { source: { source: "github"; repo: string; } | { url: string; source: "url"; } | { path: string; source: "local"; } | { path: string; url: string; source: "git-subdir"; }; sessionId: string; }, { source: { source: "github"; repo: string; } | { url: string; source: "url"; } | { path: string; source: "local"; } | { path: string; url: string; source: "git-subdir"; }; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { source: { source: "github"; repo: string; } | { url: string; source: "url"; } | { path: string; source: "local"; } | { path: string; url: string; source: "git-subdir"; }; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.ADD_MARKETPLACE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { source: { source: "github"; repo: string; } | { url: string; source: "url"; } | { path: string; source: "local"; } | { path: string; url: string; source: "git-subdir"; }; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.ADD_MARKETPLACE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; name: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { name: string; sessionId: string; }, { name: string; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { name: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.REMOVE_MARKETPLACE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { name: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.REMOVE_MARKETPLACE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; name: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; name?: string | undefined; }, { sessionId: string; name?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; name?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_MARKETPLACE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; name?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_MARKETPLACE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; userComment: z$1.ZodString; clientLogs: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; userComment: string; clientLogs?: string | undefined; }, { sessionId: string; userComment: string; clientLogs?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; userComment: string; clientLogs?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SUBMIT_BUG_REPORT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; userComment: string; clientLogs?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SUBMIT_BUG_REPORT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { basePath?: string | undefined; }, { basePath?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { basePath?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_AUTOMATIONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { basePath?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_AUTOMATIONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; basePath: z$1.ZodOptional; computerId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; computerId?: string | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; computerId?: string | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; computerId?: string | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RUN_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; computerId?: string | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RUN_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.PAUSE_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.PAUSE_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RESUME_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RESUME_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; limit: z$1.ZodOptional; offset: z$1.ZodOptional; basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; limit?: number | undefined; offset?: number | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; limit?: number | undefined; offset?: number | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; limit?: number | undefined; offset?: number | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_AUTOMATION_HISTORY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; limit?: number | undefined; offset?: number | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_AUTOMATION_HISTORY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; basePath: z$1.ZodOptional; sessionId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; sessionId?: string | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; sessionId?: string | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; sessionId?: string | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_AUTOMATION_VISUAL; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; sessionId?: string | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_AUTOMATION_VISUAL; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ id: z$1.ZodString; name: z$1.ZodString; description: z$1.ZodOptional; schedule: z$1.ZodString; basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; name: string; schedule: string; description?: string | undefined; basePath?: string | undefined; }, { id: string; name: string; schedule: string; description?: string | undefined; basePath?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { id: string; name: string; schedule: string; description?: string | undefined; basePath?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CREATE_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { id: string; name: string; schedule: string; description?: string | undefined; basePath?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CREATE_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; model: z$1.ZodNullable; basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; model: string | null; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; model: string | null; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; model: string | null; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_AUTOMATION_MODEL; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; model: string | null; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_AUTOMATION_MODEL; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; privacyLevel: z$1.ZodNativeEnum; createdBy: z$1.ZodOptional; avatarUrl: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { name: string; email?: string | undefined; avatarUrl?: string | undefined; }, { name: string; email?: string | undefined; avatarUrl?: string | undefined; }>>; basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; privacyLevel: AutomationPrivacyLevel; createdBy?: { name: string; email?: string | undefined; avatarUrl?: string | undefined; } | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; privacyLevel: AutomationPrivacyLevel; createdBy?: { name: string; email?: string | undefined; avatarUrl?: string | undefined; } | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; privacyLevel: AutomationPrivacyLevel; createdBy?: { name: string; email?: string | undefined; avatarUrl?: string | undefined; } | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_AUTOMATION_PRIVACY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; privacyLevel: AutomationPrivacyLevel; createdBy?: { name: string; email?: string | undefined; avatarUrl?: string | undefined; } | undefined; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_AUTOMATION_PRIVACY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; newName: z$1.ZodString; basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; newName: string; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; newName: string; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; newName: string; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RENAME_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; newName: string; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RENAME_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; automationDirName: z$1.ZodOptional; basePath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }, { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.DELETE_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { automationId: string; basePath?: string | undefined; automationDirName?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.DELETE_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ automationId: z$1.ZodString; name: z$1.ZodString; description: z$1.ZodOptional; schedule: z$1.ZodString; tags: z$1.ZodOptional>; model: z$1.ZodOptional; prompt: z$1.ZodString; forkedFrom: z$1.ZodString; localDirName: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { name: string; automationId: string; schedule: string; forkedFrom: string; prompt: string; localDirName: string; description?: string | undefined; tags?: string[] | undefined; model?: string | undefined; }, { name: string; automationId: string; schedule: string; forkedFrom: string; prompt: string; localDirName: string; description?: string | undefined; tags?: string[] | undefined; model?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { name: string; automationId: string; schedule: string; forkedFrom: string; prompt: string; localDirName: string; description?: string | undefined; tags?: string[] | undefined; model?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.FORK_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { name: string; automationId: string; schedule: string; forkedFrom: string; prompt: string; localDirName: string; description?: string | undefined; tags?: string[] | undefined; model?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.FORK_AUTOMATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodOptional; includeInactive: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId?: string | undefined; includeInactive?: boolean | undefined; }, { sessionId?: string | undefined; includeInactive?: boolean | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId?: string | undefined; includeInactive?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_CRONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId?: string | undefined; includeInactive?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.LIST_CRONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ kind: z$1.ZodLiteral<"session_prompt">; source: z$1.ZodEnum<["loop_command", "cron_tool"]>; scope: z$1.ZodObject<{ type: z$1.ZodLiteral<"session">; sessionId: z$1.ZodString; sessionCwd: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: "session"; sessionId: string; sessionCwd: string; }, { type: "session"; sessionId: string; sessionCwd: string; }>; schedule: z$1.ZodObject<{ expression: z$1.ZodString; recurring: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { expression: string; recurring: boolean; }, { expression: string; recurring: boolean; }>; runImmediately: z$1.ZodOptional; runPolicy: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { whenSessionInactive: "hold"; }, { whenSessionInactive: "hold"; }>>; payload: z$1.ZodObject<{ type: z$1.ZodLiteral<"prompt">; prompt: z$1.ZodString; target: z$1.ZodObject<{ type: z$1.ZodLiteral<"same_session">; }, "strip", z$1.ZodTypeAny, { type: "same_session"; }, { type: "same_session"; }>; }, "strip", z$1.ZodTypeAny, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }, { type: "prompt"; target: { type: "same_session"; }; prompt: string; }>; }, "strip", z$1.ZodTypeAny, { source: "loop_command" | "cron_tool"; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; }; scope: { type: "session"; sessionId: string; sessionCwd: string; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; runPolicy?: { whenSessionInactive: "hold"; } | undefined; runImmediately?: boolean | undefined; }, { source: "loop_command" | "cron_tool"; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; }; scope: { type: "session"; sessionId: string; sessionCwd: string; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; runPolicy?: { whenSessionInactive: "hold"; } | undefined; runImmediately?: boolean | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { source: "loop_command" | "cron_tool"; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; }; scope: { type: "session"; sessionId: string; sessionCwd: string; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; runPolicy?: { whenSessionInactive: "hold"; } | undefined; runImmediately?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CREATE_CRON; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { source: "loop_command" | "cron_tool"; kind: "session_prompt"; schedule: { expression: string; recurring: boolean; }; scope: { type: "session"; sessionId: string; sessionCwd: string; }; payload: { type: "prompt"; target: { type: "same_session"; }; prompt: string; }; runPolicy?: { whenSessionInactive: "hold"; } | undefined; runImmediately?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CREATE_CRON; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ cronId: z$1.ZodString; status: z$1.ZodOptional>; schedule: z$1.ZodOptional>; payload: z$1.ZodOptional; }, "strict", z$1.ZodTypeAny, { prompt?: string | undefined; }, { prompt?: string | undefined; }>>; }, "strip", z$1.ZodTypeAny, { cronId: string; status?: "paused" | "active" | undefined; schedule?: { expression: string; recurring: boolean; } | undefined; payload?: { prompt?: string | undefined; } | undefined; }, { cronId: string; status?: "paused" | "active" | undefined; schedule?: { expression: string; recurring: boolean; } | undefined; payload?: { prompt?: string | undefined; } | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { cronId: string; status?: "paused" | "active" | undefined; schedule?: { expression: string; recurring: boolean; } | undefined; payload?: { prompt?: string | undefined; } | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_CRON; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { cronId: string; status?: "paused" | "active" | undefined; schedule?: { expression: string; recurring: boolean; } | undefined; payload?: { prompt?: string | undefined; } | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.UPDATE_CRON; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ cronId: z$1.ZodString; sessionId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { cronId: string; sessionId?: string | undefined; }, { cronId: string; sessionId?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { cronId: string; sessionId?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.DELETE_CRON; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { cronId: string; sessionId?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.DELETE_CRON; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; reason: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { reason: string; sessionId: string; }, { reason: string; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { reason: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.HOLD_SESSION_CRONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { reason: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.HOLD_SESSION_CRONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RESUME_SESSION_CRONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.RESUME_SESSION_CRONS; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; baseBranch: z$1.ZodOptional; statsOnly: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; baseBranch?: string | undefined; statsOnly?: boolean | undefined; }, { sessionId: string; baseBranch?: string | undefined; statsOnly?: boolean | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; baseBranch?: string | undefined; statsOnly?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_GIT_DIFF; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; baseBranch?: string | undefined; statsOnly?: boolean | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_GIT_DIFF; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GIT_PUSH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GIT_PUSH; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; message: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { message: string; sessionId: string; }, { message: string; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { message: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GIT_COMMIT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { message: string; sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GIT_COMMIT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; title: z$1.ZodString; body: z$1.ZodOptional; baseBranch: z$1.ZodString; draft: z$1.ZodOptional; linkedTicketIds: z$1.ZodOptional>; linkedTicketUrls: z$1.ZodOptional>; jiraIssueKeys: z$1.ZodOptional>; linearIssueIds: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { title: string; sessionId: string; baseBranch: string; body?: string | undefined; draft?: boolean | undefined; linkedTicketIds?: string[] | undefined; linkedTicketUrls?: string[] | undefined; jiraIssueKeys?: string[] | undefined; linearIssueIds?: string[] | undefined; }, { title: string; sessionId: string; baseBranch: string; body?: string | undefined; draft?: boolean | undefined; linkedTicketIds?: string[] | undefined; linkedTicketUrls?: string[] | undefined; jiraIssueKeys?: string[] | undefined; linearIssueIds?: string[] | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { title: string; sessionId: string; baseBranch: string; body?: string | undefined; draft?: boolean | undefined; linkedTicketIds?: string[] | undefined; linkedTicketUrls?: string[] | undefined; jiraIssueKeys?: string[] | undefined; linearIssueIds?: string[] | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CREATE_PR; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { title: string; sessionId: string; baseBranch: string; body?: string | undefined; draft?: boolean | undefined; linkedTicketIds?: string[] | undefined; linkedTicketUrls?: string[] | undefined; jiraIssueKeys?: string[] | undefined; linearIssueIds?: string[] | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.CREATE_PR; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ currentBranch: z$1.ZodString; baseBranch: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { baseBranch: string; currentBranch: string; }, { baseBranch: string; currentBranch: string; }>; }, "strip", z$1.ZodTypeAny, { params: { baseBranch: string; currentBranch: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_SEMANTIC_DIFF_CACHE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { baseBranch: string; currentBranch: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_SEMANTIC_DIFF_CACHE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ currentBranch: z$1.ZodString; baseBranch: z$1.ZodString; commitHash: z$1.ZodString; content: z$1.ZodString; truncated: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { content: string; baseBranch: string; currentBranch: string; commitHash: string; truncated: boolean; }, { content: string; baseBranch: string; currentBranch: string; commitHash: string; truncated: boolean; }>; }, "strip", z$1.ZodTypeAny, { params: { content: string; baseBranch: string; currentBranch: string; commitHash: string; truncated: boolean; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SAVE_SEMANTIC_DIFF_CACHE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { content: string; baseBranch: string; currentBranch: string; commitHash: string; truncated: boolean; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.SAVE_SEMANTIC_DIFF_CACHE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; diff: z$1.ZodString; baseBranch: z$1.ZodString; currentBranch: z$1.ZodString; commitHash: z$1.ZodOptional; modelId: z$1.ZodOptional; unstagedDiff: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; diff: string; baseBranch: string; currentBranch: string; modelId?: string | undefined; unstagedDiff?: string | undefined; commitHash?: string | undefined; }, { sessionId: string; diff: string; baseBranch: string; currentBranch: string; modelId?: string | undefined; unstagedDiff?: string | undefined; commitHash?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; diff: string; baseBranch: string; currentBranch: string; modelId?: string | undefined; unstagedDiff?: string | undefined; commitHash?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GENERATE_SEMANTIC_DIFF; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; diff: string; baseBranch: string; currentBranch: string; modelId?: string | undefined; unstagedDiff?: string | undefined; commitHash?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GENERATE_SEMANTIC_DIFF; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; params: z$1.ZodOptional; } & { method: z$1.ZodLiteral; }, "strip", z$1.ZodTypeAny, { type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_PROXY_TOKEN; params?: unknown; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_PROXY_TOKEN; params?: unknown; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; filePath: z$1.ZodString; /** * How the file bytes should be encoded in the response. `utf8` (default) * returns decoded text for source/markdown previews; `base64` returns the * raw bytes for binary previews (PDF, images) that the client turns into a * blob URL. */ encoding: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { filePath: string; sessionId: string; encoding?: "base64" | "utf8" | undefined; }, { filePath: string; sessionId: string; encoding?: "base64" | "utf8" | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { filePath: string; sessionId: string; encoding?: "base64" | "utf8" | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_WORKSPACE_FILE_CONTENT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { filePath: string; sessionId: string; encoding?: "base64" | "utf8" | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_WORKSPACE_FILE_CONTENT; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; }, "strip", z$1.ZodTypeAny, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonManagementMethod.TRIGGER_UPDATE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: {}; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonManagementMethod.TRIGGER_UPDATE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ publicKey: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { publicKey: string; }, { publicKey: string; }>; }, "strip", z$1.ZodTypeAny, { params: { publicKey: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonManagementMethod.INSTALL_SSH_KEY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { publicKey: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonManagementMethod.INSTALL_SSH_KEY; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; messageId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; messageId: string; }, { sessionId: string; messageId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; messageId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_REWIND_INFO; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; messageId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_REWIND_INFO; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; messageId: z$1.ZodString; filesToRestore: z$1.ZodArray, "many">; filesToDelete: z$1.ZodArray, "many">; forkTitle: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; messageId: string; filesToRestore: { filePath: string; contentHash: string; size: number; }[]; filesToDelete: { filePath: string; }[]; forkTitle: string; }, { sessionId: string; messageId: string; filesToRestore: { filePath: string; contentHash: string; size: number; }[]; filesToDelete: { filePath: string; }[]; forkTitle: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; messageId: string; filesToRestore: { filePath: string; contentHash: string; size: number; }[]; filesToDelete: { filePath: string; }[]; forkTitle: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.EXECUTE_REWIND; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; messageId: string; filesToRestore: { filePath: string; contentHash: string; size: number; }[]; filesToDelete: { filePath: string; }[]; forkTitle: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.EXECUTE_REWIND; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; customInstructions: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessionId: string; customInstructions?: string | undefined; }, { sessionId: string; customInstructions?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; customInstructions?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.COMPACT_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; customInstructions?: string | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.COMPACT_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; title: z$1.ZodOptional; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; }, "strip", z$1.ZodTypeAny, { sessionId: string; title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }, { sessionId: string; title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.FORK_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; title?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.FORK_SESSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.WARMUP_CACHE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.WARMUP_CACHE; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; }, { sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_CONTEXT_BREAKDOWN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidMethod.GET_CONTEXT_BREAKDOWN; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>]>; declare const DaemonInitializeSessionResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ sessionId: z$1.ZodString; hostId: z$1.ZodOptional; session: z$1.ZodObject<{ messages: z$1.ZodArray; content: z$1.ZodArray; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; signature: z$1.ZodString; signatureProvider: z$1.ZodOptional, z$1.ZodLiteral<"unknown">]>>; thinking: z$1.ZodString; durationMs: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; data: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; id: z$1.ZodString; input: z$1.ZodRecord; name: z$1.ZodString; thoughtSignature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; toolUseId: z$1.ZodString; content: z$1.ZodOptional; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">; createdAt: z$1.ZodNumber; updatedAt: z$1.ZodNumber; parentId: z$1.ZodOptional; userMessageSource: z$1.ZodOptional>; visibility: z$1.ZodOptional>; openaiMessageId: z$1.ZodOptional; openaiPhase: z$1.ZodOptional>>; openaiEncryptedContent: z$1.ZodOptional; openaiReasoningId: z$1.ZodOptional; openaiReasoningSummary: z$1.ZodOptional; geminiThoughtSignature: z$1.ZodOptional; chatCompletionReasoningField: z$1.ZodOptional>; chatCompletionReasoningContent: z$1.ZodOptional; isUserVisible: z$1.ZodOptional; isError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>, "many">; title: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }>; mcpServers: z$1.ZodOptional>; env: z$1.ZodDefault>>; }, "strip", z$1.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; settings: z$1.ZodObject<{ modelId: z$1.ZodString; reasoningEffort: z$1.ZodNativeEnum; autonomyMode: z$1.ZodOptional>; interactionMode: z$1.ZodCatch>>; autonomyLevel: z$1.ZodCatch>>; specModeModelId: z$1.ZodOptional; specModeReasoningEffort: z$1.ZodOptional>; missionSettings: z$1.ZodOptional; workerReasoningEffort: z$1.ZodOptional>; validationWorkerModel: z$1.ZodOptional; validationWorkerReasoningEffort: z$1.ZodOptional>; skipScrutiny: z$1.ZodOptional; skipUserTesting: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; sandbox: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { enabled: boolean; mode?: SandboxMode | undefined; }, { enabled: boolean; mode?: SandboxMode | undefined; }>>; compactionThresholdCheckEnabled: z$1.ZodOptional; } & { enabledToolIds: z$1.ZodOptional>; disabledToolIds: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; gitRepo: z$1.ZodOptional; repoName: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { repoName: string; owner?: string | undefined; }, { repoName: string; owner?: string | undefined; }>>; availableModels: z$1.ZodOptional; supportedReasoningEfforts: z$1.ZodArray, "many">; defaultReasoningEffort: z$1.ZodNativeEnum; isCustom: z$1.ZodDefault; noImageSupport: z$1.ZodOptional; tier: z$1.ZodOptional>; tokenMultiplier: z$1.ZodOptional; promoLabel: z$1.ZodOptional; kind: z$1.ZodOptional>; variantBadge: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }>, "many">>; worktree: z$1.ZodOptional; isNewlyCreated: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; }, { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; }>>; }, "strip", z$1.ZodTypeAny, { sessionId: string; session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; hostId?: string | undefined; worktree?: { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; } | undefined; }, { sessionId: string; session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; hostId?: string | undefined; worktree?: { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; } | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { sessionId: string; session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; hostId?: string | undefined; worktree?: { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; } | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { sessionId: string; session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; hostId?: string | undefined; worktree?: { path: string; branch: string; isNewlyCreated: boolean; repoRoot?: string | undefined; } | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonLoadSessionResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ session: z$1.ZodObject<{ messages: z$1.ZodArray; content: z$1.ZodArray; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; signature: z$1.ZodString; signatureProvider: z$1.ZodOptional, z$1.ZodLiteral<"unknown">]>>; thinking: z$1.ZodString; durationMs: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; data: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; id: z$1.ZodString; input: z$1.ZodRecord; name: z$1.ZodString; thoughtSignature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; toolUseId: z$1.ZodString; content: z$1.ZodOptional; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">; createdAt: z$1.ZodNumber; updatedAt: z$1.ZodNumber; parentId: z$1.ZodOptional; userMessageSource: z$1.ZodOptional>; visibility: z$1.ZodOptional>; openaiMessageId: z$1.ZodOptional; openaiPhase: z$1.ZodOptional>>; openaiEncryptedContent: z$1.ZodOptional; openaiReasoningId: z$1.ZodOptional; openaiReasoningSummary: z$1.ZodOptional; geminiThoughtSignature: z$1.ZodOptional; chatCompletionReasoningField: z$1.ZodOptional>; chatCompletionReasoningContent: z$1.ZodOptional; isUserVisible: z$1.ZodOptional; isError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>, "many">; title: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }>; hostId: z$1.ZodOptional; mcpServers: z$1.ZodOptional>; env: z$1.ZodDefault>>; }, "strip", z$1.ZodTypeAny, { command: string; args: string[]; name: string; env: Record; }, { command: string; name: string; args?: string[] | undefined; env?: Record | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"http">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral<"sse">; name: z$1.ZodString; url: z$1.ZodString; headers: z$1.ZodDefault, "many">>; }, "strip", z$1.ZodTypeAny, { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; }, { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; }>]>, "many">>; pendingPermissions: z$1.ZodOptional; id: z$1.ZodString; input: z$1.ZodRecord; name: z$1.ZodString; thoughtSignature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>; confirmationType: z$1.ZodNativeEnum; details: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{ type: z$1.ZodLiteral; filePath: z$1.ZodString; fileName: z$1.ZodString; oldContent: z$1.ZodOptional; newContent: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; fullCommand: z$1.ZodString; command: z$1.ZodString; extractedCommands: z$1.ZodOptional>; impactLevel: z$1.ZodOptional; riskLevelReason: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; filePath: z$1.ZodString; fileName: z$1.ZodString; content: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; questionnaire: z$1.ZodString; parsed: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; }, "strip", z$1.ZodTypeAny, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }>>; parseError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { message: string; line?: number | undefined; }, { message: string; line?: number | undefined; }>>; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; plan: z$1.ZodString; title: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; proposal: z$1.ZodString; title: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; runningMissionCount: z$1.ZodNumber; runningMissionSessionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; filePath: z$1.ZodString; fileName: z$1.ZodString; patchContent: z$1.ZodString; oldContent: z$1.ZodOptional; newContent: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; toolName: z$1.ZodString; impactLevel: z$1.ZodString; serverName: z$1.ZodOptional; actualToolName: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; violatingToolName: z$1.ZodString; target: z$1.ZodString; operationType: z$1.ZodNativeEnum; violationType: z$1.ZodNativeEnum; reason: z$1.ZodString; violationReason: z$1.ZodOptional>; isOrgDeny: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }>, "many">; options: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { value: ToolConfirmationOutcome; label: string; }, { value: ToolConfirmationOutcome; label: string; }>, "many">; } & { requestId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }, { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }>, "many">>; pendingAskUserRequests: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; } & { requestId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }, { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }>, "many">>; settings: z$1.ZodObject<{ modelId: z$1.ZodString; reasoningEffort: z$1.ZodNativeEnum; autonomyMode: z$1.ZodOptional>; interactionMode: z$1.ZodCatch>>; autonomyLevel: z$1.ZodCatch>>; specModeModelId: z$1.ZodOptional; specModeReasoningEffort: z$1.ZodOptional>; missionSettings: z$1.ZodOptional; workerReasoningEffort: z$1.ZodOptional>; validationWorkerModel: z$1.ZodOptional; validationWorkerReasoningEffort: z$1.ZodOptional>; skipScrutiny: z$1.ZodOptional; skipUserTesting: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; sandbox: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { enabled: boolean; mode?: SandboxMode | undefined; }, { enabled: boolean; mode?: SandboxMode | undefined; }>>; compactionThresholdCheckEnabled: z$1.ZodOptional; } & { enabledToolIds: z$1.ZodOptional>; disabledToolIds: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; isAgentLoopInProgress: z$1.ZodOptional; queuedMessages: z$1.ZodOptional; text: z$1.ZodString; images: z$1.ZodOptional; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>, "many">>; files: z$1.ZodOptional; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>, "many">>; outputFormat: z$1.ZodOptional; schema: z$1.ZodRecord; }, "strip", z$1.ZodTypeAny, { type: "json_schema"; schema: Record; }, { type: "json_schema"; schema: Record; }>>; skipAgentLoop: z$1.ZodOptional; queuePlacement: z$1.ZodOptional>; role: z$1.ZodOptional>; visibility: z$1.ZodOptional>; userMessageSource: z$1.ZodOptional>; } & { requestId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }, { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }>, "many">>; gitRepo: z$1.ZodOptional; repoName: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { repoName: string; owner?: string | undefined; }, { repoName: string; owner?: string | undefined; }>>; cwd: z$1.ZodOptional; callingSessionId: z$1.ZodOptional; callingToolUseId: z$1.ZodOptional; availableModels: z$1.ZodOptional; supportedReasoningEfforts: z$1.ZodArray, "many">; defaultReasoningEffort: z$1.ZodNativeEnum; isCustom: z$1.ZodDefault; noImageSupport: z$1.ZodOptional; tier: z$1.ZodOptional>; tokenMultiplier: z$1.ZodOptional; promoLabel: z$1.ZodOptional; kind: z$1.ZodOptional>; variantBadge: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }, { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }>, "many">>; tokenUsage: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; mission: z$1.ZodOptional; updatedAt: z$1.ZodOptional; title: z$1.ZodOptional; workingDirectory: z$1.ZodOptional; features: z$1.ZodArray; skillName: z$1.ZodString; preconditions: z$1.ZodArray; expectedBehavior: z$1.ZodArray; fulfills: z$1.ZodOptional>; milestone: z$1.ZodOptional; workerSessionIds: z$1.ZodOptional>; currentWorkerSessionId: z$1.ZodOptional>; completedWorkerSessionId: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }>, "many">; progressLog: z$1.ZodArray; title: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; pauseReason: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; resumeWorkerSessionId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; message: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; spawnId: z$1.ZodString; featureId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; featureId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; featureId: z$1.ZodString; successState: z$1.ZodNativeEnum; returnToOrchestrator: z$1.ZodBoolean; commitId: z$1.ZodEffects, string | undefined, unknown>; repoPath: z$1.ZodEffects, string | undefined, unknown>; exitCode: z$1.ZodNumber; validatorsPassed: z$1.ZodOptional; handoff: z$1.ZodOptional; whatWasImplemented: z$1.ZodString; whatWasLeftUndone: z$1.ZodString; verification: z$1.ZodObject<{ commandsRun: z$1.ZodArray, "many">; interactiveChecks: z$1.ZodOptional, "many">>; }, "strip", z$1.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; tests: z$1.ZodObject<{ added: z$1.ZodArray, "many">; }, "strip", z$1.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z$1.ZodOptional>; coverage: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; discoveredIssues: z$1.ZodArray; description: z$1.ZodString; suggestedFix: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>, "many">; skillFeedback: z$1.ZodOptional, "many">; suggestedChanges: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }>>; }, "strip", z$1.ZodTypeAny, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }>>; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; }, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodOptional; spawnId: z$1.ZodString; exitCode: z$1.ZodOptional; reason: z$1.ZodString; failureReason: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; featureId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; dismissals: z$1.ZodOptional; sourceFeatureId: z$1.ZodString; summary: z$1.ZodString; justification: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }>, "many">>; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; milestone: z$1.ZodString; featureId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }>]>, "many">; workerSessionIds: z$1.ZodArray; workerStates: z$1.ZodOptional; exitCode: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { startedAt: string; exitCode?: number | undefined; completedAt?: string | undefined; }, { startedAt: string; exitCode?: number | undefined; completedAt?: string | undefined; }>>>; tokenUsage: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; tokenUsageBySessionId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>>; }, "strip", z$1.ZodTypeAny, { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; }, { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; }>>; decompSessionType: z$1.ZodOptional>; loopState: z$1.ZodOptional; intervalMs: z$1.ZodNumber; iteration: z$1.ZodNumber; startedAt: z$1.ZodNumber; updatedAt: z$1.ZodNumber; nextRunAt: z$1.ZodNullable; isDue: z$1.ZodBoolean; lastRunStartedAt: z$1.ZodOptional; lastRunCompletedAt: z$1.ZodOptional; stopReason: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }>>>; }, "strip", z$1.ZodTypeAny, { session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; cwd?: string | undefined; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; decompSessionType?: DecompSessionType | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; pendingPermissions?: { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }[] | undefined; pendingAskUserRequests?: { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }[] | undefined; isAgentLoopInProgress?: boolean | undefined; queuedMessages?: { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; } | undefined; hostId?: string | undefined; loopState?: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; } | null | undefined; }, { session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; cwd?: string | undefined; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; decompSessionType?: DecompSessionType | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; pendingPermissions?: { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }[] | undefined; pendingAskUserRequests?: { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }[] | undefined; isAgentLoopInProgress?: boolean | undefined; queuedMessages?: { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; } | undefined; hostId?: string | undefined; loopState?: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; } | null | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; cwd?: string | undefined; mcpServers?: ({ command: string; args: string[]; name: string; env: Record; } | { type: "http"; url: string; headers: { value: string; name: string; }[]; name: string; } | { type: "sse"; url: string; headers: { value: string; name: string; }[]; name: string; })[] | undefined; decompSessionType?: DecompSessionType | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom: boolean; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; pendingPermissions?: { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }[] | undefined; pendingAskUserRequests?: { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }[] | undefined; isAgentLoopInProgress?: boolean | undefined; queuedMessages?: { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; } | undefined; hostId?: string | undefined; loopState?: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; } | null | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { session: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; title?: string | undefined; }; settings: { modelId: string; reasoningEffort: ReasoningEffort; enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; sandbox?: { enabled: boolean; mode?: SandboxMode | undefined; } | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; cwd?: string | undefined; mcpServers?: ({ command: string; name: string; args?: string[] | undefined; env?: Record | undefined; } | { type: "http"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; } | { type: "sse"; url: string; name: string; headers?: { value: string; name: string; }[] | undefined; })[] | undefined; decompSessionType?: DecompSessionType | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; gitRepo?: { repoName: string; owner?: string | undefined; } | undefined; availableModels?: { id: string; displayName: string; shortDisplayName: string; modelProvider: ModelProvider; supportedReasoningEfforts: ReasoningEffort[]; defaultReasoningEffort: ReasoningEffort; isCustom?: boolean | undefined; noImageSupport?: boolean | undefined; tier?: LLMModelTier | undefined; tokenMultiplier?: number | undefined; promoLabel?: string | undefined; kind?: ModelKind | undefined; variantBadge?: string | undefined; }[] | undefined; pendingPermissions?: { options: { value: ToolConfirmationOutcome; label: string; }[]; requestId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }[] | undefined; pendingAskUserRequests?: { requestId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }[] | undefined; isAgentLoopInProgress?: boolean | undefined; queuedMessages?: { text: string; requestId: string; role?: MessageRole | undefined; visibility?: MessageVisibility | undefined; messageId?: string | undefined; images?: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }[] | undefined; files?: ({ type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; })[] | undefined; outputFormat?: { type: "json_schema"; schema: Record; } | undefined; userMessageSource?: SessionOrigin | undefined; skipAgentLoop?: boolean | undefined; queuePlacement?: QueuePlacement | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { workerSessionIds: string[]; state: MissionState; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; updatedAt?: string | undefined; title?: string | undefined; workerStates?: Record | undefined; tokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; tokenUsageBySessionId?: Record | undefined; workingDirectory?: string | undefined; } | undefined; hostId?: string | undefined; loopState?: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; } | null | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonAddUserMessageResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodUnion<[z$1.ZodObject<{ accepted: z$1.ZodLiteral; }, "strip", z$1.ZodTypeAny, { accepted: true; }, { accepted: true; }>, z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>]>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { accepted: true; } | {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { accepted: true; } | {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonResolveQueuedUserMessageResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodUnion<[z$1.ZodObject<{ accepted: z$1.ZodLiteral; }, "strip", z$1.ZodTypeAny, { accepted: true; }, { accepted: true; }>, z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>]>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { accepted: true; } | {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { accepted: true; } | {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonInterruptSessionResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonCloseSessionResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonListOpenedSessionsResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ sessions: z$1.ZodArray; updatedAt: z$1.ZodNumber; workingState: z$1.ZodNativeEnum; cwd: z$1.ZodOptional; repoRoot: z$1.ZodOptional; messagesCount: z$1.ZodOptional; callingSessionId: z$1.ZodOptional; callingToolUseId: z$1.ZodOptional; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; }, "strip", z$1.ZodTypeAny, { updatedAt: number; sessionId: string; workingState: DroidWorkingState; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }, { updatedAt: number; sessionId: string; workingState: DroidWorkingState; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { sessions: { updatedAt: number; sessionId: string; workingState: DroidWorkingState; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }[]; }, { sessions: { updatedAt: number; sessionId: string; workingState: DroidWorkingState; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }[]; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { sessions: { updatedAt: number; sessionId: string; workingState: DroidWorkingState; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { sessions: { updatedAt: number; sessionId: string; workingState: DroidWorkingState; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }[]; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonListAvailableSessionsResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ sessions: z$1.ZodArray; updatedAt: z$1.ZodNumber; title: z$1.ZodOptional; cwd: z$1.ZodOptional; repoRoot: z$1.ZodOptional; messagesCount: z$1.ZodOptional; archivedAt: z$1.ZodOptional; callingSessionId: z$1.ZodOptional; callingToolUseId: z$1.ZodOptional; tags: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { name: string; metadata?: Record | undefined; }, { name: string; metadata?: Record | undefined; }>, "many">>; mission: z$1.ZodOptional>; title: z$1.ZodNullable; workingDirectory: z$1.ZodNullable; createdAt: z$1.ZodNullable; elapsedMs: z$1.ZodNullable; completedFeatures: z$1.ZodNullable; totalFeatures: z$1.ZodNullable; }, "strip", z$1.ZodTypeAny, { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; }, { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; }>>; }, "strip", z$1.ZodTypeAny, { updatedAt: number; sessionId: string; title?: string | undefined; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; } | undefined; archivedAt?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }, { updatedAt: number; sessionId: string; title?: string | undefined; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; } | undefined; archivedAt?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }>, "many">; hasMore: z$1.ZodBoolean; nextCursor: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { sessions: { updatedAt: number; sessionId: string; title?: string | undefined; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; } | undefined; archivedAt?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }[]; hasMore: boolean; nextCursor?: number | undefined; }, { sessions: { updatedAt: number; sessionId: string; title?: string | undefined; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; } | undefined; archivedAt?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }[]; hasMore: boolean; nextCursor?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { sessions: { updatedAt: number; sessionId: string; title?: string | undefined; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; } | undefined; archivedAt?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }[]; hasMore: boolean; nextCursor?: number | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { sessions: { updatedAt: number; sessionId: string; title?: string | undefined; cwd?: string | undefined; tags?: { name: string; metadata?: Record | undefined; }[] | undefined; callingSessionId?: string | undefined; callingToolUseId?: string | undefined; mission?: { createdAt: string | null; title: string | null; state: MissionState | null; workingDirectory: string | null; elapsedMs: number | null; completedFeatures: number | null; totalFeatures: number | null; } | undefined; archivedAt?: string | undefined; hostId?: string | undefined; repoRoot?: string | undefined; messagesCount?: number | undefined; }[]; hasMore: boolean; nextCursor?: number | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonGetSessionMessagesResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ messages: z$1.ZodArray; content: z$1.ZodArray; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; signature: z$1.ZodString; signatureProvider: z$1.ZodOptional, z$1.ZodLiteral<"unknown">]>>; thinking: z$1.ZodString; durationMs: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; data: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; id: z$1.ZodString; input: z$1.ZodRecord; name: z$1.ZodString; thoughtSignature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; toolUseId: z$1.ZodString; content: z$1.ZodOptional; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">; createdAt: z$1.ZodNumber; updatedAt: z$1.ZodNumber; parentId: z$1.ZodOptional; userMessageSource: z$1.ZodOptional>; visibility: z$1.ZodOptional>; openaiMessageId: z$1.ZodOptional; openaiPhase: z$1.ZodOptional>>; openaiEncryptedContent: z$1.ZodOptional; openaiReasoningId: z$1.ZodOptional; openaiReasoningSummary: z$1.ZodOptional; geminiThoughtSignature: z$1.ZodOptional; chatCompletionReasoningField: z$1.ZodOptional>; chatCompletionReasoningContent: z$1.ZodOptional; isUserVisible: z$1.ZodOptional; isError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>, "many">; hasMore: z$1.ZodBoolean; nextCursor: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; hasMore: boolean; nextCursor?: string | undefined; }, { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; hasMore: boolean; nextCursor?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; hasMore: boolean; nextCursor?: string | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { messages: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }[]; hasMore: boolean; nextCursor?: string | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonUpdateSessionSettingsResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodUnion<[z$1.ZodObject<{ accepted: z$1.ZodLiteral; }, "strip", z$1.ZodTypeAny, { accepted: true; }, { accepted: true; }>, z$1.ZodObject<{}, "strip", z$1.ZodTypeAny, {}, {}>]>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { accepted: true; } | {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { accepted: true; } | {}; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const DaemonValidateWorkingDirectoryResponseSchema: z$1.ZodUnion<[z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"response">; error: z$1.ZodOptional; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>>; id: z$1.ZodString; } & { result: z$1.ZodObject<{ isValid: z$1.ZodBoolean; error: z$1.ZodOptional; resolvedPath: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { isValid: boolean; error?: string | undefined; resolvedPath?: string | undefined; }, { isValid: boolean; error?: string | undefined; resolvedPath?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { isValid: boolean; error?: string | undefined; resolvedPath?: string | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; result: { isValid: boolean; error?: string | undefined; resolvedPath?: string | undefined; }; error?: { code: JsonRpcErrorCode; message: string; data?: unknown; } | undefined; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>, z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; } & { type: z$1.ZodLiteral<"response">; id: z$1.ZodNullable; result: z$1.ZodOptional; } & { error: z$1.ZodObject<{ code: z$1.ZodNativeEnum; message: z$1.ZodString; data: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { code: JsonRpcErrorCode; message: string; data?: unknown; }, { code: JsonRpcErrorCode; message: string; data?: unknown; }>; }, "strip", z$1.ZodTypeAny, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }, { error: { code: JsonRpcErrorCode; message: string; data?: unknown; }; type: "response"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string | null; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; result?: unknown; }>]>; declare const SessionInactivityNotificationSchema: z$1.ZodObject<{ type: z$1.ZodLiteral; message: z$1.ZodString; timestamp: z$1.ZodNumber; timeoutSeconds: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { message: string; type: DaemonSpecificNotificationType.SESSION_INACTIVITY; timestamp: number; timeoutSeconds: number; }, { message: string; type: DaemonSpecificNotificationType.SESSION_INACTIVITY; timestamp: number; timeoutSeconds: number; }>; declare const SessionUnsubscribedNotificationSchema: z$1.ZodObject<{ type: z$1.ZodLiteral; message: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { message: string; type: DaemonSpecificNotificationType.SESSION_UNSUBSCRIBED; }, { message: string; type: DaemonSpecificNotificationType.SESSION_UNSUBSCRIBED; }>; declare const ChildSessionAvailableNotificationSchema: z$1.ZodObject<{ type: z$1.ZodLiteral; childSessionId: z$1.ZodString; timestamp: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { type: DaemonSpecificNotificationType.CHILD_SESSION_AVAILABLE; timestamp: number; childSessionId: string; }, { type: DaemonSpecificNotificationType.CHILD_SESSION_AVAILABLE; timestamp: number; childSessionId: string; }>; declare const DaemonSessionNotificationParamsSchema: z$1.ZodObject<{ sessionId: z$1.ZodString; notification: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{ id: z$1.ZodOptional; toolUseId: z$1.ZodString; content: z$1.ZodOptional; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z$1.ZodOptional; } & { type: z$1.ZodLiteral; messageId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; toolUseId: z$1.ZodString; toolName: z$1.ZodString; update: z$1.ZodObject<{ type: z$1.ZodEnum<["tool_call", "tool_result", "error", "status", "message"]>; toolName: z$1.ZodOptional; status: z$1.ZodOptional; details: z$1.ZodOptional; text: z$1.ZodOptional; error: z$1.ZodOptional; timestamp: z$1.ZodOptional; parameters: z$1.ZodOptional>; valueSnippet: z$1.ZodOptional; terminalId: z$1.ZodOptional; fullOutput: z$1.ZodOptional; subagentSessionId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }, { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; }, { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; message: z$1.ZodObject<{ id: z$1.ZodString; role: z$1.ZodNativeEnum; content: z$1.ZodArray; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; signature: z$1.ZodString; signatureProvider: z$1.ZodOptional, z$1.ZodLiteral<"unknown">]>>; thinking: z$1.ZodString; durationMs: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; data: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; id: z$1.ZodString; input: z$1.ZodRecord; name: z$1.ZodString; thoughtSignature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; toolUseId: z$1.ZodString; content: z$1.ZodOptional; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">; createdAt: z$1.ZodNumber; updatedAt: z$1.ZodNumber; parentId: z$1.ZodOptional; userMessageSource: z$1.ZodOptional>; visibility: z$1.ZodOptional>; openaiMessageId: z$1.ZodOptional; openaiPhase: z$1.ZodOptional>>; openaiEncryptedContent: z$1.ZodOptional; openaiReasoningId: z$1.ZodOptional; openaiReasoningSummary: z$1.ZodOptional; geminiThoughtSignature: z$1.ZodOptional; chatCompletionReasoningField: z$1.ZodOptional>; chatCompletionReasoningContent: z$1.ZodOptional; isUserVisible: z$1.ZodOptional; isError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>; parentId: z$1.ZodOptional; requestId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; }, { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; message: z$1.ZodString; errorType: z$1.ZodNativeEnum; timestamp: z$1.ZodString; error: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; }, { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; newState: z$1.ZodNativeEnum; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; }, { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; summaryId: z$1.ZodString; removedCount: z$1.ZodNumber; visibleBoundaryMessageId: z$1.ZodNullable; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; }, { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; loopState: z$1.ZodObject<{ loopId: z$1.ZodString; status: z$1.ZodNativeEnum; intervalMs: z$1.ZodNumber; iteration: z$1.ZodNumber; startedAt: z$1.ZodNumber; updatedAt: z$1.ZodNumber; nextRunAt: z$1.ZodNullable; isDue: z$1.ZodBoolean; lastRunStartedAt: z$1.ZodOptional; lastRunCompletedAt: z$1.ZodOptional; stopReason: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; }, { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; requestId: z$1.ZodString; toolUseIds: z$1.ZodArray; selectedOption: z$1.ZodNativeEnum; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; }, { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; requestId: z$1.ZodOptional; settings: z$1.ZodObject<{ autonomyMode: z$1.ZodOptional>; interactionMode: z$1.ZodCatch>>; autonomyLevel: z$1.ZodCatch>>; modelId: z$1.ZodOptional; reasoningEffort: z$1.ZodOptional>; specModeModelId: z$1.ZodOptional; specModeReasoningEffort: z$1.ZodOptional>; enabledToolIds: z$1.ZodOptional>; disabledToolIds: z$1.ZodOptional>; missionSettings: z$1.ZodOptional; workerReasoningEffort: z$1.ZodOptional>; validationWorkerModel: z$1.ZodOptional; validationWorkerReasoningEffort: z$1.ZodOptional>; skipScrutiny: z$1.ZodOptional; skipUserTesting: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; compactionThresholdCheckEnabled: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; }, { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; requestId: z$1.ZodOptional; title: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; }, { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; servers: z$1.ZodArray; source: z$1.ZodNativeEnum; isManaged: z$1.ZodBoolean; error: z$1.ZodOptional; toolCount: z$1.ZodOptional; serverType: z$1.ZodNativeEnum; hasAuthTokens: z$1.ZodOptional; requiresAuth: z$1.ZodOptional; pendingAuthUrl: z$1.ZodOptional; pendingAuthMessage: z$1.ZodOptional; pendingAuthState: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }>, "many">; summary: z$1.ZodObject<{ total: z$1.ZodNumber; connected: z$1.ZodNumber; connecting: z$1.ZodNumber; failed: z$1.ZodNumber; disabled: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }, { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; messageId: z$1.ZodString; blockIndex: z$1.ZodNumber; textDelta: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }, { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; messageId: z$1.ZodString; blockIndex: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; }, { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; messageId: z$1.ZodString; structuredOutput: z$1.ZodNullable>; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; }, { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; messageId: z$1.ZodString; blockIndex: z$1.ZodNumber; textDelta: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }, { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; messageId: z$1.ZodString; blockIndex: z$1.ZodNumber; durationMs: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; }, { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; sessionId: z$1.ZodString; tokenUsage: z$1.ZodObject<{ inputTokens: z$1.ZodNumber; outputTokens: z$1.ZodNumber; cacheCreationTokens: z$1.ZodNumber; cacheReadTokens: z$1.ZodNumber; thinkingTokens: z$1.ZodNumber; factoryCredits: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>; inclusiveTokenUsage: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; lastCallTokenUsage: z$1.ZodOptional; }, "inputTokens" | "cacheReadTokens"> & { outputTokens: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; }, { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; }>>; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; }, { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; state: z$1.ZodNativeEnum; updatedAt: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; }, { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; features: z$1.ZodArray; skillName: z$1.ZodString; preconditions: z$1.ZodArray; expectedBehavior: z$1.ZodArray; fulfills: z$1.ZodOptional>; milestone: z$1.ZodOptional; workerSessionIds: z$1.ZodOptional>; currentWorkerSessionId: z$1.ZodOptional>; completedWorkerSessionId: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; }, { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; progressLog: z$1.ZodArray; title: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; pauseReason: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; resumeWorkerSessionId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; message: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; spawnId: z$1.ZodString; featureId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; featureId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; featureId: z$1.ZodString; successState: z$1.ZodNativeEnum; returnToOrchestrator: z$1.ZodBoolean; commitId: z$1.ZodEffects, string | undefined, unknown>; repoPath: z$1.ZodEffects, string | undefined, unknown>; exitCode: z$1.ZodNumber; validatorsPassed: z$1.ZodOptional; handoff: z$1.ZodOptional; whatWasImplemented: z$1.ZodString; whatWasLeftUndone: z$1.ZodString; verification: z$1.ZodObject<{ commandsRun: z$1.ZodArray, "many">; interactiveChecks: z$1.ZodOptional, "many">>; }, "strip", z$1.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; tests: z$1.ZodObject<{ added: z$1.ZodArray, "many">; }, "strip", z$1.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z$1.ZodOptional>; coverage: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; discoveredIssues: z$1.ZodArray; description: z$1.ZodString; suggestedFix: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>, "many">; skillFeedback: z$1.ZodOptional, "many">; suggestedChanges: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }>>; }, "strip", z$1.ZodTypeAny, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }>>; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; }, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodOptional; spawnId: z$1.ZodString; exitCode: z$1.ZodOptional; reason: z$1.ZodString; failureReason: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; featureId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; dismissals: z$1.ZodOptional; sourceFeatureId: z$1.ZodString; summary: z$1.ZodString; justification: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }>, "many">>; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; milestone: z$1.ZodString; featureId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }>]>, "many">; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; }, { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; timestamp: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; }, { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; }, { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; exitCode: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; }, { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; serverName: z$1.ZodString; authUrl: z$1.ZodString; message: z$1.ZodString; state: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; }, { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; serverName: z$1.ZodString; outcome: z$1.ZodNativeEnum; message: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; }, { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; hookId: z$1.ZodString; hookEventName: z$1.ZodString; hookMatcher: z$1.ZodOptional; hookCommands: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { command: string; timeout?: number | undefined; }, { command: string; timeout?: number | undefined; }>, "many">; hookToolCallId: z$1.ZodOptional; isParallelExecution: z$1.ZodOptional; parallelGroupId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; }, { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; hookId: z$1.ZodString; hookEventName: z$1.ZodOptional>; hookMatcher: z$1.ZodOptional; hookToolCallId: z$1.ZodOptional; hookStatus: z$1.ZodEnum<["completed", "error"]>; hookResults: z$1.ZodOptional; timeout: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }, { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }>, "many">>; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }, { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; toolUse: z$1.ZodObject<{ type: z$1.ZodLiteral; id: z$1.ZodString; input: z$1.ZodRecord; name: z$1.ZodString; thoughtSignature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; }, { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; text: z$1.ZodString; requestId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; }, { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; toolUseId: z$1.ZodString; toolName: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; }, { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; message: z$1.ZodString; timestamp: z$1.ZodNumber; timeoutSeconds: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { message: string; type: DaemonSpecificNotificationType.SESSION_INACTIVITY; timestamp: number; timeoutSeconds: number; }, { message: string; type: DaemonSpecificNotificationType.SESSION_INACTIVITY; timestamp: number; timeoutSeconds: number; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; message: z$1.ZodString; timestamp: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { message: string; type: DaemonSpecificNotificationType.SESSION_PROCESS_EXITED; timestamp: number; }, { message: string; type: DaemonSpecificNotificationType.SESSION_PROCESS_EXITED; timestamp: number; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; timestamp: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { type: DaemonSpecificNotificationType.SESSION_CLOSED; timestamp: number; }, { type: DaemonSpecificNotificationType.SESSION_CLOSED; timestamp: number; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; message: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { message: string; type: DaemonSpecificNotificationType.SESSION_UNSUBSCRIBED; }, { message: string; type: DaemonSpecificNotificationType.SESSION_UNSUBSCRIBED; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; childSessionId: z$1.ZodString; timestamp: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { type: DaemonSpecificNotificationType.CHILD_SESSION_AVAILABLE; timestamp: number; childSessionId: string; }, { type: DaemonSpecificNotificationType.CHILD_SESSION_AVAILABLE; timestamp: number; childSessionId: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; terminalId: z$1.ZodString; data: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: DaemonTerminalEvent.DATA; data: string; terminalId: string; }, { type: DaemonTerminalEvent.DATA; data: string; terminalId: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; terminalId: z$1.ZodString; exitCode: z$1.ZodNumber; signal: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: DaemonTerminalEvent.EXIT; exitCode: number; signal: string; terminalId: string; }, { type: DaemonTerminalEvent.EXIT; exitCode: number; signal: string; terminalId: string; }>]>; }, "strip", z$1.ZodTypeAny, { notification: { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; } | { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; } | { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; } | { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; } | { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; } | { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; } | { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; } | { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; } | { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; } | { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; } | { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; } | { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; } | { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; } | { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; } | { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; } | { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; } | { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; } | { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; } | { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; } | { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; } | { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; } | { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; } | { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; } | { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; } | { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; } | { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; } | { type: DaemonTerminalEvent.DATA; data: string; terminalId: string; } | { type: DaemonTerminalEvent.EXIT; exitCode: number; signal: string; terminalId: string; } | { message: string; type: DaemonSpecificNotificationType.SESSION_INACTIVITY; timestamp: number; timeoutSeconds: number; } | { message: string; type: DaemonSpecificNotificationType.SESSION_PROCESS_EXITED; timestamp: number; } | { type: DaemonSpecificNotificationType.SESSION_CLOSED; timestamp: number; } | { message: string; type: DaemonSpecificNotificationType.SESSION_UNSUBSCRIBED; } | { type: DaemonSpecificNotificationType.CHILD_SESSION_AVAILABLE; timestamp: number; childSessionId: string; }; sessionId: string; }, { notification: { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; } | { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; } | { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; } | { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; } | { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; } | { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; } | { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; } | { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; } | { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; } | { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; } | { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; } | { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; } | { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; } | { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; } | { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; } | { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; } | { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; } | { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; } | { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; } | { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; } | { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; } | { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; } | { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; } | { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; } | { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; } | { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; } | { type: DaemonTerminalEvent.DATA; data: string; terminalId: string; } | { type: DaemonTerminalEvent.EXIT; exitCode: number; signal: string; terminalId: string; } | { message: string; type: DaemonSpecificNotificationType.SESSION_INACTIVITY; timestamp: number; timeoutSeconds: number; } | { message: string; type: DaemonSpecificNotificationType.SESSION_PROCESS_EXITED; timestamp: number; } | { type: DaemonSpecificNotificationType.SESSION_CLOSED; timestamp: number; } | { message: string; type: DaemonSpecificNotificationType.SESSION_UNSUBSCRIBED; } | { type: DaemonSpecificNotificationType.CHILD_SESSION_AVAILABLE; timestamp: number; childSessionId: string; }; sessionId: string; }>; declare const DaemonSessionNotificationSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"notification">; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ sessionId: z$1.ZodString; notification: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{ id: z$1.ZodOptional; toolUseId: z$1.ZodString; content: z$1.ZodOptional; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z$1.ZodOptional; } & { type: z$1.ZodLiteral; messageId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; toolUseId: z$1.ZodString; toolName: z$1.ZodString; update: z$1.ZodObject<{ type: z$1.ZodEnum<["tool_call", "tool_result", "error", "status", "message"]>; toolName: z$1.ZodOptional; status: z$1.ZodOptional; details: z$1.ZodOptional; text: z$1.ZodOptional; error: z$1.ZodOptional; timestamp: z$1.ZodOptional; parameters: z$1.ZodOptional>; valueSnippet: z$1.ZodOptional; terminalId: z$1.ZodOptional; fullOutput: z$1.ZodOptional; subagentSessionId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }, { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; }, { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; message: z$1.ZodObject<{ id: z$1.ZodString; role: z$1.ZodNativeEnum; content: z$1.ZodArray; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; signature: z$1.ZodString; signatureProvider: z$1.ZodOptional, z$1.ZodLiteral<"unknown">]>>; thinking: z$1.ZodString; durationMs: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }, { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; data: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }, { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; id: z$1.ZodString; input: z$1.ZodRecord; name: z$1.ZodString; thoughtSignature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; toolUseId: z$1.ZodString; content: z$1.ZodOptional; } & { type: z$1.ZodLiteral; text: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }, { type: MessageContentBlockType.Text; text: string; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodObject<{ type: z$1.ZodLiteral<"base64">; data: z$1.ZodString; mediaType: z$1.ZodEnum<["image/jpeg", "image/png", "image/gif", "image/webp"]>; }, "strip", z$1.ZodTypeAny, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }, { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }, { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">]>>; isError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }, { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; }>, z$1.ZodObject<{ id: z$1.ZodOptional; } & { type: z$1.ZodLiteral; source: z$1.ZodUnion<[z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"application/pdf">; data: z$1.ZodString; parsedData: z$1.ZodOptional; name: z$1.ZodOptional; path: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }, { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; mediaType: z$1.ZodLiteral<"text/plain">; data: z$1.ZodString; name: z$1.ZodOptional; mime: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }, { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }, { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; }>]>, "many">; createdAt: z$1.ZodNumber; updatedAt: z$1.ZodNumber; parentId: z$1.ZodOptional; userMessageSource: z$1.ZodOptional>; visibility: z$1.ZodOptional>; openaiMessageId: z$1.ZodOptional; openaiPhase: z$1.ZodOptional>>; openaiEncryptedContent: z$1.ZodOptional; openaiReasoningId: z$1.ZodOptional; openaiReasoningSummary: z$1.ZodOptional; geminiThoughtSignature: z$1.ZodOptional; chatCompletionReasoningField: z$1.ZodOptional>; chatCompletionReasoningContent: z$1.ZodOptional; isUserVisible: z$1.ZodOptional; isError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }, { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }>; parentId: z$1.ZodOptional; requestId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; }, { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; message: z$1.ZodString; errorType: z$1.ZodNativeEnum; timestamp: z$1.ZodString; error: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; }, { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; newState: z$1.ZodNativeEnum; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; }, { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; summaryId: z$1.ZodString; removedCount: z$1.ZodNumber; visibleBoundaryMessageId: z$1.ZodNullable; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; }, { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; loopState: z$1.ZodObject<{ loopId: z$1.ZodString; status: z$1.ZodNativeEnum; intervalMs: z$1.ZodNumber; iteration: z$1.ZodNumber; startedAt: z$1.ZodNumber; updatedAt: z$1.ZodNumber; nextRunAt: z$1.ZodNullable; isDue: z$1.ZodBoolean; lastRunStartedAt: z$1.ZodOptional; lastRunCompletedAt: z$1.ZodOptional; stopReason: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }, { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; }, { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; requestId: z$1.ZodString; toolUseIds: z$1.ZodArray; selectedOption: z$1.ZodNativeEnum; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; }, { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; requestId: z$1.ZodOptional; settings: z$1.ZodObject<{ autonomyMode: z$1.ZodOptional>; interactionMode: z$1.ZodCatch>>; autonomyLevel: z$1.ZodCatch>>; modelId: z$1.ZodOptional; reasoningEffort: z$1.ZodOptional>; specModeModelId: z$1.ZodOptional; specModeReasoningEffort: z$1.ZodOptional>; enabledToolIds: z$1.ZodOptional>; disabledToolIds: z$1.ZodOptional>; missionSettings: z$1.ZodOptional; workerReasoningEffort: z$1.ZodOptional>; validationWorkerModel: z$1.ZodOptional; validationWorkerReasoningEffort: z$1.ZodOptional>; skipScrutiny: z$1.ZodOptional; skipUserTesting: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }, { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; }>>; compactionThresholdCheckEnabled: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }, { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; }, { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; requestId: z$1.ZodOptional; title: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; }, { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; servers: z$1.ZodArray; source: z$1.ZodNativeEnum; isManaged: z$1.ZodBoolean; error: z$1.ZodOptional; toolCount: z$1.ZodOptional; serverType: z$1.ZodNativeEnum; hasAuthTokens: z$1.ZodOptional; requiresAuth: z$1.ZodOptional; pendingAuthUrl: z$1.ZodOptional; pendingAuthMessage: z$1.ZodOptional; pendingAuthState: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }, { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }>, "many">; summary: z$1.ZodObject<{ total: z$1.ZodNumber; connected: z$1.ZodNumber; connecting: z$1.ZodNumber; failed: z$1.ZodNumber; disabled: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }, { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }, { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; messageId: z$1.ZodString; blockIndex: z$1.ZodNumber; textDelta: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }, { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; messageId: z$1.ZodString; blockIndex: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; }, { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; messageId: z$1.ZodString; structuredOutput: z$1.ZodNullable>; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; }, { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; messageId: z$1.ZodString; blockIndex: z$1.ZodNumber; textDelta: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }, { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; messageId: z$1.ZodString; blockIndex: z$1.ZodNumber; durationMs: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; }, { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; sessionId: z$1.ZodString; tokenUsage: z$1.ZodObject<{ inputTokens: z$1.ZodNumber; outputTokens: z$1.ZodNumber; cacheCreationTokens: z$1.ZodNumber; cacheReadTokens: z$1.ZodNumber; thinkingTokens: z$1.ZodNumber; factoryCredits: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>; inclusiveTokenUsage: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }, { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }>>; lastCallTokenUsage: z$1.ZodOptional; }, "inputTokens" | "cacheReadTokens"> & { outputTokens: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; }, { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; }>>; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; }, { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; state: z$1.ZodNativeEnum; updatedAt: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; }, { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; features: z$1.ZodArray; skillName: z$1.ZodString; preconditions: z$1.ZodArray; expectedBehavior: z$1.ZodArray; fulfills: z$1.ZodOptional>; milestone: z$1.ZodOptional; workerSessionIds: z$1.ZodOptional>; currentWorkerSessionId: z$1.ZodOptional>; completedWorkerSessionId: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }, { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }>, "many">; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; }, { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; progressLog: z$1.ZodArray; title: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }, { type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; pauseReason: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }, { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; resumeWorkerSessionId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }, { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; message: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }, { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; spawnId: z$1.ZodString; featureId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; featureId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }, { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; featureId: z$1.ZodString; successState: z$1.ZodNativeEnum; returnToOrchestrator: z$1.ZodBoolean; commitId: z$1.ZodEffects, string | undefined, unknown>; repoPath: z$1.ZodEffects, string | undefined, unknown>; exitCode: z$1.ZodNumber; validatorsPassed: z$1.ZodOptional; handoff: z$1.ZodOptional; whatWasImplemented: z$1.ZodString; whatWasLeftUndone: z$1.ZodString; verification: z$1.ZodObject<{ commandsRun: z$1.ZodArray, "many">; interactiveChecks: z$1.ZodOptional, "many">>; }, "strip", z$1.ZodTypeAny, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }, { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }>; tests: z$1.ZodObject<{ added: z$1.ZodArray, "many">; }, "strip", z$1.ZodTypeAny, { file: string; cases: { name: string; verifies: string; }[]; }, { file: string; cases: { name: string; verifies: string; }[]; }>, "many">; updated: z$1.ZodOptional>; coverage: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }, { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }>; discoveredIssues: z$1.ZodArray; description: z$1.ZodString; suggestedFix: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }, { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }>, "many">; skillFeedback: z$1.ZodOptional, "many">; suggestedChanges: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }, { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; }>>; }, "strip", z$1.ZodTypeAny, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }, { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; }>>; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; }, { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodOptional; spawnId: z$1.ZodString; exitCode: z$1.ZodOptional; reason: z$1.ZodString; failureReason: z$1.ZodOptional>; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }, { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; featureId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }, { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; dismissals: z$1.ZodOptional; sourceFeatureId: z$1.ZodString; summary: z$1.ZodString; justification: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }, { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }>, "many">>; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }, { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; }>, z$1.ZodObject<{ timestamp: z$1.ZodString; } & { type: z$1.ZodLiteral; milestone: z$1.ZodString; featureId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }, { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; }>]>, "many">; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; }, { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; timestamp: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; }, { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; }, { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; workerSessionId: z$1.ZodString; exitCode: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; }, { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; serverName: z$1.ZodString; authUrl: z$1.ZodString; message: z$1.ZodString; state: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; }, { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; serverName: z$1.ZodString; outcome: z$1.ZodNativeEnum; message: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; }, { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; hookId: z$1.ZodString; hookEventName: z$1.ZodString; hookMatcher: z$1.ZodOptional; hookCommands: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { command: string; timeout?: number | undefined; }, { command: string; timeout?: number | undefined; }>, "many">; hookToolCallId: z$1.ZodOptional; isParallelExecution: z$1.ZodOptional; parallelGroupId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; }, { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; hookId: z$1.ZodString; hookEventName: z$1.ZodOptional>; hookMatcher: z$1.ZodOptional; hookToolCallId: z$1.ZodOptional; hookStatus: z$1.ZodEnum<["completed", "error"]>; hookResults: z$1.ZodOptional; timeout: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }, { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }>, "many">>; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }, { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; toolUse: z$1.ZodObject<{ type: z$1.ZodLiteral; id: z$1.ZodString; input: z$1.ZodRecord; name: z$1.ZodString; thoughtSignature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; }, { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; text: z$1.ZodString; requestId: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; }, { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; toolUseId: z$1.ZodString; toolName: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; }, { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; message: z$1.ZodString; timestamp: z$1.ZodNumber; timeoutSeconds: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { message: string; type: DaemonSpecificNotificationType.SESSION_INACTIVITY; timestamp: number; timeoutSeconds: number; }, { message: string; type: DaemonSpecificNotificationType.SESSION_INACTIVITY; timestamp: number; timeoutSeconds: number; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; message: z$1.ZodString; timestamp: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { message: string; type: DaemonSpecificNotificationType.SESSION_PROCESS_EXITED; timestamp: number; }, { message: string; type: DaemonSpecificNotificationType.SESSION_PROCESS_EXITED; timestamp: number; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; timestamp: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { type: DaemonSpecificNotificationType.SESSION_CLOSED; timestamp: number; }, { type: DaemonSpecificNotificationType.SESSION_CLOSED; timestamp: number; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; message: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { message: string; type: DaemonSpecificNotificationType.SESSION_UNSUBSCRIBED; }, { message: string; type: DaemonSpecificNotificationType.SESSION_UNSUBSCRIBED; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; childSessionId: z$1.ZodString; timestamp: z$1.ZodNumber; }, "strip", z$1.ZodTypeAny, { type: DaemonSpecificNotificationType.CHILD_SESSION_AVAILABLE; timestamp: number; childSessionId: string; }, { type: DaemonSpecificNotificationType.CHILD_SESSION_AVAILABLE; timestamp: number; childSessionId: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; terminalId: z$1.ZodString; data: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: DaemonTerminalEvent.DATA; data: string; terminalId: string; }, { type: DaemonTerminalEvent.DATA; data: string; terminalId: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; terminalId: z$1.ZodString; exitCode: z$1.ZodNumber; signal: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: DaemonTerminalEvent.EXIT; exitCode: number; signal: string; terminalId: string; }, { type: DaemonTerminalEvent.EXIT; exitCode: number; signal: string; terminalId: string; }>]>; }, "strip", z$1.ZodTypeAny, { notification: { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; } | { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; } | { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; } | { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; } | { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; } | { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; } | { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; } | { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; } | { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; } | { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; } | { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; } | { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; } | { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; } | { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; } | { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; } | { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; } | { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; } | { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; } | { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; } | { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; } | { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; } | { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; } | { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; } | { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; } | { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; } | { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; } | { type: DaemonTerminalEvent.DATA; data: string; terminalId: string; } | { type: DaemonTerminalEvent.EXIT; exitCode: number; signal: string; terminalId: string; } | { message: string; type: DaemonSpecificNotificationType.SESSION_INACTIVITY; timestamp: number; timeoutSeconds: number; } | { message: string; type: DaemonSpecificNotificationType.SESSION_PROCESS_EXITED; timestamp: number; } | { type: DaemonSpecificNotificationType.SESSION_CLOSED; timestamp: number; } | { message: string; type: DaemonSpecificNotificationType.SESSION_UNSUBSCRIBED; } | { type: DaemonSpecificNotificationType.CHILD_SESSION_AVAILABLE; timestamp: number; childSessionId: string; }; sessionId: string; }, { notification: { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; } | { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; } | { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; } | { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; } | { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; } | { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; } | { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; } | { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; } | { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; } | { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; } | { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; } | { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; } | { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; } | { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; } | { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; } | { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; } | { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; } | { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; } | { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; } | { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; } | { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; } | { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; } | { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; } | { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; } | { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; } | { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; } | { type: DaemonTerminalEvent.DATA; data: string; terminalId: string; } | { type: DaemonTerminalEvent.EXIT; exitCode: number; signal: string; terminalId: string; } | { message: string; type: DaemonSpecificNotificationType.SESSION_INACTIVITY; timestamp: number; timeoutSeconds: number; } | { message: string; type: DaemonSpecificNotificationType.SESSION_PROCESS_EXITED; timestamp: number; } | { type: DaemonSpecificNotificationType.SESSION_CLOSED; timestamp: number; } | { message: string; type: DaemonSpecificNotificationType.SESSION_UNSUBSCRIBED; } | { type: DaemonSpecificNotificationType.CHILD_SESSION_AVAILABLE; timestamp: number; childSessionId: string; }; sessionId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { notification: { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; } | { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; } | { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; } | { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; } | { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; } | { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; } | { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; } | { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; } | { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: DroidInteractionMode | undefined; autonomyLevel?: AutonomyLevel | undefined; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; } | { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; } | { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; } | { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; } | { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; } | { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; } | { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; } | { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; } | { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; } | { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: string | undefined; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: string | undefined; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; } | { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; } | { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; } | { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; } | { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; } | { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; } | { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; } | { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; } | { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; } | { type: DaemonTerminalEvent.DATA; data: string; terminalId: string; } | { type: DaemonTerminalEvent.EXIT; exitCode: number; signal: string; terminalId: string; } | { message: string; type: DaemonSpecificNotificationType.SESSION_INACTIVITY; timestamp: number; timeoutSeconds: number; } | { message: string; type: DaemonSpecificNotificationType.SESSION_PROCESS_EXITED; timestamp: number; } | { type: DaemonSpecificNotificationType.SESSION_CLOSED; timestamp: number; } | { message: string; type: DaemonSpecificNotificationType.SESSION_UNSUBSCRIBED; } | { type: DaemonSpecificNotificationType.CHILD_SESSION_AVAILABLE; timestamp: number; childSessionId: string; }; sessionId: string; }; type: "notification"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; method: DaemonDroidEvent.SESSION_NOTIFICATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { notification: { type: SessionNotificationType.TOOL_RESULT; toolUseId: string; messageId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; } | { type: SessionNotificationType.TOOL_PROGRESS_UPDATE; toolUseId: string; toolName: string; update: { type: "tool_result" | "error" | "tool_call" | "status" | "message"; error?: string | undefined; status?: string | undefined; text?: string | undefined; timestamp?: number | undefined; toolName?: string | undefined; details?: string | undefined; parameters?: Record | undefined; valueSnippet?: string | undefined; subagentSessionId?: string | undefined; terminalId?: string | undefined; fullOutput?: string | undefined; }; } | { message: { id: string; content: ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Thinking; thinking: string; signature: string; id?: string | undefined; signatureProvider?: "unknown" | ModelProvider | undefined; durationMs?: number | undefined; } | { type: MessageContentBlockType.RedactedThinking; data: string; id?: string | undefined; } | { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; } | { type: MessageContentBlockType.ToolResult; toolUseId: string; id?: string | undefined; content?: string | ({ type: MessageContentBlockType.Text; text: string; id?: string | undefined; } | { type: MessageContentBlockType.Image; source: { type: "base64"; data: string; mediaType: "image/jpeg" | "image/png" | "image/gif" | "image/webp"; }; id?: string | undefined; } | { type: MessageContentBlockType.Document; source: { type: DocumentSourceType.Base64; data: string; mediaType: "application/pdf"; path?: string | undefined; name?: string | undefined; parsedData?: string | undefined; } | { type: DocumentSourceType.Text; data: string; mediaType: "text/plain"; name?: string | undefined; mime?: string | undefined; }; id?: string | undefined; })[] | undefined; isError?: boolean | undefined; })[]; role: MessageRole; createdAt: number; updatedAt: number; isError?: boolean | undefined; parentId?: string | undefined; visibility?: MessageVisibility | undefined; userMessageSource?: SessionOrigin | undefined; openaiMessageId?: string | undefined; openaiPhase?: OpenAIPhase | null | undefined; openaiEncryptedContent?: string | undefined; openaiReasoningId?: string | undefined; openaiReasoningSummary?: string | undefined; geminiThoughtSignature?: string | undefined; chatCompletionReasoningField?: ChatCompletionReasoningField | undefined; chatCompletionReasoningContent?: string | undefined; isUserVisible?: boolean | undefined; }; type: SessionNotificationType.CREATE_MESSAGE; parentId?: string | undefined; requestId?: string | undefined; } | { message: string; type: SessionNotificationType.ERROR; timestamp: string; errorType: DroidErrorType; error?: { message: string; name: string; } | undefined; } | { type: SessionNotificationType.DROID_WORKING_STATE_CHANGED; newState: DroidWorkingState; } | { type: SessionNotificationType.SESSION_COMPACTED; removedCount: number; summaryId: string; visibleBoundaryMessageId: string | null; } | { type: SessionNotificationType.LOOP_STATE_CHANGED; loopState: { status: DroidLoopStatus; updatedAt: number; startedAt: number; loopId: string; intervalMs: number; iteration: number; nextRunAt: number | null; isDue: boolean; stopReason?: DroidLoopStopReason | undefined; lastRunStartedAt?: number | undefined; lastRunCompletedAt?: number | undefined; }; } | { type: SessionNotificationType.PERMISSION_RESOLVED; requestId: string; toolUseIds: string[]; selectedOption: ToolConfirmationOutcome; } | { type: SessionNotificationType.SETTINGS_UPDATED; settings: { enabledToolIds?: string[] | undefined; disabledToolIds?: string[] | undefined; modelId?: string | undefined; reasoningEffort?: ReasoningEffort | undefined; autonomyMode?: AutonomyMode | undefined; interactionMode?: unknown; autonomyLevel?: unknown; specModeModelId?: string | undefined; specModeReasoningEffort?: ReasoningEffort | undefined; missionSettings?: { workerModel?: string | undefined; workerReasoningEffort?: ReasoningEffort | undefined; validationWorkerModel?: string | undefined; validationWorkerReasoningEffort?: ReasoningEffort | undefined; skipScrutiny?: boolean | undefined; skipUserTesting?: boolean | undefined; } | undefined; compactionThresholdCheckEnabled?: boolean | undefined; }; requestId?: string | undefined; } | { type: SessionNotificationType.SESSION_TITLE_UPDATED; title: string; requestId?: string | undefined; } | { type: SessionNotificationType.MCP_STATUS_CHANGED; summary: { connecting: number; connected: number; failed: number; total: number; disabled?: number | undefined; }; servers: { status: McpServerStatus; name: string; source: SettingsLevel; isManaged: boolean; serverType: McpServerType; error?: string | undefined; toolCount?: number | undefined; hasAuthTokens?: boolean | undefined; requiresAuth?: boolean | undefined; pendingAuthUrl?: string | undefined; pendingAuthMessage?: string | undefined; pendingAuthState?: string | undefined; }[]; } | { type: SessionNotificationType.ASSISTANT_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.ASSISTANT_TEXT_COMPLETE; messageId: string; blockIndex: number; } | { type: SessionNotificationType.STRUCTURED_OUTPUT; messageId: string; structuredOutput: Record | null; } | { type: SessionNotificationType.THINKING_TEXT_DELTA; messageId: string; blockIndex: number; textDelta: string; } | { type: SessionNotificationType.THINKING_TEXT_COMPLETE; messageId: string; blockIndex: number; durationMs?: number | undefined; } | { type: SessionNotificationType.SESSION_TOKEN_USAGE_CHANGED; sessionId: string; tokenUsage: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; }; inclusiveTokenUsage?: { inputTokens: number; outputTokens: number; cacheCreationTokens: number; cacheReadTokens: number; thinkingTokens: number; factoryCredits?: number | undefined; } | undefined; lastCallTokenUsage?: { inputTokens: number; cacheReadTokens: number; outputTokens?: number | undefined; } | undefined; } | { type: SessionNotificationType.MISSION_STATE_CHANGED; state: MissionState; updatedAt?: string | undefined; } | { type: SessionNotificationType.MISSION_FEATURES_CHANGED; features: { status: FeatureStatus; id: string; description: string; skillName: string; preconditions: string[]; expectedBehavior: string[]; fulfills?: string[] | undefined; milestone?: string | undefined; workerSessionIds?: string[] | undefined; currentWorkerSessionId?: string | null | undefined; completedWorkerSessionId?: string | null | undefined; }[]; } | { type: SessionNotificationType.MISSION_PROGRESS_ENTRY; progressLog: ({ type: ProgressLogEntryType.MissionAccepted; timestamp: string; title: string; } | { type: ProgressLogEntryType.MissionPaused; timestamp: string; pauseReason?: MissionPauseReason | undefined; } | { type: ProgressLogEntryType.MissionResumed; timestamp: string; resumeWorkerSessionId?: string | undefined; } | { type: ProgressLogEntryType.MissionRunStarted; timestamp: string; message?: string | undefined; } | { type: ProgressLogEntryType.WorkerStarted; timestamp: string; workerSessionId: string; spawnId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.WorkerSelectedFeature; timestamp: string; workerSessionId: string; featureId: string; } | { type: ProgressLogEntryType.WorkerCompleted; exitCode: number; timestamp: string; workerSessionId: string; featureId: string; successState: FeatureSuccessState; returnToOrchestrator: boolean; commitId?: unknown; validatorsPassed?: boolean | undefined; handoff?: { whatWasImplemented: string; whatWasLeftUndone: string; verification: { commandsRun: { command: string; exitCode: number; observation: string; }[]; interactiveChecks?: { action: string; observed: string; }[] | undefined; }; tests: { added: { file: string; cases: { name: string; verifies: string; }[]; }[]; coverage: string; updated?: string[] | undefined; }; discoveredIssues: { description: string; severity: IssueSeverity; suggestedFix?: string | undefined; }[]; salientSummary?: string | undefined; skillFeedback?: { followedProcedure: boolean; deviations: { step: string; whatIDidInstead: string; why: string; }[]; suggestedChanges?: string[] | undefined; } | undefined; } | undefined; repoPath?: unknown; } | { type: ProgressLogEntryType.WorkerFailed; timestamp: string; spawnId: string; reason: string; exitCode?: number | undefined; workerSessionId?: string | undefined; failureReason?: WorkerFailureReason | undefined; } | { type: ProgressLogEntryType.WorkerPaused; timestamp: string; workerSessionId: string; featureId?: string | undefined; } | { type: ProgressLogEntryType.HandoffItemsDismissed; timestamp: string; dismissals?: { type: DismissalType; sourceFeatureId: string; summary: string; justification: string; }[] | undefined; } | { type: ProgressLogEntryType.MilestoneValidationTriggered; milestone: string; timestamp: string; featureId: string; })[]; } | { type: SessionNotificationType.MISSION_HEARTBEAT; timestamp: string; } | { type: SessionNotificationType.MISSION_WORKER_STARTED; workerSessionId: string; } | { type: SessionNotificationType.MISSION_WORKER_COMPLETED; exitCode: number; workerSessionId: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_REQUIRED; serverName: string; state: string; authUrl: string; } | { message: string; type: SessionNotificationType.MCP_AUTH_COMPLETED; serverName: string; outcome: McpAuthOutcome; } | { type: SessionNotificationType.TOOL_CALL; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; } | { type: SessionNotificationType.QUEUED_MESSAGES_DISCARDED; text: string; requestId?: string | undefined; } | { type: SessionNotificationType.TOOL_EXECUTION_HEARTBEAT; toolUseId: string; toolName: string; } | { type: SessionNotificationType.HOOK_EXECUTION_STARTED; hookEventName: string; hookId: string; hookCommands: { command: string; timeout?: number | undefined; }[]; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; isParallelExecution?: boolean | undefined; parallelGroupId?: string | undefined; } | { type: SessionNotificationType.HOOK_EXECUTION_COMPLETED; hookId: string; hookStatus: "error" | "completed"; hookEventName?: "PreToolUse" | "PostToolUse" | "Notification" | "UserPromptSubmit" | "Stop" | "SubagentStop" | "PreCompact" | "SessionStart" | "SessionEnd" | undefined; hookMatcher?: string | undefined; hookToolCallId?: string | undefined; hookResults?: { exitCode: number; stdout: string; stderr: string; command?: string | undefined; timeout?: number | undefined; }[] | undefined; } | { type: DaemonTerminalEvent.DATA; data: string; terminalId: string; } | { type: DaemonTerminalEvent.EXIT; exitCode: number; signal: string; terminalId: string; } | { message: string; type: DaemonSpecificNotificationType.SESSION_INACTIVITY; timestamp: number; timeoutSeconds: number; } | { message: string; type: DaemonSpecificNotificationType.SESSION_PROCESS_EXITED; timestamp: number; } | { type: DaemonSpecificNotificationType.SESSION_CLOSED; timestamp: number; } | { message: string; type: DaemonSpecificNotificationType.SESSION_UNSUBSCRIBED; } | { type: DaemonSpecificNotificationType.CHILD_SESSION_AVAILABLE; timestamp: number; childSessionId: string; }; sessionId: string; }; type: "notification"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; method: DaemonDroidEvent.SESSION_NOTIFICATION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonRequestPermissionSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ toolUses: z$1.ZodArray; id: z$1.ZodString; input: z$1.ZodRecord; name: z$1.ZodString; thoughtSignature: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }, { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }>; confirmationType: z$1.ZodNativeEnum; details: z$1.ZodDiscriminatedUnion<"type", [z$1.ZodObject<{ type: z$1.ZodLiteral; filePath: z$1.ZodString; fileName: z$1.ZodString; oldContent: z$1.ZodOptional; newContent: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; fullCommand: z$1.ZodString; command: z$1.ZodString; extractedCommands: z$1.ZodOptional>; impactLevel: z$1.ZodOptional; riskLevelReason: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }, { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; filePath: z$1.ZodString; fileName: z$1.ZodString; content: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }, { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; questionnaire: z$1.ZodString; parsed: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; }, "strip", z$1.ZodTypeAny, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }, { questions: { options: string[]; index: number; topic: string; question: string; }[]; }>>; parseError: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { message: string; line?: number | undefined; }, { message: string; line?: number | undefined; }>>; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }, { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; plan: z$1.ZodString; title: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }, { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; proposal: z$1.ZodString; title: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }, { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; runningMissionCount: z$1.ZodNumber; runningMissionSessionIds: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }, { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; filePath: z$1.ZodString; fileName: z$1.ZodString; patchContent: z$1.ZodString; oldContent: z$1.ZodOptional; newContent: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }, { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; toolName: z$1.ZodString; impactLevel: z$1.ZodString; serverName: z$1.ZodOptional; actualToolName: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }, { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; }>, z$1.ZodObject<{ type: z$1.ZodLiteral; violatingToolName: z$1.ZodString; target: z$1.ZodString; operationType: z$1.ZodNativeEnum; violationType: z$1.ZodNativeEnum; reason: z$1.ZodString; violationReason: z$1.ZodOptional>; isOrgDeny: z$1.ZodBoolean; }, "strip", z$1.ZodTypeAny, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }, { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }>]>; }, "strip", z$1.ZodTypeAny, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }, { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }>, "many">; options: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { value: ToolConfirmationOutcome; label: string; }, { value: ToolConfirmationOutcome; label: string; }>, "many">; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { options: { value: ToolConfirmationOutcome; label: string; }[]; sessionId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }, { options: { value: ToolConfirmationOutcome; label: string; }[]; sessionId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }>; }, "strip", z$1.ZodTypeAny, { params: { options: { value: ToolConfirmationOutcome; label: string; }[]; sessionId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidEvent.REQUEST_PERMISSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { options: { value: ToolConfirmationOutcome; label: string; }[]; sessionId: string; toolUses: { details: { type: ToolConfirmationType.Edit; filePath: string; fileName: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.Execute; command: string; fullCommand: string; extractedCommands?: string[] | undefined; impactLevel?: string | undefined; riskLevelReason?: string | undefined; } | { type: ToolConfirmationType.Create; content: string; filePath: string; fileName: string; } | { type: ToolConfirmationType.AskUser; questionnaire: string; parsed?: { questions: { options: string[]; index: number; topic: string; question: string; }[]; } | undefined; parseError?: { message: string; line?: number | undefined; } | undefined; } | { type: ToolConfirmationType.ExitSpecMode; plan: string; title?: string | undefined; } | { type: ToolConfirmationType.ProposeMission; proposal: string; title?: string | undefined; } | { type: ToolConfirmationType.StartMissionRun; runningMissionCount: number; runningMissionSessionIds: string[]; } | { type: ToolConfirmationType.ApplyPatch; filePath: string; fileName: string; patchContent: string; oldContent?: string | undefined; newContent?: string | undefined; } | { type: ToolConfirmationType.McpTool; toolName: string; impactLevel: string; serverName?: string | undefined; actualToolName?: string | undefined; } | { type: ToolConfirmationType.SandboxViolation; reason: string; violatingToolName: string; target: string; operationType: SandboxOperationType; violationType: SandboxViolationType; isOrgDeny: boolean; violationReason?: SandboxViolationReason | undefined; }; toolUse: { type: MessageContentBlockType.ToolUse; id: string; name: string; input: Record; thoughtSignature?: string | undefined; }; confirmationType: ToolConfirmationType; }[]; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidEvent.REQUEST_PERMISSION; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const DaemonAskUserSchema: z$1.ZodObject<{ jsonrpc: z$1.ZodLiteral<"2.0">; factoryApiVersion: z$1.ZodLiteral<"1.0.0">; factoryProtocolVersion: z$1.ZodOptional; _meta: z$1.ZodOptional; tracestate: z$1.ZodOptional; }, "strip", z$1.ZodTypeAny, { traceparent?: string | undefined; tracestate?: string | undefined; }, { traceparent?: string | undefined; tracestate?: string | undefined; }>>; type: z$1.ZodLiteral<"request">; id: z$1.ZodString; } & { method: z$1.ZodLiteral; params: z$1.ZodObject<{ toolCallId: z$1.ZodString; questions: z$1.ZodArray; }, "strip", z$1.ZodTypeAny, { options: string[]; index: number; topic: string; question: string; }, { options: string[]; index: number; topic: string; question: string; }>, "many">; } & { sessionId: z$1.ZodString; }, "strip", z$1.ZodTypeAny, { sessionId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }, { sessionId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }>; }, "strip", z$1.ZodTypeAny, { params: { sessionId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidEvent.ASK_USER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }, { params: { sessionId: string; questions: { options: string[]; index: number; topic: string; question: string; }[]; toolCallId: string; }; type: "request"; jsonrpc: "2.0"; factoryApiVersion: "1.0.0"; id: string; method: DaemonDroidEvent.ASK_USER; factoryProtocolVersion?: string | undefined; _meta?: { traceparent?: string | undefined; tracestate?: string | undefined; } | undefined; }>; declare const index$1_AutomationEntrySchema: typeof AutomationEntrySchema; type index$1_AutomationErrorCode = AutomationErrorCode; declare const index$1_AutomationErrorCode: typeof AutomationErrorCode; type index$1_AutomationPrivacyLevel = AutomationPrivacyLevel; declare const index$1_AutomationPrivacyLevel: typeof AutomationPrivacyLevel; type index$1_AutomationScheduleCadence = AutomationScheduleCadence; declare const index$1_AutomationScheduleCadence: typeof AutomationScheduleCadence; type index$1_AutomationValidationIssueType = AutomationValidationIssueType; declare const index$1_AutomationValidationIssueType: typeof AutomationValidationIssueType; declare const index$1_ChildSessionAvailableNotificationSchema: typeof ChildSessionAvailableNotificationSchema; declare const index$1_CloseTerminalRequestParamsSchema: typeof CloseTerminalRequestParamsSchema; declare const index$1_CloseTerminalRequestSchema: typeof CloseTerminalRequestSchema; declare const index$1_CloseTerminalResponseSchema: typeof CloseTerminalResponseSchema; declare const index$1_CloseTerminalResultSchema: typeof CloseTerminalResultSchema; type index$1_ConnectionState = ConnectionState; declare const index$1_ConnectionState: typeof ConnectionState; type index$1_CreateTerminalError = CreateTerminalError; declare const index$1_CreateTerminalError: typeof CreateTerminalError; declare const index$1_CreateTerminalRequestParamsSchema: typeof CreateTerminalRequestParamsSchema; declare const index$1_CreateTerminalRequestSchema: typeof CreateTerminalRequestSchema; declare const index$1_CreateTerminalResponseSchema: typeof CreateTerminalResponseSchema; declare const index$1_CreateTerminalResultSchema: typeof CreateTerminalResultSchema; declare const index$1_CronCreateScopeSchema: typeof CronCreateScopeSchema; declare const index$1_CronKindSchema: typeof CronKindSchema; declare const index$1_CronPayloadSchema: typeof CronPayloadSchema; declare const index$1_CronRecordSchema: typeof CronRecordSchema; declare const index$1_CronScopeSchema: typeof CronScopeSchema; declare const index$1_CronStatusSchema: typeof CronStatusSchema; declare const index$1_DaemonAddMarketplaceRequestSchema: typeof DaemonAddMarketplaceRequestSchema; declare const index$1_DaemonAddMarketplaceResultSchema: typeof DaemonAddMarketplaceResultSchema; declare const index$1_DaemonAddMcpServerRequestSchema: typeof DaemonAddMcpServerRequestSchema; declare const index$1_DaemonAddUserMessageRequestParamsSchema: typeof DaemonAddUserMessageRequestParamsSchema; declare const index$1_DaemonAddUserMessageRequestSchema: typeof DaemonAddUserMessageRequestSchema; declare const index$1_DaemonAddUserMessageResponseSchema: typeof DaemonAddUserMessageResponseSchema; declare const index$1_DaemonAddUserMessageResultSchema: typeof DaemonAddUserMessageResultSchema; declare const index$1_DaemonArchiveSessionRequestParamsSchema: typeof DaemonArchiveSessionRequestParamsSchema; declare const index$1_DaemonArchiveSessionRequestSchema: typeof DaemonArchiveSessionRequestSchema; declare const index$1_DaemonArchiveSessionResponseSchema: typeof DaemonArchiveSessionResponseSchema; declare const index$1_DaemonArchiveSessionResultSchema: typeof DaemonArchiveSessionResultSchema; declare const index$1_DaemonAskUserParamsSchema: typeof DaemonAskUserParamsSchema; declare const index$1_DaemonAskUserResultSchema: typeof DaemonAskUserResultSchema; declare const index$1_DaemonAskUserSchema: typeof DaemonAskUserSchema; declare const index$1_DaemonAuthenticateMcpServerRequestSchema: typeof DaemonAuthenticateMcpServerRequestSchema; type index$1_DaemonAuthenticateRequest = DaemonAuthenticateRequest; type index$1_DaemonAuthenticateRequestParams = DaemonAuthenticateRequestParams; declare const index$1_DaemonAuthenticateRequestParamsSchema: typeof DaemonAuthenticateRequestParamsSchema; declare const index$1_DaemonAuthenticateRequestSchema: typeof DaemonAuthenticateRequestSchema; type index$1_DaemonAuthenticateResponse = DaemonAuthenticateResponse; declare const index$1_DaemonAuthenticateResponseSchema: typeof DaemonAuthenticateResponseSchema; type index$1_DaemonAuthenticateResult = DaemonAuthenticateResult; declare const index$1_DaemonAuthenticateResultSchema: typeof DaemonAuthenticateResultSchema; declare const index$1_DaemonAvailableSessionInfoSchema: typeof DaemonAvailableSessionInfoSchema; declare const index$1_DaemonCancelMcpAuthRequestSchema: typeof DaemonCancelMcpAuthRequestSchema; declare const index$1_DaemonClearMcpAuthRequestSchema: typeof DaemonClearMcpAuthRequestSchema; declare const index$1_DaemonCloseSessionRequestParamsSchema: typeof DaemonCloseSessionRequestParamsSchema; declare const index$1_DaemonCloseSessionRequestSchema: typeof DaemonCloseSessionRequestSchema; declare const index$1_DaemonCloseSessionResponseSchema: typeof DaemonCloseSessionResponseSchema; declare const index$1_DaemonCloseSessionResultSchema: typeof DaemonCloseSessionResultSchema; declare const index$1_DaemonCloseTerminalRequestParamsSchema: typeof DaemonCloseTerminalRequestParamsSchema; declare const index$1_DaemonCloseTerminalRequestSchema: typeof DaemonCloseTerminalRequestSchema; declare const index$1_DaemonCommandAckResultSchema: typeof DaemonCommandAckResultSchema; declare const index$1_DaemonCompactSessionRequestParamsSchema: typeof DaemonCompactSessionRequestParamsSchema; declare const index$1_DaemonCompactSessionRequestSchema: typeof DaemonCompactSessionRequestSchema; declare const index$1_DaemonCompactSessionResponseSchema: typeof DaemonCompactSessionResponseSchema; declare const index$1_DaemonCompactSessionResultSchema: typeof DaemonCompactSessionResultSchema; type index$1_DaemonConnectionEvent = DaemonConnectionEvent; declare const index$1_DaemonConnectionEvent: typeof DaemonConnectionEvent; type index$1_DaemonConnectionMetadata = DaemonConnectionMetadata; declare const index$1_DaemonConnectionMetadataSchema: typeof DaemonConnectionMetadataSchema; type index$1_DaemonConnectionMethod = DaemonConnectionMethod; declare const index$1_DaemonConnectionMethod: typeof DaemonConnectionMethod; type index$1_DaemonConnectionStatusNotification = DaemonConnectionStatusNotification; type index$1_DaemonConnectionStatusNotificationParams = DaemonConnectionStatusNotificationParams; declare const index$1_DaemonConnectionStatusNotificationParamsSchema: typeof DaemonConnectionStatusNotificationParamsSchema; declare const index$1_DaemonConnectionStatusNotificationSchema: typeof DaemonConnectionStatusNotificationSchema; declare const index$1_DaemonCreateAutomationRequestSchema: typeof DaemonCreateAutomationRequestSchema; declare const index$1_DaemonCreateAutomationResultSchema: typeof DaemonCreateAutomationResultSchema; declare const index$1_DaemonCreateCronRequestParamsSchema: typeof DaemonCreateCronRequestParamsSchema; declare const index$1_DaemonCreateCronRequestSchema: typeof DaemonCreateCronRequestSchema; declare const index$1_DaemonCreateCronResultSchema: typeof DaemonCreateCronResultSchema; declare const index$1_DaemonCreatePRRequestParamsSchema: typeof DaemonCreatePRRequestParamsSchema; declare const index$1_DaemonCreatePRRequestSchema: typeof DaemonCreatePRRequestSchema; declare const index$1_DaemonCreatePRResponseSchema: typeof DaemonCreatePRResponseSchema; declare const index$1_DaemonCreatePRResultSchema: typeof DaemonCreatePRResultSchema; declare const index$1_DaemonCreateTerminalRequestParamsSchema: typeof DaemonCreateTerminalRequestParamsSchema; declare const index$1_DaemonCreateTerminalRequestSchema: typeof DaemonCreateTerminalRequestSchema; type index$1_DaemonCronEvent = DaemonCronEvent; declare const index$1_DaemonCronEvent: typeof DaemonCronEvent; declare const index$1_DaemonCronStateChangedNotificationParamsSchema: typeof DaemonCronStateChangedNotificationParamsSchema; declare const index$1_DaemonCronStateChangedNotificationSchema: typeof DaemonCronStateChangedNotificationSchema; declare const index$1_DaemonDeleteAutomationRequestSchema: typeof DaemonDeleteAutomationRequestSchema; declare const index$1_DaemonDeleteAutomationResultSchema: typeof DaemonDeleteAutomationResultSchema; declare const index$1_DaemonDeleteCronRequestParamsSchema: typeof DaemonDeleteCronRequestParamsSchema; declare const index$1_DaemonDeleteCronRequestSchema: typeof DaemonDeleteCronRequestSchema; declare const index$1_DaemonDeleteCronResultSchema: typeof DaemonDeleteCronResultSchema; type index$1_DaemonDroidEvent = DaemonDroidEvent; declare const index$1_DaemonDroidEvent: typeof DaemonDroidEvent; type index$1_DaemonDroidMethod = DaemonDroidMethod; declare const index$1_DaemonDroidMethod: typeof DaemonDroidMethod; declare const index$1_DaemonExecuteRewindRequestSchema: typeof DaemonExecuteRewindRequestSchema; declare const index$1_DaemonExecuteRewindResponseSchema: typeof DaemonExecuteRewindResponseSchema; declare const index$1_DaemonExecuteRewindResultSchema: typeof DaemonExecuteRewindResultSchema; declare const index$1_DaemonForkAutomationRequestSchema: typeof DaemonForkAutomationRequestSchema; declare const index$1_DaemonForkAutomationResultSchema: typeof DaemonForkAutomationResultSchema; declare const index$1_DaemonForkSessionRequestParamsSchema: typeof DaemonForkSessionRequestParamsSchema; declare const index$1_DaemonForkSessionRequestSchema: typeof DaemonForkSessionRequestSchema; declare const index$1_DaemonForkSessionResponseSchema: typeof DaemonForkSessionResponseSchema; declare const index$1_DaemonForkSessionResultSchema: typeof DaemonForkSessionResultSchema; declare const index$1_DaemonGenerateSemanticDiffRequestParamsSchema: typeof DaemonGenerateSemanticDiffRequestParamsSchema; declare const index$1_DaemonGenerateSemanticDiffRequestSchema: typeof DaemonGenerateSemanticDiffRequestSchema; declare const index$1_DaemonGenerateSemanticDiffResponseSchema: typeof DaemonGenerateSemanticDiffResponseSchema; declare const index$1_DaemonGenerateSemanticDiffResultSchema: typeof DaemonGenerateSemanticDiffResultSchema; declare const index$1_DaemonGetAutomationHistoryRequestSchema: typeof DaemonGetAutomationHistoryRequestSchema; declare const index$1_DaemonGetAutomationHistoryResultSchema: typeof DaemonGetAutomationHistoryResultSchema; declare const index$1_DaemonGetAutomationVisualRequestSchema: typeof DaemonGetAutomationVisualRequestSchema; declare const index$1_DaemonGetAutomationVisualResultSchema: typeof DaemonGetAutomationVisualResultSchema; declare const index$1_DaemonGetContextBreakdownRequestSchema: typeof DaemonGetContextBreakdownRequestSchema; declare const index$1_DaemonGetContextBreakdownResponseSchema: typeof DaemonGetContextBreakdownResponseSchema; declare const index$1_DaemonGetContextBreakdownResultSchema: typeof DaemonGetContextBreakdownResultSchema; declare const index$1_DaemonGetDefaultSettingsRequestParamsSchema: typeof DaemonGetDefaultSettingsRequestParamsSchema; declare const index$1_DaemonGetDefaultSettingsRequestSchema: typeof DaemonGetDefaultSettingsRequestSchema; declare const index$1_DaemonGetDefaultSettingsResponseSchema: typeof DaemonGetDefaultSettingsResponseSchema; declare const index$1_DaemonGetDefaultSettingsResultSchema: typeof DaemonGetDefaultSettingsResultSchema; declare const index$1_DaemonGetGitDiffCommitSchema: typeof DaemonGetGitDiffCommitSchema; declare const index$1_DaemonGetGitDiffDataSchema: typeof DaemonGetGitDiffDataSchema; declare const index$1_DaemonGetGitDiffFileSchema: typeof DaemonGetGitDiffFileSchema; declare const index$1_DaemonGetGitDiffRequestParamsSchema: typeof DaemonGetGitDiffRequestParamsSchema; declare const index$1_DaemonGetGitDiffRequestSchema: typeof DaemonGetGitDiffRequestSchema; declare const index$1_DaemonGetGitDiffResponseSchema: typeof DaemonGetGitDiffResponseSchema; declare const index$1_DaemonGetGitDiffResultSchema: typeof DaemonGetGitDiffResultSchema; declare const index$1_DaemonGetGitDiffSuccessResultSchema: typeof DaemonGetGitDiffSuccessResultSchema; type index$1_DaemonGetGitDiffUnavailableReason = DaemonGetGitDiffUnavailableReason; declare const index$1_DaemonGetGitDiffUnavailableReason: typeof DaemonGetGitDiffUnavailableReason; declare const index$1_DaemonGetGitDiffUnavailableResultSchema: typeof DaemonGetGitDiffUnavailableResultSchema; declare const index$1_DaemonGetMcpConfigRequestSchema: typeof DaemonGetMcpConfigRequestSchema; declare const index$1_DaemonGetMcpConfigResultSchema: typeof DaemonGetMcpConfigResultSchema; declare const index$1_DaemonGetProxyTokenRequestSchema: typeof DaemonGetProxyTokenRequestSchema; declare const index$1_DaemonGetProxyTokenResponseSchema: typeof DaemonGetProxyTokenResponseSchema; declare const index$1_DaemonGetProxyTokenResultSchema: typeof DaemonGetProxyTokenResultSchema; declare const index$1_DaemonGetRewindInfoRequestSchema: typeof DaemonGetRewindInfoRequestSchema; declare const index$1_DaemonGetRewindInfoResponseSchema: typeof DaemonGetRewindInfoResponseSchema; declare const index$1_DaemonGetRewindInfoResultSchema: typeof DaemonGetRewindInfoResultSchema; declare const index$1_DaemonGetSemanticDiffCacheRequestParamsSchema: typeof DaemonGetSemanticDiffCacheRequestParamsSchema; declare const index$1_DaemonGetSemanticDiffCacheRequestSchema: typeof DaemonGetSemanticDiffCacheRequestSchema; declare const index$1_DaemonGetSemanticDiffCacheResponseSchema: typeof DaemonGetSemanticDiffCacheResponseSchema; declare const index$1_DaemonGetSemanticDiffCacheResultSchema: typeof DaemonGetSemanticDiffCacheResultSchema; declare const index$1_DaemonGetSessionMessagesRequestParamsSchema: typeof DaemonGetSessionMessagesRequestParamsSchema; declare const index$1_DaemonGetSessionMessagesRequestSchema: typeof DaemonGetSessionMessagesRequestSchema; declare const index$1_DaemonGetSessionMessagesResponseSchema: typeof DaemonGetSessionMessagesResponseSchema; declare const index$1_DaemonGetSessionMessagesResultSchema: typeof DaemonGetSessionMessagesResultSchema; declare const index$1_DaemonGetUserInfoRequestParamsSchema: typeof DaemonGetUserInfoRequestParamsSchema; declare const index$1_DaemonGetUserInfoResultSchema: typeof DaemonGetUserInfoResultSchema; declare const index$1_DaemonGetWorkspaceFileContentRequestSchema: typeof DaemonGetWorkspaceFileContentRequestSchema; declare const index$1_DaemonGetWorkspaceFileContentResponseSchema: typeof DaemonGetWorkspaceFileContentResponseSchema; declare const index$1_DaemonGetWorkspaceFileContentResultSchema: typeof DaemonGetWorkspaceFileContentResultSchema; declare const index$1_DaemonGitCommitRequestParamsSchema: typeof DaemonGitCommitRequestParamsSchema; declare const index$1_DaemonGitCommitRequestSchema: typeof DaemonGitCommitRequestSchema; declare const index$1_DaemonGitCommitResponseSchema: typeof DaemonGitCommitResponseSchema; declare const index$1_DaemonGitCommitResultSchema: typeof DaemonGitCommitResultSchema; declare const index$1_DaemonGitPushRequestParamsSchema: typeof DaemonGitPushRequestParamsSchema; declare const index$1_DaemonGitPushRequestSchema: typeof DaemonGitPushRequestSchema; declare const index$1_DaemonGitPushResponseSchema: typeof DaemonGitPushResponseSchema; declare const index$1_DaemonGitPushResultSchema: typeof DaemonGitPushResultSchema; declare const index$1_DaemonHoldSessionCronsRequestParamsSchema: typeof DaemonHoldSessionCronsRequestParamsSchema; declare const index$1_DaemonHoldSessionCronsRequestSchema: typeof DaemonHoldSessionCronsRequestSchema; declare const index$1_DaemonHoldSessionCronsResultSchema: typeof DaemonHoldSessionCronsResultSchema; declare const index$1_DaemonInitializeSessionRequestParamsSchema: typeof DaemonInitializeSessionRequestParamsSchema; declare const index$1_DaemonInitializeSessionRequestSchema: typeof DaemonInitializeSessionRequestSchema; declare const index$1_DaemonInitializeSessionResponseSchema: typeof DaemonInitializeSessionResponseSchema; declare const index$1_DaemonInitializeSessionResultSchema: typeof DaemonInitializeSessionResultSchema; declare const index$1_DaemonInstallPluginRequestSchema: typeof DaemonInstallPluginRequestSchema; declare const index$1_DaemonInstallPluginResultSchema: typeof DaemonInstallPluginResultSchema; declare const index$1_DaemonInstallSshKeyRequestSchema: typeof DaemonInstallSshKeyRequestSchema; declare const index$1_DaemonInstallSshKeyResultSchema: typeof DaemonInstallSshKeyResultSchema; declare const index$1_DaemonInterruptSessionRequestParamsSchema: typeof DaemonInterruptSessionRequestParamsSchema; declare const index$1_DaemonInterruptSessionRequestSchema: typeof DaemonInterruptSessionRequestSchema; declare const index$1_DaemonInterruptSessionResponseSchema: typeof DaemonInterruptSessionResponseSchema; declare const index$1_DaemonInterruptSessionResultSchema: typeof DaemonInterruptSessionResultSchema; declare const index$1_DaemonKillWorkerSessionRequestParamsSchema: typeof DaemonKillWorkerSessionRequestParamsSchema; declare const index$1_DaemonKillWorkerSessionRequestSchema: typeof DaemonKillWorkerSessionRequestSchema; declare const index$1_DaemonKillWorkerSessionResultSchema: typeof DaemonKillWorkerSessionResultSchema; declare const index$1_DaemonListAutomationsRequestSchema: typeof DaemonListAutomationsRequestSchema; declare const index$1_DaemonListAutomationsResultSchema: typeof DaemonListAutomationsResultSchema; declare const index$1_DaemonListAvailablePluginsRequestSchema: typeof DaemonListAvailablePluginsRequestSchema; declare const index$1_DaemonListAvailablePluginsResultSchema: typeof DaemonListAvailablePluginsResultSchema; declare const index$1_DaemonListAvailableSessionsFilterSchema: typeof DaemonListAvailableSessionsFilterSchema; declare const index$1_DaemonListAvailableSessionsRequestParamsSchema: typeof DaemonListAvailableSessionsRequestParamsSchema; declare const index$1_DaemonListAvailableSessionsRequestSchema: typeof DaemonListAvailableSessionsRequestSchema; declare const index$1_DaemonListAvailableSessionsResponseSchema: typeof DaemonListAvailableSessionsResponseSchema; declare const index$1_DaemonListAvailableSessionsResultSchema: typeof DaemonListAvailableSessionsResultSchema; declare const index$1_DaemonListCommandsRequestSchema: typeof DaemonListCommandsRequestSchema; declare const index$1_DaemonListCommandsResultSchema: typeof DaemonListCommandsResultSchema; declare const index$1_DaemonListCronsRequestParamsSchema: typeof DaemonListCronsRequestParamsSchema; declare const index$1_DaemonListCronsRequestSchema: typeof DaemonListCronsRequestSchema; declare const index$1_DaemonListCronsResultSchema: typeof DaemonListCronsResultSchema; declare const index$1_DaemonListFilesRequestParamsSchema: typeof DaemonListFilesRequestParamsSchema; declare const index$1_DaemonListFilesRequestSchema: typeof DaemonListFilesRequestSchema; declare const index$1_DaemonListFilesResponseSchema: typeof DaemonListFilesResponseSchema; declare const index$1_DaemonListFilesResultSchema: typeof DaemonListFilesResultSchema; declare const index$1_DaemonListInstalledPluginsRequestSchema: typeof DaemonListInstalledPluginsRequestSchema; declare const index$1_DaemonListInstalledPluginsResultSchema: typeof DaemonListInstalledPluginsResultSchema; declare const index$1_DaemonListMarketplacesRequestSchema: typeof DaemonListMarketplacesRequestSchema; declare const index$1_DaemonListMarketplacesResultSchema: typeof DaemonListMarketplacesResultSchema; declare const index$1_DaemonListMcpRegistryRequestSchema: typeof DaemonListMcpRegistryRequestSchema; declare const index$1_DaemonListMcpRegistryResultSchema: typeof DaemonListMcpRegistryResultSchema; declare const index$1_DaemonListMcpServersRequestSchema: typeof DaemonListMcpServersRequestSchema; declare const index$1_DaemonListMcpServersResultSchema: typeof DaemonListMcpServersResultSchema; declare const index$1_DaemonListMcpToolsRequestSchema: typeof DaemonListMcpToolsRequestSchema; declare const index$1_DaemonListMcpToolsResultSchema: typeof DaemonListMcpToolsResultSchema; declare const index$1_DaemonListOpenedSessionsRequestParamsSchema: typeof DaemonListOpenedSessionsRequestParamsSchema; declare const index$1_DaemonListOpenedSessionsRequestSchema: typeof DaemonListOpenedSessionsRequestSchema; declare const index$1_DaemonListOpenedSessionsResponseSchema: typeof DaemonListOpenedSessionsResponseSchema; declare const index$1_DaemonListOpenedSessionsResultSchema: typeof DaemonListOpenedSessionsResultSchema; declare const index$1_DaemonListSkillsRequestSchema: typeof DaemonListSkillsRequestSchema; declare const index$1_DaemonListSkillsResultSchema: typeof DaemonListSkillsResultSchema; declare const index$1_DaemonListTerminalsRequestParamsSchema: typeof DaemonListTerminalsRequestParamsSchema; declare const index$1_DaemonListTerminalsRequestSchema: typeof DaemonListTerminalsRequestSchema; declare const index$1_DaemonLoadSessionRequestParamsSchema: typeof DaemonLoadSessionRequestParamsSchema; declare const index$1_DaemonLoadSessionRequestSchema: typeof DaemonLoadSessionRequestSchema; declare const index$1_DaemonLoadSessionResponseSchema: typeof DaemonLoadSessionResponseSchema; declare const index$1_DaemonLoadSessionResultSchema: typeof DaemonLoadSessionResultSchema; declare const index$1_DaemonLoadSessionSpawnOptionsSchema: typeof DaemonLoadSessionSpawnOptionsSchema; type index$1_DaemonLogoutRequest = DaemonLogoutRequest; type index$1_DaemonLogoutRequestParams = DaemonLogoutRequestParams; declare const index$1_DaemonLogoutRequestParamsSchema: typeof DaemonLogoutRequestParamsSchema; declare const index$1_DaemonLogoutRequestSchema: typeof DaemonLogoutRequestSchema; type index$1_DaemonLogoutResponse = DaemonLogoutResponse; declare const index$1_DaemonLogoutResponseSchema: typeof DaemonLogoutResponseSchema; type index$1_DaemonLogoutResult = DaemonLogoutResult; declare const index$1_DaemonLogoutResultSchema: typeof DaemonLogoutResultSchema; type index$1_DaemonManagementMethod = DaemonManagementMethod; declare const index$1_DaemonManagementMethod: typeof DaemonManagementMethod; declare const index$1_DaemonMcpRegistryServerSchema: typeof DaemonMcpRegistryServerSchema; declare const index$1_DaemonMcpToolInfoSchema: typeof DaemonMcpToolInfoSchema; declare const index$1_DaemonOpenedSessionInfoSchema: typeof DaemonOpenedSessionInfoSchema; declare const index$1_DaemonPauseAutomationRequestSchema: typeof DaemonPauseAutomationRequestSchema; declare const index$1_DaemonPauseAutomationResultSchema: typeof DaemonPauseAutomationResultSchema; type index$1_DaemonRelayEvent = DaemonRelayEvent; declare const index$1_DaemonRelayEvent: typeof DaemonRelayEvent; declare const index$1_DaemonRelayGetStatusRequestSchema: typeof DaemonRelayGetStatusRequestSchema; declare const index$1_DaemonRelayGetStatusResponseSchema: typeof DaemonRelayGetStatusResponseSchema; declare const index$1_DaemonRelayGetStatusResultSchema: typeof DaemonRelayGetStatusResultSchema; type index$1_DaemonRelayMethod = DaemonRelayMethod; declare const index$1_DaemonRelayMethod: typeof DaemonRelayMethod; declare const index$1_DaemonRelayStartRequestSchema: typeof DaemonRelayStartRequestSchema; declare const index$1_DaemonRelayStartResponseSchema: typeof DaemonRelayStartResponseSchema; declare const index$1_DaemonRelayStartResultSchema: typeof DaemonRelayStartResultSchema; declare const index$1_DaemonRelayStatusChangedNotificationParamsSchema: typeof DaemonRelayStatusChangedNotificationParamsSchema; declare const index$1_DaemonRelayStatusChangedNotificationSchema: typeof DaemonRelayStatusChangedNotificationSchema; declare const index$1_DaemonRelayStopRequestSchema: typeof DaemonRelayStopRequestSchema; declare const index$1_DaemonRelayStopResponseSchema: typeof DaemonRelayStopResponseSchema; declare const index$1_DaemonRelayStopResultSchema: typeof DaemonRelayStopResultSchema; declare const index$1_DaemonRemoveMarketplaceRequestSchema: typeof DaemonRemoveMarketplaceRequestSchema; declare const index$1_DaemonRemoveMarketplaceResultSchema: typeof DaemonRemoveMarketplaceResultSchema; declare const index$1_DaemonRemoveMcpServerRequestSchema: typeof DaemonRemoveMcpServerRequestSchema; declare const index$1_DaemonRenameAutomationRequestSchema: typeof DaemonRenameAutomationRequestSchema; declare const index$1_DaemonRenameAutomationResultSchema: typeof DaemonRenameAutomationResultSchema; declare const index$1_DaemonRenameSessionRequestParamsSchema: typeof DaemonRenameSessionRequestParamsSchema; declare const index$1_DaemonRenameSessionRequestSchema: typeof DaemonRenameSessionRequestSchema; declare const index$1_DaemonRenameSessionResponseSchema: typeof DaemonRenameSessionResponseSchema; declare const index$1_DaemonRenameSessionResultSchema: typeof DaemonRenameSessionResultSchema; declare const index$1_DaemonRequestPermissionParamsSchema: typeof DaemonRequestPermissionParamsSchema; declare const index$1_DaemonRequestPermissionResultSchema: typeof DaemonRequestPermissionResultSchema; declare const index$1_DaemonRequestPermissionSchema: typeof DaemonRequestPermissionSchema; declare const index$1_DaemonRequestSchema: typeof DaemonRequestSchema; declare const index$1_DaemonResizeRequestParamsSchema: typeof DaemonResizeRequestParamsSchema; declare const index$1_DaemonResizeRequestSchema: typeof DaemonResizeRequestSchema; declare const index$1_DaemonResolveQueuedUserMessageRequestParamsSchema: typeof DaemonResolveQueuedUserMessageRequestParamsSchema; declare const index$1_DaemonResolveQueuedUserMessageRequestSchema: typeof DaemonResolveQueuedUserMessageRequestSchema; declare const index$1_DaemonResolveQueuedUserMessageResponseSchema: typeof DaemonResolveQueuedUserMessageResponseSchema; declare const index$1_DaemonResolveQueuedUserMessageResultSchema: typeof DaemonResolveQueuedUserMessageResultSchema; declare const index$1_DaemonResumeAutomationRequestSchema: typeof DaemonResumeAutomationRequestSchema; declare const index$1_DaemonResumeAutomationResultSchema: typeof DaemonResumeAutomationResultSchema; declare const index$1_DaemonResumeSessionCronsRequestParamsSchema: typeof DaemonResumeSessionCronsRequestParamsSchema; declare const index$1_DaemonResumeSessionCronsRequestSchema: typeof DaemonResumeSessionCronsRequestSchema; declare const index$1_DaemonResumeSessionCronsResultSchema: typeof DaemonResumeSessionCronsResultSchema; declare const index$1_DaemonRunAutomationRequestSchema: typeof DaemonRunAutomationRequestSchema; declare const index$1_DaemonRunAutomationResultSchema: typeof DaemonRunAutomationResultSchema; declare const index$1_DaemonSaveSemanticDiffCacheRequestParamsSchema: typeof DaemonSaveSemanticDiffCacheRequestParamsSchema; declare const index$1_DaemonSaveSemanticDiffCacheRequestSchema: typeof DaemonSaveSemanticDiffCacheRequestSchema; declare const index$1_DaemonSaveSemanticDiffCacheResponseSchema: typeof DaemonSaveSemanticDiffCacheResponseSchema; declare const index$1_DaemonSaveSemanticDiffCacheResultSchema: typeof DaemonSaveSemanticDiffCacheResultSchema; declare const index$1_DaemonSearchFilesRequestParamsSchema: typeof DaemonSearchFilesRequestParamsSchema; declare const index$1_DaemonSearchFilesRequestSchema: typeof DaemonSearchFilesRequestSchema; declare const index$1_DaemonSearchFilesResponseSchema: typeof DaemonSearchFilesResponseSchema; declare const index$1_DaemonSearchFilesResultSchema: typeof DaemonSearchFilesResultSchema; declare const index$1_DaemonSearchSessionsHitSchema: typeof DaemonSearchSessionsHitSchema; declare const index$1_DaemonSearchSessionsRequestParamsSchema: typeof DaemonSearchSessionsRequestParamsSchema; declare const index$1_DaemonSearchSessionsRequestSchema: typeof DaemonSearchSessionsRequestSchema; declare const index$1_DaemonSearchSessionsResponseSchema: typeof DaemonSearchSessionsResponseSchema; declare const index$1_DaemonSearchSessionsResultSchema: typeof DaemonSearchSessionsResultSchema; declare const index$1_DaemonSearchSessionsSessionResultSchema: typeof DaemonSearchSessionsSessionResultSchema; declare const index$1_DaemonSessionDefaultsManagementMapSchema: typeof DaemonSessionDefaultsManagementMapSchema; declare const index$1_DaemonSessionListFilterSchema: typeof DaemonSessionListFilterSchema; declare const index$1_DaemonSessionNotificationParamsSchema: typeof DaemonSessionNotificationParamsSchema; declare const index$1_DaemonSessionNotificationSchema: typeof DaemonSessionNotificationSchema; type index$1_DaemonSettingsMethod = DaemonSettingsMethod; declare const index$1_DaemonSettingsMethod: typeof DaemonSettingsMethod; type index$1_DaemonSpecificNotificationType = DaemonSpecificNotificationType; declare const index$1_DaemonSpecificNotificationType: typeof DaemonSpecificNotificationType; declare const index$1_DaemonSubmitBugReportRequestSchema: typeof DaemonSubmitBugReportRequestSchema; declare const index$1_DaemonSubmitBugReportResultSchema: typeof DaemonSubmitBugReportResultSchema; declare const index$1_DaemonSubmitMcpAuthCodeRequestSchema: typeof DaemonSubmitMcpAuthCodeRequestSchema; type index$1_DaemonTerminalEvent = DaemonTerminalEvent; declare const index$1_DaemonTerminalEvent: typeof DaemonTerminalEvent; type index$1_DaemonTerminalMethod = DaemonTerminalMethod; declare const index$1_DaemonTerminalMethod: typeof DaemonTerminalMethod; declare const index$1_DaemonToggleMcpServerRequestSchema: typeof DaemonToggleMcpServerRequestSchema; declare const index$1_DaemonToggleMcpToolRequestSchema: typeof DaemonToggleMcpToolRequestSchema; declare const index$1_DaemonTriggerUpdateRequestSchema: typeof DaemonTriggerUpdateRequestSchema; declare const index$1_DaemonTriggerUpdateResponseSchema: typeof DaemonTriggerUpdateResponseSchema; declare const index$1_DaemonTriggerUpdateResultSchema: typeof DaemonTriggerUpdateResultSchema; declare const index$1_DaemonUnarchiveSessionRequestParamsSchema: typeof DaemonUnarchiveSessionRequestParamsSchema; declare const index$1_DaemonUnarchiveSessionRequestSchema: typeof DaemonUnarchiveSessionRequestSchema; declare const index$1_DaemonUnarchiveSessionResponseSchema: typeof DaemonUnarchiveSessionResponseSchema; declare const index$1_DaemonUnarchiveSessionResultSchema: typeof DaemonUnarchiveSessionResultSchema; declare const index$1_DaemonUninstallPluginRequestSchema: typeof DaemonUninstallPluginRequestSchema; declare const index$1_DaemonUninstallPluginResultSchema: typeof DaemonUninstallPluginResultSchema; declare const index$1_DaemonUpdateAutomationModelRequestSchema: typeof DaemonUpdateAutomationModelRequestSchema; declare const index$1_DaemonUpdateAutomationModelResultSchema: typeof DaemonUpdateAutomationModelResultSchema; declare const index$1_DaemonUpdateAutomationPrivacyRequestSchema: typeof DaemonUpdateAutomationPrivacyRequestSchema; declare const index$1_DaemonUpdateAutomationPrivacyResultSchema: typeof DaemonUpdateAutomationPrivacyResultSchema; declare const index$1_DaemonUpdateCronRequestParamsSchema: typeof DaemonUpdateCronRequestParamsSchema; declare const index$1_DaemonUpdateCronRequestSchema: typeof DaemonUpdateCronRequestSchema; declare const index$1_DaemonUpdateCronResultSchema: typeof DaemonUpdateCronResultSchema; declare const index$1_DaemonUpdateMarketplaceRequestSchema: typeof DaemonUpdateMarketplaceRequestSchema; declare const index$1_DaemonUpdateMarketplaceResultSchema: typeof DaemonUpdateMarketplaceResultSchema; declare const index$1_DaemonUpdateMcpConfigRequestParamsSchema: typeof DaemonUpdateMcpConfigRequestParamsSchema; declare const index$1_DaemonUpdateMcpConfigRequestSchema: typeof DaemonUpdateMcpConfigRequestSchema; declare const index$1_DaemonUpdateMcpConfigResultSchema: typeof DaemonUpdateMcpConfigResultSchema; declare const index$1_DaemonUpdatePluginRequestSchema: typeof DaemonUpdatePluginRequestSchema; declare const index$1_DaemonUpdatePluginResultSchema: typeof DaemonUpdatePluginResultSchema; declare const index$1_DaemonUpdateSessionDefaultsRequestParamsSchema: typeof DaemonUpdateSessionDefaultsRequestParamsSchema; declare const index$1_DaemonUpdateSessionDefaultsRequestSchema: typeof DaemonUpdateSessionDefaultsRequestSchema; declare const index$1_DaemonUpdateSessionDefaultsResponseSchema: typeof DaemonUpdateSessionDefaultsResponseSchema; declare const index$1_DaemonUpdateSessionDefaultsResultSchema: typeof DaemonUpdateSessionDefaultsResultSchema; declare const index$1_DaemonUpdateSessionSettingsRequestParamsSchema: typeof DaemonUpdateSessionSettingsRequestParamsSchema; declare const index$1_DaemonUpdateSessionSettingsRequestSchema: typeof DaemonUpdateSessionSettingsRequestSchema; declare const index$1_DaemonUpdateSessionSettingsResponseSchema: typeof DaemonUpdateSessionSettingsResponseSchema; declare const index$1_DaemonUpdateSessionSettingsResultSchema: typeof DaemonUpdateSessionSettingsResultSchema; declare const index$1_DaemonValidateWorkingDirectoryRequestParamsSchema: typeof DaemonValidateWorkingDirectoryRequestParamsSchema; declare const index$1_DaemonValidateWorkingDirectoryRequestSchema: typeof DaemonValidateWorkingDirectoryRequestSchema; declare const index$1_DaemonValidateWorkingDirectoryResponseSchema: typeof DaemonValidateWorkingDirectoryResponseSchema; declare const index$1_DaemonValidateWorkingDirectoryResultSchema: typeof DaemonValidateWorkingDirectoryResultSchema; declare const index$1_DaemonWarmupCacheRequestParamsSchema: typeof DaemonWarmupCacheRequestParamsSchema; declare const index$1_DaemonWarmupCacheRequestSchema: typeof DaemonWarmupCacheRequestSchema; declare const index$1_DaemonWarmupCacheResponseSchema: typeof DaemonWarmupCacheResponseSchema; declare const index$1_DaemonWriteDataRequestParamsSchema: typeof DaemonWriteDataRequestParamsSchema; declare const index$1_DaemonWriteDataRequestSchema: typeof DaemonWriteDataRequestSchema; declare const index$1_ListTerminalsRequestParamsSchema: typeof ListTerminalsRequestParamsSchema; declare const index$1_ListTerminalsRequestSchema: typeof ListTerminalsRequestSchema; declare const index$1_ListTerminalsResponseSchema: typeof ListTerminalsResponseSchema; declare const index$1_ListTerminalsResultSchema: typeof ListTerminalsResultSchema; declare const index$1_MarketplaceSourceSchema: typeof MarketplaceSourceSchema; type index$1_McpConfigSource = McpConfigSource; declare const index$1_McpConfigSource: typeof McpConfigSource; declare const index$1_McpHttpServerConfigSchema: typeof McpHttpServerConfigSchema; declare const index$1_McpOAuthConfigSchema: typeof McpOAuthConfigSchema; declare const index$1_McpServerConfigSchema: typeof McpServerConfigSchema; declare const index$1_McpServerInfoSchema: typeof McpServerInfoSchema; declare const index$1_McpSuccessResultSchema: typeof McpSuccessResultSchema; declare const index$1_RedactedMarketplaceSourceSchema: typeof RedactedMarketplaceSourceSchema; declare const index$1_ResizeRequestParamsSchema: typeof ResizeRequestParamsSchema; declare const index$1_ResizeRequestSchema: typeof ResizeRequestSchema; declare const index$1_ResizeResponseSchema: typeof ResizeResponseSchema; declare const index$1_ResizeResultSchema: typeof ResizeResultSchema; declare const index$1_SessionInactivityNotificationSchema: typeof SessionInactivityNotificationSchema; type index$1_SessionLoadState = SessionLoadState; declare const index$1_SessionLoadState: typeof SessionLoadState; type index$1_SessionSearchDocKind = SessionSearchDocKind; declare const index$1_SessionSearchDocKind: typeof SessionSearchDocKind; declare const index$1_SessionUnsubscribedNotificationSchema: typeof SessionUnsubscribedNotificationSchema; declare const index$1_TerminalDataNotificationSchema: typeof TerminalDataNotificationSchema; declare const index$1_TerminalExitNotificationSchema: typeof TerminalExitNotificationSchema; declare const index$1_TerminalInfoSchema: typeof TerminalInfoSchema; declare const index$1_TerminalNotificationSchema: typeof TerminalNotificationSchema; declare const index$1_TerminalRequestSchema: typeof TerminalRequestSchema; declare const index$1_WriteDataRequestParamsSchema: typeof WriteDataRequestParamsSchema; declare const index$1_WriteDataRequestSchema: typeof WriteDataRequestSchema; declare const index$1_WriteDataResponseSchema: typeof WriteDataResponseSchema; declare const index$1_WriteDataResultSchema: typeof WriteDataResultSchema; declare namespace index$1 { export { index$1_AutomationEntrySchema as AutomationEntrySchema, index$1_AutomationErrorCode as AutomationErrorCode, index$1_AutomationPrivacyLevel as AutomationPrivacyLevel, index$1_AutomationScheduleCadence as AutomationScheduleCadence, index$1_AutomationValidationIssueType as AutomationValidationIssueType, index$1_ChildSessionAvailableNotificationSchema as ChildSessionAvailableNotificationSchema, index$1_CloseTerminalRequestParamsSchema as CloseTerminalRequestParamsSchema, index$1_CloseTerminalRequestSchema as CloseTerminalRequestSchema, index$1_CloseTerminalResponseSchema as CloseTerminalResponseSchema, index$1_CloseTerminalResultSchema as CloseTerminalResultSchema, index$1_ConnectionState as ConnectionState, index$1_CreateTerminalError as CreateTerminalError, index$1_CreateTerminalRequestParamsSchema as CreateTerminalRequestParamsSchema, index$1_CreateTerminalRequestSchema as CreateTerminalRequestSchema, index$1_CreateTerminalResponseSchema as CreateTerminalResponseSchema, index$1_CreateTerminalResultSchema as CreateTerminalResultSchema, index$1_CronCreateScopeSchema as CronCreateScopeSchema, index$1_CronKindSchema as CronKindSchema, index$1_CronPayloadSchema as CronPayloadSchema, index$1_CronRecordSchema as CronRecordSchema, index$1_CronScopeSchema as CronScopeSchema, index$1_CronStatusSchema as CronStatusSchema, index$1_DaemonAddMarketplaceRequestSchema as DaemonAddMarketplaceRequestSchema, index$1_DaemonAddMarketplaceResultSchema as DaemonAddMarketplaceResultSchema, index$1_DaemonAddMcpServerRequestSchema as DaemonAddMcpServerRequestSchema, index$1_DaemonAddUserMessageRequestParamsSchema as DaemonAddUserMessageRequestParamsSchema, index$1_DaemonAddUserMessageRequestSchema as DaemonAddUserMessageRequestSchema, index$1_DaemonAddUserMessageResponseSchema as DaemonAddUserMessageResponseSchema, index$1_DaemonAddUserMessageResultSchema as DaemonAddUserMessageResultSchema, index$1_DaemonArchiveSessionRequestParamsSchema as DaemonArchiveSessionRequestParamsSchema, index$1_DaemonArchiveSessionRequestSchema as DaemonArchiveSessionRequestSchema, index$1_DaemonArchiveSessionResponseSchema as DaemonArchiveSessionResponseSchema, index$1_DaemonArchiveSessionResultSchema as DaemonArchiveSessionResultSchema, index$1_DaemonAskUserParamsSchema as DaemonAskUserParamsSchema, index$1_DaemonAskUserResultSchema as DaemonAskUserResultSchema, index$1_DaemonAskUserSchema as DaemonAskUserSchema, index$1_DaemonAuthenticateMcpServerRequestSchema as DaemonAuthenticateMcpServerRequestSchema, type index$1_DaemonAuthenticateRequest as DaemonAuthenticateRequest, type index$1_DaemonAuthenticateRequestParams as DaemonAuthenticateRequestParams, index$1_DaemonAuthenticateRequestParamsSchema as DaemonAuthenticateRequestParamsSchema, index$1_DaemonAuthenticateRequestSchema as DaemonAuthenticateRequestSchema, type index$1_DaemonAuthenticateResponse as DaemonAuthenticateResponse, index$1_DaemonAuthenticateResponseSchema as DaemonAuthenticateResponseSchema, type index$1_DaemonAuthenticateResult as DaemonAuthenticateResult, index$1_DaemonAuthenticateResultSchema as DaemonAuthenticateResultSchema, index$1_DaemonAvailableSessionInfoSchema as DaemonAvailableSessionInfoSchema, index$1_DaemonCancelMcpAuthRequestSchema as DaemonCancelMcpAuthRequestSchema, index$1_DaemonClearMcpAuthRequestSchema as DaemonClearMcpAuthRequestSchema, index$1_DaemonCloseSessionRequestParamsSchema as DaemonCloseSessionRequestParamsSchema, index$1_DaemonCloseSessionRequestSchema as DaemonCloseSessionRequestSchema, index$1_DaemonCloseSessionResponseSchema as DaemonCloseSessionResponseSchema, index$1_DaemonCloseSessionResultSchema as DaemonCloseSessionResultSchema, index$1_DaemonCloseTerminalRequestParamsSchema as DaemonCloseTerminalRequestParamsSchema, index$1_DaemonCloseTerminalRequestSchema as DaemonCloseTerminalRequestSchema, index$1_DaemonCommandAckResultSchema as DaemonCommandAckResultSchema, index$1_DaemonCompactSessionRequestParamsSchema as DaemonCompactSessionRequestParamsSchema, index$1_DaemonCompactSessionRequestSchema as DaemonCompactSessionRequestSchema, index$1_DaemonCompactSessionResponseSchema as DaemonCompactSessionResponseSchema, index$1_DaemonCompactSessionResultSchema as DaemonCompactSessionResultSchema, index$1_DaemonConnectionEvent as DaemonConnectionEvent, type index$1_DaemonConnectionMetadata as DaemonConnectionMetadata, index$1_DaemonConnectionMetadataSchema as DaemonConnectionMetadataSchema, index$1_DaemonConnectionMethod as DaemonConnectionMethod, type index$1_DaemonConnectionStatusNotification as DaemonConnectionStatusNotification, type index$1_DaemonConnectionStatusNotificationParams as DaemonConnectionStatusNotificationParams, index$1_DaemonConnectionStatusNotificationParamsSchema as DaemonConnectionStatusNotificationParamsSchema, index$1_DaemonConnectionStatusNotificationSchema as DaemonConnectionStatusNotificationSchema, index$1_DaemonCreateAutomationRequestSchema as DaemonCreateAutomationRequestSchema, index$1_DaemonCreateAutomationResultSchema as DaemonCreateAutomationResultSchema, index$1_DaemonCreateCronRequestParamsSchema as DaemonCreateCronRequestParamsSchema, index$1_DaemonCreateCronRequestSchema as DaemonCreateCronRequestSchema, index$1_DaemonCreateCronResultSchema as DaemonCreateCronResultSchema, index$1_DaemonCreatePRRequestParamsSchema as DaemonCreatePRRequestParamsSchema, index$1_DaemonCreatePRRequestSchema as DaemonCreatePRRequestSchema, index$1_DaemonCreatePRResponseSchema as DaemonCreatePRResponseSchema, index$1_DaemonCreatePRResultSchema as DaemonCreatePRResultSchema, index$1_DaemonCreateTerminalRequestParamsSchema as DaemonCreateTerminalRequestParamsSchema, index$1_DaemonCreateTerminalRequestSchema as DaemonCreateTerminalRequestSchema, index$1_DaemonCronEvent as DaemonCronEvent, index$1_DaemonCronStateChangedNotificationParamsSchema as DaemonCronStateChangedNotificationParamsSchema, index$1_DaemonCronStateChangedNotificationSchema as DaemonCronStateChangedNotificationSchema, index$1_DaemonDeleteAutomationRequestSchema as DaemonDeleteAutomationRequestSchema, index$1_DaemonDeleteAutomationResultSchema as DaemonDeleteAutomationResultSchema, index$1_DaemonDeleteCronRequestParamsSchema as DaemonDeleteCronRequestParamsSchema, index$1_DaemonDeleteCronRequestSchema as DaemonDeleteCronRequestSchema, index$1_DaemonDeleteCronResultSchema as DaemonDeleteCronResultSchema, index$1_DaemonDroidEvent as DaemonDroidEvent, index$1_DaemonDroidMethod as DaemonDroidMethod, index$1_DaemonExecuteRewindRequestSchema as DaemonExecuteRewindRequestSchema, index$1_DaemonExecuteRewindResponseSchema as DaemonExecuteRewindResponseSchema, index$1_DaemonExecuteRewindResultSchema as DaemonExecuteRewindResultSchema, index$1_DaemonForkAutomationRequestSchema as DaemonForkAutomationRequestSchema, index$1_DaemonForkAutomationResultSchema as DaemonForkAutomationResultSchema, index$1_DaemonForkSessionRequestParamsSchema as DaemonForkSessionRequestParamsSchema, index$1_DaemonForkSessionRequestSchema as DaemonForkSessionRequestSchema, index$1_DaemonForkSessionResponseSchema as DaemonForkSessionResponseSchema, index$1_DaemonForkSessionResultSchema as DaemonForkSessionResultSchema, index$1_DaemonGenerateSemanticDiffRequestParamsSchema as DaemonGenerateSemanticDiffRequestParamsSchema, index$1_DaemonGenerateSemanticDiffRequestSchema as DaemonGenerateSemanticDiffRequestSchema, index$1_DaemonGenerateSemanticDiffResponseSchema as DaemonGenerateSemanticDiffResponseSchema, index$1_DaemonGenerateSemanticDiffResultSchema as DaemonGenerateSemanticDiffResultSchema, index$1_DaemonGetAutomationHistoryRequestSchema as DaemonGetAutomationHistoryRequestSchema, index$1_DaemonGetAutomationHistoryResultSchema as DaemonGetAutomationHistoryResultSchema, index$1_DaemonGetAutomationVisualRequestSchema as DaemonGetAutomationVisualRequestSchema, index$1_DaemonGetAutomationVisualResultSchema as DaemonGetAutomationVisualResultSchema, index$1_DaemonGetContextBreakdownRequestSchema as DaemonGetContextBreakdownRequestSchema, index$1_DaemonGetContextBreakdownResponseSchema as DaemonGetContextBreakdownResponseSchema, index$1_DaemonGetContextBreakdownResultSchema as DaemonGetContextBreakdownResultSchema, index$1_DaemonGetDefaultSettingsRequestParamsSchema as DaemonGetDefaultSettingsRequestParamsSchema, index$1_DaemonGetDefaultSettingsRequestSchema as DaemonGetDefaultSettingsRequestSchema, index$1_DaemonGetDefaultSettingsResponseSchema as DaemonGetDefaultSettingsResponseSchema, index$1_DaemonGetDefaultSettingsResultSchema as DaemonGetDefaultSettingsResultSchema, index$1_DaemonGetGitDiffCommitSchema as DaemonGetGitDiffCommitSchema, index$1_DaemonGetGitDiffDataSchema as DaemonGetGitDiffDataSchema, index$1_DaemonGetGitDiffFileSchema as DaemonGetGitDiffFileSchema, index$1_DaemonGetGitDiffRequestParamsSchema as DaemonGetGitDiffRequestParamsSchema, index$1_DaemonGetGitDiffRequestSchema as DaemonGetGitDiffRequestSchema, index$1_DaemonGetGitDiffResponseSchema as DaemonGetGitDiffResponseSchema, index$1_DaemonGetGitDiffResultSchema as DaemonGetGitDiffResultSchema, index$1_DaemonGetGitDiffSuccessResultSchema as DaemonGetGitDiffSuccessResultSchema, index$1_DaemonGetGitDiffUnavailableReason as DaemonGetGitDiffUnavailableReason, index$1_DaemonGetGitDiffUnavailableResultSchema as DaemonGetGitDiffUnavailableResultSchema, index$1_DaemonGetMcpConfigRequestSchema as DaemonGetMcpConfigRequestSchema, index$1_DaemonGetMcpConfigResultSchema as DaemonGetMcpConfigResultSchema, index$1_DaemonGetProxyTokenRequestSchema as DaemonGetProxyTokenRequestSchema, index$1_DaemonGetProxyTokenResponseSchema as DaemonGetProxyTokenResponseSchema, index$1_DaemonGetProxyTokenResultSchema as DaemonGetProxyTokenResultSchema, index$1_DaemonGetRewindInfoRequestSchema as DaemonGetRewindInfoRequestSchema, index$1_DaemonGetRewindInfoResponseSchema as DaemonGetRewindInfoResponseSchema, index$1_DaemonGetRewindInfoResultSchema as DaemonGetRewindInfoResultSchema, index$1_DaemonGetSemanticDiffCacheRequestParamsSchema as DaemonGetSemanticDiffCacheRequestParamsSchema, index$1_DaemonGetSemanticDiffCacheRequestSchema as DaemonGetSemanticDiffCacheRequestSchema, index$1_DaemonGetSemanticDiffCacheResponseSchema as DaemonGetSemanticDiffCacheResponseSchema, index$1_DaemonGetSemanticDiffCacheResultSchema as DaemonGetSemanticDiffCacheResultSchema, index$1_DaemonGetSessionMessagesRequestParamsSchema as DaemonGetSessionMessagesRequestParamsSchema, index$1_DaemonGetSessionMessagesRequestSchema as DaemonGetSessionMessagesRequestSchema, index$1_DaemonGetSessionMessagesResponseSchema as DaemonGetSessionMessagesResponseSchema, index$1_DaemonGetSessionMessagesResultSchema as DaemonGetSessionMessagesResultSchema, index$1_DaemonGetUserInfoRequestParamsSchema as DaemonGetUserInfoRequestParamsSchema, index$1_DaemonGetUserInfoResultSchema as DaemonGetUserInfoResultSchema, index$1_DaemonGetWorkspaceFileContentRequestSchema as DaemonGetWorkspaceFileContentRequestSchema, index$1_DaemonGetWorkspaceFileContentResponseSchema as DaemonGetWorkspaceFileContentResponseSchema, index$1_DaemonGetWorkspaceFileContentResultSchema as DaemonGetWorkspaceFileContentResultSchema, index$1_DaemonGitCommitRequestParamsSchema as DaemonGitCommitRequestParamsSchema, index$1_DaemonGitCommitRequestSchema as DaemonGitCommitRequestSchema, index$1_DaemonGitCommitResponseSchema as DaemonGitCommitResponseSchema, index$1_DaemonGitCommitResultSchema as DaemonGitCommitResultSchema, index$1_DaemonGitPushRequestParamsSchema as DaemonGitPushRequestParamsSchema, index$1_DaemonGitPushRequestSchema as DaemonGitPushRequestSchema, index$1_DaemonGitPushResponseSchema as DaemonGitPushResponseSchema, index$1_DaemonGitPushResultSchema as DaemonGitPushResultSchema, index$1_DaemonHoldSessionCronsRequestParamsSchema as DaemonHoldSessionCronsRequestParamsSchema, index$1_DaemonHoldSessionCronsRequestSchema as DaemonHoldSessionCronsRequestSchema, index$1_DaemonHoldSessionCronsResultSchema as DaemonHoldSessionCronsResultSchema, index$1_DaemonInitializeSessionRequestParamsSchema as DaemonInitializeSessionRequestParamsSchema, index$1_DaemonInitializeSessionRequestSchema as DaemonInitializeSessionRequestSchema, index$1_DaemonInitializeSessionResponseSchema as DaemonInitializeSessionResponseSchema, index$1_DaemonInitializeSessionResultSchema as DaemonInitializeSessionResultSchema, index$1_DaemonInstallPluginRequestSchema as DaemonInstallPluginRequestSchema, index$1_DaemonInstallPluginResultSchema as DaemonInstallPluginResultSchema, index$1_DaemonInstallSshKeyRequestSchema as DaemonInstallSshKeyRequestSchema, index$1_DaemonInstallSshKeyResultSchema as DaemonInstallSshKeyResultSchema, index$1_DaemonInterruptSessionRequestParamsSchema as DaemonInterruptSessionRequestParamsSchema, index$1_DaemonInterruptSessionRequestSchema as DaemonInterruptSessionRequestSchema, index$1_DaemonInterruptSessionResponseSchema as DaemonInterruptSessionResponseSchema, index$1_DaemonInterruptSessionResultSchema as DaemonInterruptSessionResultSchema, index$1_DaemonKillWorkerSessionRequestParamsSchema as DaemonKillWorkerSessionRequestParamsSchema, index$1_DaemonKillWorkerSessionRequestSchema as DaemonKillWorkerSessionRequestSchema, index$1_DaemonKillWorkerSessionResultSchema as DaemonKillWorkerSessionResultSchema, index$1_DaemonListAutomationsRequestSchema as DaemonListAutomationsRequestSchema, index$1_DaemonListAutomationsResultSchema as DaemonListAutomationsResultSchema, index$1_DaemonListAvailablePluginsRequestSchema as DaemonListAvailablePluginsRequestSchema, index$1_DaemonListAvailablePluginsResultSchema as DaemonListAvailablePluginsResultSchema, index$1_DaemonListAvailableSessionsFilterSchema as DaemonListAvailableSessionsFilterSchema, index$1_DaemonListAvailableSessionsRequestParamsSchema as DaemonListAvailableSessionsRequestParamsSchema, index$1_DaemonListAvailableSessionsRequestSchema as DaemonListAvailableSessionsRequestSchema, index$1_DaemonListAvailableSessionsResponseSchema as DaemonListAvailableSessionsResponseSchema, index$1_DaemonListAvailableSessionsResultSchema as DaemonListAvailableSessionsResultSchema, index$1_DaemonListCommandsRequestSchema as DaemonListCommandsRequestSchema, index$1_DaemonListCommandsResultSchema as DaemonListCommandsResultSchema, index$1_DaemonListCronsRequestParamsSchema as DaemonListCronsRequestParamsSchema, index$1_DaemonListCronsRequestSchema as DaemonListCronsRequestSchema, index$1_DaemonListCronsResultSchema as DaemonListCronsResultSchema, index$1_DaemonListFilesRequestParamsSchema as DaemonListFilesRequestParamsSchema, index$1_DaemonListFilesRequestSchema as DaemonListFilesRequestSchema, index$1_DaemonListFilesResponseSchema as DaemonListFilesResponseSchema, index$1_DaemonListFilesResultSchema as DaemonListFilesResultSchema, index$1_DaemonListInstalledPluginsRequestSchema as DaemonListInstalledPluginsRequestSchema, index$1_DaemonListInstalledPluginsResultSchema as DaemonListInstalledPluginsResultSchema, index$1_DaemonListMarketplacesRequestSchema as DaemonListMarketplacesRequestSchema, index$1_DaemonListMarketplacesResultSchema as DaemonListMarketplacesResultSchema, index$1_DaemonListMcpRegistryRequestSchema as DaemonListMcpRegistryRequestSchema, index$1_DaemonListMcpRegistryResultSchema as DaemonListMcpRegistryResultSchema, index$1_DaemonListMcpServersRequestSchema as DaemonListMcpServersRequestSchema, index$1_DaemonListMcpServersResultSchema as DaemonListMcpServersResultSchema, index$1_DaemonListMcpToolsRequestSchema as DaemonListMcpToolsRequestSchema, index$1_DaemonListMcpToolsResultSchema as DaemonListMcpToolsResultSchema, index$1_DaemonListOpenedSessionsRequestParamsSchema as DaemonListOpenedSessionsRequestParamsSchema, index$1_DaemonListOpenedSessionsRequestSchema as DaemonListOpenedSessionsRequestSchema, index$1_DaemonListOpenedSessionsResponseSchema as DaemonListOpenedSessionsResponseSchema, index$1_DaemonListOpenedSessionsResultSchema as DaemonListOpenedSessionsResultSchema, index$1_DaemonListSkillsRequestSchema as DaemonListSkillsRequestSchema, index$1_DaemonListSkillsResultSchema as DaemonListSkillsResultSchema, index$1_DaemonListTerminalsRequestParamsSchema as DaemonListTerminalsRequestParamsSchema, index$1_DaemonListTerminalsRequestSchema as DaemonListTerminalsRequestSchema, index$1_DaemonLoadSessionRequestParamsSchema as DaemonLoadSessionRequestParamsSchema, index$1_DaemonLoadSessionRequestSchema as DaemonLoadSessionRequestSchema, index$1_DaemonLoadSessionResponseSchema as DaemonLoadSessionResponseSchema, index$1_DaemonLoadSessionResultSchema as DaemonLoadSessionResultSchema, index$1_DaemonLoadSessionSpawnOptionsSchema as DaemonLoadSessionSpawnOptionsSchema, type index$1_DaemonLogoutRequest as DaemonLogoutRequest, type index$1_DaemonLogoutRequestParams as DaemonLogoutRequestParams, index$1_DaemonLogoutRequestParamsSchema as DaemonLogoutRequestParamsSchema, index$1_DaemonLogoutRequestSchema as DaemonLogoutRequestSchema, type index$1_DaemonLogoutResponse as DaemonLogoutResponse, index$1_DaemonLogoutResponseSchema as DaemonLogoutResponseSchema, type index$1_DaemonLogoutResult as DaemonLogoutResult, index$1_DaemonLogoutResultSchema as DaemonLogoutResultSchema, index$1_DaemonManagementMethod as DaemonManagementMethod, index$1_DaemonMcpRegistryServerSchema as DaemonMcpRegistryServerSchema, index$1_DaemonMcpToolInfoSchema as DaemonMcpToolInfoSchema, index$1_DaemonOpenedSessionInfoSchema as DaemonOpenedSessionInfoSchema, index$1_DaemonPauseAutomationRequestSchema as DaemonPauseAutomationRequestSchema, index$1_DaemonPauseAutomationResultSchema as DaemonPauseAutomationResultSchema, index$1_DaemonRelayEvent as DaemonRelayEvent, index$1_DaemonRelayGetStatusRequestSchema as DaemonRelayGetStatusRequestSchema, index$1_DaemonRelayGetStatusResponseSchema as DaemonRelayGetStatusResponseSchema, index$1_DaemonRelayGetStatusResultSchema as DaemonRelayGetStatusResultSchema, index$1_DaemonRelayMethod as DaemonRelayMethod, index$1_DaemonRelayStartRequestSchema as DaemonRelayStartRequestSchema, index$1_DaemonRelayStartResponseSchema as DaemonRelayStartResponseSchema, index$1_DaemonRelayStartResultSchema as DaemonRelayStartResultSchema, index$1_DaemonRelayStatusChangedNotificationParamsSchema as DaemonRelayStatusChangedNotificationParamsSchema, index$1_DaemonRelayStatusChangedNotificationSchema as DaemonRelayStatusChangedNotificationSchema, index$1_DaemonRelayStopRequestSchema as DaemonRelayStopRequestSchema, index$1_DaemonRelayStopResponseSchema as DaemonRelayStopResponseSchema, index$1_DaemonRelayStopResultSchema as DaemonRelayStopResultSchema, index$1_DaemonRemoveMarketplaceRequestSchema as DaemonRemoveMarketplaceRequestSchema, index$1_DaemonRemoveMarketplaceResultSchema as DaemonRemoveMarketplaceResultSchema, index$1_DaemonRemoveMcpServerRequestSchema as DaemonRemoveMcpServerRequestSchema, index$1_DaemonRenameAutomationRequestSchema as DaemonRenameAutomationRequestSchema, index$1_DaemonRenameAutomationResultSchema as DaemonRenameAutomationResultSchema, index$1_DaemonRenameSessionRequestParamsSchema as DaemonRenameSessionRequestParamsSchema, index$1_DaemonRenameSessionRequestSchema as DaemonRenameSessionRequestSchema, index$1_DaemonRenameSessionResponseSchema as DaemonRenameSessionResponseSchema, index$1_DaemonRenameSessionResultSchema as DaemonRenameSessionResultSchema, index$1_DaemonRequestPermissionParamsSchema as DaemonRequestPermissionParamsSchema, index$1_DaemonRequestPermissionResultSchema as DaemonRequestPermissionResultSchema, index$1_DaemonRequestPermissionSchema as DaemonRequestPermissionSchema, index$1_DaemonRequestSchema as DaemonRequestSchema, index$1_DaemonResizeRequestParamsSchema as DaemonResizeRequestParamsSchema, index$1_DaemonResizeRequestSchema as DaemonResizeRequestSchema, index$1_DaemonResolveQueuedUserMessageRequestParamsSchema as DaemonResolveQueuedUserMessageRequestParamsSchema, index$1_DaemonResolveQueuedUserMessageRequestSchema as DaemonResolveQueuedUserMessageRequestSchema, index$1_DaemonResolveQueuedUserMessageResponseSchema as DaemonResolveQueuedUserMessageResponseSchema, index$1_DaemonResolveQueuedUserMessageResultSchema as DaemonResolveQueuedUserMessageResultSchema, index$1_DaemonResumeAutomationRequestSchema as DaemonResumeAutomationRequestSchema, index$1_DaemonResumeAutomationResultSchema as DaemonResumeAutomationResultSchema, index$1_DaemonResumeSessionCronsRequestParamsSchema as DaemonResumeSessionCronsRequestParamsSchema, index$1_DaemonResumeSessionCronsRequestSchema as DaemonResumeSessionCronsRequestSchema, index$1_DaemonResumeSessionCronsResultSchema as DaemonResumeSessionCronsResultSchema, index$1_DaemonRunAutomationRequestSchema as DaemonRunAutomationRequestSchema, index$1_DaemonRunAutomationResultSchema as DaemonRunAutomationResultSchema, index$1_DaemonSaveSemanticDiffCacheRequestParamsSchema as DaemonSaveSemanticDiffCacheRequestParamsSchema, index$1_DaemonSaveSemanticDiffCacheRequestSchema as DaemonSaveSemanticDiffCacheRequestSchema, index$1_DaemonSaveSemanticDiffCacheResponseSchema as DaemonSaveSemanticDiffCacheResponseSchema, index$1_DaemonSaveSemanticDiffCacheResultSchema as DaemonSaveSemanticDiffCacheResultSchema, index$1_DaemonSearchFilesRequestParamsSchema as DaemonSearchFilesRequestParamsSchema, index$1_DaemonSearchFilesRequestSchema as DaemonSearchFilesRequestSchema, index$1_DaemonSearchFilesResponseSchema as DaemonSearchFilesResponseSchema, index$1_DaemonSearchFilesResultSchema as DaemonSearchFilesResultSchema, index$1_DaemonSearchSessionsHitSchema as DaemonSearchSessionsHitSchema, index$1_DaemonSearchSessionsRequestParamsSchema as DaemonSearchSessionsRequestParamsSchema, index$1_DaemonSearchSessionsRequestSchema as DaemonSearchSessionsRequestSchema, index$1_DaemonSearchSessionsResponseSchema as DaemonSearchSessionsResponseSchema, index$1_DaemonSearchSessionsResultSchema as DaemonSearchSessionsResultSchema, index$1_DaemonSearchSessionsSessionResultSchema as DaemonSearchSessionsSessionResultSchema, index$1_DaemonSessionDefaultsManagementMapSchema as DaemonSessionDefaultsManagementMapSchema, index$1_DaemonSessionListFilterSchema as DaemonSessionListFilterSchema, index$1_DaemonSessionNotificationParamsSchema as DaemonSessionNotificationParamsSchema, index$1_DaemonSessionNotificationSchema as DaemonSessionNotificationSchema, index$1_DaemonSettingsMethod as DaemonSettingsMethod, index$1_DaemonSpecificNotificationType as DaemonSpecificNotificationType, index$1_DaemonSubmitBugReportRequestSchema as DaemonSubmitBugReportRequestSchema, index$1_DaemonSubmitBugReportResultSchema as DaemonSubmitBugReportResultSchema, index$1_DaemonSubmitMcpAuthCodeRequestSchema as DaemonSubmitMcpAuthCodeRequestSchema, index$1_DaemonTerminalEvent as DaemonTerminalEvent, index$1_DaemonTerminalMethod as DaemonTerminalMethod, index$1_DaemonToggleMcpServerRequestSchema as DaemonToggleMcpServerRequestSchema, index$1_DaemonToggleMcpToolRequestSchema as DaemonToggleMcpToolRequestSchema, index$1_DaemonTriggerUpdateRequestSchema as DaemonTriggerUpdateRequestSchema, index$1_DaemonTriggerUpdateResponseSchema as DaemonTriggerUpdateResponseSchema, index$1_DaemonTriggerUpdateResultSchema as DaemonTriggerUpdateResultSchema, index$1_DaemonUnarchiveSessionRequestParamsSchema as DaemonUnarchiveSessionRequestParamsSchema, index$1_DaemonUnarchiveSessionRequestSchema as DaemonUnarchiveSessionRequestSchema, index$1_DaemonUnarchiveSessionResponseSchema as DaemonUnarchiveSessionResponseSchema, index$1_DaemonUnarchiveSessionResultSchema as DaemonUnarchiveSessionResultSchema, index$1_DaemonUninstallPluginRequestSchema as DaemonUninstallPluginRequestSchema, index$1_DaemonUninstallPluginResultSchema as DaemonUninstallPluginResultSchema, index$1_DaemonUpdateAutomationModelRequestSchema as DaemonUpdateAutomationModelRequestSchema, index$1_DaemonUpdateAutomationModelResultSchema as DaemonUpdateAutomationModelResultSchema, index$1_DaemonUpdateAutomationPrivacyRequestSchema as DaemonUpdateAutomationPrivacyRequestSchema, index$1_DaemonUpdateAutomationPrivacyResultSchema as DaemonUpdateAutomationPrivacyResultSchema, index$1_DaemonUpdateCronRequestParamsSchema as DaemonUpdateCronRequestParamsSchema, index$1_DaemonUpdateCronRequestSchema as DaemonUpdateCronRequestSchema, index$1_DaemonUpdateCronResultSchema as DaemonUpdateCronResultSchema, index$1_DaemonUpdateMarketplaceRequestSchema as DaemonUpdateMarketplaceRequestSchema, index$1_DaemonUpdateMarketplaceResultSchema as DaemonUpdateMarketplaceResultSchema, index$1_DaemonUpdateMcpConfigRequestParamsSchema as DaemonUpdateMcpConfigRequestParamsSchema, index$1_DaemonUpdateMcpConfigRequestSchema as DaemonUpdateMcpConfigRequestSchema, index$1_DaemonUpdateMcpConfigResultSchema as DaemonUpdateMcpConfigResultSchema, index$1_DaemonUpdatePluginRequestSchema as DaemonUpdatePluginRequestSchema, index$1_DaemonUpdatePluginResultSchema as DaemonUpdatePluginResultSchema, index$1_DaemonUpdateSessionDefaultsRequestParamsSchema as DaemonUpdateSessionDefaultsRequestParamsSchema, index$1_DaemonUpdateSessionDefaultsRequestSchema as DaemonUpdateSessionDefaultsRequestSchema, index$1_DaemonUpdateSessionDefaultsResponseSchema as DaemonUpdateSessionDefaultsResponseSchema, index$1_DaemonUpdateSessionDefaultsResultSchema as DaemonUpdateSessionDefaultsResultSchema, index$1_DaemonUpdateSessionSettingsRequestParamsSchema as DaemonUpdateSessionSettingsRequestParamsSchema, index$1_DaemonUpdateSessionSettingsRequestSchema as DaemonUpdateSessionSettingsRequestSchema, index$1_DaemonUpdateSessionSettingsResponseSchema as DaemonUpdateSessionSettingsResponseSchema, index$1_DaemonUpdateSessionSettingsResultSchema as DaemonUpdateSessionSettingsResultSchema, index$1_DaemonValidateWorkingDirectoryRequestParamsSchema as DaemonValidateWorkingDirectoryRequestParamsSchema, index$1_DaemonValidateWorkingDirectoryRequestSchema as DaemonValidateWorkingDirectoryRequestSchema, index$1_DaemonValidateWorkingDirectoryResponseSchema as DaemonValidateWorkingDirectoryResponseSchema, index$1_DaemonValidateWorkingDirectoryResultSchema as DaemonValidateWorkingDirectoryResultSchema, index$1_DaemonWarmupCacheRequestParamsSchema as DaemonWarmupCacheRequestParamsSchema, index$1_DaemonWarmupCacheRequestSchema as DaemonWarmupCacheRequestSchema, index$1_DaemonWarmupCacheResponseSchema as DaemonWarmupCacheResponseSchema, index$1_DaemonWriteDataRequestParamsSchema as DaemonWriteDataRequestParamsSchema, index$1_DaemonWriteDataRequestSchema as DaemonWriteDataRequestSchema, index$1_ListTerminalsRequestParamsSchema as ListTerminalsRequestParamsSchema, index$1_ListTerminalsRequestSchema as ListTerminalsRequestSchema, index$1_ListTerminalsResponseSchema as ListTerminalsResponseSchema, index$1_ListTerminalsResultSchema as ListTerminalsResultSchema, index$1_MarketplaceSourceSchema as MarketplaceSourceSchema, index$1_McpConfigSource as McpConfigSource, index$1_McpHttpServerConfigSchema as McpHttpServerConfigSchema, index$1_McpOAuthConfigSchema as McpOAuthConfigSchema, index$1_McpServerConfigSchema as McpServerConfigSchema, index$1_McpServerInfoSchema as McpServerInfoSchema, index$1_McpSuccessResultSchema as McpSuccessResultSchema, index$1_RedactedMarketplaceSourceSchema as RedactedMarketplaceSourceSchema, index$1_ResizeRequestParamsSchema as ResizeRequestParamsSchema, index$1_ResizeRequestSchema as ResizeRequestSchema, index$1_ResizeResponseSchema as ResizeResponseSchema, index$1_ResizeResultSchema as ResizeResultSchema, index$1_SessionInactivityNotificationSchema as SessionInactivityNotificationSchema, index$1_SessionLoadState as SessionLoadState, index$1_SessionSearchDocKind as SessionSearchDocKind, index$1_SessionUnsubscribedNotificationSchema as SessionUnsubscribedNotificationSchema, index$1_TerminalDataNotificationSchema as TerminalDataNotificationSchema, index$1_TerminalExitNotificationSchema as TerminalExitNotificationSchema, index$1_TerminalInfoSchema as TerminalInfoSchema, index$1_TerminalNotificationSchema as TerminalNotificationSchema, index$1_TerminalRequestSchema as TerminalRequestSchema, index$1_WriteDataRequestParamsSchema as WriteDataRequestParamsSchema, index$1_WriteDataRequestSchema as WriteDataRequestSchema, index$1_WriteDataResponseSchema as WriteDataResponseSchema, index$1_WriteDataResultSchema as WriteDataResultSchema }; } declare const index_ACTIVE_ORGANIZATION_HEADER: typeof ACTIVE_ORGANIZATION_HEADER; declare const index_AddMcpServerRequestParamsSchema: typeof AddMcpServerRequestParamsSchema; declare const index_AddMcpServerRequestSchema: typeof AddMcpServerRequestSchema; declare const index_AddMcpServerResponseSchema: typeof AddMcpServerResponseSchema; declare const index_AddUserMessageRequestParamsSchema: typeof AddUserMessageRequestParamsSchema; declare const index_AddUserMessageRequestSchema: typeof AddUserMessageRequestSchema; declare const index_AddUserMessageResponseSchema: typeof AddUserMessageResponseSchema; declare const index_AddUserMessageResultSchema: typeof AddUserMessageResultSchema; type index_ApiProvider = ApiProvider; declare const index_ApiProvider: typeof ApiProvider; type index_ApiSource = ApiSource; declare const index_ApplyPatchToolInputSchema: typeof ApplyPatchToolInputSchema; declare const index_AskUserCollectedAnswerSchema: typeof AskUserCollectedAnswerSchema; declare const index_AskUserQuestionSchema: typeof AskUserQuestionSchema; declare const index_AskUserRequestParamsSchema: typeof AskUserRequestParamsSchema; declare const index_AskUserRequestSchema: typeof AskUserRequestSchema; declare const index_AskUserResponseSchema: typeof AskUserResponseSchema; declare const index_AskUserResultSchema: typeof AskUserResultSchema; declare const index_AuthenticateMcpServerRequestParamsSchema: typeof AuthenticateMcpServerRequestParamsSchema; declare const index_AuthenticateMcpServerRequestSchema: typeof AuthenticateMcpServerRequestSchema; declare const index_AuthenticateMcpServerResponseSchema: typeof AuthenticateMcpServerResponseSchema; type index_AutomationCreatedBy = AutomationCreatedBy; declare const index_AutomationCreatedBySchema: typeof AutomationCreatedBySchema; type index_AutomationErrorCode = AutomationErrorCode; declare const index_AutomationErrorCode: typeof AutomationErrorCode; type index_AutomationPrivacyLevel = AutomationPrivacyLevel; declare const index_AutomationPrivacyLevel: typeof AutomationPrivacyLevel; type index_AutomationScheduleCadence = AutomationScheduleCadence; declare const index_AutomationScheduleCadence: typeof AutomationScheduleCadence; type index_AutomationSource = AutomationSource; type index_AutomationValidationIssueType = AutomationValidationIssueType; declare const index_AutomationValidationIssueType: typeof AutomationValidationIssueType; type index_AutomationsHeartbeat = AutomationsHeartbeat; declare const index_AutomationsHeartbeatSchema: typeof AutomationsHeartbeatSchema; type index_AutonomyLevel = AutonomyLevel; declare const index_AutonomyLevel: typeof AutonomyLevel; type index_AutonomyMode = AutonomyMode; declare const index_AutonomyMode: typeof AutonomyMode; declare const index_AutonomyModeSchema: typeof AutonomyModeSchema; declare const index_AvailableModelConfigSchema: typeof AvailableModelConfigSchema; type index_Base64ImageSource = Base64ImageSource; declare const index_Base64ImageSourceSchema: typeof Base64ImageSourceSchema; type index_Base64PDFSource = Base64PDFSource; declare const index_Base64PDFSourceSchema: typeof Base64PDFSourceSchema; declare const index_BaseContentBlockSchema: typeof BaseContentBlockSchema; declare const index_BaseNotificationSchema: typeof BaseNotificationSchema; declare const index_BaseRequestSchema: typeof BaseRequestSchema; declare const index_BaseResponseFailureSchema: typeof BaseResponseFailureSchema; declare const index_BaseResponseSuccessSchema: typeof BaseResponseSuccessSchema; declare const index_BinaryDownloadPlanSchema: typeof BinaryDownloadPlanSchema; declare const index_CURRENT_COMPACTION_MODEL: typeof CURRENT_COMPACTION_MODEL; type index_CacheLabel = CacheLabel; declare const index_CacheLabelSchema: typeof CacheLabelSchema; declare const index_CancelMcpAuthRequestParamsSchema: typeof CancelMcpAuthRequestParamsSchema; declare const index_CancelMcpAuthRequestSchema: typeof CancelMcpAuthRequestSchema; declare const index_CancelMcpAuthResponseSchema: typeof CancelMcpAuthResponseSchema; type index_ChatCompletionReasoningField = ChatCompletionReasoningField; declare const index_ChatCompletionReasoningField: typeof ChatCompletionReasoningField; declare const index_ClearMcpAuthRequestParamsSchema: typeof ClearMcpAuthRequestParamsSchema; declare const index_ClearMcpAuthRequestSchema: typeof ClearMcpAuthRequestSchema; declare const index_ClearMcpAuthResponseSchema: typeof ClearMcpAuthResponseSchema; declare const index_CliRequestOrNotificationSchema: typeof CliRequestOrNotificationSchema; declare const index_ClientRequestSchema: typeof ClientRequestSchema; declare const index_CloseSessionRequestSchema: typeof CloseSessionRequestSchema; declare const index_CloseSessionResponseSchema: typeof CloseSessionResponseSchema; declare const index_CloseSessionResultSchema: typeof CloseSessionResultSchema; type index_CommandAck = CommandAck; declare const index_CommandAckSchema: typeof CommandAckSchema; declare const index_CompactSessionRequestSchema: typeof CompactSessionRequestSchema; declare const index_CompactSessionResponseSchema: typeof CompactSessionResponseSchema; declare const index_CompactSessionResultSchema: typeof CompactSessionResultSchema; type index_CompactionModel = CompactionModel; declare const index_CompactionModelSchema: typeof CompactionModelSchema; type index_ComputerRegistration = ComputerRegistration; type index_ContentBlock = ContentBlock; declare const index_ContentBlockSchema: typeof ContentBlockSchema; type index_ContextCategoryColorKey = ContextCategoryColorKey; declare const index_ContextCategoryColorKey: typeof ContextCategoryColorKey; type index_ContextStatsAccuracy = ContextStatsAccuracy; declare const index_ContextStatsAccuracy: typeof ContextStatsAccuracy; declare const index_ContextStatsSchema: typeof ContextStatsSchema; declare const index_CreateToolInputSchema: typeof CreateToolInputSchema; declare const index_CronCreateToolInputSchema: typeof CronCreateToolInputSchema; declare const index_CronDeleteToolInputSchema: typeof CronDeleteToolInputSchema; declare const index_CronListToolInputSchema: typeof CronListToolInputSchema; declare const index_CustomCommandInfoSchema: typeof CustomCommandInfoSchema; type index_CustomModels = CustomModels; declare const index_CustomModelsSchema: typeof CustomModelsSchema; declare const index_DROID_IN_PROGRESS_STATES: typeof DROID_IN_PROGRESS_STATES; type index_DecompSessionType = DecompSessionType; declare const index_DecompSessionType: typeof DecompSessionType; declare const index_DiffLineSchema: typeof DiffLineSchema; type index_DiffMode = DiffMode; declare const index_DiffMode: typeof DiffMode; declare const index_DiscoveredIssueSchema: typeof DiscoveredIssueSchema; declare const index_DismissalRecordSchema: typeof DismissalRecordSchema; type index_DismissalType = DismissalType; declare const index_DismissalType: typeof DismissalType; type index_DocumentBlock = DocumentBlock; declare const index_DocumentBlockSchema: typeof DocumentBlockSchema; type index_DocumentSource = DocumentSource; declare const index_DocumentSourceSchema: typeof DocumentSourceSchema; type index_DocumentSourceType = DocumentSourceType; declare const index_DocumentSourceType: typeof DocumentSourceType; type index_DroidClientMethod = DroidClientMethod; declare const index_DroidClientMethod: typeof DroidClientMethod; type index_DroidErrorType = DroidErrorType; declare const index_DroidErrorType: typeof DroidErrorType; declare const index_DroidHookEventSchema: typeof DroidHookEventSchema; type index_DroidInteractionMode = DroidInteractionMode; declare const index_DroidInteractionMode: typeof DroidInteractionMode; declare const index_DroidInteractionModeSchema: typeof DroidInteractionModeSchema; type index_DroidLocation = DroidLocation; declare const index_DroidLocation: typeof DroidLocation; type index_DroidLoopStatus = DroidLoopStatus; declare const index_DroidLoopStatus: typeof DroidLoopStatus; type index_DroidLoopStopReason = DroidLoopStopReason; declare const index_DroidLoopStopReason: typeof DroidLoopStopReason; type index_DroidServerMethod = DroidServerMethod; declare const index_DroidServerMethod: typeof DroidServerMethod; type index_DroidWorkingState = DroidWorkingState; declare const index_DroidWorkingState: typeof DroidWorkingState; declare const index_EXIT_SPEC_MODE_REJECTED_MESSAGE: typeof EXIT_SPEC_MODE_REJECTED_MESSAGE; declare const index_EditToolInputSchema: typeof EditToolInputSchema; type index_EffectiveFactoryRouterModel = EffectiveFactoryRouterModel; declare const index_EffectiveFactoryRouterModelSchema: typeof EffectiveFactoryRouterModelSchema; declare const index_ExecuteRewindRequestSchema: typeof ExecuteRewindRequestSchema; declare const index_ExecuteRewindResponseSchema: typeof ExecuteRewindResponseSchema; declare const index_ExecuteRewindResultSchema: typeof ExecuteRewindResultSchema; declare const index_ExecuteToolInputSchema: typeof ExecuteToolInputSchema; declare const index_ExitSpecModeToolInputSchema: typeof ExitSpecModeToolInputSchema; declare const index_FACTORY_CLIENT_HEADER: typeof FACTORY_CLIENT_HEADER; declare const index_FACTORY_CLIENT_VERSION: typeof FACTORY_CLIENT_VERSION; declare const index_FACTORY_PROTOCOL_VERSION: typeof FACTORY_PROTOCOL_VERSION; declare const index_FACTORY_ROUTER_GUIDANCE_MAX_LENGTH: typeof FACTORY_ROUTER_GUIDANCE_MAX_LENGTH; declare const index_FACTORY_ROUTER_MODEL_ID: typeof FACTORY_ROUTER_MODEL_ID; declare const index_FACTORY_ROUTER_RULES_MAX_COUNT: typeof FACTORY_ROUTER_RULES_MAX_COUNT; declare const index_FACTORY_ROUTER_RULE_GUIDANCE_MAX_LENGTH: typeof FACTORY_ROUTER_RULE_GUIDANCE_MAX_LENGTH; declare const index_FACTORY_ROUTER_RULE_WHEN_MAX_LENGTH: typeof FACTORY_ROUTER_RULE_WHEN_MAX_LENGTH; type index_FactoryDroidMessage = FactoryDroidMessage; declare const index_FactoryDroidMessageSchema: typeof FactoryDroidMessageSchema; type index_FactoryDroidMessageWithCaching = FactoryDroidMessageWithCaching; declare const index_FactoryDroidMessageWithCachingSchema: typeof FactoryDroidMessageWithCachingSchema; type index_FactoryRouterRule = FactoryRouterRule; declare const index_FactoryRouterRuleSchema: typeof FactoryRouterRuleSchema; type index_FeatureStatus = FeatureStatus; declare const index_FeatureStatus: typeof FeatureStatus; type index_FeatureSuccessState = FeatureSuccessState; declare const index_FeatureSuccessState: typeof FeatureSuccessState; declare const index_FeatureSuccessStateSchema: typeof FeatureSuccessStateSchema; declare const index_FeaturesFileSchema: typeof FeaturesFileSchema; declare const index_FetchUrlToolInputSchema: typeof FetchUrlToolInputSchema; declare const index_FileOperationResultSchema: typeof FileOperationResultSchema; declare const index_ForkSessionRequestParamsSchema: typeof ForkSessionRequestParamsSchema; declare const index_ForkSessionRequestSchema: typeof ForkSessionRequestSchema; declare const index_ForkSessionResponseSchema: typeof ForkSessionResponseSchema; declare const index_ForkSessionResultSchema: typeof ForkSessionResultSchema; type index_GeneralSettings = GeneralSettings; declare const index_GeneralSettingsSchema: typeof GeneralSettingsSchema; type index_GenericToolExecutionOutput = GenericToolExecutionOutput; declare const index_GenericToolExecutionOutputSchema: typeof GenericToolExecutionOutputSchema; declare const index_GetContextBreakdownRequestSchema: typeof GetContextBreakdownRequestSchema; declare const index_GetContextBreakdownResponseSchema: typeof GetContextBreakdownResponseSchema; declare const index_GetContextBreakdownResultSchema: typeof GetContextBreakdownResultSchema; declare const index_GetContextStatsRequestSchema: typeof GetContextStatsRequestSchema; declare const index_GetContextStatsResponseSchema: typeof GetContextStatsResponseSchema; declare const index_GetRewindInfoRequestSchema: typeof GetRewindInfoRequestSchema; declare const index_GetRewindInfoResponseSchema: typeof GetRewindInfoResponseSchema; declare const index_GetRewindInfoResultSchema: typeof GetRewindInfoResultSchema; declare const index_GetUserInfoResultSchema: typeof GetUserInfoResultSchema; declare const index_GlobToolInputSchema: typeof GlobToolInputSchema; declare const index_GrepToolInputSchema: typeof GrepToolInputSchema; declare const index_HandoffEntrySchema: typeof HandoffEntrySchema; declare const index_HandoffItemsDismissedEntrySchema: typeof HandoffItemsDismissedEntrySchema; declare const index_HandoffSchema: typeof HandoffSchema; type index_HostConfig = HostConfig; declare const index_HostConfigSchema: typeof HostConfigSchema; declare const index_HostIdSchema: typeof HostIdSchema; type index_ImageBlock = ImageBlock; declare const index_ImageBlockSchema: typeof ImageBlockSchema; declare const index_InitializeSessionRequestParamsSchema: typeof InitializeSessionRequestParamsSchema; declare const index_InitializeSessionRequestSchema: typeof InitializeSessionRequestSchema; declare const index_InitializeSessionResponseSchema: typeof InitializeSessionResponseSchema; declare const index_InitializeSessionResultSchema: typeof InitializeSessionResultSchema; declare const index_InteractiveCheckSchema: typeof InteractiveCheckSchema; declare const index_InterruptSessionRequestParamsSchema: typeof InterruptSessionRequestParamsSchema; declare const index_InterruptSessionRequestSchema: typeof InterruptSessionRequestSchema; declare const index_InterruptSessionResponseSchema: typeof InterruptSessionResponseSchema; declare const index_InterruptSessionResultSchema: typeof InterruptSessionResultSchema; type index_IssueSeverity = IssueSeverity; declare const index_IssueSeverity: typeof IssueSeverity; declare const index_JSONRPC_VERSION: typeof JSONRPC_VERSION; type index_JsonRpcBaseNotification = JsonRpcBaseNotification; declare const index_JsonRpcBaseNotificationSchema: typeof JsonRpcBaseNotificationSchema; type index_JsonRpcBaseRequest = JsonRpcBaseRequest; declare const index_JsonRpcBaseRequestSchema: typeof JsonRpcBaseRequestSchema; type index_JsonRpcBaseResponse = JsonRpcBaseResponse; type index_JsonRpcBaseResponseFailure = JsonRpcBaseResponseFailure; declare const index_JsonRpcBaseResponseFailureSchema: typeof JsonRpcBaseResponseFailureSchema; declare const index_JsonRpcBaseResponseSchema: typeof JsonRpcBaseResponseSchema; type index_JsonRpcBaseResponseSuccess = JsonRpcBaseResponseSuccess; declare const index_JsonRpcBaseResponseSuccessSchema: typeof JsonRpcBaseResponseSuccessSchema; type index_JsonRpcEnvelope = JsonRpcEnvelope; declare const index_JsonRpcEnvelopeSchema: typeof JsonRpcEnvelopeSchema; type index_JsonRpcError = JsonRpcError; type index_JsonRpcErrorCode = JsonRpcErrorCode; declare const index_JsonRpcErrorCode: typeof JsonRpcErrorCode; declare const index_JsonRpcErrorSchema: typeof JsonRpcErrorSchema; type index_JsonRpcMessage = JsonRpcMessage; declare const index_JsonRpcMessageSchema: typeof JsonRpcMessageSchema; type index_JsonRpcMessageType = JsonRpcMessageType; declare const index_JsonRpcMessageType: typeof JsonRpcMessageType; type index_JsonRpcProtocolVersionMismatchErrorData = JsonRpcProtocolVersionMismatchErrorData; declare const index_JsonRpcProtocolVersionMismatchErrorDataSchema: typeof JsonRpcProtocolVersionMismatchErrorDataSchema; declare const index_KillWorkerSessionRequestParamsSchema: typeof KillWorkerSessionRequestParamsSchema; declare const index_KillWorkerSessionRequestSchema: typeof KillWorkerSessionRequestSchema; declare const index_KillWorkerSessionResponseSchema: typeof KillWorkerSessionResponseSchema; declare const index_KillWorkerSessionResultSchema: typeof KillWorkerSessionResultSchema; declare const index_LEGACY_FACTORY_API_VERSION: typeof LEGACY_FACTORY_API_VERSION; type index_LLMModelTier = LLMModelTier; declare const index_LLMModelTier: typeof LLMModelTier; declare const index_LOOP_INTERVAL_POLICY: typeof LOOP_INTERVAL_POLICY; declare const index_LSToolInputSchema: typeof LSToolInputSchema; type index_LegacyComputerConfig = LegacyComputerConfig; declare const index_LegacyComputerConfigSchema: typeof LegacyComputerConfigSchema; type index_LinearSource = LinearSource; declare const index_ListCommandsRequestSchema: typeof ListCommandsRequestSchema; declare const index_ListCommandsResponseSchema: typeof ListCommandsResponseSchema; declare const index_ListMcpRegistryRequestParamsSchema: typeof ListMcpRegistryRequestParamsSchema; declare const index_ListMcpRegistryRequestSchema: typeof ListMcpRegistryRequestSchema; declare const index_ListMcpRegistryResponseSchema: typeof ListMcpRegistryResponseSchema; declare const index_ListMcpRegistryResultSchema: typeof ListMcpRegistryResultSchema; declare const index_ListMcpServersRequestParamsSchema: typeof ListMcpServersRequestParamsSchema; declare const index_ListMcpServersRequestSchema: typeof ListMcpServersRequestSchema; declare const index_ListMcpServersResponseSchema: typeof ListMcpServersResponseSchema; declare const index_ListMcpServersResultSchema: typeof ListMcpServersResultSchema; declare const index_ListMcpToolsRequestParamsSchema: typeof ListMcpToolsRequestParamsSchema; declare const index_ListMcpToolsRequestSchema: typeof ListMcpToolsRequestSchema; declare const index_ListMcpToolsResponseSchema: typeof ListMcpToolsResponseSchema; declare const index_ListMcpToolsResultSchema: typeof ListMcpToolsResultSchema; declare const index_ListSkillsRequestSchema: typeof ListSkillsRequestSchema; declare const index_ListSkillsResponseSchema: typeof ListSkillsResponseSchema; declare const index_ListToolsRequestParamsSchema: typeof ListToolsRequestParamsSchema; declare const index_ListToolsRequestSchema: typeof ListToolsRequestSchema; declare const index_ListToolsResponseSchema: typeof ListToolsResponseSchema; declare const index_ListToolsResultSchema: typeof ListToolsResultSchema; declare const index_LoadSessionRequestParamsSchema: typeof LoadSessionRequestParamsSchema; declare const index_LoadSessionRequestSchema: typeof LoadSessionRequestSchema; declare const index_LoadSessionResponseSchema: typeof LoadSessionResponseSchema; declare const index_LoadSessionResultSchema: typeof LoadSessionResultSchema; type index_LogoAnimationMode = LogoAnimationMode; declare const index_LogoAnimationMode: typeof LogoAnimationMode; type index_LoopState = LoopState; declare const index_LoopStateChangedNotificationSchema: typeof LoopStateChangedNotificationSchema; declare const index_LoopStateSchema: typeof LoopStateSchema; type index_ManagedCustomModel = ManagedCustomModel; declare const index_ManagedCustomModelSchema: typeof ManagedCustomModelSchema; type index_ManagedSettingsBase = ManagedSettingsBase; declare const index_ManagedSettingsBaseSchema: typeof ManagedSettingsBaseSchema; type index_MarketplaceSource = MarketplaceSource; declare const index_MarketplaceSourceSchema: typeof MarketplaceSourceSchema; type index_McpAuthOutcome = McpAuthOutcome; declare const index_McpAuthOutcome: typeof McpAuthOutcome; declare const index_McpHttpServerConfigFieldsSchema: typeof McpHttpServerConfigFieldsSchema; type index_McpPolicy = McpPolicy; declare const index_McpPolicySchema: typeof McpPolicySchema; declare const index_McpRegistryServerSchema: typeof McpRegistryServerSchema; declare const index_McpServerNameSchema: typeof McpServerNameSchema; type index_McpServerStatus = McpServerStatus; declare const index_McpServerStatus: typeof McpServerStatus; declare const index_McpServerStatusInfoSchema: typeof McpServerStatusInfoSchema; type index_McpServerType = McpServerType; declare const index_McpServerType: typeof McpServerType; declare const index_McpServerTypeSchema: typeof McpServerTypeSchema; type index_McpStatus = McpStatus; declare const index_McpStatus: typeof McpStatus; declare const index_McpStatusSummarySchema: typeof McpStatusSummarySchema; declare const index_McpStdioServerConfigFieldsSchema: typeof McpStdioServerConfigFieldsSchema; declare const index_McpToolInfoSchema: typeof McpToolInfoSchema; type index_MessageContentBlockType = MessageContentBlockType; declare const index_MessageContentBlockType: typeof MessageContentBlockType; type index_MessageRole = MessageRole; declare const index_MessageRole: typeof MessageRole; type index_MessageRoleNoSystem = MessageRoleNoSystem; declare const index_MessageRoleNoSystem: typeof MessageRoleNoSystem; type index_MessageVisibility = MessageVisibility; declare const index_MessageVisibility: typeof MessageVisibility; declare const index_MilestoneValidationTriggeredEntrySchema: typeof MilestoneValidationTriggeredEntrySchema; declare const index_MissionAcceptedEntrySchema: typeof MissionAcceptedEntrySchema; declare const index_MissionFeatureSchema: typeof MissionFeatureSchema; declare const index_MissionFeaturesChangedNotificationSchema: typeof MissionFeaturesChangedNotificationSchema; declare const index_MissionHeartbeatNotificationSchema: typeof MissionHeartbeatNotificationSchema; type index_MissionModelSettings = MissionModelSettings; declare const index_MissionModelSettingsSchema: typeof MissionModelSettingsSchema; type index_MissionPauseReason = MissionPauseReason; declare const index_MissionPauseReason: typeof MissionPauseReason; declare const index_MissionPausedEntrySchema: typeof MissionPausedEntrySchema; type index_MissionPolicy = MissionPolicy; declare const index_MissionPolicySchema: typeof MissionPolicySchema; declare const index_MissionProgressEntryNotificationSchema: typeof MissionProgressEntryNotificationSchema; declare const index_MissionResumedEntrySchema: typeof MissionResumedEntrySchema; declare const index_MissionRunStartedEntrySchema: typeof MissionRunStartedEntrySchema; type index_MissionSessionTagMetadata = MissionSessionTagMetadata; type index_MissionState = MissionState; declare const index_MissionState: typeof MissionState; declare const index_MissionStateChangedNotificationSchema: typeof MissionStateChangedNotificationSchema; declare const index_MissionStateFileSchema: typeof MissionStateFileSchema; declare const index_MissionStateSchema: typeof MissionStateSchema; declare const index_MissionWorkerCompletedNotificationSchema: typeof MissionWorkerCompletedNotificationSchema; declare const index_MissionWorkerStartedNotificationSchema: typeof MissionWorkerStartedNotificationSchema; type index_ModelID = ModelID; declare const index_ModelID: typeof ModelID; type index_ModelKind = ModelKind; declare const index_ModelKind: typeof ModelKind; type index_ModelPolicy = ModelPolicy; declare const index_ModelPolicySchema: typeof ModelPolicySchema; type index_ModelProvider = ModelProvider; declare const index_ModelProvider: typeof ModelProvider; type index_OpenAIPhase = OpenAIPhase; declare const index_OpenAIPhase: typeof OpenAIPhase; declare const index_OutputFormatSchema: typeof OutputFormatSchema; type index_PlainTextSource = PlainTextSource; declare const index_PlainTextSourceSchema: typeof PlainTextSourceSchema; type index_Platform = Platform; declare const index_Platform: typeof Platform; type index_PlatformSource = PlatformSource; declare const index_ProgressLogEntrySchema: typeof ProgressLogEntrySchema; type index_ProgressLogEntryType = ProgressLogEntryType; declare const index_ProgressLogEntryType: typeof ProgressLogEntryType; declare const index_ProposeMissionToolInputSchema: typeof ProposeMissionToolInputSchema; type index_QueuePlacement = QueuePlacement; declare const index_QueuePlacement: typeof QueuePlacement; declare const index_ReadToolInputSchema: typeof ReadToolInputSchema; type index_ReadinessEvaluationSource = ReadinessEvaluationSource; type index_ReadinessRemediationSource = ReadinessRemediationSource; type index_ReasoningEffort = ReasoningEffort; declare const index_ReasoningEffort: typeof ReasoningEffort; type index_RedactedThinkingBlock = RedactedThinkingBlock; declare const index_RedactedThinkingBlockSchema: typeof RedactedThinkingBlockSchema; declare const index_RemoveMcpServerRequestParamsSchema: typeof RemoveMcpServerRequestParamsSchema; declare const index_RemoveMcpServerRequestSchema: typeof RemoveMcpServerRequestSchema; declare const index_RemoveMcpServerResponseSchema: typeof RemoveMcpServerResponseSchema; declare const index_RenameSessionRequestParamsSchema: typeof RenameSessionRequestParamsSchema; declare const index_RenameSessionRequestSchema: typeof RenameSessionRequestSchema; declare const index_RenameSessionResponseSchema: typeof RenameSessionResponseSchema; declare const index_RenameSessionResultSchema: typeof RenameSessionResultSchema; declare const index_RequestPermissionRequestParamsSchema: typeof RequestPermissionRequestParamsSchema; declare const index_RequestPermissionRequestSchema: typeof RequestPermissionRequestSchema; declare const index_RequestPermissionResponseSchema: typeof RequestPermissionResponseSchema; declare const index_RequestPermissionResultSchema: typeof RequestPermissionResultSchema; type index_ResolveQueuedUserMessageAction = ResolveQueuedUserMessageAction; declare const index_ResolveQueuedUserMessageAction: typeof ResolveQueuedUserMessageAction; declare const index_ResolveQueuedUserMessageRequestParamsSchema: typeof ResolveQueuedUserMessageRequestParamsSchema; declare const index_ResolveQueuedUserMessageRequestSchema: typeof ResolveQueuedUserMessageRequestSchema; declare const index_ResolveQueuedUserMessageResponseSchema: typeof ResolveQueuedUserMessageResponseSchema; declare const index_ResolveQueuedUserMessageResultSchema: typeof ResolveQueuedUserMessageResultSchema; type index_ResolvedComputerRegistration = ResolvedComputerRegistration; type index_ResolvedHostIdentity = ResolvedHostIdentity; type index_RiskLevel = RiskLevel; declare const index_RiskLevel: typeof RiskLevel; declare const index_RuntimeCustomModelsFileSchema: typeof RuntimeCustomModelsFileSchema; declare const index_SESSION_RETENTION_MAX_DAYS: typeof SESSION_RETENTION_MAX_DAYS; declare const index_SESSION_RETENTION_MIN_DAYS: typeof SESSION_RETENTION_MIN_DAYS; declare const index_SYSTEM_NOTIFICATION_END: typeof SYSTEM_NOTIFICATION_END; declare const index_SYSTEM_NOTIFICATION_START: typeof SYSTEM_NOTIFICATION_START; declare const index_SYSTEM_REMINDER_END: typeof SYSTEM_REMINDER_END; declare const index_SYSTEM_REMINDER_START: typeof SYSTEM_REMINDER_START; declare const index_SandboxFilesystemSettingsSchema: typeof SandboxFilesystemSettingsSchema; type index_SandboxMode = SandboxMode; declare const index_SandboxMode: typeof SandboxMode; declare const index_SandboxModeSchema: typeof SandboxModeSchema; declare const index_SandboxNetworkSettingsSchema: typeof SandboxNetworkSettingsSchema; type index_SandboxOperationType = SandboxOperationType; declare const index_SandboxOperationType: typeof SandboxOperationType; type index_SandboxSettings = SandboxSettings; declare const index_SandboxSettingsSchema: typeof SandboxSettingsSchema; declare const index_SandboxStatusSchema: typeof SandboxStatusSchema; type index_SandboxViolationReason = SandboxViolationReason; declare const index_SandboxViolationReason: typeof SandboxViolationReason; type index_SandboxViolationType = SandboxViolationType; declare const index_SandboxViolationType: typeof SandboxViolationType; declare const index_SessionCompactedNotificationSchema: typeof SessionCompactedNotificationSchema; type index_SessionDefaultSettings = SessionDefaultSettings; declare const index_SessionDefaultSettingsSchema: typeof SessionDefaultSettingsSchema; declare const index_SessionNotificationSchema: typeof SessionNotificationSchema; declare const index_SessionNotificationSchemaList: typeof SessionNotificationSchemaList; type index_SessionNotificationType = SessionNotificationType; declare const index_SessionNotificationType: typeof SessionNotificationType; type index_SessionOrigin = SessionOrigin; declare const index_SessionOrigin: typeof SessionOrigin; type index_SessionPlatform = SessionPlatform; declare const index_SessionPlatform: typeof SessionPlatform; type index_SessionSettings = SessionSettings; declare const index_SessionSettingsSchema: typeof SessionSettingsSchema; type index_SessionSource = SessionSource; declare const index_SessionSourceSchema: typeof SessionSourceSchema; type index_SessionSummaryEvent = SessionSummaryEvent; declare const index_SessionSummaryEventSchema: typeof SessionSummaryEventSchema; type index_SessionTag = SessionTag; declare const index_SessionTagSchema: typeof SessionTagSchema; type index_SessionTitleAutoStage = SessionTitleAutoStage; declare const index_SessionTitleAutoStage: typeof SessionTitleAutoStage; declare const index_SessionTokenUsageChangedNotificationSchema: typeof SessionTokenUsageChangedNotificationSchema; type index_SessionsApiSource = SessionsApiSource; declare const index_SettingsActionEnum: typeof SettingsActionEnum; type index_SettingsLevel = SettingsLevel; declare const index_SettingsLevel: typeof SettingsLevel; type index_SettingsResolutionEvent = SettingsResolutionEvent; declare const index_SettingsResolutionEventSchema: typeof SettingsResolutionEventSchema; type index_SettingsSource = SettingsSource; declare const index_SettingsSourceSchema: typeof SettingsSourceSchema; declare const index_SettingsSourceTypeEnum: typeof SettingsSourceTypeEnum; declare const index_SkillInfoSchema: typeof SkillInfoSchema; type index_SkillLocation = SkillLocation; declare const index_SkillLocation: typeof SkillLocation; declare const index_SkillToolInputSchema: typeof SkillToolInputSchema; type index_SlackSource = SlackSource; type index_SoundFocusMode = SoundFocusMode; declare const index_SoundFocusMode: typeof SoundFocusMode; type index_StructuredOutputErrorCode = StructuredOutputErrorCode; declare const index_StructuredOutputErrorCode: typeof StructuredOutputErrorCode; type index_SubagentModelSettings = SubagentModelSettings; declare const index_SubagentModelSettingsSchema: typeof SubagentModelSettingsSchema; type index_SubagentSoundMode = SubagentSoundMode; declare const index_SubagentSoundMode: typeof SubagentSoundMode; declare const index_SubmitBugReportRequestSchema: typeof SubmitBugReportRequestSchema; declare const index_SubmitBugReportResponseSchema: typeof SubmitBugReportResponseSchema; declare const index_SubmitBugReportResultSchema: typeof SubmitBugReportResultSchema; declare const index_SubmitMcpAuthCodeRequestParamsSchema: typeof SubmitMcpAuthCodeRequestParamsSchema; declare const index_SubmitMcpAuthCodeRequestSchema: typeof SubmitMcpAuthCodeRequestSchema; declare const index_SubmitMcpAuthCodeResponseSchema: typeof SubmitMcpAuthCodeResponseSchema; declare const index_TaskToolInputSchema: typeof TaskToolInputSchema; declare const index_TestCaseSchema: typeof TestCaseSchema; declare const index_TestFileSchema: typeof TestFileSchema; declare const index_TestsSchema: typeof TestsSchema; type index_TextBlock = TextBlock; declare const index_TextBlockSchema: typeof TextBlockSchema; type index_ThinkingBlock = ThinkingBlock; declare const index_ThinkingBlockSchema: typeof ThinkingBlockSchema; type index_TodoDisplayMode = TodoDisplayMode; declare const index_TodoDisplayMode: typeof TodoDisplayMode; declare const index_TodoWriteToolInputSchema: typeof TodoWriteToolInputSchema; declare const index_ToggleMcpServerRequestParamsSchema: typeof ToggleMcpServerRequestParamsSchema; declare const index_ToggleMcpServerRequestSchema: typeof ToggleMcpServerRequestSchema; declare const index_ToggleMcpServerResponseSchema: typeof ToggleMcpServerResponseSchema; declare const index_ToggleMcpToolRequestParamsSchema: typeof ToggleMcpToolRequestParamsSchema; declare const index_ToggleMcpToolRequestSchema: typeof ToggleMcpToolRequestSchema; declare const index_ToggleMcpToolResponseSchema: typeof ToggleMcpToolResponseSchema; type index_TokenUsage = TokenUsage; declare const index_ToolConfirmationDetailsSchema: typeof ToolConfirmationDetailsSchema; type index_ToolConfirmationListItem = ToolConfirmationListItem; declare const index_ToolConfirmationListItemSchema: typeof ToolConfirmationListItemSchema; type index_ToolConfirmationOutcome = ToolConfirmationOutcome; declare const index_ToolConfirmationOutcome: typeof ToolConfirmationOutcome; type index_ToolConfirmationType = ToolConfirmationType; declare const index_ToolConfirmationType: typeof ToolConfirmationType; type index_ToolExecutionLocation = ToolExecutionLocation; declare const index_ToolExecutionLocation: typeof ToolExecutionLocation; type index_ToolExecutionRenderStatus = ToolExecutionRenderStatus; declare const index_ToolExecutionRenderStatus: typeof ToolExecutionRenderStatus; declare const index_ToolProgressUpdateSchema: typeof ToolProgressUpdateSchema; type index_ToolResult = ToolResult; type index_ToolResultDisplay = ToolResultDisplay; declare const index_ToolResultDisplay: typeof ToolResultDisplay; declare const index_ToolResultSchema: typeof ToolResultSchema; type index_ToolStatus = ToolStatus; declare const index_ToolStatus: typeof ToolStatus; type index_ToolUse = ToolUse; declare const index_ToolUseSchema: typeof ToolUseSchema; type index_TraceContextMeta = TraceContextMeta; declare const index_TraceContextMetaSchema: typeof TraceContextMetaSchema; declare const index_UpdateSessionSettingsRequestParamsSchema: typeof UpdateSessionSettingsRequestParamsSchema; declare const index_UpdateSessionSettingsRequestSchema: typeof UpdateSessionSettingsRequestSchema; declare const index_UpdateSessionSettingsResponseSchema: typeof UpdateSessionSettingsResponseSchema; declare const index_UpdateSessionSettingsResultSchema: typeof UpdateSessionSettingsResultSchema; declare const index_UserModelPolicySchema: typeof UserModelPolicySchema; declare const index_ValidateWorkingDirectoryResultSchema: typeof ValidateWorkingDirectoryResultSchema; declare const index_VerificationCommandSchema: typeof VerificationCommandSchema; declare const index_VerificationSchema: typeof VerificationSchema; declare const index_WarmupCacheRequestSchema: typeof WarmupCacheRequestSchema; declare const index_WarmupCacheResponseSchema: typeof WarmupCacheResponseSchema; declare const index_WebSearchToolInputSchema: typeof WebSearchToolInputSchema; type index_WebSource = WebSource; type index_WikiCISetupSource = WikiCISetupSource; type index_WikiGenerationSource = WikiGenerationSource; declare const index_WorkerCompletedEntrySchema: typeof WorkerCompletedEntrySchema; declare const index_WorkerFailedEntrySchema: typeof WorkerFailedEntrySchema; type index_WorkerFailureReason = WorkerFailureReason; declare const index_WorkerFailureReason: typeof WorkerFailureReason; declare const index_WorkerHandoffFileSchema: typeof WorkerHandoffFileSchema; declare const index_WorkerPausedEntrySchema: typeof WorkerPausedEntrySchema; declare const index_WorkerSelectedFeatureEntrySchema: typeof WorkerSelectedFeatureEntrySchema; declare const index_WorkerStartedEntrySchema: typeof WorkerStartedEntrySchema; declare const index_WorkerStateInfoSchema: typeof WorkerStateInfoSchema; declare const index_usage: typeof usage; declare namespace index { export { index_ACTIVE_ORGANIZATION_HEADER as ACTIVE_ORGANIZATION_HEADER, index_AddMcpServerRequestParamsSchema as AddMcpServerRequestParamsSchema, index_AddMcpServerRequestSchema as AddMcpServerRequestSchema, index_AddMcpServerResponseSchema as AddMcpServerResponseSchema, index_AddUserMessageRequestParamsSchema as AddUserMessageRequestParamsSchema, index_AddUserMessageRequestSchema as AddUserMessageRequestSchema, index_AddUserMessageResponseSchema as AddUserMessageResponseSchema, index_AddUserMessageResultSchema as AddUserMessageResultSchema, index_ApiProvider as ApiProvider, type index_ApiSource as ApiSource, index_ApplyPatchToolInputSchema as ApplyPatchToolInputSchema, index_AskUserCollectedAnswerSchema as AskUserCollectedAnswerSchema, index_AskUserQuestionSchema as AskUserQuestionSchema, index_AskUserRequestParamsSchema as AskUserRequestParamsSchema, index_AskUserRequestSchema as AskUserRequestSchema, index_AskUserResponseSchema as AskUserResponseSchema, index_AskUserResultSchema as AskUserResultSchema, index_AuthenticateMcpServerRequestParamsSchema as AuthenticateMcpServerRequestParamsSchema, index_AuthenticateMcpServerRequestSchema as AuthenticateMcpServerRequestSchema, index_AuthenticateMcpServerResponseSchema as AuthenticateMcpServerResponseSchema, type index_AutomationCreatedBy as AutomationCreatedBy, index_AutomationCreatedBySchema as AutomationCreatedBySchema, index_AutomationErrorCode as AutomationErrorCode, index_AutomationPrivacyLevel as AutomationPrivacyLevel, index_AutomationScheduleCadence as AutomationScheduleCadence, type index_AutomationSource as AutomationSource, index_AutomationValidationIssueType as AutomationValidationIssueType, type index_AutomationsHeartbeat as AutomationsHeartbeat, index_AutomationsHeartbeatSchema as AutomationsHeartbeatSchema, index_AutonomyLevel as AutonomyLevel, index_AutonomyMode as AutonomyMode, index_AutonomyModeSchema as AutonomyModeSchema, index_AvailableModelConfigSchema as AvailableModelConfigSchema, type index_Base64ImageSource as Base64ImageSource, index_Base64ImageSourceSchema as Base64ImageSourceSchema, type index_Base64PDFSource as Base64PDFSource, index_Base64PDFSourceSchema as Base64PDFSourceSchema, index_BaseContentBlockSchema as BaseContentBlockSchema, index_BaseNotificationSchema as BaseNotificationSchema, index_BaseRequestSchema as BaseRequestSchema, index_BaseResponseFailureSchema as BaseResponseFailureSchema, index_BaseResponseSuccessSchema as BaseResponseSuccessSchema, index_BinaryDownloadPlanSchema as BinaryDownloadPlanSchema, index_CURRENT_COMPACTION_MODEL as CURRENT_COMPACTION_MODEL, type index_CacheLabel as CacheLabel, index_CacheLabelSchema as CacheLabelSchema, index_CancelMcpAuthRequestParamsSchema as CancelMcpAuthRequestParamsSchema, index_CancelMcpAuthRequestSchema as CancelMcpAuthRequestSchema, index_CancelMcpAuthResponseSchema as CancelMcpAuthResponseSchema, index_ChatCompletionReasoningField as ChatCompletionReasoningField, index_ClearMcpAuthRequestParamsSchema as ClearMcpAuthRequestParamsSchema, index_ClearMcpAuthRequestSchema as ClearMcpAuthRequestSchema, index_ClearMcpAuthResponseSchema as ClearMcpAuthResponseSchema, index_CliRequestOrNotificationSchema as CliRequestOrNotificationSchema, index_ClientRequestSchema as ClientRequestSchema, index_CloseSessionRequestSchema as CloseSessionRequestSchema, index_CloseSessionResponseSchema as CloseSessionResponseSchema, index_CloseSessionResultSchema as CloseSessionResultSchema, type index_CommandAck as CommandAck, index_CommandAckSchema as CommandAckSchema, index_CompactSessionRequestSchema as CompactSessionRequestSchema, index_CompactSessionResponseSchema as CompactSessionResponseSchema, index_CompactSessionResultSchema as CompactSessionResultSchema, type index_CompactionModel as CompactionModel, index_CompactionModelSchema as CompactionModelSchema, type index_ComputerRegistration as ComputerRegistration, type index_ContentBlock as ContentBlock, index_ContentBlockSchema as ContentBlockSchema, index_ContextCategoryColorKey as ContextCategoryColorKey, index_ContextStatsAccuracy as ContextStatsAccuracy, index_ContextStatsSchema as ContextStatsSchema, index_CreateToolInputSchema as CreateToolInputSchema, index_CronCreateToolInputSchema as CronCreateToolInputSchema, index_CronDeleteToolInputSchema as CronDeleteToolInputSchema, index_CronListToolInputSchema as CronListToolInputSchema, index_CustomCommandInfoSchema as CustomCommandInfoSchema, type index_CustomModels as CustomModels, index_CustomModelsSchema as CustomModelsSchema, index_DROID_IN_PROGRESS_STATES as DROID_IN_PROGRESS_STATES, index_DecompSessionType as DecompSessionType, index_DiffLineSchema as DiffLineSchema, index_DiffMode as DiffMode, index_DiscoveredIssueSchema as DiscoveredIssueSchema, index_DismissalRecordSchema as DismissalRecordSchema, index_DismissalType as DismissalType, type index_DocumentBlock as DocumentBlock, index_DocumentBlockSchema as DocumentBlockSchema, type index_DocumentSource as DocumentSource, index_DocumentSourceSchema as DocumentSourceSchema, index_DocumentSourceType as DocumentSourceType, index_DroidClientMethod as DroidClientMethod, index_DroidErrorType as DroidErrorType, index_DroidHookEventSchema as DroidHookEventSchema, index_DroidInteractionMode as DroidInteractionMode, index_DroidInteractionModeSchema as DroidInteractionModeSchema, index_DroidLocation as DroidLocation, index_DroidLoopStatus as DroidLoopStatus, index_DroidLoopStopReason as DroidLoopStopReason, index_DroidServerMethod as DroidServerMethod, index_DroidWorkingState as DroidWorkingState, index_EXIT_SPEC_MODE_REJECTED_MESSAGE as EXIT_SPEC_MODE_REJECTED_MESSAGE, index_EditToolInputSchema as EditToolInputSchema, type index_EffectiveFactoryRouterModel as EffectiveFactoryRouterModel, index_EffectiveFactoryRouterModelSchema as EffectiveFactoryRouterModelSchema, index_ExecuteRewindRequestSchema as ExecuteRewindRequestSchema, index_ExecuteRewindResponseSchema as ExecuteRewindResponseSchema, index_ExecuteRewindResultSchema as ExecuteRewindResultSchema, index_ExecuteToolInputSchema as ExecuteToolInputSchema, index_ExitSpecModeToolInputSchema as ExitSpecModeToolInputSchema, index_FACTORY_CLIENT_HEADER as FACTORY_CLIENT_HEADER, index_FACTORY_CLIENT_VERSION as FACTORY_CLIENT_VERSION, index_FACTORY_PROTOCOL_VERSION as FACTORY_PROTOCOL_VERSION, index_FACTORY_ROUTER_GUIDANCE_MAX_LENGTH as FACTORY_ROUTER_GUIDANCE_MAX_LENGTH, index_FACTORY_ROUTER_MODEL_ID as FACTORY_ROUTER_MODEL_ID, index_FACTORY_ROUTER_RULES_MAX_COUNT as FACTORY_ROUTER_RULES_MAX_COUNT, index_FACTORY_ROUTER_RULE_GUIDANCE_MAX_LENGTH as FACTORY_ROUTER_RULE_GUIDANCE_MAX_LENGTH, index_FACTORY_ROUTER_RULE_WHEN_MAX_LENGTH as FACTORY_ROUTER_RULE_WHEN_MAX_LENGTH, type index_FactoryDroidMessage as FactoryDroidMessage, index_FactoryDroidMessageSchema as FactoryDroidMessageSchema, type index_FactoryDroidMessageWithCaching as FactoryDroidMessageWithCaching, index_FactoryDroidMessageWithCachingSchema as FactoryDroidMessageWithCachingSchema, type index_FactoryRouterRule as FactoryRouterRule, index_FactoryRouterRuleSchema as FactoryRouterRuleSchema, index_FeatureStatus as FeatureStatus, index_FeatureSuccessState as FeatureSuccessState, index_FeatureSuccessStateSchema as FeatureSuccessStateSchema, index_FeaturesFileSchema as FeaturesFileSchema, index_FetchUrlToolInputSchema as FetchUrlToolInputSchema, index_FileOperationResultSchema as FileOperationResultSchema, index_ForkSessionRequestParamsSchema as ForkSessionRequestParamsSchema, index_ForkSessionRequestSchema as ForkSessionRequestSchema, index_ForkSessionResponseSchema as ForkSessionResponseSchema, index_ForkSessionResultSchema as ForkSessionResultSchema, type index_GeneralSettings as GeneralSettings, index_GeneralSettingsSchema as GeneralSettingsSchema, type index_GenericToolExecutionOutput as GenericToolExecutionOutput, index_GenericToolExecutionOutputSchema as GenericToolExecutionOutputSchema, index_GetContextBreakdownRequestSchema as GetContextBreakdownRequestSchema, index_GetContextBreakdownResponseSchema as GetContextBreakdownResponseSchema, index_GetContextBreakdownResultSchema as GetContextBreakdownResultSchema, index_GetContextStatsRequestSchema as GetContextStatsRequestSchema, index_GetContextStatsResponseSchema as GetContextStatsResponseSchema, ContextStatsSchema as GetContextStatsResultSchema, index_GetRewindInfoRequestSchema as GetRewindInfoRequestSchema, index_GetRewindInfoResponseSchema as GetRewindInfoResponseSchema, index_GetRewindInfoResultSchema as GetRewindInfoResultSchema, index_GetUserInfoResultSchema as GetUserInfoResultSchema, index_GlobToolInputSchema as GlobToolInputSchema, index_GrepToolInputSchema as GrepToolInputSchema, index_HandoffEntrySchema as HandoffEntrySchema, index_HandoffItemsDismissedEntrySchema as HandoffItemsDismissedEntrySchema, index_HandoffSchema as HandoffSchema, type index_HostConfig as HostConfig, index_HostConfigSchema as HostConfigSchema, index_HostIdSchema as HostIdSchema, type index_ImageBlock as ImageBlock, index_ImageBlockSchema as ImageBlockSchema, index_InitializeSessionRequestParamsSchema as InitializeSessionRequestParamsSchema, index_InitializeSessionRequestSchema as InitializeSessionRequestSchema, index_InitializeSessionResponseSchema as InitializeSessionResponseSchema, index_InitializeSessionResultSchema as InitializeSessionResultSchema, index_InteractiveCheckSchema as InteractiveCheckSchema, index_InterruptSessionRequestParamsSchema as InterruptSessionRequestParamsSchema, index_InterruptSessionRequestSchema as InterruptSessionRequestSchema, index_InterruptSessionResponseSchema as InterruptSessionResponseSchema, index_InterruptSessionResultSchema as InterruptSessionResultSchema, index_IssueSeverity as IssueSeverity, index_JSONRPC_VERSION as JSONRPC_VERSION, type index_JsonRpcBaseNotification as JsonRpcBaseNotification, index_JsonRpcBaseNotificationSchema as JsonRpcBaseNotificationSchema, type index_JsonRpcBaseRequest as JsonRpcBaseRequest, index_JsonRpcBaseRequestSchema as JsonRpcBaseRequestSchema, type index_JsonRpcBaseResponse as JsonRpcBaseResponse, type index_JsonRpcBaseResponseFailure as JsonRpcBaseResponseFailure, index_JsonRpcBaseResponseFailureSchema as JsonRpcBaseResponseFailureSchema, index_JsonRpcBaseResponseSchema as JsonRpcBaseResponseSchema, type index_JsonRpcBaseResponseSuccess as JsonRpcBaseResponseSuccess, index_JsonRpcBaseResponseSuccessSchema as JsonRpcBaseResponseSuccessSchema, type index_JsonRpcEnvelope as JsonRpcEnvelope, index_JsonRpcEnvelopeSchema as JsonRpcEnvelopeSchema, type index_JsonRpcError as JsonRpcError, index_JsonRpcErrorCode as JsonRpcErrorCode, index_JsonRpcErrorSchema as JsonRpcErrorSchema, type index_JsonRpcMessage as JsonRpcMessage, index_JsonRpcMessageSchema as JsonRpcMessageSchema, index_JsonRpcMessageType as JsonRpcMessageType, type index_JsonRpcProtocolVersionMismatchErrorData as JsonRpcProtocolVersionMismatchErrorData, index_JsonRpcProtocolVersionMismatchErrorDataSchema as JsonRpcProtocolVersionMismatchErrorDataSchema, index_KillWorkerSessionRequestParamsSchema as KillWorkerSessionRequestParamsSchema, index_KillWorkerSessionRequestSchema as KillWorkerSessionRequestSchema, index_KillWorkerSessionResponseSchema as KillWorkerSessionResponseSchema, index_KillWorkerSessionResultSchema as KillWorkerSessionResultSchema, index_LEGACY_FACTORY_API_VERSION as LEGACY_FACTORY_API_VERSION, index_LLMModelTier as LLMModelTier, index_LOOP_INTERVAL_POLICY as LOOP_INTERVAL_POLICY, index_LSToolInputSchema as LSToolInputSchema, type index_LegacyComputerConfig as LegacyComputerConfig, index_LegacyComputerConfigSchema as LegacyComputerConfigSchema, type index_LinearSource as LinearSource, index_ListCommandsRequestSchema as ListCommandsRequestSchema, index_ListCommandsResponseSchema as ListCommandsResponseSchema, index_ListMcpRegistryRequestParamsSchema as ListMcpRegistryRequestParamsSchema, index_ListMcpRegistryRequestSchema as ListMcpRegistryRequestSchema, index_ListMcpRegistryResponseSchema as ListMcpRegistryResponseSchema, index_ListMcpRegistryResultSchema as ListMcpRegistryResultSchema, index_ListMcpServersRequestParamsSchema as ListMcpServersRequestParamsSchema, index_ListMcpServersRequestSchema as ListMcpServersRequestSchema, index_ListMcpServersResponseSchema as ListMcpServersResponseSchema, index_ListMcpServersResultSchema as ListMcpServersResultSchema, index_ListMcpToolsRequestParamsSchema as ListMcpToolsRequestParamsSchema, index_ListMcpToolsRequestSchema as ListMcpToolsRequestSchema, index_ListMcpToolsResponseSchema as ListMcpToolsResponseSchema, index_ListMcpToolsResultSchema as ListMcpToolsResultSchema, index_ListSkillsRequestSchema as ListSkillsRequestSchema, index_ListSkillsResponseSchema as ListSkillsResponseSchema, index_ListToolsRequestParamsSchema as ListToolsRequestParamsSchema, index_ListToolsRequestSchema as ListToolsRequestSchema, index_ListToolsResponseSchema as ListToolsResponseSchema, index_ListToolsResultSchema as ListToolsResultSchema, index_LoadSessionRequestParamsSchema as LoadSessionRequestParamsSchema, index_LoadSessionRequestSchema as LoadSessionRequestSchema, index_LoadSessionResponseSchema as LoadSessionResponseSchema, index_LoadSessionResultSchema as LoadSessionResultSchema, index_LogoAnimationMode as LogoAnimationMode, type index_LoopState as LoopState, index_LoopStateChangedNotificationSchema as LoopStateChangedNotificationSchema, index_LoopStateSchema as LoopStateSchema, type index_ManagedCustomModel as ManagedCustomModel, index_ManagedCustomModelSchema as ManagedCustomModelSchema, type index_ManagedSettingsBase as ManagedSettingsBase, index_ManagedSettingsBaseSchema as ManagedSettingsBaseSchema, type index_MarketplaceSource as MarketplaceSource, index_MarketplaceSourceSchema as MarketplaceSourceSchema, index_McpAuthOutcome as McpAuthOutcome, index_McpHttpServerConfigFieldsSchema as McpHttpServerConfigFieldsSchema, type index_McpPolicy as McpPolicy, index_McpPolicySchema as McpPolicySchema, index_McpRegistryServerSchema as McpRegistryServerSchema, index_McpServerNameSchema as McpServerNameSchema, index_McpServerStatus as McpServerStatus, index_McpServerStatusInfoSchema as McpServerStatusInfoSchema, index_McpServerType as McpServerType, index_McpServerTypeSchema as McpServerTypeSchema, index_McpStatus as McpStatus, index_McpStatusSummarySchema as McpStatusSummarySchema, index_McpStdioServerConfigFieldsSchema as McpStdioServerConfigFieldsSchema, index_McpToolInfoSchema as McpToolInfoSchema, index_MessageContentBlockType as MessageContentBlockType, index_MessageRole as MessageRole, index_MessageRoleNoSystem as MessageRoleNoSystem, index_MessageVisibility as MessageVisibility, index_MilestoneValidationTriggeredEntrySchema as MilestoneValidationTriggeredEntrySchema, index_MissionAcceptedEntrySchema as MissionAcceptedEntrySchema, index_MissionFeatureSchema as MissionFeatureSchema, index_MissionFeaturesChangedNotificationSchema as MissionFeaturesChangedNotificationSchema, index_MissionHeartbeatNotificationSchema as MissionHeartbeatNotificationSchema, type index_MissionModelSettings as MissionModelSettings, index_MissionModelSettingsSchema as MissionModelSettingsSchema, index_MissionPauseReason as MissionPauseReason, index_MissionPausedEntrySchema as MissionPausedEntrySchema, type index_MissionPolicy as MissionPolicy, index_MissionPolicySchema as MissionPolicySchema, index_MissionProgressEntryNotificationSchema as MissionProgressEntryNotificationSchema, index_MissionResumedEntrySchema as MissionResumedEntrySchema, index_MissionRunStartedEntrySchema as MissionRunStartedEntrySchema, type index_MissionSessionTagMetadata as MissionSessionTagMetadata, index_MissionState as MissionState, index_MissionStateChangedNotificationSchema as MissionStateChangedNotificationSchema, index_MissionStateFileSchema as MissionStateFileSchema, index_MissionStateSchema as MissionStateSchema, index_MissionWorkerCompletedNotificationSchema as MissionWorkerCompletedNotificationSchema, index_MissionWorkerStartedNotificationSchema as MissionWorkerStartedNotificationSchema, index_ModelID as ModelID, index_ModelKind as ModelKind, type index_ModelPolicy as ModelPolicy, index_ModelPolicySchema as ModelPolicySchema, index_ModelProvider as ModelProvider, index_OpenAIPhase as OpenAIPhase, index_OutputFormatSchema as OutputFormatSchema, type index_PlainTextSource as PlainTextSource, index_PlainTextSourceSchema as PlainTextSourceSchema, index_Platform as Platform, type index_PlatformSource as PlatformSource, index_ProgressLogEntrySchema as ProgressLogEntrySchema, index_ProgressLogEntryType as ProgressLogEntryType, index_ProposeMissionToolInputSchema as ProposeMissionToolInputSchema, index_QueuePlacement as QueuePlacement, index_ReadToolInputSchema as ReadToolInputSchema, type index_ReadinessEvaluationSource as ReadinessEvaluationSource, type index_ReadinessRemediationSource as ReadinessRemediationSource, index_ReasoningEffort as ReasoningEffort, type index_RedactedThinkingBlock as RedactedThinkingBlock, index_RedactedThinkingBlockSchema as RedactedThinkingBlockSchema, index_RemoveMcpServerRequestParamsSchema as RemoveMcpServerRequestParamsSchema, index_RemoveMcpServerRequestSchema as RemoveMcpServerRequestSchema, index_RemoveMcpServerResponseSchema as RemoveMcpServerResponseSchema, index_RenameSessionRequestParamsSchema as RenameSessionRequestParamsSchema, index_RenameSessionRequestSchema as RenameSessionRequestSchema, index_RenameSessionResponseSchema as RenameSessionResponseSchema, index_RenameSessionResultSchema as RenameSessionResultSchema, index_RequestPermissionRequestParamsSchema as RequestPermissionRequestParamsSchema, index_RequestPermissionRequestSchema as RequestPermissionRequestSchema, index_RequestPermissionResponseSchema as RequestPermissionResponseSchema, index_RequestPermissionResultSchema as RequestPermissionResultSchema, index_ResolveQueuedUserMessageAction as ResolveQueuedUserMessageAction, index_ResolveQueuedUserMessageRequestParamsSchema as ResolveQueuedUserMessageRequestParamsSchema, index_ResolveQueuedUserMessageRequestSchema as ResolveQueuedUserMessageRequestSchema, index_ResolveQueuedUserMessageResponseSchema as ResolveQueuedUserMessageResponseSchema, index_ResolveQueuedUserMessageResultSchema as ResolveQueuedUserMessageResultSchema, type index_ResolvedComputerRegistration as ResolvedComputerRegistration, type index_ResolvedHostIdentity as ResolvedHostIdentity, index_RiskLevel as RiskLevel, index_RuntimeCustomModelsFileSchema as RuntimeCustomModelsFileSchema, index_SESSION_RETENTION_MAX_DAYS as SESSION_RETENTION_MAX_DAYS, index_SESSION_RETENTION_MIN_DAYS as SESSION_RETENTION_MIN_DAYS, index_SYSTEM_NOTIFICATION_END as SYSTEM_NOTIFICATION_END, index_SYSTEM_NOTIFICATION_START as SYSTEM_NOTIFICATION_START, index_SYSTEM_REMINDER_END as SYSTEM_REMINDER_END, index_SYSTEM_REMINDER_START as SYSTEM_REMINDER_START, index_SandboxFilesystemSettingsSchema as SandboxFilesystemSettingsSchema, index_SandboxMode as SandboxMode, index_SandboxModeSchema as SandboxModeSchema, index_SandboxNetworkSettingsSchema as SandboxNetworkSettingsSchema, index_SandboxOperationType as SandboxOperationType, type index_SandboxSettings as SandboxSettings, index_SandboxSettingsSchema as SandboxSettingsSchema, index_SandboxStatusSchema as SandboxStatusSchema, index_SandboxViolationReason as SandboxViolationReason, index_SandboxViolationType as SandboxViolationType, index_SessionCompactedNotificationSchema as SessionCompactedNotificationSchema, type index_SessionDefaultSettings as SessionDefaultSettings, index_SessionDefaultSettingsSchema as SessionDefaultSettingsSchema, index_SessionNotificationSchema as SessionNotificationSchema, index_SessionNotificationSchemaList as SessionNotificationSchemaList, index_SessionNotificationType as SessionNotificationType, index_SessionOrigin as SessionOrigin, index_SessionPlatform as SessionPlatform, type index_SessionSettings as SessionSettings, index_SessionSettingsSchema as SessionSettingsSchema, type index_SessionSource as SessionSource, index_SessionSourceSchema as SessionSourceSchema, type index_SessionSummaryEvent as SessionSummaryEvent, index_SessionSummaryEventSchema as SessionSummaryEventSchema, type index_SessionTag as SessionTag, index_SessionTagSchema as SessionTagSchema, index_SessionTitleAutoStage as SessionTitleAutoStage, index_SessionTokenUsageChangedNotificationSchema as SessionTokenUsageChangedNotificationSchema, type index_SessionsApiSource as SessionsApiSource, index_SettingsActionEnum as SettingsActionEnum, index_SettingsLevel as SettingsLevel, type index_SettingsResolutionEvent as SettingsResolutionEvent, index_SettingsResolutionEventSchema as SettingsResolutionEventSchema, type index_SettingsSource as SettingsSource, index_SettingsSourceSchema as SettingsSourceSchema, index_SettingsSourceTypeEnum as SettingsSourceTypeEnum, index_SkillInfoSchema as SkillInfoSchema, index_SkillLocation as SkillLocation, index_SkillToolInputSchema as SkillToolInputSchema, type index_SlackSource as SlackSource, index_SoundFocusMode as SoundFocusMode, index_StructuredOutputErrorCode as StructuredOutputErrorCode, type index_SubagentModelSettings as SubagentModelSettings, index_SubagentModelSettingsSchema as SubagentModelSettingsSchema, index_SubagentSoundMode as SubagentSoundMode, index_SubmitBugReportRequestSchema as SubmitBugReportRequestSchema, index_SubmitBugReportResponseSchema as SubmitBugReportResponseSchema, index_SubmitBugReportResultSchema as SubmitBugReportResultSchema, index_SubmitMcpAuthCodeRequestParamsSchema as SubmitMcpAuthCodeRequestParamsSchema, index_SubmitMcpAuthCodeRequestSchema as SubmitMcpAuthCodeRequestSchema, index_SubmitMcpAuthCodeResponseSchema as SubmitMcpAuthCodeResponseSchema, index_TaskToolInputSchema as TaskToolInputSchema, index_TestCaseSchema as TestCaseSchema, index_TestFileSchema as TestFileSchema, index_TestsSchema as TestsSchema, type index_TextBlock as TextBlock, index_TextBlockSchema as TextBlockSchema, type index_ThinkingBlock as ThinkingBlock, index_ThinkingBlockSchema as ThinkingBlockSchema, index_TodoDisplayMode as TodoDisplayMode, index_TodoWriteToolInputSchema as TodoWriteToolInputSchema, index_ToggleMcpServerRequestParamsSchema as ToggleMcpServerRequestParamsSchema, index_ToggleMcpServerRequestSchema as ToggleMcpServerRequestSchema, index_ToggleMcpServerResponseSchema as ToggleMcpServerResponseSchema, index_ToggleMcpToolRequestParamsSchema as ToggleMcpToolRequestParamsSchema, index_ToggleMcpToolRequestSchema as ToggleMcpToolRequestSchema, index_ToggleMcpToolResponseSchema as ToggleMcpToolResponseSchema, type index_TokenUsage as TokenUsage, TokenUsageSchema$1 as TokenUsageSchema, index_ToolConfirmationDetailsSchema as ToolConfirmationDetailsSchema, type index_ToolConfirmationListItem as ToolConfirmationListItem, index_ToolConfirmationListItemSchema as ToolConfirmationListItemSchema, index_ToolConfirmationOutcome as ToolConfirmationOutcome, index_ToolConfirmationType as ToolConfirmationType, index_ToolExecutionLocation as ToolExecutionLocation, index_ToolExecutionRenderStatus as ToolExecutionRenderStatus, index_ToolProgressUpdateSchema as ToolProgressUpdateSchema, type index_ToolResult as ToolResult, index_ToolResultDisplay as ToolResultDisplay, index_ToolResultSchema as ToolResultSchema, index_ToolStatus as ToolStatus, type index_ToolUse as ToolUse, index_ToolUseSchema as ToolUseSchema, type index_TraceContextMeta as TraceContextMeta, index_TraceContextMetaSchema as TraceContextMetaSchema, index_UpdateSessionSettingsRequestParamsSchema as UpdateSessionSettingsRequestParamsSchema, index_UpdateSessionSettingsRequestSchema as UpdateSessionSettingsRequestSchema, index_UpdateSessionSettingsResponseSchema as UpdateSessionSettingsResponseSchema, index_UpdateSessionSettingsResultSchema as UpdateSessionSettingsResultSchema, index_UserModelPolicySchema as UserModelPolicySchema, index_ValidateWorkingDirectoryResultSchema as ValidateWorkingDirectoryResultSchema, index_VerificationCommandSchema as VerificationCommandSchema, index_VerificationSchema as VerificationSchema, index_WarmupCacheRequestSchema as WarmupCacheRequestSchema, index_WarmupCacheResponseSchema as WarmupCacheResponseSchema, index_WebSearchToolInputSchema as WebSearchToolInputSchema, type index_WebSource as WebSource, type index_WikiCISetupSource as WikiCISetupSource, type index_WikiGenerationSource as WikiGenerationSource, index_WorkerCompletedEntrySchema as WorkerCompletedEntrySchema, index_WorkerFailedEntrySchema as WorkerFailedEntrySchema, index_WorkerFailureReason as WorkerFailureReason, index_WorkerHandoffFileSchema as WorkerHandoffFileSchema, index_WorkerPausedEntrySchema as WorkerPausedEntrySchema, index_WorkerSelectedFeatureEntrySchema as WorkerSelectedFeatureEntrySchema, index_WorkerStartedEntrySchema as WorkerStartedEntrySchema, index_WorkerStateInfoSchema as WorkerStateInfoSchema, index$1 as daemon, index_usage as usage }; } export { ClearMcpAuthResponseSchema as $, ACTIVE_ORGANIZATION_HEADER as A, AutomationValidationIssueType as B, type AutomationsHeartbeat as C, AutomationsHeartbeatSchema as D, AutonomyLevel as E, AutonomyMode as F, AutonomyModeSchema as G, AvailableModelConfigSchema as H, type Base64ImageSource as I, Base64ImageSourceSchema as J, type Base64PDFSource as K, Base64PDFSourceSchema as L, BaseContentBlockSchema as M, BaseNotificationSchema as N, BaseRequestSchema as O, BaseResponseFailureSchema as P, BaseResponseSuccessSchema as Q, BinaryDownloadPlanSchema as R, CURRENT_COMPACTION_MODEL as S, type CacheLabel as T, CacheLabelSchema as U, CancelMcpAuthRequestParamsSchema as V, CancelMcpAuthRequestSchema as W, CancelMcpAuthResponseSchema as X, ChatCompletionReasoningField as Y, ClearMcpAuthRequestParamsSchema as Z, ClearMcpAuthRequestSchema as _, AddMcpServerRequestParamsSchema as a, FACTORY_ROUTER_RULE_WHEN_MAX_LENGTH as a$, CliRequestOrNotificationSchema as a0, ClientRequestSchema as a1, CloseSessionRequestSchema as a2, CloseSessionResponseSchema as a3, CloseSessionResultSchema as a4, type CommandAck as a5, CommandAckSchema as a6, CompactSessionRequestSchema as a7, CompactSessionResponseSchema as a8, CompactSessionResultSchema as a9, DocumentSourceType as aA, DroidClientMethod as aB, DroidErrorType as aC, DroidHookEventSchema as aD, DroidInteractionMode as aE, DroidInteractionModeSchema as aF, DroidLocation as aG, DroidLoopStatus as aH, DroidLoopStopReason as aI, DroidServerMethod as aJ, DroidWorkingState as aK, EXIT_SPEC_MODE_REJECTED_MESSAGE as aL, EditToolInputSchema as aM, type EffectiveFactoryRouterModel as aN, EffectiveFactoryRouterModelSchema as aO, ExecuteRewindRequestSchema as aP, ExecuteRewindResponseSchema as aQ, ExecuteRewindResultSchema as aR, ExecuteToolInputSchema as aS, ExitSpecModeToolInputSchema as aT, FACTORY_CLIENT_HEADER as aU, FACTORY_CLIENT_VERSION as aV, FACTORY_PROTOCOL_VERSION as aW, FACTORY_ROUTER_GUIDANCE_MAX_LENGTH as aX, FACTORY_ROUTER_MODEL_ID as aY, FACTORY_ROUTER_RULES_MAX_COUNT as aZ, FACTORY_ROUTER_RULE_GUIDANCE_MAX_LENGTH as a_, type CompactionModel as aa, CompactionModelSchema as ab, type ComputerRegistration as ac, type ContentBlock as ad, ContentBlockSchema as ae, ContextCategoryColorKey as af, ContextStatsAccuracy as ag, ContextStatsSchema as ah, CreateToolInputSchema as ai, CronCreateToolInputSchema as aj, CronDeleteToolInputSchema as ak, CronListToolInputSchema as al, CustomCommandInfoSchema as am, type CustomModels as an, CustomModelsSchema as ao, DROID_IN_PROGRESS_STATES as ap, DecompSessionType as aq, DiffLineSchema as ar, DiffMode as as, DiscoveredIssueSchema as at, DismissalRecordSchema as au, DismissalType as av, type DocumentBlock as aw, DocumentBlockSchema as ax, type DocumentSource as ay, DocumentSourceSchema as az, AddMcpServerRequestSchema as b, JsonRpcErrorCode as b$, type FactoryDroidMessage as b0, FactoryDroidMessageSchema as b1, type FactoryDroidMessageWithCaching as b2, FactoryDroidMessageWithCachingSchema as b3, type FactoryRouterRule as b4, FactoryRouterRuleSchema as b5, FeatureStatus as b6, FeatureSuccessState as b7, FeatureSuccessStateSchema as b8, FeaturesFileSchema as b9, HostIdSchema as bA, type ImageBlock as bB, ImageBlockSchema as bC, InitializeSessionRequestParamsSchema as bD, InitializeSessionRequestSchema as bE, InitializeSessionResponseSchema as bF, InitializeSessionResultSchema as bG, InteractiveCheckSchema as bH, InterruptSessionRequestParamsSchema as bI, InterruptSessionRequestSchema as bJ, InterruptSessionResponseSchema as bK, InterruptSessionResultSchema as bL, IssueSeverity as bM, JSONRPC_VERSION as bN, type JsonRpcBaseNotification as bO, JsonRpcBaseNotificationSchema as bP, type JsonRpcBaseRequest as bQ, JsonRpcBaseRequestSchema as bR, type JsonRpcBaseResponse as bS, type JsonRpcBaseResponseFailure as bT, JsonRpcBaseResponseFailureSchema as bU, JsonRpcBaseResponseSchema as bV, type JsonRpcBaseResponseSuccess as bW, JsonRpcBaseResponseSuccessSchema as bX, type JsonRpcEnvelope as bY, JsonRpcEnvelopeSchema as bZ, type JsonRpcError as b_, FetchUrlToolInputSchema as ba, FileOperationResultSchema as bb, ForkSessionRequestParamsSchema as bc, ForkSessionRequestSchema as bd, ForkSessionResponseSchema as be, ForkSessionResultSchema as bf, type GeneralSettings as bg, GeneralSettingsSchema as bh, type GenericToolExecutionOutput as bi, GenericToolExecutionOutputSchema as bj, GetContextBreakdownRequestSchema as bk, GetContextBreakdownResponseSchema as bl, GetContextBreakdownResultSchema as bm, GetContextStatsRequestSchema as bn, GetContextStatsResponseSchema as bo, GetRewindInfoRequestSchema as bp, GetRewindInfoResponseSchema as bq, GetRewindInfoResultSchema as br, GetUserInfoResultSchema as bs, GlobToolInputSchema as bt, GrepToolInputSchema as bu, HandoffEntrySchema as bv, HandoffItemsDismissedEntrySchema as bw, HandoffSchema as bx, type HostConfig as by, HostConfigSchema as bz, AddMcpServerResponseSchema as c, McpStdioServerConfigFieldsSchema as c$, JsonRpcErrorSchema as c0, type JsonRpcMessage as c1, JsonRpcMessageSchema as c2, JsonRpcMessageType as c3, type JsonRpcProtocolVersionMismatchErrorData as c4, JsonRpcProtocolVersionMismatchErrorDataSchema as c5, KillWorkerSessionRequestParamsSchema as c6, KillWorkerSessionRequestSchema as c7, KillWorkerSessionResponseSchema as c8, KillWorkerSessionResultSchema as c9, ListToolsResultSchema as cA, LoadSessionRequestParamsSchema as cB, LoadSessionRequestSchema as cC, LoadSessionResponseSchema as cD, LoadSessionResultSchema as cE, LogoAnimationMode as cF, type LoopState as cG, LoopStateChangedNotificationSchema as cH, LoopStateSchema as cI, type ManagedCustomModel as cJ, ManagedCustomModelSchema as cK, type ManagedSettingsBase as cL, ManagedSettingsBaseSchema as cM, type MarketplaceSource as cN, MarketplaceSourceSchema as cO, McpAuthOutcome as cP, McpHttpServerConfigFieldsSchema as cQ, type McpPolicy as cR, McpPolicySchema as cS, McpRegistryServerSchema as cT, McpServerNameSchema as cU, McpServerStatus as cV, McpServerStatusInfoSchema as cW, McpServerType as cX, McpServerTypeSchema as cY, McpStatus as cZ, McpStatusSummarySchema as c_, LEGACY_FACTORY_API_VERSION as ca, LLMModelTier as cb, LOOP_INTERVAL_POLICY as cc, LSToolInputSchema as cd, type LegacyComputerConfig as ce, LegacyComputerConfigSchema as cf, type LinearSource as cg, ListCommandsRequestSchema as ch, ListCommandsResponseSchema as ci, ListMcpRegistryRequestParamsSchema as cj, ListMcpRegistryRequestSchema as ck, ListMcpRegistryResponseSchema as cl, ListMcpRegistryResultSchema as cm, ListMcpServersRequestParamsSchema as cn, ListMcpServersRequestSchema as co, ListMcpServersResponseSchema as cp, ListMcpServersResultSchema as cq, ListMcpToolsRequestParamsSchema as cr, ListMcpToolsRequestSchema as cs, ListMcpToolsResponseSchema as ct, ListMcpToolsResultSchema as cu, ListSkillsRequestSchema as cv, ListSkillsResponseSchema as cw, ListToolsRequestParamsSchema as cx, ListToolsRequestSchema as cy, ListToolsResponseSchema as cz, AddUserMessageRequestParamsSchema as d, ResolveQueuedUserMessageResultSchema as d$, McpToolInfoSchema as d0, MessageContentBlockType as d1, MessageRole as d2, MessageRoleNoSystem as d3, MessageVisibility as d4, MilestoneValidationTriggeredEntrySchema as d5, MissionAcceptedEntrySchema as d6, MissionFeatureSchema as d7, MissionFeaturesChangedNotificationSchema as d8, MissionHeartbeatNotificationSchema as d9, Platform as dA, type PlatformSource as dB, ProgressLogEntrySchema as dC, ProgressLogEntryType as dD, ProposeMissionToolInputSchema as dE, QueuePlacement as dF, ReadToolInputSchema as dG, type ReadinessEvaluationSource as dH, type ReadinessRemediationSource as dI, ReasoningEffort as dJ, type RedactedThinkingBlock as dK, RedactedThinkingBlockSchema as dL, RemoveMcpServerRequestParamsSchema as dM, RemoveMcpServerRequestSchema as dN, RemoveMcpServerResponseSchema as dO, RenameSessionRequestParamsSchema as dP, RenameSessionRequestSchema as dQ, RenameSessionResponseSchema as dR, RenameSessionResultSchema as dS, RequestPermissionRequestParamsSchema as dT, RequestPermissionRequestSchema as dU, RequestPermissionResponseSchema as dV, RequestPermissionResultSchema as dW, ResolveQueuedUserMessageAction as dX, ResolveQueuedUserMessageRequestParamsSchema as dY, ResolveQueuedUserMessageRequestSchema as dZ, ResolveQueuedUserMessageResponseSchema as d_, type MissionModelSettings as da, MissionModelSettingsSchema as db, MissionPauseReason as dc, MissionPausedEntrySchema as dd, type MissionPolicy as de, MissionPolicySchema as df, MissionProgressEntryNotificationSchema as dg, MissionResumedEntrySchema as dh, MissionRunStartedEntrySchema as di, type MissionSessionTagMetadata as dj, MissionState as dk, MissionStateChangedNotificationSchema as dl, MissionStateFileSchema as dm, MissionStateSchema as dn, MissionWorkerCompletedNotificationSchema as dp, MissionWorkerStartedNotificationSchema as dq, ModelID as dr, ModelKind as ds, type ModelPolicy as dt, ModelPolicySchema as du, ModelProvider as dv, OpenAIPhase as dw, OutputFormatSchema as dx, type PlainTextSource as dy, PlainTextSourceSchema as dz, AddUserMessageRequestSchema as e, TestFileSchema as e$, type ResolvedComputerRegistration as e0, type ResolvedHostIdentity as e1, RiskLevel as e2, RuntimeCustomModelsFileSchema as e3, SESSION_RETENTION_MAX_DAYS as e4, SESSION_RETENTION_MIN_DAYS as e5, SYSTEM_NOTIFICATION_END as e6, SYSTEM_NOTIFICATION_START as e7, SYSTEM_REMINDER_END as e8, SYSTEM_REMINDER_START as e9, SessionTitleAutoStage as eA, SessionTokenUsageChangedNotificationSchema as eB, type SessionsApiSource as eC, SettingsActionEnum as eD, SettingsLevel as eE, type SettingsResolutionEvent as eF, SettingsResolutionEventSchema as eG, type SettingsSource as eH, SettingsSourceSchema as eI, SettingsSourceTypeEnum as eJ, SkillInfoSchema as eK, SkillLocation as eL, SkillToolInputSchema as eM, type SlackSource as eN, SoundFocusMode as eO, StructuredOutputErrorCode as eP, type SubagentModelSettings as eQ, SubagentModelSettingsSchema as eR, SubagentSoundMode as eS, SubmitBugReportRequestSchema as eT, SubmitBugReportResponseSchema as eU, SubmitBugReportResultSchema as eV, SubmitMcpAuthCodeRequestParamsSchema as eW, SubmitMcpAuthCodeRequestSchema as eX, SubmitMcpAuthCodeResponseSchema as eY, TaskToolInputSchema as eZ, TestCaseSchema as e_, SandboxFilesystemSettingsSchema as ea, SandboxMode as eb, SandboxModeSchema as ec, SandboxNetworkSettingsSchema as ed, SandboxOperationType as ee, type SandboxSettings as ef, SandboxSettingsSchema as eg, SandboxStatusSchema as eh, SandboxViolationReason as ei, SandboxViolationType as ej, SessionCompactedNotificationSchema as ek, type SessionDefaultSettings as el, SessionDefaultSettingsSchema as em, SessionNotificationSchema as en, SessionNotificationSchemaList as eo, SessionNotificationType as ep, SessionOrigin as eq, SessionPlatform as er, type SessionSettings as es, SessionSettingsSchema as et, type SessionSource as eu, SessionSourceSchema as ev, type SessionSummaryEvent as ew, SessionSummaryEventSchema as ex, type SessionTag as ey, SessionTagSchema as ez, AddUserMessageResponseSchema as f, TestsSchema as f0, type TextBlock as f1, TextBlockSchema as f2, type ThinkingBlock as f3, ThinkingBlockSchema as f4, TodoDisplayMode as f5, TodoWriteToolInputSchema as f6, ToggleMcpServerRequestParamsSchema as f7, ToggleMcpServerRequestSchema as f8, ToggleMcpServerResponseSchema as f9, ValidateWorkingDirectoryResultSchema as fA, VerificationCommandSchema as fB, VerificationSchema as fC, WarmupCacheRequestSchema as fD, WarmupCacheResponseSchema as fE, WebSearchToolInputSchema as fF, type WebSource as fG, type WikiCISetupSource as fH, type WikiGenerationSource as fI, WorkerCompletedEntrySchema as fJ, WorkerFailedEntrySchema as fK, WorkerFailureReason as fL, WorkerHandoffFileSchema as fM, WorkerPausedEntrySchema as fN, WorkerSelectedFeatureEntrySchema as fO, WorkerStartedEntrySchema as fP, WorkerStateInfoSchema as fQ, index$1 as fR, usage as fS, ToggleMcpToolRequestParamsSchema as fa, ToggleMcpToolRequestSchema as fb, ToggleMcpToolResponseSchema as fc, type TokenUsage as fd, TokenUsageSchema$1 as fe, ToolConfirmationDetailsSchema as ff, type ToolConfirmationListItem as fg, ToolConfirmationListItemSchema as fh, ToolConfirmationOutcome as fi, ToolConfirmationType as fj, ToolExecutionLocation as fk, ToolExecutionRenderStatus as fl, ToolProgressUpdateSchema as fm, type ToolResult as fn, ToolResultDisplay as fo, ToolResultSchema as fp, ToolStatus as fq, type ToolUse as fr, ToolUseSchema as fs, type TraceContextMeta as ft, TraceContextMetaSchema as fu, UpdateSessionSettingsRequestParamsSchema as fv, UpdateSessionSettingsRequestSchema as fw, UpdateSessionSettingsResponseSchema as fx, UpdateSessionSettingsResultSchema as fy, UserModelPolicySchema as fz, AddUserMessageResultSchema as g, ApiProvider as h, index as i, type ApiSource as j, ApplyPatchToolInputSchema as k, AskUserCollectedAnswerSchema as l, AskUserQuestionSchema as m, AskUserRequestParamsSchema as n, AskUserRequestSchema as o, AskUserResponseSchema as p, AskUserResultSchema as q, AuthenticateMcpServerRequestParamsSchema as r, AuthenticateMcpServerRequestSchema as s, AuthenticateMcpServerResponseSchema as t, type AutomationCreatedBy as u, AutomationCreatedBySchema as v, AutomationErrorCode as w, AutomationPrivacyLevel as x, AutomationScheduleCadence as y, type AutomationSource as z };