@roo-code/types 1.62.0 → 1.63.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
@@ -54,7 +54,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
54
54
  contextTokens: number;
55
55
  totalCacheWrites?: number | undefined;
56
56
  totalCacheReads?: number | undefined;
57
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"]>, z.ZodObject<{
57
+ }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"]>, z.ZodObject<{
58
58
  attempts: z.ZodNumber;
59
59
  failures: z.ZodNumber;
60
60
  }, "strip", z.ZodTypeAny, {
@@ -281,7 +281,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
281
281
  }>], null>;
282
282
  taskModeSwitched: z.ZodTuple<[z.ZodString, z.ZodString], null>;
283
283
  taskAskResponded: z.ZodTuple<[z.ZodString], null>;
284
- taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"]>, z.ZodString], null>;
284
+ taskToolFailed: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"]>, z.ZodString], null>;
285
285
  taskTokenUsageUpdated: z.ZodTuple<[z.ZodString, z.ZodObject<{
286
286
  totalTokensIn: z.ZodNumber;
287
287
  totalTokensOut: z.ZodNumber;
@@ -314,7 +314,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
314
314
  contextTokens: number;
315
315
  totalCacheWrites?: number | undefined;
316
316
  totalCacheReads?: number | undefined;
317
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", {
317
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", {
318
318
  attempts: number;
319
319
  failures: number;
320
320
  }>>, {
@@ -375,7 +375,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
375
375
  totalCacheWrites?: number | undefined;
376
376
  totalCacheReads?: number | undefined;
377
377
  }];
378
- taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", string];
378
+ taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", string];
379
379
  }, {
380
380
  taskCreated: [string];
381
381
  taskStarted: [string];
@@ -386,7 +386,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
386
386
  contextTokens: number;
387
387
  totalCacheWrites?: number | undefined;
388
388
  totalCacheReads?: number | undefined;
389
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", {
389
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", {
390
390
  attempts: number;
391
391
  failures: number;
392
392
  }>>, {
@@ -447,7 +447,7 @@ declare const rooCodeEventsSchema: z.ZodObject<{
447
447
  totalCacheWrites?: number | undefined;
448
448
  totalCacheReads?: number | undefined;
449
449
  }];
450
- taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", string];
450
+ taskToolFailed: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", string];
451
451
  }>;
452
452
  type RooCodeEvents = z.infer<typeof rooCodeEventsSchema>;
