indusagi 0.13.2 → 0.13.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/CHANGELOG.md +6 -0
- package/dist/agent.js +73 -3
- package/dist/ai.js +73 -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 +76 -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)",
|
|
@@ -11984,6 +12018,42 @@ var MODELS = {
|
|
|
11984
12018
|
},
|
|
11985
12019
|
contextWindow: 2e5,
|
|
11986
12020
|
maxTokens: 32768
|
|
12021
|
+
},
|
|
12022
|
+
"glm-5.1": {
|
|
12023
|
+
id: "glm-5.1",
|
|
12024
|
+
name: "GLM-5.1",
|
|
12025
|
+
api: "openai-completions",
|
|
12026
|
+
provider: "zai",
|
|
12027
|
+
baseUrl: "https://api.z.ai/api/coding/paas/v4",
|
|
12028
|
+
compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
|
|
12029
|
+
reasoning: true,
|
|
12030
|
+
input: ["text"],
|
|
12031
|
+
cost: {
|
|
12032
|
+
input: 1.4,
|
|
12033
|
+
output: 4.4,
|
|
12034
|
+
cacheRead: 0.26,
|
|
12035
|
+
cacheWrite: 0
|
|
12036
|
+
},
|
|
12037
|
+
contextWindow: 1e6,
|
|
12038
|
+
maxTokens: 131072
|
|
12039
|
+
},
|
|
12040
|
+
"glm-5.2": {
|
|
12041
|
+
id: "glm-5.2",
|
|
12042
|
+
name: "GLM-5.2",
|
|
12043
|
+
api: "openai-completions",
|
|
12044
|
+
provider: "zai",
|
|
12045
|
+
baseUrl: "https://api.z.ai/api/coding/paas/v4",
|
|
12046
|
+
compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
|
|
12047
|
+
reasoning: true,
|
|
12048
|
+
input: ["text"],
|
|
12049
|
+
cost: {
|
|
12050
|
+
input: 1.4,
|
|
12051
|
+
output: 4.4,
|
|
12052
|
+
cacheRead: 0.26,
|
|
12053
|
+
cacheWrite: 0
|
|
12054
|
+
},
|
|
12055
|
+
contextWindow: 1e6,
|
|
12056
|
+
maxTokens: 131072
|
|
11987
12057
|
}
|
|
11988
12058
|
},
|
|
11989
12059
|
// Sarvam AI — OpenAI-compatible chat completions API
|
|
@@ -12005,7 +12075,7 @@ var MODELS = {
|
|
|
12005
12075
|
cacheWrite: 0
|
|
12006
12076
|
},
|
|
12007
12077
|
contextWindow: 64e3,
|
|
12008
|
-
maxTokens:
|
|
12078
|
+
maxTokens: 4096
|
|
12009
12079
|
},
|
|
12010
12080
|
"sarvam-105b": {
|
|
12011
12081
|
id: "sarvam-105b",
|
|
@@ -12022,7 +12092,7 @@ var MODELS = {
|
|
|
12022
12092
|
cacheWrite: 0
|
|
12023
12093
|
},
|
|
12024
12094
|
contextWindow: 128e3,
|
|
12025
|
-
maxTokens:
|
|
12095
|
+
maxTokens: 4096
|
|
12026
12096
|
},
|
|
12027
12097
|
"sarvam-m": {
|
|
12028
12098
|
id: "sarvam-m",
|
|
@@ -12039,7 +12109,7 @@ var MODELS = {
|
|
|
12039
12109
|
cacheWrite: 0
|
|
12040
12110
|
},
|
|
12041
12111
|
contextWindow: 32e3,
|
|
12042
|
-
maxTokens:
|
|
12112
|
+
maxTokens: 4096
|
|
12043
12113
|
}
|
|
12044
12114
|
},
|
|
12045
12115
|
// 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)",
|
|
@@ -12108,6 +12142,42 @@ var MODELS = {
|
|
|
12108
12142
|
},
|
|
12109
12143
|
contextWindow: 2e5,
|
|
12110
12144
|
maxTokens: 32768
|
|
12145
|
+
},
|
|
12146
|
+
"glm-5.1": {
|
|
12147
|
+
id: "glm-5.1",
|
|
12148
|
+
name: "GLM-5.1",
|
|
12149
|
+
api: "openai-completions",
|
|
12150
|
+
provider: "zai",
|
|
12151
|
+
baseUrl: "https://api.z.ai/api/coding/paas/v4",
|
|
12152
|
+
compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
|
|
12153
|
+
reasoning: true,
|
|
12154
|
+
input: ["text"],
|
|
12155
|
+
cost: {
|
|
12156
|
+
input: 1.4,
|
|
12157
|
+
output: 4.4,
|
|
12158
|
+
cacheRead: 0.26,
|
|
12159
|
+
cacheWrite: 0
|
|
12160
|
+
},
|
|
12161
|
+
contextWindow: 1e6,
|
|
12162
|
+
maxTokens: 131072
|
|
12163
|
+
},
|
|
12164
|
+
"glm-5.2": {
|
|
12165
|
+
id: "glm-5.2",
|
|
12166
|
+
name: "GLM-5.2",
|
|
12167
|
+
api: "openai-completions",
|
|
12168
|
+
provider: "zai",
|
|
12169
|
+
baseUrl: "https://api.z.ai/api/coding/paas/v4",
|
|
12170
|
+
compat: { "supportsDeveloperRole": false, "thinkingFormat": "zai" },
|
|
12171
|
+
reasoning: true,
|
|
12172
|
+
input: ["text"],
|
|
12173
|
+
cost: {
|
|
12174
|
+
input: 1.4,
|
|
12175
|
+
output: 4.4,
|
|
12176
|
+
cacheRead: 0.26,
|
|
12177
|
+
cacheWrite: 0
|
|
12178
|
+
},
|
|
12179
|
+
contextWindow: 1e6,
|
|
12180
|
+
maxTokens: 131072
|
|
12111
12181
|
}
|
|
12112
12182
|
},
|
|
12113
12183
|
// Sarvam AI — OpenAI-compatible chat completions API
|
|
@@ -12129,7 +12199,7 @@ var MODELS = {
|
|
|
12129
12199
|
cacheWrite: 0
|
|
12130
12200
|
},
|
|
12131
12201
|
contextWindow: 64e3,
|
|
12132
|
-
maxTokens:
|
|
12202
|
+
maxTokens: 4096
|
|
12133
12203
|
},
|
|
12134
12204
|
"sarvam-105b": {
|
|
12135
12205
|
id: "sarvam-105b",
|
|
@@ -12146,7 +12216,7 @@ var MODELS = {
|
|
|
12146
12216
|
cacheWrite: 0
|
|
12147
12217
|
},
|
|
12148
12218
|
contextWindow: 128e3,
|
|
12149
|
-
maxTokens:
|
|
12219
|
+
maxTokens: 4096
|
|
12150
12220
|
},
|
|
12151
12221
|
"sarvam-m": {
|
|
12152
12222
|
id: "sarvam-m",
|
|
@@ -12163,7 +12233,7 @@ var MODELS = {
|
|
|
12163
12233
|
cacheWrite: 0
|
|
12164
12234
|
},
|
|
12165
12235
|
contextWindow: 32e3,
|
|
12166
|
-
maxTokens:
|
|
12236
|
+
maxTokens: 4096
|
|
12167
12237
|
}
|
|
12168
12238
|
},
|
|
12169
12239
|
// 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;
|
|
@@ -11957,6 +11991,48 @@ export declare const MODELS: {
|
|
|
11957
11991
|
contextWindow: number;
|
|
11958
11992
|
maxTokens: number;
|
|
11959
11993
|
};
|
|
11994
|
+
readonly "glm-5.1": {
|
|
11995
|
+
id: string;
|
|
11996
|
+
name: string;
|
|
11997
|
+
api: "openai-completions";
|
|
11998
|
+
provider: string;
|
|
11999
|
+
baseUrl: string;
|
|
12000
|
+
compat: {
|
|
12001
|
+
supportsDeveloperRole: false;
|
|
12002
|
+
thinkingFormat: "zai";
|
|
12003
|
+
};
|
|
12004
|
+
reasoning: true;
|
|
12005
|
+
input: "text"[];
|
|
12006
|
+
cost: {
|
|
12007
|
+
input: number;
|
|
12008
|
+
output: number;
|
|
12009
|
+
cacheRead: number;
|
|
12010
|
+
cacheWrite: number;
|
|
12011
|
+
};
|
|
12012
|
+
contextWindow: number;
|
|
12013
|
+
maxTokens: number;
|
|
12014
|
+
};
|
|
12015
|
+
readonly "glm-5.2": {
|
|
12016
|
+
id: string;
|
|
12017
|
+
name: string;
|
|
12018
|
+
api: "openai-completions";
|
|
12019
|
+
provider: string;
|
|
12020
|
+
baseUrl: string;
|
|
12021
|
+
compat: {
|
|
12022
|
+
supportsDeveloperRole: false;
|
|
12023
|
+
thinkingFormat: "zai";
|
|
12024
|
+
};
|
|
12025
|
+
reasoning: true;
|
|
12026
|
+
input: "text"[];
|
|
12027
|
+
cost: {
|
|
12028
|
+
input: number;
|
|
12029
|
+
output: number;
|
|
12030
|
+
cacheRead: number;
|
|
12031
|
+
cacheWrite: number;
|
|
12032
|
+
};
|
|
12033
|
+
contextWindow: number;
|
|
12034
|
+
maxTokens: number;
|
|
12035
|
+
};
|
|
11960
12036
|
};
|
|
11961
12037
|
readonly sarvam: {
|
|
11962
12038
|
readonly "sarvam-30b": {
|