indusagi 0.13.2 → 0.13.3
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/CHANGELOG.md +6 -0
- package/dist/agent.js +37 -3
- package/dist/ai.js +37 -3
- package/dist/cli.js +35 -1
- package/dist/index.js +35 -1
- package/dist/llmgateway.js +34 -0
- package/dist/react-ink.js +1 -1
- package/dist/runtime.js +34 -0
- package/dist/shell-app.js +35 -1
- package/dist/smithy.js +34 -0
- package/dist/swarm.js +34 -0
- package/dist/types/facade/ml/models.generated.d.ts +34 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.13.3]
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
- **TaskPanel Queued-Messages Hint**: the queued-messages footer now reads "Ctrl+X runs the newest queued message now · Alt+Up restores it to the prompt", documenting the console's new steer chord alongside the existing dequeue chord.
|
|
7
|
+
- **Version Bump**: Updated package version to `0.13.3`.
|
|
8
|
+
|
|
3
9
|
## [0.13.2]
|
|
4
10
|
|
|
5
11
|
### Added
|
package/dist/agent.js
CHANGED
|
@@ -1476,6 +1476,40 @@ var MODELS = {
|
|
|
1476
1476
|
contextWindow: 2e5,
|
|
1477
1477
|
maxTokens: 8192
|
|
1478
1478
|
},
|
|
1479
|
+
"claude-opus-4-7": {
|
|
1480
|
+
id: "claude-opus-4-7",
|
|
1481
|
+
name: "Claude Opus 4.7",
|
|
1482
|
+
api: "anthropic-messages",
|
|
1483
|
+
provider: "anthropic",
|
|
1484
|
+
baseUrl: "https://api.anthropic.com",
|
|
1485
|
+
reasoning: true,
|
|
1486
|
+
input: ["text", "image"],
|
|
1487
|
+
cost: {
|
|
1488
|
+
input: 5,
|
|
1489
|
+
output: 25,
|
|
1490
|
+
cacheRead: 0.5,
|
|
1491
|
+
cacheWrite: 6.25
|
|
1492
|
+
},
|
|
1493
|
+
contextWindow: 1e6,
|
|
1494
|
+
maxTokens: 128e3
|
|
1495
|
+
},
|
|
1496
|
+
"claude-opus-4-8": {
|
|
1497
|
+
id: "claude-opus-4-8",
|
|
1498
|
+
name: "Claude Opus 4.8",
|
|
1499
|
+
api: "anthropic-messages",
|
|
1500
|
+
provider: "anthropic",
|
|
1501
|
+
baseUrl: "https://api.anthropic.com",
|
|
1502
|
+
reasoning: true,
|
|
1503
|
+
input: ["text", "image"],
|
|
1504
|
+
cost: {
|
|
1505
|
+
input: 5,
|
|
1506
|
+
output: 25,
|
|
1507
|
+
cacheRead: 0.5,
|
|
1508
|
+
cacheWrite: 6.25
|
|
1509
|
+
},
|
|
1510
|
+
contextWindow: 1e6,
|
|
1511
|
+
maxTokens: 128e3
|
|
1512
|
+
},
|
|
1479
1513
|
"claude-sonnet-4-0": {
|
|
1480
1514
|
id: "claude-sonnet-4-0",
|
|
1481
1515
|
name: "Claude Sonnet 4 (latest)",
|
|
@@ -12005,7 +12039,7 @@ var MODELS = {
|
|
|
12005
12039
|
cacheWrite: 0
|
|
12006
12040
|
},
|
|
12007
12041
|
contextWindow: 64e3,
|
|
12008
|
-
maxTokens:
|
|
12042
|
+
maxTokens: 4096
|
|
12009
12043
|
},
|
|
12010
12044
|
"sarvam-105b": {
|
|
12011
12045
|
id: "sarvam-105b",
|
|
@@ -12022,7 +12056,7 @@ var MODELS = {
|
|
|
12022
12056
|
cacheWrite: 0
|
|
12023
12057
|
},
|
|
12024
12058
|
contextWindow: 128e3,
|
|
12025
|
-
maxTokens:
|
|
12059
|
+
maxTokens: 4096
|
|
12026
12060
|
},
|
|
12027
12061
|
"sarvam-m": {
|
|
12028
12062
|
id: "sarvam-m",
|
|
@@ -12039,7 +12073,7 @@ var MODELS = {
|
|
|
12039
12073
|
cacheWrite: 0
|
|
12040
12074
|
},
|
|
12041
12075
|
contextWindow: 32e3,
|
|
12042
|
-
maxTokens:
|
|
12076
|
+
maxTokens: 4096
|
|
12043
12077
|
}
|
|
12044
12078
|
},
|
|
12045
12079
|
// Krutrim — OpenAI-compatible chat completions API
|
package/dist/ai.js
CHANGED
|
@@ -1600,6 +1600,40 @@ var MODELS = {
|
|
|
1600
1600
|
contextWindow: 2e5,
|
|
1601
1601
|
maxTokens: 8192
|
|
1602
1602
|
},
|
|
1603
|
+
"claude-opus-4-7": {
|
|
1604
|
+
id: "claude-opus-4-7",
|
|
1605
|
+
name: "Claude Opus 4.7",
|
|
1606
|
+
api: "anthropic-messages",
|
|
1607
|
+
provider: "anthropic",
|
|
1608
|
+
baseUrl: "https://api.anthropic.com",
|
|
1609
|
+
reasoning: true,
|
|
1610
|
+
input: ["text", "image"],
|
|
1611
|
+
cost: {
|
|
1612
|
+
input: 5,
|
|
1613
|
+
output: 25,
|
|
1614
|
+
cacheRead: 0.5,
|
|
1615
|
+
cacheWrite: 6.25
|
|
1616
|
+
},
|
|
1617
|
+
contextWindow: 1e6,
|
|
1618
|
+
maxTokens: 128e3
|
|
1619
|
+
},
|
|
1620
|
+
"claude-opus-4-8": {
|
|
1621
|
+
id: "claude-opus-4-8",
|
|
1622
|
+
name: "Claude Opus 4.8",
|
|
1623
|
+
api: "anthropic-messages",
|
|
1624
|
+
provider: "anthropic",
|
|
1625
|
+
baseUrl: "https://api.anthropic.com",
|
|
1626
|
+
reasoning: true,
|
|
1627
|
+
input: ["text", "image"],
|
|
1628
|
+
cost: {
|
|
1629
|
+
input: 5,
|
|
1630
|
+
output: 25,
|
|
1631
|
+
cacheRead: 0.5,
|
|
1632
|
+
cacheWrite: 6.25
|
|
1633
|
+
},
|
|
1634
|
+
contextWindow: 1e6,
|
|
1635
|
+
maxTokens: 128e3
|
|
1636
|
+
},
|
|
1603
1637
|
"claude-sonnet-4-0": {
|
|
1604
1638
|
id: "claude-sonnet-4-0",
|
|
1605
1639
|
name: "Claude Sonnet 4 (latest)",
|
|
@@ -12129,7 +12163,7 @@ var MODELS = {
|
|
|
12129
12163
|
cacheWrite: 0
|
|
12130
12164
|
},
|
|
12131
12165
|
contextWindow: 64e3,
|
|
12132
|
-
maxTokens:
|
|
12166
|
+
maxTokens: 4096
|
|
12133
12167
|
},
|
|
12134
12168
|
"sarvam-105b": {
|
|
12135
12169
|
id: "sarvam-105b",
|
|
@@ -12146,7 +12180,7 @@ var MODELS = {
|
|
|
12146
12180
|
cacheWrite: 0
|
|
12147
12181
|
},
|
|
12148
12182
|
contextWindow: 128e3,
|
|
12149
|
-
maxTokens:
|
|
12183
|
+
maxTokens: 4096
|
|
12150
12184
|
},
|
|
12151
12185
|
"sarvam-m": {
|
|
12152
12186
|
id: "sarvam-m",
|
|
@@ -12163,7 +12197,7 @@ var MODELS = {
|
|
|
12163
12197
|
cacheWrite: 0
|
|
12164
12198
|
},
|
|
12165
12199
|
contextWindow: 32e3,
|
|
12166
|
-
maxTokens:
|
|
12200
|
+
maxTokens: 4096
|
|
12167
12201
|
}
|
|
12168
12202
|
},
|
|
12169
12203
|
// Krutrim — OpenAI-compatible chat completions API
|
package/dist/cli.js
CHANGED
|
@@ -277,6 +277,40 @@ var MODEL_CARDS = [
|
|
|
277
277
|
cacheWritePerMTok: 18.75
|
|
278
278
|
}
|
|
279
279
|
},
|
|
280
|
+
{
|
|
281
|
+
id: "claude-opus-4-7",
|
|
282
|
+
provider: "anthropic",
|
|
283
|
+
api: "anthropic-messages",
|
|
284
|
+
displayName: "Claude Opus 4.7",
|
|
285
|
+
contextWindow: 1e6,
|
|
286
|
+
maxOutputTokens: 128e3,
|
|
287
|
+
modalities: ["text", "image"],
|
|
288
|
+
reasoning: true,
|
|
289
|
+
cost: {
|
|
290
|
+
// approximate — flagship tier
|
|
291
|
+
inputPerMTok: 5,
|
|
292
|
+
outputPerMTok: 25,
|
|
293
|
+
cacheReadPerMTok: 0.5,
|
|
294
|
+
cacheWritePerMTok: 6.25
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
id: "claude-opus-4-8",
|
|
299
|
+
provider: "anthropic",
|
|
300
|
+
api: "anthropic-messages",
|
|
301
|
+
displayName: "Claude Opus 4.8",
|
|
302
|
+
contextWindow: 1e6,
|
|
303
|
+
maxOutputTokens: 128e3,
|
|
304
|
+
modalities: ["text", "image"],
|
|
305
|
+
reasoning: true,
|
|
306
|
+
cost: {
|
|
307
|
+
// approximate — flagship tier
|
|
308
|
+
inputPerMTok: 5,
|
|
309
|
+
outputPerMTok: 25,
|
|
310
|
+
cacheReadPerMTok: 0.5,
|
|
311
|
+
cacheWritePerMTok: 6.25
|
|
312
|
+
}
|
|
313
|
+
},
|
|
280
314
|
{
|
|
281
315
|
id: "claude-sonnet-4",
|
|
282
316
|
provider: "anthropic",
|
|
@@ -10925,7 +10959,7 @@ function TaskPanel({ expandToolOutputs = false, pendingMessages = [], snapshot,
|
|
|
10925
10959
|
theme.muted(` ${message.mode === "steer" ? "Steering" : "Follow-up"}: `),
|
|
10926
10960
|
message.text.length > 90 ? `${message.text.slice(0, 87)}...` : message.text
|
|
10927
10961
|
] }, message.id)),
|
|
10928
|
-
/* @__PURE__ */ jsx(Text, { children: theme.muted(" Alt+Up restores
|
|
10962
|
+
/* @__PURE__ */ jsx(Text, { children: theme.muted(" Ctrl+X runs the newest queued message now \xB7 Alt+Up restores it to the prompt") })
|
|
10929
10963
|
] }) : snapshot.pendingMessageCount > 0 ? /* @__PURE__ */ jsx(Text, { children: theme.muted(`${snapshot.pendingMessageCount} queued message(s) waiting for the next turn`) }) : null
|
|
10930
10964
|
] });
|
|
10931
10965
|
}
|
package/dist/index.js
CHANGED
|
@@ -60,6 +60,40 @@ var MODEL_CARDS = [
|
|
|
60
60
|
cacheWritePerMTok: 18.75
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
|
+
{
|
|
64
|
+
id: "claude-opus-4-7",
|
|
65
|
+
provider: "anthropic",
|
|
66
|
+
api: "anthropic-messages",
|
|
67
|
+
displayName: "Claude Opus 4.7",
|
|
68
|
+
contextWindow: 1e6,
|
|
69
|
+
maxOutputTokens: 128e3,
|
|
70
|
+
modalities: ["text", "image"],
|
|
71
|
+
reasoning: true,
|
|
72
|
+
cost: {
|
|
73
|
+
// approximate — flagship tier
|
|
74
|
+
inputPerMTok: 5,
|
|
75
|
+
outputPerMTok: 25,
|
|
76
|
+
cacheReadPerMTok: 0.5,
|
|
77
|
+
cacheWritePerMTok: 6.25
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: "claude-opus-4-8",
|
|
82
|
+
provider: "anthropic",
|
|
83
|
+
api: "anthropic-messages",
|
|
84
|
+
displayName: "Claude Opus 4.8",
|
|
85
|
+
contextWindow: 1e6,
|
|
86
|
+
maxOutputTokens: 128e3,
|
|
87
|
+
modalities: ["text", "image"],
|
|
88
|
+
reasoning: true,
|
|
89
|
+
cost: {
|
|
90
|
+
// approximate — flagship tier
|
|
91
|
+
inputPerMTok: 5,
|
|
92
|
+
outputPerMTok: 25,
|
|
93
|
+
cacheReadPerMTok: 0.5,
|
|
94
|
+
cacheWritePerMTok: 6.25
|
|
95
|
+
}
|
|
96
|
+
},
|
|
63
97
|
{
|
|
64
98
|
id: "claude-sonnet-4",
|
|
65
99
|
provider: "anthropic",
|
|
@@ -15254,7 +15288,7 @@ function TaskPanel({ expandToolOutputs = false, pendingMessages = [], snapshot,
|
|
|
15254
15288
|
theme.muted(` ${message.mode === "steer" ? "Steering" : "Follow-up"}: `),
|
|
15255
15289
|
message.text.length > 90 ? `${message.text.slice(0, 87)}...` : message.text
|
|
15256
15290
|
] }, message.id)),
|
|
15257
|
-
/* @__PURE__ */ jsx(Text, { children: theme.muted(" Alt+Up restores
|
|
15291
|
+
/* @__PURE__ */ jsx(Text, { children: theme.muted(" Ctrl+X runs the newest queued message now \xB7 Alt+Up restores it to the prompt") })
|
|
15258
15292
|
] }) : snapshot.pendingMessageCount > 0 ? /* @__PURE__ */ jsx(Text, { children: theme.muted(`${snapshot.pendingMessageCount} queued message(s) waiting for the next turn`) }) : null
|
|
15259
15293
|
] });
|
|
15260
15294
|
}
|
package/dist/llmgateway.js
CHANGED
|
@@ -36,6 +36,40 @@ var MODEL_CARDS = [
|
|
|
36
36
|
cacheWritePerMTok: 18.75
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
|
+
{
|
|
40
|
+
id: "claude-opus-4-7",
|
|
41
|
+
provider: "anthropic",
|
|
42
|
+
api: "anthropic-messages",
|
|
43
|
+
displayName: "Claude Opus 4.7",
|
|
44
|
+
contextWindow: 1e6,
|
|
45
|
+
maxOutputTokens: 128e3,
|
|
46
|
+
modalities: ["text", "image"],
|
|
47
|
+
reasoning: true,
|
|
48
|
+
cost: {
|
|
49
|
+
// approximate — flagship tier
|
|
50
|
+
inputPerMTok: 5,
|
|
51
|
+
outputPerMTok: 25,
|
|
52
|
+
cacheReadPerMTok: 0.5,
|
|
53
|
+
cacheWritePerMTok: 6.25
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
id: "claude-opus-4-8",
|
|
58
|
+
provider: "anthropic",
|
|
59
|
+
api: "anthropic-messages",
|
|
60
|
+
displayName: "Claude Opus 4.8",
|
|
61
|
+
contextWindow: 1e6,
|
|
62
|
+
maxOutputTokens: 128e3,
|
|
63
|
+
modalities: ["text", "image"],
|
|
64
|
+
reasoning: true,
|
|
65
|
+
cost: {
|
|
66
|
+
// approximate — flagship tier
|
|
67
|
+
inputPerMTok: 5,
|
|
68
|
+
outputPerMTok: 25,
|
|
69
|
+
cacheReadPerMTok: 0.5,
|
|
70
|
+
cacheWritePerMTok: 6.25
|
|
71
|
+
}
|
|
72
|
+
},
|
|
39
73
|
{
|
|
40
74
|
id: "claude-sonnet-4",
|
|
41
75
|
provider: "anthropic",
|
package/dist/react-ink.js
CHANGED
|
@@ -2546,7 +2546,7 @@ function TaskPanel({ expandToolOutputs = false, pendingMessages = [], snapshot,
|
|
|
2546
2546
|
theme.muted(` ${message.mode === "steer" ? "Steering" : "Follow-up"}: `),
|
|
2547
2547
|
message.text.length > 90 ? `${message.text.slice(0, 87)}...` : message.text
|
|
2548
2548
|
] }, message.id)),
|
|
2549
|
-
/* @__PURE__ */ jsx(Text, { children: theme.muted(" Alt+Up restores
|
|
2549
|
+
/* @__PURE__ */ jsx(Text, { children: theme.muted(" Ctrl+X runs the newest queued message now \xB7 Alt+Up restores it to the prompt") })
|
|
2550
2550
|
] }) : snapshot.pendingMessageCount > 0 ? /* @__PURE__ */ jsx(Text, { children: theme.muted(`${snapshot.pendingMessageCount} queued message(s) waiting for the next turn`) }) : null
|
|
2551
2551
|
] });
|
|
2552
2552
|
}
|
package/dist/runtime.js
CHANGED
|
@@ -36,6 +36,40 @@ var MODEL_CARDS = [
|
|
|
36
36
|
cacheWritePerMTok: 18.75
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
|
+
{
|
|
40
|
+
id: "claude-opus-4-7",
|
|
41
|
+
provider: "anthropic",
|
|
42
|
+
api: "anthropic-messages",
|
|
43
|
+
displayName: "Claude Opus 4.7",
|
|
44
|
+
contextWindow: 1e6,
|
|
45
|
+
maxOutputTokens: 128e3,
|
|
46
|
+
modalities: ["text", "image"],
|
|
47
|
+
reasoning: true,
|
|
48
|
+
cost: {
|
|
49
|
+
// approximate — flagship tier
|
|
50
|
+
inputPerMTok: 5,
|
|
51
|
+
outputPerMTok: 25,
|
|
52
|
+
cacheReadPerMTok: 0.5,
|
|
53
|
+
cacheWritePerMTok: 6.25
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
id: "claude-opus-4-8",
|
|
58
|
+
provider: "anthropic",
|
|
59
|
+
api: "anthropic-messages",
|
|
60
|
+
displayName: "Claude Opus 4.8",
|
|
61
|
+
contextWindow: 1e6,
|
|
62
|
+
maxOutputTokens: 128e3,
|
|
63
|
+
modalities: ["text", "image"],
|
|
64
|
+
reasoning: true,
|
|
65
|
+
cost: {
|
|
66
|
+
// approximate — flagship tier
|
|
67
|
+
inputPerMTok: 5,
|
|
68
|
+
outputPerMTok: 25,
|
|
69
|
+
cacheReadPerMTok: 0.5,
|
|
70
|
+
cacheWritePerMTok: 6.25
|
|
71
|
+
}
|
|
72
|
+
},
|
|
39
73
|
{
|
|
40
74
|
id: "claude-sonnet-4",
|
|
41
75
|
provider: "anthropic",
|
package/dist/shell-app.js
CHANGED
|
@@ -275,6 +275,40 @@ var MODEL_CARDS = [
|
|
|
275
275
|
cacheWritePerMTok: 18.75
|
|
276
276
|
}
|
|
277
277
|
},
|
|
278
|
+
{
|
|
279
|
+
id: "claude-opus-4-7",
|
|
280
|
+
provider: "anthropic",
|
|
281
|
+
api: "anthropic-messages",
|
|
282
|
+
displayName: "Claude Opus 4.7",
|
|
283
|
+
contextWindow: 1e6,
|
|
284
|
+
maxOutputTokens: 128e3,
|
|
285
|
+
modalities: ["text", "image"],
|
|
286
|
+
reasoning: true,
|
|
287
|
+
cost: {
|
|
288
|
+
// approximate — flagship tier
|
|
289
|
+
inputPerMTok: 5,
|
|
290
|
+
outputPerMTok: 25,
|
|
291
|
+
cacheReadPerMTok: 0.5,
|
|
292
|
+
cacheWritePerMTok: 6.25
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
id: "claude-opus-4-8",
|
|
297
|
+
provider: "anthropic",
|
|
298
|
+
api: "anthropic-messages",
|
|
299
|
+
displayName: "Claude Opus 4.8",
|
|
300
|
+
contextWindow: 1e6,
|
|
301
|
+
maxOutputTokens: 128e3,
|
|
302
|
+
modalities: ["text", "image"],
|
|
303
|
+
reasoning: true,
|
|
304
|
+
cost: {
|
|
305
|
+
// approximate — flagship tier
|
|
306
|
+
inputPerMTok: 5,
|
|
307
|
+
outputPerMTok: 25,
|
|
308
|
+
cacheReadPerMTok: 0.5,
|
|
309
|
+
cacheWritePerMTok: 6.25
|
|
310
|
+
}
|
|
311
|
+
},
|
|
278
312
|
{
|
|
279
313
|
id: "claude-sonnet-4",
|
|
280
314
|
provider: "anthropic",
|
|
@@ -10933,7 +10967,7 @@ function TaskPanel({ expandToolOutputs = false, pendingMessages = [], snapshot,
|
|
|
10933
10967
|
theme.muted(` ${message.mode === "steer" ? "Steering" : "Follow-up"}: `),
|
|
10934
10968
|
message.text.length > 90 ? `${message.text.slice(0, 87)}...` : message.text
|
|
10935
10969
|
] }, message.id)),
|
|
10936
|
-
/* @__PURE__ */ jsx(Text, { children: theme.muted(" Alt+Up restores
|
|
10970
|
+
/* @__PURE__ */ jsx(Text, { children: theme.muted(" Ctrl+X runs the newest queued message now \xB7 Alt+Up restores it to the prompt") })
|
|
10937
10971
|
] }) : snapshot.pendingMessageCount > 0 ? /* @__PURE__ */ jsx(Text, { children: theme.muted(`${snapshot.pendingMessageCount} queued message(s) waiting for the next turn`) }) : null
|
|
10938
10972
|
] });
|
|
10939
10973
|
}
|
package/dist/smithy.js
CHANGED
|
@@ -3475,6 +3475,40 @@ var MODEL_CARDS = [
|
|
|
3475
3475
|
cacheWritePerMTok: 18.75
|
|
3476
3476
|
}
|
|
3477
3477
|
},
|
|
3478
|
+
{
|
|
3479
|
+
id: "claude-opus-4-7",
|
|
3480
|
+
provider: "anthropic",
|
|
3481
|
+
api: "anthropic-messages",
|
|
3482
|
+
displayName: "Claude Opus 4.7",
|
|
3483
|
+
contextWindow: 1e6,
|
|
3484
|
+
maxOutputTokens: 128e3,
|
|
3485
|
+
modalities: ["text", "image"],
|
|
3486
|
+
reasoning: true,
|
|
3487
|
+
cost: {
|
|
3488
|
+
// approximate — flagship tier
|
|
3489
|
+
inputPerMTok: 5,
|
|
3490
|
+
outputPerMTok: 25,
|
|
3491
|
+
cacheReadPerMTok: 0.5,
|
|
3492
|
+
cacheWritePerMTok: 6.25
|
|
3493
|
+
}
|
|
3494
|
+
},
|
|
3495
|
+
{
|
|
3496
|
+
id: "claude-opus-4-8",
|
|
3497
|
+
provider: "anthropic",
|
|
3498
|
+
api: "anthropic-messages",
|
|
3499
|
+
displayName: "Claude Opus 4.8",
|
|
3500
|
+
contextWindow: 1e6,
|
|
3501
|
+
maxOutputTokens: 128e3,
|
|
3502
|
+
modalities: ["text", "image"],
|
|
3503
|
+
reasoning: true,
|
|
3504
|
+
cost: {
|
|
3505
|
+
// approximate — flagship tier
|
|
3506
|
+
inputPerMTok: 5,
|
|
3507
|
+
outputPerMTok: 25,
|
|
3508
|
+
cacheReadPerMTok: 0.5,
|
|
3509
|
+
cacheWritePerMTok: 6.25
|
|
3510
|
+
}
|
|
3511
|
+
},
|
|
3478
3512
|
{
|
|
3479
3513
|
id: "claude-sonnet-4",
|
|
3480
3514
|
provider: "anthropic",
|
package/dist/swarm.js
CHANGED
|
@@ -39,6 +39,40 @@ var MODEL_CARDS = [
|
|
|
39
39
|
cacheWritePerMTok: 18.75
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
|
+
{
|
|
43
|
+
id: "claude-opus-4-7",
|
|
44
|
+
provider: "anthropic",
|
|
45
|
+
api: "anthropic-messages",
|
|
46
|
+
displayName: "Claude Opus 4.7",
|
|
47
|
+
contextWindow: 1e6,
|
|
48
|
+
maxOutputTokens: 128e3,
|
|
49
|
+
modalities: ["text", "image"],
|
|
50
|
+
reasoning: true,
|
|
51
|
+
cost: {
|
|
52
|
+
// approximate — flagship tier
|
|
53
|
+
inputPerMTok: 5,
|
|
54
|
+
outputPerMTok: 25,
|
|
55
|
+
cacheReadPerMTok: 0.5,
|
|
56
|
+
cacheWritePerMTok: 6.25
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
id: "claude-opus-4-8",
|
|
61
|
+
provider: "anthropic",
|
|
62
|
+
api: "anthropic-messages",
|
|
63
|
+
displayName: "Claude Opus 4.8",
|
|
64
|
+
contextWindow: 1e6,
|
|
65
|
+
maxOutputTokens: 128e3,
|
|
66
|
+
modalities: ["text", "image"],
|
|
67
|
+
reasoning: true,
|
|
68
|
+
cost: {
|
|
69
|
+
// approximate — flagship tier
|
|
70
|
+
inputPerMTok: 5,
|
|
71
|
+
outputPerMTok: 25,
|
|
72
|
+
cacheReadPerMTok: 0.5,
|
|
73
|
+
cacheWritePerMTok: 6.25
|
|
74
|
+
}
|
|
75
|
+
},
|
|
42
76
|
{
|
|
43
77
|
id: "claude-sonnet-4",
|
|
44
78
|
provider: "anthropic",
|
|
@@ -1279,6 +1279,40 @@ export declare const MODELS: {
|
|
|
1279
1279
|
contextWindow: number;
|
|
1280
1280
|
maxTokens: number;
|
|
1281
1281
|
};
|
|
1282
|
+
readonly "claude-opus-4-7": {
|
|
1283
|
+
id: string;
|
|
1284
|
+
name: string;
|
|
1285
|
+
api: "anthropic-messages";
|
|
1286
|
+
provider: string;
|
|
1287
|
+
baseUrl: string;
|
|
1288
|
+
reasoning: true;
|
|
1289
|
+
input: ("text" | "image")[];
|
|
1290
|
+
cost: {
|
|
1291
|
+
input: number;
|
|
1292
|
+
output: number;
|
|
1293
|
+
cacheRead: number;
|
|
1294
|
+
cacheWrite: number;
|
|
1295
|
+
};
|
|
1296
|
+
contextWindow: number;
|
|
1297
|
+
maxTokens: number;
|
|
1298
|
+
};
|
|
1299
|
+
readonly "claude-opus-4-8": {
|
|
1300
|
+
id: string;
|
|
1301
|
+
name: string;
|
|
1302
|
+
api: "anthropic-messages";
|
|
1303
|
+
provider: string;
|
|
1304
|
+
baseUrl: string;
|
|
1305
|
+
reasoning: true;
|
|
1306
|
+
input: ("text" | "image")[];
|
|
1307
|
+
cost: {
|
|
1308
|
+
input: number;
|
|
1309
|
+
output: number;
|
|
1310
|
+
cacheRead: number;
|
|
1311
|
+
cacheWrite: number;
|
|
1312
|
+
};
|
|
1313
|
+
contextWindow: number;
|
|
1314
|
+
maxTokens: number;
|
|
1315
|
+
};
|
|
1282
1316
|
readonly "claude-sonnet-4-0": {
|
|
1283
1317
|
id: string;
|
|
1284
1318
|
name: string;
|