@agi-cli/sdk 0.1.102 → 0.1.104

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agi-cli/sdk",
3
- "version": "0.1.102",
3
+ "version": "0.1.104",
4
4
  "description": "AI agent SDK for building intelligent assistants - tree-shakable and comprehensive",
5
5
  "author": "ntishxyz",
6
6
  "license": "MIT",
@@ -1119,7 +1119,7 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
1119
1119
  reasoning: true,
1120
1120
  attachment: true,
1121
1121
  temperature: true,
1122
- knowledge: '2025-02-31',
1122
+ knowledge: '2025-02-28',
1123
1123
  releaseDate: '2025-10-15',
1124
1124
  lastUpdated: '2025-10-15',
1125
1125
  openWeights: false,
@@ -1144,7 +1144,7 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
1144
1144
  reasoning: true,
1145
1145
  attachment: true,
1146
1146
  temperature: true,
1147
- knowledge: '2025-02-31',
1147
+ knowledge: '2025-02-28',
1148
1148
  releaseDate: '2025-10-15',
1149
1149
  lastUpdated: '2025-10-15',
1150
1150
  openWeights: false,
@@ -1258,6 +1258,56 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
1258
1258
  output: 32000,
1259
1259
  },
1260
1260
  },
1261
+ {
1262
+ id: 'claude-opus-4-5',
1263
+ label: 'Claude Opus 4.5 (latest)',
1264
+ modalities: {
1265
+ input: ['text', 'image'],
1266
+ output: ['text'],
1267
+ },
1268
+ toolCall: true,
1269
+ reasoning: true,
1270
+ attachment: true,
1271
+ temperature: true,
1272
+ knowledge: '2025-03-31',
1273
+ releaseDate: '2025-11-24',
1274
+ lastUpdated: '2025-11-24',
1275
+ openWeights: false,
1276
+ cost: {
1277
+ input: 5,
1278
+ output: 25,
1279
+ cacheRead: 0.5,
1280
+ },
1281
+ limit: {
1282
+ context: 200000,
1283
+ output: 64000,
1284
+ },
1285
+ },
1286
+ {
1287
+ id: 'claude-opus-4-5-20251101',
1288
+ label: 'Claude Opus 4.5',
1289
+ modalities: {
1290
+ input: ['text', 'image'],
1291
+ output: ['text'],
1292
+ },
1293
+ toolCall: true,
1294
+ reasoning: true,
1295
+ attachment: true,
1296
+ temperature: true,
1297
+ knowledge: '2025-03-31',
1298
+ releaseDate: '2025-11-01',
1299
+ lastUpdated: '2025-11-01',
1300
+ openWeights: false,
1301
+ cost: {
1302
+ input: 5,
1303
+ output: 25,
1304
+ cacheRead: 0.5,
1305
+ },
1306
+ limit: {
1307
+ context: 200000,
1308
+ output: 64000,
1309
+ },
1310
+ },
1261
1311
  {
1262
1312
  id: 'claude-sonnet-4-0',
1263
1313
  label: 'Claude Sonnet 4 (latest)',
@@ -2056,7 +2106,7 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
2056
2106
  reasoning: true,
2057
2107
  attachment: true,
2058
2108
  temperature: true,
2059
- knowledge: '2025-02-31',
2109
+ knowledge: '2025-02-28',
2060
2110
  releaseDate: '2025-10-15',
2061
2111
  lastUpdated: '2025-10-15',
2062
2112
  openWeights: false,
@@ -2120,6 +2170,31 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
2120
2170
  output: 32000,
2121
2171
  },
2122
2172
  },
2173
+ {
2174
+ id: 'anthropic/claude-opus-4.5',
2175
+ label: 'Claude Opus 4.5',
2176
+ modalities: {
2177
+ input: ['text', 'image'],
2178
+ output: ['text'],
2179
+ },
2180
+ toolCall: true,
2181
+ reasoning: true,
2182
+ attachment: true,
2183
+ temperature: true,
2184
+ knowledge: '2025-05-30',
2185
+ releaseDate: '2025-11-24',
2186
+ lastUpdated: '2025-11-24',
2187
+ openWeights: false,
2188
+ cost: {
2189
+ input: 5,
2190
+ output: 25,
2191
+ cacheRead: 0.5,
2192
+ },
2193
+ limit: {
2194
+ context: 200000,
2195
+ output: 32000,
2196
+ },
2197
+ },
2123
2198
  {
2124
2199
  id: 'anthropic/claude-sonnet-4',
2125
2200
  label: 'Claude Sonnet 4',
@@ -2706,6 +2781,33 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
2706
2781
  output: 65536,
2707
2782
  },