453
453
  /**
@@ -500,7 +500,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
500
500
  contextTokens: number;
501
501
  totalCacheWrites?: number | undefined;
502
502
  totalCacheReads?: number | undefined;
503
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"]>, z.ZodObject<{
503
+ }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"]>, z.ZodObject<{
504
504
  attempts: z.ZodNumber;
505
505
  failures: z.ZodNumber;
506
506
  }, "strip", z.ZodTypeAny, {
@@ -526,7 +526,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
526
526
  contextTokens: number;
527
527
  totalCacheWrites?: number | undefined;
528
528
  totalCacheReads?: number | undefined;
529
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", {
529
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", {
530
530
  attempts: number;
531
531
  failures: number;
532
532
  }>>, {
@@ -542,7 +542,7 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
542
542
  contextTokens: number;
543
543
  totalCacheWrites?: number | undefined;
544
544
  totalCacheReads?: number | undefined;
545
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", {
545
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", {
546
546
  attempts: number;
547
547
  failures: number;
548
548
  }>>, {
@@ -973,15 +973,15 @@ declare const taskEventSchema: z.ZodDiscriminatedUnion<"eventName", [z.ZodObject
973
973
  taskId?: number | undefined;
974
974
  }>, z.ZodObject<{
975
975
  eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
976
- payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"]>, z.ZodString], null>;
976
+ payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"]>, z.ZodString], null>;
977
977
  taskId: z.ZodOptional<z.ZodNumber>;
978
978
  }, "strip", z.ZodTypeAny, {
979
979
  eventName: RooCodeEventName.TaskToolFailed;
980
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", string];
980
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", string];
981
981
  taskId?: number | undefined;
982
982
  }, {
983
983
  eventName: RooCodeEventName.TaskToolFailed;
984
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", string];
984
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", string];
985
985
  taskId?: number | undefined;
986
986
  }>, z.ZodObject<{
987
987
  eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
@@ -1281,6 +1281,16 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1281
1281
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
1282
1282
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
1283
1283
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
1284
+ openRouterImageGenerationSettings: z.ZodOptional<z.ZodObject<{
1285
+ openRouterApiKey: z.ZodOptional<z.ZodString>;
1286
+ selectedModel: z.ZodOptional<z.ZodString>;
1287
+ }, "strip", z.ZodTypeAny, {
1288
+ openRouterApiKey?: string | undefined;
1289
+ selectedModel?: string | undefined;
1290
+ }, {
1291
+ openRouterApiKey?: string | undefined;
1292
+ selectedModel?: string | undefined;
1293
+ }>>;
1284
1294
  } & {
1285
1295
  apiProvider: z.ZodLiteral<"openrouter">;
1286
1296
  }, "strip", z.ZodTypeAny, {
@@ -1302,6 +1312,10 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1302
1312
  openRouterBaseUrl?: string | undefined;
1303
1313
  openRouterSpecificProvider?: string | undefined;
1304
1314
  openRouterUseMiddleOutTransform?: boolean | undefined;
1315
+ openRouterImageGenerationSettings?: {
1316
+ openRouterApiKey?: string | undefined;
1317
+ selectedModel?: string | undefined;
1318
+ } | undefined;
1305
1319
  }, {
1306
1320
  apiProvider: "openrouter";
1307
1321
  reasoningEffort?: "low" | "medium" | "high" | "minimal" | undefined;
@@ -1321,6 +1335,10 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1321
1335
  openRouterBaseUrl?: string | undefined;
1322
1336
  openRouterSpecificProvider?: string | undefined;
1323
1337
  openRouterUseMiddleOutTransform?: boolean | undefined;
1338
+ openRouterImageGenerationSettings?: {
1339
+ openRouterApiKey?: string | undefined;
1340
+ selectedModel?: string | undefined;
1341
+ } | undefined;
1324
1342
  }>, z.ZodObject<{
1325
1343
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
1326
1344
  diffEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -1508,6 +1526,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1508
1526
  supportsPromptCache: z.ZodBoolean;
1509
1527
  supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
1510
1528
  supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
1529
+ supportsTemperature: z.ZodOptional<z.ZodBoolean>;
1511
1530
  requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
1512
1531
  supportsReasoningEffort: z.ZodOptional<z.ZodBoolean>;
1513
1532
  supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
@@ -1548,6 +1567,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1548
1567
  supportsComputerUse?: boolean | undefined;
1549
1568
  supportsVerbosity?: boolean | undefined;
1550
1569
  supportsReasoningBudget?: boolean | undefined;
1570
+ supportsTemperature?: boolean | undefined;
1551
1571
  requiredReasoningBudget?: boolean | undefined;
1552
1572
  supportsReasoningEffort?: boolean | undefined;
1553
1573
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -1576,6 +1596,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1576
1596
  supportsComputerUse?: boolean | undefined;
1577
1597
  supportsVerbosity?: boolean | undefined;
1578
1598
  supportsReasoningBudget?: boolean | undefined;
1599
+ supportsTemperature?: boolean | undefined;
1579
1600
  requiredReasoningBudget?: boolean | undefined;
1580
1601
  supportsReasoningEffort?: boolean | undefined;
1581
1602
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -1631,6 +1652,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1631
1652
  supportsComputerUse?: boolean | undefined;
1632
1653
  supportsVerbosity?: boolean | undefined;
1633
1654
  supportsReasoningBudget?: boolean | undefined;
1655
+ supportsTemperature?: boolean | undefined;
1634
1656
  requiredReasoningBudget?: boolean | undefined;
1635
1657
  supportsReasoningEffort?: boolean | undefined;
1636
1658
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -1684,6 +1706,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1684
1706
  supportsComputerUse?: boolean | undefined;
1685
1707
  supportsVerbosity?: boolean | undefined;
1686
1708
  supportsReasoningBudget?: boolean | undefined;
1709
+ supportsTemperature?: boolean | undefined;
1687
1710
  requiredReasoningBudget?: boolean | undefined;
1688
1711
  supportsReasoningEffort?: boolean | undefined;
1689
1712
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -3294,6 +3317,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3294
3317
  supportsPromptCache: z.ZodBoolean;
3295
3318
  supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
3296
3319
  supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
3320
+ supportsTemperature: z.ZodOptional<z.ZodBoolean>;
3297
3321
  requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
3298
3322
  supportsReasoningEffort: z.ZodOptional<z.ZodBoolean>;
3299
3323
  supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
@@ -3334,6 +3358,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3334
3358
  supportsComputerUse?: boolean | undefined;
3335
3359
  supportsVerbosity?: boolean | undefined;
3336
3360
  supportsReasoningBudget?: boolean | undefined;
3361
+ supportsTemperature?: boolean | undefined;
3337
3362
  requiredReasoningBudget?: boolean | undefined;
3338
3363
  supportsReasoningEffort?: boolean | undefined;
3339
3364
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -3362,6 +3387,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3362
3387
  supportsComputerUse?: boolean | undefined;
3363
3388
  supportsVerbosity?: boolean | undefined;
3364
3389
  supportsReasoningBudget?: boolean | undefined;
3390
+ supportsTemperature?: boolean | undefined;
3365
3391
  requiredReasoningBudget?: boolean | undefined;
3366
3392
  supportsReasoningEffort?: boolean | undefined;
3367
3393
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -3411,6 +3437,16 @@ declare const providerSettingsSchema: z.ZodObject<{
3411
3437
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
3412
3438
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
3413
3439
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
3440
+ openRouterImageGenerationSettings: z.ZodOptional<z.ZodObject<{
3441
+ openRouterApiKey: z.ZodOptional<z.ZodString>;
3442
+ selectedModel: z.ZodOptional<z.ZodString>;
3443
+ }, "strip", z.ZodTypeAny, {
3444
+ openRouterApiKey?: string | undefined;
3445
+ selectedModel?: string | undefined;
3446
+ }, {
3447
+ openRouterApiKey?: string | undefined;
3448
+ selectedModel?: string | undefined;
3449
+ }>>;
3414
3450
  glamaModelId: z.ZodOptional<z.ZodString>;
3415
3451
  glamaApiKey: z.ZodOptional<z.ZodString>;
3416
3452
  claudeCodePath: z.ZodOptional<z.ZodString>;
@@ -3456,6 +3492,10 @@ declare const providerSettingsSchema: z.ZodObject<{
3456
3492
  openRouterBaseUrl?: string | undefined;
3457
3493
  openRouterSpecificProvider?: string | undefined;
3458
3494
  openRouterUseMiddleOutTransform?: boolean | undefined;
3495
+ openRouterImageGenerationSettings?: {
3496
+ openRouterApiKey?: string | undefined;
3497
+ selectedModel?: string | undefined;
3498
+ } | undefined;
3459
3499
  awsAccessKey?: string | undefined;
3460
3500
  awsSecretKey?: string | undefined;
3461
3501
  awsSessionToken?: string | undefined;
@@ -3491,6 +3531,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3491
3531
  supportsComputerUse?: boolean | undefined;
3492
3532
  supportsVerbosity?: boolean | undefined;
3493
3533
  supportsReasoningBudget?: boolean | undefined;
3534
+ supportsTemperature?: boolean | undefined;
3494
3535
  requiredReasoningBudget?: boolean | undefined;
3495
3536
  supportsReasoningEffort?: boolean | undefined;
3496
3537
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -3605,6 +3646,10 @@ declare const providerSettingsSchema: z.ZodObject<{
3605
3646
  openRouterBaseUrl?: string | undefined;
3606
3647
  openRouterSpecificProvider?: string | undefined;
3607
3648
  openRouterUseMiddleOutTransform?: boolean | undefined;
3649
+ openRouterImageGenerationSettings?: {
3650
+ openRouterApiKey?: string | undefined;
3651
+ selectedModel?: string | undefined;
3652
+ } | undefined;
3608
3653
  awsAccessKey?: string | undefined;
3609
3654
  awsSecretKey?: string | undefined;
3610
3655
  awsSessionToken?: string | undefined;
@@ -3640,6 +3685,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3640
3685
  supportsComputerUse?: boolean | undefined;
3641
3686
  supportsVerbosity?: boolean | undefined;
3642
3687
  supportsReasoningBudget?: boolean | undefined;
3688
+ supportsTemperature?: boolean | undefined;
3643
3689
  requiredReasoningBudget?: boolean | undefined;
3644
3690
  supportsReasoningEffort?: boolean | undefined;
3645
3691
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -3821,6 +3867,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
3821
3867
  supportsPromptCache: z.ZodBoolean;
3822
3868
  supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
3823
3869
  supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
3870
+ supportsTemperature: z.ZodOptional<z.ZodBoolean>;
3824
3871
  requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
3825
3872
  supportsReasoningEffort: z.ZodOptional<z.ZodBoolean>;
3826
3873
  supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
@@ -3861,6 +3908,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
3861
3908
  supportsComputerUse?: boolean | undefined;
3862
3909
  supportsVerbosity?: boolean | undefined;
3863
3910
  supportsReasoningBudget?: boolean | undefined;
3911
+ supportsTemperature?: boolean | undefined;
3864
3912
  requiredReasoningBudget?: boolean | undefined;
3865
3913
  supportsReasoningEffort?: boolean | undefined;
3866
3914
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -3889,6 +3937,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
3889
3937
  supportsComputerUse?: boolean | undefined;
3890
3938
  supportsVerbosity?: boolean | undefined;
3891
3939
  supportsReasoningBudget?: boolean | undefined;
3940
+ supportsTemperature?: boolean | undefined;
3892
3941
  requiredReasoningBudget?: boolean | undefined;
3893
3942
  supportsReasoningEffort?: boolean | undefined;
3894
3943
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -3938,6 +3987,16 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
3938
3987
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
3939
3988
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
3940
3989
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
3990
+ openRouterImageGenerationSettings: z.ZodOptional<z.ZodObject<{
3991
+ openRouterApiKey: z.ZodOptional<z.ZodString>;
3992
+ selectedModel: z.ZodOptional<z.ZodString>;
3993
+ }, "strip", z.ZodTypeAny, {
3994
+ openRouterApiKey?: string | undefined;
3995
+ selectedModel?: string | undefined;
3996
+ }, {
3997
+ openRouterApiKey?: string | undefined;
3998
+ selectedModel?: string | undefined;
3999
+ }>>;
3941
4000
  glamaModelId: z.ZodOptional<z.ZodString>;
3942
4001
  glamaApiKey: z.ZodOptional<z.ZodString>;
3943
4002
  claudeCodePath: z.ZodOptional<z.ZodString>;
@@ -3986,6 +4045,10 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
3986
4045
  openRouterBaseUrl?: string | undefined;
3987
4046
  openRouterSpecificProvider?: string | undefined;
3988
4047
  openRouterUseMiddleOutTransform?: boolean | undefined;
4048
+ openRouterImageGenerationSettings?: {
4049
+ openRouterApiKey?: string | undefined;
4050
+ selectedModel?: string | undefined;
4051
+ } | undefined;
3989
4052
  awsAccessKey?: string | undefined;
3990
4053
  awsSecretKey?: string | undefined;
3991
4054
  awsSessionToken?: string | undefined;
@@ -4021,6 +4084,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4021
4084
  supportsComputerUse?: boolean | undefined;
4022
4085
  supportsVerbosity?: boolean | undefined;
4023
4086
  supportsReasoningBudget?: boolean | undefined;
4087
+ supportsTemperature?: boolean | undefined;
4024
4088
  requiredReasoningBudget?: boolean | undefined;
4025
4089
  supportsReasoningEffort?: boolean | undefined;
4026
4090
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -4136,6 +4200,10 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4136
4200
  openRouterBaseUrl?: string | undefined;
4137
4201
  openRouterSpecificProvider?: string | undefined;
4138
4202
  openRouterUseMiddleOutTransform?: boolean | undefined;
4203
+ openRouterImageGenerationSettings?: {
4204
+ openRouterApiKey?: string | undefined;
4205
+ selectedModel?: string | undefined;
4206
+ } | undefined;
4139
4207
  awsAccessKey?: string | undefined;
4140
4208
  awsSecretKey?: string | undefined;
4141
4209
  awsSessionToken?: string | undefined;
@@ -4171,6 +4239,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4171
4239
  supportsComputerUse?: boolean | undefined;
4172
4240
  supportsVerbosity?: boolean | undefined;
4173
4241
  supportsReasoningBudget?: boolean | undefined;
4242
+ supportsTemperature?: boolean | undefined;
4174
4243
  requiredReasoningBudget?: boolean | undefined;
4175
4244
  supportsReasoningEffort?: boolean | undefined;
4176
4245
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -4433,6 +4502,16 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
4433
4502
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
4434
4503
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
4435
4504
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
4505
+ openRouterImageGenerationSettings: z.ZodOptional<z.ZodObject<{
4506
+ openRouterApiKey: z.ZodOptional<z.ZodString>;
4507
+ selectedModel: z.ZodOptional<z.ZodString>;
4508
+ }, "strip", z.ZodTypeAny, {
4509
+ openRouterApiKey?: string | undefined;
4510
+ selectedModel?: string | undefined;
4511
+ }, {
4512
+ openRouterApiKey?: string | undefined;
4513
+ selectedModel?: string | undefined;
4514
+ }>>;
4436
4515
  } & {
4437
4516
  apiProvider: z.ZodLiteral<"openrouter">;
4438
4517
  }, "strip", z.ZodTypeAny, {
@@ -4454,6 +4533,10 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
4454
4533
  openRouterBaseUrl?: string | undefined;
4455
4534
  openRouterSpecificProvider?: string | undefined;
4456
4535
  openRouterUseMiddleOutTransform?: boolean | undefined;
4536
+ openRouterImageGenerationSettings?: {
4537
+ openRouterApiKey?: string | undefined;
4538
+ selectedModel?: string | undefined;
4539
+ } | undefined;
4457
4540
  }, {
4458
4541
  apiProvider: "openrouter";
4459
4542
  reasoningEffort?: "low" | "medium" | "high" | "minimal" | undefined;
@@ -4473,6 +4556,10 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
4473
4556
  openRouterBaseUrl?: string | undefined;
4474
4557
  openRouterSpecificProvider?: string | undefined;
4475
4558
  openRouterUseMiddleOutTransform?: boolean | undefined;
4559
+ openRouterImageGenerationSettings?: {
4560
+ openRouterApiKey?: string | undefined;
4561
+ selectedModel?: string | undefined;
4562
+ } | undefined;
4476
4563
  }>, z.ZodObject<{
4477
4564
  includeMaxTokens: z.ZodOptional<z.ZodBoolean>;
4478
4565
  diffEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -4660,6 +4747,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
4660
4747
  supportsPromptCache: z.ZodBoolean;
4661
4748
  supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
4662
4749
  supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
4750
+ supportsTemperature: z.ZodOptional<z.ZodBoolean>;
4663
4751
  requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
4664
4752
  supportsReasoningEffort: z.ZodOptional<z.ZodBoolean>;
4665
4753
  supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
@@ -4700,6 +4788,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
4700
4788
  supportsComputerUse?: boolean | undefined;
4701
4789
  supportsVerbosity?: boolean | undefined;
4702
4790
  supportsReasoningBudget?: boolean | undefined;
4791
+ supportsTemperature?: boolean | undefined;
4703
4792
  requiredReasoningBudget?: boolean | undefined;
4704
4793
  supportsReasoningEffort?: boolean | undefined;
4705
4794
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -4728,6 +4817,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
4728
4817
  supportsComputerUse?: boolean | undefined;
4729
4818
  supportsVerbosity?: boolean | undefined;
4730
4819
  supportsReasoningBudget?: boolean | undefined;
4820
+ supportsTemperature?: boolean | undefined;
4731
4821
  requiredReasoningBudget?: boolean | undefined;
4732
4822
  supportsReasoningEffort?: boolean | undefined;
4733
4823
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -4783,6 +4873,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
4783
4873
  supportsComputerUse?: boolean | undefined;
4784
4874
  supportsVerbosity?: boolean | undefined;
4785
4875
  supportsReasoningBudget?: boolean | undefined;
4876
+ supportsTemperature?: boolean | undefined;
4786
4877
  requiredReasoningBudget?: boolean | undefined;
4787
4878
  supportsReasoningEffort?: boolean | undefined;
4788
4879
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -4836,6 +4927,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
4836
4927
  supportsComputerUse?: boolean | undefined;
4837
4928
  supportsVerbosity?: boolean | undefined;
4838
4929
  supportsReasoningBudget?: boolean | undefined;
4930
+ supportsTemperature?: boolean | undefined;
4839
4931
  requiredReasoningBudget?: boolean | undefined;
4840
4932
  supportsReasoningEffort?: boolean | undefined;
4841
4933
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -6352,7 +6444,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
6352
6444
  id?: string | undefined;
6353
6445
  }>>;
6354
6446
  type ProviderSettingsWithId = z.infer<typeof providerSettingsWithIdSchema>;
6355
- declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "codebaseIndexVercelAiGatewayApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "todoListEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "verbosity", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "anthropicBeta1MContext", "claudeCodePath", "claudeCodeMaxOutputTokens", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsApiKey", "awsUseApiKey", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "awsBedrock1MContext", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "enableUrlContext", "enableGrounding", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "doubaoBaseUrl", "doubaoApiKey", "moonshotBaseUrl", "moonshotApiKey", "unboundApiKey", "unboundModelId", "requestyBaseUrl", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "huggingFaceApiKey", "huggingFaceModelId", "huggingFaceInferenceProvider", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId", "litellmUsePromptCache", "cerebrasApiKey", "sambaNovaApiKey", "zaiApiKey", "zaiApiLine", "fireworksApiKey", "featherlessApiKey", "ioIntelligenceModelId", "ioIntelligenceApiKey", "qwenCodeOauthPath", "vercelAiGatewayApiKey", "vercelAiGatewayModelId"];
6447
+ declare const PROVIDER_SETTINGS_KEYS: ["reasoningEffort", "codebaseIndexOpenAiCompatibleBaseUrl", "codebaseIndexOpenAiCompatibleModelDimension", "codeIndexOpenAiKey", "codeIndexQdrantApiKey", "codebaseIndexOpenAiCompatibleApiKey", "codebaseIndexGeminiApiKey", "codebaseIndexMistralApiKey", "codebaseIndexVercelAiGatewayApiKey", "apiProvider", "includeMaxTokens", "diffEnabled", "todoListEnabled", "fuzzyMatchThreshold", "modelTemperature", "rateLimitSeconds", "consecutiveMistakeLimit", "enableReasoningEffort", "modelMaxTokens", "modelMaxThinkingTokens", "verbosity", "apiModelId", "apiKey", "anthropicBaseUrl", "anthropicUseAuthToken", "anthropicBeta1MContext", "claudeCodePath", "claudeCodeMaxOutputTokens", "glamaModelId", "glamaApiKey", "openRouterApiKey", "openRouterModelId", "openRouterBaseUrl", "openRouterSpecificProvider", "openRouterUseMiddleOutTransform", "openRouterImageGenerationSettings", "awsAccessKey", "awsSecretKey", "awsSessionToken", "awsRegion", "awsUseCrossRegionInference", "awsUsePromptCache", "awsProfile", "awsUseProfile", "awsApiKey", "awsUseApiKey", "awsCustomArn", "awsModelContextWindow", "awsBedrockEndpointEnabled", "awsBedrockEndpoint", "awsBedrock1MContext", "vertexKeyFile", "vertexJsonCredentials", "vertexProjectId", "vertexRegion", "enableUrlContext", "enableGrounding", "openAiBaseUrl", "openAiApiKey", "openAiLegacyFormat", "openAiR1FormatEnabled", "openAiModelId", "openAiCustomModelInfo", "openAiUseAzure", "azureApiVersion", "openAiStreamingEnabled", "openAiHostHeader", "openAiHeaders", "ollamaModelId", "ollamaBaseUrl", "vsCodeLmModelSelector", "lmStudioModelId", "lmStudioBaseUrl", "lmStudioDraftModelId", "lmStudioSpeculativeDecodingEnabled", "geminiApiKey", "googleGeminiBaseUrl", "geminiCliOAuthPath", "geminiCliProjectId", "openAiNativeApiKey", "openAiNativeBaseUrl", "mistralApiKey", "mistralCodestralUrl", "deepSeekBaseUrl", "deepSeekApiKey", "doubaoBaseUrl", "doubaoApiKey", "moonshotBaseUrl", "moonshotApiKey", "unboundApiKey", "unboundModelId", "requestyBaseUrl", "requestyApiKey", "requestyModelId", "fakeAi", "xaiApiKey", "groqApiKey", "huggingFaceApiKey", "huggingFaceModelId", "huggingFaceInferenceProvider", "chutesApiKey", "litellmBaseUrl", "litellmApiKey", "litellmModelId", "litellmUsePromptCache", "cerebrasApiKey", "sambaNovaApiKey", "zaiApiKey", "zaiApiLine", "fireworksApiKey", "featherlessApiKey", "ioIntelligenceModelId", "ioIntelligenceApiKey", "qwenCodeOauthPath", "vercelAiGatewayApiKey", "vercelAiGatewayModelId"];
6356
6448
  declare const MODEL_ID_KEYS: Partial<keyof ProviderSettings>[];
6357
6449
  declare const getModelId: (settings: ProviderSettings) => string | undefined;
6358
6450
  declare const ANTHROPIC_STYLE_PROVIDERS: ProviderName[];
@@ -6517,14 +6609,17 @@ declare const globalSettingsSchema: z.ZodObject<{
6517
6609
  powerSteering: z.ZodOptional<z.ZodBoolean>;
6518
6610
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
6519
6611
  preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
6612
+ imageGeneration: z.ZodOptional<z.ZodBoolean>;
6520
6613
  }, "strip", z.ZodTypeAny, {
6521
6614
  powerSteering?: boolean | undefined;
6522
6615
  multiFileApplyDiff?: boolean | undefined;
6523
6616
  preventFocusDisruption?: boolean | undefined;
6617
+ imageGeneration?: boolean | undefined;
6524
6618
  }, {
6525
6619
  powerSteering?: boolean | undefined;
6526
6620
  multiFileApplyDiff?: boolean | undefined;
6527
6621
  preventFocusDisruption?: boolean | undefined;
6622
+ imageGeneration?: boolean | undefined;
6528
6623
  }>>;
6529
6624
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
6530
6625
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -6829,6 +6924,7 @@ declare const globalSettingsSchema: z.ZodObject<{
6829
6924
  powerSteering?: boolean | undefined;
6830
6925
  multiFileApplyDiff?: boolean | undefined;
6831
6926
  preventFocusDisruption?: boolean | undefined;
6927
+ imageGeneration?: boolean | undefined;
6832
6928
  } | undefined;
6833
6929
  codebaseIndexModels?: {
6834
6930
  openai?: Record<string, {
@@ -6988,6 +7084,7 @@ declare const globalSettingsSchema: z.ZodObject<{
6988
7084
  powerSteering?: boolean | undefined;
6989
7085
  multiFileApplyDiff?: boolean | undefined;
6990
7086
  preventFocusDisruption?: boolean | undefined;
7087
+ imageGeneration?: boolean | undefined;
6991
7088
  } | undefined;
6992
7089
  codebaseIndexModels?: {
6993
7090
  openai?: Record<string, {
@@ -7144,6 +7241,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
7144
7241
  supportsPromptCache: z.ZodBoolean;
7145
7242
  supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
7146
7243
  supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
7244
+ supportsTemperature: z.ZodOptional<z.ZodBoolean>;
7147
7245
  requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
7148
7246
  supportsReasoningEffort: z.ZodOptional<z.ZodBoolean>;
7149
7247
  supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
@@ -7184,6 +7282,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
7184
7282
  supportsComputerUse?: boolean | undefined;
7185
7283
  supportsVerbosity?: boolean | undefined;
7186
7284
  supportsReasoningBudget?: boolean | undefined;
7285
+ supportsTemperature?: boolean | undefined;
7187
7286
  requiredReasoningBudget?: boolean | undefined;
7188
7287
  supportsReasoningEffort?: boolean | undefined;
7189
7288
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -7212,6 +7311,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
7212
7311
  supportsComputerUse?: boolean | undefined;
7213
7312
  supportsVerbosity?: boolean | undefined;
7214
7313
  supportsReasoningBudget?: boolean | undefined;
7314
+ supportsTemperature?: boolean | undefined;
7215
7315
  requiredReasoningBudget?: boolean | undefined;
7216
7316
  supportsReasoningEffort?: boolean | undefined;
7217
7317
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -7261,6 +7361,16 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
7261
7361
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
7262
7362
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
7263
7363
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
7364
+ openRouterImageGenerationSettings: z.ZodOptional<z.ZodObject<{
7365
+ openRouterApiKey: z.ZodOptional<z.ZodString>;
7366
+ selectedModel: z.ZodOptional<z.ZodString>;
7367
+ }, "strip", z.ZodTypeAny, {
7368
+ openRouterApiKey?: string | undefined;
7369
+ selectedModel?: string | undefined;
7370
+ }, {
7371
+ openRouterApiKey?: string | undefined;
7372
+ selectedModel?: string | undefined;
7373
+ }>>;
7264
7374
  glamaModelId: z.ZodOptional<z.ZodString>;
7265
7375
  glamaApiKey: z.ZodOptional<z.ZodString>;
7266
7376
  claudeCodePath: z.ZodOptional<z.ZodString>;
@@ -7398,14 +7508,17 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
7398
7508
  powerSteering: z.ZodOptional<z.ZodBoolean>;
7399
7509
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
7400
7510
  preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
7511
+ imageGeneration: z.ZodOptional<z.ZodBoolean>;
7401
7512
  }, "strip", z.ZodTypeAny, {
7402
7513
  powerSteering?: boolean | undefined;
7403
7514
  multiFileApplyDiff?: boolean | undefined;
7404
7515
  preventFocusDisruption?: boolean | undefined;
7516
+ imageGeneration?: boolean | undefined;
7405
7517
  }, {
7406
7518
  powerSteering?: boolean | undefined;
7407
7519
  multiFileApplyDiff?: boolean | undefined;
7408
7520
  preventFocusDisruption?: boolean | undefined;
7521
+ imageGeneration?: boolean | undefined;
7409
7522
  }>>;
7410
7523
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
7411
7524
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -7639,6 +7752,10 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
7639
7752
  openRouterBaseUrl?: string | undefined;
7640
7753
  openRouterSpecificProvider?: string | undefined;
7641
7754
  openRouterUseMiddleOutTransform?: boolean | undefined;
7755
+ openRouterImageGenerationSettings?: {
7756
+ openRouterApiKey?: string | undefined;
7757
+ selectedModel?: string | undefined;
7758
+ } | undefined;
7642
7759
  awsAccessKey?: string | undefined;
7643
7760
  awsSecretKey?: string | undefined;
7644
7761
  awsSessionToken?: string | undefined;
@@ -7674,6 +7791,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
7674
7791
  supportsComputerUse?: boolean | undefined;
7675
7792
  supportsVerbosity?: boolean | undefined;
7676
7793
  supportsReasoningBudget?: boolean | undefined;
7794
+ supportsTemperature?: boolean | undefined;
7677
7795
  requiredReasoningBudget?: boolean | undefined;
7678
7796
  supportsReasoningEffort?: boolean | undefined;
7679
7797
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -7855,6 +7973,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
7855
7973
  powerSteering?: boolean | undefined;
7856
7974
  multiFileApplyDiff?: boolean | undefined;
7857
7975
  preventFocusDisruption?: boolean | undefined;
7976
+ imageGeneration?: boolean | undefined;
7858
7977
  } | undefined;
7859
7978
  codebaseIndexModels?: {
7860
7979
  openai?: Record<string, {
@@ -7943,6 +8062,10 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
7943
8062
  openRouterBaseUrl?: string | undefined;
7944
8063
  openRouterSpecificProvider?: string | undefined;
7945
8064
  openRouterUseMiddleOutTransform?: boolean | undefined;
8065
+ openRouterImageGenerationSettings?: {
8066
+ openRouterApiKey?: string | undefined;
8067
+ selectedModel?: string | undefined;
8068
+ } | undefined;
7946
8069
  awsAccessKey?: string | undefined;
7947
8070
  awsSecretKey?: string | undefined;
7948
8071
  awsSessionToken?: string | undefined;
@@ -7978,6 +8101,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
7978
8101
  supportsComputerUse?: boolean | undefined;
7979
8102
  supportsVerbosity?: boolean | undefined;
7980
8103
  supportsReasoningBudget?: boolean | undefined;
8104
+ supportsTemperature?: boolean | undefined;
7981
8105
  requiredReasoningBudget?: boolean | undefined;
7982
8106
  supportsReasoningEffort?: boolean | undefined;
7983
8107
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -8159,6 +8283,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8159
8283
  powerSteering?: boolean | undefined;
8160
8284
  multiFileApplyDiff?: boolean | undefined;
8161
8285
  preventFocusDisruption?: boolean | undefined;
8286
+ imageGeneration?: boolean | undefined;
8162
8287
  } | undefined;
8163
8288
  codebaseIndexModels?: {
8164
8289
  openai?: Record<string, {
@@ -8378,6 +8503,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8378
8503
  supportsPromptCache: z.ZodBoolean;
8379
8504
  supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
8380
8505
  supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
8506
+ supportsTemperature: z.ZodOptional<z.ZodBoolean>;
8381
8507
  requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
8382
8508
  supportsReasoningEffort: z.ZodOptional<z.ZodBoolean>;
8383
8509
  supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
@@ -8418,6 +8544,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8418
8544
  supportsComputerUse?: boolean | undefined;
8419
8545
  supportsVerbosity?: boolean | undefined;
8420
8546
  supportsReasoningBudget?: boolean | undefined;
8547
+ supportsTemperature?: boolean | undefined;
8421
8548
  requiredReasoningBudget?: boolean | undefined;
8422
8549
  supportsReasoningEffort?: boolean | undefined;
8423
8550
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -8446,6 +8573,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8446
8573
  supportsComputerUse?: boolean | undefined;
8447
8574
  supportsVerbosity?: boolean | undefined;
8448
8575
  supportsReasoningBudget?: boolean | undefined;
8576
+ supportsTemperature?: boolean | undefined;
8449
8577
  requiredReasoningBudget?: boolean | undefined;
8450
8578
  supportsReasoningEffort?: boolean | undefined;
8451
8579
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -8495,6 +8623,16 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8495
8623
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
8496
8624
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
8497
8625
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
8626
+ openRouterImageGenerationSettings: z.ZodOptional<z.ZodObject<{
8627
+ openRouterApiKey: z.ZodOptional<z.ZodString>;
8628
+ selectedModel: z.ZodOptional<z.ZodString>;
8629
+ }, "strip", z.ZodTypeAny, {
8630
+ openRouterApiKey?: string | undefined;
8631
+ selectedModel?: string | undefined;
8632
+ }, {
8633
+ openRouterApiKey?: string | undefined;
8634
+ selectedModel?: string | undefined;
8635
+ }>>;
8498
8636
  glamaModelId: z.ZodOptional<z.ZodString>;
8499
8637
  glamaApiKey: z.ZodOptional<z.ZodString>;
8500
8638
  claudeCodePath: z.ZodOptional<z.ZodString>;
@@ -8632,14 +8770,17 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8632
8770
  powerSteering: z.ZodOptional<z.ZodBoolean>;
8633
8771
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
8634
8772
  preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
8773
+ imageGeneration: z.ZodOptional<z.ZodBoolean>;
8635
8774
  }, "strip", z.ZodTypeAny, {
8636
8775
  powerSteering?: boolean | undefined;
8637
8776
  multiFileApplyDiff?: boolean | undefined;
8638
8777
  preventFocusDisruption?: boolean | undefined;
8778
+ imageGeneration?: boolean | undefined;
8639
8779
  }, {
8640
8780
  powerSteering?: boolean | undefined;
8641
8781
  multiFileApplyDiff?: boolean | undefined;
8642
8782
  preventFocusDisruption?: boolean | undefined;
8783
+ imageGeneration?: boolean | undefined;
8643
8784
  }>>;
8644
8785
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
8645
8786
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -8873,6 +9014,10 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8873
9014
  openRouterBaseUrl?: string | undefined;
8874
9015
  openRouterSpecificProvider?: string | undefined;
8875
9016
  openRouterUseMiddleOutTransform?: boolean | undefined;
9017
+ openRouterImageGenerationSettings?: {
9018
+ openRouterApiKey?: string | undefined;
9019
+ selectedModel?: string | undefined;
9020
+ } | undefined;
8876
9021
  awsAccessKey?: string | undefined;
8877
9022
  awsSecretKey?: string | undefined;
8878
9023
  awsSessionToken?: string | undefined;
@@ -8908,6 +9053,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8908
9053
  supportsComputerUse?: boolean | undefined;
8909
9054
  supportsVerbosity?: boolean | undefined;
8910
9055
  supportsReasoningBudget?: boolean | undefined;
9056
+ supportsTemperature?: boolean | undefined;
8911
9057
  requiredReasoningBudget?: boolean | undefined;
8912
9058
  supportsReasoningEffort?: boolean | undefined;
8913
9059
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -9089,6 +9235,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9089
9235
  powerSteering?: boolean | undefined;
9090
9236
  multiFileApplyDiff?: boolean | undefined;
9091
9237
  preventFocusDisruption?: boolean | undefined;
9238
+ imageGeneration?: boolean | undefined;
9092
9239
  } | undefined;
9093
9240
  codebaseIndexModels?: {
9094
9241
  openai?: Record<string, {
@@ -9177,6 +9324,10 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9177
9324
  openRouterBaseUrl?: string | undefined;
9178
9325
  openRouterSpecificProvider?: string | undefined;
9179
9326
  openRouterUseMiddleOutTransform?: boolean | undefined;
9327
+ openRouterImageGenerationSettings?: {
9328
+ openRouterApiKey?: string | undefined;
9329
+ selectedModel?: string | undefined;
9330
+ } | undefined;
9180
9331
  awsAccessKey?: string | undefined;
9181
9332
  awsSecretKey?: string | undefined;
9182
9333
  awsSessionToken?: string | undefined;
@@ -9212,6 +9363,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9212
9363
  supportsComputerUse?: boolean | undefined;
9213
9364
  supportsVerbosity?: boolean | undefined;
9214
9365
  supportsReasoningBudget?: boolean | undefined;
9366
+ supportsTemperature?: boolean | undefined;
9215
9367
  requiredReasoningBudget?: boolean | undefined;
9216
9368
  supportsReasoningEffort?: boolean | undefined;
9217
9369
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -9393,6 +9545,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9393
9545
  powerSteering?: boolean | undefined;
9394
9546
  multiFileApplyDiff?: boolean | undefined;
9395
9547
  preventFocusDisruption?: boolean | undefined;
9548
+ imageGeneration?: boolean | undefined;
9396
9549
  } | undefined;
9397
9550
  codebaseIndexModels?: {
9398
9551
  openai?: Record<string, {
@@ -9487,6 +9640,10 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9487
9640
  openRouterBaseUrl?: string | undefined;
9488
9641
  openRouterSpecificProvider?: string | undefined;
9489
9642
  openRouterUseMiddleOutTransform?: boolean | undefined;
9643
+ openRouterImageGenerationSettings?: {
9644
+ openRouterApiKey?: string | undefined;
9645
+ selectedModel?: string | undefined;
9646
+ } | undefined;
9490
9647
  awsAccessKey?: string | undefined;
9491
9648
  awsSecretKey?: string | undefined;
9492
9649
  awsSessionToken?: string | undefined;
@@ -9522,6 +9679,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9522
9679
  supportsComputerUse?: boolean | undefined;
9523
9680
  supportsVerbosity?: boolean | undefined;
9524
9681
  supportsReasoningBudget?: boolean | undefined;
9682
+ supportsTemperature?: boolean | undefined;
9525
9683
  requiredReasoningBudget?: boolean | undefined;
9526
9684
  supportsReasoningEffort?: boolean | undefined;
9527
9685
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -9703,6 +9861,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9703
9861
  powerSteering?: boolean | undefined;
9704
9862
  multiFileApplyDiff?: boolean | undefined;
9705
9863
  preventFocusDisruption?: boolean | undefined;
9864
+ imageGeneration?: boolean | undefined;
9706
9865
  } | undefined;
9707
9866
  codebaseIndexModels?: {
9708
9867
  openai?: Record<string, {
@@ -9796,6 +9955,10 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9796
9955
  openRouterBaseUrl?: string | undefined;
9797
9956
  openRouterSpecificProvider?: string | undefined;
9798
9957
  openRouterUseMiddleOutTransform?: boolean | undefined;
9958
+ openRouterImageGenerationSettings?: {
9959
+ openRouterApiKey?: string | undefined;
9960
+ selectedModel?: string | undefined;
9961
+ } | undefined;
9799
9962
  awsAccessKey?: string | undefined;
9800
9963
  awsSecretKey?: string | undefined;
9801
9964
  awsSessionToken?: string | undefined;
@@ -9831,6 +9994,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9831
9994
  supportsComputerUse?: boolean | undefined;
9832
9995
  supportsVerbosity?: boolean | undefined;
9833
9996
  supportsReasoningBudget?: boolean | undefined;
9997
+ supportsTemperature?: boolean | undefined;
9834
9998
  requiredReasoningBudget?: boolean | undefined;
9835
9999
  supportsReasoningEffort?: boolean | undefined;
9836
10000
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -10012,6 +10176,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10012
10176
  powerSteering?: boolean | undefined;
10013
10177
  multiFileApplyDiff?: boolean | undefined;
10014
10178
  preventFocusDisruption?: boolean | undefined;
10179
+ imageGeneration?: boolean | undefined;
10015
10180
  } | undefined;
10016
10181
  codebaseIndexModels?: {
10017
10182
  openai?: Record<string, {
@@ -10108,6 +10273,10 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10108
10273
  openRouterBaseUrl?: string | undefined;
10109
10274
  openRouterSpecificProvider?: string | undefined;
10110
10275
  openRouterUseMiddleOutTransform?: boolean | undefined;
10276
+ openRouterImageGenerationSettings?: {
10277
+ openRouterApiKey?: string | undefined;
10278
+ selectedModel?: string | undefined;
10279
+ } | undefined;
10111
10280
  awsAccessKey?: string | undefined;
10112
10281
  awsSecretKey?: string | undefined;
10113
10282
  awsSessionToken?: string | undefined;
@@ -10143,6 +10312,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10143
10312
  supportsComputerUse?: boolean | undefined;
10144
10313
  supportsVerbosity?: boolean | undefined;
10145
10314
  supportsReasoningBudget?: boolean | undefined;
10315
+ supportsTemperature?: boolean | undefined;
10146
10316
  requiredReasoningBudget?: boolean | undefined;
10147
10317
  supportsReasoningEffort?: boolean | undefined;
10148
10318
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -10324,6 +10494,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10324
10494
  powerSteering?: boolean | undefined;
10325
10495
  multiFileApplyDiff?: boolean | undefined;
10326
10496
  preventFocusDisruption?: boolean | undefined;
10497
+ imageGeneration?: boolean | undefined;
10327
10498
  } | undefined;
10328
10499
  codebaseIndexModels?: {
10329
10500
  openai?: Record<string, {
@@ -10420,6 +10591,10 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10420
10591
  openRouterBaseUrl?: string | undefined;
10421
10592
  openRouterSpecificProvider?: string | undefined;
10422
10593
  openRouterUseMiddleOutTransform?: boolean | undefined;
10594
+ openRouterImageGenerationSettings?: {
10595
+ openRouterApiKey?: string | undefined;
10596
+ selectedModel?: string | undefined;
10597
+ } | undefined;
10423
10598
  awsAccessKey?: string | undefined;
10424
10599
  awsSecretKey?: string | undefined;
10425
10600
  awsSessionToken?: string | undefined;
@@ -10455,6 +10630,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10455
10630
  supportsComputerUse?: boolean | undefined;
10456
10631
  supportsVerbosity?: boolean | undefined;
10457
10632
  supportsReasoningBudget?: boolean | undefined;
10633
+ supportsTemperature?: boolean | undefined;
10458
10634
  requiredReasoningBudget?: boolean | undefined;
10459
10635
  supportsReasoningEffort?: boolean | undefined;
10460
10636
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -10636,6 +10812,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10636
10812
  powerSteering?: boolean | undefined;
10637
10813
  multiFileApplyDiff?: boolean | undefined;
10638
10814
  preventFocusDisruption?: boolean | undefined;
10815
+ imageGeneration?: boolean | undefined;
10639
10816
  } | undefined;
10640
10817
  codebaseIndexModels?: {
10641
10818
  openai?: Record<string, {
@@ -10861,6 +11038,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10861
11038
  supportsPromptCache: z.ZodBoolean;
10862
11039
  supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
10863
11040
  supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
11041
+ supportsTemperature: z.ZodOptional<z.ZodBoolean>;
10864
11042
  requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
10865
11043
  supportsReasoningEffort: z.ZodOptional<z.ZodBoolean>;
10866
11044
  supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
@@ -10901,6 +11079,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10901
11079
  supportsComputerUse?: boolean | undefined;
10902
11080
  supportsVerbosity?: boolean | undefined;
10903
11081
  supportsReasoningBudget?: boolean | undefined;
11082
+ supportsTemperature?: boolean | undefined;
10904
11083
  requiredReasoningBudget?: boolean | undefined;
10905
11084
  supportsReasoningEffort?: boolean | undefined;
10906
11085
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -10929,6 +11108,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10929
11108
  supportsComputerUse?: boolean | undefined;
10930
11109
  supportsVerbosity?: boolean | undefined;
10931
11110
  supportsReasoningBudget?: boolean | undefined;
11111
+ supportsTemperature?: boolean | undefined;
10932
11112
  requiredReasoningBudget?: boolean | undefined;
10933
11113
  supportsReasoningEffort?: boolean | undefined;
10934
11114
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -10978,6 +11158,16 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
10978
11158
  openRouterBaseUrl: z.ZodOptional<z.ZodString>;
10979
11159
  openRouterSpecificProvider: z.ZodOptional<z.ZodString>;
10980
11160
  openRouterUseMiddleOutTransform: z.ZodOptional<z.ZodBoolean>;
11161
+ openRouterImageGenerationSettings: z.ZodOptional<z.ZodObject<{
11162
+ openRouterApiKey: z.ZodOptional<z.ZodString>;
11163
+ selectedModel: z.ZodOptional<z.ZodString>;
11164
+ }, "strip", z.ZodTypeAny, {
11165
+ openRouterApiKey?: string | undefined;
11166
+ selectedModel?: string | undefined;
11167
+ }, {
11168
+ openRouterApiKey?: string | undefined;
11169
+ selectedModel?: string | undefined;
11170
+ }>>;
10981
11171
  glamaModelId: z.ZodOptional<z.ZodString>;
10982
11172
  glamaApiKey: z.ZodOptional<z.ZodString>;
10983
11173
  claudeCodePath: z.ZodOptional<z.ZodString>;
@@ -11115,14 +11305,17 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11115
11305
  powerSteering: z.ZodOptional<z.ZodBoolean>;
11116
11306
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
11117
11307
  preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
11308
+ imageGeneration: z.ZodOptional<z.ZodBoolean>;
11118
11309
  }, "strip", z.ZodTypeAny, {
11119
11310
  powerSteering?: boolean | undefined;
11120
11311
  multiFileApplyDiff?: boolean | undefined;
11121
11312
  preventFocusDisruption?: boolean | undefined;
11313
+ imageGeneration?: boolean | undefined;
11122
11314
  }, {
11123
11315
  powerSteering?: boolean | undefined;
11124
11316
  multiFileApplyDiff?: boolean | undefined;
11125
11317
  preventFocusDisruption?: boolean | undefined;
11318
+ imageGeneration?: boolean | undefined;
11126
11319
  }>>;
11127
11320
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
11128
11321
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -11356,6 +11549,10 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11356
11549
  openRouterBaseUrl?: string | undefined;
11357
11550
  openRouterSpecificProvider?: string | undefined;
11358
11551
  openRouterUseMiddleOutTransform?: boolean | undefined;
11552
+ openRouterImageGenerationSettings?: {
11553
+ openRouterApiKey?: string | undefined;
11554
+ selectedModel?: string | undefined;
11555
+ } | undefined;
11359
11556
  awsAccessKey?: string | undefined;
11360
11557
  awsSecretKey?: string | undefined;
11361
11558
  awsSessionToken?: string | undefined;
@@ -11391,6 +11588,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11391
11588
  supportsComputerUse?: boolean | undefined;
11392
11589
  supportsVerbosity?: boolean | undefined;
11393
11590
  supportsReasoningBudget?: boolean | undefined;
11591
+ supportsTemperature?: boolean | undefined;
11394
11592
  requiredReasoningBudget?: boolean | undefined;
11395
11593
  supportsReasoningEffort?: boolean | undefined;
11396
11594
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -11572,6 +11770,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11572
11770
  powerSteering?: boolean | undefined;
11573
11771
  multiFileApplyDiff?: boolean | undefined;
11574
11772
  preventFocusDisruption?: boolean | undefined;
11773
+ imageGeneration?: boolean | undefined;
11575
11774
  } | undefined;
11576
11775
  codebaseIndexModels?: {
11577
11776
  openai?: Record<string, {
@@ -11660,6 +11859,10 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11660
11859
  openRouterBaseUrl?: string | undefined;
11661
11860
  openRouterSpecificProvider?: string | undefined;
11662
11861
  openRouterUseMiddleOutTransform?: boolean | undefined;
11862
+ openRouterImageGenerationSettings?: {
11863
+ openRouterApiKey?: string | undefined;
11864
+ selectedModel?: string | undefined;
11865
+ } | undefined;
11663
11866
  awsAccessKey?: string | undefined;
11664
11867
  awsSecretKey?: string | undefined;
11665
11868
  awsSessionToken?: string | undefined;
@@ -11695,6 +11898,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11695
11898
  supportsComputerUse?: boolean | undefined;
11696
11899
  supportsVerbosity?: boolean | undefined;
11697
11900
  supportsReasoningBudget?: boolean | undefined;
11901
+ supportsTemperature?: boolean | undefined;
11698
11902
  requiredReasoningBudget?: boolean | undefined;
11699
11903
  supportsReasoningEffort?: boolean | undefined;
11700
11904
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -11876,6 +12080,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11876
12080
  powerSteering?: boolean | undefined;
11877
12081
  multiFileApplyDiff?: boolean | undefined;
11878
12082
  preventFocusDisruption?: boolean | undefined;
12083
+ imageGeneration?: boolean | undefined;
11879
12084
  } | undefined;
11880
12085
  codebaseIndexModels?: {
11881
12086
  openai?: Record<string, {
@@ -11970,6 +12175,10 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11970
12175
  openRouterBaseUrl?: string | undefined;
11971
12176
  openRouterSpecificProvider?: string | undefined;
11972
12177
  openRouterUseMiddleOutTransform?: boolean | undefined;
12178
+ openRouterImageGenerationSettings?: {
12179
+ openRouterApiKey?: string | undefined;
12180
+ selectedModel?: string | undefined;
12181
+ } | undefined;
11973
12182
  awsAccessKey?: string | undefined;
11974
12183
  awsSecretKey?: string | undefined;
11975
12184
  awsSessionToken?: string | undefined;
@@ -12005,6 +12214,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12005
12214
  supportsComputerUse?: boolean | undefined;
12006
12215
  supportsVerbosity?: boolean | undefined;
12007
12216
  supportsReasoningBudget?: boolean | undefined;
12217
+ supportsTemperature?: boolean | undefined;
12008
12218
  requiredReasoningBudget?: boolean | undefined;
12009
12219
  supportsReasoningEffort?: boolean | undefined;
12010
12220
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -12186,6 +12396,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12186
12396
  powerSteering?: boolean | undefined;
12187
12397
  multiFileApplyDiff?: boolean | undefined;
12188
12398
  preventFocusDisruption?: boolean | undefined;
12399
+ imageGeneration?: boolean | undefined;
12189
12400
  } | undefined;
12190
12401
  codebaseIndexModels?: {
12191
12402
  openai?: Record<string, {
@@ -12279,6 +12490,10 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12279
12490
  openRouterBaseUrl?: string | undefined;
12280
12491
  openRouterSpecificProvider?: string | undefined;
12281
12492
  openRouterUseMiddleOutTransform?: boolean | undefined;
12493
+ openRouterImageGenerationSettings?: {
12494
+ openRouterApiKey?: string | undefined;
12495
+ selectedModel?: string | undefined;
12496
+ } | undefined;
12282
12497
  awsAccessKey?: string | undefined;
12283
12498
  awsSecretKey?: string | undefined;
12284
12499
  awsSessionToken?: string | undefined;
@@ -12314,6 +12529,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12314
12529
  supportsComputerUse?: boolean | undefined;
12315
12530
  supportsVerbosity?: boolean | undefined;
12316
12531
  supportsReasoningBudget?: boolean | undefined;
12532
+ supportsTemperature?: boolean | undefined;
12317
12533
  requiredReasoningBudget?: boolean | undefined;
12318
12534
  supportsReasoningEffort?: boolean | undefined;
12319
12535
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -12495,6 +12711,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12495
12711
  powerSteering?: boolean | undefined;
12496
12712
  multiFileApplyDiff?: boolean | undefined;
12497
12713
  preventFocusDisruption?: boolean | undefined;
12714
+ imageGeneration?: boolean | undefined;
12498
12715
  } | undefined;
12499
12716
  codebaseIndexModels?: {
12500
12717
  openai?: Record<string, {
@@ -12591,6 +12808,10 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12591
12808
  openRouterBaseUrl?: string | undefined;
12592
12809
  openRouterSpecificProvider?: string | undefined;
12593
12810
  openRouterUseMiddleOutTransform?: boolean | undefined;
12811
+ openRouterImageGenerationSettings?: {
12812
+ openRouterApiKey?: string | undefined;
12813
+ selectedModel?: string | undefined;
12814
+ } | undefined;
12594
12815
  awsAccessKey?: string | undefined;
12595
12816
  awsSecretKey?: string | undefined;
12596
12817
  awsSessionToken?: string | undefined;
@@ -12626,6 +12847,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12626
12847
  supportsComputerUse?: boolean | undefined;
12627
12848
  supportsVerbosity?: boolean | undefined;
12628
12849
  supportsReasoningBudget?: boolean | undefined;
12850
+ supportsTemperature?: boolean | undefined;
12629
12851
  requiredReasoningBudget?: boolean | undefined;
12630
12852
  supportsReasoningEffort?: boolean | undefined;
12631
12853
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -12807,6 +13029,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12807
13029
  powerSteering?: boolean | undefined;
12808
13030
  multiFileApplyDiff?: boolean | undefined;
12809
13031
  preventFocusDisruption?: boolean | undefined;
13032
+ imageGeneration?: boolean | undefined;
12810
13033
  } | undefined;
12811
13034
  codebaseIndexModels?: {
12812
13035
  openai?: Record<string, {
@@ -12903,6 +13126,10 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12903
13126
  openRouterBaseUrl?: string | undefined;
12904
13127
  openRouterSpecificProvider?: string | undefined;
12905
13128
  openRouterUseMiddleOutTransform?: boolean | undefined;
13129
+ openRouterImageGenerationSettings?: {
13130
+ openRouterApiKey?: string | undefined;
13131
+ selectedModel?: string | undefined;
13132
+ } | undefined;
12906
13133
  awsAccessKey?: string | undefined;
12907
13134
  awsSecretKey?: string | undefined;
12908
13135
  awsSessionToken?: string | undefined;
@@ -12938,6 +13165,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12938
13165
  supportsComputerUse?: boolean | undefined;
12939
13166
  supportsVerbosity?: boolean | undefined;
12940
13167
  supportsReasoningBudget?: boolean | undefined;
13168
+ supportsTemperature?: boolean | undefined;
12941
13169
  requiredReasoningBudget?: boolean | undefined;
12942
13170
  supportsReasoningEffort?: boolean | undefined;
12943
13171
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -13119,6 +13347,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13119
13347
  powerSteering?: boolean | undefined;
13120
13348
  multiFileApplyDiff?: boolean | undefined;
13121
13349
  preventFocusDisruption?: boolean | undefined;
13350
+ imageGeneration?: boolean | undefined;
13122
13351
  } | undefined;
13123
13352
  codebaseIndexModels?: {
13124
13353
  openai?: Record<string, {
@@ -13246,6 +13475,10 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13246
13475
  openRouterBaseUrl?: string | undefined;
13247
13476
  openRouterSpecificProvider?: string | undefined;
13248
13477
  openRouterUseMiddleOutTransform?: boolean | undefined;
13478
+ openRouterImageGenerationSettings?: {
13479
+ openRouterApiKey?: string | undefined;
13480
+ selectedModel?: string | undefined;
13481
+ } | undefined;
13249
13482
  awsAccessKey?: string | undefined;
13250
13483
  awsSecretKey?: string | undefined;
13251
13484
  awsSessionToken?: string | undefined;
@@ -13281,6 +13514,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13281
13514
  supportsComputerUse?: boolean | undefined;
13282
13515
  supportsVerbosity?: boolean | undefined;
13283
13516
  supportsReasoningBudget?: boolean | undefined;
13517
+ supportsTemperature?: boolean | undefined;
13284
13518
  requiredReasoningBudget?: boolean | undefined;
13285
13519
  supportsReasoningEffort?: boolean | undefined;
13286
13520
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -13462,6 +13696,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13462
13696
  powerSteering?: boolean | undefined;
13463
13697
  multiFileApplyDiff?: boolean | undefined;
13464
13698
  preventFocusDisruption?: boolean | undefined;
13699
+ imageGeneration?: boolean | undefined;
13465
13700
  } | undefined;
13466
13701
  codebaseIndexModels?: {
13467
13702
  openai?: Record<string, {
@@ -13572,6 +13807,10 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13572
13807
  openRouterBaseUrl?: string | undefined;
13573
13808
  openRouterSpecificProvider?: string | undefined;
13574
13809
  openRouterUseMiddleOutTransform?: boolean | undefined;
13810
+ openRouterImageGenerationSettings?: {
13811
+ openRouterApiKey?: string | undefined;
13812
+ selectedModel?: string | undefined;
13813
+ } | undefined;
13575
13814
  awsAccessKey?: string | undefined;
13576
13815
  awsSecretKey?: string | undefined;
13577
13816
  awsSessionToken?: string | undefined;
@@ -13607,6 +13846,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13607
13846
  supportsComputerUse?: boolean | undefined;
13608
13847
  supportsVerbosity?: boolean | undefined;
13609
13848
  supportsReasoningBudget?: boolean | undefined;
13849
+ supportsTemperature?: boolean | undefined;
13610
13850
  requiredReasoningBudget?: boolean | undefined;
13611
13851
  supportsReasoningEffort?: boolean | undefined;
13612
13852
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -13788,6 +14028,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13788
14028
  powerSteering?: boolean | undefined;
13789
14029
  multiFileApplyDiff?: boolean | undefined;
13790
14030
  preventFocusDisruption?: boolean | undefined;
14031
+ imageGeneration?: boolean | undefined;
13791
14032
  } | undefined;
13792
14033
  codebaseIndexModels?: {
13793
14034
  openai?: Record<string, {
@@ -13906,7 +14147,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13906
14147
  contextTokens: number;
13907
14148
  totalCacheWrites?: number | undefined;
13908
14149
  totalCacheReads?: number | undefined;
13909
- }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"]>, z.ZodObject<{
14150
+ }>, z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"]>, z.ZodObject<{
13910
14151
  attempts: z.ZodNumber;
13911
14152
  failures: z.ZodNumber;
13912
14153
  }, "strip", z.ZodTypeAny, {
@@ -13932,7 +14173,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13932
14173
  contextTokens: number;
13933
14174
  totalCacheWrites?: number | undefined;
13934
14175
  totalCacheReads?: number | undefined;
13935
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", {
14176
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", {
13936
14177
  attempts: number;
13937
14178
  failures: number;
13938
14179
  }>>, {
@@ -13948,7 +14189,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13948
14189
  contextTokens: number;
13949
14190
  totalCacheWrites?: number | undefined;
13950
14191
  totalCacheReads?: number | undefined;
13951
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", {
14192
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", {
13952
14193
  attempts: number;
13953
14194
  failures: number;
13954
14195
  }>>, {
@@ -14379,15 +14620,15 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14379
14620
  taskId?: number | undefined;
14380
14621
  }>, z.ZodObject<{
14381
14622
  eventName: z.ZodLiteral<RooCodeEventName.TaskToolFailed>;
14382
- payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"]>, z.ZodString], null>;
14623
+ payload: z.ZodTuple<[z.ZodString, z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"]>, z.ZodString], null>;
14383
14624
  taskId: z.ZodOptional<z.ZodNumber>;
14384
14625
  }, "strip", z.ZodTypeAny, {
14385
14626
  eventName: RooCodeEventName.TaskToolFailed;
14386
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", string];
14627
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", string];
14387
14628
  taskId?: number | undefined;
14388
14629
  }, {
14389
14630
  eventName: RooCodeEventName.TaskToolFailed;
14390
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", string];
14631
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", string];
14391
14632
  taskId?: number | undefined;
14392
14633
  }>, z.ZodObject<{
14393
14634
  eventName: z.ZodLiteral<RooCodeEventName.TaskTokenUsageUpdated>;
@@ -14480,7 +14721,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14480
14721
  contextTokens: number;
14481
14722
  totalCacheWrites?: number | undefined;
14482
14723
  totalCacheReads?: number | undefined;
14483
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", {
14724
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", {
14484
14725
  attempts: number;
14485
14726
  failures: number;
14486
14727
  }>>, {
@@ -14575,7 +14816,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14575
14816
  taskId?: number | undefined;
14576
14817
  } | {
14577
14818
  eventName: RooCodeEventName.TaskToolFailed;
14578
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", string];
14819
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", string];
14579
14820
  taskId?: number | undefined;
14580
14821
  } | {
14581
14822
  eventName: RooCodeEventName.TaskTokenUsageUpdated;
@@ -14618,7 +14859,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14618
14859
  contextTokens: number;
14619
14860
  totalCacheWrites?: number | undefined;
14620
14861
  totalCacheReads?: number | undefined;
14621
- }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", {
14862
+ }, Partial<Record<"browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", {
14622
14863
  attempts: number;
14623
14864
  failures: number;
14624
14865
  }>>, {
@@ -14713,7 +14954,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14713
14954
  taskId?: number | undefined;
14714
14955
  } | {
14715
14956
  eventName: RooCodeEventName.TaskToolFailed;
14716
- payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list", string];
14957
+ payload: [string, "browser_action" | "execute_command" | "read_file" | "write_to_file" | "apply_diff" | "insert_content" | "search_and_replace" | "search_files" | "list_files" | "list_code_definition_names" | "use_mcp_tool" | "access_mcp_resource" | "ask_followup_question" | "attempt_completion" | "switch_mode" | "new_task" | "fetch_instructions" | "codebase_search" | "update_todo_list" | "generate_image", string];
14717
14958
  taskId?: number | undefined;
14718
14959
  } | {
14719
14960
  eventName: RooCodeEventName.TaskTokenUsageUpdated;
@@ -15062,8 +15303,8 @@ type CodebaseIndexProvider = z.infer<typeof codebaseIndexProviderSchema>;
15062
15303
  /**
15063
15304
  * ExperimentId
15064
15305
  */
