@roo-code/types 1.42.0 → 1.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -898,8 +898,8 @@ type AssertEqual<T extends true> = T;
898
898
  /**
899
899
  * ProviderName
900
900
  */
901
- declare const providerNames: readonly ["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"];
902
- 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", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"]>;
901
+ declare const providerNames: readonly ["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"];
902
+ 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", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"]>;
903
903
  type ProviderName = z.infer<typeof providerNamesSchema>;
904
904
  /**
905
905
  * ProviderSettingsEntry
@@ -907,15 +907,15 @@ type ProviderName = z.infer<typeof providerNamesSchema>;
907
907
  declare const providerSettingsEntrySchema: z.ZodObject<{
908
908
  id: z.ZodString;
909
909
  name: z.ZodString;
910
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"]>>;
910
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"]>>;
911
911
  }, "strip", z.ZodTypeAny, {
912
912
  id: string;
913
913
  name: string;
914
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
914
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
915
915
  }, {
916
916
  id: string;
917
917
  name: string;
918
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
918
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
919
919
  }>;
920
920
  type ProviderSettingsEntry = z.infer<typeof providerSettingsEntrySchema>;
921
921
  /**
@@ -2551,6 +2551,57 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
2551
2551
  modelMaxThinkingTokens?: number | undefined;
2552
2552
  apiModelId?: string | undefined;
2553
2553
  sambaNovaApiKey?: string | undefined;
2554
+ }>, z.ZodObject<{
2555
+ includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
2556
+ diffEnabled: z.ZodOptional<z.ZodBoolean>;
2557
+ todoListEnabled: z.ZodOptional<z.ZodBoolean>;
2558
+ fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
2559
+ modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2560
+ rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
2561
+ consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
2562
+ enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
2563
+ reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
2564
+ modelMaxTokens: z.ZodOptional<z.ZodNumber>;
2565
+ modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
2566
+ } & {
2567
+ apiModelId: z.ZodOptional<z.ZodString>;
2568
+ } & {
2569
+ zaiApiKey: z.ZodOptional<z.ZodString>;
2570
+ zaiApiLine: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"china">, z.ZodLiteral<"international">]>>;
2571
+ } & {
2572
+ apiProvider: z.ZodLiteral<"zai">;
2573
+ }, "strip", z.ZodTypeAny, {
2574
+ apiProvider: "zai";
2575
+ reasoningEffort?: "low" | "medium" | "high" | undefined;
2576
+ includeMaxTokens?: boolean | undefined;
2577
+ diffEnabled?: boolean | undefined;
2578
+ todoListEnabled?: boolean | undefined;
2579
+ fuzzyMatchThreshold?: number | undefined;
2580
+ modelTemperature?: number | null | undefined;
2581
+ rateLimitSeconds?: number | undefined;
2582
+ consecutiveMistakeLimit?: number | undefined;
2583
+ enableReasoningEffort?: boolean | undefined;
2584
+ modelMaxTokens?: number | undefined;
2585
+ modelMaxThinkingTokens?: number | undefined;
2586
+ apiModelId?: string | undefined;
2587
+ zaiApiKey?: string | undefined;
2588
+ zaiApiLine?: "china" | "international" | undefined;
2589
+ }, {
2590
+ apiProvider: "zai";
2591
+ reasoningEffort?: "low" | "medium" | "high" | undefined;
2592
+ includeMaxTokens?: boolean | undefined;
2593
+ diffEnabled?: boolean | undefined;
2594
+ todoListEnabled?: boolean | undefined;
2595
+ fuzzyMatchThreshold?: number | undefined;
2596
+ modelTemperature?: number | null | undefined;
2597
+ rateLimitSeconds?: number | undefined;
2598
+ consecutiveMistakeLimit?: number | undefined;
2599
+ enableReasoningEffort?: boolean | undefined;
2600
+ modelMaxTokens?: number | undefined;
2601
+ modelMaxThinkingTokens?: number | undefined;
2602
+ apiModelId?: string | undefined;
2603
+ zaiApiKey?: string | undefined;
2604
+ zaiApiLine?: "china" | "international" | undefined;
2554
2605
  }>, z.ZodObject<{
2555
2606
  apiProvider: z.ZodUndefined;
2556
2607
  }, "strip", z.ZodTypeAny, {
@@ -2578,6 +2629,8 @@ declare const providerSettingsSchema: z.ZodObject<{
2578
2629
  modelMaxTokens: z.ZodOptional<z.ZodNumber>;
2579
2630
  modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
2580
2631
  apiModelId: z.ZodOptional<z.ZodString>;
2632
+ zaiApiKey: z.ZodOptional<z.ZodString>;
2633
+ zaiApiLine: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"china">, z.ZodLiteral<"international">]>>;
2581
2634
  sambaNovaApiKey: z.ZodOptional<z.ZodString>;
2582
2635
  cerebrasApiKey: z.ZodOptional<z.ZodString>;
2583
2636
  litellmBaseUrl: z.ZodOptional<z.ZodString>;
@@ -2767,7 +2820,7 @@ declare const providerSettingsSchema: z.ZodObject<{
2767
2820
  apiKey: z.ZodOptional<z.ZodString>;
2768
2821
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
2769
2822
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
2770
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"]>>;
2823
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"]>>;
2771
2824
  }, "strip", z.ZodTypeAny, {
2772
2825
  reasoningEffort?: "low" | "medium" | "high" | undefined;
2773
2826
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
@@ -2777,7 +2830,7 @@ declare const providerSettingsSchema: z.ZodObject<{
2777
2830
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
2778
2831
  codebaseIndexGeminiApiKey?: string | undefined;
2779
2832
  codebaseIndexMistralApiKey?: string | undefined;
2780
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
2833
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
2781
2834
  includeMaxTokens?: boolean | undefined;
2782
2835
  diffEnabled?: boolean | undefined;
2783
2836
  todoListEnabled?: boolean | undefined;
@@ -2902,6 +2955,8 @@ declare const providerSettingsSchema: z.ZodObject<{
2902
2955
  litellmUsePromptCache?: boolean | undefined;
2903
2956
  cerebrasApiKey?: string | undefined;
2904
2957
  sambaNovaApiKey?: string | undefined;
2958
+ zaiApiKey?: string | undefined;
2959
+ zaiApiLine?: "china" | "international" | undefined;
2905
2960
  }, {
2906
2961
  reasoningEffort?: "low" | "medium" | "high" | undefined;
2907
2962
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
@@ -2911,7 +2966,7 @@ declare const providerSettingsSchema: z.ZodObject<{
2911
2966
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
2912
2967
  codebaseIndexGeminiApiKey?: string | undefined;
2913
2968
  codebaseIndexMistralApiKey?: string | undefined;
2914
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
2969
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
2915
2970
  includeMaxTokens?: boolean | undefined;
2916
2971
  diffEnabled?: boolean | undefined;
2917
2972
  todoListEnabled?: boolean | undefined;
@@ -3036,6 +3091,8 @@ declare const providerSettingsSchema: z.ZodObject<{
3036
3091
  litellmUsePromptCache?: boolean | undefined;
3037
3092
  cerebrasApiKey?: string | undefined;
3038
3093
  sambaNovaApiKey?: string | undefined;
3094
+ zaiApiKey?: string | undefined;
3095
+ zaiApiLine?: "china" | "international" | undefined;
3039
3096
  }>;
3040
3097
  type ProviderSettings = z.infer<typeof providerSettingsSchema>;
3041
3098
  declare const providerSettingsWithIdSchema: z.ZodObject<{
@@ -3058,6 +3115,8 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
3058
3115
  modelMaxTokens: z.ZodOptional<z.ZodNumber>;
3059
3116
  modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
3060
3117
  apiModelId: z.ZodOptional<z.ZodString>;
3118
+ zaiApiKey: z.ZodOptional<z.ZodString>;
3119
+ zaiApiLine: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"china">, z.ZodLiteral<"international">]>>;
3061
3120
  sambaNovaApiKey: z.ZodOptional<z.ZodString>;
3062
3121
  cerebrasApiKey: z.ZodOptional<z.ZodString>;
3063
3122
  litellmBaseUrl: z.ZodOptional<z.ZodString>;
@@ -3247,7 +3306,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
3247
3306
  apiKey: z.ZodOptional<z.ZodString>;
3248
3307
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
3249
3308
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
3250
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"]>>;
3309
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"]>>;
3251
3310
  } & {
3252
3311
  id: z.ZodOptional<z.ZodString>;
3253
3312
  }, "strip", z.ZodTypeAny, {
@@ -3260,7 +3319,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
3260
3319
  codebaseIndexGeminiApiKey?: string | undefined;
3261
3320
  codebaseIndexMistralApiKey?: string | undefined;
3262
3321
  id?: string | undefined;
3263
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
3322
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
3264
3323
  includeMaxTokens?: boolean | undefined;
3265
3324
  diffEnabled?: boolean | undefined;
3266
3325
  todoListEnabled?: boolean | undefined;
@@ -3385,6 +3444,8 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
3385
3444
  litellmUsePromptCache?: boolean | undefined;
3386
3445
  cerebrasApiKey?: string | undefined;
3387
3446
  sambaNovaApiKey?: string | undefined;
3447
+ zaiApiKey?: string | undefined;
3448
+ zaiApiLine?: "china" | "international" | undefined;
3388
3449
  }, {
3389
3450
  reasoningEffort?: "low" | "medium" | "high" | undefined;
3390
3451
  codebaseIndexOpenAiCompatibleBaseUrl?: string | undefined;
@@ -3395,7 +3456,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
3395
3456
  codebaseIndexGeminiApiKey?: string | undefined;
3396
3457
  codebaseIndexMistralApiKey?: string | undefined;
3397
3458
  id?: string | undefined;
3398
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
3459
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
3399
3460
  includeMaxTokens?: boolean | undefined;
3400
3461
  diffEnabled?: boolean | undefined;
3401
3462
  todoListEnabled?: boolean | undefined;
@@ -3520,6 +3581,8 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
3520
3581
  litellmUsePromptCache?: boolean | undefined;
3521
3582
  cerebrasApiKey?: string | undefined;
3522
3583
  sambaNovaApiKey?: string | undefined;
3584
+ zaiApiKey?: string | undefined;
3585
+ zaiApiLine?: "china" | "international" | undefined;
3523
3586
  }>;
3524
3587
  declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.ZodDiscriminatedUnion<"apiProvider", [z.ZodObject<{
3525
3588
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
@@ -5147,6 +5210,57 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5147
5210
  modelMaxThinkingTokens?: number | undefined;
5148
5211
  apiModelId?: string | undefined;
5149
5212
  sambaNovaApiKey?: string | undefined;
5213
+ }>, z.ZodObject<{
5214
+ includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
5215
+ diffEnabled: z.ZodOptional<z.ZodBoolean>;
5216
+ todoListEnabled: z.ZodOptional<z.ZodBoolean>;
5217
+ fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
5218
+ modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5219
+ rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
5220
+ consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
5221
+ enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
5222
+ reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
5223
+ modelMaxTokens: z.ZodOptional<z.ZodNumber>;
5224
+ modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
5225
+ } & {
5226
+ apiModelId: z.ZodOptional<z.ZodString>;
5227
+ } & {
5228
+ zaiApiKey: z.ZodOptional<z.ZodString>;
5229
+ zaiApiLine: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"china">, z.ZodLiteral<"international">]>>;
5230
+ } & {
5231
+ apiProvider: z.ZodLiteral<"zai">;
5232
+ }, "strip", z.ZodTypeAny, {
5233
+ apiProvider: "zai";
5234
+ reasoningEffort?: "low" | "medium" | "high" | undefined;
5235
+ includeMaxTokens?: boolean | undefined;
5236
+ diffEnabled?: boolean | undefined;
5237
+ todoListEnabled?: boolean | undefined;
5238
+ fuzzyMatchThreshold?: number | undefined;
5239
+ modelTemperature?: number | null | undefined;
5240
+ rateLimitSeconds?: number | undefined;
5241
+ consecutiveMistakeLimit?: number | undefined;
5242
+ enableReasoningEffort?: boolean | undefined;
5243
+ modelMaxTokens?: number | undefined;
5244
+ modelMaxThinkingTokens?: number | undefined;
5245
+ apiModelId?: string | undefined;
5246
+ zaiApiKey?: string | undefined;
5247
+ zaiApiLine?: "china" | "international" | undefined;
5248
+ }, {
5249
+ apiProvider: "zai";
5250
+ reasoningEffort?: "low" | "medium" | "high" | undefined;
5251
+ includeMaxTokens?: boolean | undefined;
5252
+ diffEnabled?: boolean | undefined;
5253
+ todoListEnabled?: boolean | undefined;
5254
+ fuzzyMatchThreshold?: number | undefined;
5255
+ modelTemperature?: number | null | undefined;
5256
+ rateLimitSeconds?: number | undefined;
5257
+ consecutiveMistakeLimit?: number | undefined;
5258
+ enableReasoningEffort?: boolean | undefined;
5259
+ modelMaxTokens?: number | undefined;
5260
+ modelMaxThinkingTokens?: number | undefined;
5261
+ apiModelId?: string | undefined;
5262
+ zaiApiKey?: string | undefined;
5263
+ zaiApiLine?: "china" | "international" | undefined;
5150
5264
  }>, z.ZodObject<{
5151
5265
  apiProvider: z.ZodUndefined;
5152
5266
  }, "strip", z.ZodTypeAny, {
@@ -5161,7 +5275,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5161
5275
  id?: string | undefined;
5162
5276
  }>>;
5163
5277
  type ProviderSettingsWithId = z.infer<typeof providerSettingsWithIdSchema>;
5164
- 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", "doubaoBaseUrl", "doubaoApiKey", "moonshotBaseUrl", "moonshotApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "huggingFaceApiKey", "huggingFaceModelId", "huggingFaceInferenceProvider", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId", "litellmUsePromptCache", "cerebrasApiKey", "sambaNovaApiKey"];
5278
+ 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", "doubaoBaseUrl", "doubaoApiKey", "moonshotBaseUrl", "moonshotApiKey", "unboundApiKey", "unboundModelId", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "huggingFaceApiKey", "huggingFaceModelId", "huggingFaceInferenceProvider", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId", "litellmUsePromptCache", "cerebrasApiKey", "sambaNovaApiKey", "zaiApiKey", "zaiApiLine"];
5165
5279
  declare const MODEL_ID_KEYS: Partial<keyof ProviderSettings>[];
5166
5280
  declare const getModelId: (settings: ProviderSettings) => string | undefined;
5167
5281
  declare const ANTHROPIC_STYLE_PROVIDERS: ProviderName[];
@@ -5187,15 +5301,15 @@ declare const globalSettingsSchema: z.ZodObject<{
5187
5301
  listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
5188
5302
  id: z.ZodString;
5189
5303
  name: z.ZodString;
5190
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"]>>;
5304
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"]>>;
5191
5305
  }, "strip", z.ZodTypeAny, {
5192
5306
  id: string;
5193
5307
  name: string;
5194
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
5308
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
5195
5309
  }, {
5196
5310
  id: string;
5197
5311
  name: string;
5198
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
5312
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
5199
5313
  }>, "many">>;
5200
5314
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
5201
5315
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -5315,14 +5429,17 @@ declare const globalSettingsSchema: z.ZodObject<{
5315
5429
  powerSteering: z.ZodOptional<z.ZodBoolean>;
5316
5430
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
5317
5431
  preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
5432
+ assistantMessageParser: z.ZodOptional<z.ZodBoolean>;
5318
5433
  }, "strip", z.ZodTypeAny, {
5319
5434
  powerSteering?: boolean | undefined;
5320
5435
  multiFileApplyDiff?: boolean | undefined;
5321
5436
  preventFocusDisruption?: boolean | undefined;
5437
+ assistantMessageParser?: boolean | undefined;
5322
5438
  }, {
5323
5439
  powerSteering?: boolean | undefined;
5324
5440
  multiFileApplyDiff?: boolean | undefined;
5325
5441
  preventFocusDisruption?: boolean | undefined;
5442
+ assistantMessageParser?: boolean | undefined;
5326
5443
  }>>;
5327
5444
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
5328
5445
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -5431,6 +5548,7 @@ declare const globalSettingsSchema: z.ZodObject<{
5431
5548
  telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
5432
5549
  mcpEnabled: z.ZodOptional<z.ZodBoolean>;
5433
5550
  enableMcpServerCreation: z.ZodOptional<z.ZodBoolean>;
5551
+ remoteControlEnabled: z.ZodOptional<z.ZodBoolean>;
5434
5552
  mode: z.ZodOptional<z.ZodString>;
5435
5553
  modeApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
5436
5554
  customModes: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -5530,7 +5648,7 @@ declare const globalSettingsSchema: z.ZodObject<{
5530
5648
  listApiConfigMeta?: {
5531
5649
  id: string;
5532
5650
  name: string;
5533
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
5651
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
5534
5652
  }[] | undefined;
5535
5653
  pinnedApiConfigs?: Record<string, boolean> | undefined;
5536
5654
  lastShownAnnouncementId?: string | undefined;
@@ -5612,6 +5730,7 @@ declare const globalSettingsSchema: z.ZodObject<{
5612
5730
  powerSteering?: boolean | undefined;
5613
5731
  multiFileApplyDiff?: boolean | undefined;
5614
5732
  preventFocusDisruption?: boolean | undefined;
5733
+ assistantMessageParser?: boolean | undefined;
5615
5734
  } | undefined;
5616
5735
  codebaseIndexModels?: {
5617
5736
  openai?: Record<string, {
@@ -5645,6 +5764,7 @@ declare const globalSettingsSchema: z.ZodObject<{
5645
5764
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
5646
5765
  mcpEnabled?: boolean | undefined;
5647
5766
  enableMcpServerCreation?: boolean | undefined;
5767
+ remoteControlEnabled?: boolean | undefined;
5648
5768
  modeApiConfigs?: Record<string, string> | undefined;
5649
5769
  customModePrompts?: Record<string, {
5650
5770
  description?: string | undefined;
@@ -5684,7 +5804,7 @@ declare const globalSettingsSchema: z.ZodObject<{
5684
5804
  listApiConfigMeta?: {
5685
5805
  id: string;
5686
5806
  name: string;
5687
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
5807
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
5688
5808
  }[] | undefined;
5689
5809
  pinnedApiConfigs?: Record<string, boolean> | undefined;
5690
5810
  lastShownAnnouncementId?: string | undefined;
@@ -5766,6 +5886,7 @@ declare const globalSettingsSchema: z.ZodObject<{
5766
5886
  powerSteering?: boolean | undefined;
5767
5887
  multiFileApplyDiff?: boolean | undefined;
5768
5888
  preventFocusDisruption?: boolean | undefined;
5889
+ assistantMessageParser?: boolean | undefined;
5769
5890
  } | undefined;
5770
5891
  codebaseIndexModels?: {
5771
5892
  openai?: Record<string, {
@@ -5799,6 +5920,7 @@ declare const globalSettingsSchema: z.ZodObject<{
5799
5920
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
5800
5921
  mcpEnabled?: boolean | undefined;
5801
5922
  enableMcpServerCreation?: boolean | undefined;
5923
+ remoteControlEnabled?: boolean | undefined;
5802
5924
  modeApiConfigs?: Record<string, string> | undefined;
5803
5925
  customModePrompts?: Record<string, {
5804
5926
  description?: string | undefined;
@@ -5816,7 +5938,7 @@ declare const globalSettingsSchema: z.ZodObject<{
5816
5938
  lastModeImportPath?: string | undefined;
5817
5939
  }>;
5818
5940
  type GlobalSettings = z.infer<typeof globalSettingsSchema>;
5819
- 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", "allowedMaxCost", "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", "includeTaskHistoryInEnhance", "historyPreviewCollapsed", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath"];
5941
+ 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", "allowedMaxCost", "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", "remoteControlEnabled", "modeApiConfigs", "customModePrompts", "customSupportPrompts", "enhancementApiConfigId", "includeTaskHistoryInEnhance", "historyPreviewCollapsed", "profileThresholds", "hasOpenedModeSelector", "lastModeExportPath", "lastModeImportPath"];
5820
5942
  /**
5821
5943
  * RooCodeSettings
5822
5944
  */