2708
2783
  },
2784
+ {
2785
+ id: 'google/gemini-3-pro-preview',
2786
+ label: 'Gemini 3 Pro Preview',
2787
+ modalities: {
2788
+ input: ['text', 'image', 'audio', 'video', 'pdf'],
2789
+ output: ['text'],
2790
+ },
2791
+ toolCall: true,
2792
+ reasoning: true,
2793
+ attachment: true,
2794
+ temperature: true,
2795
+ knowledge: '2025-01',
2796
+ releaseDate: '2025-11-18',
2797
+ lastUpdated: '2025-11',
2798
+ openWeights: false,
2799
+ cost: {
2800
+ input: 2,
2801
+ output: 12,
2802
+ },
2803
+ limit: {
2804
+ context: 1050000,
2805
+ output: 66000,
2806
+ },
2807
+ provider: {
2808
+ npm: '@openrouter/ai-sdk-provider',
2809
+ },
2810
+ },
2709
2811
  {
2710
2812
  id: 'google/gemma-2-9b-it:free',
2711
2813
  label: 'Gemma 2 9B (free)',
@@ -3015,6 +3117,9 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
3015
3117
  context: 196600,
3016
3118
  output: 118000,
3017
3119
  },
3120
+ provider: {
3121
+ npm: '@openrouter/ai-sdk-provider',
3122
+ },
3018
3123
  },
3019
3124
  {
3020
3125
  id: 'mistralai/codestral-2508',
@@ -3424,6 +3529,9 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
3424
3529
  context: 262144,
3425
3530
  output: 262144,
3426
3531
  },
3532
+ provider: {
3533
+ npm: '@openrouter/ai-sdk-provider',
3534
+ },
3427
3535
  },
3428
3536
  {
3429
3537
  id: 'moonshotai/kimi-k2:free',
@@ -3960,153 +4068,31 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
3960
4068
  },
3961
4069
  },
3962
4070
  {
3963
- id: 'openai/o4-mini',
3964
- label: 'o4 Mini',
3965
- modalities: {
3966
- input: ['text', 'image'],
3967
- output: ['text'],
3968
- },
3969
- toolCall: true,
3970
- reasoning: true,
3971
- attachment: true,
3972
- temperature: true,
3973
- knowledge: '2024-06',
3974
- releaseDate: '2025-04-16',
3975
- lastUpdated: '2025-04-16',
3976
- openWeights: false,
3977
- cost: {
3978
- input: 1.1,
3979
- output: 4.4,
3980
- cacheRead: 0.28,
3981
- },
3982
- limit: {
3983
- context: 200000,
3984
- output: 100000,
3985
- },
3986
- },
3987
- {
3988
- id: 'openrouter/cypher-alpha:free',
3989
- label: 'Cypher Alpha (free)',
4071
+ id: 'openai/gpt-oss-safeguard-20b',
4072
+ label: 'GPT OSS Safeguard 20B',
3990
4073
  modalities: {
3991
4074
  input: ['text'],
3992
4075
  output: ['text'],
3993
4076
  },
3994
4077
  toolCall: true,
3995
- reasoning: false,
4078
+ reasoning: true,
3996
4079
  attachment: false,
3997
4080
  temperature: true,
3998
- knowledge: '2025-07',
3999
- releaseDate: '2025-07-01',
4000
- lastUpdated: '2025-07-01',
4001
- openWeights: false,
4002
- cost: {
4003
- input: 0,
4004
- output: 0,
4005
- },
4006
- limit: {
4007
- context: 1000000,
4008
- output: 1000000,
4009
- },
4010
- },
4011
- {
4012
- id: 'openrouter/horizon-alpha',
4013
- label: 'Horizon Alpha',
4014
- modalities: {
4015
- input: ['text', 'image'],
4016
- output: ['text'],
4017
- },
4018
- toolCall: true,
4019
- reasoning: false,
4020
- attachment: true,
4021
- temperature: false,
4022
- knowledge: '2025-07',
4023
- releaseDate: '2025-07-30',
4024
- lastUpdated: '2025-07-30',
4025
- openWeights: false,
4026
- cost: {
4027
- input: 0,
4028
- output: 0,
4029
- },
4030
- limit: {
4031
- context: 256000,
4032
- output: 128000,
4033
- },
4034
- },
4035
- {
4036
- id: 'openrouter/horizon-beta',
4037
- label: 'Horizon Beta',
4038
- modalities: {
4039
- input: ['text', 'image'],
4040
- output: ['text'],
4041
- },
4042
- toolCall: true,
4043
- reasoning: false,
4044
- attachment: true,
4045
- temperature: false,
4046
- knowledge: '2025-07',
4047
- releaseDate: '2025-08-01',
4048
- lastUpdated: '2025-08-01',
4049
- openWeights: false,
4050
- cost: {
4051
- input: 0,
4052
- output: 0,
4053
- },
4054
- limit: {
4055
- context: 256000,
4056
- output: 128000,
4057
- },
4058
- },
4059
- {
4060
- id: 'openrouter/polaris-alpha',
4061
- label: 'Polaris Alpha',
4062
- modalities: {
4063
- input: ['text', 'image'],
4064
- output: ['text'],
4065
- },
4066
- toolCall: true,
4067
- reasoning: false,
4068
- attachment: true,
4069
- temperature: false,
4070
- knowledge: '2025-07',
4071
- releaseDate: '2025-07-30',
4072
- lastUpdated: '2025-07-30',
4073
- openWeights: false,
4074
- cost: {
4075
- input: 0,
4076
- output: 0,
4077
- },
4078
- limit: {
4079
- context: 256000,
4080
- output: 128000,
4081
- },
4082
- },
4083
- {
4084
- id: 'openrouter/sherlock-dash-alpha',
4085
- label: 'Sherlock Dash Alpha',
4086
- modalities: {
4087
- input: ['text', 'image'],
4088
- output: ['text'],
4089
- },
4090
- toolCall: true,
4091
- reasoning: false,
4092
- attachment: true,
4093
- temperature: false,
4094
- knowledge: '2025-11',
4095
- releaseDate: '2025-11-15',
4096
- lastUpdated: '2025-11-15',
4081
+ releaseDate: '2025-10-29',
4082
+ lastUpdated: '2025-10-29',
4097
4083
  openWeights: false,
4098
4084
  cost: {
4099
- input: 0,
4100
- output: 0,
4085
+ input: 0.075,
4086
+ output: 0.3,
4101
4087
  },
4102
4088
  limit: {
4103
- context: 1840000,
4104
- output: 64000,
4089
+ context: 131072,
4090
+ output: 65536,
4105
4091
  },
4106
4092
  },
