@elyracode/ai 0.8.2 → 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 +179 -0
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +113 -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 +10 -12
- 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,
|
|
@@ -6964,6 +7056,24 @@ export const MODELS = {
|
|
|
6964
7056
|
contextWindow: 1000000,
|
|
6965
7057
|
maxTokens: 128000,
|
|
6966
7058
|
},
|
|
7059
|
+
"claude-opus-4-8": {
|
|
7060
|
+
id: "claude-opus-4-8",
|
|
7061
|
+
name: "Claude Opus 4.8",
|
|
7062
|
+
api: "anthropic-messages",
|
|
7063
|
+
provider: "opencode",
|
|
7064
|
+
baseUrl: "https://opencode.ai/zen",
|
|
7065
|
+
reasoning: true,
|
|
7066
|
+
thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
|
|
7067
|
+
input: ["text", "image"],
|
|
7068
|
+
cost: {
|
|
7069
|
+
input: 5,
|
|
7070
|
+
output: 25,
|
|
7071
|
+
cacheRead: 0.5,
|
|
7072
|
+
cacheWrite: 6.25,
|
|
7073
|
+
},
|
|
7074
|
+
contextWindow: 1000000,
|
|
7075
|
+
maxTokens: 128000,
|
|
7076
|
+
},
|
|
6967
7077
|
"claude-sonnet-4": {
|
|
6968
7078
|
id: "claude-sonnet-4",
|
|
6969
7079
|
name: "Claude Sonnet 4",
|
|
@@ -8060,6 +8170,7 @@ export const MODELS = {
|
|
|
8060
8170
|
provider: "openrouter",
|
|
8061
8171
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
8062
8172
|
reasoning: true,
|
|
8173
|
+
thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
|
|
8063
8174
|
input: ["text", "image"],
|
|
8064
8175
|
cost: {
|
|
8065
8176
|
input: 5,
|
|
@@ -8077,6 +8188,7 @@ export const MODELS = {
|
|
|
8077
8188
|
provider: "openrouter",
|
|
8078
8189
|
baseUrl: "https://openrouter.ai/api/v1",
|
|
8079
8190
|
reasoning: true,
|
|
8191
|
+
thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
|
|
8080
8192
|
input: ["text", "image"],
|
|
8081
8193
|
cost: {
|
|
8082
8194
|
input: 10,
|
|
@@ -12945,6 +13057,7 @@ export const MODELS = {
|
|
|
12945
13057
|
provider: "vercel-ai-gateway",
|
|
12946
13058
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
12947
13059
|
reasoning: true,
|
|
13060
|
+
thinkingLevelMap: { "minimal": "low", "low": "medium", "medium": "high", "high": "max", "xhigh": "ultracode" },
|
|
12948
13061
|
input: ["text", "image"],
|
|
12949
13062
|
cost: {
|
|
12950
13063
|
input: 5,
|