@@ -5837,6 +5959,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
5837
5959
  modelMaxTokens: z.ZodOptional<z.ZodNumber>;
5838
5960
  modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
5839
5961
  apiModelId: z.ZodOptional<z.ZodString>;
5962
+ zaiApiKey: z.ZodOptional<z.ZodString>;
5963
+ zaiApiLine: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"china">, z.ZodLiteral<"international">]>>;
5840
5964
  sambaNovaApiKey: z.ZodOptional<z.ZodString>;
5841
5965
  cerebrasApiKey: z.ZodOptional<z.ZodString>;
5842
5966
  litellmBaseUrl: z.ZodOptional<z.ZodString>;
@@ -6026,21 +6150,21 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
6026
6150
  apiKey: z.ZodOptional<z.ZodString>;
6027
6151
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
6028
6152
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
6029
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"]>>;
6153
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"]>>;
6030
6154
  } & {
6031
6155
  currentApiConfigName: z.ZodOptional<z.ZodString>;
6032
6156
  listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
6033
6157
  id: z.ZodString;
6034
6158
  name: z.ZodString;
6035
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"]>>;
6159
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"]>>;
6036
6160
  }, "strip", z.ZodTypeAny, {
6037
6161
  id: string;
6038
6162
  name: string;
6039
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
6163
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
6040
6164
  }, {
6041
6165
  id: string;
6042
6166
  name: string;
6043
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
6167
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
6044
6168
  }>, "many">>;
6045
6169
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
6046
6170
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -6152,14 +6276,17 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
6152
6276
  powerSteering: z.ZodOptional<z.ZodBoolean>;
6153
6277
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
6154
6278
  preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
6279
+ assistantMessageParser: z.ZodOptional<z.ZodBoolean>;
6155
6280
  }, "strip", z.ZodTypeAny, {
6156
6281
  powerSteering?: boolean | undefined;
6157
6282
  multiFileApplyDiff?: boolean | undefined;
6158
6283
  preventFocusDisruption?: boolean | undefined;
6284
+ assistantMessageParser?: boolean | undefined;
6159
6285
  }, {
6160
6286
  powerSteering?: boolean | undefined;
6161
6287
  multiFileApplyDiff?: boolean | undefined;
6162
6288
  preventFocusDisruption?: boolean | undefined;
6289
+ assistantMessageParser?: boolean | undefined;
6163
6290
  }>>;