4107
4093
  {
4108
- id: 'openrouter/sherlock-think-alpha',
4109
- label: 'Sherlock Think Alpha',
4094
+ id: 'openai/o4-mini',
4095
+ label: 'o4 Mini',
4110
4096
  modalities: {
4111
4097
  input: ['text', 'image'],
4112
4098
  output: ['text'],
@@ -4114,64 +4100,19 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
4114
4100
  toolCall: true,
4115
4101
  reasoning: true,
4116
4102
  attachment: true,
4117
- temperature: false,
4118
- knowledge: '2025-11',
4119
- releaseDate: '2025-11-15',
4120
- lastUpdated: '2025-11-15',
4121
- openWeights: false,
4122
- cost: {
4123
- input: 0,
4124
- output: 0,
4125
- },
4126
- limit: {
4127
- context: 1840000,
4128
- output: 64000,
4129
- },
4130
- },
4131
- {
4132
- id: 'openrouter/sonoma-dusk-alpha',
4133
- label: 'Sonoma Dusk Alpha',
4134
- modalities: {
4135
- input: ['text', 'image'],
4136
- output: ['text'],
4137
- },
4138
- toolCall: true,
4139
- reasoning: false,
4140
- attachment: true,
4141
- temperature: false,
4142
- releaseDate: '2024-09-05',
4143
- lastUpdated: '2024-09-05',
4144
- openWeights: false,
4145
- cost: {
4146
- input: 0,
4147
- output: 0,
4148
- },
4149
- limit: {
4150
- context: 2000000,
4151
- output: 2000000,
4152
- },
4153
- },
4154
- {
4155
- id: 'openrouter/sonoma-sky-alpha',
4156
- label: 'Sonoma Sky Alpha',
4157
- modalities: {
4158
- input: ['text', 'image'],
4159
- output: ['text'],
4160
- },
4161
- toolCall: true,
4162
- reasoning: false,
4163
- attachment: true,
4164
- temperature: false,
4165
- releaseDate: '2024-09-05',
4166
- lastUpdated: '2024-09-05',
4103
+ temperature: true,
4104
+ knowledge: '2024-06',
4105
+ releaseDate: '2025-04-16',
4106
+ lastUpdated: '2025-04-16',
4167
4107
  openWeights: false,
4168
4108
  cost: {
4169
- input: 0,
4170
- output: 0,
4109
+ input: 1.1,
4110
+ output: 4.4,
4111
+ cacheRead: 0.28,
4171
4112
  },
4172
4113
  limit: {
4173
- context: 2000000,
4174
- output: 2000000,
4114
+ context: 200000,
4115
+ output: 100000,
4175
4116
  },
4176
4117
  },
4177
4118
  {
@@ -4534,6 +4475,30 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
4534
4475
  output: 66536,
4535
4476
  },
4536
4477
  },
