@roo-code/types 1.80.0 → 1.81.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
@@ -1604,6 +1604,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1604
1604
  minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
1605
1605
  maxCachePoints: z.ZodOptional<z.ZodNumber>;
1606
1606
  cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1607
+ deprecated: z.ZodOptional<z.ZodBoolean>;
1607
1608
  tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1608
1609
  name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
1609
1610
  contextWindow: z.ZodNumber;
@@ -1648,6 +1649,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1648
1649
  minTokensPerCachePoint?: number | undefined;
1649
1650
  maxCachePoints?: number | undefined;
1650
1651
  cachableFields?: string[] | undefined;
1652
+ deprecated?: boolean | undefined;
1651
1653
  tiers?: {
1652
1654
  contextWindow: number;
1653
1655
  name?: "default" | "flex" | "priority" | undefined;
@@ -1678,6 +1680,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1678
1680
  minTokensPerCachePoint?: number | undefined;
1679
1681
  maxCachePoints?: number | undefined;
1680
1682
  cachableFields?: string[] | undefined;
1683
+ deprecated?: boolean | undefined;
1681
1684
  tiers?: {
1682
1685
  contextWindow: number;
1683
1686
  name?: "default" | "flex" | "priority" | undefined;
@@ -1735,6 +1738,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1735
1738
  minTokensPerCachePoint?: number | undefined;
1736
1739
  maxCachePoints?: number | undefined;
1737
1740
  cachableFields?: string[] | undefined;
1741
+ deprecated?: boolean | undefined;
1738
1742
  tiers?: {
1739
1743
  contextWindow: number;
1740
1744
  name?: "default" | "flex" | "priority" | undefined;
@@ -1790,6 +1794,7 @@ declare const providerSettingsSchemaDiscriminated: z.ZodDiscriminatedUnion<"apiP
1790
1794
  minTokensPerCachePoint?: number | undefined;
1791
1795
  maxCachePoints?: number | undefined;
1792
1796
  cachableFields?: string[] | undefined;
1797
+ deprecated?: boolean | undefined;
1793
1798
  tiers?: {
1794
1799
  contextWindow: number;
1795
1800
  name?: "default" | "flex" | "priority" | undefined;
@@ -3474,6 +3479,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3474
3479
  minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
3475
3480
  maxCachePoints: z.ZodOptional<z.ZodNumber>;
3476
3481
  cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3482
+ deprecated: z.ZodOptional<z.ZodBoolean>;
3477
3483
  tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3478
3484
  name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
3479
3485
  contextWindow: z.ZodNumber;
@@ -3518,6 +3524,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3518
3524
  minTokensPerCachePoint?: number | undefined;
3519
3525
  maxCachePoints?: number | undefined;
3520
3526
  cachableFields?: string[] | undefined;
3527
+ deprecated?: boolean | undefined;
3521
3528
  tiers?: {
3522
3529
  contextWindow: number;
3523
3530
  name?: "default" | "flex" | "priority" | undefined;
@@ -3548,6 +3555,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3548
3555
  minTokensPerCachePoint?: number | undefined;
3549
3556
  maxCachePoints?: number | undefined;
3550
3557
  cachableFields?: string[] | undefined;
3558
+ deprecated?: boolean | undefined;
3551
3559
  tiers?: {
3552
3560
  contextWindow: number;
3553
3561
  name?: "default" | "flex" | "priority" | undefined;
@@ -3679,6 +3687,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3679
3687
  minTokensPerCachePoint?: number | undefined;
3680
3688
  maxCachePoints?: number | undefined;
3681
3689
  cachableFields?: string[] | undefined;
3690
+ deprecated?: boolean | undefined;
3682
3691
  tiers?: {
3683
3692
  contextWindow: number;
3684
3693
  name?: "default" | "flex" | "priority" | undefined;
@@ -3836,6 +3845,7 @@ declare const providerSettingsSchema: z.ZodObject<{
3836
3845
  minTokensPerCachePoint?: number | undefined;
3837
3846
  maxCachePoints?: number | undefined;
3838
3847
  cachableFields?: string[] | undefined;
3848
+ deprecated?: boolean | undefined;
3839
3849
  tiers?: {
3840
3850
  contextWindow: number;
3841
3851
  name?: "default" | "flex" | "priority" | undefined;
@@ -4031,6 +4041,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4031
4041
  minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
4032
4042
  maxCachePoints: z.ZodOptional<z.ZodNumber>;
4033
4043
  cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4044
+ deprecated: z.ZodOptional<z.ZodBoolean>;
4034
4045
  tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
4035
4046
  name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
4036
4047
  contextWindow: z.ZodNumber;
@@ -4075,6 +4086,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4075
4086
  minTokensPerCachePoint?: number | undefined;
4076
4087
  maxCachePoints?: number | undefined;
4077
4088
  cachableFields?: string[] | undefined;
4089
+ deprecated?: boolean | undefined;
4078
4090
  tiers?: {
4079
4091
  contextWindow: number;
4080
4092
  name?: "default" | "flex" | "priority" | undefined;
@@ -4105,6 +4117,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4105
4117
  minTokensPerCachePoint?: number | undefined;
4106
4118
  maxCachePoints?: number | undefined;
4107
4119
  cachableFields?: string[] | undefined;
4120
+ deprecated?: boolean | undefined;
4108
4121
  tiers?: {
4109
4122
  contextWindow: number;
4110
4123
  name?: "default" | "flex" | "priority" | undefined;
@@ -4239,6 +4252,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4239
4252
  minTokensPerCachePoint?: number | undefined;
4240
4253
  maxCachePoints?: number | undefined;
4241
4254
  cachableFields?: string[] | undefined;
4255
+ deprecated?: boolean | undefined;
4242
4256
  tiers?: {
4243
4257
  contextWindow: number;
4244
4258
  name?: "default" | "flex" | "priority" | undefined;
@@ -4397,6 +4411,7 @@ declare const providerSettingsWithIdSchema: z.ZodObject<{
4397
4411
  minTokensPerCachePoint?: number | undefined;
4398
4412
  maxCachePoints?: number | undefined;
4399
4413
  cachableFields?: string[] | undefined;
4414
+ deprecated?: boolean | undefined;
4400
4415
  tiers?: {
4401
4416
  contextWindow: number;
4402
4417
  name?: "default" | "flex" | "priority" | undefined;
@@ -4894,6 +4909,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
4894
4909
  minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
4895
4910
  maxCachePoints: z.ZodOptional<z.ZodNumber>;
4896
4911
  cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4912
+ deprecated: z.ZodOptional<z.ZodBoolean>;
4897
4913
  tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
4898
4914
  name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
4899
4915
  contextWindow: z.ZodNumber;
@@ -4938,6 +4954,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
4938
4954
  minTokensPerCachePoint?: number | undefined;
4939
4955
  maxCachePoints?: number | undefined;
4940
4956
  cachableFields?: string[] | undefined;
4957
+ deprecated?: boolean | undefined;
4941
4958
  tiers?: {
4942
4959
  contextWindow: number;
4943
4960
  name?: "default" | "flex" | "priority" | undefined;
@@ -4968,6 +4985,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
4968
4985
  minTokensPerCachePoint?: number | undefined;
4969
4986
  maxCachePoints?: number | undefined;
4970
4987
  cachableFields?: string[] | undefined;
4988
+ deprecated?: boolean | undefined;
4971
4989
  tiers?: {
4972
4990
  contextWindow: number;
4973
4991
  name?: "default" | "flex" | "priority" | undefined;
@@ -5025,6 +5043,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5025
5043
  minTokensPerCachePoint?: number | undefined;
5026
5044
  maxCachePoints?: number | undefined;
5027
5045
  cachableFields?: string[] | undefined;
5046
+ deprecated?: boolean | undefined;
5028
5047
  tiers?: {
5029
5048
  contextWindow: number;
5030
5049
  name?: "default" | "flex" | "priority" | undefined;
@@ -5080,6 +5099,7 @@ declare const discriminatedProviderSettingsWithIdSchema: z.ZodIntersection<z.Zod
5080
5099
  minTokensPerCachePoint?: number | undefined;
5081
5100
  maxCachePoints?: number | undefined;
5082
5101
  cachableFields?: string[] | undefined;
5102
+ deprecated?: boolean | undefined;
5083
5103
  tiers?: {
5084
5104
  contextWindow: number;
5085
5105
  name?: "default" | "flex" | "priority" | undefined;
@@ -6672,7 +6692,7 @@ declare const getApiProtocol: (provider: ProviderName | undefined, modelId?: str
6672
6692
  /**
6673
6693
  * MODELS_BY_PROVIDER
6674
6694
  */
6675
- declare const MODELS_BY_PROVIDER: Record<Exclude<ProviderName, "fake-ai" | "human-relay" | "gemini-cli" | "lmstudio" | "openai" | "ollama">, {
6695
+ declare const MODELS_BY_PROVIDER: Record<Exclude<ProviderName, "fake-ai" | "human-relay" | "gemini-cli" | "openai">, {
6676
6696
  id: ProviderName;
6677
6697
  label: string;
6678
6698
  models: string[];
@@ -7504,6 +7524,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
7504
7524
  minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
7505
7525
  maxCachePoints: z.ZodOptional<z.ZodNumber>;
7506
7526
  cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7527
+ deprecated: z.ZodOptional<z.ZodBoolean>;
7507
7528
  tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
7508
7529
  name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
7509
7530
  contextWindow: z.ZodNumber;
@@ -7548,6 +7569,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
7548
7569
  minTokensPerCachePoint?: number | undefined;
7549
7570
  maxCachePoints?: number | undefined;
7550
7571
  cachableFields?: string[] | undefined;
7572
+ deprecated?: boolean | undefined;
7551
7573
  tiers?: {
7552
7574
  contextWindow: number;
7553
7575
  name?: "default" | "flex" | "priority" | undefined;
@@ -7578,6 +7600,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
7578
7600
  minTokensPerCachePoint?: number | undefined;
7579
7601
  maxCachePoints?: number | undefined;
7580
7602
  cachableFields?: string[] | undefined;
7603
+ deprecated?: boolean | undefined;
7581
7604
  tiers?: {
7582
7605
  contextWindow: number;
7583
7606
  name?: "default" | "flex" | "priority" | undefined;
@@ -8057,6 +8080,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8057
8080
  minTokensPerCachePoint?: number | undefined;
8058
8081
  maxCachePoints?: number | undefined;
8059
8082
  cachableFields?: string[] | undefined;
8083
+ deprecated?: boolean | undefined;
8060
8084
  tiers?: {
8061
8085
  contextWindow: number;
8062
8086
  name?: "default" | "flex" | "priority" | undefined;
@@ -8376,6 +8400,7 @@ declare const rooCodeSettingsSchema: z.ZodObject<{
8376
8400
  minTokensPerCachePoint?: number | undefined;
8377
8401
  maxCachePoints?: number | undefined;
8378
8402
  cachableFields?: string[] | undefined;
8403
+ deprecated?: boolean | undefined;
8379
8404
  tiers?: {
8380
8405
  contextWindow: number;
8381
8406
  name?: "default" | "flex" | "priority" | undefined;
@@ -8802,6 +8827,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8802
8827
  minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
8803
8828
  maxCachePoints: z.ZodOptional<z.ZodNumber>;
8804
8829
  cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8830
+ deprecated: z.ZodOptional<z.ZodBoolean>;
8805
8831
  tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
8806
8832
  name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
8807
8833
  contextWindow: z.ZodNumber;
@@ -8846,6 +8872,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8846
8872
  minTokensPerCachePoint?: number | undefined;
8847
8873
  maxCachePoints?: number | undefined;
8848
8874
  cachableFields?: string[] | undefined;
8875
+ deprecated?: boolean | undefined;
8849
8876
  tiers?: {
8850
8877
  contextWindow: number;
8851
8878
  name?: "default" | "flex" | "priority" | undefined;
@@ -8876,6 +8903,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
8876
8903
  minTokensPerCachePoint?: number | undefined;
8877
8904
  maxCachePoints?: number | undefined;
8878
8905
  cachableFields?: string[] | undefined;
8906
+ deprecated?: boolean | undefined;
8879
8907
  tiers?: {
8880
8908
  contextWindow: number;
8881
8909
  name?: "default" | "flex" | "priority" | undefined;
@@ -9355,6 +9383,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9355
9383
  minTokensPerCachePoint?: number | undefined;
9356
9384
  maxCachePoints?: number | undefined;
9357
9385
  cachableFields?: string[] | undefined;
9386
+ deprecated?: boolean | undefined;
9358
9387
  tiers?: {
9359
9388
  contextWindow: number;
9360
9389
  name?: "default" | "flex" | "priority" | undefined;
@@ -9674,6 +9703,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9674
9703
  minTokensPerCachePoint?: number | undefined;
9675
9704
  maxCachePoints?: number | undefined;
9676
9705
  cachableFields?: string[] | undefined;
9706
+ deprecated?: boolean | undefined;
9677
9707
  tiers?: {
9678
9708
  contextWindow: number;
9679
9709
  name?: "default" | "flex" | "priority" | undefined;
@@ -9999,6 +10029,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
9999
10029
  minTokensPerCachePoint?: number | undefined;
10000
10030
  maxCachePoints?: number | undefined;
10001
10031
  cachableFields?: string[] | undefined;
10032
+ deprecated?: boolean | undefined;
10002
10033
  tiers?: {
10003
10034
  contextWindow: number;
10004
10035
  name?: "default" | "flex" | "priority" | undefined;
@@ -10323,6 +10354,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10323
10354
  minTokensPerCachePoint?: number | undefined;
10324
10355
  maxCachePoints?: number | undefined;
10325
10356
  cachableFields?: string[] | undefined;
10357
+ deprecated?: boolean | undefined;
10326
10358
  tiers?: {
10327
10359
  contextWindow: number;
10328
10360
  name?: "default" | "flex" | "priority" | undefined;
@@ -10650,6 +10682,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10650
10682
  minTokensPerCachePoint?: number | undefined;
10651
10683
  maxCachePoints?: number | undefined;
10652
10684
  cachableFields?: string[] | undefined;
10685
+ deprecated?: boolean | undefined;
10653
10686
  tiers?: {
10654
10687
  contextWindow: number;
10655
10688
  name?: "default" | "flex" | "priority" | undefined;
@@ -10977,6 +11010,7 @@ declare const taskCommandSchema: z.ZodDiscriminatedUnion<"commandName", [z.ZodOb
10977
11010
  minTokensPerCachePoint?: number | undefined;
10978
11011
  maxCachePoints?: number | undefined;
10979
11012
  cachableFields?: string[] | undefined;
11013
+ deprecated?: boolean | undefined;
10980
11014
  tiers?: {
10981
11015
  contextWindow: number;
10982
11016
  name?: "default" | "flex" | "priority" | undefined;
@@ -11404,6 +11438,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11404
11438
  minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
11405
11439
  maxCachePoints: z.ZodOptional<z.ZodNumber>;
11406
11440
  cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
11441
+ deprecated: z.ZodOptional<z.ZodBoolean>;
11407
11442
  tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
11408
11443
  name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
11409
11444
  contextWindow: z.ZodNumber;
@@ -11448,6 +11483,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11448
11483
  minTokensPerCachePoint?: number | undefined;
11449
11484
  maxCachePoints?: number | undefined;
11450
11485
  cachableFields?: string[] | undefined;
11486
+ deprecated?: boolean | undefined;
11451
11487
  tiers?: {
11452
11488
  contextWindow: number;
11453
11489
  name?: "default" | "flex" | "priority" | undefined;
@@ -11478,6 +11514,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11478
11514
  minTokensPerCachePoint?: number | undefined;
11479
11515
  maxCachePoints?: number | undefined;
11480
11516
  cachableFields?: string[] | undefined;
11517
+ deprecated?: boolean | undefined;
11481
11518
  tiers?: {
11482
11519
  contextWindow: number;
11483
11520
  name?: "default" | "flex" | "priority" | undefined;
@@ -11957,6 +11994,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
11957
11994
  minTokensPerCachePoint?: number | undefined;
11958
11995
  maxCachePoints?: number | undefined;
11959
11996
  cachableFields?: string[] | undefined;
11997
+ deprecated?: boolean | undefined;
11960
11998
  tiers?: {
11961
11999
  contextWindow: number;
11962
12000
  name?: "default" | "flex" | "priority" | undefined;
@@ -12276,6 +12314,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12276
12314
  minTokensPerCachePoint?: number | undefined;
12277
12315
  maxCachePoints?: number | undefined;
12278
12316
  cachableFields?: string[] | undefined;
12317
+ deprecated?: boolean | undefined;
12279
12318
  tiers?: {
12280
12319
  contextWindow: number;
12281
12320
  name?: "default" | "flex" | "priority" | undefined;
@@ -12601,6 +12640,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12601
12640
  minTokensPerCachePoint?: number | undefined;
12602
12641
  maxCachePoints?: number | undefined;
12603
12642
  cachableFields?: string[] | undefined;
12643
+ deprecated?: boolean | undefined;
12604
12644
  tiers?: {
12605
12645
  contextWindow: number;
12606
12646
  name?: "default" | "flex" | "priority" | undefined;
@@ -12925,6 +12965,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
12925
12965
  minTokensPerCachePoint?: number | undefined;
12926
12966
  maxCachePoints?: number | undefined;
12927
12967
  cachableFields?: string[] | undefined;
12968
+ deprecated?: boolean | undefined;
12928
12969
  tiers?: {
12929
12970
  contextWindow: number;
12930
12971
  name?: "default" | "flex" | "priority" | undefined;
@@ -13252,6 +13293,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13252
13293
  minTokensPerCachePoint?: number | undefined;
13253
13294
  maxCachePoints?: number | undefined;
13254
13295
  cachableFields?: string[] | undefined;
13296
+ deprecated?: boolean | undefined;
13255
13297
  tiers?: {
13256
13298
  contextWindow: number;
13257
13299
  name?: "default" | "flex" | "priority" | undefined;
@@ -13579,6 +13621,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13579
13621
  minTokensPerCachePoint?: number | undefined;
13580
13622
  maxCachePoints?: number | undefined;
13581
13623
  cachableFields?: string[] | undefined;
13624
+ deprecated?: boolean | undefined;
13582
13625
  tiers?: {
13583
13626
  contextWindow: number;
13584
13627
  name?: "default" | "flex" | "priority" | undefined;
@@ -13937,6 +13980,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
13937
13980
  minTokensPerCachePoint?: number | undefined;
13938
13981
  maxCachePoints?: number | undefined;
13939
13982
  cachableFields?: string[] | undefined;
13983
+ deprecated?: boolean | undefined;
13940
13984
  tiers?: {
13941
13985
  contextWindow: number;
13942
13986
  name?: "default" | "flex" | "priority" | undefined;
@@ -14278,6 +14322,7 @@ declare const ipcMessageSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
14278
14322
  minTokensPerCachePoint?: number | undefined;
14279
14323
  maxCachePoints?: number | undefined;
14280
14324
  cachableFields?: string[] | undefined;
14325
+ deprecated?: boolean | undefined;
14281
14326
  tiers?: {
14282
14327
  contextWindow: number;
14283
14328
  name?: "default" | "flex" | "priority" | undefined;
@@ -17713,6 +17758,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
17713
17758
  minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
17714
17759
  maxCachePoints: z.ZodOptional<z.ZodNumber>;
17715
17760
  cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
17761
+ deprecated: z.ZodOptional<z.ZodBoolean>;
17716
17762
  tiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
17717
17763
  name: z.ZodOptional<z.ZodEnum<["default", "flex", "priority"]>>;
17718
17764
  contextWindow: z.ZodNumber;
@@ -17757,6 +17803,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
17757
17803
  minTokensPerCachePoint?: number | undefined;
17758
17804
  maxCachePoints?: number | undefined;
17759
17805
  cachableFields?: string[] | undefined;
17806
+ deprecated?: boolean | undefined;
17760
17807
  tiers?: {
17761
17808
  contextWindow: number;
17762
17809
  name?: "default" | "flex" | "priority" | undefined;
@@ -17787,6 +17834,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
17787
17834
  minTokensPerCachePoint?: number | undefined;
17788
17835
  maxCachePoints?: number | undefined;
17789
17836
  cachableFields?: string[] | undefined;
17837
+ deprecated?: boolean | undefined;
17790
17838
  tiers?: {
17791
17839
  contextWindow: number;
17792
17840
  name?: "default" | "flex" | "priority" | undefined;
@@ -17921,6 +17969,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
17921
17969
  minTokensPerCachePoint?: number | undefined;
17922
17970
  maxCachePoints?: number | undefined;
17923
17971
  cachableFields?: string[] | undefined;
17972
+ deprecated?: boolean | undefined;
17924
17973
  tiers?: {
17925
17974
  contextWindow: number;
17926
17975
  name?: "default" | "flex" | "priority" | undefined;
@@ -18079,6 +18128,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
18079
18128
  minTokensPerCachePoint?: number | undefined;
18080
18129
  maxCachePoints?: number | undefined;
18081
18130
  cachableFields?: string[] | undefined;
18131
+ deprecated?: boolean | undefined;
18082
18132
  tiers?: {
18083
18133
  contextWindow: number;
18084
18134
  name?: "default" | "flex" | "priority" | undefined;
@@ -18299,6 +18349,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
18299
18349
  minTokensPerCachePoint?: number | undefined;
18300
18350
  maxCachePoints?: number | undefined;
18301
18351
  cachableFields?: string[] | undefined;
18352
+ deprecated?: boolean | undefined;
18302
18353
  tiers?: {
18303
18354
  contextWindow: number;
18304
18355
  name?: "default" | "flex" | "priority" | undefined;
@@ -18519,6 +18570,7 @@ declare const organizationSettingsSchema: z.ZodObject<{
18519
18570
  minTokensPerCachePoint?: number | undefined;
18520
18571
  maxCachePoints?: number | undefined;
18521
18572
  cachableFields?: string[] | undefined;
18573
+ deprecated?: boolean | undefined;
18522
18574
  tiers?: {
18523
18575
  contextWindow: number;
18524
18576
  name?: "default" | "flex" | "priority" | undefined;
@@ -40440,6 +40492,7 @@ declare const modelInfoSchema: z.ZodObject<{
40440
40492
  minTokensPerCachePoint: z.ZodOptional<z.ZodNumber>;
40441
40493
  maxCachePoints: z.ZodOptional<z.ZodNumber>;
40442
40494
  cachableFields: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40495
+ deprecated: z.ZodOptional<z.ZodBoolean>;
40443
40496
  /**
40444
40497
  * Service tiers with pricing information.
40445
40498
  * Each tier can have a name (for OpenAI service tiers) and pricing overrides.
@@ -40489,6 +40542,7 @@ declare const modelInfoSchema: z.ZodObject<{
40489
40542
  minTokensPerCachePoint?: number | undefined;
40490
40543
  maxCachePoints?: number | undefined;
40491
40544
  cachableFields?: string[] | undefined;
40545
+ deprecated?: boolean | undefined;
40492
40546
  tiers?: {
40493
40547
  contextWindow: number;
40494
40548
  name?: "default" | "flex" | "priority" | undefined;
@@ -40519,6 +40573,7 @@ declare const modelInfoSchema: z.ZodObject<{
40519
40573
  minTokensPerCachePoint?: number | undefined;
40520
40574
  maxCachePoints?: number | undefined;
40521
40575
  cachableFields?: string[] | undefined;
40576
+ deprecated?: boolean | undefined;
40522
40577
  tiers?: {
40523
40578
  contextWindow: number;
40524
40579
  name?: "default" | "flex" | "priority" | undefined;
@@ -41237,7 +41292,7 @@ declare const cerebrasModels: {
41237
41292
  };
41238
41293
  };
41239
41294
 
41240
- type ChutesModelId = "deepseek-ai/DeepSeek-R1-0528" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-V3.1" | "unsloth/Llama-3.3-70B-Instruct" | "chutesai/Llama-4-Scout-17B-16E-Instruct" | "unsloth/Mistral-Nemo-Instruct-2407" | "unsloth/gemma-3-12b-it" | "NousResearch/DeepHermes-3-Llama-3-8B-Preview" | "unsloth/gemma-3-4b-it" | "nvidia/Llama-3_3-Nemotron-Super-49B-v1" | "nvidia/Llama-3_1-Nemotron-Ultra-253B-v1" | "chutesai/Llama-4-Maverick-17B-128E-Instruct-FP8" | "deepseek-ai/DeepSeek-V3-Base" | "deepseek-ai/DeepSeek-R1-Zero" | "deepseek-ai/DeepSeek-V3-0324" | "Qwen/Qwen3-235B-A22B" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-30B-A3B" | "Qwen/Qwen3-14B" | "Qwen/Qwen3-8B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8" | "microsoft/MAI-DS-R1-FP8" | "tngtech/DeepSeek-R1T-Chimera" | "zai-org/GLM-4.5-Air" | "zai-org/GLM-4.5-FP8" | "zai-org/GLM-4.5-turbo" | "moonshotai/Kimi-K2-Instruct-75k" | "moonshotai/Kimi-K2-Instruct-0905" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen3-Next-80B-A3B-Thinking";
41295
+ type ChutesModelId = "deepseek-ai/DeepSeek-R1-0528" | "deepseek-ai/DeepSeek-R1" | "deepseek-ai/DeepSeek-V3" | "deepseek-ai/DeepSeek-V3.1" | "deepseek-ai/DeepSeek-V3.1-Terminus" | "deepseek-ai/DeepSeek-V3.1-turbo" | "deepseek-ai/DeepSeek-V3.2-Exp" | "unsloth/Llama-3.3-70B-Instruct" | "chutesai/Llama-4-Scout-17B-16E-Instruct" | "unsloth/Mistral-Nemo-Instruct-2407" | "unsloth/gemma-3-12b-it" | "NousResearch/DeepHermes-3-Llama-3-8B-Preview" | "unsloth/gemma-3-4b-it" | "nvidia/Llama-3_3-Nemotron-Super-49B-v1" | "nvidia/Llama-3_1-Nemotron-Ultra-253B-v1" | "chutesai/Llama-4-Maverick-17B-128E-Instruct-FP8" | "deepseek-ai/DeepSeek-V3-Base" | "deepseek-ai/DeepSeek-R1-Zero" | "deepseek-ai/DeepSeek-V3-0324" | "Qwen/Qwen3-235B-A22B" | "Qwen/Qwen3-235B-A22B-Instruct-2507" | "Qwen/Qwen3-32B" | "Qwen/Qwen3-30B-A3B" | "Qwen/Qwen3-14B" | "Qwen/Qwen3-8B" | "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8" | "microsoft/MAI-DS-R1-FP8" | "tngtech/DeepSeek-R1T-Chimera" | "zai-org/GLM-4.5-Air" | "zai-org/GLM-4.5-FP8" | "zai-org/GLM-4.5-turbo" | "zai-org/GLM-4.6-FP8" | "moonshotai/Kimi-K2-Instruct-75k" | "moonshotai/Kimi-K2-Instruct-0905" | "Qwen/Qwen3-235B-A22B-Thinking-2507" | "Qwen/Qwen3-Next-80B-A3B-Instruct" | "Qwen/Qwen3-Next-80B-A3B-Thinking" | "Qwen/Qwen3-VL-235B-A22B-Thinking";
41241
41296
  declare const chutesDefaultModelId: ChutesModelId;
41242
41297
  declare const chutesModels: {
41243
41298
  readonly "deepseek-ai/DeepSeek-R1-0528": {
@@ -41276,6 +41331,33 @@ declare const chutesModels: {
41276
41331
  readonly outputPrice: 0;
41277
41332
  readonly description: "DeepSeek V3.1 model.";
41278
41333
  };
41334
+ readonly "deepseek-ai/DeepSeek-V3.1-Terminus": {
41335
+ readonly maxTokens: 163840;
41336
+ readonly contextWindow: 163840;
41337
+ readonly supportsImages: false;
41338
+ readonly supportsPromptCache: false;
41339
+ readonly inputPrice: 0.23;
41340
+ readonly outputPrice: 0.9;
41341
+ readonly description: "DeepSeek‑V3.1‑Terminus is an update to V3.1 that improves language consistency by reducing CN/EN mix‑ups and eliminating random characters, while strengthening agent capabilities with notably better Code Agent and Search Agent performance.";
41342
+ };
41343
+ readonly "deepseek-ai/DeepSeek-V3.1-turbo": {
41344
+ readonly maxTokens: 32768;
41345
+ readonly contextWindow: 163840;
41346
+ readonly supportsImages: false;
41347
+ readonly supportsPromptCache: false;
41348
+ readonly inputPrice: 1;
41349
+ readonly outputPrice: 3;
41350
+ readonly description: "DeepSeek-V3.1-turbo is an FP8, speculative-decoding turbo variant optimized for ultra-fast single-shot queries (~200 TPS), with outputs close to the originals and solid function calling/reasoning/structured output, priced at $1/M input and $3/M output tokens, using 2× quota per request and not intended for bulk workloads.";
41351
+ };
41352
+ readonly "deepseek-ai/DeepSeek-V3.2-Exp": {
41353
+ readonly maxTokens: 163840;
41354
+ readonly contextWindow: 163840;
41355
+ readonly supportsImages: false;
41356
+ readonly supportsPromptCache: false;
41357
+ readonly inputPrice: 0.25;
41358
+ readonly outputPrice: 0.35;
41359
+ readonly description: "DeepSeek-V3.2-Exp is an experimental LLM that introduces DeepSeek Sparse Attention to improve long‑context training and inference efficiency while maintaining performance comparable to V3.1‑Terminus.";
41360
+ };
41279
41361
  readonly "unsloth/Llama-3.3-70B-Instruct": {
41280
41362
  readonly maxTokens: 32768;
41281
41363
  readonly contextWindow: 131072;
@@ -41483,6 +41565,15 @@ declare const chutesModels: {
41483
41565
  readonly outputPrice: 3;
41484
41566
  readonly description: "GLM-4.5-turbo model with 128K token context window, optimized for fast inference.";
41485
41567
  };
41568
+ readonly "zai-org/GLM-4.6-FP8": {
41569
+ readonly maxTokens: 32768;
41570
+ readonly contextWindow: 202752;
41571
+ readonly supportsImages: false;
41572
+ readonly supportsPromptCache: false;
41573
+ readonly inputPrice: 0;
41574
+ readonly outputPrice: 0;
41575
+ readonly description: "GLM-4.6 introduces major upgrades over GLM-4.5, including a longer 200K-token context window for complex tasks, stronger coding performance in benchmarks and real-world tools (such as Claude Code, Cline, Roo Code, and Kilo Code), improved reasoning with tool use during inference, more capable and efficient agent integration, and refined writing that better matches human style, readability, and natural role-play scenarios.";
41576
+ };
41486
41577
  readonly "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": {
41487
41578
  readonly maxTokens: 32768;
41488
41579
  readonly contextWindow: 262144;
@@ -41537,6 +41628,15 @@ declare const chutesModels: {
41537
41628
  readonly outputPrice: 0;
41538
41629
  readonly description: "Reasoning-first model with structured thinking traces for multi-step problems, math proofs, and code synthesis.";
41539
41630
  };
41631
+ readonly "Qwen/Qwen3-VL-235B-A22B-Thinking": {
41632
+ readonly maxTokens: 262144;
41633
+ readonly contextWindow: 262144;
41634
+ readonly supportsImages: true;
41635
+ readonly supportsPromptCache: false;
41636
+ readonly inputPrice: 0.16;
41637
+ readonly outputPrice: 0.65;
41638
+ readonly description: "Qwen3‑VL‑235B‑A22B‑Thinking is an open‑weight MoE vision‑language model (235B total, ~22B activated) optimized for deliberate multi‑step reasoning with strong text‑image‑video understanding and long‑context capabilities.";
41639
+ };
41540
41640
  };
41541
41641
 
41542
41642
  /**
@@ -42906,6 +43006,7 @@ declare const rooModels: {
42906
43006
  readonly inputPrice: 0;
42907
43007
  readonly outputPrice: 0;
42908
43008
  readonly description: "Grok 4 Fast is xAI's latest multimodal model with SOTA cost-efficiency and a 2M token context window. (Note: prompts and completions are logged by xAI and used to improve the model.)";
43009
+ readonly deprecated: true;
42909
43010
  };
42910
43011
  readonly "deepseek/deepseek-chat-v3.1": {
42911
43012
  readonly maxTokens: 16384;
package/dist/index.js CHANGED
@@ -388,6 +388,8 @@ var modelInfoSchema = z5.object({
388
388
  minTokensPerCachePoint: z5.number().optional(),
389
389
  maxCachePoints: z5.number().optional(),
390
390
  cachableFields: z5.array(z5.string()).optional(),
391
+ // Flag to indicate if the model is deprecated and should not be used
392
+ deprecated: z5.boolean().optional(),
391
393
  /**
392
394
  * Service tiers with pricing information.
393
395
  * Each tier can have a name (for OpenAI service tiers) and pricing overrides.
@@ -1192,6 +1194,33 @@ var chutesModels = {
1192
1194
  outputPrice: 0,
1193
1195
  description: "DeepSeek V3.1 model."
1194
1196
  },
1197
+ "deepseek-ai/DeepSeek-V3.1-Terminus": {
1198
+ maxTokens: 163840,
1199
+ contextWindow: 163840,
1200
+ supportsImages: false,
1201
+ supportsPromptCache: false,
1202
+ inputPrice: 0.23,
1203
+ outputPrice: 0.9,
1204
+ description: "DeepSeek\u2011V3.1\u2011Terminus is an update to V3.1 that improves language consistency by reducing CN/EN mix\u2011ups and eliminating random characters, while strengthening agent capabilities with notably better Code Agent and Search Agent performance."
1205
+ },
1206
+ "deepseek-ai/DeepSeek-V3.1-turbo": {
1207
+ maxTokens: 32768,
1208
+ contextWindow: 163840,
1209
+ supportsImages: false,
1210
+ supportsPromptCache: false,
1211
+ inputPrice: 1,
1212
+ outputPrice: 3,
1213
+ description: "DeepSeek-V3.1-turbo is an FP8, speculative-decoding turbo variant optimized for ultra-fast single-shot queries (~200 TPS), with outputs close to the originals and solid function calling/reasoning/structured output, priced at $1/M input and $3/M output tokens, using 2\xD7 quota per request and not intended for bulk workloads."
1214
+ },
1215
+ "deepseek-ai/DeepSeek-V3.2-Exp": {
1216
+ maxTokens: 163840,
1217
+ contextWindow: 163840,
1218
+ supportsImages: false,
1219
+ supportsPromptCache: false,
1220
+ inputPrice: 0.25,
1221
+ outputPrice: 0.35,
1222
+ description: "DeepSeek-V3.2-Exp is an experimental LLM that introduces DeepSeek Sparse Attention to improve long\u2011context training and inference efficiency while maintaining performance comparable to V3.1\u2011Terminus."
1223
+ },
1195
1224
  "unsloth/Llama-3.3-70B-Instruct": {
1196
1225
  maxTokens: 32768,
1197
1226
  // From Groq
@@ -1401,6 +1430,15 @@ var chutesModels = {
1401
1430
  outputPrice: 3,
1402
1431
  description: "GLM-4.5-turbo model with 128K token context window, optimized for fast inference."
1403
1432
  },
1433
+ "zai-org/GLM-4.6-FP8": {
1434
+ maxTokens: 32768,
1435
+ contextWindow: 202752,
1436
+ supportsImages: false,
1437
+ supportsPromptCache: false,
1438
+ inputPrice: 0,
1439
+ outputPrice: 0,
1440
+ description: "GLM-4.6 introduces major upgrades over GLM-4.5, including a longer 200K-token context window for complex tasks, stronger coding performance in benchmarks and real-world tools (such as Claude Code, Cline, Roo Code, and Kilo Code), improved reasoning with tool use during inference, more capable and efficient agent integration, and refined writing that better matches human style, readability, and natural role-play scenarios."
1441
+ },
1404
1442
  "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8": {
1405
1443
  maxTokens: 32768,
1406
1444
  contextWindow: 262144,
@@ -1454,6 +1492,15 @@ var chutesModels = {
1454
1492
  inputPrice: 0,
1455
1493
  outputPrice: 0,
1456
1494
  description: "Reasoning-first model with structured thinking traces for multi-step problems, math proofs, and code synthesis."
1495
+ },
1496
+ "Qwen/Qwen3-VL-235B-A22B-Thinking": {
1497
+ maxTokens: 262144,
1498
+ contextWindow: 262144,
1499
+ supportsImages: true,
1500
+ supportsPromptCache: false,
1501
+ inputPrice: 0.16,
1502
+ outputPrice: 0.65,
1503
+ description: "Qwen3\u2011VL\u2011235B\u2011A22B\u2011Thinking is an open\u2011weight MoE vision\u2011language model (235B total, ~22B activated) optimized for deliberate multi\u2011step reasoning with strong text\u2011image\u2011video understanding and long\u2011context capabilities."
1457
1504
  }
1458
1505
  };
1459
1506
 
@@ -2923,7 +2970,8 @@ var rooModels = {
2923
2970
  supportsPromptCache: false,
2924
2971
  inputPrice: 0,
2925
2972
  outputPrice: 0,
2926
- description: "Grok 4 Fast is xAI's latest multimodal model with SOTA cost-efficiency and a 2M token context window. (Note: prompts and completions are logged by xAI and used to improve the model.)"
2973
+ description: "Grok 4 Fast is xAI's latest multimodal model with SOTA cost-efficiency and a 2M token context window. (Note: prompts and completions are logged by xAI and used to improve the model.)",
2974
+ deprecated: true
2927
2975
  },
2928
2976
  "deepseek/deepseek-chat-v3.1": {
2929
2977
  maxTokens: 16384,
@@ -4472,7 +4520,7 @@ var MODELS_BY_PROVIDER = {
4472
4520
  },
4473
4521
  xai: { id: "xai", label: "xAI (Grok)", models: Object.keys(xaiModels) },
4474
4522
  zai: { id: "zai", label: "Zai", models: Object.keys(internationalZAiModels) },
4475
- // Dynamic providers; models pulled from the respective APIs.
4523
+ // Dynamic providers; models pulled from remote APIs.
4476
4524
  glama: { id: "glama", label: "Glama", models: [] },
4477
4525
  huggingface: { id: "huggingface", label: "Hugging Face", models: [] },
4478
4526
  litellm: { id: "litellm", label: "LiteLLM", models: [] },
@@ -4480,7 +4528,10 @@ var MODELS_BY_PROVIDER = {
4480
4528
  requesty: { id: "requesty", label: "Requesty", models: [] },
4481
4529
  unbound: { id: "unbound", label: "Unbound", models: [] },
4482
4530
  deepinfra: { id: "deepinfra", label: "DeepInfra", models: [] },
4483
- "vercel-ai-gateway": { id: "vercel-ai-gateway", label: "Vercel AI Gateway", models: [] }
4531
+ "vercel-ai-gateway": { id: "vercel-ai-gateway", label: "Vercel AI Gateway", models: [] },
4532
+ // Local providers; models discovered from localhost endpoints.
4533
+ lmstudio: { id: "lmstudio", label: "LM Studio", models: [] },
4534
+ ollama: { id: "ollama", label: "Ollama", models: [] }
4484
4535
  };
4485
4536
 
4486
4537
  // src/history.ts