import { z } from 'zod'; import { EventEmitter } from 'events'; import { Socket } from 'net'; type AnthropicModelId = keyof typeof anthropicModels; declare const anthropicDefaultModelId: AnthropicModelId; declare const anthropicModels: { readonly "claude-sonnet-4-20250514": { readonly maxTokens: 64000; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsComputerUse: true; readonly supportsPromptCache: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 3.75; readonly cacheReadsPrice: 0.3; readonly supportsReasoningBudget: true; }; readonly "claude-opus-4-20250514": { readonly maxTokens: 32000; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsComputerUse: true; readonly supportsPromptCache: true; readonly inputPrice: 15; readonly outputPrice: 75; readonly cacheWritesPrice: 18.75; readonly cacheReadsPrice: 1.5; readonly supportsReasoningBudget: true; }; readonly "claude-3-7-sonnet-20250219:thinking": { readonly maxTokens: 128000; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsComputerUse: true; readonly supportsPromptCache: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 3.75; readonly cacheReadsPrice: 0.3; readonly supportsReasoningBudget: true; readonly requiredReasoningBudget: true; }; readonly "claude-3-7-sonnet-20250219": { readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsComputerUse: true; readonly supportsPromptCache: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 3.75; readonly cacheReadsPrice: 0.3; }; readonly "claude-3-5-sonnet-20241022": { readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsComputerUse: true; readonly supportsPromptCache: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 3.75; readonly cacheReadsPrice: 0.3; }; readonly "claude-3-5-haiku-20241022": { readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsImages: false; readonly supportsPromptCache: true; readonly inputPrice: 1; readonly outputPrice: 5; readonly cacheWritesPrice: 1.25; readonly cacheReadsPrice: 0.1; }; readonly "claude-3-opus-20240229": { readonly maxTokens: 4096; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 15; readonly outputPrice: 75; readonly cacheWritesPrice: 18.75; readonly cacheReadsPrice: 1.5; }; readonly "claude-3-haiku-20240307": { readonly maxTokens: 4096; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.25; readonly outputPrice: 1.25; readonly cacheWritesPrice: 0.3; readonly cacheReadsPrice: 0.03; }; }; declare const ANTHROPIC_DEFAULT_MAX_TOKENS = 8192; type BedrockModelId = keyof typeof bedrockModels; declare const bedrockDefaultModelId: BedrockModelId; declare const bedrockDefaultPromptRouterModelId: BedrockModelId; declare const bedrockModels: { readonly "amazon.nova-pro-v1:0": { readonly maxTokens: 5000; readonly contextWindow: 300000; readonly supportsImages: true; readonly supportsComputerUse: false; readonly supportsPromptCache: true; readonly inputPrice: 0.8; readonly outputPrice: 3.2; readonly cacheWritesPrice: 0.8; readonly cacheReadsPrice: 0.2; readonly minTokensPerCachePoint: 1; readonly maxCachePoints: 1; readonly cachableFields: ["system"]; }; readonly "amazon.nova-pro-latency-optimized-v1:0": { readonly maxTokens: 5000; readonly contextWindow: 300000; readonly supportsImages: true; readonly supportsComputerUse: false; readonly supportsPromptCache: false; readonly inputPrice: 1; readonly outputPrice: 4; readonly cacheWritesPrice: 1; readonly cacheReadsPrice: 0.25; readonly description: "Amazon Nova Pro with latency optimized inference"; }; readonly "amazon.nova-lite-v1:0": { readonly maxTokens: 5000; readonly contextWindow: 300000; readonly supportsImages: true; readonly supportsComputerUse: false; readonly supportsPromptCache: true; readonly inputPrice: 0.06; readonly outputPrice: 0.24; readonly cacheWritesPrice: 0.06; readonly cacheReadsPrice: 0.015; readonly minTokensPerCachePoint: 1; readonly maxCachePoints: 1; readonly cachableFields: ["system"]; }; readonly "amazon.nova-micro-v1:0": { readonly maxTokens: 5000; readonly contextWindow: 128000; readonly supportsImages: false; readonly supportsComputerUse: false; readonly supportsPromptCache: true; readonly inputPrice: 0.035; readonly outputPrice: 0.14; readonly cacheWritesPrice: 0.035; readonly cacheReadsPrice: 0.00875; readonly minTokensPerCachePoint: 1; readonly maxCachePoints: 1; readonly cachableFields: ["system"]; }; readonly "anthropic.claude-sonnet-4-20250514-v1:0": { readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsComputerUse: true; readonly supportsPromptCache: true; readonly supportsReasoningBudget: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 3.75; readonly cacheReadsPrice: 0.3; readonly minTokensPerCachePoint: 1024; readonly maxCachePoints: 4; readonly cachableFields: ["system", "messages", "tools"]; }; readonly "anthropic.claude-opus-4-20250514-v1:0": { readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsComputerUse: true; readonly supportsPromptCache: true; readonly supportsReasoningBudget: true; readonly inputPrice: 15; readonly outputPrice: 75; readonly cacheWritesPrice: 18.75; readonly cacheReadsPrice: 1.5; readonly minTokensPerCachePoint: 1024; readonly maxCachePoints: 4; readonly cachableFields: ["system", "messages", "tools"]; }; readonly "anthropic.claude-3-7-sonnet-20250219-v1:0": { readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsComputerUse: true; readonly supportsPromptCache: true; readonly supportsReasoningBudget: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 3.75; readonly cacheReadsPrice: 0.3; readonly minTokensPerCachePoint: 1024; readonly maxCachePoints: 4; readonly cachableFields: ["system", "messages", "tools"]; }; readonly "anthropic.claude-3-5-sonnet-20241022-v2:0": { readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsComputerUse: true; readonly supportsPromptCache: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 3.75; readonly cacheReadsPrice: 0.3; readonly minTokensPerCachePoint: 1024; readonly maxCachePoints: 4; readonly cachableFields: ["system", "messages", "tools"]; }; readonly "anthropic.claude-3-5-haiku-20241022-v1:0": { readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsImages: false; readonly supportsPromptCache: true; readonly inputPrice: 0.8; readonly outputPrice: 4; readonly cacheWritesPrice: 1; readonly cacheReadsPrice: 0.08; readonly minTokensPerCachePoint: 2048; readonly maxCachePoints: 4; readonly cachableFields: ["system", "messages", "tools"]; }; readonly "anthropic.claude-3-5-sonnet-20240620-v1:0": { readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 3; readonly outputPrice: 15; }; readonly "anthropic.claude-3-opus-20240229-v1:0": { readonly maxTokens: 4096; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 15; readonly outputPrice: 75; }; readonly "anthropic.claude-3-sonnet-20240229-v1:0": { readonly maxTokens: 4096; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 3; readonly outputPrice: 15; }; readonly "anthropic.claude-3-haiku-20240307-v1:0": { readonly maxTokens: 4096; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0.25; readonly outputPrice: 1.25; }; readonly "anthropic.claude-2-1-v1:0": { readonly maxTokens: 4096; readonly contextWindow: 100000; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 8; readonly outputPrice: 24; readonly description: "Claude 2.1"; }; readonly "anthropic.claude-2-0-v1:0": { readonly maxTokens: 4096; readonly contextWindow: 100000; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 8; readonly outputPrice: 24; readonly description: "Claude 2.0"; }; readonly "anthropic.claude-instant-v1:0": { readonly maxTokens: 4096; readonly contextWindow: 100000; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0.8; readonly outputPrice: 2.4; readonly description: "Claude Instant"; }; readonly "deepseek.r1-v1:0": { readonly maxTokens: 32768; readonly contextWindow: 128000; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 1.35; readonly outputPrice: 5.4; }; readonly "meta.llama3-3-70b-instruct-v1:0": { readonly maxTokens: 8192; readonly contextWindow: 128000; readonly supportsImages: false; readonly supportsComputerUse: false; readonly supportsPromptCache: false; readonly inputPrice: 0.72; readonly outputPrice: 0.72; readonly description: "Llama 3.3 Instruct (70B)"; }; readonly "meta.llama3-2-90b-instruct-v1:0": { readonly maxTokens: 8192; readonly contextWindow: 128000; readonly supportsImages: true; readonly supportsComputerUse: false; readonly supportsPromptCache: false; readonly inputPrice: 0.72; readonly outputPrice: 0.72; readonly description: "Llama 3.2 Instruct (90B)"; }; readonly "meta.llama3-2-11b-instruct-v1:0": { readonly maxTokens: 8192; readonly contextWindow: 128000; readonly supportsImages: true; readonly supportsComputerUse: false; readonly supportsPromptCache: false; readonly inputPrice: 0.16; readonly outputPrice: 0.16; readonly description: "Llama 3.2 Instruct (11B)"; }; readonly "meta.llama3-2-3b-instruct-v1:0": { readonly maxTokens: 8192; readonly contextWindow: 128000; readonly supportsImages: false; readonly supportsComputerUse: false; readonly supportsPromptCache: false; readonly inputPrice: 0.15; readonly outputPrice: 0.15; readonly description: "Llama 3.2 Instruct (3B)"; }; readonly "meta.llama3-2-1b-instruct-v1:0": { readonly maxTokens: 8192; readonly contextWindow: 128000; readonly supportsImages: false; readonly supportsComputerUse: false; readonly supportsPromptCache: false; readonly inputPrice: 0.1; readonly outputPrice: 0.1; readonly description: "Llama 3.2 Instruct (1B)"; }; readonly "meta.llama3-1-405b-instruct-v1:0": { readonly maxTokens: 8192; readonly contextWindow: 128000; readonly supportsImages: false; readonly supportsComputerUse: false; readonly supportsPromptCache: false; readonly inputPrice: 2.4; readonly outputPrice: 2.4; readonly description: "Llama 3.1 Instruct (405B)"; }; readonly "meta.llama3-1-70b-instruct-v1:0": { readonly maxTokens: 8192; readonly contextWindow: 128000; readonly supportsImages: false; readonly supportsComputerUse: false; readonly supportsPromptCache: false; readonly inputPrice: 0.72; readonly outputPrice: 0.72; readonly description: "Llama 3.1 Instruct (70B)"; }; readonly "meta.llama3-1-70b-instruct-latency-optimized-v1:0": { readonly maxTokens: 8192; readonly contextWindow: 128000; readonly supportsImages: false; readonly supportsComputerUse: false; readonly supportsPromptCache: false; readonly inputPrice: 0.9; readonly outputPrice: 0.9; readonly description: "Llama 3.1 Instruct (70B) (w/ latency optimized inference)"; }; readonly "meta.llama3-1-8b-instruct-v1:0": { readonly maxTokens: 8192; readonly contextWindow: 8000; readonly supportsImages: false; readonly supportsComputerUse: false; readonly supportsPromptCache: false; readonly inputPrice: 0.22; readonly outputPrice: 0.22; readonly description: "Llama 3.1 Instruct (8B)"; }; readonly "meta.llama3-70b-instruct-v1:0": { readonly maxTokens: 2048; readonly contextWindow: 8000; readonly supportsImages: false; readonly supportsComputerUse: false; readonly supportsPromptCache: false; readonly inputPrice: 2.65; readonly outputPrice: 3.5; }; readonly "meta.llama3-8b-instruct-v1:0": { readonly maxTokens: 2048; readonly contextWindow: 4000; readonly supportsImages: false; readonly supportsComputerUse: false; readonly supportsPromptCache: false; readonly inputPrice: 0.3; readonly outputPrice: 0.6; }; readonly "amazon.titan-text-lite-v1:0": { readonly maxTokens: 4096; readonly contextWindow: 8000; readonly supportsImages: false; readonly supportsComputerUse: false; readonly supportsPromptCache: false; readonly inputPrice: 0.15; readonly outputPrice: 0.2; readonly description: "Amazon Titan Text Lite"; }; readonly "amazon.titan-text-express-v1:0": { readonly maxTokens: 4096; readonly contextWindow: 8000; readonly supportsImages: false; readonly supportsComputerUse: false; readonly supportsPromptCache: false; readonly inputPrice: 0.2; readonly outputPrice: 0.6; readonly description: "Amazon Titan Text Express"; }; readonly "amazon.titan-text-embeddings-v1:0": { readonly maxTokens: 8192; readonly contextWindow: 8000; readonly supportsImages: false; readonly supportsComputerUse: false; readonly supportsPromptCache: false; readonly inputPrice: 0.1; readonly description: "Amazon Titan Text Embeddings"; }; readonly "amazon.titan-text-embeddings-v2:0": { readonly maxTokens: 8192; readonly contextWindow: 8000; readonly supportsImages: false; readonly supportsComputerUse: false; readonly supportsPromptCache: false; readonly inputPrice: 0.02; readonly description: "Amazon Titan Text Embeddings V2"; }; }; declare const BEDROCK_DEFAULT_TEMPERATURE = 0.3; declare const BEDROCK_MAX_TOKENS = 4096; declare const BEDROCK_DEFAULT_CONTEXT = 128000; declare const AWS_INFERENCE_PROFILE_MAPPING: Array<[string, string]>; declare const BEDROCK_REGIONS: { value: string; label: string; }[]; /** * ReasoningEffort */ declare const reasoningEfforts: readonly ["low", "medium", "high"]; declare const reasoningEffortsSchema: z.ZodEnum<["low", "medium", "high"]>; type ReasoningEffort = z.infer; /** * ModelParameter */ declare const modelParameters: readonly ["max_tokens", "temperature", "reasoning", "include_reasoning"]; declare const modelParametersSchema: z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>; type ModelParameter = z.infer; declare const isModelParameter: (value: string) => value is ModelParameter; /** * ModelInfo */ declare const modelInfoSchema: z.ZodObject<{ maxTokens: z.ZodOptional>; maxThinkingTokens: z.ZodOptional>; contextWindow: z.ZodNumber; supportsImages: z.ZodOptional; supportsComputerUse: z.ZodOptional; supportsPromptCache: z.ZodBoolean; supportsReasoningBudget: z.ZodOptional; requiredReasoningBudget: z.ZodOptional; supportsReasoningEffort: z.ZodOptional; supportedParameters: z.ZodOptional, "many">>; inputPrice: z.ZodOptional; outputPrice: z.ZodOptional; cacheWritesPrice: z.ZodOptional; cacheReadsPrice: z.ZodOptional; description: z.ZodOptional; reasoningEffort: z.ZodOptional>; minTokensPerCachePoint: z.ZodOptional; maxCachePoints: z.ZodOptional; cachableFields: z.ZodOptional>; preferredIndex: z.ZodOptional; tiers: z.ZodOptional; outputPrice: z.ZodOptional; cacheWritesPrice: z.ZodOptional; cacheReadsPrice: z.ZodOptional; }, "strip", z.ZodTypeAny, { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }, { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; }, { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; }>; type ModelInfo = z.infer; /** * Cerebras provider types and models */ declare const cerebrasModelIds: readonly ["llama3.1-8b", "llama3.1-70b"]; declare const cerebrasModelIdsSchema: z.ZodEnum<["llama3.1-8b", "llama3.1-70b"]>; type CerebrasModelId = z.infer; declare const cerebrasDefaultModelId: CerebrasModelId; declare const cerebrasModels: Record>; declare const CEREBRAS_DEFAULT_TEMPERATURE = 0.7; type ChutesModelId = "deepseek-ai/DeepSeek-R1-0528" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3" | "unsloth/Llama-3.3-70B-Instruct" | "chutesai/Llama-4-Scout-17B-16E-Instruct" | "unsloth/Mistral-Nemo-Instruct-2407" | "unsloth/gemma-3-12b-it" | "NousResearch/DeepHermes-3-Llama-3-8B-Preview" | "unsloth/gemma-3-4b-it" | "nvidia/Llama-3_3-Nemotron-Super-49B-v1" | "nvidia/Llama-3_1-Nemotron-Ultra-253B-v1" | "chutesai/Llama-4-Maverick-17B-128E-Instruct-FP8" | "deepseek-ai/DeepSeek-V3-Base" | "deepseek-ai/DeepSeek-R1-Zero" | "deepseek-ai/DeepSeek-V3-0324" | "Qwen/Qwen3-235B-A22B" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-30B-A3B" | "Qwen/Qwen3-14B" | "Qwen/Qwen3-8B" | "microsoft/MAI-DS-R1-FP8" | "tngtech/DeepSeek-R1T-Chimera" | "zai-org/GLM-4.5-Air"; declare const chutesDefaultModelId: ChutesModelId; declare const chutesModels: { readonly "deepseek-ai/DeepSeek-R1-0528": { readonly maxTokens: 32768; readonly contextWindow: 163840; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "DeepSeek R1 0528 model."; }; readonly "deepseek-ai/DeepSeek-R1": { readonly maxTokens: 32768; readonly contextWindow: 163840; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "DeepSeek R1 model."; }; readonly "deepseek-ai/DeepSeek-V3": { readonly maxTokens: 32768; readonly contextWindow: 163840; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "DeepSeek V3 model."; }; readonly "unsloth/Llama-3.3-70B-Instruct": { readonly maxTokens: 32768; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "Unsloth Llama 3.3 70B Instruct model."; }; readonly "chutesai/Llama-4-Scout-17B-16E-Instruct": { readonly maxTokens: 32768; readonly contextWindow: 512000; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "ChutesAI Llama 4 Scout 17B Instruct model, 512K context."; }; readonly "unsloth/Mistral-Nemo-Instruct-2407": { readonly maxTokens: 32768; readonly contextWindow: 128000; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "Unsloth Mistral Nemo Instruct model."; }; readonly "unsloth/gemma-3-12b-it": { readonly maxTokens: 32768; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "Unsloth Gemma 3 12B IT model."; }; readonly "NousResearch/DeepHermes-3-Llama-3-8B-Preview": { readonly maxTokens: 32768; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "Nous DeepHermes 3 Llama 3 8B Preview model."; }; readonly "unsloth/gemma-3-4b-it": { readonly maxTokens: 32768; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "Unsloth Gemma 3 4B IT model."; }; readonly "nvidia/Llama-3_3-Nemotron-Super-49B-v1": { readonly maxTokens: 32768; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "Nvidia Llama 3.3 Nemotron Super 49B model."; }; readonly "nvidia/Llama-3_1-Nemotron-Ultra-253B-v1": { readonly maxTokens: 32768; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "Nvidia Llama 3.1 Nemotron Ultra 253B model."; }; readonly "chutesai/Llama-4-Maverick-17B-128E-Instruct-FP8": { readonly maxTokens: 32768; readonly contextWindow: 256000; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "ChutesAI Llama 4 Maverick 17B Instruct FP8 model."; }; readonly "deepseek-ai/DeepSeek-V3-Base": { readonly maxTokens: 32768; readonly contextWindow: 163840; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "DeepSeek V3 Base model."; }; readonly "deepseek-ai/DeepSeek-R1-Zero": { readonly maxTokens: 32768; readonly contextWindow: 163840; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "DeepSeek R1 Zero model."; }; readonly "deepseek-ai/DeepSeek-V3-0324": { readonly maxTokens: 32768; readonly contextWindow: 163840; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "DeepSeek V3 (0324) model."; }; readonly "Qwen/Qwen3-235B-A22B-Instruct-2507": { readonly maxTokens: 32768; readonly contextWindow: 262144; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "Qwen3 235B A22B Instruct 2507 model with 262K context window."; }; readonly "Qwen/Qwen3-235B-A22B": { readonly maxTokens: 32768; readonly contextWindow: 40960; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "Qwen3 235B A22B model."; }; readonly "Qwen/Qwen3-32B": { readonly maxTokens: 32768; readonly contextWindow: 40960; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "Qwen3 32B model."; }; readonly "Qwen/Qwen3-30B-A3B": { readonly maxTokens: 32768; readonly contextWindow: 40960; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "Qwen3 30B A3B model."; }; readonly "Qwen/Qwen3-14B": { readonly maxTokens: 32768; readonly contextWindow: 40960; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "Qwen3 14B model."; }; readonly "Qwen/Qwen3-8B": { readonly maxTokens: 32768; readonly contextWindow: 40960; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "Qwen3 8B model."; }; readonly "microsoft/MAI-DS-R1-FP8": { readonly maxTokens: 32768; readonly contextWindow: 163840; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "Microsoft MAI-DS-R1 FP8 model."; }; readonly "tngtech/DeepSeek-R1T-Chimera": { readonly maxTokens: 32768; readonly contextWindow: 163840; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "TNGTech DeepSeek R1T Chimera model."; }; readonly "zai-org/GLM-4.5-Air": { readonly maxTokens: 32768; readonly contextWindow: 151329; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly description: "GLM-4.5-Air model with 151,329 token context window and 106B total parameters with 12B activated."; }; }; /** * Converts Claude model names from hyphen-date format to Vertex AI's @-date format. * * @param modelName - The original model name (e.g., "claude-sonnet-4-20250514") * @returns The converted model name for Vertex AI (e.g., "claude-sonnet-4@20250514") * * @example * convertModelNameForVertex("claude-sonnet-4-20250514") // returns "claude-sonnet-4@20250514" * convertModelNameForVertex("claude-model") // returns "claude-model" (no change) */ declare function convertModelNameForVertex(modelName: string): string; type ClaudeCodeModelId = keyof typeof claudeCodeModels; declare const claudeCodeDefaultModelId: ClaudeCodeModelId; declare const CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS = 16000; /** * Gets the appropriate model ID based on whether Vertex AI is being used. * * @param baseModelId - The base Claude Code model ID * @param useVertex - Whether to format the model ID for Vertex AI (default: false) * @returns The model ID, potentially formatted for Vertex AI * * @example * getClaudeCodeModelId("claude-sonnet-4-20250514", true) // returns "claude-sonnet-4@20250514" * getClaudeCodeModelId("claude-sonnet-4-20250514", false) // returns "claude-sonnet-4-20250514" */ declare function getClaudeCodeModelId(baseModelId: ClaudeCodeModelId, useVertex?: boolean): string; declare const claudeCodeModels: { readonly "claude-sonnet-4-20250514": { readonly supportsImages: false; readonly supportsPromptCache: true; readonly supportsReasoningEffort: false; readonly supportsReasoningBudget: false; readonly requiredReasoningBudget: false; readonly maxTokens: 64000; readonly contextWindow: 200000; readonly supportsComputerUse: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 3.75; readonly cacheReadsPrice: 0.3; }; readonly "claude-opus-4-20250514": { readonly supportsImages: false; readonly supportsPromptCache: true; readonly supportsReasoningEffort: false; readonly supportsReasoningBudget: false; readonly requiredReasoningBudget: false; readonly maxTokens: 32000; readonly contextWindow: 200000; readonly supportsComputerUse: true; readonly inputPrice: 15; readonly outputPrice: 75; readonly cacheWritesPrice: 18.75; readonly cacheReadsPrice: 1.5; }; readonly "claude-3-7-sonnet-20250219": { readonly supportsImages: false; readonly supportsPromptCache: true; readonly supportsReasoningEffort: false; readonly supportsReasoningBudget: false; readonly requiredReasoningBudget: false; readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsComputerUse: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 3.75; readonly cacheReadsPrice: 0.3; }; readonly "claude-3-5-sonnet-20241022": { readonly supportsImages: false; readonly supportsPromptCache: true; readonly supportsReasoningEffort: false; readonly supportsReasoningBudget: false; readonly requiredReasoningBudget: false; readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsComputerUse: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 3.75; readonly cacheReadsPrice: 0.3; }; readonly "claude-3-5-haiku-20241022": { readonly supportsImages: false; readonly supportsPromptCache: true; readonly supportsReasoningEffort: false; readonly supportsReasoningBudget: false; readonly requiredReasoningBudget: false; readonly maxTokens: 8192; readonly contextWindow: 200000; readonly inputPrice: 1; readonly outputPrice: 5; readonly cacheWritesPrice: 1.25; readonly cacheReadsPrice: 0.1; }; }; type DeepSeekModelId = keyof typeof deepSeekModels; declare const deepSeekDefaultModelId: DeepSeekModelId; declare const deepSeekModels: { readonly "deepseek-chat": { readonly maxTokens: 8192; readonly contextWindow: 64000; readonly supportsImages: false; readonly supportsPromptCache: true; readonly inputPrice: 0.27; readonly outputPrice: 1.1; readonly cacheWritesPrice: 0.27; readonly cacheReadsPrice: 0.07; readonly description: "DeepSeek-V3 achieves a significant breakthrough in inference speed over previous models. It tops the leaderboard among open-source models and rivals the most advanced closed-source models globally."; }; readonly "deepseek-reasoner": { readonly maxTokens: 8192; readonly contextWindow: 64000; readonly supportsImages: false; readonly supportsPromptCache: true; readonly inputPrice: 0.55; readonly outputPrice: 2.19; readonly cacheWritesPrice: 0.55; readonly cacheReadsPrice: 0.14; readonly description: "DeepSeek-R1 achieves performance comparable to OpenAI-o1 across math, code, and reasoning tasks. Supports Chain of Thought reasoning with up to 32K tokens."; }; }; declare const DEEP_SEEK_DEFAULT_TEMPERATURE = 0.6; type GeminiModelId = keyof typeof geminiModels; declare const geminiDefaultModelId: GeminiModelId; declare const geminiModels: { readonly "gemini-2.5-flash-preview-04-17:thinking": { readonly maxTokens: 65535; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0.15; readonly outputPrice: 3.5; readonly maxThinkingTokens: 24576; readonly supportsReasoningBudget: true; readonly requiredReasoningBudget: true; }; readonly "gemini-2.5-flash-preview-04-17": { readonly maxTokens: 65535; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0.15; readonly outputPrice: 0.6; }; readonly "gemini-2.5-flash-preview-05-20:thinking": { readonly maxTokens: 65535; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.15; readonly outputPrice: 3.5; readonly cacheReadsPrice: 0.0375; readonly cacheWritesPrice: 1; readonly maxThinkingTokens: 24576; readonly supportsReasoningBudget: true; readonly requiredReasoningBudget: true; }; readonly "gemini-2.5-flash-preview-05-20": { readonly maxTokens: 65535; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.15; readonly outputPrice: 0.6; readonly cacheReadsPrice: 0.0375; readonly cacheWritesPrice: 1; }; readonly "gemini-2.5-flash": { readonly maxTokens: 64000; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.3; readonly outputPrice: 2.5; readonly cacheReadsPrice: 0.075; readonly cacheWritesPrice: 1; readonly maxThinkingTokens: 24576; readonly supportsReasoningBudget: true; }; readonly "gemini-2.5-pro-exp-03-25": { readonly maxTokens: 65535; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; }; readonly "gemini-2.5-pro-preview-03-25": { readonly maxTokens: 65535; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 2.5; readonly outputPrice: 15; readonly cacheReadsPrice: 0.625; readonly cacheWritesPrice: 4.5; readonly tiers: [{ readonly contextWindow: 200000; readonly inputPrice: 1.25; readonly outputPrice: 10; readonly cacheReadsPrice: 0.31; }, { readonly contextWindow: number; readonly inputPrice: 2.5; readonly outputPrice: 15; readonly cacheReadsPrice: 0.625; }]; }; readonly "gemini-2.5-pro-preview-05-06": { readonly maxTokens: 65535; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 2.5; readonly outputPrice: 15; readonly cacheReadsPrice: 0.625; readonly cacheWritesPrice: 4.5; readonly tiers: [{ readonly contextWindow: 200000; readonly inputPrice: 1.25; readonly outputPrice: 10; readonly cacheReadsPrice: 0.31; }, { readonly contextWindow: number; readonly inputPrice: 2.5; readonly outputPrice: 15; readonly cacheReadsPrice: 0.625; }]; }; readonly "gemini-2.5-pro-preview-06-05": { readonly maxTokens: 65535; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 2.5; readonly outputPrice: 15; readonly cacheReadsPrice: 0.625; readonly cacheWritesPrice: 4.5; readonly maxThinkingTokens: 32768; readonly supportsReasoningBudget: true; readonly tiers: [{ readonly contextWindow: 200000; readonly inputPrice: 1.25; readonly outputPrice: 10; readonly cacheReadsPrice: 0.31; }, { readonly contextWindow: number; readonly inputPrice: 2.5; readonly outputPrice: 15; readonly cacheReadsPrice: 0.625; }]; }; readonly "gemini-2.5-pro": { readonly maxTokens: 64000; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 2.5; readonly outputPrice: 15; readonly cacheReadsPrice: 0.625; readonly cacheWritesPrice: 4.5; readonly maxThinkingTokens: 32768; readonly supportsReasoningBudget: true; readonly requiredReasoningBudget: true; readonly tiers: [{ readonly contextWindow: 200000; readonly inputPrice: 1.25; readonly outputPrice: 10; readonly cacheReadsPrice: 0.31; }, { readonly contextWindow: number; readonly inputPrice: 2.5; readonly outputPrice: 15; readonly cacheReadsPrice: 0.625; }]; }; readonly "gemini-2.0-flash-001": { readonly maxTokens: 8192; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.1; readonly outputPrice: 0.4; readonly cacheReadsPrice: 0.025; readonly cacheWritesPrice: 1; }; readonly "gemini-2.0-flash-lite-preview-02-05": { readonly maxTokens: 8192; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; }; readonly "gemini-2.0-pro-exp-02-05": { readonly maxTokens: 8192; readonly contextWindow: 2097152; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; }; readonly "gemini-2.0-flash-thinking-exp-01-21": { readonly maxTokens: 65536; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; }; readonly "gemini-2.0-flash-thinking-exp-1219": { readonly maxTokens: 8192; readonly contextWindow: 32767; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; }; readonly "gemini-2.0-flash-exp": { readonly maxTokens: 8192; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; }; readonly "gemini-1.5-flash-002": { readonly maxTokens: 8192; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.15; readonly outputPrice: 0.6; readonly cacheReadsPrice: 0.0375; readonly cacheWritesPrice: 1; readonly tiers: [{ readonly contextWindow: 128000; readonly inputPrice: 0.075; readonly outputPrice: 0.3; readonly cacheReadsPrice: 0.01875; }, { readonly contextWindow: number; readonly inputPrice: 0.15; readonly outputPrice: 0.6; readonly cacheReadsPrice: 0.0375; }]; }; readonly "gemini-1.5-flash-exp-0827": { readonly maxTokens: 8192; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; }; readonly "gemini-1.5-flash-8b-exp-0827": { readonly maxTokens: 8192; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; }; readonly "gemini-1.5-pro-002": { readonly maxTokens: 8192; readonly contextWindow: 2097152; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; }; readonly "gemini-1.5-pro-exp-0827": { readonly maxTokens: 8192; readonly contextWindow: 2097152; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; }; readonly "gemini-exp-1206": { readonly maxTokens: 8192; readonly contextWindow: 2097152; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; }; readonly "gemini-2.5-flash-lite-preview-06-17": { readonly maxTokens: 64000; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.1; readonly outputPrice: 0.4; readonly cacheReadsPrice: 0.025; readonly cacheWritesPrice: 1; readonly supportsReasoningBudget: true; readonly maxThinkingTokens: 24576; }; }; /** * Gemini CLI provider types and models */ declare const geminiCliModelIds: readonly ["gemini-2.0-flash-001", "gemini-1.5-flash-001", "gemini-1.5-pro-001"]; declare const geminiCliModelIdsSchema: z.ZodEnum<["gemini-2.0-flash-001", "gemini-1.5-flash-001", "gemini-1.5-pro-001"]>; type GeminiCliModelId = z.infer; declare const geminiCliDefaultModelId: GeminiCliModelId; declare const geminiCliModels: Record>; declare const GEMINI_CLI_DEFAULT_TEMPERATURE = 0.7; declare const glamaDefaultModelId = "anthropic/claude-3-7-sonnet"; declare const glamaDefaultModelInfo: ModelInfo; declare const GLAMA_DEFAULT_TEMPERATURE = 0; type GroqModelId = "llama-3.1-8b-instant" | "llama-3.3-70b-versatile" | "meta-llama/llama-4-scout-17b-16e-instruct" | "meta-llama/llama-4-maverick-17b-128e-instruct" | "mistral-saba-24b" | "qwen-qwq-32b" | "qwen/qwen3-32b" | "deepseek-r1-distill-llama-70b" | "moonshotai/kimi-k2-instruct"; declare const groqDefaultModelId: GroqModelId; declare const groqModels: { readonly "llama-3.1-8b-instant": { readonly maxTokens: 8192; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0.05; readonly outputPrice: 0.08; readonly description: "Meta Llama 3.1 8B Instant model, 128K context."; }; readonly "llama-3.3-70b-versatile": { readonly maxTokens: 8192; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0.59; readonly outputPrice: 0.79; readonly description: "Meta Llama 3.3 70B Versatile model, 128K context."; }; readonly "meta-llama/llama-4-scout-17b-16e-instruct": { readonly maxTokens: 8192; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0.11; readonly outputPrice: 0.34; readonly description: "Meta Llama 4 Scout 17B Instruct model, 128K context."; }; readonly "meta-llama/llama-4-maverick-17b-128e-instruct": { readonly maxTokens: 8192; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0.2; readonly outputPrice: 0.6; readonly description: "Meta Llama 4 Maverick 17B Instruct model, 128K context."; }; readonly "mistral-saba-24b": { readonly maxTokens: 8192; readonly contextWindow: 32768; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0.79; readonly outputPrice: 0.79; readonly description: "Mistral Saba 24B model, 32K context."; }; readonly "qwen-qwq-32b": { readonly maxTokens: 8192; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0.29; readonly outputPrice: 0.39; readonly description: "Alibaba Qwen QwQ 32B model, 128K context."; }; readonly "qwen/qwen3-32b": { readonly maxTokens: 8192; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0.29; readonly outputPrice: 0.59; readonly description: "Alibaba Qwen 3 32B model, 128K context."; }; readonly "deepseek-r1-distill-llama-70b": { readonly maxTokens: 8192; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0.75; readonly outputPrice: 0.99; readonly description: "DeepSeek R1 Distill Llama 70B model, 128K context."; }; readonly "moonshotai/kimi-k2-instruct": { readonly maxTokens: 16384; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 1; readonly outputPrice: 3; readonly description: "Moonshot AI Kimi K2 Instruct 1T model, 128K context."; }; }; /** * HuggingFace provider constants */ declare const HUGGINGFACE_DEFAULT_MAX_TOKENS = 2048; declare const HUGGINGFACE_MAX_TOKENS_FALLBACK = 8192; declare const HUGGINGFACE_DEFAULT_CONTEXT_WINDOW = 128000; declare const HUGGINGFACE_SLIDER_STEP = 256; declare const HUGGINGFACE_SLIDER_MIN = 1; declare const HUGGINGFACE_TEMPERATURE_MAX_VALUE = 2; declare const HUGGINGFACE_API_URL = "https://router.huggingface.co/v1/models?collection=roocode"; declare const HUGGINGFACE_CACHE_DURATION: number; /** * Kilocode AI provider types and models */ declare const kilocodeModelIds: readonly ["claude-3-5-sonnet-20241022", "claude-3-5-haiku-20241022", "gpt-4o", "gpt-4o-mini"]; declare const kilocodeModelIdsSchema: z.ZodEnum<["claude-3-5-sonnet-20241022", "claude-3-5-haiku-20241022", "gpt-4o", "gpt-4o-mini"]>; type KilocodeModelId = z.infer; declare const kilocodeDefaultModelId: KilocodeModelId; declare const kilocodeModels: Record>; declare const KILOCODE_DEFAULT_TEMPERATURE = 0.7; declare const litellmDefaultModelId = "claude-3-7-sonnet-20250219"; declare const litellmDefaultModelInfo: ModelInfo; declare const LITELLM_COMPUTER_USE_MODELS: Set; declare const LMSTUDIO_DEFAULT_TEMPERATURE = 0; declare const lMStudioDefaultModelId = "mistralai/devstral-small-2505"; declare const lMStudioDefaultModelInfo: ModelInfo; type MistralModelId = keyof typeof mistralModels; declare const mistralDefaultModelId: MistralModelId; declare const mistralModels: { readonly "magistral-medium-latest": { readonly maxTokens: 41000; readonly contextWindow: 41000; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 2; readonly outputPrice: 5; }; readonly "devstral-medium-latest": { readonly maxTokens: 131000; readonly contextWindow: 131000; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0.4; readonly outputPrice: 2; }; readonly "mistral-medium-latest": { readonly maxTokens: 131000; readonly contextWindow: 131000; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0.4; readonly outputPrice: 2; }; readonly "codestral-latest": { readonly maxTokens: 256000; readonly contextWindow: 256000; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0.3; readonly outputPrice: 0.9; }; readonly "mistral-large-latest": { readonly maxTokens: 131000; readonly contextWindow: 131000; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 2; readonly outputPrice: 6; }; readonly "ministral-8b-latest": { readonly maxTokens: 131000; readonly contextWindow: 131000; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0.1; readonly outputPrice: 0.1; }; readonly "ministral-3b-latest": { readonly maxTokens: 131000; readonly contextWindow: 131000; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0.04; readonly outputPrice: 0.04; }; readonly "mistral-small-latest": { readonly maxTokens: 32000; readonly contextWindow: 32000; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0.2; readonly outputPrice: 0.6; }; readonly "pixtral-large-latest": { readonly maxTokens: 131000; readonly contextWindow: 131000; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 2; readonly outputPrice: 6; }; }; declare const MISTRAL_DEFAULT_TEMPERATURE = 0; type MoonshotModelId = keyof typeof moonshotModels; declare const moonshotDefaultModelId: MoonshotModelId; declare const moonshotModels: { readonly "kimi-k2-0711-preview": { readonly maxTokens: 32000; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: true; readonly inputPrice: 0.6; readonly outputPrice: 2.5; readonly cacheWritesPrice: 0; readonly cacheReadsPrice: 0.15; readonly description: "Kimi K2 is a state-of-the-art mixture-of-experts (MoE) language model with 32 billion activated parameters and 1 trillion total parameters."; }; }; declare const MOONSHOT_DEFAULT_TEMPERATURE = 0.6; declare const ollamaDefaultModelId = "devstral:24b"; declare const ollamaDefaultModelInfo: ModelInfo; type OpenAiNativeModelId = keyof typeof openAiNativeModels; declare const openAiNativeDefaultModelId: OpenAiNativeModelId; declare const openAiNativeModels: { readonly "gpt-4.1": { readonly maxTokens: 32768; readonly contextWindow: 1047576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 2; readonly outputPrice: 8; readonly cacheReadsPrice: 0.5; }; readonly "gpt-4.1-mini": { readonly maxTokens: 32768; readonly contextWindow: 1047576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.4; readonly outputPrice: 1.6; readonly cacheReadsPrice: 0.1; }; readonly "gpt-4.1-nano": { readonly maxTokens: 32768; readonly contextWindow: 1047576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.1; readonly outputPrice: 0.4; readonly cacheReadsPrice: 0.025; }; readonly o3: { readonly maxTokens: 100000; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 2; readonly outputPrice: 8; readonly cacheReadsPrice: 0.5; readonly supportsReasoningEffort: true; readonly reasoningEffort: "medium"; }; readonly "o3-high": { readonly maxTokens: 100000; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 2; readonly outputPrice: 8; readonly cacheReadsPrice: 0.5; readonly reasoningEffort: "high"; }; readonly "o3-low": { readonly maxTokens: 100000; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 2; readonly outputPrice: 8; readonly cacheReadsPrice: 0.5; readonly reasoningEffort: "low"; }; readonly "o4-mini": { readonly maxTokens: 100000; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 1.1; readonly outputPrice: 4.4; readonly cacheReadsPrice: 0.275; readonly supportsReasoningEffort: true; readonly reasoningEffort: "medium"; }; readonly "o4-mini-high": { readonly maxTokens: 100000; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 1.1; readonly outputPrice: 4.4; readonly cacheReadsPrice: 0.275; readonly reasoningEffort: "high"; }; readonly "o4-mini-low": { readonly maxTokens: 100000; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 1.1; readonly outputPrice: 4.4; readonly cacheReadsPrice: 0.275; readonly reasoningEffort: "low"; }; readonly "o3-mini": { readonly maxTokens: 100000; readonly contextWindow: 200000; readonly supportsImages: false; readonly supportsPromptCache: true; readonly inputPrice: 1.1; readonly outputPrice: 4.4; readonly cacheReadsPrice: 0.55; readonly supportsReasoningEffort: true; readonly reasoningEffort: "medium"; }; readonly "o3-mini-high": { readonly maxTokens: 100000; readonly contextWindow: 200000; readonly supportsImages: false; readonly supportsPromptCache: true; readonly inputPrice: 1.1; readonly outputPrice: 4.4; readonly cacheReadsPrice: 0.55; readonly reasoningEffort: "high"; }; readonly "o3-mini-low": { readonly maxTokens: 100000; readonly contextWindow: 200000; readonly supportsImages: false; readonly supportsPromptCache: true; readonly inputPrice: 1.1; readonly outputPrice: 4.4; readonly cacheReadsPrice: 0.55; readonly reasoningEffort: "low"; }; readonly o1: { readonly maxTokens: 100000; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 15; readonly outputPrice: 60; readonly cacheReadsPrice: 7.5; }; readonly "o1-preview": { readonly maxTokens: 32768; readonly contextWindow: 128000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 15; readonly outputPrice: 60; readonly cacheReadsPrice: 7.5; }; readonly "o1-mini": { readonly maxTokens: 65536; readonly contextWindow: 128000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 1.1; readonly outputPrice: 4.4; readonly cacheReadsPrice: 0.55; }; readonly "gpt-4.5-preview": { readonly maxTokens: 16384; readonly contextWindow: 128000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 75; readonly outputPrice: 150; readonly cacheReadsPrice: 37.5; }; readonly "gpt-4o": { readonly maxTokens: 16384; readonly contextWindow: 128000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 2.5; readonly outputPrice: 10; readonly cacheReadsPrice: 1.25; }; readonly "gpt-4o-mini": { readonly maxTokens: 16384; readonly contextWindow: 128000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.15; readonly outputPrice: 0.6; readonly cacheReadsPrice: 0.075; }; }; declare const openAiModelInfoSaneDefaults: ModelInfo; declare const azureOpenAiDefaultApiVersion = "2024-08-01-preview"; declare const OPENAI_NATIVE_DEFAULT_TEMPERATURE = 0; declare const OPENAI_AZURE_AI_INFERENCE_PATH = "/models/chat/completions"; declare const openRouterDefaultModelId = "anthropic/claude-sonnet-4"; declare const openRouterDefaultModelInfo: ModelInfo; declare const OPENROUTER_DEFAULT_PROVIDER_NAME = "[default]"; declare const OPEN_ROUTER_PROMPT_CACHING_MODELS: Set; declare const OPEN_ROUTER_COMPUTER_USE_MODELS: Set; declare const OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS: Set; declare const OPEN_ROUTER_REASONING_BUDGET_MODELS: Set; declare const OPENROUTER_TOP_MODELS: { readonly "anthropic/claude-sonnet-4": { readonly ranking: 1; readonly usageShare: "57%"; readonly specialty: "Most popular, general purpose, coding"; readonly description: "#1 most used model. Excellent for complex reasoning and coding tasks."; }; readonly "google/gemini-2.5-flash": { readonly ranking: 3; readonly growth: "331%"; readonly specialty: "Fastest growing, multimodal, speed"; readonly description: "#3 fastest growing model. Great for rapid development and multimodal tasks."; }; readonly "deepseek/deepseek-v3": { readonly ranking: 6; readonly specialty: "Best reasoning, math, complex logic"; readonly description: "#6 best reasoning model. Rivals GPT-4 performance at lower cost."; }; readonly "qwen/qwen-2.5-coder-32b-instruct": { readonly ranking: 16; readonly specialty: "Code specialist, programming tasks"; readonly description: "#16 specialized coding model. Optimized for software development."; }; }; declare const requestyDefaultModelId = "coding/claude-4-sonnet"; declare const requestyDefaultModelInfo: ModelInfo; declare const unboundDefaultModelId = "anthropic/claude-3-7-sonnet-20250219"; declare const unboundDefaultModelInfo: ModelInfo; type VertexModelId = keyof typeof vertexModels; declare const vertexDefaultModelId: VertexModelId; declare const vertexModels: { readonly "gemini-2.5-flash-preview-05-20:thinking": { readonly maxTokens: 65535; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.15; readonly outputPrice: 3.5; readonly maxThinkingTokens: 24576; readonly supportsReasoningBudget: true; readonly requiredReasoningBudget: true; }; readonly "gemini-2.5-flash-preview-05-20": { readonly maxTokens: 65535; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.15; readonly outputPrice: 0.6; }; readonly "gemini-2.5-flash": { readonly maxTokens: 64000; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.3; readonly outputPrice: 2.5; readonly cacheReadsPrice: 0.075; readonly cacheWritesPrice: 1; readonly maxThinkingTokens: 24576; readonly supportsReasoningBudget: true; }; readonly "gemini-2.5-flash-preview-04-17:thinking": { readonly maxTokens: 65535; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0.15; readonly outputPrice: 3.5; readonly maxThinkingTokens: 24576; readonly supportsReasoningBudget: true; readonly requiredReasoningBudget: true; }; readonly "gemini-2.5-flash-preview-04-17": { readonly maxTokens: 65535; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0.15; readonly outputPrice: 0.6; }; readonly "gemini-2.5-pro-preview-03-25": { readonly maxTokens: 65535; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 2.5; readonly outputPrice: 15; }; readonly "gemini-2.5-pro-preview-05-06": { readonly maxTokens: 65535; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 2.5; readonly outputPrice: 15; }; readonly "gemini-2.5-pro-preview-06-05": { readonly maxTokens: 65535; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 2.5; readonly outputPrice: 15; readonly maxThinkingTokens: 32768; readonly supportsReasoningBudget: true; }; readonly "gemini-2.5-pro": { readonly maxTokens: 64000; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 2.5; readonly outputPrice: 15; readonly maxThinkingTokens: 32768; readonly supportsReasoningBudget: true; readonly requiredReasoningBudget: true; readonly tiers: [{ readonly contextWindow: 200000; readonly inputPrice: 1.25; readonly outputPrice: 10; readonly cacheReadsPrice: 0.31; }, { readonly contextWindow: number; readonly inputPrice: 2.5; readonly outputPrice: 15; readonly cacheReadsPrice: 0.625; }]; }; readonly "gemini-2.5-pro-exp-03-25": { readonly maxTokens: 65535; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; }; readonly "gemini-2.0-pro-exp-02-05": { readonly maxTokens: 8192; readonly contextWindow: 2097152; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; }; readonly "gemini-2.0-flash-001": { readonly maxTokens: 8192; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.15; readonly outputPrice: 0.6; }; readonly "gemini-2.0-flash-lite-001": { readonly maxTokens: 8192; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0.075; readonly outputPrice: 0.3; }; readonly "gemini-2.0-flash-thinking-exp-01-21": { readonly maxTokens: 8192; readonly contextWindow: 32768; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; }; readonly "gemini-1.5-flash-002": { readonly maxTokens: 8192; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.075; readonly outputPrice: 0.3; }; readonly "gemini-1.5-pro-002": { readonly maxTokens: 8192; readonly contextWindow: 2097152; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 1.25; readonly outputPrice: 5; }; readonly "claude-sonnet-4@20250514": { readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsComputerUse: true; readonly supportsPromptCache: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 3.75; readonly cacheReadsPrice: 0.3; readonly supportsReasoningBudget: true; }; readonly "claude-opus-4@20250514": { readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsComputerUse: true; readonly supportsPromptCache: true; readonly inputPrice: 15; readonly outputPrice: 75; readonly cacheWritesPrice: 18.75; readonly cacheReadsPrice: 1.5; }; readonly "claude-3-7-sonnet@20250219:thinking": { readonly maxTokens: 64000; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsComputerUse: true; readonly supportsPromptCache: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 3.75; readonly cacheReadsPrice: 0.3; readonly supportsReasoningBudget: true; readonly requiredReasoningBudget: true; }; readonly "claude-3-7-sonnet@20250219": { readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsComputerUse: true; readonly supportsPromptCache: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 3.75; readonly cacheReadsPrice: 0.3; }; readonly "claude-3-5-sonnet-v2@20241022": { readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsComputerUse: true; readonly supportsPromptCache: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 3.75; readonly cacheReadsPrice: 0.3; }; readonly "claude-3-5-sonnet@20240620": { readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 3.75; readonly cacheReadsPrice: 0.3; }; readonly "claude-3-5-haiku@20241022": { readonly maxTokens: 8192; readonly contextWindow: 200000; readonly supportsImages: false; readonly supportsPromptCache: true; readonly inputPrice: 1; readonly outputPrice: 5; readonly cacheWritesPrice: 1.25; readonly cacheReadsPrice: 0.1; }; readonly "claude-3-opus@20240229": { readonly maxTokens: 4096; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 15; readonly outputPrice: 75; readonly cacheWritesPrice: 18.75; readonly cacheReadsPrice: 1.5; }; readonly "claude-3-haiku@20240307": { readonly maxTokens: 4096; readonly contextWindow: 200000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.25; readonly outputPrice: 1.25; readonly cacheWritesPrice: 0.3; readonly cacheReadsPrice: 0.03; }; readonly "gemini-2.5-flash-lite-preview-06-17": { readonly maxTokens: 64000; readonly contextWindow: 1048576; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 0.1; readonly outputPrice: 0.4; readonly cacheReadsPrice: 0.025; readonly cacheWritesPrice: 1; readonly maxThinkingTokens: 24576; readonly supportsReasoningBudget: true; }; readonly "llama-4-maverick-17b-128e-instruct-maas": { readonly maxTokens: 8192; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0.35; readonly outputPrice: 1.15; readonly description: "Meta Llama 4 Maverick 17B Instruct model, 128K context."; }; }; declare const VERTEX_REGIONS: { value: string; label: string; }[]; type VscodeLlmModelId = keyof typeof vscodeLlmModels; declare const vscodeLlmDefaultModelId: VscodeLlmModelId; declare const vscodeLlmModels: { readonly "gpt-3.5-turbo": { readonly contextWindow: 12114; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly family: "gpt-3.5-turbo"; readonly version: "gpt-3.5-turbo-0613"; readonly name: "GPT 3.5 Turbo"; readonly supportsToolCalling: true; readonly maxInputTokens: 12114; }; readonly "gpt-4o-mini": { readonly contextWindow: 12115; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly family: "gpt-4o-mini"; readonly version: "gpt-4o-mini-2024-07-18"; readonly name: "GPT-4o mini"; readonly supportsToolCalling: true; readonly maxInputTokens: 12115; }; readonly "gpt-4": { readonly contextWindow: 28501; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly family: "gpt-4"; readonly version: "gpt-4-0613"; readonly name: "GPT 4"; readonly supportsToolCalling: true; readonly maxInputTokens: 28501; }; readonly "gpt-4-0125-preview": { readonly contextWindow: 63826; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly family: "gpt-4-turbo"; readonly version: "gpt-4-0125-preview"; readonly name: "GPT 4 Turbo"; readonly supportsToolCalling: true; readonly maxInputTokens: 63826; }; readonly "gpt-4o": { readonly contextWindow: 63827; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly family: "gpt-4o"; readonly version: "gpt-4o-2024-11-20"; readonly name: "GPT-4o"; readonly supportsToolCalling: true; readonly maxInputTokens: 63827; }; readonly o1: { readonly contextWindow: 19827; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly family: "o1-ga"; readonly version: "o1-2024-12-17"; readonly name: "o1 (Preview)"; readonly supportsToolCalling: true; readonly maxInputTokens: 19827; }; readonly "o3-mini": { readonly contextWindow: 63827; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly family: "o3-mini"; readonly version: "o3-mini-2025-01-31"; readonly name: "o3-mini"; readonly supportsToolCalling: true; readonly maxInputTokens: 63827; }; readonly "claude-3.5-sonnet": { readonly contextWindow: 81638; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly family: "claude-3.5-sonnet"; readonly version: "claude-3.5-sonnet"; readonly name: "Claude 3.5 Sonnet"; readonly supportsToolCalling: true; readonly maxInputTokens: 81638; }; readonly "gemini-2.0-flash-001": { readonly contextWindow: 127827; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly family: "gemini-2.0-flash"; readonly version: "gemini-2.0-flash-001"; readonly name: "Gemini 2.0 Flash"; readonly supportsToolCalling: false; readonly maxInputTokens: 127827; }; readonly "gemini-2.5-pro": { readonly contextWindow: 63830; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly family: "gemini-2.5-pro"; readonly version: "gemini-2.5-pro-preview-03-25"; readonly name: "Gemini 2.5 Pro (Preview)"; readonly supportsToolCalling: true; readonly maxInputTokens: 63830; }; readonly "o4-mini": { readonly contextWindow: 111446; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly family: "o4-mini"; readonly version: "o4-mini-2025-04-16"; readonly name: "o4-mini (Preview)"; readonly supportsToolCalling: true; readonly maxInputTokens: 111446; }; readonly "gpt-4.1": { readonly contextWindow: 111446; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 0; readonly outputPrice: 0; readonly family: "gpt-4.1"; readonly version: "gpt-4.1-2025-04-14"; readonly name: "GPT-4.1 (Preview)"; readonly supportsToolCalling: true; readonly maxInputTokens: 111446; }; }; type XAIModelId = keyof typeof xaiModels; declare const xaiDefaultModelId: XAIModelId; declare const xaiModels: { readonly "grok-4": { readonly maxTokens: 8192; readonly contextWindow: 256000; readonly supportsImages: true; readonly supportsPromptCache: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 0.75; readonly cacheReadsPrice: 0.75; readonly description: "xAI's Grok-4 model with 256K context window"; }; readonly "grok-3": { readonly maxTokens: 8192; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: true; readonly inputPrice: 3; readonly outputPrice: 15; readonly cacheWritesPrice: 0.75; readonly cacheReadsPrice: 0.75; readonly description: "xAI's Grok-3 model with 128K context window"; }; readonly "grok-3-fast": { readonly maxTokens: 8192; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: true; readonly inputPrice: 5; readonly outputPrice: 25; readonly cacheWritesPrice: 1.25; readonly cacheReadsPrice: 1.25; readonly description: "xAI's Grok-3 fast model with 128K context window"; }; readonly "grok-3-mini": { readonly maxTokens: 8192; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: true; readonly inputPrice: 0.3; readonly outputPrice: 0.5; readonly cacheWritesPrice: 0.07; readonly cacheReadsPrice: 0.07; readonly description: "xAI's Grok-3 mini model with 128K context window"; readonly supportsReasoningEffort: true; }; readonly "grok-3-mini-fast": { readonly maxTokens: 8192; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: true; readonly inputPrice: 0.6; readonly outputPrice: 4; readonly cacheWritesPrice: 0.15; readonly cacheReadsPrice: 0.15; readonly description: "xAI's Grok-3 mini fast model with 128K context window"; readonly supportsReasoningEffort: true; }; readonly "grok-2-1212": { readonly maxTokens: 8192; readonly contextWindow: 131072; readonly supportsImages: false; readonly supportsPromptCache: false; readonly inputPrice: 2; readonly outputPrice: 10; readonly description: "xAI's Grok-2 model (version 1212) with 128K context window"; }; readonly "grok-2-vision-1212": { readonly maxTokens: 8192; readonly contextWindow: 32768; readonly supportsImages: true; readonly supportsPromptCache: false; readonly inputPrice: 2; readonly outputPrice: 10; readonly description: "xAI's Grok-2 Vision model (version 1212) with image support and 32K context window"; }; }; /** * TS */ type Keys = keyof T; type Values = T[keyof T]; type Equals = (() => T extends X ? 1 : 2) extends () => T extends Y ? 1 : 2 ? true : false; type AssertEqual = T; /** * ProviderName */ declare const providerNames: readonly ["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "kilocode", "fireworks", "cerebras"]; declare const providerNamesSchema: z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "kilocode", "fireworks", "cerebras"]>; type ProviderName = z.infer; /** * ProviderSettingsEntry */ declare const providerSettingsEntrySchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; apiProvider: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }, { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }>; type ProviderSettingsEntry = z.infer; /** * ProviderSettings */ /** * Default value for consecutive mistake limit */ declare const DEFAULT_CONSECUTIVE_MISTAKE_LIMIT = 3; declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiProvider", [z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { apiModelId: z.ZodOptional; } & { apiKey: z.ZodOptional; anthropicBaseUrl: z.ZodOptional; anthropicUseAuthToken: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"anthropic">; }, "strip", z.ZodTypeAny, { apiProvider: "anthropic"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; }, { apiProvider: "anthropic"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { apiModelId: z.ZodOptional; } & { claudeCodePath: z.ZodOptional; claudeCodeMaxOutputTokens: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"claude-code">; }, "strip", z.ZodTypeAny, { apiProvider: "claude-code"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; }, { apiProvider: "claude-code"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { glamaModelId: z.ZodOptional; glamaApiKey: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"glama">; }, "strip", z.ZodTypeAny, { apiProvider: "glama"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; }, { apiProvider: "glama"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { openRouterApiKey: z.ZodOptional; openRouterModelId: z.ZodOptional; openRouterBaseUrl: z.ZodOptional; openRouterSpecificProvider: z.ZodOptional; openRouterUseMiddleOutTransform: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"openrouter">; }, "strip", z.ZodTypeAny, { apiProvider: "openrouter"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; }, { apiProvider: "openrouter"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { apiModelId: z.ZodOptional; } & { awsAccessKey: z.ZodOptional; awsSecretKey: z.ZodOptional; awsSessionToken: z.ZodOptional; awsRegion: z.ZodOptional; awsUseCrossRegionInference: z.ZodOptional; awsUsePromptCache: z.ZodOptional; awsProfile: z.ZodOptional; awsUseProfile: z.ZodOptional; awsApiKey: z.ZodOptional; awsUseApiKey: z.ZodOptional; awsCustomArn: z.ZodOptional; awsModelContextWindow: z.ZodOptional; awsBedrockEndpointEnabled: z.ZodOptional; awsBedrockEndpoint: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"bedrock">; }, "strip", z.ZodTypeAny, { apiProvider: "bedrock"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; }, { apiProvider: "bedrock"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { apiModelId: z.ZodOptional; } & { vertexKeyFile: z.ZodOptional; vertexJsonCredentials: z.ZodOptional; vertexProjectId: z.ZodOptional; vertexRegion: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"vertex">; }, "strip", z.ZodTypeAny, { apiProvider: "vertex"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; }, { apiProvider: "vertex"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { openAiBaseUrl: z.ZodOptional; openAiApiKey: z.ZodOptional; openAiLegacyFormat: z.ZodOptional; openAiR1FormatEnabled: z.ZodOptional; openAiModelId: z.ZodOptional; openAiCustomModelInfo: z.ZodOptional>; maxThinkingTokens: z.ZodOptional>; contextWindow: z.ZodNumber; supportsImages: z.ZodOptional; supportsComputerUse: z.ZodOptional; supportsPromptCache: z.ZodBoolean; supportsReasoningBudget: z.ZodOptional; requiredReasoningBudget: z.ZodOptional; supportsReasoningEffort: z.ZodOptional; supportedParameters: z.ZodOptional, "many">>; inputPrice: z.ZodOptional; outputPrice: z.ZodOptional; cacheWritesPrice: z.ZodOptional; cacheReadsPrice: z.ZodOptional; description: z.ZodOptional; reasoningEffort: z.ZodOptional>; minTokensPerCachePoint: z.ZodOptional; maxCachePoints: z.ZodOptional; cachableFields: z.ZodOptional>; preferredIndex: z.ZodOptional; tiers: z.ZodOptional; outputPrice: z.ZodOptional; cacheWritesPrice: z.ZodOptional; cacheReadsPrice: z.ZodOptional; }, "strip", z.ZodTypeAny, { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }, { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; }, { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; }>>>; openAiUseAzure: z.ZodOptional; azureApiVersion: z.ZodOptional; openAiStreamingEnabled: z.ZodOptional; openAiHostHeader: z.ZodOptional; openAiHeaders: z.ZodOptional>; } & { apiProvider: z.ZodLiteral<"openai">; }, "strip", z.ZodTypeAny, { apiProvider: "openai"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; }, { apiProvider: "openai"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { ollamaModelId: z.ZodOptional; ollamaBaseUrl: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"ollama">; }, "strip", z.ZodTypeAny, { apiProvider: "ollama"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; }, { apiProvider: "ollama"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { vsCodeLmModelSelector: z.ZodOptional; family: z.ZodOptional; version: z.ZodOptional; id: z.ZodOptional; }, "strip", z.ZodTypeAny, { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; }, { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; }>>; } & { apiProvider: z.ZodLiteral<"vscode-lm">; }, "strip", z.ZodTypeAny, { apiProvider: "vscode-lm"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; }, { apiProvider: "vscode-lm"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { lmStudioModelId: z.ZodOptional; lmStudioBaseUrl: z.ZodOptional; lmStudioDraftModelId: z.ZodOptional; lmStudioSpeculativeDecodingEnabled: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"lmstudio">; }, "strip", z.ZodTypeAny, { apiProvider: "lmstudio"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; }, { apiProvider: "lmstudio"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { apiModelId: z.ZodOptional; } & { geminiApiKey: z.ZodOptional; googleGeminiBaseUrl: z.ZodOptional; enableUrlContext: z.ZodOptional; enableGrounding: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"gemini">; }, "strip", z.ZodTypeAny, { apiProvider: "gemini"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; }, { apiProvider: "gemini"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { apiModelId: z.ZodOptional; } & { geminiCliOAuthPath: z.ZodOptional; geminiCliProjectId: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"gemini-cli">; }, "strip", z.ZodTypeAny, { apiProvider: "gemini-cli"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; }, { apiProvider: "gemini-cli"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { apiModelId: z.ZodOptional; } & { openAiNativeApiKey: z.ZodOptional; openAiNativeBaseUrl: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"openai-native">; }, "strip", z.ZodTypeAny, { apiProvider: "openai-native"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; }, { apiProvider: "openai-native"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { apiModelId: z.ZodOptional; } & { mistralApiKey: z.ZodOptional; mistralCodestralUrl: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"mistral">; }, "strip", z.ZodTypeAny, { apiProvider: "mistral"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; }, { apiProvider: "mistral"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { apiModelId: z.ZodOptional; } & { deepSeekBaseUrl: z.ZodOptional; deepSeekApiKey: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"deepseek">; }, "strip", z.ZodTypeAny, { apiProvider: "deepseek"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; }, { apiProvider: "deepseek"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { apiModelId: z.ZodOptional; } & { moonshotBaseUrl: z.ZodOptional, z.ZodLiteral<"https://api.moonshot.cn/v1">]>>; moonshotApiKey: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"moonshot">; }, "strip", z.ZodTypeAny, { apiProvider: "moonshot"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; }, { apiProvider: "moonshot"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { unboundApiKey: z.ZodOptional; unboundModelId: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"unbound">; }, "strip", z.ZodTypeAny, { apiProvider: "unbound"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; }, { apiProvider: "unbound"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { requestyApiKey: z.ZodOptional; requestyModelId: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"requesty">; }, "strip", z.ZodTypeAny, { apiProvider: "requesty"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; }, { apiProvider: "requesty"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"human-relay">; }, "strip", z.ZodTypeAny, { apiProvider: "human-relay"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; }, { apiProvider: "human-relay"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { fakeAi: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"fake-ai">; }, "strip", z.ZodTypeAny, { apiProvider: "fake-ai"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; fakeAi?: unknown; }, { apiProvider: "fake-ai"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; fakeAi?: unknown; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { apiModelId: z.ZodOptional; } & { xaiApiKey: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"xai">; }, "strip", z.ZodTypeAny, { apiProvider: "xai"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; xaiApiKey?: string | undefined; }, { apiProvider: "xai"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; xaiApiKey?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { apiModelId: z.ZodOptional; } & { groqApiKey: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"groq">; }, "strip", z.ZodTypeAny, { apiProvider: "groq"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; groqApiKey?: string | undefined; }, { apiProvider: "groq"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; groqApiKey?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { huggingFaceApiKey: z.ZodOptional; huggingFaceModelId: z.ZodOptional; huggingFaceInferenceProvider: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"huggingface">; }, "strip", z.ZodTypeAny, { apiProvider: "huggingface"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; }, { apiProvider: "huggingface"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { apiModelId: z.ZodOptional; } & { chutesApiKey: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"chutes">; }, "strip", z.ZodTypeAny, { apiProvider: "chutes"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; chutesApiKey?: string | undefined; }, { apiProvider: "chutes"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; chutesApiKey?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { litellmBaseUrl: z.ZodOptional; litellmApiKey: z.ZodOptional; litellmModelId: z.ZodOptional; litellmUsePromptCache: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"litellm">; }, "strip", z.ZodTypeAny, { apiProvider: "litellm"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; }, { apiProvider: "litellm"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { kilocodeToken: z.ZodOptional; kilocodeModel: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"kilocode">; }, "strip", z.ZodTypeAny, { apiProvider: "kilocode"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; }, { apiProvider: "kilocode"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { apiModelId: z.ZodOptional; } & { fireworksApiKey: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"fireworks">; }, "strip", z.ZodTypeAny, { apiProvider: "fireworks"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; fireworksApiKey?: string | undefined; }, { apiProvider: "fireworks"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; fireworksApiKey?: string | undefined; }>, z.ZodObject<{ includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; } & { apiModelId: z.ZodOptional; } & { cerebrasApiKey: z.ZodOptional; cerebrasModelId: z.ZodOptional; } & { apiProvider: z.ZodLiteral<"cerebras">; }, "strip", z.ZodTypeAny, { apiProvider: "cerebras"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; }, { apiProvider: "cerebras"; reasoningEffort?: "low" | "medium" | "high" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; }>, z.ZodObject<{ apiProvider: z.ZodUndefined; }, "strip", z.ZodTypeAny, { apiProvider?: undefined; }, { apiProvider?: undefined; }>]>; declare const providerSettingsSchema: z.ZodObject<{ codeIndexOpenAiKey: z.ZodOptional; codeIndexQdrantApiKey: z.ZodOptional; codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional; codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional; codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional; codebaseIndexGeminiApiKey: z.ZodOptional; codebaseIndexMistralApiKey: z.ZodOptional; includeMaxTokens: z.ZodOptional; diffEnabled: z.ZodOptional; todoListEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; modelTemperature: z.ZodOptional>; rateLimitSeconds: z.ZodOptional; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; apiModelId: z.ZodOptional; cerebrasApiKey: z.ZodOptional; cerebrasModelId: z.ZodOptional; fireworksApiKey: z.ZodOptional; kilocodeToken: z.ZodOptional; kilocodeModel: z.ZodOptional; litellmBaseUrl: z.ZodOptional; litellmApiKey: z.ZodOptional; litellmModelId: z.ZodOptional; litellmUsePromptCache: z.ZodOptional; chutesApiKey: z.ZodOptional; huggingFaceApiKey: z.ZodOptional; huggingFaceModelId: z.ZodOptional; huggingFaceInferenceProvider: z.ZodOptional; groqApiKey: z.ZodOptional; xaiApiKey: z.ZodOptional; fakeAi: z.ZodOptional; requestyApiKey: z.ZodOptional; requestyModelId: z.ZodOptional; unboundApiKey: z.ZodOptional; unboundModelId: z.ZodOptional; moonshotBaseUrl: z.ZodOptional, z.ZodLiteral<"https://api.moonshot.cn/v1">]>>; moonshotApiKey: z.ZodOptional; deepSeekBaseUrl: z.ZodOptional; deepSeekApiKey: z.ZodOptional; mistralApiKey: z.ZodOptional; mistralCodestralUrl: z.ZodOptional; openAiNativeApiKey: z.ZodOptional; openAiNativeBaseUrl: z.ZodOptional; geminiCliOAuthPath: z.ZodOptional; geminiCliProjectId: z.ZodOptional; geminiApiKey: z.ZodOptional; googleGeminiBaseUrl: z.ZodOptional; enableUrlContext: z.ZodOptional; enableGrounding: z.ZodOptional; lmStudioModelId: z.ZodOptional; lmStudioBaseUrl: z.ZodOptional; lmStudioDraftModelId: z.ZodOptional; lmStudioSpeculativeDecodingEnabled: z.ZodOptional; vsCodeLmModelSelector: z.ZodOptional; family: z.ZodOptional; version: z.ZodOptional; id: z.ZodOptional; }, "strip", z.ZodTypeAny, { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; }, { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; }>>; ollamaModelId: z.ZodOptional; ollamaBaseUrl: z.ZodOptional; openAiBaseUrl: z.ZodOptional; openAiApiKey: z.ZodOptional; openAiLegacyFormat: z.ZodOptional; openAiR1FormatEnabled: z.ZodOptional; openAiModelId: z.ZodOptional; openAiCustomModelInfo: z.ZodOptional>; maxThinkingTokens: z.ZodOptional>; contextWindow: z.ZodNumber; supportsImages: z.ZodOptional; supportsComputerUse: z.ZodOptional; supportsPromptCache: z.ZodBoolean; supportsReasoningBudget: z.ZodOptional; requiredReasoningBudget: z.ZodOptional; supportsReasoningEffort: z.ZodOptional; supportedParameters: z.ZodOptional, "many">>; inputPrice: z.ZodOptional; outputPrice: z.ZodOptional; cacheWritesPrice: z.ZodOptional; cacheReadsPrice: z.ZodOptional; description: z.ZodOptional; reasoningEffort: z.ZodOptional>; minTokensPerCachePoint: z.ZodOptional; maxCachePoints: z.ZodOptional; cachableFields: z.ZodOptional>; preferredIndex: z.ZodOptional; tiers: z.ZodOptional; outputPrice: z.ZodOptional; cacheWritesPrice: z.ZodOptional; cacheReadsPrice: z.ZodOptional; }, "strip", z.ZodTypeAny, { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }, { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; }, { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; }>>>; openAiUseAzure: z.ZodOptional; azureApiVersion: z.ZodOptional; openAiStreamingEnabled: z.ZodOptional; openAiHostHeader: z.ZodOptional; openAiHeaders: z.ZodOptional>; vertexKeyFile: z.ZodOptional; vertexJsonCredentials: z.ZodOptional; vertexProjectId: z.ZodOptional; vertexRegion: z.ZodOptional; awsAccessKey: z.ZodOptional; awsSecretKey: z.ZodOptional; awsSessionToken: z.ZodOptional; awsRegion: z.ZodOptional; awsUseCrossRegionInference: z.ZodOptional; awsUsePromptCache: z.ZodOptional; awsProfile: z.ZodOptional; awsUseProfile: z.ZodOptional; awsApiKey: z.ZodOptional; awsUseApiKey: z.ZodOptional; awsCustomArn: z.ZodOptional; awsModelContextWindow: z.ZodOptional; awsBedrockEndpointEnabled: z.ZodOptional; awsBedrockEndpoint: z.ZodOptional; openRouterApiKey: z.ZodOptional; openRouterModelId: z.ZodOptional; openRouterBaseUrl: z.ZodOptional; openRouterSpecificProvider: z.ZodOptional; openRouterUseMiddleOutTransform: z.ZodOptional; glamaModelId: z.ZodOptional; glamaApiKey: z.ZodOptional; claudeCodePath: z.ZodOptional; claudeCodeMaxOutputTokens: z.ZodOptional; apiKey: z.ZodOptional; anthropicBaseUrl: z.ZodOptional; anthropicUseAuthToken: z.ZodOptional; apiProvider: z.ZodOptional>; }, "strip", z.ZodTypeAny, { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; }, { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; }>; type ProviderSettings = z.infer; declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "todoListEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "claudeCodePath", "claudeCodeMaxOutputTokens", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsApiKey", "awsUseApiKey", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "enableUrlContext", "enableGrounding", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "moonshotBaseUrl", "moonshotApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "huggingFaceApiKey", "huggingFaceModelId", "huggingFaceInferenceProvider", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId", "litellmUsePromptCache", "kilocodeToken", "kilocodeModel", "fireworksApiKey", "cerebrasApiKey", "cerebrasModelId"]; declare const MODEL_ID_KEYS: Partial[]; declare const getModelId: (settings: ProviderSettings) => string | undefined; declare const ANTHROPIC_STYLE_PROVIDERS: ProviderName[]; declare const getApiProtocol: (provider: ProviderName | undefined, modelId?: string) => "anthropic" | "openai"; /** * Default delay in milliseconds after writes to allow diagnostics to detect potential problems. * This delay is particularly important for Go and other languages where tools like goimports * need time to automatically clean up unused imports. */ declare const DEFAULT_WRITE_DELAY_MS = 1000; /** * Default terminal output character limit constant. * This provides a reasonable default that aligns with typical terminal usage * while preventing context window explosions from extremely long lines. */ declare const DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT = 50000; /** * GlobalSettings */ declare const globalSettingsSchema: z.ZodObject<{ currentApiConfigName: z.ZodOptional; listApiConfigMeta: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }, { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }>, "many">>; pinnedApiConfigs: z.ZodOptional>; lastShownAnnouncementId: z.ZodOptional; customInstructions: z.ZodOptional; taskHistory: z.ZodOptional; cacheReads: z.ZodOptional; totalCost: z.ZodNumber; size: z.ZodOptional; workspace: z.ZodOptional; mode: z.ZodOptional; isFavorited: z.ZodOptional; fileNotfound: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }, { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }>, "many">>; condensingApiConfigId: z.ZodOptional; customCondensingPrompt: z.ZodOptional; autoApprovalEnabled: z.ZodOptional; alwaysAllowReadOnly: z.ZodOptional; alwaysAllowReadOnlyOutsideWorkspace: z.ZodOptional; alwaysAllowWrite: z.ZodOptional; alwaysAllowWriteOutsideWorkspace: z.ZodOptional; alwaysAllowWriteProtected: z.ZodOptional; writeDelayMs: z.ZodOptional; alwaysAllowBrowser: z.ZodOptional; alwaysApproveResubmit: z.ZodOptional; requestDelaySeconds: z.ZodOptional; alwaysAllowMcp: z.ZodOptional; alwaysAllowModeSwitch: z.ZodOptional; alwaysAllowSubtasks: z.ZodOptional; alwaysAllowExecute: z.ZodOptional; alwaysAllowFollowupQuestions: z.ZodOptional; followupAutoApproveTimeoutMs: z.ZodOptional; alwaysAllowUpdateTodoList: z.ZodOptional; allowedCommands: z.ZodOptional>; deniedCommands: z.ZodOptional>; commandExecutionTimeout: z.ZodOptional; commandTimeoutAllowlist: z.ZodOptional>; preventCompletionWithOpenTodos: z.ZodOptional; allowedMaxRequests: z.ZodOptional>; autoCondenseContext: z.ZodOptional; autoCondenseContextPercent: z.ZodOptional; maxConcurrentFileReads: z.ZodOptional; /** * Whether to include diagnostic messages (errors, warnings) in tool outputs * @default true */ includeDiagnosticMessages: z.ZodOptional; /** * Maximum number of diagnostic messages to include in tool outputs * @default 50 */ maxDiagnosticMessages: z.ZodOptional; browserToolEnabled: z.ZodOptional; browserViewportSize: z.ZodOptional; screenshotQuality: z.ZodOptional; remoteBrowserEnabled: z.ZodOptional; remoteBrowserHost: z.ZodOptional; cachedChromeHostUrl: z.ZodOptional; enableCheckpoints: z.ZodOptional; ttsEnabled: z.ZodOptional; ttsSpeed: z.ZodOptional; soundEnabled: z.ZodOptional; soundVolume: z.ZodOptional; maxOpenTabsContext: z.ZodOptional; maxWorkspaceFiles: z.ZodOptional; showRooIgnoredFiles: z.ZodOptional; maxReadFileLine: z.ZodOptional; maxImageFileSize: z.ZodOptional; maxTotalImageSize: z.ZodOptional; terminalOutputLineLimit: z.ZodOptional; terminalOutputCharacterLimit: z.ZodOptional; terminalShellIntegrationTimeout: z.ZodOptional; terminalShellIntegrationDisabled: z.ZodOptional; terminalCommandDelay: z.ZodOptional; terminalPowershellCounter: z.ZodOptional; terminalZshClearEolMark: z.ZodOptional; terminalZshOhMy: z.ZodOptional; terminalZshP10k: z.ZodOptional; terminalZdotdir: z.ZodOptional; terminalCompressProgressBar: z.ZodOptional; diagnosticsEnabled: z.ZodOptional; rateLimitSeconds: z.ZodOptional; diffEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; experiments: z.ZodOptional; multiFileApplyDiff: z.ZodOptional; preventFocusDisruption: z.ZodOptional; autocomplete: z.ZodOptional; }, "strip", z.ZodTypeAny, { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; }, { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; }>>; codebaseIndexModels: z.ZodOptional>>; ollama: z.ZodOptional>>; "openai-compatible": z.ZodOptional>>; gemini: z.ZodOptional>>; mistral: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; }, { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; }>>; codebaseIndexConfig: z.ZodOptional; codebaseIndexQdrantUrl: z.ZodOptional; codebaseIndexEmbedderProvider: z.ZodOptional>; codebaseIndexEmbedderBaseUrl: z.ZodOptional; codebaseIndexEmbedderModelId: z.ZodOptional; codebaseIndexEmbedderModelDimension: z.ZodOptional; codebaseIndexSearchMinScore: z.ZodOptional; codebaseIndexSearchMaxResults: z.ZodOptional; codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional; codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional; }, "strip", z.ZodTypeAny, { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; }, { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; }>>; language: z.ZodOptional>; telemetrySetting: z.ZodOptional>; mcpEnabled: z.ZodOptional; enableMcpServerCreation: z.ZodOptional; mode: z.ZodOptional; modeApiConfigs: z.ZodOptional>; customModes: z.ZodOptional; roleDefinition: z.ZodString; whenToUse: z.ZodOptional; description: z.ZodOptional; customInstructions: z.ZodOptional; groups: z.ZodEffects, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{ fileRegex: z.ZodEffects, string | undefined, string | undefined>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; fileRegex?: string | undefined; }, { description?: string | undefined; fileRegex?: string | undefined; }>], null>]>, "many">, ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[], ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]>; source: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }, { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }>, "many">>; customModePrompts: z.ZodOptional; whenToUse: z.ZodOptional; description: z.ZodOptional; customInstructions: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; roleDefinition?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; }, { description?: string | undefined; roleDefinition?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; }>>>>; customSupportPrompts: z.ZodOptional>>; enhancementApiConfigId: z.ZodOptional; historyPreviewCollapsed: z.ZodOptional; profileThresholds: z.ZodOptional>; hasOpenedModeSelector: z.ZodOptional; lastModeExportPath: z.ZodOptional; lastModeImportPath: z.ZodOptional; }, "strip", z.ZodTypeAny, { diffEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; rateLimitSeconds?: number | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }, { diffEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; rateLimitSeconds?: number | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }>; type GlobalSettings = z.infer; declare const GLOBAL_SETTINGS_KEYS: ["diffEnabled", "fuzzyMatchThreshold", "rateLimitSeconds", "mode", "language", "customInstructions", "customModes", "currentApiConfigName", "listApiConfigMeta", "pinnedApiConfigs", "lastShownAnnouncementId", "taskHistory", "condensingApiConfigId", "customCondensingPrompt", "autoApprovalEnabled", "alwaysAllowReadOnly", "alwaysAllowReadOnlyOutsideWorkspace", "alwaysAllowWrite", "alwaysAllowWriteOutsideWorkspace", "alwaysAllowWriteProtected", "writeDelayMs", "alwaysAllowBrowser", "alwaysApproveResubmit", "requestDelaySeconds", "alwaysAllowMcp", "alwaysAllowModeSwitch", "alwaysAllowSubtasks", "alwaysAllowExecute", "alwaysAllowFollowupQuestions", "followupAutoApproveTimeoutMs", "alwaysAllowUpdateTodoList", "allowedCommands", "deniedCommands", "commandExecutionTimeout", "commandTimeoutAllowlist", "preventCompletionWithOpenTodos", "allowedMaxRequests", "autoCondenseContext", "autoCondenseContextPercent", "maxConcurrentFileReads", "includeDiagnosticMessages", "maxDiagnosticMessages", "browserToolEnabled", "browserViewportSize", "screenshotQuality", "remoteBrowserEnabled", "remoteBrowserHost", "cachedChromeHostUrl", "enableCheckpoints", "ttsEnabled", "ttsSpeed", "soundEnabled", "soundVolume", "maxOpenTabsContext", "maxWorkspaceFiles", "showRooIgnoredFiles", "maxReadFileLine", "maxImageFileSize", "maxTotalImageSize", "terminalOutputLineLimit", "terminalOutputCharacterLimit", "terminalShellIntegrationTimeout", "terminalShellIntegrationDisabled", "terminalCommandDelay", "terminalPowershellCounter", "terminalZshClearEolMark", "terminalZshOhMy", "terminalZshP10k", "terminalZdotdir", "terminalCompressProgressBar", "diagnosticsEnabled", "experiments", "codebaseIndexModels", "codebaseIndexConfig", "telemetrySetting", "mcpEnabled", "enableMcpServerCreation", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "historyPreviewCollapsed", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath"]; /** * RooCodeSettings */ declare const rooCodeSettingsSchema: z.ZodObject<{ codeIndexOpenAiKey: z.ZodOptional; codeIndexQdrantApiKey: z.ZodOptional; codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional; codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional; codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional; codebaseIndexGeminiApiKey: z.ZodOptional; codebaseIndexMistralApiKey: z.ZodOptional; includeMaxTokens: z.ZodOptional; todoListEnabled: z.ZodOptional; modelTemperature: z.ZodOptional>; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; apiModelId: z.ZodOptional; cerebrasApiKey: z.ZodOptional; cerebrasModelId: z.ZodOptional; fireworksApiKey: z.ZodOptional; kilocodeToken: z.ZodOptional; kilocodeModel: z.ZodOptional; litellmBaseUrl: z.ZodOptional; litellmApiKey: z.ZodOptional; litellmModelId: z.ZodOptional; litellmUsePromptCache: z.ZodOptional; chutesApiKey: z.ZodOptional; huggingFaceApiKey: z.ZodOptional; huggingFaceModelId: z.ZodOptional; huggingFaceInferenceProvider: z.ZodOptional; groqApiKey: z.ZodOptional; xaiApiKey: z.ZodOptional; fakeAi: z.ZodOptional; requestyApiKey: z.ZodOptional; requestyModelId: z.ZodOptional; unboundApiKey: z.ZodOptional; unboundModelId: z.ZodOptional; moonshotBaseUrl: z.ZodOptional, z.ZodLiteral<"https://api.moonshot.cn/v1">]>>; moonshotApiKey: z.ZodOptional; deepSeekBaseUrl: z.ZodOptional; deepSeekApiKey: z.ZodOptional; mistralApiKey: z.ZodOptional; mistralCodestralUrl: z.ZodOptional; openAiNativeApiKey: z.ZodOptional; openAiNativeBaseUrl: z.ZodOptional; geminiCliOAuthPath: z.ZodOptional; geminiCliProjectId: z.ZodOptional; geminiApiKey: z.ZodOptional; googleGeminiBaseUrl: z.ZodOptional; enableUrlContext: z.ZodOptional; enableGrounding: z.ZodOptional; lmStudioModelId: z.ZodOptional; lmStudioBaseUrl: z.ZodOptional; lmStudioDraftModelId: z.ZodOptional; lmStudioSpeculativeDecodingEnabled: z.ZodOptional; vsCodeLmModelSelector: z.ZodOptional; family: z.ZodOptional; version: z.ZodOptional; id: z.ZodOptional; }, "strip", z.ZodTypeAny, { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; }, { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; }>>; ollamaModelId: z.ZodOptional; ollamaBaseUrl: z.ZodOptional; openAiBaseUrl: z.ZodOptional; openAiApiKey: z.ZodOptional; openAiLegacyFormat: z.ZodOptional; openAiR1FormatEnabled: z.ZodOptional; openAiModelId: z.ZodOptional; openAiCustomModelInfo: z.ZodOptional>; maxThinkingTokens: z.ZodOptional>; contextWindow: z.ZodNumber; supportsImages: z.ZodOptional; supportsComputerUse: z.ZodOptional; supportsPromptCache: z.ZodBoolean; supportsReasoningBudget: z.ZodOptional; requiredReasoningBudget: z.ZodOptional; supportsReasoningEffort: z.ZodOptional; supportedParameters: z.ZodOptional, "many">>; inputPrice: z.ZodOptional; outputPrice: z.ZodOptional; cacheWritesPrice: z.ZodOptional; cacheReadsPrice: z.ZodOptional; description: z.ZodOptional; reasoningEffort: z.ZodOptional>; minTokensPerCachePoint: z.ZodOptional; maxCachePoints: z.ZodOptional; cachableFields: z.ZodOptional>; preferredIndex: z.ZodOptional; tiers: z.ZodOptional; outputPrice: z.ZodOptional; cacheWritesPrice: z.ZodOptional; cacheReadsPrice: z.ZodOptional; }, "strip", z.ZodTypeAny, { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }, { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; }, { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; }>>>; openAiUseAzure: z.ZodOptional; azureApiVersion: z.ZodOptional; openAiStreamingEnabled: z.ZodOptional; openAiHostHeader: z.ZodOptional; openAiHeaders: z.ZodOptional>; vertexKeyFile: z.ZodOptional; vertexJsonCredentials: z.ZodOptional; vertexProjectId: z.ZodOptional; vertexRegion: z.ZodOptional; awsAccessKey: z.ZodOptional; awsSecretKey: z.ZodOptional; awsSessionToken: z.ZodOptional; awsRegion: z.ZodOptional; awsUseCrossRegionInference: z.ZodOptional; awsUsePromptCache: z.ZodOptional; awsProfile: z.ZodOptional; awsUseProfile: z.ZodOptional; awsApiKey: z.ZodOptional; awsUseApiKey: z.ZodOptional; awsCustomArn: z.ZodOptional; awsModelContextWindow: z.ZodOptional; awsBedrockEndpointEnabled: z.ZodOptional; awsBedrockEndpoint: z.ZodOptional; openRouterApiKey: z.ZodOptional; openRouterModelId: z.ZodOptional; openRouterBaseUrl: z.ZodOptional; openRouterSpecificProvider: z.ZodOptional; openRouterUseMiddleOutTransform: z.ZodOptional; glamaModelId: z.ZodOptional; glamaApiKey: z.ZodOptional; claudeCodePath: z.ZodOptional; claudeCodeMaxOutputTokens: z.ZodOptional; apiKey: z.ZodOptional; anthropicBaseUrl: z.ZodOptional; anthropicUseAuthToken: z.ZodOptional; apiProvider: z.ZodOptional>; } & { currentApiConfigName: z.ZodOptional; listApiConfigMeta: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }, { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }>, "many">>; pinnedApiConfigs: z.ZodOptional>; lastShownAnnouncementId: z.ZodOptional; customInstructions: z.ZodOptional; taskHistory: z.ZodOptional; cacheReads: z.ZodOptional; totalCost: z.ZodNumber; size: z.ZodOptional; workspace: z.ZodOptional; mode: z.ZodOptional; isFavorited: z.ZodOptional; fileNotfound: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }, { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }>, "many">>; condensingApiConfigId: z.ZodOptional; customCondensingPrompt: z.ZodOptional; autoApprovalEnabled: z.ZodOptional; alwaysAllowReadOnly: z.ZodOptional; alwaysAllowReadOnlyOutsideWorkspace: z.ZodOptional; alwaysAllowWrite: z.ZodOptional; alwaysAllowWriteOutsideWorkspace: z.ZodOptional; alwaysAllowWriteProtected: z.ZodOptional; writeDelayMs: z.ZodOptional; alwaysAllowBrowser: z.ZodOptional; alwaysApproveResubmit: z.ZodOptional; requestDelaySeconds: z.ZodOptional; alwaysAllowMcp: z.ZodOptional; alwaysAllowModeSwitch: z.ZodOptional; alwaysAllowSubtasks: z.ZodOptional; alwaysAllowExecute: z.ZodOptional; alwaysAllowFollowupQuestions: z.ZodOptional; followupAutoApproveTimeoutMs: z.ZodOptional; alwaysAllowUpdateTodoList: z.ZodOptional; allowedCommands: z.ZodOptional>; deniedCommands: z.ZodOptional>; commandExecutionTimeout: z.ZodOptional; commandTimeoutAllowlist: z.ZodOptional>; preventCompletionWithOpenTodos: z.ZodOptional; allowedMaxRequests: z.ZodOptional>; autoCondenseContext: z.ZodOptional; autoCondenseContextPercent: z.ZodOptional; maxConcurrentFileReads: z.ZodOptional; includeDiagnosticMessages: z.ZodOptional; maxDiagnosticMessages: z.ZodOptional; browserToolEnabled: z.ZodOptional; browserViewportSize: z.ZodOptional; screenshotQuality: z.ZodOptional; remoteBrowserEnabled: z.ZodOptional; remoteBrowserHost: z.ZodOptional; cachedChromeHostUrl: z.ZodOptional; enableCheckpoints: z.ZodOptional; ttsEnabled: z.ZodOptional; ttsSpeed: z.ZodOptional; soundEnabled: z.ZodOptional; soundVolume: z.ZodOptional; maxOpenTabsContext: z.ZodOptional; maxWorkspaceFiles: z.ZodOptional; showRooIgnoredFiles: z.ZodOptional; maxReadFileLine: z.ZodOptional; maxImageFileSize: z.ZodOptional; maxTotalImageSize: z.ZodOptional; terminalOutputLineLimit: z.ZodOptional; terminalOutputCharacterLimit: z.ZodOptional; terminalShellIntegrationTimeout: z.ZodOptional; terminalShellIntegrationDisabled: z.ZodOptional; terminalCommandDelay: z.ZodOptional; terminalPowershellCounter: z.ZodOptional; terminalZshClearEolMark: z.ZodOptional; terminalZshOhMy: z.ZodOptional; terminalZshP10k: z.ZodOptional; terminalZdotdir: z.ZodOptional; terminalCompressProgressBar: z.ZodOptional; diagnosticsEnabled: z.ZodOptional; rateLimitSeconds: z.ZodOptional; diffEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; experiments: z.ZodOptional; multiFileApplyDiff: z.ZodOptional; preventFocusDisruption: z.ZodOptional; autocomplete: z.ZodOptional; }, "strip", z.ZodTypeAny, { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; }, { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; }>>; codebaseIndexModels: z.ZodOptional>>; ollama: z.ZodOptional>>; "openai-compatible": z.ZodOptional>>; gemini: z.ZodOptional>>; mistral: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; }, { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; }>>; codebaseIndexConfig: z.ZodOptional; codebaseIndexQdrantUrl: z.ZodOptional; codebaseIndexEmbedderProvider: z.ZodOptional>; codebaseIndexEmbedderBaseUrl: z.ZodOptional; codebaseIndexEmbedderModelId: z.ZodOptional; codebaseIndexEmbedderModelDimension: z.ZodOptional; codebaseIndexSearchMinScore: z.ZodOptional; codebaseIndexSearchMaxResults: z.ZodOptional; codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional; codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional; }, "strip", z.ZodTypeAny, { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; }, { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; }>>; language: z.ZodOptional>; telemetrySetting: z.ZodOptional>; mcpEnabled: z.ZodOptional; enableMcpServerCreation: z.ZodOptional; mode: z.ZodOptional; modeApiConfigs: z.ZodOptional>; customModes: z.ZodOptional; roleDefinition: z.ZodString; whenToUse: z.ZodOptional; description: z.ZodOptional; customInstructions: z.ZodOptional; groups: z.ZodEffects, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{ fileRegex: z.ZodEffects, string | undefined, string | undefined>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; fileRegex?: string | undefined; }, { description?: string | undefined; fileRegex?: string | undefined; }>], null>]>, "many">, ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[], ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]>; source: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }, { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }>, "many">>; customModePrompts: z.ZodOptional; whenToUse: z.ZodOptional; description: z.ZodOptional; customInstructions: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; roleDefinition?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; }, { description?: string | undefined; roleDefinition?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; }>>>>; customSupportPrompts: z.ZodOptional>>; enhancementApiConfigId: z.ZodOptional; historyPreviewCollapsed: z.ZodOptional; profileThresholds: z.ZodOptional>; hasOpenedModeSelector: z.ZodOptional; lastModeExportPath: z.ZodOptional; lastModeImportPath: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }, { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }>; type RooCodeSettings = GlobalSettings & ProviderSettings; /** * SecretState */ declare const SECRET_STATE_KEYS: readonly ["apiKey", "glamaApiKey", "openRouterApiKey", "awsAccessKey", "awsApiKey", "awsSecretKey", "awsSessionToken", "openAiApiKey", "geminiApiKey", "openAiNativeApiKey", "deepSeekApiKey", "moonshotApiKey", "mistralApiKey", "unboundApiKey", "requestyApiKey", "xaiApiKey", "groqApiKey", "chutesApiKey", "litellmApiKey", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "huggingFaceApiKey"]; type SecretState = Pick; declare const isSecretStateKey: (key: string) => key is Keys; /** * GlobalState */ type GlobalState = Omit>; declare const GLOBAL_STATE_KEYS: Keys[]; declare const isGlobalStateKey: (key: string) => key is Keys; /** * Evals */ declare const EVALS_SETTINGS: RooCodeSettings; declare const EVALS_TIMEOUT: number; /** * ClineAsk */ /** * Array of possible ask types that the LLM can use to request user interaction or approval. * These represent different scenarios where the assistant needs user input to proceed. * * @constant * @readonly * * Ask type descriptions: * - `followup`: LLM asks a clarifying question to gather more information needed to complete the task * - `command`: Permission to execute a terminal/shell command * - `command_output`: Permission to read the output from a previously executed command * - `completion_result`: Task has been completed, awaiting user feedback or a new task * - `tool`: Permission to use a tool for file operations (read, write, search, etc.) * - `api_req_failed`: API request failed, asking user whether to retry * - `resume_task`: Confirmation needed to resume a previously paused task * - `resume_completed_task`: Confirmation needed to resume a task that was already marked as completed * - `mistake_limit_reached`: Too many errors encountered, needs user guidance on how to proceed * - `browser_action_launch`: Permission to open or interact with a browser * - `use_mcp_server`: Permission to use Model Context Protocol (MCP) server functionality * - `auto_approval_max_req_reached`: Auto-approval limit has been reached, manual approval required */ declare const clineAsks: readonly ["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached", "payment_required_prompt", "condense", "report_bug"]; declare const clineAskSchema: z.ZodEnum<["followup", "command", "command_output", "completion_result", "tool", "api_req_failed", "resume_task", "resume_completed_task", "mistake_limit_reached", "browser_action_launch", "use_mcp_server", "auto_approval_max_req_reached", "payment_required_prompt", "condense", "report_bug"]>; type ClineAsk = z.infer; /** * ClineSay */ /** * Array of possible say types that represent different kinds of messages the assistant can send. * These are used to categorize and handle various types of communication from the LLM to the user. * * @constant * @readonly * * Say type descriptions: * - `error`: General error message * - `api_req_started`: Indicates an API request has been initiated * - `api_req_finished`: Indicates an API request has completed successfully * - `api_req_retried`: Indicates an API request is being retried after a failure * - `api_req_retry_delayed`: Indicates an API request retry has been delayed * - `api_req_deleted`: Indicates an API request has been deleted/cancelled * - `text`: General text message or assistant response * - `reasoning`: Assistant's reasoning or thought process (often hidden from user) * - `completion_result`: Final result of task completion * - `user_feedback`: Message containing user feedback * - `user_feedback_diff`: Diff-formatted feedback from user showing requested changes * - `command_output`: Output from an executed command * - `shell_integration_warning`: Warning about shell integration issues or limitations * - `browser_action`: Action performed in the browser * - `browser_action_result`: Result of a browser action * - `mcp_server_request_started`: MCP server request has been initiated * - `mcp_server_response`: Response received from MCP server * - `subtask_result`: Result of a completed subtask * - `checkpoint_saved`: Indicates a checkpoint has been saved * - `rooignore_error`: Error related to .rooignore file processing * - `diff_error`: Error occurred while applying a diff/patch * - `condense_context`: Context condensation/summarization has started * - `condense_context_error`: Error occurred during context condensation * - `codebase_search_result`: Results from searching the codebase */ declare const clineSays: readonly ["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos", "condense"]; declare const clineSaySchema: z.ZodEnum<["error", "api_req_started", "api_req_finished", "api_req_retried", "api_req_retry_delayed", "api_req_deleted", "text", "reasoning", "completion_result", "user_feedback", "user_feedback_diff", "command_output", "shell_integration_warning", "browser_action", "browser_action_result", "mcp_server_request_started", "mcp_server_response", "subtask_result", "checkpoint_saved", "rooignore_error", "diff_error", "condense_context", "condense_context_error", "codebase_search_result", "user_edit_todos", "condense"]>; type ClineSay = z.infer; /** * ToolProgressStatus */ declare const toolProgressStatusSchema: z.ZodObject<{ icon: z.ZodOptional; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { text?: string | undefined; icon?: string | undefined; }, { text?: string | undefined; icon?: string | undefined; }>; type ToolProgressStatus = z.infer; /** * ContextCondense */ declare const contextCondenseSchema: z.ZodObject<{ cost: z.ZodNumber; prevContextTokens: z.ZodNumber; newContextTokens: z.ZodNumber; summary: z.ZodString; }, "strip", z.ZodTypeAny, { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; }, { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; }>; type ContextCondense = z.infer; /** * ClineMessage */ declare const clineMessageSchema: z.ZodObject<{ ts: z.ZodNumber; type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>; ask: z.ZodOptional>; say: z.ZodOptional>; text: z.ZodOptional; images: z.ZodOptional>; partial: z.ZodOptional; reasoning: z.ZodOptional; conversationHistoryIndex: z.ZodOptional; checkpoint: z.ZodOptional>; progressStatus: z.ZodOptional; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { text?: string | undefined; icon?: string | undefined; }, { text?: string | undefined; icon?: string | undefined; }>>; contextCondense: z.ZodOptional>; isProtected: z.ZodOptional; apiProtocol: z.ZodOptional, z.ZodLiteral<"anthropic">]>>; }, "strip", z.ZodTypeAny, { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }, { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }>; type ClineMessage = z.infer; /** * TokenUsage */ declare const tokenUsageSchema: z.ZodObject<{ totalTokensIn: z.ZodNumber; totalTokensOut: z.ZodNumber; totalCacheWrites: z.ZodOptional; totalCacheReads: z.ZodOptional; totalCost: z.ZodNumber; contextTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }>; type TokenUsage = z.infer; /** * QueuedMessage */ /** * Represents a message that is queued to be sent when sending is enabled */ interface QueuedMessage { /** Unique identifier for the queued message */ id: string; /** The text content of the message */ text: string; /** Array of image data URLs attached to the message */ images: string[]; } /** * ToolGroup */ declare const toolGroups: readonly ["read", "edit", "browser", "command", "mcp", "modes"]; declare const toolGroupsSchema: z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>; type ToolGroup = z.infer; /** * ToolName */ declare const toolNames: readonly ["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "report_bug", "condense", "new_rule"]; declare const toolNamesSchema: z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "report_bug", "condense", "new_rule"]>; type ToolName = z.infer; /** * ToolUsage */ declare const toolUsageSchema: z.ZodRecord, z.ZodObject<{ attempts: z.ZodNumber; failures: z.ZodNumber; }, "strip", z.ZodTypeAny, { attempts: number; failures: number; }, { attempts: number; failures: number; }>>; type ToolUsage = z.infer; /** * isSubtaskSchema */ declare const isSubtaskSchema: z.ZodObject<{ isSubtask: z.ZodBoolean; }, "strip", z.ZodTypeAny, { isSubtask: boolean; }, { isSubtask: boolean; }>; type IsSubtask = z.infer; /** * RooCodeEvent */ declare enum RooCodeEventName { Message = "message", TaskCreated = "taskCreated", TaskStarted = "taskStarted", TaskModeSwitched = "taskModeSwitched", TaskPaused = "taskPaused", TaskUnpaused = "taskUnpaused", TaskAskResponded = "taskAskResponded", TaskAborted = "taskAborted", TaskSpawned = "taskSpawned", TaskCompleted = "taskCompleted", TaskTokenUsageUpdated = "taskTokenUsageUpdated", TaskToolFailed = "taskToolFailed", EvalPass = "evalPass", EvalFail = "evalFail" } declare const rooCodeEventsSchema: z.ZodObject<{ message: z.ZodTuple<[z.ZodObject<{ taskId: z.ZodString; action: z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"updated">]>; message: z.ZodObject<{ ts: z.ZodNumber; type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>; ask: z.ZodOptional>; say: z.ZodOptional>; text: z.ZodOptional; images: z.ZodOptional>; partial: z.ZodOptional; reasoning: z.ZodOptional; conversationHistoryIndex: z.ZodOptional; checkpoint: z.ZodOptional>; progressStatus: z.ZodOptional; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { text?: string | undefined; icon?: string | undefined; }, { text?: string | undefined; icon?: string | undefined; }>>; contextCondense: z.ZodOptional>; isProtected: z.ZodOptional; apiProtocol: z.ZodOptional, z.ZodLiteral<"anthropic">]>>; }, "strip", z.ZodTypeAny, { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }, { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }>; }, "strip", z.ZodTypeAny, { message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; taskId: string; action: "created" | "updated"; }, { message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; taskId: string; action: "created" | "updated"; }>], null>; taskCreated: z.ZodTuple<[z.ZodString], null>; taskStarted: z.ZodTuple<[z.ZodString], null>; taskModeSwitched: z.ZodTuple<[z.ZodString, z.ZodString], null>; taskPaused: z.ZodTuple<[z.ZodString], null>; taskUnpaused: z.ZodTuple<[z.ZodString], null>; taskAskResponded: z.ZodTuple<[z.ZodString], null>; taskAborted: z.ZodTuple<[z.ZodString], null>; taskSpawned: z.ZodTuple<[z.ZodString, z.ZodString], null>; taskCompleted: z.ZodTuple<[z.ZodString, z.ZodObject<{ totalTokensIn: z.ZodNumber; totalTokensOut: z.ZodNumber; totalCacheWrites: z.ZodOptional; totalCacheReads: z.ZodOptional; totalCost: z.ZodNumber; contextTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }>, z.ZodRecord, z.ZodObject<{ attempts: z.ZodNumber; failures: z.ZodNumber; }, "strip", z.ZodTypeAny, { attempts: number; failures: number; }, { attempts: number; failures: number; }>>, z.ZodObject<{ isSubtask: z.ZodBoolean; }, "strip", z.ZodTypeAny, { isSubtask: boolean; }, { isSubtask: boolean; }>], null>; taskTokenUsageUpdated: z.ZodTuple<[z.ZodString, z.ZodObject<{ totalTokensIn: z.ZodNumber; totalTokensOut: z.ZodNumber; totalCacheWrites: z.ZodOptional; totalCacheReads: z.ZodOptional; totalCost: z.ZodNumber; contextTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }>], null>; taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "report_bug", "condense", "new_rule"]>, z.ZodString], null>; }, "strip", z.ZodTypeAny, { message: [{ message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; taskId: string; action: "created" | "updated"; }]; taskCreated: [string]; taskStarted: [string]; taskModeSwitched: [string, string]; taskPaused: [string]; taskUnpaused: [string]; taskAskResponded: [string]; taskAborted: [string]; taskSpawned: [string, string]; taskCompleted: [string, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }, Partial>, { isSubtask: boolean; }]; taskTokenUsageUpdated: [string, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }]; taskToolFailed: [string, "condense" | "report_bug" | "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "new_rule", string]; }, { message: [{ message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; taskId: string; action: "created" | "updated"; }]; taskCreated: [string]; taskStarted: [string]; taskModeSwitched: [string, string]; taskPaused: [string]; taskUnpaused: [string]; taskAskResponded: [string]; taskAborted: [string]; taskSpawned: [string, string]; taskCompleted: [string, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }, Partial>, { isSubtask: boolean; }]; taskTokenUsageUpdated: [string, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }]; taskToolFailed: [string, "condense" | "report_bug" | "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "new_rule", string]; }>; type RooCodeEvents = z.infer; /** * Ack */ declare const ackSchema: z.ZodObject<{ clientId: z.ZodString; pid: z.ZodNumber; ppid: z.ZodNumber; }, "strip", z.ZodTypeAny, { clientId: string; pid: number; ppid: number; }, { clientId: string; pid: number; ppid: number; }>; type Ack = z.infer; /** * TaskCommand */ declare enum TaskCommandName { StartNewTask = "StartNewTask", CancelTask = "CancelTask", CloseTask = "CloseTask" } declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodObject<{ commandName: z.ZodLiteral; data: z.ZodObject<{ configuration: z.ZodObject<{ codeIndexOpenAiKey: z.ZodOptional; codeIndexQdrantApiKey: z.ZodOptional; codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional; codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional; codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional; codebaseIndexGeminiApiKey: z.ZodOptional; codebaseIndexMistralApiKey: z.ZodOptional; includeMaxTokens: z.ZodOptional; todoListEnabled: z.ZodOptional; modelTemperature: z.ZodOptional>; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; apiModelId: z.ZodOptional; cerebrasApiKey: z.ZodOptional; cerebrasModelId: z.ZodOptional; fireworksApiKey: z.ZodOptional; kilocodeToken: z.ZodOptional; kilocodeModel: z.ZodOptional; litellmBaseUrl: z.ZodOptional; litellmApiKey: z.ZodOptional; litellmModelId: z.ZodOptional; litellmUsePromptCache: z.ZodOptional; chutesApiKey: z.ZodOptional; huggingFaceApiKey: z.ZodOptional; huggingFaceModelId: z.ZodOptional; huggingFaceInferenceProvider: z.ZodOptional; groqApiKey: z.ZodOptional; xaiApiKey: z.ZodOptional; fakeAi: z.ZodOptional; requestyApiKey: z.ZodOptional; requestyModelId: z.ZodOptional; unboundApiKey: z.ZodOptional; unboundModelId: z.ZodOptional; moonshotBaseUrl: z.ZodOptional, z.ZodLiteral<"https://api.moonshot.cn/v1">]>>; moonshotApiKey: z.ZodOptional; deepSeekBaseUrl: z.ZodOptional; deepSeekApiKey: z.ZodOptional; mistralApiKey: z.ZodOptional; mistralCodestralUrl: z.ZodOptional; openAiNativeApiKey: z.ZodOptional; openAiNativeBaseUrl: z.ZodOptional; geminiCliOAuthPath: z.ZodOptional; geminiCliProjectId: z.ZodOptional; geminiApiKey: z.ZodOptional; googleGeminiBaseUrl: z.ZodOptional; enableUrlContext: z.ZodOptional; enableGrounding: z.ZodOptional; lmStudioModelId: z.ZodOptional; lmStudioBaseUrl: z.ZodOptional; lmStudioDraftModelId: z.ZodOptional; lmStudioSpeculativeDecodingEnabled: z.ZodOptional; vsCodeLmModelSelector: z.ZodOptional; family: z.ZodOptional; version: z.ZodOptional; id: z.ZodOptional; }, "strip", z.ZodTypeAny, { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; }, { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; }>>; ollamaModelId: z.ZodOptional; ollamaBaseUrl: z.ZodOptional; openAiBaseUrl: z.ZodOptional; openAiApiKey: z.ZodOptional; openAiLegacyFormat: z.ZodOptional; openAiR1FormatEnabled: z.ZodOptional; openAiModelId: z.ZodOptional; openAiCustomModelInfo: z.ZodOptional>; maxThinkingTokens: z.ZodOptional>; contextWindow: z.ZodNumber; supportsImages: z.ZodOptional; supportsComputerUse: z.ZodOptional; supportsPromptCache: z.ZodBoolean; supportsReasoningBudget: z.ZodOptional; requiredReasoningBudget: z.ZodOptional; supportsReasoningEffort: z.ZodOptional; supportedParameters: z.ZodOptional, "many">>; inputPrice: z.ZodOptional; outputPrice: z.ZodOptional; cacheWritesPrice: z.ZodOptional; cacheReadsPrice: z.ZodOptional; description: z.ZodOptional; reasoningEffort: z.ZodOptional>; minTokensPerCachePoint: z.ZodOptional; maxCachePoints: z.ZodOptional; cachableFields: z.ZodOptional>; preferredIndex: z.ZodOptional; tiers: z.ZodOptional; outputPrice: z.ZodOptional; cacheWritesPrice: z.ZodOptional; cacheReadsPrice: z.ZodOptional; }, "strip", z.ZodTypeAny, { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }, { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; }, { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; }>>>; openAiUseAzure: z.ZodOptional; azureApiVersion: z.ZodOptional; openAiStreamingEnabled: z.ZodOptional; openAiHostHeader: z.ZodOptional; openAiHeaders: z.ZodOptional>; vertexKeyFile: z.ZodOptional; vertexJsonCredentials: z.ZodOptional; vertexProjectId: z.ZodOptional; vertexRegion: z.ZodOptional; awsAccessKey: z.ZodOptional; awsSecretKey: z.ZodOptional; awsSessionToken: z.ZodOptional; awsRegion: z.ZodOptional; awsUseCrossRegionInference: z.ZodOptional; awsUsePromptCache: z.ZodOptional; awsProfile: z.ZodOptional; awsUseProfile: z.ZodOptional; awsApiKey: z.ZodOptional; awsUseApiKey: z.ZodOptional; awsCustomArn: z.ZodOptional; awsModelContextWindow: z.ZodOptional; awsBedrockEndpointEnabled: z.ZodOptional; awsBedrockEndpoint: z.ZodOptional; openRouterApiKey: z.ZodOptional; openRouterModelId: z.ZodOptional; openRouterBaseUrl: z.ZodOptional; openRouterSpecificProvider: z.ZodOptional; openRouterUseMiddleOutTransform: z.ZodOptional; glamaModelId: z.ZodOptional; glamaApiKey: z.ZodOptional; claudeCodePath: z.ZodOptional; claudeCodeMaxOutputTokens: z.ZodOptional; apiKey: z.ZodOptional; anthropicBaseUrl: z.ZodOptional; anthropicUseAuthToken: z.ZodOptional; apiProvider: z.ZodOptional>; } & { currentApiConfigName: z.ZodOptional; listApiConfigMeta: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }, { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }>, "many">>; pinnedApiConfigs: z.ZodOptional>; lastShownAnnouncementId: z.ZodOptional; customInstructions: z.ZodOptional; taskHistory: z.ZodOptional; cacheReads: z.ZodOptional; totalCost: z.ZodNumber; size: z.ZodOptional; workspace: z.ZodOptional; mode: z.ZodOptional; isFavorited: z.ZodOptional; fileNotfound: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }, { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }>, "many">>; condensingApiConfigId: z.ZodOptional; customCondensingPrompt: z.ZodOptional; autoApprovalEnabled: z.ZodOptional; alwaysAllowReadOnly: z.ZodOptional; alwaysAllowReadOnlyOutsideWorkspace: z.ZodOptional; alwaysAllowWrite: z.ZodOptional; alwaysAllowWriteOutsideWorkspace: z.ZodOptional; alwaysAllowWriteProtected: z.ZodOptional; writeDelayMs: z.ZodOptional; alwaysAllowBrowser: z.ZodOptional; alwaysApproveResubmit: z.ZodOptional; requestDelaySeconds: z.ZodOptional; alwaysAllowMcp: z.ZodOptional; alwaysAllowModeSwitch: z.ZodOptional; alwaysAllowSubtasks: z.ZodOptional; alwaysAllowExecute: z.ZodOptional; alwaysAllowFollowupQuestions: z.ZodOptional; followupAutoApproveTimeoutMs: z.ZodOptional; alwaysAllowUpdateTodoList: z.ZodOptional; allowedCommands: z.ZodOptional>; deniedCommands: z.ZodOptional>; commandExecutionTimeout: z.ZodOptional; commandTimeoutAllowlist: z.ZodOptional>; preventCompletionWithOpenTodos: z.ZodOptional; allowedMaxRequests: z.ZodOptional>; autoCondenseContext: z.ZodOptional; autoCondenseContextPercent: z.ZodOptional; maxConcurrentFileReads: z.ZodOptional; includeDiagnosticMessages: z.ZodOptional; maxDiagnosticMessages: z.ZodOptional; browserToolEnabled: z.ZodOptional; browserViewportSize: z.ZodOptional; screenshotQuality: z.ZodOptional; remoteBrowserEnabled: z.ZodOptional; remoteBrowserHost: z.ZodOptional; cachedChromeHostUrl: z.ZodOptional; enableCheckpoints: z.ZodOptional; ttsEnabled: z.ZodOptional; ttsSpeed: z.ZodOptional; soundEnabled: z.ZodOptional; soundVolume: z.ZodOptional; maxOpenTabsContext: z.ZodOptional; maxWorkspaceFiles: z.ZodOptional; showRooIgnoredFiles: z.ZodOptional; maxReadFileLine: z.ZodOptional; maxImageFileSize: z.ZodOptional; maxTotalImageSize: z.ZodOptional; terminalOutputLineLimit: z.ZodOptional; terminalOutputCharacterLimit: z.ZodOptional; terminalShellIntegrationTimeout: z.ZodOptional; terminalShellIntegrationDisabled: z.ZodOptional; terminalCommandDelay: z.ZodOptional; terminalPowershellCounter: z.ZodOptional; terminalZshClearEolMark: z.ZodOptional; terminalZshOhMy: z.ZodOptional; terminalZshP10k: z.ZodOptional; terminalZdotdir: z.ZodOptional; terminalCompressProgressBar: z.ZodOptional; diagnosticsEnabled: z.ZodOptional; rateLimitSeconds: z.ZodOptional; diffEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; experiments: z.ZodOptional; multiFileApplyDiff: z.ZodOptional; preventFocusDisruption: z.ZodOptional; autocomplete: z.ZodOptional; }, "strip", z.ZodTypeAny, { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; }, { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; }>>; codebaseIndexModels: z.ZodOptional>>; ollama: z.ZodOptional>>; "openai-compatible": z.ZodOptional>>; gemini: z.ZodOptional>>; mistral: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; }, { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; }>>; codebaseIndexConfig: z.ZodOptional; codebaseIndexQdrantUrl: z.ZodOptional; codebaseIndexEmbedderProvider: z.ZodOptional>; codebaseIndexEmbedderBaseUrl: z.ZodOptional; codebaseIndexEmbedderModelId: z.ZodOptional; codebaseIndexEmbedderModelDimension: z.ZodOptional; codebaseIndexSearchMinScore: z.ZodOptional; codebaseIndexSearchMaxResults: z.ZodOptional; codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional; codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional; }, "strip", z.ZodTypeAny, { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; }, { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; }>>; language: z.ZodOptional>; telemetrySetting: z.ZodOptional>; mcpEnabled: z.ZodOptional; enableMcpServerCreation: z.ZodOptional; mode: z.ZodOptional; modeApiConfigs: z.ZodOptional>; customModes: z.ZodOptional; roleDefinition: z.ZodString; whenToUse: z.ZodOptional; description: z.ZodOptional; customInstructions: z.ZodOptional; groups: z.ZodEffects, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{ fileRegex: z.ZodEffects, string | undefined, string | undefined>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; fileRegex?: string | undefined; }, { description?: string | undefined; fileRegex?: string | undefined; }>], null>]>, "many">, ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[], ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]>; source: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }, { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }>, "many">>; customModePrompts: z.ZodOptional; whenToUse: z.ZodOptional; description: z.ZodOptional; customInstructions: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; roleDefinition?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; }, { description?: string | undefined; roleDefinition?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; }>>>>; customSupportPrompts: z.ZodOptional>>; enhancementApiConfigId: z.ZodOptional; historyPreviewCollapsed: z.ZodOptional; profileThresholds: z.ZodOptional>; hasOpenedModeSelector: z.ZodOptional; lastModeExportPath: z.ZodOptional; lastModeImportPath: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }, { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }>; text: z.ZodString; images: z.ZodOptional>; newTab: z.ZodOptional; }, "strip", z.ZodTypeAny, { text: string; configuration: { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }; images?: string[] | undefined; newTab?: boolean | undefined; }, { text: string; configuration: { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }; images?: string[] | undefined; newTab?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { commandName: TaskCommandName.StartNewTask; data: { text: string; configuration: { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }; images?: string[] | undefined; newTab?: boolean | undefined; }; }, { commandName: TaskCommandName.StartNewTask; data: { text: string; configuration: { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }; images?: string[] | undefined; newTab?: boolean | undefined; }; }>, z.ZodObject<{ commandName: z.ZodLiteral; data: z.ZodString; }, "strip", z.ZodTypeAny, { commandName: TaskCommandName.CancelTask; data: string; }, { commandName: TaskCommandName.CancelTask; data: string; }>, z.ZodObject<{ commandName: z.ZodLiteral; data: z.ZodString; }, "strip", z.ZodTypeAny, { commandName: TaskCommandName.CloseTask; data: string; }, { commandName: TaskCommandName.CloseTask; data: string; }>]>; type TaskCommand = z.infer; /** * TaskEvent */ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodObject<{ taskId: z.ZodString; action: z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"updated">]>; message: z.ZodObject<{ ts: z.ZodNumber; type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>; ask: z.ZodOptional>; say: z.ZodOptional>; text: z.ZodOptional; images: z.ZodOptional>; partial: z.ZodOptional; reasoning: z.ZodOptional; conversationHistoryIndex: z.ZodOptional; checkpoint: z.ZodOptional>; progressStatus: z.ZodOptional; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { text?: string | undefined; icon?: string | undefined; }, { text?: string | undefined; icon?: string | undefined; }>>; contextCondense: z.ZodOptional>; isProtected: z.ZodOptional; apiProtocol: z.ZodOptional, z.ZodLiteral<"anthropic">]>>; }, "strip", z.ZodTypeAny, { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }, { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }>; }, "strip", z.ZodTypeAny, { message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; taskId: string; action: "created" | "updated"; }, { message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; taskId: string; action: "created" | "updated"; }>], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.Message; payload: [{ message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; taskId: string; action: "created" | "updated"; }]; taskId?: number | undefined; }, { eventName: RooCodeEventName.Message; payload: [{ message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; taskId: string; action: "created" | "updated"; }]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskCreated; payload: [string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskCreated; payload: [string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskStarted; payload: [string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskStarted; payload: [string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString, z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskModeSwitched; payload: [string, string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskModeSwitched; payload: [string, string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskPaused; payload: [string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskPaused; payload: [string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskUnpaused; payload: [string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskUnpaused; payload: [string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskAskResponded; payload: [string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskAskResponded; payload: [string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskAborted; payload: [string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskAborted; payload: [string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString, z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskSpawned; payload: [string, string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskSpawned; payload: [string, string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString, z.ZodObject<{ totalTokensIn: z.ZodNumber; totalTokensOut: z.ZodNumber; totalCacheWrites: z.ZodOptional; totalCacheReads: z.ZodOptional; totalCost: z.ZodNumber; contextTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }>, z.ZodRecord, z.ZodObject<{ attempts: z.ZodNumber; failures: z.ZodNumber; }, "strip", z.ZodTypeAny, { attempts: number; failures: number; }, { attempts: number; failures: number; }>>, z.ZodObject<{ isSubtask: z.ZodBoolean; }, "strip", z.ZodTypeAny, { isSubtask: boolean; }, { isSubtask: boolean; }>], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskCompleted; payload: [string, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }, Partial>, { isSubtask: boolean; }]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskCompleted; payload: [string, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }, Partial>, { isSubtask: boolean; }]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString, z.ZodObject<{ totalTokensIn: z.ZodNumber; totalTokensOut: z.ZodNumber; totalCacheWrites: z.ZodOptional; totalCacheReads: z.ZodOptional; totalCost: z.ZodNumber; contextTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }>], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskTokenUsageUpdated; payload: [string, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskTokenUsageUpdated; payload: [string, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "report_bug", "condense", "new_rule"]>, z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskToolFailed; payload: [string, "condense" | "report_bug" | "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "new_rule", string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskToolFailed; payload: [string, "condense" | "report_bug" | "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "new_rule", string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodUndefined; taskId: z.ZodNumber; }, "strip", z.ZodTypeAny, { taskId: number; eventName: RooCodeEventName.EvalPass; payload?: undefined; }, { taskId: number; eventName: RooCodeEventName.EvalPass; payload?: undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodUndefined; taskId: z.ZodNumber; }, "strip", z.ZodTypeAny, { taskId: number; eventName: RooCodeEventName.EvalFail; payload?: undefined; }, { taskId: number; eventName: RooCodeEventName.EvalFail; payload?: undefined; }>]>; type TaskEvent = z.infer; /** * IpcMessage */ declare enum IpcMessageType { Connect = "Connect", Disconnect = "Disconnect", Ack = "Ack", TaskCommand = "TaskCommand", TaskEvent = "TaskEvent" } declare enum IpcOrigin { Client = "client", Server = "server" } declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral; origin: z.ZodLiteral; data: z.ZodObject<{ clientId: z.ZodString; pid: z.ZodNumber; ppid: z.ZodNumber; }, "strip", z.ZodTypeAny, { clientId: string; pid: number; ppid: number; }, { clientId: string; pid: number; ppid: number; }>; }, "strip", z.ZodTypeAny, { type: IpcMessageType.Ack; data: { clientId: string; pid: number; ppid: number; }; origin: IpcOrigin.Server; }, { type: IpcMessageType.Ack; data: { clientId: string; pid: number; ppid: number; }; origin: IpcOrigin.Server; }>, z.ZodObject<{ type: z.ZodLiteral; origin: z.ZodLiteral; clientId: z.ZodString; data: z.ZodDiscriminatedUnion<"commandName", [z.ZodObject<{ commandName: z.ZodLiteral; data: z.ZodObject<{ configuration: z.ZodObject<{ codeIndexOpenAiKey: z.ZodOptional; codeIndexQdrantApiKey: z.ZodOptional; codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional; codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional; codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional; codebaseIndexGeminiApiKey: z.ZodOptional; codebaseIndexMistralApiKey: z.ZodOptional; includeMaxTokens: z.ZodOptional; todoListEnabled: z.ZodOptional; modelTemperature: z.ZodOptional>; consecutiveMistakeLimit: z.ZodOptional; enableReasoningEffort: z.ZodOptional; reasoningEffort: z.ZodOptional>; modelMaxTokens: z.ZodOptional; modelMaxThinkingTokens: z.ZodOptional; apiModelId: z.ZodOptional; cerebrasApiKey: z.ZodOptional; cerebrasModelId: z.ZodOptional; fireworksApiKey: z.ZodOptional; kilocodeToken: z.ZodOptional; kilocodeModel: z.ZodOptional; litellmBaseUrl: z.ZodOptional; litellmApiKey: z.ZodOptional; litellmModelId: z.ZodOptional; litellmUsePromptCache: z.ZodOptional; chutesApiKey: z.ZodOptional; huggingFaceApiKey: z.ZodOptional; huggingFaceModelId: z.ZodOptional; huggingFaceInferenceProvider: z.ZodOptional; groqApiKey: z.ZodOptional; xaiApiKey: z.ZodOptional; fakeAi: z.ZodOptional; requestyApiKey: z.ZodOptional; requestyModelId: z.ZodOptional; unboundApiKey: z.ZodOptional; unboundModelId: z.ZodOptional; moonshotBaseUrl: z.ZodOptional, z.ZodLiteral<"https://api.moonshot.cn/v1">]>>; moonshotApiKey: z.ZodOptional; deepSeekBaseUrl: z.ZodOptional; deepSeekApiKey: z.ZodOptional; mistralApiKey: z.ZodOptional; mistralCodestralUrl: z.ZodOptional; openAiNativeApiKey: z.ZodOptional; openAiNativeBaseUrl: z.ZodOptional; geminiCliOAuthPath: z.ZodOptional; geminiCliProjectId: z.ZodOptional; geminiApiKey: z.ZodOptional; googleGeminiBaseUrl: z.ZodOptional; enableUrlContext: z.ZodOptional; enableGrounding: z.ZodOptional; lmStudioModelId: z.ZodOptional; lmStudioBaseUrl: z.ZodOptional; lmStudioDraftModelId: z.ZodOptional; lmStudioSpeculativeDecodingEnabled: z.ZodOptional; vsCodeLmModelSelector: z.ZodOptional; family: z.ZodOptional; version: z.ZodOptional; id: z.ZodOptional; }, "strip", z.ZodTypeAny, { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; }, { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; }>>; ollamaModelId: z.ZodOptional; ollamaBaseUrl: z.ZodOptional; openAiBaseUrl: z.ZodOptional; openAiApiKey: z.ZodOptional; openAiLegacyFormat: z.ZodOptional; openAiR1FormatEnabled: z.ZodOptional; openAiModelId: z.ZodOptional; openAiCustomModelInfo: z.ZodOptional>; maxThinkingTokens: z.ZodOptional>; contextWindow: z.ZodNumber; supportsImages: z.ZodOptional; supportsComputerUse: z.ZodOptional; supportsPromptCache: z.ZodBoolean; supportsReasoningBudget: z.ZodOptional; requiredReasoningBudget: z.ZodOptional; supportsReasoningEffort: z.ZodOptional; supportedParameters: z.ZodOptional, "many">>; inputPrice: z.ZodOptional; outputPrice: z.ZodOptional; cacheWritesPrice: z.ZodOptional; cacheReadsPrice: z.ZodOptional; description: z.ZodOptional; reasoningEffort: z.ZodOptional>; minTokensPerCachePoint: z.ZodOptional; maxCachePoints: z.ZodOptional; cachableFields: z.ZodOptional>; preferredIndex: z.ZodOptional; tiers: z.ZodOptional; outputPrice: z.ZodOptional; cacheWritesPrice: z.ZodOptional; cacheReadsPrice: z.ZodOptional; }, "strip", z.ZodTypeAny, { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }, { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; }, { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; }>>>; openAiUseAzure: z.ZodOptional; azureApiVersion: z.ZodOptional; openAiStreamingEnabled: z.ZodOptional; openAiHostHeader: z.ZodOptional; openAiHeaders: z.ZodOptional>; vertexKeyFile: z.ZodOptional; vertexJsonCredentials: z.ZodOptional; vertexProjectId: z.ZodOptional; vertexRegion: z.ZodOptional; awsAccessKey: z.ZodOptional; awsSecretKey: z.ZodOptional; awsSessionToken: z.ZodOptional; awsRegion: z.ZodOptional; awsUseCrossRegionInference: z.ZodOptional; awsUsePromptCache: z.ZodOptional; awsProfile: z.ZodOptional; awsUseProfile: z.ZodOptional; awsApiKey: z.ZodOptional; awsUseApiKey: z.ZodOptional; awsCustomArn: z.ZodOptional; awsModelContextWindow: z.ZodOptional; awsBedrockEndpointEnabled: z.ZodOptional; awsBedrockEndpoint: z.ZodOptional; openRouterApiKey: z.ZodOptional; openRouterModelId: z.ZodOptional; openRouterBaseUrl: z.ZodOptional; openRouterSpecificProvider: z.ZodOptional; openRouterUseMiddleOutTransform: z.ZodOptional; glamaModelId: z.ZodOptional; glamaApiKey: z.ZodOptional; claudeCodePath: z.ZodOptional; claudeCodeMaxOutputTokens: z.ZodOptional; apiKey: z.ZodOptional; anthropicBaseUrl: z.ZodOptional; anthropicUseAuthToken: z.ZodOptional; apiProvider: z.ZodOptional>; } & { currentApiConfigName: z.ZodOptional; listApiConfigMeta: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }, { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }>, "many">>; pinnedApiConfigs: z.ZodOptional>; lastShownAnnouncementId: z.ZodOptional; customInstructions: z.ZodOptional; taskHistory: z.ZodOptional; cacheReads: z.ZodOptional; totalCost: z.ZodNumber; size: z.ZodOptional; workspace: z.ZodOptional; mode: z.ZodOptional; isFavorited: z.ZodOptional; fileNotfound: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }, { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }>, "many">>; condensingApiConfigId: z.ZodOptional; customCondensingPrompt: z.ZodOptional; autoApprovalEnabled: z.ZodOptional; alwaysAllowReadOnly: z.ZodOptional; alwaysAllowReadOnlyOutsideWorkspace: z.ZodOptional; alwaysAllowWrite: z.ZodOptional; alwaysAllowWriteOutsideWorkspace: z.ZodOptional; alwaysAllowWriteProtected: z.ZodOptional; writeDelayMs: z.ZodOptional; alwaysAllowBrowser: z.ZodOptional; alwaysApproveResubmit: z.ZodOptional; requestDelaySeconds: z.ZodOptional; alwaysAllowMcp: z.ZodOptional; alwaysAllowModeSwitch: z.ZodOptional; alwaysAllowSubtasks: z.ZodOptional; alwaysAllowExecute: z.ZodOptional; alwaysAllowFollowupQuestions: z.ZodOptional; followupAutoApproveTimeoutMs: z.ZodOptional; alwaysAllowUpdateTodoList: z.ZodOptional; allowedCommands: z.ZodOptional>; deniedCommands: z.ZodOptional>; commandExecutionTimeout: z.ZodOptional; commandTimeoutAllowlist: z.ZodOptional>; preventCompletionWithOpenTodos: z.ZodOptional; allowedMaxRequests: z.ZodOptional>; autoCondenseContext: z.ZodOptional; autoCondenseContextPercent: z.ZodOptional; maxConcurrentFileReads: z.ZodOptional; includeDiagnosticMessages: z.ZodOptional; maxDiagnosticMessages: z.ZodOptional; browserToolEnabled: z.ZodOptional; browserViewportSize: z.ZodOptional; screenshotQuality: z.ZodOptional; remoteBrowserEnabled: z.ZodOptional; remoteBrowserHost: z.ZodOptional; cachedChromeHostUrl: z.ZodOptional; enableCheckpoints: z.ZodOptional; ttsEnabled: z.ZodOptional; ttsSpeed: z.ZodOptional; soundEnabled: z.ZodOptional; soundVolume: z.ZodOptional; maxOpenTabsContext: z.ZodOptional; maxWorkspaceFiles: z.ZodOptional; showRooIgnoredFiles: z.ZodOptional; maxReadFileLine: z.ZodOptional; maxImageFileSize: z.ZodOptional; maxTotalImageSize: z.ZodOptional; terminalOutputLineLimit: z.ZodOptional; terminalOutputCharacterLimit: z.ZodOptional; terminalShellIntegrationTimeout: z.ZodOptional; terminalShellIntegrationDisabled: z.ZodOptional; terminalCommandDelay: z.ZodOptional; terminalPowershellCounter: z.ZodOptional; terminalZshClearEolMark: z.ZodOptional; terminalZshOhMy: z.ZodOptional; terminalZshP10k: z.ZodOptional; terminalZdotdir: z.ZodOptional; terminalCompressProgressBar: z.ZodOptional; diagnosticsEnabled: z.ZodOptional; rateLimitSeconds: z.ZodOptional; diffEnabled: z.ZodOptional; fuzzyMatchThreshold: z.ZodOptional; experiments: z.ZodOptional; multiFileApplyDiff: z.ZodOptional; preventFocusDisruption: z.ZodOptional; autocomplete: z.ZodOptional; }, "strip", z.ZodTypeAny, { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; }, { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; }>>; codebaseIndexModels: z.ZodOptional>>; ollama: z.ZodOptional>>; "openai-compatible": z.ZodOptional>>; gemini: z.ZodOptional>>; mistral: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; }, { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; }>>; codebaseIndexConfig: z.ZodOptional; codebaseIndexQdrantUrl: z.ZodOptional; codebaseIndexEmbedderProvider: z.ZodOptional>; codebaseIndexEmbedderBaseUrl: z.ZodOptional; codebaseIndexEmbedderModelId: z.ZodOptional; codebaseIndexEmbedderModelDimension: z.ZodOptional; codebaseIndexSearchMinScore: z.ZodOptional; codebaseIndexSearchMaxResults: z.ZodOptional; codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional; codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional; }, "strip", z.ZodTypeAny, { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; }, { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; }>>; language: z.ZodOptional>; telemetrySetting: z.ZodOptional>; mcpEnabled: z.ZodOptional; enableMcpServerCreation: z.ZodOptional; mode: z.ZodOptional; modeApiConfigs: z.ZodOptional>; customModes: z.ZodOptional; roleDefinition: z.ZodString; whenToUse: z.ZodOptional; description: z.ZodOptional; customInstructions: z.ZodOptional; groups: z.ZodEffects, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{ fileRegex: z.ZodEffects, string | undefined, string | undefined>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; fileRegex?: string | undefined; }, { description?: string | undefined; fileRegex?: string | undefined; }>], null>]>, "many">, ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[], ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]>; source: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }, { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }>, "many">>; customModePrompts: z.ZodOptional; whenToUse: z.ZodOptional; description: z.ZodOptional; customInstructions: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; roleDefinition?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; }, { description?: string | undefined; roleDefinition?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; }>>>>; customSupportPrompts: z.ZodOptional>>; enhancementApiConfigId: z.ZodOptional; historyPreviewCollapsed: z.ZodOptional; profileThresholds: z.ZodOptional>; hasOpenedModeSelector: z.ZodOptional; lastModeExportPath: z.ZodOptional; lastModeImportPath: z.ZodOptional; }, "strip", z.ZodTypeAny, { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }, { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }>; text: z.ZodString; images: z.ZodOptional>; newTab: z.ZodOptional; }, "strip", z.ZodTypeAny, { text: string; configuration: { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }; images?: string[] | undefined; newTab?: boolean | undefined; }, { text: string; configuration: { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }; images?: string[] | undefined; newTab?: boolean | undefined; }>; }, "strip", z.ZodTypeAny, { commandName: TaskCommandName.StartNewTask; data: { text: string; configuration: { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }; images?: string[] | undefined; newTab?: boolean | undefined; }; }, { commandName: TaskCommandName.StartNewTask; data: { text: string; configuration: { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }; images?: string[] | undefined; newTab?: boolean | undefined; }; }>, z.ZodObject<{ commandName: z.ZodLiteral; data: z.ZodString; }, "strip", z.ZodTypeAny, { commandName: TaskCommandName.CancelTask; data: string; }, { commandName: TaskCommandName.CancelTask; data: string; }>, z.ZodObject<{ commandName: z.ZodLiteral; data: z.ZodString; }, "strip", z.ZodTypeAny, { commandName: TaskCommandName.CloseTask; data: string; }, { commandName: TaskCommandName.CloseTask; data: string; }>]>; }, "strip", z.ZodTypeAny, { type: IpcMessageType.TaskCommand; clientId: string; data: { commandName: TaskCommandName.StartNewTask; data: { text: string; configuration: { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }; images?: string[] | undefined; newTab?: boolean | undefined; }; } | { commandName: TaskCommandName.CancelTask; data: string; } | { commandName: TaskCommandName.CloseTask; data: string; }; origin: IpcOrigin.Client; }, { type: IpcMessageType.TaskCommand; clientId: string; data: { commandName: TaskCommandName.StartNewTask; data: { text: string; configuration: { reasoningEffort?: "low" | "medium" | "high" | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; includeMaxTokens?: boolean | undefined; diffEnabled?: boolean | undefined; todoListEnabled?: boolean | undefined; fuzzyMatchThreshold?: number | undefined; modelTemperature?: number | null | undefined; rateLimitSeconds?: number | undefined; consecutiveMistakeLimit?: number | undefined; enableReasoningEffort?: boolean | undefined; modelMaxTokens?: number | undefined; modelMaxThinkingTokens?: number | undefined; apiModelId?: string | undefined; apiKey?: string | undefined; anthropicBaseUrl?: string | undefined; anthropicUseAuthToken?: boolean | undefined; claudeCodePath?: string | undefined; claudeCodeMaxOutputTokens?: number | undefined; glamaModelId?: string | undefined; glamaApiKey?: string | undefined; openRouterApiKey?: string | undefined; openRouterModelId?: string | undefined; openRouterBaseUrl?: string | undefined; openRouterSpecificProvider?: string | undefined; openRouterUseMiddleOutTransform?: boolean | undefined; awsAccessKey?: string | undefined; awsSecretKey?: string | undefined; awsSessionToken?: string | undefined; awsRegion?: string | undefined; awsUseCrossRegionInference?: boolean | undefined; awsUsePromptCache?: boolean | undefined; awsProfile?: string | undefined; awsUseProfile?: boolean | undefined; awsApiKey?: string | undefined; awsUseApiKey?: boolean | undefined; awsCustomArn?: string | undefined; awsModelContextWindow?: number | undefined; awsBedrockEndpointEnabled?: boolean | undefined; awsBedrockEndpoint?: string | undefined; vertexKeyFile?: string | undefined; vertexJsonCredentials?: string | undefined; vertexProjectId?: string | undefined; vertexRegion?: string | undefined; openAiBaseUrl?: string | undefined; openAiApiKey?: string | undefined; openAiLegacyFormat?: boolean | undefined; openAiR1FormatEnabled?: boolean | undefined; openAiModelId?: string | undefined; openAiCustomModelInfo?: { contextWindow: number; supportsPromptCache: boolean; maxTokens?: number | null | undefined; maxThinkingTokens?: number | null | undefined; supportsImages?: boolean | undefined; supportsComputerUse?: boolean | undefined; supportsReasoningBudget?: boolean | undefined; requiredReasoningBudget?: boolean | undefined; supportsReasoningEffort?: boolean | undefined; supportedParameters?: ("max_tokens" | "temperature" | "reasoning" | "include_reasoning")[] | undefined; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; description?: string | undefined; reasoningEffort?: "low" | "medium" | "high" | undefined; minTokensPerCachePoint?: number | undefined; maxCachePoints?: number | undefined; cachableFields?: string[] | undefined; preferredIndex?: number | undefined; tiers?: { contextWindow: number; inputPrice?: number | undefined; outputPrice?: number | undefined; cacheWritesPrice?: number | undefined; cacheReadsPrice?: number | undefined; }[] | undefined; } | null | undefined; openAiUseAzure?: boolean | undefined; azureApiVersion?: string | undefined; openAiStreamingEnabled?: boolean | undefined; openAiHostHeader?: string | undefined; openAiHeaders?: Record | undefined; ollamaModelId?: string | undefined; ollamaBaseUrl?: string | undefined; vsCodeLmModelSelector?: { family?: string | undefined; version?: string | undefined; id?: string | undefined; vendor?: string | undefined; } | undefined; lmStudioModelId?: string | undefined; lmStudioBaseUrl?: string | undefined; lmStudioDraftModelId?: string | undefined; lmStudioSpeculativeDecodingEnabled?: boolean | undefined; geminiApiKey?: string | undefined; googleGeminiBaseUrl?: string | undefined; enableUrlContext?: boolean | undefined; enableGrounding?: boolean | undefined; geminiCliOAuthPath?: string | undefined; geminiCliProjectId?: string | undefined; openAiNativeApiKey?: string | undefined; openAiNativeBaseUrl?: string | undefined; mistralApiKey?: string | undefined; mistralCodestralUrl?: string | undefined; deepSeekBaseUrl?: string | undefined; deepSeekApiKey?: string | undefined; moonshotBaseUrl?: "https://api.moonshot.ai/v1" | "https://api.moonshot.cn/v1" | undefined; moonshotApiKey?: string | undefined; unboundApiKey?: string | undefined; unboundModelId?: string | undefined; requestyApiKey?: string | undefined; requestyModelId?: string | undefined; fakeAi?: unknown; xaiApiKey?: string | undefined; groqApiKey?: string | undefined; huggingFaceApiKey?: string | undefined; huggingFaceModelId?: string | undefined; huggingFaceInferenceProvider?: string | undefined; chutesApiKey?: string | undefined; litellmBaseUrl?: string | undefined; litellmApiKey?: string | undefined; litellmModelId?: string | undefined; litellmUsePromptCache?: boolean | undefined; kilocodeToken?: string | undefined; kilocodeModel?: string | undefined; fireworksApiKey?: string | undefined; cerebrasApiKey?: string | undefined; cerebrasModelId?: string | undefined; mode?: string | undefined; language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined; customInstructions?: string | undefined; customModes?: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[] | undefined; currentApiConfigName?: string | undefined; listApiConfigMeta?: { name: string; id: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; }[] | undefined; pinnedApiConfigs?: Record | undefined; lastShownAnnouncementId?: string | undefined; taskHistory?: { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }[] | undefined; condensingApiConfigId?: string | undefined; customCondensingPrompt?: string | undefined; autoApprovalEnabled?: boolean | undefined; alwaysAllowReadOnly?: boolean | undefined; alwaysAllowReadOnlyOutsideWorkspace?: boolean | undefined; alwaysAllowWrite?: boolean | undefined; alwaysAllowWriteOutsideWorkspace?: boolean | undefined; alwaysAllowWriteProtected?: boolean | undefined; writeDelayMs?: number | undefined; alwaysAllowBrowser?: boolean | undefined; alwaysApproveResubmit?: boolean | undefined; requestDelaySeconds?: number | undefined; alwaysAllowMcp?: boolean | undefined; alwaysAllowModeSwitch?: boolean | undefined; alwaysAllowSubtasks?: boolean | undefined; alwaysAllowExecute?: boolean | undefined; alwaysAllowFollowupQuestions?: boolean | undefined; followupAutoApproveTimeoutMs?: number | undefined; alwaysAllowUpdateTodoList?: boolean | undefined; allowedCommands?: string[] | undefined; deniedCommands?: string[] | undefined; commandExecutionTimeout?: number | undefined; commandTimeoutAllowlist?: string[] | undefined; preventCompletionWithOpenTodos?: boolean | undefined; allowedMaxRequests?: number | null | undefined; autoCondenseContext?: boolean | undefined; autoCondenseContextPercent?: number | undefined; maxConcurrentFileReads?: number | undefined; includeDiagnosticMessages?: boolean | undefined; maxDiagnosticMessages?: number | undefined; browserToolEnabled?: boolean | undefined; browserViewportSize?: string | undefined; screenshotQuality?: number | undefined; remoteBrowserEnabled?: boolean | undefined; remoteBrowserHost?: string | undefined; cachedChromeHostUrl?: string | undefined; enableCheckpoints?: boolean | undefined; ttsEnabled?: boolean | undefined; ttsSpeed?: number | undefined; soundEnabled?: boolean | undefined; soundVolume?: number | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; maxImageFileSize?: number | undefined; maxTotalImageSize?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalOutputCharacterLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalPowershellCounter?: boolean | undefined; terminalZshClearEolMark?: boolean | undefined; terminalZshOhMy?: boolean | undefined; terminalZshP10k?: boolean | undefined; terminalZdotdir?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; diagnosticsEnabled?: boolean | undefined; experiments?: { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; } | undefined; codebaseIndexModels?: { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; } | undefined; codebaseIndexConfig?: { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; } | undefined; telemetrySetting?: "unset" | "enabled" | "disabled" | undefined; mcpEnabled?: boolean | undefined; enableMcpServerCreation?: boolean | undefined; modeApiConfigs?: Record | undefined; customModePrompts?: Record | undefined; customSupportPrompts?: Record | undefined; enhancementApiConfigId?: string | undefined; historyPreviewCollapsed?: boolean | undefined; profileThresholds?: Record | undefined; hasOpenedModeSelector?: boolean | undefined; lastModeExportPath?: string | undefined; lastModeImportPath?: string | undefined; }; images?: string[] | undefined; newTab?: boolean | undefined; }; } | { commandName: TaskCommandName.CancelTask; data: string; } | { commandName: TaskCommandName.CloseTask; data: string; }; origin: IpcOrigin.Client; }>, z.ZodObject<{ type: z.ZodLiteral; origin: z.ZodLiteral; relayClientId: z.ZodOptional; data: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodObject<{ taskId: z.ZodString; action: z.ZodUnion<[z.ZodLiteral<"created">, z.ZodLiteral<"updated">]>; message: z.ZodObject<{ ts: z.ZodNumber; type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>; ask: z.ZodOptional>; say: z.ZodOptional>; text: z.ZodOptional; images: z.ZodOptional>; partial: z.ZodOptional; reasoning: z.ZodOptional; conversationHistoryIndex: z.ZodOptional; checkpoint: z.ZodOptional>; progressStatus: z.ZodOptional; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { text?: string | undefined; icon?: string | undefined; }, { text?: string | undefined; icon?: string | undefined; }>>; contextCondense: z.ZodOptional>; isProtected: z.ZodOptional; apiProtocol: z.ZodOptional, z.ZodLiteral<"anthropic">]>>; }, "strip", z.ZodTypeAny, { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }, { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }>; }, "strip", z.ZodTypeAny, { message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; taskId: string; action: "created" | "updated"; }, { message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; taskId: string; action: "created" | "updated"; }>], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.Message; payload: [{ message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; taskId: string; action: "created" | "updated"; }]; taskId?: number | undefined; }, { eventName: RooCodeEventName.Message; payload: [{ message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; taskId: string; action: "created" | "updated"; }]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskCreated; payload: [string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskCreated; payload: [string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskStarted; payload: [string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskStarted; payload: [string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString, z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskModeSwitched; payload: [string, string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskModeSwitched; payload: [string, string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskPaused; payload: [string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskPaused; payload: [string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskUnpaused; payload: [string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskUnpaused; payload: [string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskAskResponded; payload: [string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskAskResponded; payload: [string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskAborted; payload: [string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskAborted; payload: [string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString, z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskSpawned; payload: [string, string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskSpawned; payload: [string, string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString, z.ZodObject<{ totalTokensIn: z.ZodNumber; totalTokensOut: z.ZodNumber; totalCacheWrites: z.ZodOptional; totalCacheReads: z.ZodOptional; totalCost: z.ZodNumber; contextTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }>, z.ZodRecord, z.ZodObject<{ attempts: z.ZodNumber; failures: z.ZodNumber; }, "strip", z.ZodTypeAny, { attempts: number; failures: number; }, { attempts: number; failures: number; }>>, z.ZodObject<{ isSubtask: z.ZodBoolean; }, "strip", z.ZodTypeAny, { isSubtask: boolean; }, { isSubtask: boolean; }>], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskCompleted; payload: [string, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }, Partial>, { isSubtask: boolean; }]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskCompleted; payload: [string, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }, Partial>, { isSubtask: boolean; }]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString, z.ZodObject<{ totalTokensIn: z.ZodNumber; totalTokensOut: z.ZodNumber; totalCacheWrites: z.ZodOptional; totalCacheReads: z.ZodOptional; totalCost: z.ZodNumber; contextTokens: z.ZodNumber; }, "strip", z.ZodTypeAny, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }>], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskTokenUsageUpdated; payload: [string, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskTokenUsageUpdated; payload: [string, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "report_bug", "condense", "new_rule"]>, z.ZodString], null>; taskId: z.ZodOptional; }, "strip", z.ZodTypeAny, { eventName: RooCodeEventName.TaskToolFailed; payload: [string, "condense" | "report_bug" | "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "new_rule", string]; taskId?: number | undefined; }, { eventName: RooCodeEventName.TaskToolFailed; payload: [string, "condense" | "report_bug" | "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "new_rule", string]; taskId?: number | undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodUndefined; taskId: z.ZodNumber; }, "strip", z.ZodTypeAny, { taskId: number; eventName: RooCodeEventName.EvalPass; payload?: undefined; }, { taskId: number; eventName: RooCodeEventName.EvalPass; payload?: undefined; }>, z.ZodObject<{ eventName: z.ZodLiteral; payload: z.ZodUndefined; taskId: z.ZodNumber; }, "strip", z.ZodTypeAny, { taskId: number; eventName: RooCodeEventName.EvalFail; payload?: undefined; }, { taskId: number; eventName: RooCodeEventName.EvalFail; payload?: undefined; }>]>; }, "strip", z.ZodTypeAny, { type: IpcMessageType.TaskEvent; data: { eventName: RooCodeEventName.Message; payload: [{ message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; taskId: string; action: "created" | "updated"; }]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskCreated; payload: [string]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskStarted; payload: [string]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskModeSwitched; payload: [string, string]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskPaused; payload: [string]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskUnpaused; payload: [string]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskAskResponded; payload: [string]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskAborted; payload: [string]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskSpawned; payload: [string, string]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskCompleted; payload: [string, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }, Partial>, { isSubtask: boolean; }]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskTokenUsageUpdated; payload: [string, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskToolFailed; payload: [string, "condense" | "report_bug" | "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "new_rule", string]; taskId?: number | undefined; } | { taskId: number; eventName: RooCodeEventName.EvalPass; payload?: undefined; } | { taskId: number; eventName: RooCodeEventName.EvalFail; payload?: undefined; }; origin: IpcOrigin.Server; relayClientId?: string | undefined; }, { type: IpcMessageType.TaskEvent; data: { eventName: RooCodeEventName.Message; payload: [{ message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; taskId: string; action: "created" | "updated"; }]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskCreated; payload: [string]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskStarted; payload: [string]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskModeSwitched; payload: [string, string]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskPaused; payload: [string]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskUnpaused; payload: [string]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskAskResponded; payload: [string]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskAborted; payload: [string]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskSpawned; payload: [string, string]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskCompleted; payload: [string, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }, Partial>, { isSubtask: boolean; }]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskTokenUsageUpdated; payload: [string, { totalCost: number; totalTokensIn: number; totalTokensOut: number; contextTokens: number; totalCacheWrites?: number | undefined; totalCacheReads?: number | undefined; }]; taskId?: number | undefined; } | { eventName: RooCodeEventName.TaskToolFailed; payload: [string, "condense" | "report_bug" | "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "new_rule", string]; taskId?: number | undefined; } | { taskId: number; eventName: RooCodeEventName.EvalPass; payload?: undefined; } | { taskId: number; eventName: RooCodeEventName.EvalFail; payload?: undefined; }; origin: IpcOrigin.Server; relayClientId?: string | undefined; }>]>; type IpcMessage = z.infer; /** * Client */ type IpcClientEvents = { [IpcMessageType.Connect]: []; [IpcMessageType.Disconnect]: []; [IpcMessageType.Ack]: [data: Ack]; [IpcMessageType.TaskCommand]: [data: TaskCommand]; [IpcMessageType.TaskEvent]: [data: TaskEvent]; }; /** * Server */ type IpcServerEvents = { [IpcMessageType.Connect]: [clientId: string]; [IpcMessageType.Disconnect]: [clientId: string]; [IpcMessageType.TaskCommand]: [clientId: string, data: TaskCommand]; [IpcMessageType.TaskEvent]: [relayClientId: string | undefined, data: TaskEvent]; }; interface RooCodeAPIEvents { message: [data: { taskId: string; action: "created" | "updated"; message: ClineMessage; }]; taskCreated: [taskId: string]; taskStarted: [taskId: string]; taskModeSwitched: [taskId: string, mode: string]; taskPaused: [taskId: string]; taskUnpaused: [taskId: string]; taskAskResponded: [taskId: string]; taskAborted: [taskId: string]; taskSpawned: [parentTaskId: string, childTaskId: string]; taskCompleted: [taskId: string, tokenUsage: TokenUsage, toolUsage: ToolUsage, isSubtask: IsSubtask]; taskTokenUsageUpdated: [taskId: string, tokenUsage: TokenUsage]; taskToolFailed: [taskId: string, toolName: ToolName, error: string]; } interface RooCodeAPI extends EventEmitter { /** * Starts a new task with an optional initial message and images. * @param task Optional initial task message. * @param images Optional array of image data URIs (e.g., "data:image/webp;base64,..."). * @returns The ID of the new task. */ startNewTask({ configuration, text, images, newTab, }: { configuration?: RooCodeSettings; text?: string; images?: string[]; newTab?: boolean; }): Promise; /** * Resumes a task with the given ID. * @param taskId The ID of the task to resume. * @throws Error if the task is not found in the task history. */ resumeTask(taskId: string): Promise; /** * Checks if a task with the given ID is in the task history. * @param taskId The ID of the task to check. * @returns True if the task is in the task history, false otherwise. */ isTaskInHistory(taskId: string): Promise; /** * Returns the current task stack. * @returns An array of task IDs. */ getCurrentTaskStack(): string[]; /** * Clears the current task. */ clearCurrentTask(lastMessage?: string): Promise; /** * Cancels the current task. */ cancelCurrentTask(): Promise; /** * Sends a message to the current task. * @param message Optional message to send. * @param images Optional array of image data URIs (e.g., "data:image/webp;base64,..."). */ sendMessage(message?: string, images?: string[]): Promise; /** * Simulates pressing the primary button in the chat interface. */ pressPrimaryButton(): Promise; /** * Simulates pressing the secondary button in the chat interface. */ pressSecondaryButton(): Promise; /** * Returns true if the API is ready to use. */ isReady(): boolean; /** * Returns the current configuration. * @returns The current configuration. */ getConfiguration(): RooCodeSettings; /** * Sets the configuration for the current task. * @param values An object containing key-value pairs to set. */ setConfiguration(values: RooCodeSettings): Promise; /** * Returns a list of all configured profile names * @returns Array of profile names */ getProfiles(): string[]; /** * Returns the profile entry for a given name * @param name The name of the profile * @returns The profile entry, or undefined if the profile does not exist */ getProfileEntry(name: string): ProviderSettingsEntry | undefined; /** * Creates a new API configuration profile * @param name The name of the profile * @param profile The profile to create; defaults to an empty object * @param activate Whether to activate the profile after creation; defaults to true * @returns The ID of the created profile * @throws Error if the profile already exists */ createProfile(name: string, profile?: ProviderSettings, activate?: boolean): Promise; /** * Updates an existing API configuration profile * @param name The name of the profile * @param profile The profile to update * @param activate Whether to activate the profile after update; defaults to true * @returns The ID of the updated profile * @throws Error if the profile does not exist */ updateProfile(name: string, profile: ProviderSettings, activate?: boolean): Promise; /** * Creates a new API configuration profile or updates an existing one * @param name The name of the profile * @param profile The profile to create or update; defaults to an empty object * @param activate Whether to activate the profile after upsert; defaults to true * @returns The ID of the upserted profile */ upsertProfile(name: string, profile: ProviderSettings, activate?: boolean): Promise; /** * Deletes a profile by name * @param name The name of the profile to delete * @throws Error if the profile does not exist */ deleteProfile(name: string): Promise; /** * Returns the name of the currently active profile * @returns The profile name, or undefined if no profile is active */ getActiveProfile(): string | undefined; /** * Changes the active API configuration profile * @param name The name of the profile to activate * @throws Error if the profile does not exist */ setActiveProfile(name: string): Promise; } interface RooCodeIpcServer extends EventEmitter { listen(): void; broadcast(message: IpcMessage): void; send(client: string | Socket, message: IpcMessage): void; get socketPath(): string; get isListening(): boolean; } /** * Codebase Index Constants */ declare const CODEBASE_INDEX_DEFAULTS: { readonly MIN_SEARCH_RESULTS: 10; readonly MAX_SEARCH_RESULTS: 200; readonly DEFAULT_SEARCH_RESULTS: 50; readonly SEARCH_RESULTS_STEP: 10; readonly MIN_SEARCH_SCORE: 0; readonly MAX_SEARCH_SCORE: 1; readonly DEFAULT_SEARCH_MIN_SCORE: 0.4; readonly SEARCH_SCORE_STEP: 0.05; }; /** * EmbedderProvider */ declare const embedderProviders: readonly ["openai", "ollama", "openai-compatible", "gemini", "mistral"]; declare const embedderProviderSchema: z.ZodEnum<["openai", "ollama", "openai-compatible", "gemini", "mistral"]>; type EmbedderProvider = z.infer; /** * CodebaseIndexConfig */ declare const codebaseIndexConfigSchema: z.ZodObject<{ codebaseIndexEnabled: z.ZodOptional; codebaseIndexQdrantUrl: z.ZodOptional; codebaseIndexEmbedderProvider: z.ZodOptional>; codebaseIndexEmbedderBaseUrl: z.ZodOptional; codebaseIndexEmbedderModelId: z.ZodOptional; codebaseIndexEmbedderModelDimension: z.ZodOptional; codebaseIndexSearchMinScore: z.ZodOptional; codebaseIndexSearchMaxResults: z.ZodOptional; codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional; codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional; }, "strip", z.ZodTypeAny, { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; }, { codebaseIndexEnabled?: boolean | undefined; codebaseIndexQdrantUrl?: string | undefined; codebaseIndexEmbedderProvider?: "openai" | "ollama" | "openai-compatible" | "gemini" | "mistral" | undefined; codebaseIndexEmbedderBaseUrl?: string | undefined; codebaseIndexEmbedderModelId?: string | undefined; codebaseIndexEmbedderModelDimension?: number | undefined; codebaseIndexSearchMinScore?: number | undefined; codebaseIndexSearchMaxResults?: number | undefined; codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; }>; type CodebaseIndexConfig = z.infer; /** * CodebaseIndexModels */ declare const codebaseIndexModelsSchema: z.ZodObject<{ openai: z.ZodOptional>>; ollama: z.ZodOptional>>; "openai-compatible": z.ZodOptional>>; gemini: z.ZodOptional>>; mistral: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; }, { openai?: Record | undefined; ollama?: Record | undefined; "openai-compatible"?: Record | undefined; gemini?: Record | undefined; mistral?: Record | undefined; }>; type CodebaseIndexModels = z.infer; /** * CdebaseIndexProvider */ declare const codebaseIndexProviderSchema: z.ZodObject<{ codeIndexOpenAiKey: z.ZodOptional; codeIndexQdrantApiKey: z.ZodOptional; codebaseIndexOpenAiCompatibleBaseUrl: z.ZodOptional; codebaseIndexOpenAiCompatibleApiKey: z.ZodOptional; codebaseIndexOpenAiCompatibleModelDimension: z.ZodOptional; codebaseIndexGeminiApiKey: z.ZodOptional; codebaseIndexMistralApiKey: z.ZodOptional; }, "strip", z.ZodTypeAny, { codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; }, { codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined; codebaseIndexOpenAiCompatibleModelDimension?: number | undefined; codeIndexOpenAiKey?: string | undefined; codeIndexQdrantApiKey?: string | undefined; codebaseIndexOpenAiCompatibleApiKey?: string | undefined; codebaseIndexGeminiApiKey?: string | undefined; codebaseIndexMistralApiKey?: string | undefined; }>; type CodebaseIndexProvider = z.infer; /** * CloudUserInfo */ interface CloudUserInfo { name?: string; email?: string; picture?: string; organizationId?: string; organizationName?: string; organizationRole?: string; organizationImageUrl?: string; } /** * CloudOrganization Types */ interface CloudOrganization { id: string; name: string; slug?: string; image_url?: string; has_image?: boolean; created_at?: number; updated_at?: number; } interface CloudOrganizationMembership { id: string; organization: CloudOrganization; role: string; permissions?: string[]; created_at?: number; updated_at?: number; } /** * OrganizationAllowList */ declare const organizationAllowListSchema: z.ZodObject<{ allowAll: z.ZodBoolean; providers: z.ZodRecord>; }, "strip", z.ZodTypeAny, { allowAll: boolean; models?: string[] | undefined; }, { allowAll: boolean; models?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { allowAll: boolean; providers: Record; }, { allowAll: boolean; providers: Record; }>; type OrganizationAllowList = z.infer; /** * OrganizationDefaultSettings */ declare const organizationDefaultSettingsSchema: z.ZodObject<{ fuzzyMatchThreshold: z.ZodOptional; enableCheckpoints: z.ZodOptional; showRooIgnoredFiles: z.ZodOptional; terminalShellIntegrationDisabled: z.ZodOptional; terminalZshClearEolMark: z.ZodOptional; terminalCompressProgressBar: z.ZodOptional; } & { maxOpenTabsContext: z.ZodOptional; maxReadFileLine: z.ZodOptional; maxWorkspaceFiles: z.ZodOptional; terminalCommandDelay: z.ZodOptional; terminalOutputLineLimit: z.ZodOptional; terminalShellIntegrationTimeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { fuzzyMatchThreshold?: number | undefined; enableCheckpoints?: boolean | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalZshClearEolMark?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; }, { fuzzyMatchThreshold?: number | undefined; enableCheckpoints?: boolean | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalZshClearEolMark?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; }>; type OrganizationDefaultSettings = z.infer; /** * OrganizationCloudSettings */ declare const organizationCloudSettingsSchema: z.ZodObject<{ recordTaskMessages: z.ZodOptional; enableTaskSharing: z.ZodOptional; taskShareExpirationDays: z.ZodOptional; allowMembersViewAllTasks: z.ZodOptional; }, "strip", z.ZodTypeAny, { recordTaskMessages?: boolean | undefined; enableTaskSharing?: boolean | undefined; taskShareExpirationDays?: number | undefined; allowMembersViewAllTasks?: boolean | undefined; }, { recordTaskMessages?: boolean | undefined; enableTaskSharing?: boolean | undefined; taskShareExpirationDays?: number | undefined; allowMembersViewAllTasks?: boolean | undefined; }>; type OrganizationCloudSettings = z.infer; /** * Organization Settings */ declare const organizationSettingsSchema: z.ZodObject<{ version: z.ZodNumber; cloudSettings: z.ZodOptional; enableTaskSharing: z.ZodOptional; taskShareExpirationDays: z.ZodOptional; allowMembersViewAllTasks: z.ZodOptional; }, "strip", z.ZodTypeAny, { recordTaskMessages?: boolean | undefined; enableTaskSharing?: boolean | undefined; taskShareExpirationDays?: number | undefined; allowMembersViewAllTasks?: boolean | undefined; }, { recordTaskMessages?: boolean | undefined; enableTaskSharing?: boolean | undefined; taskShareExpirationDays?: number | undefined; allowMembersViewAllTasks?: boolean | undefined; }>>; defaultSettings: z.ZodObject<{ fuzzyMatchThreshold: z.ZodOptional; enableCheckpoints: z.ZodOptional; showRooIgnoredFiles: z.ZodOptional; terminalShellIntegrationDisabled: z.ZodOptional; terminalZshClearEolMark: z.ZodOptional; terminalCompressProgressBar: z.ZodOptional; } & { maxOpenTabsContext: z.ZodOptional; maxReadFileLine: z.ZodOptional; maxWorkspaceFiles: z.ZodOptional; terminalCommandDelay: z.ZodOptional; terminalOutputLineLimit: z.ZodOptional; terminalShellIntegrationTimeout: z.ZodOptional; }, "strip", z.ZodTypeAny, { fuzzyMatchThreshold?: number | undefined; enableCheckpoints?: boolean | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalZshClearEolMark?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; }, { fuzzyMatchThreshold?: number | undefined; enableCheckpoints?: boolean | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalZshClearEolMark?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; }>; allowList: z.ZodObject<{ allowAll: z.ZodBoolean; providers: z.ZodRecord>; }, "strip", z.ZodTypeAny, { allowAll: boolean; models?: string[] | undefined; }, { allowAll: boolean; models?: string[] | undefined; }>>; }, "strip", z.ZodTypeAny, { allowAll: boolean; providers: Record; }, { allowAll: boolean; providers: Record; }>; hiddenMcps: z.ZodOptional>; hideMarketplaceMcps: z.ZodOptional; mcps: z.ZodOptional; authorUrl: z.ZodOptional; tags: z.ZodOptional>; prerequisites: z.ZodOptional>; } & { url: z.ZodString; content: z.ZodUnion<[z.ZodString, z.ZodArray; optional: z.ZodDefault>; }, "strip", z.ZodTypeAny, { name: string; key: string; optional: boolean; placeholder?: string | undefined; }, { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }>, "many">>; prerequisites: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; content: string; parameters?: { name: string; key: string; optional: boolean; placeholder?: string | undefined; }[] | undefined; prerequisites?: string[] | undefined; }, { name: string; content: string; parameters?: { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }[] | undefined; prerequisites?: string[] | undefined; }>, "many">]>; parameters: z.ZodOptional; optional: z.ZodDefault>; }, "strip", z.ZodTypeAny, { name: string; key: string; optional: boolean; placeholder?: string | undefined; }, { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { description: string; name: string; id: string; url: string; content: string | { name: string; content: string; parameters?: { name: string; key: string; optional: boolean; placeholder?: string | undefined; }[] | undefined; prerequisites?: string[] | undefined; }[]; parameters?: { name: string; key: string; optional: boolean; placeholder?: string | undefined; }[] | undefined; prerequisites?: string[] | undefined; author?: string | undefined; authorUrl?: string | undefined; tags?: string[] | undefined; }, { description: string; name: string; id: string; url: string; content: string | { name: string; content: string; parameters?: { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }[] | undefined; prerequisites?: string[] | undefined; }[]; parameters?: { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }[] | undefined; prerequisites?: string[] | undefined; author?: string | undefined; authorUrl?: string | undefined; tags?: string[] | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { version: number; defaultSettings: { fuzzyMatchThreshold?: number | undefined; enableCheckpoints?: boolean | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalZshClearEolMark?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; }; allowList: { allowAll: boolean; providers: Record; }; cloudSettings?: { recordTaskMessages?: boolean | undefined; enableTaskSharing?: boolean | undefined; taskShareExpirationDays?: number | undefined; allowMembersViewAllTasks?: boolean | undefined; } | undefined; hiddenMcps?: string[] | undefined; hideMarketplaceMcps?: boolean | undefined; mcps?: { description: string; name: string; id: string; url: string; content: string | { name: string; content: string; parameters?: { name: string; key: string; optional: boolean; placeholder?: string | undefined; }[] | undefined; prerequisites?: string[] | undefined; }[]; parameters?: { name: string; key: string; optional: boolean; placeholder?: string | undefined; }[] | undefined; prerequisites?: string[] | undefined; author?: string | undefined; authorUrl?: string | undefined; tags?: string[] | undefined; }[] | undefined; }, { version: number; defaultSettings: { fuzzyMatchThreshold?: number | undefined; enableCheckpoints?: boolean | undefined; maxOpenTabsContext?: number | undefined; maxWorkspaceFiles?: number | undefined; showRooIgnoredFiles?: boolean | undefined; maxReadFileLine?: number | undefined; terminalOutputLineLimit?: number | undefined; terminalShellIntegrationTimeout?: number | undefined; terminalShellIntegrationDisabled?: boolean | undefined; terminalCommandDelay?: number | undefined; terminalZshClearEolMark?: boolean | undefined; terminalCompressProgressBar?: boolean | undefined; }; allowList: { allowAll: boolean; providers: Record; }; cloudSettings?: { recordTaskMessages?: boolean | undefined; enableTaskSharing?: boolean | undefined; taskShareExpirationDays?: number | undefined; allowMembersViewAllTasks?: boolean | undefined; } | undefined; hiddenMcps?: string[] | undefined; hideMarketplaceMcps?: boolean | undefined; mcps?: { description: string; name: string; id: string; url: string; content: string | { name: string; content: string; parameters?: { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }[] | undefined; prerequisites?: string[] | undefined; }[]; parameters?: { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }[] | undefined; prerequisites?: string[] | undefined; author?: string | undefined; authorUrl?: string | undefined; tags?: string[] | undefined; }[] | undefined; }>; type OrganizationSettings = z.infer; /** * Constants */ declare const ORGANIZATION_ALLOW_ALL: OrganizationAllowList; declare const ORGANIZATION_DEFAULT: OrganizationSettings; /** * Share Types */ declare const shareResponseSchema: z.ZodObject<{ success: z.ZodBoolean; shareUrl: z.ZodOptional; error: z.ZodOptional; isNewShare: z.ZodOptional; manageUrl: z.ZodOptional; }, "strip", z.ZodTypeAny, { success: boolean; error?: string | undefined; shareUrl?: string | undefined; isNewShare?: boolean | undefined; manageUrl?: string | undefined; }, { success: boolean; error?: string | undefined; shareUrl?: string | undefined; isNewShare?: boolean | undefined; manageUrl?: string | undefined; }>; type ShareResponse = z.infer; /** * ExperimentId */ declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "autocomplete"]; declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "autocomplete"]>; type ExperimentId = z.infer; /** * Experiments */ declare const experimentsSchema: z.ZodObject<{ powerSteering: z.ZodOptional; multiFileApplyDiff: z.ZodOptional; preventFocusDisruption: z.ZodOptional; autocomplete: z.ZodOptional; }, "strip", z.ZodTypeAny, { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; }, { powerSteering?: boolean | undefined; multiFileApplyDiff?: boolean | undefined; preventFocusDisruption?: boolean | undefined; autocomplete?: boolean | undefined; }>; type Experiments = z.infer; /** * Interface for follow-up data structure used in follow-up questions * This represents the data structure for follow-up questions that the LLM can ask * to gather more information needed to complete a task. */ interface FollowUpData { /** The question being asked by the LLM */ question?: string; /** Array of suggested answers that the user can select */ suggest?: Array; } /** * Interface for a suggestion item with optional mode switching */ interface SuggestionItem { /** The text of the suggestion */ answer: string; /** Optional mode to switch to when selecting this suggestion */ mode?: string; } /** * Zod schema for SuggestionItem */ declare const suggestionItemSchema: z.ZodObject<{ answer: z.ZodString; mode: z.ZodOptional; }, "strip", z.ZodTypeAny, { answer: string; mode?: string | undefined; }, { answer: string; mode?: string | undefined; }>; /** * Zod schema for FollowUpData */ declare const followUpDataSchema: z.ZodObject<{ question: z.ZodOptional; suggest: z.ZodOptional; }, "strip", z.ZodTypeAny, { answer: string; mode?: string | undefined; }, { answer: string; mode?: string | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { question?: string | undefined; suggest?: { answer: string; mode?: string | undefined; }[] | undefined; }, { question?: string | undefined; suggest?: { answer: string; mode?: string | undefined; }[] | undefined; }>; type FollowUpDataType = z.infer; /** * HistoryItem */ declare const historyItemSchema: z.ZodObject<{ id: z.ZodString; number: z.ZodNumber; ts: z.ZodNumber; task: z.ZodString; tokensIn: z.ZodNumber; tokensOut: z.ZodNumber; cacheWrites: z.ZodOptional; cacheReads: z.ZodOptional; totalCost: z.ZodNumber; size: z.ZodOptional; workspace: z.ZodOptional; mode: z.ZodOptional; isFavorited: z.ZodOptional; fileNotfound: z.ZodOptional; }, "strip", z.ZodTypeAny, { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }, { number: number; id: string; ts: number; task: string; tokensIn: number; tokensOut: number; totalCost: number; cacheWrites?: number | undefined; cacheReads?: number | undefined; size?: number | undefined; workspace?: string | undefined; mode?: string | undefined; isFavorited?: boolean | undefined; fileNotfound?: boolean | undefined; }>; type HistoryItem = z.infer; declare const ghostServiceSettingsSchema: z.ZodOptional; enableAutoInlineTaskKeybinding: z.ZodOptional; apiConfigId: z.ZodOptional; }, "strip", z.ZodTypeAny, { enableQuickInlineTaskKeybinding?: boolean | undefined; enableAutoInlineTaskKeybinding?: boolean | undefined; apiConfigId?: string | undefined; }, { enableQuickInlineTaskKeybinding?: boolean | undefined; enableAutoInlineTaskKeybinding?: boolean | undefined; apiConfigId?: string | undefined; }>>; type GhostServiceSettings = z.infer; /** * Schema for MCP parameter definitions */ declare const mcpParameterSchema: z.ZodObject<{ name: z.ZodString; key: z.ZodString; placeholder: z.ZodOptional; optional: z.ZodDefault>; }, "strip", z.ZodTypeAny, { name: string; key: string; optional: boolean; placeholder?: string | undefined; }, { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }>; type McpParameter = z.infer; /** * Schema for MCP installation method with name */ declare const mcpInstallationMethodSchema: z.ZodObject<{ name: z.ZodString; content: z.ZodString; parameters: z.ZodOptional; optional: z.ZodDefault>; }, "strip", z.ZodTypeAny, { name: string; key: string; optional: boolean; placeholder?: string | undefined; }, { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }>, "many">>; prerequisites: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; content: string; parameters?: { name: string; key: string; optional: boolean; placeholder?: string | undefined; }[] | undefined; prerequisites?: string[] | undefined; }, { name: string; content: string; parameters?: { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }[] | undefined; prerequisites?: string[] | undefined; }>; type McpInstallationMethod = z.infer; /** * Component type validation */ declare const marketplaceItemTypeSchema: z.ZodEnum<["mode", "mcp"]>; type MarketplaceItemType = z.infer; /** * Type-specific schemas for YAML parsing (without type field, added programmatically) */ declare const modeMarketplaceItemSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodOptional; authorUrl: z.ZodOptional; tags: z.ZodOptional>; prerequisites: z.ZodOptional>; } & { content: z.ZodString; }, "strip", z.ZodTypeAny, { description: string; name: string; id: string; content: string; prerequisites?: string[] | undefined; author?: string | undefined; authorUrl?: string | undefined; tags?: string[] | undefined; }, { description: string; name: string; id: string; content: string; prerequisites?: string[] | undefined; author?: string | undefined; authorUrl?: string | undefined; tags?: string[] | undefined; }>; type ModeMarketplaceItem = z.infer; declare const mcpMarketplaceItemSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodOptional; authorUrl: z.ZodOptional; tags: z.ZodOptional>; prerequisites: z.ZodOptional>; } & { url: z.ZodString; content: z.ZodUnion<[z.ZodString, z.ZodArray; optional: z.ZodDefault>; }, "strip", z.ZodTypeAny, { name: string; key: string; optional: boolean; placeholder?: string | undefined; }, { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }>, "many">>; prerequisites: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; content: string; parameters?: { name: string; key: string; optional: boolean; placeholder?: string | undefined; }[] | undefined; prerequisites?: string[] | undefined; }, { name: string; content: string; parameters?: { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }[] | undefined; prerequisites?: string[] | undefined; }>, "many">]>; parameters: z.ZodOptional; optional: z.ZodDefault>; }, "strip", z.ZodTypeAny, { name: string; key: string; optional: boolean; placeholder?: string | undefined; }, { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }>, "many">>; }, "strip", z.ZodTypeAny, { description: string; name: string; id: string; url: string; content: string | { name: string; content: string; parameters?: { name: string; key: string; optional: boolean; placeholder?: string | undefined; }[] | undefined; prerequisites?: string[] | undefined; }[]; parameters?: { name: string; key: string; optional: boolean; placeholder?: string | undefined; }[] | undefined; prerequisites?: string[] | undefined; author?: string | undefined; authorUrl?: string | undefined; tags?: string[] | undefined; }, { description: string; name: string; id: string; url: string; content: string | { name: string; content: string; parameters?: { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }[] | undefined; prerequisites?: string[] | undefined; }[]; parameters?: { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }[] | undefined; prerequisites?: string[] | undefined; author?: string | undefined; authorUrl?: string | undefined; tags?: string[] | undefined; }>; type McpMarketplaceItem = z.infer; /** * Unified marketplace item schema using discriminated union */ declare const marketplaceItemSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodOptional; authorUrl: z.ZodOptional; tags: z.ZodOptional>; prerequisites: z.ZodOptional>; } & { content: z.ZodString; } & { type: z.ZodLiteral<"mode">; }, "strip", z.ZodTypeAny, { type: "mode"; description: string; name: string; id: string; content: string; prerequisites?: string[] | undefined; author?: string | undefined; authorUrl?: string | undefined; tags?: string[] | undefined; }, { type: "mode"; description: string; name: string; id: string; content: string; prerequisites?: string[] | undefined; author?: string | undefined; authorUrl?: string | undefined; tags?: string[] | undefined; }>, z.ZodObject<{ id: z.ZodString; name: z.ZodString; description: z.ZodString; author: z.ZodOptional; authorUrl: z.ZodOptional; tags: z.ZodOptional>; prerequisites: z.ZodOptional>; } & { url: z.ZodString; content: z.ZodUnion<[z.ZodString, z.ZodArray; optional: z.ZodDefault>; }, "strip", z.ZodTypeAny, { name: string; key: string; optional: boolean; placeholder?: string | undefined; }, { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }>, "many">>; prerequisites: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; content: string; parameters?: { name: string; key: string; optional: boolean; placeholder?: string | undefined; }[] | undefined; prerequisites?: string[] | undefined; }, { name: string; content: string; parameters?: { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }[] | undefined; prerequisites?: string[] | undefined; }>, "many">]>; parameters: z.ZodOptional; optional: z.ZodDefault>; }, "strip", z.ZodTypeAny, { name: string; key: string; optional: boolean; placeholder?: string | undefined; }, { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }>, "many">>; } & { type: z.ZodLiteral<"mcp">; }, "strip", z.ZodTypeAny, { type: "mcp"; description: string; name: string; id: string; url: string; content: string | { name: string; content: string; parameters?: { name: string; key: string; optional: boolean; placeholder?: string | undefined; }[] | undefined; prerequisites?: string[] | undefined; }[]; parameters?: { name: string; key: string; optional: boolean; placeholder?: string | undefined; }[] | undefined; prerequisites?: string[] | undefined; author?: string | undefined; authorUrl?: string | undefined; tags?: string[] | undefined; }, { type: "mcp"; description: string; name: string; id: string; url: string; content: string | { name: string; content: string; parameters?: { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }[] | undefined; prerequisites?: string[] | undefined; }[]; parameters?: { name: string; key: string; placeholder?: string | undefined; optional?: boolean | undefined; }[] | undefined; prerequisites?: string[] | undefined; author?: string | undefined; authorUrl?: string | undefined; tags?: string[] | undefined; }>]>; type MarketplaceItem = z.infer; /** * Installation options for marketplace items */ declare const installMarketplaceItemOptionsSchema: z.ZodObject<{ target: z.ZodDefault>>; parameters: z.ZodOptional>; }, "strip", z.ZodTypeAny, { target: "global" | "project"; parameters?: Record | undefined; }, { parameters?: Record | undefined; target?: "global" | "project" | undefined; }>; type InstallMarketplaceItemOptions = z.infer; /** * McpExecutionStatus */ declare const mcpExecutionStatusSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{ executionId: z.ZodString; status: z.ZodLiteral<"started">; serverName: z.ZodString; toolName: z.ZodString; }, "strip", z.ZodTypeAny, { status: "started"; executionId: string; serverName: string; toolName: string; }, { status: "started"; executionId: string; serverName: string; toolName: string; }>, z.ZodObject<{ executionId: z.ZodString; status: z.ZodLiteral<"output">; response: z.ZodString; }, "strip", z.ZodTypeAny, { status: "output"; executionId: string; response: string; }, { status: "output"; executionId: string; response: string; }>, z.ZodObject<{ executionId: z.ZodString; status: z.ZodLiteral<"completed">; response: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "completed"; executionId: string; response?: string | undefined; }, { status: "completed"; executionId: string; response?: string | undefined; }>, z.ZodObject<{ executionId: z.ZodString; status: z.ZodLiteral<"error">; error: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "error"; executionId: string; error?: string | undefined; }, { status: "error"; executionId: string; error?: string | undefined; }>]>; type McpExecutionStatus = z.infer; /** * GroupOptions */ declare const groupOptionsSchema: z.ZodObject<{ fileRegex: z.ZodEffects, string | undefined, string | undefined>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; fileRegex?: string | undefined; }, { description?: string | undefined; fileRegex?: string | undefined; }>; type GroupOptions = z.infer; /** * GroupEntry */ declare const groupEntrySchema: z.ZodUnion<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{ fileRegex: z.ZodEffects, string | undefined, string | undefined>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; fileRegex?: string | undefined; }, { description?: string | undefined; fileRegex?: string | undefined; }>], null>]>; type GroupEntry = z.infer; declare const modeConfigSchema: z.ZodObject<{ slug: z.ZodString; name: z.ZodString; iconName: z.ZodOptional; roleDefinition: z.ZodString; whenToUse: z.ZodOptional; description: z.ZodOptional; customInstructions: z.ZodOptional; groups: z.ZodEffects, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{ fileRegex: z.ZodEffects, string | undefined, string | undefined>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; fileRegex?: string | undefined; }, { description?: string | undefined; fileRegex?: string | undefined; }>], null>]>, "many">, ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[], ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]>; source: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }, { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }>; type ModeConfig = z.infer; /** * CustomModesSettings */ declare const customModesSettingsSchema: z.ZodObject<{ customModes: z.ZodEffects; roleDefinition: z.ZodString; whenToUse: z.ZodOptional; description: z.ZodOptional; customInstructions: z.ZodOptional; groups: z.ZodEffects, z.ZodTuple<[z.ZodEnum<["read", "edit", "browser", "command", "mcp", "modes"]>, z.ZodObject<{ fileRegex: z.ZodEffects, string | undefined, string | undefined>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; fileRegex?: string | undefined; }, { description?: string | undefined; fileRegex?: string | undefined; }>], null>]>, "many">, ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[], ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]>; source: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }, { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }>, "many">, { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[], { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[]>; }, "strip", z.ZodTypeAny, { customModes: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[]; }, { customModes: { name: string; slug: string; roleDefinition: string; groups: ("command" | "read" | "edit" | "browser" | "mcp" | "modes" | ["command" | "read" | "edit" | "browser" | "mcp" | "modes", { description?: string | undefined; fileRegex?: string | undefined; }])[]; description?: string | undefined; iconName?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; source?: "global" | "project" | undefined; }[]; }>; type CustomModesSettings = z.infer; /** * PromptComponent */ declare const promptComponentSchema: z.ZodObject<{ roleDefinition: z.ZodOptional; whenToUse: z.ZodOptional; description: z.ZodOptional; customInstructions: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; roleDefinition?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; }, { description?: string | undefined; roleDefinition?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; }>; type PromptComponent = z.infer; /** * CustomModePrompts */ declare const customModePromptsSchema: z.ZodRecord; whenToUse: z.ZodOptional; description: z.ZodOptional; customInstructions: z.ZodOptional; }, "strip", z.ZodTypeAny, { description?: string | undefined; roleDefinition?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; }, { description?: string | undefined; roleDefinition?: string | undefined; whenToUse?: string | undefined; customInstructions?: string | undefined; }>>>; type CustomModePrompts = z.infer; /** * CustomSupportPrompts */ declare const customSupportPromptsSchema: z.ZodRecord>; type CustomSupportPrompts = z.infer; /** * DEFAULT_MODES */ declare const DEFAULT_MODES: readonly ModeConfig[]; /** * Types related to task sharing functionality */ /** * Visibility options for sharing tasks */ type ShareVisibility = "organization" | "public"; /** * TelemetrySetting */ declare const telemetrySettings: readonly ["unset", "enabled", "disabled"]; declare const telemetrySettingsSchema: z.ZodEnum<["unset", "enabled", "disabled"]>; type TelemetrySetting = z.infer; /** * TelemetryEventName */ declare enum TelemetryEventName { TASK_CREATED = "Task Created", TASK_RESTARTED = "Task Reopened", TASK_COMPLETED = "Task Completed", TASK_MESSAGE = "Task Message", TASK_CONVERSATION_MESSAGE = "Conversation Message", LLM_COMPLETION = "LLM Completion", MODE_SWITCH = "Mode Switched", MODE_SELECTOR_OPENED = "Mode Selector Opened", TOOL_USED = "Tool Used", CHECKPOINT_CREATED = "Checkpoint Created", CHECKPOINT_RESTORED = "Checkpoint Restored", CHECKPOINT_DIFFED = "Checkpoint Diffed", TAB_SHOWN = "Tab Shown", MODE_SETTINGS_CHANGED = "Mode Setting Changed", CUSTOM_MODE_CREATED = "Custom Mode Created", CONTEXT_CONDENSED = "Context Condensed", SLIDING_WINDOW_TRUNCATION = "Sliding Window Truncation", CODE_ACTION_USED = "Code Action Used", PROMPT_ENHANCED = "Prompt Enhanced", TITLE_BUTTON_CLICKED = "Title Button Clicked", AUTHENTICATION_INITIATED = "Authentication Initiated", MARKETPLACE_ITEM_INSTALLED = "Marketplace Item Installed", MARKETPLACE_ITEM_REMOVED = "Marketplace Item Removed", MARKETPLACE_TAB_VIEWED = "Marketplace Tab Viewed", MARKETPLACE_INSTALL_BUTTON_CLICKED = "Marketplace Install Button Clicked", SHARE_BUTTON_CLICKED = "Share Button Clicked", SHARE_ORGANIZATION_CLICKED = "Share Organization Clicked", SHARE_PUBLIC_CLICKED = "Share Public Clicked", SHARE_CONNECT_TO_CLOUD_CLICKED = "Share Connect To Cloud Clicked", ACCOUNT_CONNECT_CLICKED = "Account Connect Clicked", ACCOUNT_CONNECT_SUCCESS = "Account Connect Success", ACCOUNT_LOGOUT_CLICKED = "Account Logout Clicked", ACCOUNT_LOGOUT_SUCCESS = "Account Logout Success", SCHEMA_VALIDATION_ERROR = "Schema Validation Error", DIFF_APPLICATION_ERROR = "Diff Application Error", SHELL_INTEGRATION_ERROR = "Shell Integration Error", CONSECUTIVE_MISTAKE_ERROR = "Consecutive Mistake Error", CODE_INDEX_ERROR = "Code Index Error" } /** * TelemetryProperties */ declare const appPropertiesSchema: z.ZodObject<{ appName: z.ZodString; appVersion: z.ZodString; vscodeVersion: z.ZodString; platform: z.ZodString; editorName: z.ZodString; language: z.ZodString; mode: z.ZodString; cloudIsAuthenticated: z.ZodOptional; }, "strip", z.ZodTypeAny, { mode: string; appName: string; appVersion: string; vscodeVersion: string; platform: string; editorName: string; language: string; cloudIsAuthenticated?: boolean | undefined; }, { mode: string; appName: string; appVersion: string; vscodeVersion: string; platform: string; editorName: string; language: string; cloudIsAuthenticated?: boolean | undefined; }>; declare const taskPropertiesSchema: z.ZodObject<{ taskId: z.ZodOptional; apiProvider: z.ZodOptional>; modelId: z.ZodOptional; diffStrategy: z.ZodOptional; isSubtask: z.ZodOptional; todos: z.ZodOptional>; }, "strip", z.ZodTypeAny, { apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; taskId?: string | undefined; modelId?: string | undefined; diffStrategy?: string | undefined; isSubtask?: boolean | undefined; todos?: { total: number; completed: number; inProgress: number; pending: number; } | undefined; }, { apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; taskId?: string | undefined; modelId?: string | undefined; diffStrategy?: string | undefined; isSubtask?: boolean | undefined; todos?: { total: number; completed: number; inProgress: number; pending: number; } | undefined; }>; declare const gitPropertiesSchema: z.ZodObject<{ repositoryUrl: z.ZodOptional; repositoryName: z.ZodOptional; defaultBranch: z.ZodOptional; }, "strip", z.ZodTypeAny, { repositoryUrl?: string | undefined; repositoryName?: string | undefined; defaultBranch?: string | undefined; }, { repositoryUrl?: string | undefined; repositoryName?: string | undefined; defaultBranch?: string | undefined; }>; declare const telemetryPropertiesSchema: z.ZodObject<{ repositoryUrl: z.ZodOptional; repositoryName: z.ZodOptional; defaultBranch: z.ZodOptional; taskId: z.ZodOptional; apiProvider: z.ZodOptional>; modelId: z.ZodOptional; diffStrategy: z.ZodOptional; isSubtask: z.ZodOptional; todos: z.ZodOptional>; appName: z.ZodString; appVersion: z.ZodString; vscodeVersion: z.ZodString; platform: z.ZodString; editorName: z.ZodString; language: z.ZodString; mode: z.ZodString; cloudIsAuthenticated: z.ZodOptional; }, "strip", z.ZodTypeAny, { mode: string; appName: string; appVersion: string; vscodeVersion: string; platform: string; editorName: string; language: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; cloudIsAuthenticated?: boolean | undefined; taskId?: string | undefined; modelId?: string | undefined; diffStrategy?: string | undefined; isSubtask?: boolean | undefined; todos?: { total: number; completed: number; inProgress: number; pending: number; } | undefined; repositoryUrl?: string | undefined; repositoryName?: string | undefined; defaultBranch?: string | undefined; }, { mode: string; appName: string; appVersion: string; vscodeVersion: string; platform: string; editorName: string; language: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; cloudIsAuthenticated?: boolean | undefined; taskId?: string | undefined; modelId?: string | undefined; diffStrategy?: string | undefined; isSubtask?: boolean | undefined; todos?: { total: number; completed: number; inProgress: number; pending: number; } | undefined; repositoryUrl?: string | undefined; repositoryName?: string | undefined; defaultBranch?: string | undefined; }>; type TelemetryProperties = z.infer; type GitProperties = z.infer; /** * TelemetryEvent */ type TelemetryEvent = { event: TelemetryEventName; properties?: Record; }; /** * RooCodeTelemetryEvent */ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodEnum<[TelemetryEventName.TASK_CREATED, TelemetryEventName.TASK_RESTARTED, TelemetryEventName.TASK_COMPLETED, TelemetryEventName.TASK_CONVERSATION_MESSAGE, TelemetryEventName.MODE_SWITCH, TelemetryEventName.MODE_SELECTOR_OPENED, TelemetryEventName.TOOL_USED, TelemetryEventName.CHECKPOINT_CREATED, TelemetryEventName.CHECKPOINT_RESTORED, TelemetryEventName.CHECKPOINT_DIFFED, TelemetryEventName.CODE_ACTION_USED, TelemetryEventName.PROMPT_ENHANCED, TelemetryEventName.TITLE_BUTTON_CLICKED, TelemetryEventName.AUTHENTICATION_INITIATED, TelemetryEventName.MARKETPLACE_ITEM_INSTALLED, TelemetryEventName.MARKETPLACE_ITEM_REMOVED, TelemetryEventName.MARKETPLACE_TAB_VIEWED, TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED, TelemetryEventName.SHARE_BUTTON_CLICKED, TelemetryEventName.SHARE_ORGANIZATION_CLICKED, TelemetryEventName.SHARE_PUBLIC_CLICKED, TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED, TelemetryEventName.ACCOUNT_CONNECT_CLICKED, TelemetryEventName.ACCOUNT_CONNECT_SUCCESS, TelemetryEventName.ACCOUNT_LOGOUT_CLICKED, TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS, TelemetryEventName.SCHEMA_VALIDATION_ERROR, TelemetryEventName.DIFF_APPLICATION_ERROR, TelemetryEventName.SHELL_INTEGRATION_ERROR, TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR, TelemetryEventName.CODE_INDEX_ERROR, TelemetryEventName.CONTEXT_CONDENSED, TelemetryEventName.SLIDING_WINDOW_TRUNCATION, TelemetryEventName.TAB_SHOWN, TelemetryEventName.MODE_SETTINGS_CHANGED, TelemetryEventName.CUSTOM_MODE_CREATED]>; properties: z.ZodObject<{ repositoryUrl: z.ZodOptional; repositoryName: z.ZodOptional; defaultBranch: z.ZodOptional; taskId: z.ZodOptional; apiProvider: z.ZodOptional>; modelId: z.ZodOptional; diffStrategy: z.ZodOptional; isSubtask: z.ZodOptional; todos: z.ZodOptional>; appName: z.ZodString; appVersion: z.ZodString; vscodeVersion: z.ZodString; platform: z.ZodString; editorName: z.ZodString; language: z.ZodString; mode: z.ZodString; cloudIsAuthenticated: z.ZodOptional; }, "strip", z.ZodTypeAny, { mode: string; appName: string; appVersion: string; vscodeVersion: string; platform: string; editorName: string; language: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; cloudIsAuthenticated?: boolean | undefined; taskId?: string | undefined; modelId?: string | undefined; diffStrategy?: string | undefined; isSubtask?: boolean | undefined; todos?: { total: number; completed: number; inProgress: number; pending: number; } | undefined; repositoryUrl?: string | undefined; repositoryName?: string | undefined; defaultBranch?: string | undefined; }, { mode: string; appName: string; appVersion: string; vscodeVersion: string; platform: string; editorName: string; language: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; cloudIsAuthenticated?: boolean | undefined; taskId?: string | undefined; modelId?: string | undefined; diffStrategy?: string | undefined; isSubtask?: boolean | undefined; todos?: { total: number; completed: number; inProgress: number; pending: number; } | undefined; repositoryUrl?: string | undefined; repositoryName?: string | undefined; defaultBranch?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.MODE_SELECTOR_OPENED | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.MARKETPLACE_TAB_VIEWED | TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED | TelemetryEventName.SHARE_BUTTON_CLICKED | TelemetryEventName.SHARE_ORGANIZATION_CLICKED | TelemetryEventName.SHARE_PUBLIC_CLICKED | TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_SUCCESS | TelemetryEventName.ACCOUNT_LOGOUT_CLICKED | TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR | TelemetryEventName.CODE_INDEX_ERROR; properties: { mode: string; appName: string; appVersion: string; vscodeVersion: string; platform: string; editorName: string; language: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; cloudIsAuthenticated?: boolean | undefined; taskId?: string | undefined; modelId?: string | undefined; diffStrategy?: string | undefined; isSubtask?: boolean | undefined; todos?: { total: number; completed: number; inProgress: number; pending: number; } | undefined; repositoryUrl?: string | undefined; repositoryName?: string | undefined; defaultBranch?: string | undefined; }; }, { type: TelemetryEventName.TASK_CREATED | TelemetryEventName.TASK_RESTARTED | TelemetryEventName.TASK_COMPLETED | TelemetryEventName.TASK_CONVERSATION_MESSAGE | TelemetryEventName.MODE_SWITCH | TelemetryEventName.MODE_SELECTOR_OPENED | TelemetryEventName.TOOL_USED | TelemetryEventName.CHECKPOINT_CREATED | TelemetryEventName.CHECKPOINT_RESTORED | TelemetryEventName.CHECKPOINT_DIFFED | TelemetryEventName.TAB_SHOWN | TelemetryEventName.MODE_SETTINGS_CHANGED | TelemetryEventName.CUSTOM_MODE_CREATED | TelemetryEventName.CONTEXT_CONDENSED | TelemetryEventName.SLIDING_WINDOW_TRUNCATION | TelemetryEventName.CODE_ACTION_USED | TelemetryEventName.PROMPT_ENHANCED | TelemetryEventName.TITLE_BUTTON_CLICKED | TelemetryEventName.AUTHENTICATION_INITIATED | TelemetryEventName.MARKETPLACE_ITEM_INSTALLED | TelemetryEventName.MARKETPLACE_ITEM_REMOVED | TelemetryEventName.MARKETPLACE_TAB_VIEWED | TelemetryEventName.MARKETPLACE_INSTALL_BUTTON_CLICKED | TelemetryEventName.SHARE_BUTTON_CLICKED | TelemetryEventName.SHARE_ORGANIZATION_CLICKED | TelemetryEventName.SHARE_PUBLIC_CLICKED | TelemetryEventName.SHARE_CONNECT_TO_CLOUD_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_CLICKED | TelemetryEventName.ACCOUNT_CONNECT_SUCCESS | TelemetryEventName.ACCOUNT_LOGOUT_CLICKED | TelemetryEventName.ACCOUNT_LOGOUT_SUCCESS | TelemetryEventName.SCHEMA_VALIDATION_ERROR | TelemetryEventName.DIFF_APPLICATION_ERROR | TelemetryEventName.SHELL_INTEGRATION_ERROR | TelemetryEventName.CONSECUTIVE_MISTAKE_ERROR | TelemetryEventName.CODE_INDEX_ERROR; properties: { mode: string; appName: string; appVersion: string; vscodeVersion: string; platform: string; editorName: string; language: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; cloudIsAuthenticated?: boolean | undefined; taskId?: string | undefined; modelId?: string | undefined; diffStrategy?: string | undefined; isSubtask?: boolean | undefined; todos?: { total: number; completed: number; inProgress: number; pending: number; } | undefined; repositoryUrl?: string | undefined; repositoryName?: string | undefined; defaultBranch?: string | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral; properties: z.ZodObject<{ taskId: z.ZodString; message: z.ZodObject<{ ts: z.ZodNumber; type: z.ZodUnion<[z.ZodLiteral<"ask">, z.ZodLiteral<"say">]>; ask: z.ZodOptional>; say: z.ZodOptional>; text: z.ZodOptional; images: z.ZodOptional>; partial: z.ZodOptional; reasoning: z.ZodOptional; conversationHistoryIndex: z.ZodOptional; checkpoint: z.ZodOptional>; progressStatus: z.ZodOptional; text: z.ZodOptional; }, "strip", z.ZodTypeAny, { text?: string | undefined; icon?: string | undefined; }, { text?: string | undefined; icon?: string | undefined; }>>; contextCondense: z.ZodOptional>; isProtected: z.ZodOptional; apiProtocol: z.ZodOptional, z.ZodLiteral<"anthropic">]>>; }, "strip", z.ZodTypeAny, { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }, { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }>; repositoryUrl: z.ZodOptional; repositoryName: z.ZodOptional; defaultBranch: z.ZodOptional; apiProvider: z.ZodOptional>; modelId: z.ZodOptional; diffStrategy: z.ZodOptional; isSubtask: z.ZodOptional; todos: z.ZodOptional>; appName: z.ZodString; appVersion: z.ZodString; vscodeVersion: z.ZodString; platform: z.ZodString; editorName: z.ZodString; language: z.ZodString; mode: z.ZodString; cloudIsAuthenticated: z.ZodOptional; }, "strip", z.ZodTypeAny, { message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; mode: string; appName: string; appVersion: string; vscodeVersion: string; platform: string; editorName: string; language: string; taskId: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; cloudIsAuthenticated?: boolean | undefined; modelId?: string | undefined; diffStrategy?: string | undefined; isSubtask?: boolean | undefined; todos?: { total: number; completed: number; inProgress: number; pending: number; } | undefined; repositoryUrl?: string | undefined; repositoryName?: string | undefined; defaultBranch?: string | undefined; }, { message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; mode: string; appName: string; appVersion: string; vscodeVersion: string; platform: string; editorName: string; language: string; taskId: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; cloudIsAuthenticated?: boolean | undefined; modelId?: string | undefined; diffStrategy?: string | undefined; isSubtask?: boolean | undefined; todos?: { total: number; completed: number; inProgress: number; pending: number; } | undefined; repositoryUrl?: string | undefined; repositoryName?: string | undefined; defaultBranch?: string | undefined; }>; }, "strip", z.ZodTypeAny, { type: TelemetryEventName.TASK_MESSAGE; properties: { message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; mode: string; appName: string; appVersion: string; vscodeVersion: string; platform: string; editorName: string; language: string; taskId: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; cloudIsAuthenticated?: boolean | undefined; modelId?: string | undefined; diffStrategy?: string | undefined; isSubtask?: boolean | undefined; todos?: { total: number; completed: number; inProgress: number; pending: number; } | undefined; repositoryUrl?: string | undefined; repositoryName?: string | undefined; defaultBranch?: string | undefined; }; }, { type: TelemetryEventName.TASK_MESSAGE; properties: { message: { type: "ask" | "say"; ts: number; reasoning?: string | undefined; partial?: boolean | undefined; text?: string | undefined; ask?: "followup" | "command" | "command_output" | "completion_result" | "tool" | "api_req_failed" | "resume_task" | "resume_completed_task" | "mistake_limit_reached" | "browser_action_launch" | "use_mcp_server" | "auto_approval_max_req_reached" | "payment_required_prompt" | "condense" | "report_bug" | undefined; say?: "reasoning" | "command_output" | "completion_result" | "condense" | "error" | "api_req_started" | "api_req_finished" | "api_req_retried" | "api_req_retry_delayed" | "api_req_deleted" | "text" | "user_feedback" | "user_feedback_diff" | "shell_integration_warning" | "browser_action" | "browser_action_result" | "mcp_server_request_started" | "mcp_server_response" | "subtask_result" | "checkpoint_saved" | "rooignore_error" | "diff_error" | "condense_context" | "condense_context_error" | "codebase_search_result" | "user_edit_todos" | undefined; images?: string[] | undefined; conversationHistoryIndex?: number | undefined; checkpoint?: Record | undefined; progressStatus?: { text?: string | undefined; icon?: string | undefined; } | undefined; contextCondense?: { cost: number; prevContextTokens: number; newContextTokens: number; summary: string; } | undefined; isProtected?: boolean | undefined; apiProtocol?: "openai" | "anthropic" | undefined; }; mode: string; appName: string; appVersion: string; vscodeVersion: string; platform: string; editorName: string; language: string; taskId: string; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; cloudIsAuthenticated?: boolean | undefined; modelId?: string | undefined; diffStrategy?: string | undefined; isSubtask?: boolean | undefined; todos?: { total: number; completed: number; inProgress: number; pending: number; } | undefined; repositoryUrl?: string | undefined; repositoryName?: string | undefined; defaultBranch?: string | undefined; }; }>, z.ZodObject<{ type: z.ZodLiteral; properties: z.ZodObject<{ inputTokens: z.ZodNumber; outputTokens: z.ZodNumber; cacheReadTokens: z.ZodOptional; cacheWriteTokens: z.ZodOptional; cost: z.ZodOptional; repositoryUrl: z.ZodOptional; repositoryName: z.ZodOptional; defaultBranch: z.ZodOptional; taskId: z.ZodOptional; apiProvider: z.ZodOptional>; modelId: z.ZodOptional; diffStrategy: z.ZodOptional; isSubtask: z.ZodOptional; todos: z.ZodOptional>; appName: z.ZodString; appVersion: z.ZodString; vscodeVersion: z.ZodString; platform: z.ZodString; editorName: z.ZodString; language: z.ZodString; mode: z.ZodString; cloudIsAuthenticated: z.ZodOptional; }, "strip", z.ZodTypeAny, { mode: string; appName: string; appVersion: string; vscodeVersion: string; platform: string; editorName: string; language: string; inputTokens: number; outputTokens: number; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; cost?: number | undefined; cloudIsAuthenticated?: boolean | undefined; taskId?: string | undefined; modelId?: string | undefined; diffStrategy?: string | undefined; isSubtask?: boolean | undefined; todos?: { total: number; completed: number; inProgress: number; pending: number; } | undefined; repositoryUrl?: string | undefined; repositoryName?: string | undefined; defaultBranch?: string | undefined; cacheReadTokens?: number | undefined; cacheWriteTokens?: number | undefined; }, { mode: string; appName: string; appVersion: string; vscodeVersion: string; platform: string; editorName: string; language: string; inputTokens: number; outputTokens: number; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; cost?: number | undefined; cloudIsAuthenticated?: boolean | undefined; taskId?: string | undefined; modelId?: string | undefined; diffStrategy?: string | undefined; isSubtask?: boolean | undefined; todos?: { total: number; completed: number; inProgress: number; pending: number; } | undefined; repositoryUrl?: string | undefined; repositoryName?: string | undefined; defaultBranch?: string | undefined; cacheReadTokens?: number | undefined; cacheWriteTokens?: number | undefined; }>; }, "strip", z.ZodTypeAny, { type: TelemetryEventName.LLM_COMPLETION; properties: { mode: string; appName: string; appVersion: string; vscodeVersion: string; platform: string; editorName: string; language: string; inputTokens: number; outputTokens: number; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; cost?: number | undefined; cloudIsAuthenticated?: boolean | undefined; taskId?: string | undefined; modelId?: string | undefined; diffStrategy?: string | undefined; isSubtask?: boolean | undefined; todos?: { total: number; completed: number; inProgress: number; pending: number; } | undefined; repositoryUrl?: string | undefined; repositoryName?: string | undefined; defaultBranch?: string | undefined; cacheReadTokens?: number | undefined; cacheWriteTokens?: number | undefined; }; }, { type: TelemetryEventName.LLM_COMPLETION; properties: { mode: string; appName: string; appVersion: string; vscodeVersion: string; platform: string; editorName: string; language: string; inputTokens: number; outputTokens: number; apiProvider?: "openai" | "ollama" | "gemini" | "mistral" | "anthropic" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "kilocode" | "fireworks" | "cerebras" | undefined; cost?: number | undefined; cloudIsAuthenticated?: boolean | undefined; taskId?: string | undefined; modelId?: string | undefined; diffStrategy?: string | undefined; isSubtask?: boolean | undefined; todos?: { total: number; completed: number; inProgress: number; pending: number; } | undefined; repositoryUrl?: string | undefined; repositoryName?: string | undefined; defaultBranch?: string | undefined; cacheReadTokens?: number | undefined; cacheWriteTokens?: number | undefined; }; }>]>; type RooCodeTelemetryEvent = z.infer; /** * TelemetryEventSubscription */ type TelemetryEventSubscription = { type: "include"; events: TelemetryEventName[]; } | { type: "exclude"; events: TelemetryEventName[]; }; /** * TelemetryPropertiesProvider */ interface TelemetryPropertiesProvider { getTelemetryProperties(): Promise; } /** * TelemetryClient */ interface TelemetryClient { subscription?: TelemetryEventSubscription; setProvider(provider: TelemetryPropertiesProvider): void; capture(options: TelemetryEvent): Promise; updateTelemetryState(didUserOptIn: boolean): void; isTelemetryEnabled(): boolean; shutdown(): Promise; } /** * CommandExecutionStatus */ declare const commandExecutionStatusSchema: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{ executionId: z.ZodString; status: z.ZodLiteral<"started">; pid: z.ZodOptional; command: z.ZodString; }, "strip", z.ZodTypeAny, { status: "started"; command: string; executionId: string; pid?: number | undefined; }, { status: "started"; command: string; executionId: string; pid?: number | undefined; }>, z.ZodObject<{ executionId: z.ZodString; status: z.ZodLiteral<"output">; output: z.ZodString; }, "strip", z.ZodTypeAny, { status: "output"; executionId: string; output: string; }, { status: "output"; executionId: string; output: string; }>, z.ZodObject<{ executionId: z.ZodString; status: z.ZodLiteral<"exited">; exitCode: z.ZodOptional; }, "strip", z.ZodTypeAny, { status: "exited"; executionId: string; exitCode?: number | undefined; }, { status: "exited"; executionId: string; exitCode?: number | undefined; }>, z.ZodObject<{ executionId: z.ZodString; status: z.ZodLiteral<"fallback">; }, "strip", z.ZodTypeAny, { status: "fallback"; executionId: string; }, { status: "fallback"; executionId: string; }>, z.ZodObject<{ executionId: z.ZodString; status: z.ZodLiteral<"timeout">; }, "strip", z.ZodTypeAny, { status: "timeout"; executionId: string; }, { status: "timeout"; executionId: string; }>]>; type CommandExecutionStatus = z.infer; /** * CodeAction */ declare const codeActionIds: readonly ["explainCode", "fixCode", "improveCode", "addToContext", "newTask"]; type CodeActionId = (typeof codeActionIds)[number]; type CodeActionName = "EXPLAIN" | "FIX" | "IMPROVE" | "ADD_TO_CONTEXT" | "NEW_TASK"; /** * TerminalAction */ declare const terminalActionIds: readonly ["terminalAddToContext", "terminalFixCommand", "terminalExplainCommand"]; type TerminalActionId = (typeof terminalActionIds)[number]; type TerminalActionName = "ADD_TO_CONTEXT" | "FIX" | "EXPLAIN"; type TerminalActionPromptType = `TERMINAL_${TerminalActionName}`; /** * Command */ declare const commandIds: readonly ["activationCompleted", "plusButtonClicked", "promptsButtonClicked", "mcpButtonClicked", "historyButtonClicked", "marketplaceButtonClicked", "popoutButtonClicked", "accountButtonClicked", "settingsButtonClicked", "openInNewTab", "showHumanRelayDialog", "registerHumanRelayCallback", "unregisterHumanRelayCallback", "handleHumanRelayResponse", "newTask", "setCustomStoragePath", "importSettings", "focusInput", "acceptInput", "focusPanel"]; type CommandId = (typeof commandIds)[number]; /** * Language */ declare const languages: readonly ["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]; declare const languagesSchema: z.ZodEnum<["ca", "de", "en", "es", "fr", "hi", "id", "it", "ja", "ko", "nl", "pl", "pt-BR", "ru", "tr", "vi", "zh-CN", "zh-TW"]>; type Language = z.infer; declare const isLanguage: (value: string) => value is Language; /** * TodoStatus */ declare const todoStatusSchema: z.ZodEnum<["pending", "in_progress", "completed"]>; type TodoStatus = z.infer; /** * TodoItem */ declare const todoItemSchema: z.ZodObject<{ id: z.ZodString; content: z.ZodString; status: z.ZodEnum<["pending", "in_progress", "completed"]>; }, "strip", z.ZodTypeAny, { status: "completed" | "pending" | "in_progress"; id: string; content: string; }, { status: "completed" | "pending" | "in_progress"; id: string; content: string; }>; type TodoItem = z.infer; export { ANTHROPIC_DEFAULT_MAX_TOKENS, ANTHROPIC_STYLE_PROVIDERS, AWS_INFERENCE_PROFILE_MAPPING, type Ack, type AnthropicModelId, type AssertEqual, BEDROCK_DEFAULT_CONTEXT, BEDROCK_DEFAULT_TEMPERATURE, BEDROCK_MAX_TOKENS, BEDROCK_REGIONS, type BedrockModelId, CEREBRAS_DEFAULT_TEMPERATURE, CLAUDE_CODE_DEFAULT_MAX_OUTPUT_TOKENS, CODEBASE_INDEX_DEFAULTS, type CerebrasModelId, type ChutesModelId, type ClaudeCodeModelId, type ClineAsk, type ClineMessage, type ClineSay, type CloudOrganization, type CloudOrganizationMembership, type CloudUserInfo, type CodeActionId, type CodeActionName, type CodebaseIndexConfig, type CodebaseIndexModels, type CodebaseIndexProvider, type CommandExecutionStatus, type CommandId, type ContextCondense, type CustomModePrompts, type CustomModesSettings, type CustomSupportPrompts, DEEP_SEEK_DEFAULT_TEMPERATURE, DEFAULT_CONSECUTIVE_MISTAKE_LIMIT, DEFAULT_MODES, DEFAULT_TERMINAL_OUTPUT_CHARACTER_LIMIT, DEFAULT_WRITE_DELAY_MS, type DeepSeekModelId, EVALS_SETTINGS, EVALS_TIMEOUT, type EmbedderProvider, type Equals, type ExperimentId, type Experiments, type FollowUpData, type FollowUpDataType, GEMINI_CLI_DEFAULT_TEMPERATURE, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiCliModelId, type GeminiModelId, type GhostServiceSettings, type GitProperties, type GlobalSettings, type GlobalState, type GroqModelId, type GroupEntry, type GroupOptions, HUGGINGFACE_API_URL, HUGGINGFACE_CACHE_DURATION, HUGGINGFACE_DEFAULT_CONTEXT_WINDOW, HUGGINGFACE_DEFAULT_MAX_TOKENS, HUGGINGFACE_MAX_TOKENS_FALLBACK, HUGGINGFACE_SLIDER_MIN, HUGGINGFACE_SLIDER_STEP, HUGGINGFACE_TEMPERATURE_MAX_VALUE, type HistoryItem, type InstallMarketplaceItemOptions, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type IsSubtask, KILOCODE_DEFAULT_TEMPERATURE, type Keys, type KilocodeModelId, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, MODEL_ID_KEYS, MOONSHOT_DEFAULT_TEMPERATURE, type MarketplaceItem, type MarketplaceItemType, type McpExecutionStatus, type McpInstallationMethod, type McpMarketplaceItem, type McpParameter, type MistralModelId, type ModeConfig, type ModeMarketplaceItem, type ModelInfo, type ModelParameter, type MoonshotModelId, OPENAI_AZURE_AI_INFERENCE_PATH, OPENAI_NATIVE_DEFAULT_TEMPERATURE, OPENROUTER_DEFAULT_PROVIDER_NAME, OPENROUTER_TOP_MODELS, OPEN_ROUTER_COMPUTER_USE_MODELS, OPEN_ROUTER_PROMPT_CACHING_MODELS, OPEN_ROUTER_REASONING_BUDGET_MODELS, OPEN_ROUTER_REQUIRED_REASONING_BUDGET_MODELS, ORGANIZATION_ALLOW_ALL, ORGANIZATION_DEFAULT, type OpenAiNativeModelId, type OrganizationAllowList, type OrganizationCloudSettings, type OrganizationDefaultSettings, type OrganizationSettings, PROVIDER_SETTINGS_KEYS, type PromptComponent, type ProviderName, type ProviderSettings, type ProviderSettingsEntry, type QueuedMessage, type ReasoningEffort, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SecretState, type ShareResponse, type ShareVisibility, type SuggestionItem, type TaskCommand, TaskCommandName, type TaskEvent, type TelemetryClient, type TelemetryEvent, TelemetryEventName, type TelemetryEventSubscription, type TelemetryProperties, type TelemetryPropertiesProvider, type TelemetrySetting, type TerminalActionId, type TerminalActionName, type TerminalActionPromptType, type TodoItem, type TodoStatus, type TokenUsage, type ToolGroup, type ToolName, type ToolProgressStatus, type ToolUsage, VERTEX_REGIONS, type Values, type VertexModelId, type VscodeLlmModelId, type XAIModelId, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, cerebrasDefaultModelId, cerebrasModelIds, cerebrasModelIdsSchema, cerebrasModels, chutesDefaultModelId, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, convertModelNameForVertex, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, embedderProviderSchema, embedderProviders, experimentIds, experimentIdsSchema, experimentsSchema, followUpDataSchema, geminiCliDefaultModelId, geminiCliModelIds, geminiCliModelIdsSchema, geminiCliModels, geminiDefaultModelId, geminiModels, getApiProtocol, getClaudeCodeModelId, getModelId, ghostServiceSettingsSchema, gitPropertiesSchema, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, ipcMessageSchema, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, isSubtaskSchema, kilocodeDefaultModelId, kilocodeModelIds, kilocodeModelIdsSchema, kilocodeModels, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, marketplaceItemSchema, marketplaceItemTypeSchema, mcpExecutionStatusSchema, mcpInstallationMethodSchema, mcpMarketplaceItemSchema, mcpParameterSchema, mistralDefaultModelId, mistralModels, modeConfigSchema, modeMarketplaceItemSchema, modelInfoSchema, modelParameters, modelParametersSchema, moonshotDefaultModelId, moonshotModels, ollamaDefaultModelId, ollamaDefaultModelInfo, openAiModelInfoSaneDefaults, openAiNativeDefaultModelId, openAiNativeModels, openRouterDefaultModelId, openRouterDefaultModelInfo, organizationAllowListSchema, organizationCloudSettingsSchema, organizationDefaultSettingsSchema, organizationSettingsSchema, promptComponentSchema, providerNames, providerNamesSchema, providerSettingsEntrySchema, providerSettingsSchema, providerSettingsSchemaDiscriminated, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, shareResponseSchema, suggestionItemSchema, taskCommandSchema, taskEventSchema, taskPropertiesSchema, telemetryPropertiesSchema, telemetrySettings, telemetrySettingsSchema, terminalActionIds, todoItemSchema, todoStatusSchema, tokenUsageSchema, toolGroups, toolGroupsSchema, toolNames, toolNamesSchema, toolProgressStatusSchema, toolUsageSchema, unboundDefaultModelId, unboundDefaultModelInfo, vertexDefaultModelId, vertexModels, vscodeLlmDefaultModelId, vscodeLlmModels, xaiDefaultModelId, xaiModels };