4478
+ {
4479
+ id: 'qwen/qwen3-coder-flash',
4480
+ label: 'Qwen3 Coder Flash',
4481
+ modalities: {
4482
+ input: ['text'],
4483
+ output: ['text'],
4484
+ },
4485
+ toolCall: true,
4486
+ reasoning: false,
4487
+ attachment: false,
4488
+ temperature: true,
4489
+ knowledge: '2025-04',
4490
+ releaseDate: '2025-07-23',
4491
+ lastUpdated: '2025-07-23',
4492
+ openWeights: false,
4493
+ cost: {
4494
+ input: 0.3,
4495
+ output: 1.5,
4496
+ },
4497
+ limit: {
4498
+ context: 128000,
4499
+ output: 66536,
4500
+ },
4501
+ },
4537
4502
  {
4538
4503
  id: 'qwen/qwen3-coder:exacto',
4539
4504
  label: 'Qwen3 Coder (exacto)',
@@ -4923,6 +4888,31 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
4923
4888
  output: 30000,
4924
4889
  },
4925
4890
  },
4891
+ {
4892
+ id: 'x-ai/grok-4.1-fast',
4893
+ label: 'Grok 4.1 Fast',
4894
+ modalities: {
4895
+ input: ['text', 'image'],
4896
+ output: ['text'],
4897
+ },
4898
+ toolCall: true,
4899
+ reasoning: true,
4900
+ attachment: false,
4901
+ temperature: true,
4902
+ knowledge: '2024-11',
4903
+ releaseDate: '2025-11-19',
4904
+ lastUpdated: '2025-11-19',
4905
+ openWeights: false,
4906
+ cost: {
4907
+ input: 0.2,
4908
+ output: 0.5,
4909
+ cacheRead: 0.05,
4910
+ },
4911
+ limit: {
4912
+ context: 2000000,
4913
+ output: 30000,
4914
+ },
4915
+ },
4926
4916
  {
4927
4917
  id: 'x-ai/grok-code-fast-1',
4928
4918
  label: 'Grok Code Fast 1',
@@ -5134,7 +5124,7 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
5134
5124
  },
5135
5125
  {
5136
5126
  id: 'alpha-gd4',
5137
- label: 'Code GD4 (alpha)',
5127
+ label: 'Alpha GD4',
5138
5128
  modalities: {
5139
5129
  input: ['text'],
5140
5130
  output: ['text'],
@@ -5152,33 +5142,12 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
5152
5142
  output: 2,
5153
5143
  cacheRead: 0.15,
5154
5144
  },
5155
- limit: {
5156
- context: 200000,
5157
- output: 128000,
5158
- },
5159
- },
5160
- {
5161
- id: 'alpha-kimi-k2-thinking',
5162
- label: 'Kimi K2 Thinking (alpha)',
5163
- modalities: {
5164
- input: ['text'],
5165
- output: ['text'],
5166
- },
5167
- toolCall: true,
5168
- reasoning: true,
5169
- attachment: false,
5170
- temperature: true,
5171
- knowledge: '2024-10',
5172
- releaseDate: '2025-09-05',
5173
- lastUpdated: '2025-09-05',
5174
- openWeights: true,
5175
- cost: {
5176
- input: 0.6,
5177
- output: 2.5,
5178
- },
5179
5145
  limit: {
5180
5146
  context: 262144,
5181
- output: 262144,
5147
+ output: 32768,
5148
+ },
5149
+ provider: {
5150
+ npm: '@ai-sdk/anthropic',
5182
5151
  },
5183
5152
  },
5184
5153
  {
@@ -5272,7 +5241,7 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
5272
5241
  reasoning: true,
5273
5242
  attachment: true,
5274
5243
  temperature: true,
5275
- knowledge: '2025-02-31',
5244
+ knowledge: '2025-02-28',
5276
5245
  releaseDate: '2025-10-15',
5277
5246
  lastUpdated: '2025-10-15',
5278
5247
  openWeights: false,
@@ -5317,6 +5286,34 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
5317
5286
  npm: '@ai-sdk/anthropic',
5318
5287
  },
5319
5288
  },
