@roo-code/types 1.94.0 → 1.95.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.ts CHANGED
@@ -7534,6 +7534,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7534
7534
  imageGeneration: z.ZodOptional<z.ZodBoolean>;
7535
7535
  runSlashCommand: z.ZodOptional<z.ZodBoolean>;
7536
7536
  multipleNativeToolCalls: z.ZodOptional<z.ZodBoolean>;
7537
+ customTools: z.ZodOptional<z.ZodBoolean>;
7537
7538
  }, "strip", z.ZodTypeAny, {
7538
7539
  powerSteering?: boolean | undefined;
7539
7540
  multiFileApplyDiff?: boolean | undefined;
@@ -7541,6 +7542,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7541
7542
  imageGeneration?: boolean | undefined;
7542
7543
  runSlashCommand?: boolean | undefined;
7543
7544
  multipleNativeToolCalls?: boolean | undefined;
7545
+ customTools?: boolean | undefined;
7544
7546
  }, {
7545
7547
  powerSteering?: boolean | undefined;
7546
7548
  multiFileApplyDiff?: boolean | undefined;
@@ -7548,6 +7550,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7548
7550
  imageGeneration?: boolean | undefined;
7549
7551
  runSlashCommand?: boolean | undefined;
7550
7552
  multipleNativeToolCalls?: boolean | undefined;
7553
+ customTools?: boolean | undefined;
7551
7554
  }>>;
7552
7555
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
7553
7556
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -7912,6 +7915,7 @@ declare const globalSettingsSchema: z.ZodObject<{
7912
7915
  imageGeneration?: boolean | undefined;
7913
7916
  runSlashCommand?: boolean | undefined;
7914
7917
  multipleNativeToolCalls?: boolean | undefined;
7918
+ customTools?: boolean | undefined;
7915
7919
  } | undefined;