6164
6291
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
6165
6292
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -6268,6 +6395,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
6268
6395
  telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
6269
6396
  mcpEnabled: z.ZodOptional<z.ZodBoolean>;
6270
6397
  enableMcpServerCreation: z.ZodOptional<z.ZodBoolean>;
6398
+ remoteControlEnabled: z.ZodOptional<z.ZodBoolean>;
6271
6399
  mode: z.ZodOptional<z.ZodString>;
6272
6400
  modeApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
6273
6401
  customModes: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -6352,7 +6480,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
6352
6480
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6353
6481
  codebaseIndexGeminiApiKey?: string | undefined;
6354
6482
  codebaseIndexMistralApiKey?: string | undefined;
6355
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
6483
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
6356
6484
  includeMaxTokens?: boolean | undefined;
6357
6485
  diffEnabled?: boolean | undefined;
6358
6486
  todoListEnabled?: boolean | undefined;
@@ -6477,6 +6605,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
6477
6605
  litellmUsePromptCache?: boolean | undefined;
6478
6606
  cerebrasApiKey?: string | undefined;
6479
6607
  sambaNovaApiKey?: string | undefined;
6608
+ zaiApiKey?: string | undefined;
6609
+ zaiApiLine?: "china" | "international" | undefined;
6480
6610
  mode?: string | undefined;
6481
6611
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
6482
6612
  customInstructions?: string | undefined;
@@ -6497,7 +6627,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
6497
6627
  listApiConfigMeta?: {
6498
6628
  id: string;
6499
6629
  name: string;
6500
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
6630
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
6501
6631
  }[] | undefined;
6502
6632
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6503
6633
  lastShownAnnouncementId?: string | undefined;
@@ -6579,6 +6709,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
6579
6709
  powerSteering?: boolean | undefined;
6580
6710
  multiFileApplyDiff?: boolean | undefined;
6581
6711
  preventFocusDisruption?: boolean | undefined;
6712
+ assistantMessageParser?: boolean | undefined;
6582
6713
  } | undefined;
