@elyracode/ai 0.8.3 → 0.8.4
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/models.generated.d.ts +162 -0
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +96 -0
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/anthropic.d.ts +7 -6
- package/dist/providers/anthropic.d.ts.map +1 -1
- package/dist/providers/anthropic.js +6 -5
- package/dist/providers/anthropic.js.map +1 -1
- package/package.json +1 -1
package/dist/models.generated.js
CHANGED
|
@@ -164,6 +164,7 @@ export const MODELS = {
|
|
|
164
164
|
provider: "amazon-bedrock",
|
|
165
165
|
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
166
166
|
reasoning: true,
|
|
167
|
+
thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
|
|
167
168
|
input: ["text", "image"],
|
|
168
169
|
cost: {
|
|
169
170
|
input: 5,
|
|
@@ -243,6 +244,24 @@ export const MODELS = {
|
|
|
243
244
|
contextWindow: 1000000,
|
|
244
245
|
maxTokens: 128000,
|
|
245
246
|
},
|
|
247
|
+
"au.anthropic.claude-opus-4-8": {
|
|
248
|
+
id: "au.anthropic.claude-opus-4-8",
|
|
249
|
+
name: "Claude Opus 4.8 (AU)",
|
|
250
|
+
api: "bedrock-converse-stream",
|
|
251
|
+
provider: "amazon-bedrock",
|
|
252
|
+
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
253
|
+
reasoning: true,
|
|
254
|
+
thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
|
|
255
|
+
input: ["text", "image"],
|
|
256
|
+
cost: {
|
|
257
|
+
input: 5,
|
|
258
|
+
output: 25,
|
|
259
|
+
cacheRead: 0.5,
|
|
260
|
+
cacheWrite: 6.25,
|
|
261
|
+
},
|
|
262
|
+
contextWindow: 1000000,
|
|
263
|
+
maxTokens: 128000,
|
|
264
|
+
},
|
|
246
265
|
"au.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
247
266
|
id: "au.anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
248
267
|
name: "Claude Sonnet 4.5 (AU)",
|
|
@@ -398,6 +417,24 @@ export const MODELS = {
|
|
|
398
417
|
contextWindow: 1000000,
|
|
399
418
|
maxTokens: 128000,
|
|
400
419
|
},
|
|
420
|
+
"eu.anthropic.claude-opus-4-8": {
|
|
421
|
+
id: "eu.anthropic.claude-opus-4-8",
|
|
422
|
+
name: "Claude Opus 4.8 (EU)",
|
|
423
|
+
api: "bedrock-converse-stream",
|
|
424
|
+
provider: "amazon-bedrock",
|
|
425
|
+
baseUrl: "https://bedrock-runtime.eu-central-1.amazonaws.com",
|
|
426
|
+
reasoning: true,
|
|
427
|
+
thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
|
|
428
|
+
input: ["text", "image"],
|
|
429
|
+
cost: {
|
|
430
|
+
input: 5,
|
|
431
|
+
output: 25,
|
|
432
|
+
cacheRead: 0.5,
|
|
433
|
+
cacheWrite: 6.25,
|
|
434
|
+
},
|
|
435
|
+
contextWindow: 1000000,
|
|
436
|
+
maxTokens: 128000,
|
|
437
|
+
},
|
|
401
438
|
"eu.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
402
439
|
id: "eu.anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
403
440
|
name: "Claude Sonnet 4.5 (EU)",
|
|
@@ -502,6 +539,24 @@ export const MODELS = {
|
|
|
502
539
|
contextWindow: 1000000,
|
|
503
540
|
maxTokens: 128000,
|
|
504
541
|
},
|
|
542
|
+
"global.anthropic.claude-opus-4-8": {
|
|
543
|
+
id: "global.anthropic.claude-opus-4-8",
|
|
544
|
+
name: "Claude Opus 4.8 (Global)",
|
|
545
|
+
api: "bedrock-converse-stream",
|
|
546
|
+
provider: "amazon-bedrock",
|
|
547
|
+
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
548
|
+
reasoning: true,
|
|
549
|
+
thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
|
|
550
|
+
input: ["text", "image"],
|
|
551
|
+
cost: {
|
|
552
|
+
input: 5,
|
|
553
|
+
output: 25,
|
|
554
|
+
cacheRead: 0.5,
|
|
555
|
+
cacheWrite: 6.25,
|
|
556
|
+
},
|
|
557
|
+
contextWindow: 1000000,
|
|
558
|
+
maxTokens: 128000,
|
|
559
|
+
},
|
|
505
560
|
"global.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
506
561
|
id: "global.anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
507
562
|
name: "Claude Sonnet 4.5 (Global)",
|
|
@@ -588,6 +643,24 @@ export const MODELS = {
|
|
|
588
643
|
contextWindow: 1000000,
|
|
589
644
|
maxTokens: 128000,
|
|
590
645
|
},
|
|
646
|
+
"jp.anthropic.claude-opus-4-8": {
|
|
647
|
+
id: "jp.anthropic.claude-opus-4-8",
|
|
648
|
+
name: "Claude Opus 4.8 (JP)",
|
|
649
|
+
api: "bedrock-converse-stream",
|
|
650
|
+
provider: "amazon-bedrock",
|
|
651
|
+
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
652
|
+
reasoning: true,
|
|
653
|
+
thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
|
|
654
|
+
input: ["text", "image"],
|
|
655
|
+
cost: {
|
|
656
|
+
input: 5,
|
|
657
|
+
output: 25,
|
|
658
|
+
cacheRead: 0.5,
|
|
659
|
+
cacheWrite: 6.25,
|
|
660
|
+
},
|
|
661
|
+
contextWindow: 1000000,
|
|
662
|
+
maxTokens: 128000,
|
|
663
|
+
},
|
|
591
664
|
"jp.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
592
665
|
id: "jp.anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
593
666
|
name: "Claude Sonnet 4.5 (JP)",
|
|
@@ -1287,6 +1360,24 @@ export const MODELS = {
|
|
|
1287
1360
|
contextWindow: 1000000,
|
|
1288
1361
|
maxTokens: 128000,
|
|
1289
1362
|
},
|
|
1363
|
+
"us.anthropic.claude-opus-4-8": {
|
|
1364
|
+
id: "us.anthropic.claude-opus-4-8",
|
|
1365
|
+
name: "Claude Opus 4.8 (US)",
|
|
1366
|
+
api: "bedrock-converse-stream",
|
|
1367
|
+
provider: "amazon-bedrock",
|
|
1368
|
+
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
1369
|
+
reasoning: true,
|
|
1370
|
+
thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
|
|
1371
|
+
input: ["text", "image"],
|
|
1372
|
+
cost: {
|
|
1373
|
+
input: 5,
|
|
1374
|
+
output: 25,
|
|
1375
|
+
cacheRead: 0.5,
|
|
1376
|
+
cacheWrite: 6.25,
|
|
1377
|
+
},
|
|
1378
|
+
contextWindow: 1000000,
|
|
1379
|
+
maxTokens: 128000,
|
|
1380
|
+
},
|
|
1290
1381
|
"us.anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
1291
1382
|
id: "us.anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
1292
1383
|
name: "Claude Sonnet 4.5 (US)",
|
|
@@ -1740,6 +1831,7 @@ export const MODELS = {
|
|
|
1740
1831
|
provider: "anthropic",
|
|
1741
1832
|
baseUrl: "https://api.anthropic.com",
|
|
1742
1833
|
reasoning: true,
|
|
1834
|
+
thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
|
|
1743
1835
|
input: ["text", "image"],
|
|
1744
1836
|
cost: {
|
|
1745
1837
|
input: 5,
|
|
@@ -6971,6 +7063,7 @@ export const MODELS = {
|
|
|
6971
7063
|
provider: "opencode",
|
|
6972
7064
|
baseUrl: "https://opencode.ai/zen",
|
|
6973
7065
|
reasoning: true,
|
|
7066
|
+
thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
|
|
6974
7067
|
input: ["text", "image"],
|
|
6975
7068
|
cost: {
|
|
6976
7069
|
input: 5,
|
|
@@ -8077,6 +8170,7 @@ export const MODELS = {
|
|
|
8077
8170
|
provider: "openrouter",
|
|
8078
8171
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
8079
8172
|
reasoning: true,
|
|
8173
|
+
thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
|
|
8080
8174
|
input: ["text", "image"],
|
|
8081
8175
|
cost: {
|
|
8082
8176
|
input: 5,
|
|
@@ -8094,6 +8188,7 @@ export const MODELS = {
|
|
|
8094
8188
|
provider: "openrouter",
|
|
8095
8189
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
8096
8190
|
reasoning: true,
|
|
8191
|
+
thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
|
|
8097
8192
|
input: ["text", "image"],
|
|
8098
8193
|
cost: {
|
|
8099
8194
|
input: 10,
|
|
@@ -12962,6 +13057,7 @@ export const MODELS = {
|
|
|
12962
13057
|
provider: "vercel-ai-gateway",
|
|
12963
13058
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
12964
13059
|
reasoning: true,
|
|
13060
|
+
thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
|
|
12965
13061
|
input: ["text", "image"],
|
|
12966
13062
|
cost: {
|
|
12967
13063
|
input: 5,
|