15065
- declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff", "preventFocusDisruption"];
15066
- declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff", "preventFocusDisruption"]>;
15306
+ declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration"];
15307
+ declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration"]>;
15067
15308
  type ExperimentId = z.infer<typeof experimentIdsSchema>;
15068
15309
  /**
15069
15310
  * Experiments
@@ -15072,14 +15313,17 @@ declare const experimentsSchema: z.ZodObject<{
15072
15313
  powerSteering: z.ZodOptional<z.ZodBoolean>;
15073
15314
  multiFileApplyDiff: z.ZodOptional<z.ZodBoolean>;
15074
15315
  preventFocusDisruption: z.ZodOptional<z.ZodBoolean>;
15316
+ imageGeneration: z.ZodOptional<z.ZodBoolean>;
15075
15317
  }, "strip", z.ZodTypeAny, {
15076
15318
  powerSteering?: boolean | undefined;
15077
15319
  multiFileApplyDiff?: boolean | undefined;
15078
15320
  preventFocusDisruption?: boolean | undefined;
15321
+ imageGeneration?: boolean | undefined;
15079
15322
  }, {
15080
15323
  powerSteering?: boolean | undefined;
15081
15324
  multiFileApplyDiff?: boolean | undefined;
15082
15325
  preventFocusDisruption?: boolean | undefined;
15326
+ imageGeneration?: boolean | undefined;
15083
15327
  }>;
15084
15328
  type Experiments = z.infer<typeof experimentsSchema>;
15085
15329
 
@@ -16214,6 +16458,7 @@ declare const modelInfoSchema: z.ZodObject<{
16214
16458
  supportsPromptCache: z.ZodBoolean;
16215
16459
  supportsVerbosity: z.ZodOptional<z.ZodBoolean>;
16216
16460
  supportsReasoningBudget: z.ZodOptional<z.ZodBoolean>;
16461
+ supportsTemperature: z.ZodOptional<z.ZodBoolean>;
16217
16462
  requiredReasoningBudget: z.ZodOptional<z.ZodBoolean>;
16218
16463
  supportsReasoningEffort: z.ZodOptional<z.ZodBoolean>;
16219
16464
  supportedParameters: z.ZodOptional<z.ZodArray<z.ZodEnum<["max_tokens", "temperature", "reasoning", "include_reasoning"]>, "many">>;
@@ -16254,6 +16499,7 @@ declare const modelInfoSchema: z.ZodObject<{
16254
16499
  supportsComputerUse?: boolean | undefined;
16255
16500
  supportsVerbosity?: boolean | undefined;
16256
16501
  supportsReasoningBudget?: boolean | undefined;
16502
+ supportsTemperature?: boolean | undefined;
16257
16503
  requiredReasoningBudget?: boolean | undefined;
16258
16504
  supportsReasoningEffort?: boolean | undefined;
16259
16505
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -16282,6 +16528,7 @@ declare const modelInfoSchema: z.ZodObject<{
16282
16528
  supportsComputerUse?: boolean | undefined;
16283
16529
  supportsVerbosity?: boolean | undefined;
16284
16530
  supportsReasoningBudget?: boolean | undefined;
16531
+ supportsTemperature?: boolean | undefined;
16285
16532
  requiredReasoningBudget?: boolean | undefined;
16286
16533
  supportsReasoningEffort?: boolean | undefined;
16287
16534
  supportedParameters?: ("reasoning" | "max_tokens" | "temperature" | "include_reasoning")[] | undefined;
@@ -16325,13 +16572,13 @@ type ToolGroup = z.infer<typeof toolGroupsSchema>;
16325
16572
  /**
16326
16573
  * ToolName
16327
16574
  */