6583
6714
  codebaseIndexModels?: {
6584
6715
  openai?: Record<string, {
@@ -6612,6 +6743,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
6612
6743
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
6613
6744
  mcpEnabled?: boolean | undefined;
6614
6745
  enableMcpServerCreation?: boolean | undefined;
6746
+ remoteControlEnabled?: boolean | undefined;
6615
6747
  modeApiConfigs?: Record<string, string> | undefined;
6616
6748
  customModePrompts?: Record<string, {
6617
6749
  description?: string | undefined;
@@ -6636,7 +6768,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
6636
6768
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
6637
6769
  codebaseIndexGeminiApiKey?: string | undefined;
6638
6770
  codebaseIndexMistralApiKey?: string | undefined;
6639
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
6771
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
6640
6772
  includeMaxTokens?: boolean | undefined;
6641
6773
  diffEnabled?: boolean | undefined;
6642
6774
  todoListEnabled?: boolean | undefined;
@@ -6761,6 +6893,8 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
6761
6893
  litellmUsePromptCache?: boolean | undefined;
6762
6894
  cerebrasApiKey?: string | undefined;
6763
6895
  sambaNovaApiKey?: string | undefined;
6896
+ zaiApiKey?: string | undefined;
6897
+ zaiApiLine?: "china" | "international" | undefined;
6764
6898
  mode?: string | undefined;
6765
6899
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
6766
6900
  customInstructions?: string | undefined;
@@ -6781,7 +6915,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
6781
6915
  listApiConfigMeta?: {
6782
6916
  id: string;
6783
6917
  name: string;
6784
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
6918
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
6785
6919
  }[] | undefined;
6786
6920
  pinnedApiConfigs?: Record<string, boolean> | undefined;
6787
6921
  lastShownAnnouncementId?: string | undefined;
@@ -6863,6 +6997,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
6863
6997
  powerSteering?: boolean | undefined;
6864
6998
  multiFileApplyDiff?: boolean | undefined;
6865
6999
  preventFocusDisruption?: boolean | undefined;
7000
+ assistantMessageParser?: boolean | undefined;
6866
7001
  } | undefined;
6867
7002
  codebaseIndexModels?: {
6868
7003
  openai?: Record<string, {
@@ -6896,6 +7031,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
6896
7031
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
6897
7032
  mcpEnabled?: boolean | undefined;
6898
7033
  enableMcpServerCreation?: boolean | undefined;
7034
+ remoteControlEnabled?: boolean | undefined;
6899
7035
  modeApiConfigs?: Record<string, string> | undefined;
6900
7036
  customModePrompts?: Record<string, {
6901
7037
  description?: string | undefined;
@@ -6996,6 +7132,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
6996
7132
  modelMaxTokens: z.ZodOptional<z.ZodNumber>;
6997
7133
  modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
6998
7134
  apiModelId: z.ZodOptional<z.ZodString>;
7135
+ zaiApiKey: z.ZodOptional<z.ZodString>;
7136
+ zaiApiLine: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"china">, z.ZodLiteral<"international">]>>;
6999
7137
  sambaNovaApiKey: z.ZodOptional<z.ZodString>;
7000
7138
  cerebrasApiKey: z.ZodOptional<z.ZodString>;
7001
7139
  litellmBaseUrl: z.ZodOptional<z.ZodString>;
@@ -7185,21 +7323,21 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7185
7323
  apiKey: z.ZodOptional<z.ZodString>;
7186
7324
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
7187
7325
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
7188
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"]>>;
7326
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"]>>;
7189
7327
  } & {
7190
7328
  currentApiConfigName: z.ZodOptional<z.ZodString>;
7191
7329
  listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
7192
7330
  id: z.ZodString;
7193
7331
  name: z.ZodString;
7194
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"]>>;
7332
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"]>>;
7195
7333
  }, "strip", z.ZodTypeAny, {
7196
7334
  id: string;
7197
7335
  name: string;
7198
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
7336
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
7199
7337
  }, {
7200
7338
  id: string;
7201
7339
  name: string;
7202
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
7340
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
7203
7341
  }>, "many">>;
7204
7342
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
7205
7343
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -7311,14 +7449,17 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7311
7449
  powerSteering: z.ZodOptional<z.ZodBoolean>;
7312
7450
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
7313
7451
  preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
7452
+ assistantMessageParser: z.ZodOptional<z.ZodBoolean>;
7314
7453
  }, "strip", z.ZodTypeAny, {
7315
7454
  powerSteering?: boolean | undefined;
7316
7455
  multiFileApplyDiff?: boolean | undefined;
7317
7456
  preventFocusDisruption?: boolean | undefined;
7457
+ assistantMessageParser?: boolean | undefined;
7318
7458
  }, {
7319
7459
  powerSteering?: boolean | undefined;
7320
7460
  multiFileApplyDiff?: boolean | undefined;
7321
7461
  preventFocusDisruption?: boolean | undefined;
7462
+ assistantMessageParser?: boolean | undefined;
7322
7463
  }>>;
7323
7464
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
7324
7465
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -7427,6 +7568,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7427
7568
  telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
7428
7569
  mcpEnabled: z.ZodOptional<z.ZodBoolean>;
7429
7570
  enableMcpServerCreation: z.ZodOptional<z.ZodBoolean>;
7571
+ remoteControlEnabled: z.ZodOptional<z.ZodBoolean>;
7430
7572
  mode: z.ZodOptional<z.ZodString>;
7431
7573
  modeApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
7432
7574
  customModes: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -7511,7 +7653,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7511
7653
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
7512
7654
  codebaseIndexGeminiApiKey?: string | undefined;
7513
7655
  codebaseIndexMistralApiKey?: string | undefined;
7514
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
7656
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
7515
7657
  includeMaxTokens?: boolean | undefined;
7516
7658
  diffEnabled?: boolean | undefined;
7517
7659
  todoListEnabled?: boolean | undefined;
@@ -7636,6 +7778,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7636
7778
  litellmUsePromptCache?: boolean | undefined;
7637
7779
  cerebrasApiKey?: string | undefined;
7638
7780
  sambaNovaApiKey?: string | undefined;
7781
+ zaiApiKey?: string | undefined;
7782
+ zaiApiLine?: "china" | "international" | undefined;
7639
7783
  mode?: string | undefined;
7640
7784
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
7641
7785
  customInstructions?: string | undefined;
@@ -7656,7 +7800,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7656
7800
  listApiConfigMeta?: {
7657
7801
  id: string;
7658
7802
  name: string;
7659
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
7803
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
7660
7804
  }[] | undefined;
7661
7805
  pinnedApiConfigs?: Record<string, boolean> | undefined;
7662
7806
  lastShownAnnouncementId?: string | undefined;
@@ -7738,6 +7882,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7738
7882
  powerSteering?: boolean | undefined;
7739
7883
  multiFileApplyDiff?: boolean | undefined;
7740
7884
  preventFocusDisruption?: boolean | undefined;
7885
+ assistantMessageParser?: boolean | undefined;
7741
7886
  } | undefined;
7742
7887
  codebaseIndexModels?: {
7743
7888
  openai?: Record<string, {
@@ -7771,6 +7916,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7771
7916
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
7772
7917
  mcpEnabled?: boolean | undefined;
7773
7918
  enableMcpServerCreation?: boolean | undefined;
7919
+ remoteControlEnabled?: boolean | undefined;
7774
7920
  modeApiConfigs?: Record<string, string> | undefined;
7775
7921
  customModePrompts?: Record<string, {
7776
7922
  description?: string | undefined;
@@ -7795,7 +7941,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7795
7941
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
7796
7942
  codebaseIndexGeminiApiKey?: string | undefined;
7797
7943
  codebaseIndexMistralApiKey?: string | undefined;
7798
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
7944
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
7799
7945
  includeMaxTokens?: boolean | undefined;
7800
7946
  diffEnabled?: boolean | undefined;
7801
7947
  todoListEnabled?: boolean | undefined;
@@ -7920,6 +8066,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7920
8066
  litellmUsePromptCache?: boolean | undefined;
7921
8067
  cerebrasApiKey?: string | undefined;
7922
8068
  sambaNovaApiKey?: string | undefined;
8069
+ zaiApiKey?: string | undefined;
8070
+ zaiApiLine?: "china" | "international" | undefined;
7923
8071
  mode?: string | undefined;
7924
8072
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
7925
8073
  customInstructions?: string | undefined;
@@ -7940,7 +8088,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
7940
8088
  listApiConfigMeta?: {
7941
8089
  id: string;
7942
8090
  name: string;
7943
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
8091
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
7944
8092
  }[] | undefined;
7945
8093
  pinnedApiConfigs?: Record<string, boolean> | undefined;
7946
8094
  lastShownAnnouncementId?: string | undefined;
@@ -8022,6 +8170,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8022
8170
  powerSteering?: boolean | undefined;
8023
8171
  multiFileApplyDiff?: boolean | undefined;
8024
8172
  preventFocusDisruption?: boolean | undefined;
8173
+ assistantMessageParser?: boolean | undefined;
8025
8174
  } | undefined;
8026
8175
  codebaseIndexModels?: {
8027
8176
  openai?: Record<string, {
@@ -8055,6 +8204,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8055
8204
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
8056
8205
  mcpEnabled?: boolean | undefined;
8057
8206
  enableMcpServerCreation?: boolean | undefined;
8207
+ remoteControlEnabled?: boolean | undefined;
8058
8208
  modeApiConfigs?: Record<string, string> | undefined;
8059
8209
  customModePrompts?: Record<string, {
8060
8210
  description?: string | undefined;
@@ -8085,7 +8235,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8085
8235
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8086
8236
  codebaseIndexGeminiApiKey?: string | undefined;
8087
8237
  codebaseIndexMistralApiKey?: string | undefined;
8088
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
8238
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
8089
8239
  includeMaxTokens?: boolean | undefined;
8090
8240
  diffEnabled?: boolean | undefined;
8091
8241
  todoListEnabled?: boolean | undefined;
@@ -8210,6 +8360,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8210
8360
  litellmUsePromptCache?: boolean | undefined;
8211
8361
  cerebrasApiKey?: string | undefined;
8212
8362
  sambaNovaApiKey?: string | undefined;
8363
+ zaiApiKey?: string | undefined;
8364
+ zaiApiLine?: "china" | "international" | undefined;
8213
8365
  mode?: string | undefined;
8214
8366
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
8215
8367
  customInstructions?: string | undefined;
@@ -8230,7 +8382,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8230
8382
  listApiConfigMeta?: {
8231
8383
  id: string;
8232
8384
  name: string;
8233
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
8385
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
8234
8386
  }[] | undefined;
8235
8387
  pinnedApiConfigs?: Record<string, boolean> | undefined;
8236
8388
  lastShownAnnouncementId?: string | undefined;
@@ -8312,6 +8464,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8312
8464
  powerSteering?: boolean | undefined;
8313
8465
  multiFileApplyDiff?: boolean | undefined;
8314
8466
  preventFocusDisruption?: boolean | undefined;
8467
+ assistantMessageParser?: boolean | undefined;
8315
8468
  } | undefined;
8316
8469
  codebaseIndexModels?: {
8317
8470
  openai?: Record<string, {
@@ -8345,6 +8498,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8345
8498
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
8346
8499
  mcpEnabled?: boolean | undefined;
8347
8500
  enableMcpServerCreation?: boolean | undefined;
8501
+ remoteControlEnabled?: boolean | undefined;
8348
8502
  modeApiConfigs?: Record<string, string> | undefined;
8349
8503
  customModePrompts?: Record<string, {
8350
8504
  description?: string | undefined;
@@ -8374,7 +8528,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8374
8528
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8375
8529
  codebaseIndexGeminiApiKey?: string | undefined;
8376
8530
  codebaseIndexMistralApiKey?: string | undefined;
8377
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
8531
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
8378
8532
  includeMaxTokens?: boolean | undefined;
8379
8533
  diffEnabled?: boolean | undefined;
8380
8534
  todoListEnabled?: boolean | undefined;
@@ -8499,6 +8653,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8499
8653
  litellmUsePromptCache?: boolean | undefined;
8500
8654
  cerebrasApiKey?: string | undefined;
8501
8655
  sambaNovaApiKey?: string | undefined;
8656
+ zaiApiKey?: string | undefined;
8657
+ zaiApiLine?: "china" | "international" | undefined;
8502
8658
  mode?: string | undefined;
8503
8659
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
8504
8660
  customInstructions?: string | undefined;
@@ -8519,7 +8675,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8519
8675
  listApiConfigMeta?: {
8520
8676
  id: string;
8521
8677
  name: string;
8522
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
8678
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
8523
8679
  }[] | undefined;
8524
8680
  pinnedApiConfigs?: Record<string, boolean> | undefined;
8525
8681
  lastShownAnnouncementId?: string | undefined;
@@ -8601,6 +8757,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8601
8757
  powerSteering?: boolean | undefined;
8602
8758
  multiFileApplyDiff?: boolean | undefined;
8603
8759
  preventFocusDisruption?: boolean | undefined;
8760
+ assistantMessageParser?: boolean | undefined;
8604
8761
  } | undefined;
8605
8762
  codebaseIndexModels?: {
8606
8763
  openai?: Record<string, {
@@ -8634,6 +8791,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8634
8791
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
8635
8792
  mcpEnabled?: boolean | undefined;
8636
8793
  enableMcpServerCreation?: boolean | undefined;
8794
+ remoteControlEnabled?: boolean | undefined;
8637
8795
  modeApiConfigs?: Record<string, string> | undefined;
8638
8796
  customModePrompts?: Record<string, {
8639
8797
  description?: string | undefined;
@@ -8666,7 +8824,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8666
8824
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8667
8825
  codebaseIndexGeminiApiKey?: string | undefined;
8668
8826
  codebaseIndexMistralApiKey?: string | undefined;
8669
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
8827
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
8670
8828
  includeMaxTokens?: boolean | undefined;
8671
8829
  diffEnabled?: boolean | undefined;
8672
8830
  todoListEnabled?: boolean | undefined;
@@ -8791,6 +8949,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8791
8949
  litellmUsePromptCache?: boolean | undefined;
8792
8950
  cerebrasApiKey?: string | undefined;
8793
8951
  sambaNovaApiKey?: string | undefined;
8952
+ zaiApiKey?: string | undefined;
8953
+ zaiApiLine?: "china" | "international" | undefined;
8794
8954
  mode?: string | undefined;
8795
8955
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
8796
8956
  customInstructions?: string | undefined;
@@ -8811,7 +8971,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8811
8971
  listApiConfigMeta?: {
8812
8972
  id: string;
8813
8973
  name: string;
8814
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
8974
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
8815
8975
  }[] | undefined;
8816
8976
  pinnedApiConfigs?: Record<string, boolean> | undefined;
8817
8977
  lastShownAnnouncementId?: string | undefined;
@@ -8893,6 +9053,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8893
9053
  powerSteering?: boolean | undefined;
8894
9054
  multiFileApplyDiff?: boolean | undefined;
8895
9055
  preventFocusDisruption?: boolean | undefined;
9056
+ assistantMessageParser?: boolean | undefined;
8896
9057
  } | undefined;
8897
9058
  codebaseIndexModels?: {
8898
9059
  openai?: Record<string, {
@@ -8926,6 +9087,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8926
9087
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
8927
9088
  mcpEnabled?: boolean | undefined;
8928
9089
  enableMcpServerCreation?: boolean | undefined;
9090
+ remoteControlEnabled?: boolean | undefined;
8929
9091
  modeApiConfigs?: Record<string, string> | undefined;
8930
9092
  customModePrompts?: Record<string, {
8931
9093
  description?: string | undefined;
@@ -8958,7 +9120,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8958
9120
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
8959
9121
  codebaseIndexGeminiApiKey?: string | undefined;
8960
9122
  codebaseIndexMistralApiKey?: string | undefined;
8961
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
9123
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
8962
9124
  includeMaxTokens?: boolean | undefined;
8963
9125
  diffEnabled?: boolean | undefined;
8964
9126
  todoListEnabled?: boolean | undefined;
@@ -9083,6 +9245,8 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9083
9245
  litellmUsePromptCache?: boolean | undefined;
9084
9246
  cerebrasApiKey?: string | undefined;
9085
9247
  sambaNovaApiKey?: string | undefined;
9248
+ zaiApiKey?: string | undefined;
9249
+ zaiApiLine?: "china" | "international" | undefined;
9086
9250
  mode?: string | undefined;
9087
9251
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
9088
9252
  customInstructions?: string | undefined;
@@ -9103,7 +9267,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9103
9267
  listApiConfigMeta?: {
9104
9268
  id: string;
9105
9269
  name: string;
9106
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
9270
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
9107
9271
  }[] | undefined;
9108
9272
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9109
9273
  lastShownAnnouncementId?: string | undefined;
@@ -9185,6 +9349,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9185
9349
  powerSteering?: boolean | undefined;
9186
9350
  multiFileApplyDiff?: boolean | undefined;
9187
9351
  preventFocusDisruption?: boolean | undefined;
9352
+ assistantMessageParser?: boolean | undefined;
9188
9353
  } | undefined;
9189
9354
  codebaseIndexModels?: {
9190
9355
  openai?: Record<string, {
@@ -9218,6 +9383,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9218
9383
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
9219
9384
  mcpEnabled?: boolean | undefined;
9220
9385
  enableMcpServerCreation?: boolean | undefined;
9386
+ remoteControlEnabled?: boolean | undefined;
9221
9387
  modeApiConfigs?: Record<string, string> | undefined;
9222
9388
  customModePrompts?: Record<string, {
9223
9389
  description?: string | undefined;
@@ -9316,6 +9482,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9316
9482
  modelMaxTokens: z.ZodOptional<z.ZodNumber>;
9317
9483
  modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
9318
9484
  apiModelId: z.ZodOptional<z.ZodString>;
9485
+ zaiApiKey: z.ZodOptional<z.ZodString>;
9486
+ zaiApiLine: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"china">, z.ZodLiteral<"international">]>>;
9319
9487
  sambaNovaApiKey: z.ZodOptional<z.ZodString>;
9320
9488
  cerebrasApiKey: z.ZodOptional<z.ZodString>;
9321
9489
  litellmBaseUrl: z.ZodOptional<z.ZodString>;
@@ -9505,21 +9673,21 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9505
9673
  apiKey: z.ZodOptional<z.ZodString>;
9506
9674
  anthropicBaseUrl: z.ZodOptional<z.ZodString>;
9507
9675
  anthropicUseAuthToken: z.ZodOptional<z.ZodBoolean>;
9508
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"]>>;
9676
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"]>>;
9509
9677
  } & {
9510
9678
  currentApiConfigName: z.ZodOptional<z.ZodString>;
9511
9679
  listApiConfigMeta: z.ZodOptional<z.ZodArray<z.ZodObject<{
9512
9680
  id: z.ZodString;
9513
9681
  name: z.ZodString;
9514
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"]>>;
9682
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"]>>;
9515
9683
  }, "strip", z.ZodTypeAny, {
9516
9684
  id: string;
9517
9685
  name: string;
9518
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
9686
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
9519
9687
  }, {
9520
9688
  id: string;
9521
9689
  name: string;
9522
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
9690
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
9523
9691
  }>, "many">>;
9524
9692
  pinnedApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
9525
9693
  lastShownAnnouncementId: z.ZodOptional<z.ZodString>;
@@ -9631,14 +9799,17 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9631
9799
  powerSteering: z.ZodOptional<z.ZodBoolean>;
9632
9800
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
9633
9801
  preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
9802
+ assistantMessageParser: z.ZodOptional<z.ZodBoolean>;
9634
9803
  }, "strip", z.ZodTypeAny, {
9635
9804
  powerSteering?: boolean | undefined;
9636
9805
  multiFileApplyDiff?: boolean | undefined;
9637
9806
  preventFocusDisruption?: boolean | undefined;
9807
+ assistantMessageParser?: boolean | undefined;
9638
9808
  }, {
9639
9809
  powerSteering?: boolean | undefined;
9640
9810
  multiFileApplyDiff?: boolean | undefined;
9641
9811
  preventFocusDisruption?: boolean | undefined;
9812
+ assistantMessageParser?: boolean | undefined;
9642
9813
  }>>;
9643
9814
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
9644
9815
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9747,6 +9918,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9747
9918
  telemetrySetting: z.ZodOptional<z.ZodEnum<["unset", "enabled", "disabled"]>>;
9748
9919
  mcpEnabled: z.ZodOptional<z.ZodBoolean>;
9749
9920
  enableMcpServerCreation: z.ZodOptional<z.ZodBoolean>;
9921
+ remoteControlEnabled: z.ZodOptional<z.ZodBoolean>;
9750
9922
  mode: z.ZodOptional<z.ZodString>;
9751
9923
  modeApiConfigs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
9752
9924
  customModes: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -9831,7 +10003,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9831
10003
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
9832
10004
  codebaseIndexGeminiApiKey?: string | undefined;
9833
10005
  codebaseIndexMistralApiKey?: string | undefined;
9834
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
10006
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
9835
10007
  includeMaxTokens?: boolean | undefined;
9836
10008
  diffEnabled?: boolean | undefined;
9837
10009
  todoListEnabled?: boolean | undefined;
@@ -9956,6 +10128,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9956
10128
  litellmUsePromptCache?: boolean | undefined;
9957
10129
  cerebrasApiKey?: string | undefined;
9958
10130
  sambaNovaApiKey?: string | undefined;
10131
+ zaiApiKey?: string | undefined;
10132
+ zaiApiLine?: "china" | "international" | undefined;
9959
10133
  mode?: string | undefined;
9960
10134
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
9961
10135
  customInstructions?: string | undefined;
@@ -9976,7 +10150,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
9976
10150
  listApiConfigMeta?: {
9977
10151
  id: string;
9978
10152
  name: string;
9979
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
10153
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
9980
10154
  }[] | undefined;
9981
10155
  pinnedApiConfigs?: Record<string, boolean> | undefined;
9982
10156
  lastShownAnnouncementId?: string | undefined;
@@ -10058,6 +10232,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10058
10232
  powerSteering?: boolean | undefined;
10059
10233
  multiFileApplyDiff?: boolean | undefined;
10060
10234
  preventFocusDisruption?: boolean | undefined;
10235
+ assistantMessageParser?: boolean | undefined;
10061
10236
  } | undefined;
10062
10237
  codebaseIndexModels?: {
10063
10238
  openai?: Record<string, {
@@ -10091,6 +10266,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10091
10266
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
10092
10267
  mcpEnabled?: boolean | undefined;
10093
10268
  enableMcpServerCreation?: boolean | undefined;
10269
+ remoteControlEnabled?: boolean | undefined;
10094
10270
  modeApiConfigs?: Record<string, string> | undefined;
10095
10271
  customModePrompts?: Record<string, {
10096
10272
  description?: string | undefined;
@@ -10115,7 +10291,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10115
10291
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
10116
10292
  codebaseIndexGeminiApiKey?: string | undefined;
10117
10293
  codebaseIndexMistralApiKey?: string | undefined;
10118
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
10294
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
10119
10295
  includeMaxTokens?: boolean | undefined;
10120
10296
  diffEnabled?: boolean | undefined;
10121
10297
  todoListEnabled?: boolean | undefined;
@@ -10240,6 +10416,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10240
10416
  litellmUsePromptCache?: boolean | undefined;
10241
10417
  cerebrasApiKey?: string | undefined;
10242
10418
  sambaNovaApiKey?: string | undefined;
10419
+ zaiApiKey?: string | undefined;
10420
+ zaiApiLine?: "china" | "international" | undefined;
10243
10421
  mode?: string | undefined;
10244
10422
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
10245
10423
  customInstructions?: string | undefined;
@@ -10260,7 +10438,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10260
10438
  listApiConfigMeta?: {
10261
10439
  id: string;
10262
10440
  name: string;
10263
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
10441
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
10264
10442
  }[] | undefined;
10265
10443
  pinnedApiConfigs?: Record<string, boolean> | undefined;
10266
10444
  lastShownAnnouncementId?: string | undefined;
@@ -10342,6 +10520,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10342
10520
  powerSteering?: boolean | undefined;
10343
10521
  multiFileApplyDiff?: boolean | undefined;
10344
10522
  preventFocusDisruption?: boolean | undefined;
10523
+ assistantMessageParser?: boolean | undefined;
10345
10524
  } | undefined;
10346
10525
  codebaseIndexModels?: {
10347
10526
  openai?: Record<string, {
@@ -10375,6 +10554,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10375
10554
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
10376
10555
  mcpEnabled?: boolean | undefined;
10377
10556
  enableMcpServerCreation?: boolean | undefined;
10557
+ remoteControlEnabled?: boolean | undefined;
10378
10558
  modeApiConfigs?: Record<string, string> | undefined;
10379
10559
  customModePrompts?: Record<string, {
10380
10560
  description?: string | undefined;
@@ -10405,7 +10585,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10405
10585
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
10406
10586
  codebaseIndexGeminiApiKey?: string | undefined;
10407
10587
  codebaseIndexMistralApiKey?: string | undefined;
10408
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
10588
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
10409
10589
  includeMaxTokens?: boolean | undefined;
10410
10590
  diffEnabled?: boolean | undefined;
10411
10591
  todoListEnabled?: boolean | undefined;
@@ -10530,6 +10710,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10530
10710
  litellmUsePromptCache?: boolean | undefined;
10531
10711
  cerebrasApiKey?: string | undefined;
10532
10712
  sambaNovaApiKey?: string | undefined;
10713
+ zaiApiKey?: string | undefined;
10714
+ zaiApiLine?: "china" | "international" | undefined;
10533
10715
  mode?: string | undefined;
10534
10716
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
10535
10717
  customInstructions?: string | undefined;
@@ -10550,7 +10732,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10550
10732
  listApiConfigMeta?: {
10551
10733
  id: string;
10552
10734
  name: string;
10553
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
10735
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
10554
10736
  }[] | undefined;
10555
10737
  pinnedApiConfigs?: Record<string, boolean> | undefined;
10556
10738
  lastShownAnnouncementId?: string | undefined;
@@ -10632,6 +10814,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10632
10814
  powerSteering?: boolean | undefined;
10633
10815
  multiFileApplyDiff?: boolean | undefined;
10634
10816
  preventFocusDisruption?: boolean | undefined;
10817
+ assistantMessageParser?: boolean | undefined;
10635
10818
  } | undefined;
10636
10819
  codebaseIndexModels?: {
10637
10820
  openai?: Record<string, {
@@ -10665,6 +10848,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10665
10848
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
10666
10849
  mcpEnabled?: boolean | undefined;
10667
10850
  enableMcpServerCreation?: boolean | undefined;
10851
+ remoteControlEnabled?: boolean | undefined;
10668
10852
  modeApiConfigs?: Record<string, string> | undefined;
10669
10853
  customModePrompts?: Record<string, {
10670
10854
  description?: string | undefined;
@@ -10694,7 +10878,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10694
10878
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
10695
10879
  codebaseIndexGeminiApiKey?: string | undefined;
10696
10880
  codebaseIndexMistralApiKey?: string | undefined;
10697
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
10881
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
10698
10882
  includeMaxTokens?: boolean | undefined;
10699
10883
  diffEnabled?: boolean | undefined;
10700
10884
  todoListEnabled?: boolean | undefined;
@@ -10819,6 +11003,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10819
11003
  litellmUsePromptCache?: boolean | undefined;
10820
11004
  cerebrasApiKey?: string | undefined;
10821
11005
  sambaNovaApiKey?: string | undefined;
11006
+ zaiApiKey?: string | undefined;
11007
+ zaiApiLine?: "china" | "international" | undefined;
10822
11008
  mode?: string | undefined;
10823
11009
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
10824
11010
  customInstructions?: string | undefined;
@@ -10839,7 +11025,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10839
11025
  listApiConfigMeta?: {
10840
11026
  id: string;
10841
11027
  name: string;
10842
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
11028
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
10843
11029
  }[] | undefined;
10844
11030
  pinnedApiConfigs?: Record<string, boolean> | undefined;
10845
11031
  lastShownAnnouncementId?: string | undefined;
@@ -10921,6 +11107,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10921
11107
  powerSteering?: boolean | undefined;
10922
11108
  multiFileApplyDiff?: boolean | undefined;
10923
11109
  preventFocusDisruption?: boolean | undefined;
11110
+ assistantMessageParser?: boolean | undefined;
10924
11111
  } | undefined;
10925
11112
  codebaseIndexModels?: {
10926
11113
  openai?: Record<string, {
@@ -10954,6 +11141,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10954
11141
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
10955
11142
  mcpEnabled?: boolean | undefined;
10956
11143
  enableMcpServerCreation?: boolean | undefined;
11144
+ remoteControlEnabled?: boolean | undefined;
10957
11145
  modeApiConfigs?: Record<string, string> | undefined;
10958
11146
  customModePrompts?: Record<string, {
10959
11147
  description?: string | undefined;
@@ -10986,7 +11174,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10986
11174
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
10987
11175
  codebaseIndexGeminiApiKey?: string | undefined;
10988
11176
  codebaseIndexMistralApiKey?: string | undefined;
10989
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
11177
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
10990
11178
  includeMaxTokens?: boolean | undefined;
10991
11179
  diffEnabled?: boolean | undefined;
10992
11180
  todoListEnabled?: boolean | undefined;
@@ -11111,6 +11299,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11111
11299
  litellmUsePromptCache?: boolean | undefined;
11112
11300
  cerebrasApiKey?: string | undefined;
11113
11301
  sambaNovaApiKey?: string | undefined;
11302
+ zaiApiKey?: string | undefined;
11303
+ zaiApiLine?: "china" | "international" | undefined;
11114
11304
  mode?: string | undefined;
11115
11305
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
11116
11306
  customInstructions?: string | undefined;
@@ -11131,7 +11321,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11131
11321
  listApiConfigMeta?: {
11132
11322
  id: string;
11133
11323
  name: string;
11134
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
11324
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
11135
11325
  }[] | undefined;
11136
11326
  pinnedApiConfigs?: Record<string, boolean> | undefined;
11137
11327
  lastShownAnnouncementId?: string | undefined;
@@ -11213,6 +11403,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11213
11403
  powerSteering?: boolean | undefined;
11214
11404
  multiFileApplyDiff?: boolean | undefined;
11215
11405
  preventFocusDisruption?: boolean | undefined;
11406
+ assistantMessageParser?: boolean | undefined;
11216
11407
  } | undefined;
11217
11408
  codebaseIndexModels?: {
11218
11409
  openai?: Record<string, {
@@ -11246,6 +11437,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11246
11437
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
11247
11438
  mcpEnabled?: boolean | undefined;
11248
11439
  enableMcpServerCreation?: boolean | undefined;
11440
+ remoteControlEnabled?: boolean | undefined;
11249
11441
  modeApiConfigs?: Record<string, string> | undefined;
11250
11442
  customModePrompts?: Record<string, {
11251
11443
  description?: string | undefined;
@@ -11278,7 +11470,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11278
11470
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
11279
11471
  codebaseIndexGeminiApiKey?: string | undefined;
11280
11472
  codebaseIndexMistralApiKey?: string | undefined;
11281
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
11473
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
11282
11474
  includeMaxTokens?: boolean | undefined;
11283
11475
  diffEnabled?: boolean | undefined;
11284
11476
  todoListEnabled?: boolean | undefined;
@@ -11403,6 +11595,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11403
11595
  litellmUsePromptCache?: boolean | undefined;
11404
11596
  cerebrasApiKey?: string | undefined;
11405
11597
  sambaNovaApiKey?: string | undefined;
11598
+ zaiApiKey?: string | undefined;
11599
+ zaiApiLine?: "china" | "international" | undefined;
11406
11600
  mode?: string | undefined;
11407
11601
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
11408
11602
  customInstructions?: string | undefined;
@@ -11423,7 +11617,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11423
11617
  listApiConfigMeta?: {
11424
11618
  id: string;
11425
11619
  name: string;
11426
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
11620
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
11427
11621
  }[] | undefined;
11428
11622
  pinnedApiConfigs?: Record<string, boolean> | undefined;
11429
11623
  lastShownAnnouncementId?: string | undefined;
@@ -11505,6 +11699,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11505
11699
  powerSteering?: boolean | undefined;
11506
11700
  multiFileApplyDiff?: boolean | undefined;
11507
11701
  preventFocusDisruption?: boolean | undefined;
11702
+ assistantMessageParser?: boolean | undefined;
11508
11703
  } | undefined;
11509
11704
  codebaseIndexModels?: {
11510
11705
  openai?: Record<string, {
@@ -11538,6 +11733,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11538
11733
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
11539
11734
  mcpEnabled?: boolean | undefined;
11540
11735
  enableMcpServerCreation?: boolean | undefined;
11736
+ remoteControlEnabled?: boolean | undefined;
11541
11737
  modeApiConfigs?: Record<string, string> | undefined;
11542
11738
  customModePrompts?: Record<string, {
11543
11739
  description?: string | undefined;
@@ -11592,7 +11788,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11592
11788
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
11593
11789
  codebaseIndexGeminiApiKey?: string | undefined;
11594
11790
  codebaseIndexMistralApiKey?: string | undefined;
11595
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
11791
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
11596
11792
  includeMaxTokens?: boolean | undefined;
11597
11793
  diffEnabled?: boolean | undefined;
11598
11794
  todoListEnabled?: boolean | undefined;
@@ -11717,6 +11913,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11717
11913
  litellmUsePromptCache?: boolean | undefined;
11718
11914
  cerebrasApiKey?: string | undefined;
11719
11915
  sambaNovaApiKey?: string | undefined;
11916
+ zaiApiKey?: string | undefined;
11917
+ zaiApiLine?: "china" | "international" | undefined;
11720
11918
  mode?: string | undefined;
11721
11919
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
11722
11920
  customInstructions?: string | undefined;
@@ -11737,7 +11935,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11737
11935
  listApiConfigMeta?: {
11738
11936
  id: string;
11739
11937
  name: string;
11740
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
11938
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
11741
11939
  }[] | undefined;
11742
11940
  pinnedApiConfigs?: Record<string, boolean> | undefined;
11743
11941
  lastShownAnnouncementId?: string | undefined;
@@ -11819,6 +12017,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11819
12017
  powerSteering?: boolean | undefined;
11820
12018
  multiFileApplyDiff?: boolean | undefined;
11821
12019
  preventFocusDisruption?: boolean | undefined;
12020
+ assistantMessageParser?: boolean | undefined;
11822
12021
  } | undefined;
11823
12022
  codebaseIndexModels?: {
11824
12023
  openai?: Record<string, {
@@ -11852,6 +12051,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11852
12051
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
11853
12052
  mcpEnabled?: boolean | undefined;
11854
12053
  enableMcpServerCreation?: boolean | undefined;
12054
+ remoteControlEnabled?: boolean | undefined;
11855
12055
  modeApiConfigs?: Record<string, string> | undefined;
11856
12056
  customModePrompts?: Record<string, {
11857
12057
  description?: string | undefined;
@@ -11895,7 +12095,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11895
12095
  codebaseIndexOpenAiCompatibleApiKey?: string | undefined;
11896
12096
  codebaseIndexGeminiApiKey?: string | undefined;
11897
12097
  codebaseIndexMistralApiKey?: string | undefined;
11898
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
12098
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
11899
12099
  includeMaxTokens?: boolean | undefined;
11900
12100
  diffEnabled?: boolean | undefined;
11901
12101
  todoListEnabled?: boolean | undefined;
@@ -12020,6 +12220,8 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12020
12220
  litellmUsePromptCache?: boolean | undefined;
12021
12221
  cerebrasApiKey?: string | undefined;
12022
12222
  sambaNovaApiKey?: string | undefined;
12223
+ zaiApiKey?: string | undefined;
12224
+ zaiApiLine?: "china" | "international" | undefined;
12023
12225
  mode?: string | undefined;
12024
12226
  language?: "id" | "ca" | "de" | "en" | "es" | "fr" | "hi" | "it" | "ja" | "ko" | "nl" | "pl" | "pt-BR" | "ru" | "tr" | "vi" | "zh-CN" | "zh-TW" | undefined;
12025
12227
  customInstructions?: string | undefined;
@@ -12040,7 +12242,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12040
12242
  listApiConfigMeta?: {
12041
12243
  id: string;
12042
12244
  name: string;
12043
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
12245
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
12044
12246
  }[] | undefined;
12045
12247
  pinnedApiConfigs?: Record<string, boolean> | undefined;
12046
12248
  lastShownAnnouncementId?: string | undefined;
@@ -12122,6 +12324,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12122
12324
  powerSteering?: boolean | undefined;
12123
12325
  multiFileApplyDiff?: boolean | undefined;
12124
12326
  preventFocusDisruption?: boolean | undefined;
12327
+ assistantMessageParser?: boolean | undefined;
12125
12328
  } | undefined;
12126
12329
  codebaseIndexModels?: {
12127
12330
  openai?: Record<string, {
@@ -12155,6 +12358,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12155
12358
  telemetrySetting?: "unset" | "enabled" | "disabled" | undefined;
12156
12359
  mcpEnabled?: boolean | undefined;
12157
12360
  enableMcpServerCreation?: boolean | undefined;
12361
+ remoteControlEnabled?: boolean | undefined;
12158
12362
  modeApiConfigs?: Record<string, string> | undefined;
12159
12363
  customModePrompts?: Record<string, {
12160
12364
  description?: string | undefined;
@@ -13105,6 +13309,7 @@ interface CloudUserInfo {
13105
13309
  organizationName?: string;
13106
13310
  organizationRole?: string;
13107
13311
  organizationImageUrl?: string;
13312
+ extensionBridgeEnabled?: boolean;
13108
13313
  }
13109
13314
  /**
13110
13315
  * CloudOrganization Types
@@ -15055,6 +15260,57 @@ declare const organizationSettingsSchema: z.ZodObject<{
15055
15260
  modelMaxThinkingTokens?: number | undefined;
15056
15261
  apiModelId?: string | undefined;
15057
15262
  sambaNovaApiKey?: string | undefined;
15263
+ }>, z.ZodObject<{
15264
+ includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
15265
+ diffEnabled: z.ZodOptional<z.ZodBoolean>;
15266
+ todoListEnabled: z.ZodOptional<z.ZodBoolean>;
15267
+ fuzzyMatchThreshold: z.ZodOptional<z.ZodNumber>;
15268
+ modelTemperature: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15269
+ rateLimitSeconds: z.ZodOptional<z.ZodNumber>;
15270
+ consecutiveMistakeLimit: z.ZodOptional<z.ZodNumber>;
15271
+ enableReasoningEffort: z.ZodOptional<z.ZodBoolean>;
15272
+ reasoningEffort: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
15273
+ modelMaxTokens: z.ZodOptional<z.ZodNumber>;
15274
+ modelMaxThinkingTokens: z.ZodOptional<z.ZodNumber>;
15275
+ } & {
15276
+ apiModelId: z.ZodOptional<z.ZodString>;
15277
+ } & {
15278
+ zaiApiKey: z.ZodOptional<z.ZodString>;
15279
+ zaiApiLine: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"china">, z.ZodLiteral<"international">]>>;
15280
+ } & {
15281
+ apiProvider: z.ZodLiteral<"zai">;
15282
+ }, "strip", z.ZodTypeAny, {
15283
+ apiProvider: "zai";
15284
+ reasoningEffort?: "low" | "medium" | "high" | undefined;
15285
+ includeMaxTokens?: boolean | undefined;
15286
+ diffEnabled?: boolean | undefined;
15287
+ todoListEnabled?: boolean | undefined;
15288
+ fuzzyMatchThreshold?: number | undefined;
15289
+ modelTemperature?: number | null | undefined;
15290
+ rateLimitSeconds?: number | undefined;
15291
+ consecutiveMistakeLimit?: number | undefined;
15292
+ enableReasoningEffort?: boolean | undefined;
15293
+ modelMaxTokens?: number | undefined;
15294
+ modelMaxThinkingTokens?: number | undefined;
15295
+ apiModelId?: string | undefined;
15296
+ zaiApiKey?: string | undefined;
15297
+ zaiApiLine?: "china" | "international" | undefined;
15298
+ }, {
15299
+ apiProvider: "zai";
15300
+ reasoningEffort?: "low" | "medium" | "high" | undefined;
15301
+ includeMaxTokens?: boolean | undefined;
15302
+ diffEnabled?: boolean | undefined;
15303
+ todoListEnabled?: boolean | undefined;
15304
+ fuzzyMatchThreshold?: number | undefined;
15305
+ modelTemperature?: number | null | undefined;
15306
+ rateLimitSeconds?: number | undefined;
15307
+ consecutiveMistakeLimit?: number | undefined;
15308
+ enableReasoningEffort?: boolean | undefined;
15309
+ modelMaxTokens?: number | undefined;
15310
+ modelMaxThinkingTokens?: number | undefined;
15311
+ apiModelId?: string | undefined;
15312
+ zaiApiKey?: string | undefined;
15313
+ zaiApiLine?: "china" | "international" | undefined;
15058
15314
  }>, z.ZodObject<{
15059
15315
  apiProvider: z.ZodUndefined;
15060
15316
  }, "strip", z.ZodTypeAny, {
@@ -15621,6 +15877,22 @@ declare const organizationSettingsSchema: z.ZodObject<{
15621
15877
  modelMaxThinkingTokens?: number | undefined;
15622
15878
  apiModelId?: string | undefined;
15623
15879
  sambaNovaApiKey?: string | undefined;
15880
+ } | {
15881
+ apiProvider: "zai";
15882
+ reasoningEffort?: "low" | "medium" | "high" | undefined;
15883
+ includeMaxTokens?: boolean | undefined;
15884
+ diffEnabled?: boolean | undefined;
15885
+ todoListEnabled?: boolean | undefined;
15886
+ fuzzyMatchThreshold?: number | undefined;
15887
+ modelTemperature?: number | null | undefined;
15888
+ rateLimitSeconds?: number | undefined;
15889
+ consecutiveMistakeLimit?: number | undefined;
15890
+ enableReasoningEffort?: boolean | undefined;
15891
+ modelMaxTokens?: number | undefined;
15892
+ modelMaxThinkingTokens?: number | undefined;
15893
+ apiModelId?: string | undefined;
15894
+ zaiApiKey?: string | undefined;
15895
+ zaiApiLine?: "china" | "international" | undefined;
15624
15896
  }) & {
15625
15897
  id?: string | undefined;
15626
15898
  }> | undefined;
@@ -16177,6 +16449,22 @@ declare const organizationSettingsSchema: z.ZodObject<{
16177
16449
  modelMaxThinkingTokens?: number | undefined;
16178
16450
  apiModelId?: string | undefined;
16179
16451
  sambaNovaApiKey?: string | undefined;
16452
+ } | {
16453
+ apiProvider: "zai";
16454
+ reasoningEffort?: "low" | "medium" | "high" | undefined;
16455
+ includeMaxTokens?: boolean | undefined;
16456
+ diffEnabled?: boolean | undefined;
16457
+ todoListEnabled?: boolean | undefined;
16458
+ fuzzyMatchThreshold?: number | undefined;
16459
+ modelTemperature?: number | null | undefined;
16460
+ rateLimitSeconds?: number | undefined;
16461
+ consecutiveMistakeLimit?: number | undefined;
16462
+ enableReasoningEffort?: boolean | undefined;
16463
+ modelMaxTokens?: number | undefined;
16464
+ modelMaxThinkingTokens?: number | undefined;
16465
+ apiModelId?: string | undefined;
16466
+ zaiApiKey?: string | undefined;
16467
+ zaiApiLine?: "china" | "international" | undefined;
16180
16468
  }) & {
16181
16469
  id?: string | undefined;
16182
16470
  }> | undefined;
@@ -16368,8 +16656,8 @@ type CodebaseIndexProvider = z.infer<typeof codebaseIndexProviderSchema>;
16368
16656
  /**
16369
16657
  * ExperimentId
16370
16658
  */
16371
- declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff", "preventFocusDisruption"];
16372
- declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff", "preventFocusDisruption"]>;
16659
+ declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "assistantMessageParser"];
16660
+ declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "assistantMessageParser"]>;
16373
16661
  type ExperimentId = z.infer<typeof experimentIdsSchema>;
16374
16662
  /**
16375
16663
  * Experiments
@@ -16378,14 +16666,17 @@ declare const experimentsSchema: z.ZodObject<{
16378
16666
  powerSteering: z.ZodOptional<z.ZodBoolean>;
16379
16667
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
16380
16668
  preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
16669
+ assistantMessageParser: z.ZodOptional<z.ZodBoolean>;
16381
16670
  }, "strip", z.ZodTypeAny, {
16382
16671
  powerSteering?: boolean | undefined;
16383
16672
  multiFileApplyDiff?: boolean | undefined;
16384
16673
  preventFocusDisruption?: boolean | undefined;
16674
+ assistantMessageParser?: boolean | undefined;
16385
16675
  }, {
16386
16676
  powerSteering?: boolean | undefined;
16387
16677
  multiFileApplyDiff?: boolean | undefined;
16388
16678
  preventFocusDisruption?: boolean | undefined;
16679
+ assistantMessageParser?: boolean | undefined;
16389
16680
  }>;
16390
16681
  type Experiments = z.infer<typeof experimentsSchema>;
16391
16682
 
@@ -17745,7 +18036,7 @@ declare const appPropertiesSchema: z.ZodObject<{
17745
18036
  }>;
17746
18037
  declare const taskPropertiesSchema: z.ZodObject<{
17747
18038
  taskId: z.ZodOptional<z.ZodString>;
17748
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"]>>;
18039
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"]>>;
17749
18040
  modelId: z.ZodOptional<z.ZodString>;
17750
18041
  diffStrategy: z.ZodOptional<z.ZodString>;
17751
18042
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -17768,7 +18059,7 @@ declare const taskPropertiesSchema: z.ZodObject<{
17768
18059
  }, "strip", z.ZodTypeAny, {
17769
18060
  isSubtask?: boolean | undefined;
17770
18061
  taskId?: string | undefined;
17771
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
18062
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
17772
18063
  modelId?: string | undefined;
17773
18064
  diffStrategy?: string | undefined;
17774
18065
  todos?: {
@@ -17780,7 +18071,7 @@ declare const taskPropertiesSchema: z.ZodObject<{
17780
18071
  }, {
17781
18072
  isSubtask?: boolean | undefined;
17782
18073
  taskId?: string | undefined;
17783
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
18074
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
17784
18075
  modelId?: string | undefined;
17785
18076
  diffStrategy?: string | undefined;
17786
18077
  todos?: {
@@ -17808,7 +18099,7 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
17808
18099
  repositoryName: z.ZodOptional<z.ZodString>;
17809
18100
  defaultBranch: z.ZodOptional<z.ZodString>;
17810
18101
  taskId: z.ZodOptional<z.ZodString>;
17811
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"]>>;
18102
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"]>>;
17812
18103
  modelId: z.ZodOptional<z.ZodString>;
17813
18104
  diffStrategy: z.ZodOptional<z.ZodString>;
17814
18105
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -17846,7 +18137,7 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
17846
18137
  language: string;
17847
18138
  isSubtask?: boolean | undefined;
17848
18139
  taskId?: string | undefined;
17849
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
18140
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
17850
18141
  cloudIsAuthenticated?: boolean | undefined;
17851
18142
  modelId?: string | undefined;
17852
18143
  diffStrategy?: string | undefined;
@@ -17869,7 +18160,7 @@ declare const telemetryPropertiesSchema: z.ZodObject<{
17869
18160
  language: string;
17870
18161
  isSubtask?: boolean | undefined;
17871
18162
  taskId?: string | undefined;
17872
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
18163
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
17873
18164
  cloudIsAuthenticated?: boolean | undefined;
17874
18165
  modelId?: string | undefined;
17875
18166
  diffStrategy?: string | undefined;
@@ -17902,7 +18193,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
17902
18193
  repositoryName: z.ZodOptional<z.ZodString>;
17903
18194
  defaultBranch: z.ZodOptional<z.ZodString>;
17904
18195
  taskId: z.ZodOptional<z.ZodString>;
17905
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"]>>;
18196
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"]>>;
17906
18197
  modelId: z.ZodOptional<z.ZodString>;
17907
18198
  diffStrategy: z.ZodOptional<z.ZodString>;
17908
18199
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -17940,7 +18231,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
17940
18231
  language: string;
17941
18232
  isSubtask?: boolean | undefined;
17942
18233
  taskId?: string | undefined;
17943
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
18234
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
17944
18235
  cloudIsAuthenticated?: boolean | undefined;
17945
18236
  modelId?: string | undefined;
17946
18237
  diffStrategy?: string | undefined;
@@ -17963,7 +18254,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
17963
18254
  language: string;
17964
18255
  isSubtask?: boolean | undefined;
17965
18256
  taskId?: string | undefined;
17966
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
18257
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
17967
18258
  cloudIsAuthenticated?: boolean | undefined;
17968
18259
  modelId?: string | undefined;
17969
18260
  diffStrategy?: string | undefined;
@@ -17989,7 +18280,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
17989
18280
  language: string;
17990
18281
  isSubtask?: boolean | undefined;
17991
18282
  taskId?: string | undefined;
17992
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
18283
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
17993
18284
  cloudIsAuthenticated?: boolean | undefined;
17994
18285
  modelId?: string | undefined;
17995
18286
  diffStrategy?: string | undefined;
@@ -18015,7 +18306,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
18015
18306
  language: string;
18016
18307
  isSubtask?: boolean | undefined;
18017
18308
  taskId?: string | undefined;
18018
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
18309
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
18019
18310
  cloudIsAuthenticated?: boolean | undefined;
18020
18311
  modelId?: string | undefined;
18021
18312
  diffStrategy?: string | undefined;
@@ -18122,7 +18413,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
18122
18413
  repositoryUrl: z.ZodOptional<z.ZodString>;
18123
18414
  repositoryName: z.ZodOptional<z.ZodString>;
18124
18415
  defaultBranch: z.ZodOptional<z.ZodString>;
18125
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"]>>;
18416
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"]>>;
18126
18417
  modelId: z.ZodOptional<z.ZodString>;
18127
18418
  diffStrategy: z.ZodOptional<z.ZodString>;
18128
18419
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -18184,7 +18475,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
18184
18475
  editorName: string;
18185
18476
  language: string;
18186
18477
  isSubtask?: boolean | undefined;
18187
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
18478
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
18188
18479
  cloudIsAuthenticated?: boolean | undefined;
18189
18480
  modelId?: string | undefined;
18190
18481
  diffStrategy?: string | undefined;
@@ -18231,7 +18522,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
18231
18522
  editorName: string;
18232
18523
  language: string;
18233
18524
  isSubtask?: boolean | undefined;
18234
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
18525
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
18235
18526
  cloudIsAuthenticated?: boolean | undefined;
18236
18527
  modelId?: string | undefined;
18237
18528
  diffStrategy?: string | undefined;
@@ -18281,7 +18572,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
18281
18572
  editorName: string;
18282
18573
  language: string;
18283
18574
  isSubtask?: boolean | undefined;
18284
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
18575
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
18285
18576
  cloudIsAuthenticated?: boolean | undefined;
18286
18577
  modelId?: string | undefined;
18287
18578
  diffStrategy?: string | undefined;
@@ -18331,7 +18622,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
18331
18622
  editorName: string;
18332
18623
  language: string;
18333
18624
  isSubtask?: boolean | undefined;
18334
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
18625
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
18335
18626
  cloudIsAuthenticated?: boolean | undefined;
18336
18627
  modelId?: string | undefined;
18337
18628
  diffStrategy?: string | undefined;
@@ -18357,7 +18648,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
18357
18648
  repositoryName: z.ZodOptional<z.ZodString>;
18358
18649
  defaultBranch: z.ZodOptional<z.ZodString>;
18359
18650
  taskId: z.ZodOptional<z.ZodString>;
18360
- apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova"]>>;
18651
+ apiProvider: z.ZodOptional<z.ZodEnum<["anthropic", "claude-code", "glama", "openrouter", "bedrock", "vertex", "openai", "ollama", "vscode-lm", "lmstudio", "gemini", "gemini-cli", "openai-native", "mistral", "moonshot", "deepseek", "doubao", "unbound", "requesty", "human-relay", "fake-ai", "xai", "groq", "chutes", "litellm", "huggingface", "cerebras", "sambanova", "zai"]>>;
18361
18652
  modelId: z.ZodOptional<z.ZodString>;
18362
18653
  diffStrategy: z.ZodOptional<z.ZodString>;
18363
18654
  isSubtask: z.ZodOptional<z.ZodBoolean>;
@@ -18398,7 +18689,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
18398
18689
  cost?: number | undefined;
18399
18690
  isSubtask?: boolean | undefined;
18400
18691
  taskId?: string | undefined;
18401
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
18692
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
18402
18693
  cloudIsAuthenticated?: boolean | undefined;
18403
18694
  modelId?: string | undefined;
18404
18695
  diffStrategy?: string | undefined;
@@ -18426,7 +18717,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
18426
18717
  cost?: number | undefined;
18427
18718
  isSubtask?: boolean | undefined;
18428
18719
  taskId?: string | undefined;
18429
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
18720
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
18430
18721
  cloudIsAuthenticated?: boolean | undefined;
18431
18722
  modelId?: string | undefined;
18432
18723
  diffStrategy?: string | undefined;
@@ -18457,7 +18748,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
18457
18748
  cost?: number | undefined;
18458
18749
  isSubtask?: boolean | undefined;
18459
18750
  taskId?: string | undefined;
18460
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
18751
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
18461
18752
  cloudIsAuthenticated?: boolean | undefined;
18462
18753
  modelId?: string | undefined;
18463
18754
  diffStrategy?: string | undefined;
@@ -18488,7 +18779,7 @@ declare const rooCodeTelemetryEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
18488
18779
  cost?: number | undefined;
18489
18780
  isSubtask?: boolean | undefined;
18490
18781
  taskId?: string | undefined;
18491
- apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | undefined;
18782
+ apiProvider?: "openai" | "anthropic" | "ollama" | "gemini" | "mistral" | "claude-code" | "glama" | "openrouter" | "bedrock" | "vertex" | "vscode-lm" | "lmstudio" | "gemini-cli" | "openai-native" | "moonshot" | "deepseek" | "doubao" | "unbound" | "requesty" | "human-relay" | "fake-ai" | "xai" | "groq" | "chutes" | "litellm" | "huggingface" | "cerebras" | "sambanova" | "zai" | undefined;
18492
18783
  cloudIsAuthenticated?: boolean | undefined;
18493
18784
  modelId?: string | undefined;
18494
18785
  diffStrategy?: string | undefined;
@@ -20800,4 +21091,90 @@ declare const doubaoDefaultModelInfo: ModelInfo;
20800
21091
  declare const DOUBAO_API_BASE_URL = "https://ark.cn-beijing.volces.com/api/v3";
20801
21092
  declare const DOUBAO_API_CHAT_PATH = "/chat/completions";
20802
21093
 
20803
- 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, type BlockingAsk, 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, DOUBAO_API_BASE_URL, DOUBAO_API_CHAT_PATH, type DeepSeekModelId, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, type FollowUpData, type FollowUpDataType, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, 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 Keys, 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, 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 ProviderSettingsWithId, type QueuedMessage, type ReasoningEffort, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SambaNovaModelId, type SecretState, type ShareResponse, type ShareVisibility, type SuggestionItem, type TaskCommand, TaskCommandName, type TaskEvent, type TaskEvents, type TaskLike, type TaskProviderEvents, type TaskProviderLike, type TaskProviderState, 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, blockingAsks, cerebrasDefaultModelId, cerebrasModels, chutesDefaultModelId, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, convertModelNameForVertex, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, discriminatedProviderSettingsWithIdSchema, doubaoDefaultModelId, doubaoDefaultModelInfo, doubaoModels, experimentIds, experimentIdsSchema, experimentsSchema, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getClaudeCodeModelId, getModelId, gitPropertiesSchema, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, ipcMessageSchema, isBlockingAsk, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, 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, providerSettingsWithIdSchema, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, sambaNovaDefaultModelId, sambaNovaModels, 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 };
21094
+ type InternationalZAiModelId = keyof typeof internationalZAiModels;
21095
+ declare const internationalZAiDefaultModelId: InternationalZAiModelId;
21096
+ declare const internationalZAiModels: {
21097
+ readonly "glm-4.5": {
21098
+ readonly maxTokens: 98304;
21099
+ readonly contextWindow: 131072;
21100
+ readonly supportsImages: false;
21101
+ readonly supportsPromptCache: true;
21102
+ readonly inputPrice: 0.6;
21103
+ readonly outputPrice: 2.2;
21104
+ readonly cacheWritesPrice: 0;
21105
+ readonly cacheReadsPrice: 0.11;
21106
+ readonly description: "GLM-4.5 is Zhipu's latest featured model. Its comprehensive capabilities in reasoning, coding, and agent reach the state-of-the-art (SOTA) level among open-source models, with a context length of up to 128k.";
21107
+ };
21108
+ readonly "glm-4.5-air": {
21109
+ readonly maxTokens: 98304;
21110
+ readonly contextWindow: 131072;
21111
+ readonly supportsImages: false;
21112
+ readonly supportsPromptCache: true;
21113
+ readonly inputPrice: 0.2;
21114
+ readonly outputPrice: 1.1;
21115
+ readonly cacheWritesPrice: 0;
21116
+ readonly cacheReadsPrice: 0.03;
21117
+ readonly description: "GLM-4.5-Air is the lightweight version of GLM-4.5. It balances performance and cost-effectiveness, and can flexibly switch to hybrid thinking models.";
21118
+ };
21119
+ };
21120
+ type MainlandZAiModelId = keyof typeof mainlandZAiModels;
21121
+ declare const mainlandZAiDefaultModelId: MainlandZAiModelId;
21122
+ declare const mainlandZAiModels: {
21123
+ readonly "glm-4.5": {
21124
+ readonly maxTokens: 98304;
21125
+ readonly contextWindow: 131072;
21126
+ readonly supportsImages: false;
21127
+ readonly supportsPromptCache: true;
21128
+ readonly inputPrice: 0.29;
21129
+ readonly outputPrice: 1.14;
21130
+ readonly cacheWritesPrice: 0;
21131
+ readonly cacheReadsPrice: 0.057;
21132
+ readonly description: "GLM-4.5 is Zhipu's latest featured model. Its comprehensive capabilities in reasoning, coding, and agent reach the state-of-the-art (SOTA) level among open-source models, with a context length of up to 128k.";
21133
+ readonly tiers: [{
21134
+ readonly contextWindow: 32000;
21135
+ readonly inputPrice: 0.21;
21136
+ readonly outputPrice: 1;
21137
+ readonly cacheReadsPrice: 0.043;
21138
+ }, {
21139
+ readonly contextWindow: 128000;
21140
+ readonly inputPrice: 0.29;
21141
+ readonly outputPrice: 1.14;
21142
+ readonly cacheReadsPrice: 0.057;
21143
+ }, {
21144
+ readonly contextWindow: number;
21145
+ readonly inputPrice: 0.29;
21146
+ readonly outputPrice: 1.14;
21147
+ readonly cacheReadsPrice: 0.057;
21148
+ }];
21149
+ };
21150
+ readonly "glm-4.5-air": {
21151
+ readonly maxTokens: 98304;
21152
+ readonly contextWindow: 131072;
21153
+ readonly supportsImages: false;
21154
+ readonly supportsPromptCache: true;
21155
+ readonly inputPrice: 0.1;
21156
+ readonly outputPrice: 0.6;
21157
+ readonly cacheWritesPrice: 0;
21158
+ readonly cacheReadsPrice: 0.02;
21159
+ readonly description: "GLM-4.5-Air is the lightweight version of GLM-4.5. It balances performance and cost-effectiveness, and can flexibly switch to hybrid thinking models.";
21160
+ readonly tiers: [{
21161
+ readonly contextWindow: 32000;
21162
+ readonly inputPrice: 0.07;
21163
+ readonly outputPrice: 0.4;
21164
+ readonly cacheReadsPrice: 0.014;
21165
+ }, {
21166
+ readonly contextWindow: 128000;
21167
+ readonly inputPrice: 0.1;
21168
+ readonly outputPrice: 0.6;
21169
+ readonly cacheReadsPrice: 0.02;
21170
+ }, {
21171
+ readonly contextWindow: number;
21172
+ readonly inputPrice: 0.1;
21173
+ readonly outputPrice: 0.6;
21174
+ readonly cacheReadsPrice: 0.02;
21175
+ }];
21176
+ };
21177
+ };
21178
+ declare const ZAI_DEFAULT_TEMPERATURE = 0;
21179
+
21180
+ 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, type BlockingAsk, 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, DOUBAO_API_BASE_URL, DOUBAO_API_CHAT_PATH, type DeepSeekModelId, EVALS_SETTINGS, EVALS_TIMEOUT, type Equals, type ExperimentId, type Experiments, type FollowUpData, type FollowUpDataType, GLAMA_DEFAULT_TEMPERATURE, GLOBAL_SETTINGS_KEYS, GLOBAL_STATE_KEYS, type GeminiModelId, 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 InternationalZAiModelId, type IpcClientEvents, type IpcMessage, IpcMessageType, IpcOrigin, type IpcServerEvents, type Keys, LITELLM_COMPUTER_USE_MODELS, LMSTUDIO_DEFAULT_TEMPERATURE, type Language, MISTRAL_DEFAULT_TEMPERATURE, MODEL_ID_KEYS, MOONSHOT_DEFAULT_TEMPERATURE, type MainlandZAiModelId, 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, 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 ProviderSettingsWithId, type QueuedMessage, type ReasoningEffort, type RooCodeAPI, type RooCodeAPIEvents, RooCodeEventName, type RooCodeEvents, type RooCodeIpcServer, type RooCodeSettings, type RooCodeTelemetryEvent, SECRET_STATE_KEYS, type SambaNovaModelId, type SecretState, type ShareResponse, type ShareVisibility, type SuggestionItem, type TaskCommand, TaskCommandName, type TaskEvent, type TaskEvents, type TaskLike, type TaskProviderEvents, type TaskProviderLike, type TaskProviderState, 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, ZAI_DEFAULT_TEMPERATURE, ackSchema, anthropicDefaultModelId, anthropicModels, appPropertiesSchema, azureOpenAiDefaultApiVersion, bedrockDefaultModelId, bedrockDefaultPromptRouterModelId, bedrockModels, blockingAsks, cerebrasDefaultModelId, cerebrasModels, chutesDefaultModelId, chutesModels, claudeCodeDefaultModelId, claudeCodeModels, clineAskSchema, clineAsks, clineMessageSchema, clineSaySchema, clineSays, codeActionIds, codebaseIndexConfigSchema, codebaseIndexModelsSchema, codebaseIndexProviderSchema, commandExecutionStatusSchema, commandIds, contextCondenseSchema, convertModelNameForVertex, customModePromptsSchema, customModesSettingsSchema, customSupportPromptsSchema, deepSeekDefaultModelId, deepSeekModels, discriminatedProviderSettingsWithIdSchema, doubaoDefaultModelId, doubaoDefaultModelInfo, doubaoModels, experimentIds, experimentIdsSchema, experimentsSchema, followUpDataSchema, geminiDefaultModelId, geminiModels, getApiProtocol, getClaudeCodeModelId, getModelId, gitPropertiesSchema, glamaDefaultModelId, glamaDefaultModelInfo, globalSettingsSchema, groqDefaultModelId, groqModels, groupEntrySchema, groupOptionsSchema, historyItemSchema, installMarketplaceItemOptionsSchema, internationalZAiDefaultModelId, internationalZAiModels, ipcMessageSchema, isBlockingAsk, isGlobalStateKey, isLanguage, isModelParameter, isSecretStateKey, lMStudioDefaultModelId, lMStudioDefaultModelInfo, languages, languagesSchema, litellmDefaultModelId, litellmDefaultModelInfo, mainlandZAiDefaultModelId, mainlandZAiModels, 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, providerSettingsWithIdSchema, reasoningEfforts, reasoningEffortsSchema, requestyDefaultModelId, requestyDefaultModelInfo, rooCodeEventsSchema, rooCodeSettingsSchema, rooCodeTelemetryEventSchema, sambaNovaDefaultModelId, sambaNovaModels, 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 };