5289
+ {
5290
+ id: 'claude-opus-4-5',
5291
+ label: 'Claude Opus 4.5',
5292
+ modalities: {
5293
+ input: ['text', 'image'],
5294
+ output: ['text'],
5295
+ },
5296
+ toolCall: true,
5297
+ reasoning: true,
5298
+ attachment: true,
5299
+ temperature: true,
5300
+ knowledge: '2025-03-31',
5301
+ releaseDate: '2025-11-01',
5302
+ lastUpdated: '2025-11-01',
5303
+ openWeights: false,
5304
+ cost: {
5305
+ input: 5,
5306
+ output: 25,
5307
+ cacheRead: 0.5,
5308
+ },
5309
+ limit: {
5310
+ context: 200000,
5311
+ output: 64000,
5312
+ },
5313
+ provider: {
5314
+ npm: '@ai-sdk/anthropic',
5315
+ },
5316
+ },
5320
5317
  {
5321
5318
  id: 'claude-sonnet-4',
5322
5319
  label: 'Claude Sonnet 4',
@@ -5389,9 +5386,9 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
5389
5386
  lastUpdated: '2025-11-18',
5390
5387
  openWeights: false,
5391
5388
  cost: {
5392
- input: 0,
5393
- output: 0,
5394
- cacheRead: 0,
5389
+ input: 2,
5390
+ output: 12,
5391
+ cacheRead: 0.2,
5395
5392
  },
5396
5393
  limit: {
5397
5394
  context: 1000000,
@@ -5442,9 +5439,9 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
5442
5439
  lastUpdated: '2025-08-07',
5443
5440
  openWeights: false,
5444
5441
  cost: {
5445
- input: 1.25,
5446
- output: 10,
5447
- cacheRead: 0.125,
5442
+ input: 1.07,
5443
+ output: 8.5,
5444
+ cacheRead: 0.107,
5448
5445
  },
5449
5446
  limit: {
5450
5447
  context: 400000,
@@ -5470,9 +5467,9 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
5470
5467
  lastUpdated: '2025-08-07',
5471
5468
  openWeights: false,
5472
5469
  cost: {
5473
- input: 1.25,
5474
- output: 10,
5475
- cacheRead: 0.125,
5470
+ input: 1.07,
5471
+ output: 8.5,
5472
+ cacheRead: 0.107,
5476
5473
  },
5477
5474
  limit: {
5478
5475
  context: 400000,
@@ -5526,9 +5523,9 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
5526
5523
  lastUpdated: '2025-11-12',
5527
5524
  openWeights: false,
5528
5525
  cost: {
5529
- input: 1.25,
5530
- output: 10,
5531
- cacheRead: 0.125,
5526
+ input: 1.07,
5527
+ output: 8.5,
5528
+ cacheRead: 0.107,
5532
5529
  },
5533
5530
  limit: {
5534
5531
  context: 400000,
@@ -5554,9 +5551,9 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
5554
5551
  lastUpdated: '2025-11-12',
5555
5552
  openWeights: false,
5556
5553
  cost: {
5557
- input: 1.25,
5558
- output: 10,
5559
- cacheRead: 0.125,
5554
+ input: 1.07,
5555
+ output: 8.5,
5556
+ cacheRead: 0.107,
5560
5557
  },
5561
5558
  limit: {
5562
5559
  context: 400000,
@@ -5606,9 +5603,34 @@ export const catalog: Partial<Record<ProviderId, ProviderCatalogEntry>> = {
5606
5603
  lastUpdated: '2025-09-05',
5607
5604
  openWeights: true,
5608
5605
  cost: {
5609
- input: 0.6,
5606
+ input: 0.4,
5607
+ output: 2.5,
5608
+ cacheRead: 0.4,
5609
+ },
5610
+ limit: {
5611
+ context: 262144,
5612
+ output: 262144,
5613
+ },
5614
+ },
5615
+ {
5616
+ id: 'kimi-k2-thinking',
5617
+ label: 'Kimi K2 Thinking',
5618
+ modalities: {
5619
+ input: ['text'],
5620
+ output: ['text'],
5621
+ },
5622
+ toolCall: true,
5623
+ reasoning: true,
5624
+ attachment: false,
5625
+ temperature: true,
5626
+ knowledge: '2024-10',
5627
+ releaseDate: '2025-09-05',
5628
+ lastUpdated: '2025-09-05',
5629
+ openWeights: true,
5630
+ cost: {
5631
+ input: 0.4,
5610
5632
  output: 2.5,
5611
- cacheRead: 0.36,
5633
+ cacheRead: 0.4,
5612
5634
  },
5613
5635
  limit: {
5614
5636
  context: 262144,