16328
- declare const toolNames: readonly ["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"];
16329
- declare const toolNamesSchema: z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"]>;
16575
+ declare const toolNames: readonly ["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"];
16576
+ declare const toolNamesSchema: z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"]>;
16330
16577
  type ToolName = z.infer<typeof toolNamesSchema>;
16331
16578
  /**
16332
16579
  * ToolUsage
16333
16580
  */
16334
- declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list"]>, z.ZodObject<{
16581
+ declare const toolUsageSchema: z.ZodRecord<z.ZodEnum<["execute_command", "read_file", "write_to_file", "apply_diff", "insert_content", "search_and_replace", "search_files", "list_files", "list_code_definition_names", "browser_action", "use_mcp_tool", "access_mcp_resource", "ask_followup_question", "attempt_completion", "switch_mode", "new_task", "fetch_instructions", "codebase_search", "update_todo_list", "generate_image"]>, z.ZodObject<{
16335
16582
  attempts: z.ZodNumber;
16336
16583
  failures: z.ZodNumber;
16337
16584
  }, "strip", z.ZodTypeAny, {
@@ -19265,6 +19512,7 @@ declare const openAiNativeModels: {
19265
19512
  readonly cacheReadsPrice: 0.13;
19266
19513
  readonly description: "GPT-5: The best model for coding and agentic tasks across domains";
19267
19514
  readonly supportsVerbosity: true;
19515
+ readonly supportsTemperature: false;
19268
19516
  };
19269
19517
  readonly "gpt-5-mini-2025-08-07": {
19270
19518
  readonly maxTokens: 128000;
@@ -19278,6 +19526,7 @@ declare const openAiNativeModels: {
19278
19526
  readonly cacheReadsPrice: 0.03;
19279
19527
  readonly description: "GPT-5 Mini: A faster, more cost-efficient version of GPT-5 for well-defined tasks";
19280
19528
  readonly supportsVerbosity: true;
19529
+ readonly supportsTemperature: false;
19281
19530
  };
19282
19531
  readonly "gpt-5-nano-2025-08-07": {
19283
19532
  readonly maxTokens: 128000;
@@ -19291,6 +19540,7 @@ declare const openAiNativeModels: {
19291
19540
  readonly cacheReadsPrice: 0.01;
19292
19541
  readonly description: "GPT-5 Nano: Fastest, most cost-efficient version of GPT-5";
19293
19542
  readonly supportsVerbosity: true;
19543
+ readonly supportsTemperature: false;
19294
19544
  };
19295
19545
  readonly "gpt-4.1": {
19296
19546
  readonly maxTokens: 32768;
@@ -19300,6 +19550,7 @@ declare const openAiNativeModels: {
19300
19550
  readonly inputPrice: 2;
19301
19551
  readonly outputPrice: 8;
19302
19552
  readonly cacheReadsPrice: 0.5;
19553
+ readonly supportsTemperature: true;
19303
19554
  };
19304
19555
  readonly "gpt-4.1-mini": {
19305
19556
  readonly maxTokens: 32768;
@@ -19309,6 +19560,7 @@ declare const openAiNativeModels: {
19309
19560
  readonly inputPrice: 0.4;
19310
19561
  readonly outputPrice: 1.6;
19311
19562
  readonly cacheReadsPrice: 0.1;
19563
+ readonly supportsTemperature: true;
19312
19564
  };
19313
19565
  readonly "gpt-4.1-nano": {
19314
19566
  readonly maxTokens: 32768;
@@ -19318,6 +19570,7 @@ declare const openAiNativeModels: {
19318
19570
  readonly inputPrice: 0.1;
19319
19571
  readonly outputPrice: 0.4;
19320
19572
  readonly cacheReadsPrice: 0.025;
19573
+ readonly supportsTemperature: true;
19321
19574
  };
19322
19575
  readonly o3: {
19323
19576
  readonly maxTokens: 100000;
@@ -19329,6 +19582,7 @@ declare const openAiNativeModels: {
19329
19582
  readonly cacheReadsPrice: 0.5;
19330
19583
  readonly supportsReasoningEffort: true;
19331
19584
  readonly reasoningEffort: "medium";
19585
+ readonly supportsTemperature: false;
19332
19586
  };
19333
19587
  readonly "o3-high": {
19334
19588
  readonly maxTokens: 100000;
@@ -19339,6 +19593,7 @@ declare const openAiNativeModels: {
19339
19593
  readonly outputPrice: 8;
19340
19594
  readonly cacheReadsPrice: 0.5;
19341
19595
  readonly reasoningEffort: "high";
19596
+ readonly supportsTemperature: false;
19342
19597
  };
19343
19598
  readonly "o3-low": {
19344
19599
  readonly maxTokens: 100000;
@@ -19349,6 +19604,7 @@ declare const openAiNativeModels: {
19349
19604
  readonly outputPrice: 8;
19350
19605
  readonly cacheReadsPrice: 0.5;
19351
19606
  readonly reasoningEffort: "low";
19607
+ readonly supportsTemperature: false;
19352
19608
  };
19353
19609
  readonly "o4-mini": {
19354
19610
  readonly maxTokens: 100000;
@@ -19360,6 +19616,7 @@ declare const openAiNativeModels: {
19360
19616
  readonly cacheReadsPrice: 0.275;
19361
19617
  readonly supportsReasoningEffort: true;
19362
19618
  readonly reasoningEffort: "medium";
19619
+ readonly supportsTemperature: false;
19363
19620
  };
19364
19621
  readonly "o4-mini-high": {
19365
19622
  readonly maxTokens: 100000;
@@ -19370,6 +19627,7 @@ declare const openAiNativeModels: {
19370
19627
  readonly outputPrice: 4.4;
19371
19628
  readonly cacheReadsPrice: 0.275;
19372
19629
  readonly reasoningEffort: "high";
19630
+ readonly supportsTemperature: false;
19373
19631
  };
19374
19632
  readonly "o4-mini-low": {
19375
19633
  readonly maxTokens: 100000;
@@ -19380,6 +19638,7 @@ declare const openAiNativeModels: {
19380
19638
  readonly outputPrice: 4.4;
19381
19639
  readonly cacheReadsPrice: 0.275;
19382
19640
  readonly reasoningEffort: "low";
19641
+ readonly supportsTemperature: false;
19383
19642
  };
19384
19643
  readonly "o3-mini": {
19385
19644
  readonly maxTokens: 100000;
@@ -19391,6 +19650,7 @@ declare const openAiNativeModels: {
19391
19650
  readonly cacheReadsPrice: 0.55;
19392
19651
  readonly supportsReasoningEffort: true;
19393
19652
  readonly reasoningEffort: "medium";
19653
+ readonly supportsTemperature: false;
19394
19654
  };
19395
19655
  readonly "o3-mini-high": {
19396
19656
  readonly maxTokens: 100000;
@@ -19401,6 +19661,7 @@ declare const openAiNativeModels: {
19401
19661
  readonly outputPrice: 4.4;
19402
19662
  readonly cacheReadsPrice: 0.55;
19403
19663
  readonly reasoningEffort: "high";
19664
+ readonly supportsTemperature: false;
19404
19665
  };
19405
19666
  readonly "o3-mini-low": {
19406
19667
  readonly maxTokens: 100000;
@@ -19411,6 +19672,7 @@ declare const openAiNativeModels: {
19411
19672
  readonly outputPrice: 4.4;
19412
19673
  readonly cacheReadsPrice: 0.55;
19413
19674
  readonly reasoningEffort: "low";
19675
+ readonly supportsTemperature: false;
19414
19676
  };
19415
19677
  readonly o1: {
19416
19678
  readonly maxTokens: 100000;
@@ -19420,6 +19682,7 @@ declare const openAiNativeModels: {
19420
19682
  readonly inputPrice: 15;
19421
19683
  readonly outputPrice: 60;
19422
19684
  readonly cacheReadsPrice: 7.5;
19685
+ readonly supportsTemperature: false;
19423
19686
  };
19424
19687
  readonly "o1-preview": {
19425
19688
  readonly maxTokens: 32768;
@@ -19429,6 +19692,7 @@ declare const openAiNativeModels: {
19429
19692
  readonly inputPrice: 15;
19430
19693
  readonly outputPrice: 60;
19431
19694
  readonly cacheReadsPrice: 7.5;
19695
+ readonly supportsTemperature: false;
19432
19696
  };
19433
19697
  readonly "o1-mini": {
19434
19698
  readonly maxTokens: 65536;
@@ -19438,6 +19702,7 @@ declare const openAiNativeModels: {
19438
19702
  readonly inputPrice: 1.1;
19439
19703
  readonly outputPrice: 4.4;
19440
19704
  readonly cacheReadsPrice: 0.55;
19705
+ readonly supportsTemperature: false;
19441
19706
  };
19442
19707
  readonly "gpt-4o": {
19443
19708
  readonly maxTokens: 16384;
@@ -19447,6 +19712,7 @@ declare const openAiNativeModels: {
19447
19712
  readonly inputPrice: 2.5;
19448
19713
  readonly outputPrice: 10;
19449
19714
  readonly cacheReadsPrice: 1.25;
19715
+ readonly supportsTemperature: true;
19450
19716
  };
19451
19717
  readonly "gpt-4o-mini": {
19452
19718
  readonly maxTokens: 16384;
@@ -19456,6 +19722,7 @@ declare const openAiNativeModels: {
19456
19722
  readonly inputPrice: 0.15;
19457
19723
  readonly outputPrice: 0.6;
19458
19724
  readonly cacheReadsPrice: 0.075;
19725
+ readonly supportsTemperature: true;
19459
19726
  };
19460
19727
  readonly "codex-mini-latest": {
19461
19728
  readonly maxTokens: 16384;
@@ -19465,6 +19732,7 @@ declare const openAiNativeModels: {
19465
19732
  readonly inputPrice: 1.5;
19466
19733
  readonly outputPrice: 6;
19467
19734
  readonly cacheReadsPrice: 0;
19735
+ readonly supportsTemperature: false;
19468
19736
  readonly description: "Codex Mini: Cloud-based software engineering agent powered by codex-1, a version of o3 optimized for coding tasks. Trained with reinforcement learning to generate human-style code, adhere to instructions, and iteratively run tests.";
19469
19737
  };
19470
19738
  };