7916
7920
  codebaseIndexModels?: {
7917
7921
  openai?: Record<string, {
@@ -8099,6 +8103,7 @@ declare const globalSettingsSchema: z.ZodObject<{
8099
8103
  imageGeneration?: boolean | undefined;
8100
8104
  runSlashCommand?: boolean | undefined;
8101
8105
  multipleNativeToolCalls?: boolean | undefined;
8106
+ customTools?: boolean | undefined;
8102
8107
  } | undefined;
8103
8108
  codebaseIndexModels?: {
8104
8109
  openai?: Record<string, {
@@ -8606,6 +8611,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8606
8611
  imageGeneration: z.ZodOptional<z.ZodBoolean>;
8607
8612
  runSlashCommand: z.ZodOptional<z.ZodBoolean>;
8608
8613
  multipleNativeToolCalls: z.ZodOptional<z.ZodBoolean>;
8614
+ customTools: z.ZodOptional<z.ZodBoolean>;
8609
8615
  }, "strip", z.ZodTypeAny, {
8610
8616
  powerSteering?: boolean | undefined;
8611
8617
  multiFileApplyDiff?: boolean | undefined;
@@ -8613,6 +8619,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8613
8619
  imageGeneration?: boolean | undefined;
8614
8620
  runSlashCommand?: boolean | undefined;
8615
8621
  multipleNativeToolCalls?: boolean | undefined;
8622
+ customTools?: boolean | undefined;
8616
8623
  }, {
8617
8624
  powerSteering?: boolean | undefined;
8618
8625
  multiFileApplyDiff?: boolean | undefined;
@@ -8620,6 +8627,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8620
8627
  imageGeneration?: boolean | undefined;
8621
8628
  runSlashCommand?: boolean | undefined;
8622
8629
  multipleNativeToolCalls?: boolean | undefined;
8630
+ customTools?: boolean | undefined;
8623
8631
  }>>;
8624
8632
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
8625
8633
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -9146,6 +9154,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
9146
9154
  imageGeneration?: boolean | undefined;
9147
9155
  runSlashCommand?: boolean | undefined;
9148
9156
  multipleNativeToolCalls?: boolean | undefined;
9157
+ customTools?: boolean | undefined;
9149
9158
  } | undefined;
9150
9159
  codebaseIndexModels?: {
9151
9160
  openai?: Record<string, {
@@ -9501,6 +9510,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
9501
9510
  imageGeneration?: boolean | undefined;
9502
9511
  runSlashCommand?: boolean | undefined;
9503
9512
  multipleNativeToolCalls?: boolean | undefined;
9513
+ customTools?: boolean | undefined;
9504
9514
  } | undefined;
9505
9515
  codebaseIndexModels?: {
9506
9516
  openai?: Record<string, {
@@ -10077,6 +10087,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10077
10087
  imageGeneration: z.ZodOptional<z.ZodBoolean>;
10078
10088
  runSlashCommand: z.ZodOptional<z.ZodBoolean>;
10079
10089
  multipleNativeToolCalls: z.ZodOptional<z.ZodBoolean>;
10090
+ customTools: z.ZodOptional<z.ZodBoolean>;
10080
10091
  }, "strip", z.ZodTypeAny, {
10081
10092
  powerSteering?: boolean | undefined;
10082
10093
  multiFileApplyDiff?: boolean | undefined;
@@ -10084,6 +10095,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10084
10095
  imageGeneration?: boolean | undefined;
10085
10096
  runSlashCommand?: boolean | undefined;
10086
10097
  multipleNativeToolCalls?: boolean | undefined;
10098
+ customTools?: boolean | undefined;
10087
10099
  }, {
10088
10100
  powerSteering?: boolean | undefined;
10089
10101
  multiFileApplyDiff?: boolean | undefined;
@@ -10091,6 +10103,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10091
10103
  imageGeneration?: boolean | undefined;
10092
10104
  runSlashCommand?: boolean | undefined;
10093
10105
  multipleNativeToolCalls?: boolean | undefined;
10106
+ customTools?: boolean | undefined;
10094
10107
  }>>;
10095
10108
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
10096
10109
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -10617,6 +10630,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10617
10630
  imageGeneration?: boolean | undefined;
10618
10631
  runSlashCommand?: boolean | undefined;
10619
10632
  multipleNativeToolCalls?: boolean | undefined;
10633
+ customTools?: boolean | undefined;
10620
10634
  } | undefined;
10621
10635
  codebaseIndexModels?: {
10622
10636
  openai?: Record<string, {
@@ -10972,6 +10986,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10972
10986
  imageGeneration?: boolean | undefined;
10973
10987
  runSlashCommand?: boolean | undefined;
10974
10988
  multipleNativeToolCalls?: boolean | undefined;
10989
+ customTools?: boolean | undefined;
10975
10990
  } | undefined;
10976
10991
  codebaseIndexModels?: {
10977
10992
  openai?: Record<string, {
@@ -11333,6 +11348,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11333
11348
  imageGeneration?: boolean | undefined;
11334
11349
  runSlashCommand?: boolean | undefined;
11335
11350
  multipleNativeToolCalls?: boolean | undefined;
11351
+ customTools?: boolean | undefined;
11336
11352
  } | undefined;
11337
11353
  codebaseIndexModels?: {
11338
11354
  openai?: Record<string, {
@@ -11693,6 +11709,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
11693
11709
  imageGeneration?: boolean | undefined;
11694
11710
  runSlashCommand?: boolean | undefined;
11695
11711
  multipleNativeToolCalls?: boolean | undefined;
11712
+ customTools?: boolean | undefined;
11696
11713
  } | undefined;
11697
11714
  codebaseIndexModels?: {
11698
11715
  openai?: Record<string, {
@@ -12055,6 +12072,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
12055
12072
  imageGeneration?: boolean | undefined;
12056
12073
  runSlashCommand?: boolean | undefined;
12057
12074
  multipleNativeToolCalls?: boolean | undefined;
12075
+ customTools?: boolean | undefined;
12058
12076
  } | undefined;
12059
12077
  codebaseIndexModels?: {
12060
12078
  openai?: Record<string, {
@@ -12418,6 +12436,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
12418
12436
  imageGeneration?: boolean | undefined;
12419
12437
  runSlashCommand?: boolean | undefined;
12420
12438
  multipleNativeToolCalls?: boolean | undefined;
12439
+ customTools?: boolean | undefined;
12421
12440
  } | undefined;
12422
12441
  codebaseIndexModels?: {
12423
12442
  openai?: Record<string, {
@@ -13019,6 +13038,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13019
13038
  imageGeneration: z.ZodOptional<z.ZodBoolean>;
13020
13039
  runSlashCommand: z.ZodOptional<z.ZodBoolean>;
13021
13040
  multipleNativeToolCalls: z.ZodOptional<z.ZodBoolean>;
13041
+ customTools: z.ZodOptional<z.ZodBoolean>;
13022
13042
  }, "strip", z.ZodTypeAny, {
13023
13043
  powerSteering?: boolean | undefined;
13024
13044
  multiFileApplyDiff?: boolean | undefined;
@@ -13026,6 +13046,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13026
13046
  imageGeneration?: boolean | undefined;
13027
13047
  runSlashCommand?: boolean | undefined;
13028
13048
  multipleNativeToolCalls?: boolean | undefined;
13049
+ customTools?: boolean | undefined;
13029
13050
  }, {
13030
13051
  powerSteering?: boolean | undefined;
13031
13052
  multiFileApplyDiff?: boolean | undefined;
@@ -13033,6 +13054,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13033
13054
  imageGeneration?: boolean | undefined;
13034
13055
  runSlashCommand?: boolean | undefined;
13035
13056
  multipleNativeToolCalls?: boolean | undefined;
13057
+ customTools?: boolean | undefined;
13036
13058
  }>>;
13037
13059
  codebaseIndexModels: z.ZodOptional<z.ZodObject<{
13038
13060
  openai: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -13559,6 +13581,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13559
13581
  imageGeneration?: boolean | undefined;
13560
13582
  runSlashCommand?: boolean | undefined;
13561
13583
  multipleNativeToolCalls?: boolean | undefined;
13584
+ customTools?: boolean | undefined;
13562
13585
  } | undefined;
13563
13586
  codebaseIndexModels?: {
13564
13587
  openai?: Record<string, {
@@ -13914,6 +13937,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13914
13937
  imageGeneration?: boolean | undefined;
13915
13938
  runSlashCommand?: boolean | undefined;
13916
13939
  multipleNativeToolCalls?: boolean | undefined;
13940
+ customTools?: boolean | undefined;
13917
13941
  } | undefined;
13918
13942
  codebaseIndexModels?: {
13919
13943
  openai?: Record<string, {
@@ -14275,6 +14299,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14275
14299
  imageGeneration?: boolean | undefined;
14276
14300
  runSlashCommand?: boolean | undefined;
14277
14301
  multipleNativeToolCalls?: boolean | undefined;
14302
+ customTools?: boolean | undefined;
14278
14303
  } | undefined;
14279
14304
  codebaseIndexModels?: {
14280
14305
  openai?: Record<string, {
@@ -14635,6 +14660,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14635
14660
  imageGeneration?: boolean | undefined;
14636
14661
  runSlashCommand?: boolean | undefined;
14637
14662
  multipleNativeToolCalls?: boolean | undefined;
14663
+ customTools?: boolean | undefined;
14638
14664
  } | undefined;
14639
14665
  codebaseIndexModels?: {
14640
14666
  openai?: Record<string, {
@@ -14997,6 +15023,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14997
15023
  imageGeneration?: boolean | undefined;
14998
15024
  runSlashCommand?: boolean | undefined;
14999
15025
  multipleNativeToolCalls?: boolean | undefined;
15026
+ customTools?: boolean | undefined;
15000
15027
  } | undefined;
15001
15028
  codebaseIndexModels?: {
15002
15029
  openai?: Record<string, {
@@ -15360,6 +15387,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15360
15387
  imageGeneration?: boolean | undefined;
15361
15388
  runSlashCommand?: boolean | undefined;
15362
15389
  multipleNativeToolCalls?: boolean | undefined;
15390
+ customTools?: boolean | undefined;
15363
15391
  } | undefined;
15364
15392
  codebaseIndexModels?: {
15365
15393
  openai?: Record<string, {
@@ -15777,6 +15805,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
15777
15805
  imageGeneration?: boolean | undefined;
15778
15806
  runSlashCommand?: boolean | undefined;
15779
15807
  multipleNativeToolCalls?: boolean | undefined;
15808
+ customTools?: boolean | undefined;
15780
15809
  } | undefined;
15781
15810
  codebaseIndexModels?: {
15782
15811
  openai?: Record<string, {
@@ -16160,6 +16189,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16160
16189
  imageGeneration?: boolean | undefined;
16161
16190
  runSlashCommand?: boolean | undefined;
16162
16191
  multipleNativeToolCalls?: boolean | undefined;
16192
+ customTools?: boolean | undefined;
16163
16193
  } | undefined;
16164
16194
  codebaseIndexModels?: {
16165
16195
  openai?: Record<string, {
@@ -44330,6 +44360,7 @@ interface SerializedCustomToolDefinition {
44330
44360
  name: string;
44331
44361
  description: string;
44332
44362
  parameters?: SerializedCustomToolParameters;
44363
+ source?: string;
44333
44364
  }
44334
44365
  /**
44335
44366
  * Type-safe definition structure for a custom tool with inferred parameter types.
@@ -44349,7 +44380,7 @@ interface TypedCustomToolDefinition<T extends CustomToolParametersSchema> extend
44349
44380
  *
44350
44381
  * @example
44351
44382
  * ```ts
44352
- * import { z, defineCustomTool } from "@roo-code/types"
44383
+ * import { parametersSchema as z, defineCustomTool } from "@roo-code/types"
44353
44384
  *
44354
44385
  * export default defineCustomTool({
44355
44386
  * name: "add_numbers",
@@ -44369,8 +44400,8 @@ declare function defineCustomTool<T extends CustomToolParametersSchema>(definiti
44369
44400
  /**
44370
44401
  * ExperimentId
44371
44402
  */
44372
- declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration", "runSlashCommand", "multipleNativeToolCalls"];
44373
- declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration", "runSlashCommand", "multipleNativeToolCalls"]>;
44403
+ declare const experimentIds: readonly ["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration", "runSlashCommand", "multipleNativeToolCalls", "customTools"];
44404
+ declare const experimentIdsSchema: z.ZodEnum<["powerSteering", "multiFileApplyDiff", "preventFocusDisruption", "imageGeneration", "runSlashCommand", "multipleNativeToolCalls", "customTools"]>;
44374
44405
  type ExperimentId = z.infer<typeof experimentIdsSchema>;
44375
44406
  /**
44376
44407
  * Experiments
@@ -44382,6 +44413,7 @@ declare const experimentsSchema: z.ZodObject<{
44382
44413
  imageGeneration: z.ZodOptional<z.ZodBoolean>;
44383
44414
  runSlashCommand: z.ZodOptional<z.ZodBoolean>;
44384
44415
  multipleNativeToolCalls: z.ZodOptional<z.ZodBoolean>;
44416
+ customTools: z.ZodOptional<z.ZodBoolean>;
44385
44417
  }, "strip", z.ZodTypeAny, {
44386
44418
  powerSteering?: boolean | undefined;
44387
44419
  multiFileApplyDiff?: boolean | undefined;
@@ -44389,6 +44421,7 @@ declare const experimentsSchema: z.ZodObject<{
44389
44421
  imageGeneration?: boolean | undefined;
44390
44422
  runSlashCommand?: boolean | undefined;
44391
44423
  multipleNativeToolCalls?: boolean | undefined;
44424
+ customTools?: boolean | undefined;
44392
44425
  }, {
44393
44426
  powerSteering?: boolean | undefined;
44394
44427
  multiFileApplyDiff?: boolean | undefined;
@@ -44396,6 +44429,7 @@ declare const experimentsSchema: z.ZodObject<{
44396
44429
  imageGeneration?: boolean | undefined;
44397
44430
  runSlashCommand?: boolean | undefined;
44398
44431
  multipleNativeToolCalls?: boolean | undefined;
44432
+ customTools?: boolean | undefined;
44399
44433
  }>;
44400
44434
  type Experiments = z.infer<typeof experimentsSchema>;
44401
44435
 
@@ -45800,6 +45834,7 @@ declare const basetenModels: {
45800
45834
  readonly contextWindow: 163840;
45801
45835
  readonly supportsImages: false;
45802
45836
  readonly supportsPromptCache: false;
45837
+ readonly supportsNativeTools: true;
45803
45838
  readonly inputPrice: 2.55;
45804
45839
  readonly outputPrice: 5.95;
45805
45840
  readonly cacheWritesPrice: 0;
@@ -45811,6 +45846,7 @@ declare const basetenModels: {
45811
45846
  readonly contextWindow: 163840;
45812
45847
  readonly supportsImages: false;
45813
45848
  readonly supportsPromptCache: false;
45849
+ readonly supportsNativeTools: true;
45814
45850
  readonly inputPrice: 2.55;
45815
45851
  readonly outputPrice: 5.95;
45816
45852
  readonly cacheWritesPrice: 0;
@@ -45822,6 +45858,7 @@ declare const basetenModels: {
45822
45858
  readonly contextWindow: 163840;
45823
45859
  readonly supportsImages: false;
45824
45860
  readonly supportsPromptCache: false;
45861
+ readonly supportsNativeTools: true;
45825
45862
  readonly inputPrice: 0.77;
45826
45863
  readonly outputPrice: 0.77;
45827
45864
  readonly cacheWritesPrice: 0;
@@ -45833,6 +45870,7 @@ declare const basetenModels: {
45833
45870
  readonly contextWindow: 163840;
45834
45871
  readonly supportsImages: false;
45835
45872
  readonly supportsPromptCache: false;
45873
+ readonly supportsNativeTools: true;
45836
45874
  readonly inputPrice: 0.5;
45837
45875
  readonly outputPrice: 1.5;
45838
45876
  readonly cacheWritesPrice: 0;
@@ -45851,11 +45889,24 @@ declare const basetenModels: {
45851
45889
  readonly cacheReadsPrice: 0;
45852
45890
  readonly description: "DeepSeek's hybrid reasoning model with efficient long context scaling with GPT-5 level performance";
45853
45891
  };
45892
+ readonly "openai/gpt-oss-120b": {
45893
+ readonly maxTokens: 16384;
45894
+ readonly contextWindow: 128072;
45895
+ readonly supportsImages: false;
45896
+ readonly supportsPromptCache: false;
45897
+ readonly supportsNativeTools: true;
45898
+ readonly inputPrice: 0.1;
45899
+ readonly outputPrice: 0.5;
45900
+ readonly cacheWritesPrice: 0;
45901
+ readonly cacheReadsPrice: 0;
45902
+ readonly description: "Extremely capable general-purpose LLM with strong, controllable reasoning capabilities";
45903
+ };
45854
45904
  readonly "Qwen/Qwen3-235B-A22B-Instruct-2507": {
45855
45905
  readonly maxTokens: 16384;
45856
45906
  readonly contextWindow: 262144;
45857
45907
  readonly supportsImages: false;
45858
45908
  readonly supportsPromptCache: false;
45909
+ readonly supportsNativeTools: true;
45859
45910
  readonly inputPrice: 0.22;
45860
45911
  readonly outputPrice: 0.8;
45861
45912
  readonly cacheWritesPrice: 0;
@@ -45867,24 +45918,13 @@ declare const basetenModels: {
45867
45918
  readonly contextWindow: 262144;
45868
45919
  readonly supportsImages: false;
45869
45920
  readonly supportsPromptCache: false;
45921
+ readonly supportsNativeTools: true;
45870
45922
  readonly inputPrice: 0.38;
45871
45923
  readonly outputPrice: 1.53;
45872
45924
  readonly cacheWritesPrice: 0;
45873
45925
  readonly cacheReadsPrice: 0;
45874
45926
  readonly description: "Mixture-of-experts LLM with advanced coding and reasoning capabilities";
45875
45927
  };
45876
- readonly "openai/gpt-oss-120b": {
45877
- readonly maxTokens: 16384;
45878
- readonly contextWindow: 128072;
45879
- readonly supportsImages: false;
45880
- readonly supportsPromptCache: false;
45881
- readonly supportsNativeTools: true;
45882
- readonly inputPrice: 0.1;
45883
- readonly outputPrice: 0.5;
45884
- readonly cacheWritesPrice: 0;
45885
- readonly cacheReadsPrice: 0;
45886
- readonly description: "Extremely capable general-purpose LLM with strong, controllable reasoning capabilities";
45887
- };
45888
45928
  readonly "moonshotai/Kimi-K2-Instruct-0905": {
45889
45929
  readonly maxTokens: 16384;
45890
45930
  readonly contextWindow: 262000;
@@ -46346,22 +46386,6 @@ declare const bedrockModels: {
46346
46386
  readonly outputPrice: 0.6;
46347
46387
  readonly description: "Amazon Titan Text Express";
46348
46388
  };
46349
- readonly "amazon.titan-text-embeddings-v1:0": {
46350
- readonly maxTokens: 8192;
46351
- readonly contextWindow: 8000;
46352
- readonly supportsImages: false;
46353
- readonly supportsPromptCache: false;
46354
- readonly inputPrice: 0.1;
46355
- readonly description: "Amazon Titan Text Embeddings";
46356
- };
46357
- readonly "amazon.titan-text-embeddings-v2:0": {
46358
- readonly maxTokens: 8192;
46359
- readonly contextWindow: 8000;
46360
- readonly supportsImages: false;
46361
- readonly supportsPromptCache: false;
46362
- readonly inputPrice: 0.02;
46363
- readonly description: "Amazon Titan Text Embeddings V2";
46364
- };
46365
46389
  readonly "moonshot.kimi-k2-thinking": {
46366
46390
  readonly maxTokens: 32000;
46367
46391
  readonly contextWindow: 262144;
@@ -47125,6 +47149,7 @@ declare const featherlessModels: {
47125
47149
  readonly contextWindow: 32678;
47126
47150
  readonly supportsImages: false;
47127
47151
  readonly supportsPromptCache: false;
47152
+ readonly supportsNativeTools: true;
47128
47153
  readonly inputPrice: 0;
47129
47154
  readonly outputPrice: 0;
47130
47155
  readonly description: "DeepSeek V3 0324 model.";
@@ -47134,6 +47159,7 @@ declare const featherlessModels: {
47134
47159
  readonly contextWindow: 32678;
47135
47160
  readonly supportsImages: false;
47136
47161
  readonly supportsPromptCache: false;
47162
+ readonly supportsNativeTools: true;
47137
47163
  readonly inputPrice: 0;
47138
47164
  readonly outputPrice: 0;
47139
47165
  readonly description: "DeepSeek R1 0528 model.";
@@ -47153,6 +47179,7 @@ declare const featherlessModels: {
47153
47179
  readonly contextWindow: 32678;
47154
47180
  readonly supportsImages: false;
47155
47181
  readonly supportsPromptCache: false;
47182
+ readonly supportsNativeTools: true;
47156
47183
  readonly inputPrice: 0;
47157
47184
  readonly outputPrice: 0;
47158
47185
  readonly description: "GPT-OSS 120B model.";
@@ -47554,7 +47581,7 @@ declare const geminiModels: {
47554
47581
  };
47555
47582
  };
47556
47583
 
47557
- type GroqModelId = "llama-3.1-8b-instant" | "llama-3.3-70b-versatile" | "meta-llama/llama-4-scout-17b-16e-instruct" | "meta-llama/llama-4-maverick-17b-128e-instruct" | "mistral-saba-24b" | "qwen-qwq-32b" | "qwen/qwen3-32b" | "deepseek-r1-distill-llama-70b" | "moonshotai/kimi-k2-instruct" | "moonshotai/kimi-k2-instruct-0905" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b";
47584
+ type GroqModelId = "llama-3.1-8b-instant" | "llama-3.3-70b-versatile" | "meta-llama/llama-4-scout-17b-16e-instruct" | "qwen/qwen3-32b" | "moonshotai/kimi-k2-instruct-0905" | "openai/gpt-oss-120b" | "openai/gpt-oss-20b";
47558
47585
  declare const groqDefaultModelId: GroqModelId;
47559
47586
  declare const groqModels: {
47560
47587
  readonly "llama-3.1-8b-instant": {
@@ -47590,33 +47617,6 @@ declare const groqModels: {
47590
47617
  readonly outputPrice: 0.34;
47591
47618
  readonly description: "Meta Llama 4 Scout 17B Instruct model, 128K context.";
47592
47619
  };
47593
- readonly "meta-llama/llama-4-maverick-17b-128e-instruct": {
47594
- readonly maxTokens: 8192;
47595
- readonly contextWindow: 131072;
47596
- readonly supportsImages: false;
47597
- readonly supportsPromptCache: false;
47598
- readonly inputPrice: 0.2;
47599
- readonly outputPrice: 0.6;
47600
- readonly description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.";
47601
- };
47602
- readonly "mistral-saba-24b": {
47603
- readonly maxTokens: 8192;
47604
- readonly contextWindow: 32768;
47605
- readonly supportsImages: false;
47606
- readonly supportsPromptCache: false;
47607
- readonly inputPrice: 0.79;
47608
- readonly outputPrice: 0.79;
47609
- readonly description: "Mistral Saba 24B model, 32K context.";
47610
- };
47611
- readonly "qwen-qwq-32b": {
47612
- readonly maxTokens: 8192;
47613
- readonly contextWindow: 131072;
47614
- readonly supportsImages: false;
47615
- readonly supportsPromptCache: false;
47616
- readonly inputPrice: 0.29;
47617
- readonly outputPrice: 0.39;
47618
- readonly description: "Alibaba Qwen QwQ 32B model, 128K context.";
47619
- };
47620
47620
  readonly "qwen/qwen3-32b": {
47621
47621
  readonly maxTokens: 8192;
47622
47622
  readonly contextWindow: 131072;
@@ -47628,25 +47628,6 @@ declare const groqModels: {
47628
47628
  readonly outputPrice: 0.59;
47629
47629
  readonly description: "Alibaba Qwen 3 32B model, 128K context.";
47630
47630
  };
47631
- readonly "deepseek-r1-distill-llama-70b": {
47632
- readonly maxTokens: 8192;
47633
- readonly contextWindow: 131072;
47634
- readonly supportsImages: false;
47635
- readonly supportsPromptCache: false;
47636
- readonly inputPrice: 0.75;
47637
- readonly outputPrice: 0.99;
47638
- readonly description: "DeepSeek R1 Distill Llama 70B model, 128K context.";
47639
- };
47640
- readonly "moonshotai/kimi-k2-instruct": {
47641
- readonly maxTokens: 16384;
47642
- readonly contextWindow: 131072;
47643
- readonly supportsImages: false;
47644
- readonly supportsPromptCache: true;
47645
- readonly inputPrice: 1;
47646
- readonly outputPrice: 3;
47647
- readonly cacheReadsPrice: 0.5;
47648
- readonly description: "Moonshot AI Kimi K2 Instruct 1T model, 128K context.";
47649
- };
47650
47631
  readonly "moonshotai/kimi-k2-instruct-0905": {
47651
47632
  readonly maxTokens: 16384;
47652
47633
  readonly contextWindow: 262144;
@@ -48835,7 +48816,7 @@ declare const RooModelsResponseSchema: z.ZodObject<{
48835
48816
  type RooModel = z.infer<typeof RooModelSchema>;
48836
48817
  type RooModelsResponse = z.infer<typeof RooModelsResponseSchema>;
48837
48818
 
48838
- type SambaNovaModelId = "Meta-Llama-3.1-8B-Instruct" | "Meta-Llama-3.3-70B-Instruct" | "DeepSeek-R1" | "DeepSeek-V3-0324" | "DeepSeek-V3.1" | "DeepSeek-R1-Distill-Llama-70B" | "Llama-4-Maverick-17B-128E-Instruct" | "Llama-3.3-Swallow-70B-Instruct-v0.4" | "Qwen3-32B" | "gpt-oss-120b";
48819
+ type SambaNovaModelId = "Meta-Llama-3.1-8B-Instruct" | "Meta-Llama-3.3-70B-Instruct" | "DeepSeek-R1" | "DeepSeek-V3-0324" | "DeepSeek-V3.1" | "Llama-4-Maverick-17B-128E-Instruct" | "Qwen3-32B" | "gpt-oss-120b";
48839
48820
  declare const sambaNovaDefaultModelId: SambaNovaModelId;
48840
48821
  declare const sambaNovaModels: {
48841
48822
  readonly "Meta-Llama-3.1-8B-Instruct": {
@@ -48894,15 +48875,6 @@ declare const sambaNovaModels: {
48894
48875
  readonly outputPrice: 4.5;
48895
48876
  readonly description: "DeepSeek V3.1 model with 32K context window.";
48896
48877
  };
48897
- readonly "DeepSeek-R1-Distill-Llama-70B": {
48898
- readonly maxTokens: 8192;
48899
- readonly contextWindow: 131072;
48900
- readonly supportsImages: false;
48901
- readonly supportsPromptCache: false;
48902
- readonly inputPrice: 0.7;
48903
- readonly outputPrice: 1.4;
48904
- readonly description: "DeepSeek R1 distilled Llama 70B model with 128K context window.";
48905
- };
48906
48878
  readonly "Llama-4-Maverick-17B-128E-Instruct": {
48907
48879
  readonly maxTokens: 8192;
48908
48880
  readonly contextWindow: 131072;
@@ -48914,15 +48886,6 @@ declare const sambaNovaModels: {
48914
48886
  readonly outputPrice: 1.8;
48915
48887
  readonly description: "Meta Llama 4 Maverick 17B 128E Instruct model with 128K context window.";
48916
48888
  };
48917
- readonly "Llama-3.3-Swallow-70B-Instruct-v0.4": {
48918
- readonly maxTokens: 8192;
48919
- readonly contextWindow: 16384;
48920
- readonly supportsImages: false;
48921
- readonly supportsPromptCache: false;
48922
- readonly inputPrice: 0.6;
48923
- readonly outputPrice: 1.2;
48924
- readonly description: "Tokyotech Llama 3.3 Swallow 70B Instruct v0.4 model with 16K context window.";
48925
- };
48926
48889
  readonly "Qwen3-32B": {
48927
48890
  readonly maxTokens: 8192;
48928
48891
  readonly contextWindow: 8192;
@@ -49412,6 +49375,7 @@ declare const vertexModels: {
49412
49375
  readonly contextWindow: 131072;
49413
49376
  readonly supportsImages: false;
49414
49377
  readonly supportsPromptCache: false;
49378
+ readonly supportsNativeTools: true;
49415
49379
  readonly inputPrice: 0.35;
49416
49380
  readonly outputPrice: 1.15;
49417
49381
  readonly description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.";
@@ -49421,6 +49385,7 @@ declare const vertexModels: {
49421
49385
  readonly contextWindow: 163840;
49422
49386
  readonly supportsImages: false;
49423
49387
  readonly supportsPromptCache: false;
49388
+ readonly supportsNativeTools: true;
49424
49389
  readonly inputPrice: 1.35;
49425
49390
  readonly outputPrice: 5.4;
49426
49391
  readonly description: "DeepSeek R1 (0528). Available in us-central1";
@@ -49430,6 +49395,7 @@ declare const vertexModels: {
49430
49395
  readonly contextWindow: 163840;
49431
49396
  readonly supportsImages: false;
49432
49397
  readonly supportsPromptCache: false;
49398
+ readonly supportsNativeTools: true;
49433
49399
  readonly inputPrice: 0.6;
49434
49400
  readonly outputPrice: 1.7;
49435
49401
  readonly description: "DeepSeek V3.1. Available in us-west2";
@@ -49439,6 +49405,7 @@ declare const vertexModels: {
49439
49405
  readonly contextWindow: 131072;
49440
49406
  readonly supportsImages: false;
49441
49407
  readonly supportsPromptCache: false;
49408
+ readonly supportsNativeTools: true;
49442
49409
  readonly inputPrice: 0.15;
49443
49410
  readonly outputPrice: 0.6;
49444
49411
  readonly description: "OpenAI gpt-oss 120B. Available in us-central1";
@@ -49448,6 +49415,7 @@ declare const vertexModels: {
49448
49415
  readonly contextWindow: 131072;
49449
49416
  readonly supportsImages: false;
49450
49417
  readonly supportsPromptCache: false;
49418
+ readonly supportsNativeTools: true;
49451
49419
  readonly inputPrice: 0.075;
49452
49420
  readonly outputPrice: 0.3;
49453
49421
  readonly description: "OpenAI gpt-oss 20B. Available in us-central1";
@@ -49457,6 +49425,7 @@ declare const vertexModels: {
49457
49425
  readonly contextWindow: 262144;
49458
49426
  readonly supportsImages: false;
49459
49427
  readonly supportsPromptCache: false;
49428
+ readonly supportsNativeTools: true;
49460
49429
  readonly inputPrice: 1;
49461
49430
  readonly outputPrice: 4;
49462
49431
  readonly description: "Qwen3 Coder 480B A35B Instruct. Available in us-south1";
@@ -49466,6 +49435,7 @@ declare const vertexModels: {
49466
49435
  readonly contextWindow: 262144;
49467
49436
  readonly supportsImages: false;
49468
49437
  readonly supportsPromptCache: false;
49438
+ readonly supportsNativeTools: true;
49469
49439
  readonly inputPrice: 0.25;
49470
49440
  readonly outputPrice: 1;
49471
49441
  readonly description: "Qwen3 235B A22B Instruct. Available in us-south1";
@@ -49800,7 +49770,7 @@ type InternationalZAiModelId = keyof typeof internationalZAiModels;
49800
49770
  declare const internationalZAiDefaultModelId: InternationalZAiModelId;
49801
49771
  declare const internationalZAiModels: {
49802
49772
  readonly "glm-4.5": {
49803
- readonly maxTokens: 98304;
49773
+ readonly maxTokens: 16384;
49804
49774
  readonly contextWindow: 131072;
49805
49775
  readonly supportsImages: false;
49806
49776
  readonly supportsPromptCache: true;
@@ -49813,7 +49783,7 @@ declare const internationalZAiModels: {
49813
49783
  readonly description: "GLM-4.5 is Zhipu's latest featured model. Its comprehensive capabilities in reasoning, coding, and agent reach the state-of-the-art (SOTA) level among open-source models, with a context length of up to 128k.";
49814
49784
  };
49815
49785
  readonly "glm-4.5-air": {
49816
- readonly maxTokens: 98304;
49786
+ readonly maxTokens: 16384;
49817
49787
  readonly contextWindow: 131072;
49818
49788
  readonly supportsImages: false;
49819
49789
  readonly supportsPromptCache: true;
@@ -49826,7 +49796,7 @@ declare const internationalZAiModels: {
49826
49796
  readonly description: "GLM-4.5-Air is the lightweight version of GLM-4.5. It balances performance and cost-effectiveness, and can flexibly switch to hybrid thinking models.";
49827
49797
  };
49828
49798
  readonly "glm-4.5-x": {
49829
- readonly maxTokens: 98304;
49799
+ readonly maxTokens: 16384;
49830
49800
  readonly contextWindow: 131072;
49831
49801
  readonly supportsImages: false;
49832
49802
  readonly supportsPromptCache: true;
@@ -49839,7 +49809,7 @@ declare const internationalZAiModels: {
49839
49809
  readonly description: "GLM-4.5-X is a high-performance variant optimized for strong reasoning with ultra-fast responses.";
49840
49810
  };
49841
49811
  readonly "glm-4.5-airx": {
49842
- readonly maxTokens: 98304;
49812
+ readonly maxTokens: 16384;
49843
49813
  readonly contextWindow: 131072;
49844
49814
  readonly supportsImages: false;
49845
49815
  readonly supportsPromptCache: true;
@@ -49852,7 +49822,7 @@ declare const internationalZAiModels: {
49852
49822
  readonly description: "GLM-4.5-AirX is a lightweight, ultra-fast variant delivering strong performance with lower cost.";
49853
49823
  };
49854
49824
  readonly "glm-4.5-flash": {
49855
- readonly maxTokens: 98304;
49825
+ readonly maxTokens: 16384;
49856
49826
  readonly contextWindow: 131072;
49857
49827
  readonly supportsImages: false;
49858
49828
  readonly supportsPromptCache: true;
@@ -49878,7 +49848,7 @@ declare const internationalZAiModels: {
49878
49848
  readonly description: "GLM-4.5V is Z.AI's multimodal visual reasoning model (image/video/text/file input), optimized for GUI tasks, grounding, and document/video understanding.";
49879
49849
  };
49880
49850
  readonly "glm-4.6": {
49881
- readonly maxTokens: 98304;
49851
+ readonly maxTokens: 16384;
49882
49852
  readonly contextWindow: 200000;
49883
49853
  readonly supportsImages: false;
49884
49854
  readonly supportsPromptCache: true;
@@ -49890,8 +49860,24 @@ declare const internationalZAiModels: {
49890
49860
  readonly cacheReadsPrice: 0.11;
49891
49861
  readonly description: "GLM-4.6 is Zhipu's newest model with an extended context window of up to 200k tokens, providing enhanced capabilities for processing longer documents and conversations.";
49892
49862
  };
49863
+ readonly "glm-4.7": {
49864
+ readonly maxTokens: 16384;
49865
+ readonly contextWindow: 200000;
49866
+ readonly supportsImages: false;
49867
+ readonly supportsPromptCache: true;
49868
+ readonly supportsNativeTools: true;
49869
+ readonly defaultToolProtocol: "native";
49870
+ readonly supportsReasoningEffort: ["disable", "medium"];
49871
+ readonly reasoningEffort: "medium";
49872
+ readonly preserveReasoning: true;
49873
+ readonly inputPrice: 0.6;
49874
+ readonly outputPrice: 2.2;
49875
+ readonly cacheWritesPrice: 0;
49876
+ readonly cacheReadsPrice: 0.11;
49877
+ readonly description: "GLM-4.7 is Zhipu's latest model with built-in thinking capabilities enabled by default. It provides enhanced reasoning for complex tasks while maintaining fast response times.";
49878
+ };
49893
49879
  readonly "glm-4-32b-0414-128k": {
49894
- readonly maxTokens: 98304;
49880
+ readonly maxTokens: 16384;
49895
49881
  readonly contextWindow: 131072;
49896
49882
  readonly supportsImages: false;
49897
49883
  readonly supportsPromptCache: false;
@@ -49908,7 +49894,7 @@ type MainlandZAiModelId = keyof typeof mainlandZAiModels;
49908
49894
  declare const mainlandZAiDefaultModelId: MainlandZAiModelId;
49909
49895
  declare const mainlandZAiModels: {
49910
49896
  readonly "glm-4.5": {
49911
- readonly maxTokens: 98304;
49897
+ readonly maxTokens: 16384;
49912
49898
  readonly contextWindow: 131072;
49913
49899
  readonly supportsImages: false;
49914
49900
  readonly supportsPromptCache: true;
@@ -49921,7 +49907,7 @@ declare const mainlandZAiModels: {
49921
49907
  readonly description: "GLM-4.5 is Zhipu's latest featured model. Its comprehensive capabilities in reasoning, coding, and agent reach the state-of-the-art (SOTA) level among open-source models, with a context length of up to 128k.";
49922
49908
  };
49923
49909
  readonly "glm-4.5-air": {
49924
- readonly maxTokens: 98304;
49910
+ readonly maxTokens: 16384;
49925
49911
  readonly contextWindow: 131072;
49926
49912
  readonly supportsImages: false;
49927
49913
  readonly supportsPromptCache: true;
@@ -49934,7 +49920,7 @@ declare const mainlandZAiModels: {
49934
49920
  readonly description: "GLM-4.5-Air is the lightweight version of GLM-4.5. It balances performance and cost-effectiveness, and can flexibly switch to hybrid thinking models.";
49935
49921
  };
49936
49922
  readonly "glm-4.5-x": {
49937
- readonly maxTokens: 98304;
49923
+ readonly maxTokens: 16384;
49938
49924
  readonly contextWindow: 131072;
49939
49925
  readonly supportsImages: false;
49940
49926
  readonly supportsPromptCache: true;
@@ -49947,7 +49933,7 @@ declare const mainlandZAiModels: {
49947
49933
  readonly description: "GLM-4.5-X is a high-performance variant optimized for strong reasoning with ultra-fast responses.";
49948
49934
  };
49949
49935
  readonly "glm-4.5-airx": {
49950
- readonly maxTokens: 98304;
49936
+ readonly maxTokens: 16384;
49951
49937
  readonly contextWindow: 131072;
49952
49938
  readonly supportsImages: false;
49953
49939
  readonly supportsPromptCache: true;
@@ -49960,7 +49946,7 @@ declare const mainlandZAiModels: {
49960
49946
  readonly description: "GLM-4.5-AirX is a lightweight, ultra-fast variant delivering strong performance with lower cost.";
49961
49947
  };
49962
49948
  readonly "glm-4.5-flash": {
49963
- readonly maxTokens: 98304;
49949
+ readonly maxTokens: 16384;
49964
49950
  readonly contextWindow: 131072;
49965
49951
  readonly supportsImages: false;
49966
49952
  readonly supportsPromptCache: true;
@@ -49986,7 +49972,7 @@ declare const mainlandZAiModels: {
49986
49972
  readonly description: "GLM-4.5V is Z.AI's multimodal visual reasoning model (image/video/text/file input), optimized for GUI tasks, grounding, and document/video understanding.";
49987
49973
  };
49988
49974
  readonly "glm-4.6": {
49989
- readonly maxTokens: 98304;
49975
+ readonly maxTokens: 16384;
49990
49976
  readonly contextWindow: 204800;
49991
49977
  readonly supportsImages: false;
49992
49978
  readonly supportsPromptCache: true;
@@ -49998,6 +49984,22 @@ declare const mainlandZAiModels: {
49998
49984
  readonly cacheReadsPrice: 0.057;
49999
49985
  readonly description: "GLM-4.6 is Zhipu's newest model with an extended context window of up to 200k tokens, providing enhanced capabilities for processing longer documents and conversations.";
50000
49986
  };
49987
+ readonly "glm-4.7": {
49988
+ readonly maxTokens: 16384;
49989
+ readonly contextWindow: 204800;
49990
+ readonly supportsImages: false;
49991
+ readonly supportsPromptCache: true;
49992
+ readonly supportsNativeTools: true;
49993
+ readonly defaultToolProtocol: "native";
49994
+ readonly supportsReasoningEffort: ["disable", "medium"];
49995
+ readonly reasoningEffort: "medium";
49996
+ readonly preserveReasoning: true;
49997
+ readonly inputPrice: 0.29;
49998
+ readonly outputPrice: 1.14;
49999
+ readonly cacheWritesPrice: 0;
50000
+ readonly cacheReadsPrice: 0.057;
50001
+ readonly description: "GLM-4.7 is Zhipu's latest model with built-in thinking capabilities enabled by default. It provides enhanced reasoning for complex tasks while maintaining fast response times.";
50002
+ };
50001
50003
  };
50002
50004
  declare const ZAI_DEFAULT_TEMPERATURE = 0.6;
50003
50005
  declare const zaiApiLineConfigs: {
@@ -50036,6 +50038,8 @@ declare const minimaxModels: {
50036
50038
  readonly supportsPromptCache: true;
50037
50039
  readonly supportsNativeTools: true;
50038
50040
  readonly defaultToolProtocol: "native";
50041
+ readonly includedTools: ["search_and_replace"];
50042
+ readonly excludedTools: ["apply_diff"];
50039
50043
  readonly preserveReasoning: true;
50040
50044
  readonly inputPrice: 0.3;
50041
50045
  readonly outputPrice: 1.2;
@@ -50050,6 +50054,8 @@ declare const minimaxModels: {
50050
50054
  readonly supportsPromptCache: true;
50051
50055
  readonly supportsNativeTools: true;
50052
50056
  readonly defaultToolProtocol: "native";
50057
+ readonly includedTools: ["search_and_replace"];
50058
+ readonly excludedTools: ["apply_diff"];
50053
50059
  readonly preserveReasoning: true;
50054
50060
  readonly inputPrice: 0.3;
50055
50061
  readonly outputPrice: 1.2;
@@ -50057,6 +50063,22 @@ declare const minimaxModels: {
50057
50063
  readonly cacheReadsPrice: 0.03;
50058
50064
  readonly description: "MiniMax M2 Stable (High Concurrency, Commercial Use), a model born for Agents and code, featuring Top-tier Coding Capabilities, Powerful Agentic Performance, and Ultimate Cost-Effectiveness & Speed.";
50059
50065
  };
50066
+ readonly "MiniMax-M2.1": {
50067
+ readonly maxTokens: 16384;
50068
+ readonly contextWindow: 192000;
50069
+ readonly supportsImages: false;
50070
+ readonly supportsPromptCache: true;
50071
+ readonly supportsNativeTools: true;
50072
+ readonly defaultToolProtocol: "native";
50073
+ readonly includedTools: ["search_and_replace"];
50074
+ readonly excludedTools: ["apply_diff"];
50075
+ readonly preserveReasoning: true;
50076
+ readonly inputPrice: 0.3;
50077
+ readonly outputPrice: 1.2;
50078
+ readonly cacheWritesPrice: 0.375;
50079
+ readonly cacheReadsPrice: 0.03;
50080
+ readonly description: "MiniMax M2.1 builds on M2 with improved overall performance for agentic coding tasks and significantly faster response times.";
50081
+ };
50060
50082
  };
50061
50083
  declare const minimaxDefaultModelInfo: ModelInfo;
50062
50084
  declare const MINIMAX_DEFAULT_MAX_TOKENS = 16384;