@vincemakes/kiso-runtime 0.52.0 → 0.54.0
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/environment.d.ts +34 -0
- package/dist/environment.js +159 -0
- package/dist/fork.d.ts +27 -0
- package/dist/fork.js +86 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +2 -0
- package/dist/internal.d.ts +2 -1
- package/dist/internal.js +2 -1
- package/dist/profile.d.ts +19 -0
- package/dist/profile.js +14 -0
- package/dist/provider/metadata.d.ts +5 -0
- package/dist/provider/metadata.js +36 -2
- package/dist/provider/model-snapshot.d.ts +11 -0
- package/dist/provider/model-snapshot.js +361 -0
- package/dist/session.d.ts +33 -0
- package/dist/session.js +153 -3
- package/dist/store.d.ts +11 -0
- package/dist/store.js +101 -5
- package/package.json +6 -6
|
@@ -0,0 +1,361 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* GENERATED by scripts/model-snapshot.mjs from https://kiso.work/models/all.json (as of 2026-11-11).
|
|
3
|
+
* Do not edit by hand: a release runs the script and commits the diff.
|
|
4
|
+
*/
|
|
5
|
+
export const MODEL_SNAPSHOT_AS_OF = "2026-11-11";
|
|
6
|
+
export const MODEL_SNAPSHOT_SOURCE = "https://kiso.work/models/all.json";
|
|
7
|
+
/** Keyed by the model's name with its vendor prefix off, in lower case. */
|
|
8
|
+
export const MODEL_SNAPSHOT = {
|
|
9
|
+
"aion-2.0": { "input": ["text"], "window": 131072 },
|
|
10
|
+
"aion-3.0": { "input": ["text"], "window": 131072 },
|
|
11
|
+
"aion-3.0-mini": { "input": ["text"], "window": 131072 },
|
|
12
|
+
"aion-3.5": { "input": ["text"], "window": 262144 },
|
|
13
|
+
"aion-3.5-mini": { "input": ["text"], "window": 262144 },
|
|
14
|
+
"aion-rp-llama-3.1-8b": { "input": ["text"], "window": 32768 },
|
|
15
|
+
"auto": { "input": ["text", "image", "audio", "file", "video"], "window": 2000000 },
|
|
16
|
+
"auto-beta": { "input": ["text", "image", "audio", "file", "video"], "window": 2000000 },
|
|
17
|
+
"auto-code": { "input": ["text", "image", "audio", "file", "video"], "window": 2000000 },
|
|
18
|
+
"beam-1.0-501b-a23b": { "input": ["text"], "window": 1048576 },
|
|
19
|
+
"bodybuilder": { "input": ["text"], "window": 128000 },
|
|
20
|
+
"claude-fable-5": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
21
|
+
"claude-fable-5.1": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
22
|
+
"claude-fable-5.2": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
23
|
+
"claude-haiku-4.5": { "input": ["text", "image", "file"], "window": 200000 },
|
|
24
|
+
"claude-haiku-5.5": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
25
|
+
"claude-opus-4.1": { "input": ["image", "text", "file"], "window": 200000 },
|
|
26
|
+
"claude-opus-4.5": { "input": ["file", "image", "text"], "window": 200000 },
|
|
27
|
+
"claude-opus-4.6": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
28
|
+
"claude-opus-4.7": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
29
|
+
"claude-opus-4.8": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
30
|
+
"claude-opus-5": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
31
|
+
"claude-opus-5.5": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
32
|
+
"claude-sonnet-4.5": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
33
|
+
"claude-sonnet-4.6": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
34
|
+
"claude-sonnet-5": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
35
|
+
"claude-sonnet-5.5": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
36
|
+
"codestral-2508": { "input": ["text", "file"], "window": 256000 },
|
|
37
|
+
"command-a": { "input": ["text"], "window": 256000 },
|
|
38
|
+
"command-a-plus": { "input": ["text", "image"], "window": 192000 },
|
|
39
|
+
"command-r-08-2024": { "input": ["text"], "window": 128000 },
|
|
40
|
+
"command-r-plus-08-2024": { "input": ["text"], "window": 128000 },
|
|
41
|
+
"command-r7b-12-2024": { "input": ["text"], "window": 128000 },
|
|
42
|
+
"cydonia-24b-v4.1": { "input": ["text"], "window": 131072 },
|
|
43
|
+
"deepseek-chat": { "input": ["text"], "window": 163840 },
|
|
44
|
+
"deepseek-chat-v3-0324": { "input": ["text"], "window": 163840 },
|
|
45
|
+
"deepseek-chat-v3.1": { "input": ["text"], "window": 163840 },
|
|
46
|
+
"deepseek-r1-0528": { "input": ["text"], "window": 163840 },
|
|
47
|
+
"deepseek-v3.1-terminus": { "input": ["text"], "window": 163840 },
|
|
48
|
+
"deepseek-v3.2": { "input": ["text"], "window": 163840 },
|
|
49
|
+
"deepseek-v3.2-exp": { "input": ["text"], "window": 163840 },
|
|
50
|
+
"deepseek-v4-flash": { "input": ["text"], "window": 1048576 },
|
|
51
|
+
"deepseek-v4-flash-0731": { "input": ["text"], "window": 1048576 },
|
|
52
|
+
"deepseek-v4-flash-vision-exp": { "input": ["text", "image"], "window": 1048576 },
|
|
53
|
+
"deepseek-v4-pro": { "input": ["text"], "window": 1048576 },
|
|
54
|
+
"deepseek-v4-pro-0813": { "input": ["text"], "window": 1048576 },
|
|
55
|
+
"deepseek-v4.1-flash": { "input": ["text", "image"], "window": 1048576 },
|
|
56
|
+
"deepseek-v4.1-flash-1017": { "input": ["text", "image"], "window": 1048576 },
|
|
57
|
+
"devstral-2512": { "input": ["text", "file"], "window": 262144 },
|
|
58
|
+
"dolphin-mistral-24b-venice-edition": { "input": ["text"], "window": 128000 },
|
|
59
|
+
"ember-1": { "input": ["text", "image"], "window": 1048576 },
|
|
60
|
+
"ernie-light-dt-1.0-intl": { "input": ["text"], "window": 1024000 },
|
|
61
|
+
"extract": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
62
|
+
"free": { "input": ["text", "image"], "window": 200000 },
|
|
63
|
+
"fugu-max": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
64
|
+
"fugu-ultra": { "input": ["text", "image"], "window": 1000000 },
|
|
65
|
+
"fugu-ultra-v2": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
66
|
+
"fusion": { "input": ["text"], "window": 1000000 },
|
|
67
|
+
"gemini-2.5-flash": { "input": ["file", "image", "text", "audio", "video"], "window": 1048576 },
|
|
68
|
+
"gemini-2.5-flash-image": { "input": ["image", "text"], "window": 32768 },
|
|
69
|
+
"gemini-2.5-flash-lite": { "input": ["text", "image", "file", "audio", "video"], "window": 1048576 },
|
|
70
|
+
"gemini-2.5-pro": { "input": ["text", "image", "file", "audio", "video"], "window": 1048576 },
|
|
71
|
+
"gemini-2.5-pro-preview": { "input": ["file", "image", "text", "audio"], "window": 1048576 },
|
|
72
|
+
"gemini-3-flash-preview": { "input": ["text", "image", "file", "audio", "video"], "window": 1048576 },
|
|
73
|
+
"gemini-3-pro-image": { "input": ["image", "text"], "window": 131072 },
|
|
74
|
+
"gemini-3-pro-image-preview": { "input": ["image", "text"], "window": 65536 },
|
|
75
|
+
"gemini-3.1-flash-image": { "input": ["image", "text"], "window": 131072 },
|
|
76
|
+
"gemini-3.1-flash-image-preview": { "input": ["image", "text"], "window": 65536 },
|
|
77
|
+
"gemini-3.1-flash-lite": { "input": ["text", "image", "video", "file", "audio"], "window": 1048576 },
|
|
78
|
+
"gemini-3.1-flash-lite-image": { "input": ["image", "text"], "window": 65536 },
|
|
79
|
+
"gemini-3.1-flash-lite-preview": { "input": ["text", "image", "video", "file", "audio"], "window": 1048576 },
|
|
80
|
+
"gemini-3.1-pro-preview": { "input": ["audio", "file", "image", "text", "video"], "window": 1048576 },
|
|
81
|
+
"gemini-3.1-pro-preview-customtools": { "input": ["text", "audio", "image", "video", "file"], "window": 1048576 },
|
|
82
|
+
"gemini-3.5-flash": { "input": ["text", "image", "video", "file", "audio"], "window": 1048576 },
|
|
83
|
+
"gemini-3.5-flash-lite": { "input": ["text", "image", "video", "file", "audio"], "window": 1048576 },
|
|
84
|
+
"gemini-3.6-flash": { "input": ["text", "image", "video", "file", "audio"], "window": 1048576 },
|
|
85
|
+
"gemini-3.7-flash": { "input": ["text", "image", "video", "file", "audio"], "window": 1048576 },
|
|
86
|
+
"gemini-3.8-flash": { "input": ["text", "image", "video", "file", "audio"], "window": 1048576 },
|
|
87
|
+
"gemini-4-argon": { "input": ["audio", "file", "image", "text", "video"], "window": 1048576 },
|
|
88
|
+
"gemini-4-carbon": { "input": ["audio", "file", "image", "text", "video"], "window": 1048576 },
|
|
89
|
+
"gemini-nano-banana-2.1": { "input": ["image", "text"], "window": 65536 },
|
|
90
|
+
"gemini-omni-1.1-flash": { "input": ["text", "image", "video"], "window": 131072 },
|
|
91
|
+
"gemini-omni-1.2-flash": { "input": ["text", "image", "video"], "window": 131072 },
|
|
92
|
+
"gemma-2-27b-it": { "input": ["text"], "window": 8192 },
|
|
93
|
+
"gemma-3-12b-it": { "input": ["text", "image"], "window": 131072 },
|
|
94
|
+
"gemma-3-27b-it": { "input": ["text", "image"], "window": 131072 },
|
|
95
|
+
"gemma-3-4b-it": { "input": ["text", "image"], "window": 131072 },
|
|
96
|
+
"gemma-4-26b-a4b-it": { "input": ["image", "text", "video"], "window": 262144 },
|
|
97
|
+
"gemma-4-31b-it": { "input": ["image", "text", "video"], "window": 262144 },
|
|
98
|
+
"glimpse": { "input": ["text", "image", "video"], "window": 262144 },
|
|
99
|
+
"glm-4.5": { "input": ["text"], "window": 131072 },
|
|
100
|
+
"glm-4.5-air": { "input": ["text"], "window": 131072 },
|
|
101
|
+
"glm-4.5v": { "input": ["text", "image"], "window": 65536 },
|
|
102
|
+
"glm-4.6": { "input": ["text"], "window": 204800 },
|
|
103
|
+
"glm-4.6v": { "input": ["image", "text", "video"], "window": 131072 },
|
|
104
|
+
"glm-4.7": { "input": ["text"], "window": 204800 },
|
|
105
|
+
"glm-4.7-flash": { "input": ["text"], "window": 200000 },
|
|
106
|
+
"glm-5": { "input": ["text"], "window": 204800 },
|
|
107
|
+
"glm-5-turbo": { "input": ["text"], "window": 202752 },
|
|
108
|
+
"glm-5.1": { "input": ["text"], "window": 204800 },
|
|
109
|
+
"glm-5.2": { "input": ["text"], "window": 1048576 },
|
|
110
|
+
"glm-5.3": { "input": ["text"], "window": 1048576 },
|
|
111
|
+
"glm-5.3-flash": { "input": ["text", "image", "video"], "window": 1048576 },
|
|
112
|
+
"glm-5.3-flashx": { "input": ["text", "image", "video"], "window": 1048576 },
|
|
113
|
+
"glm-5.3-flashx-legal": { "input": ["text", "image", "video"], "window": 1048576 },
|
|
114
|
+
"glm-5.3-prime": { "input": ["text"], "window": 1000000 },
|
|
115
|
+
"glm-5v-turbo": { "input": ["image", "text", "video"], "window": 202752 },
|
|
116
|
+
"gpt-3.5-turbo-0613": { "input": ["text"], "window": 4095 },
|
|
117
|
+
"gpt-3.5-turbo-16k": { "input": ["text"], "window": 16385 },
|
|
118
|
+
"gpt-4": { "input": ["text"], "window": 8191 },
|
|
119
|
+
"gpt-4.1": { "input": ["image", "text", "file"], "window": 1047576 },
|
|
120
|
+
"gpt-4.1-mini": { "input": ["image", "text", "file"], "window": 1047576 },
|
|
121
|
+
"gpt-4.1-nano": { "input": ["image", "text", "file"], "window": 1047576 },
|
|
122
|
+
"gpt-4o": { "input": ["text", "image", "file"], "window": 128000 },
|
|
123
|
+
"gpt-4o-2024-05-13": { "input": ["text", "image", "file"], "window": 128000 },
|
|
124
|
+
"gpt-4o-2024-08-06": { "input": ["text", "image", "file"], "window": 128000 },
|
|
125
|
+
"gpt-4o-2024-11-20": { "input": ["text", "image", "file"], "window": 128000 },
|
|
126
|
+
"gpt-4o-mini": { "input": ["text", "image", "file"], "window": 128000 },
|
|
127
|
+
"gpt-4o-mini-2024-07-18": { "input": ["text", "image", "file"], "window": 128000 },
|
|
128
|
+
"gpt-5": { "input": ["text", "image", "file"], "window": 400000 },
|
|
129
|
+
"gpt-5-image": { "input": ["image", "text", "file"], "window": 400000 },
|
|
130
|
+
"gpt-5-image-mini": { "input": ["file", "image", "text"], "window": 400000 },
|
|
131
|
+
"gpt-5-mini": { "input": ["text", "image", "file"], "window": 400000 },
|
|
132
|
+
"gpt-5-nano": { "input": ["text", "image", "file"], "window": 400000 },
|
|
133
|
+
"gpt-5-pro": { "input": ["image", "text", "file"], "window": 400000 },
|
|
134
|
+
"gpt-5.1": { "input": ["image", "text", "file"], "window": 400000 },
|
|
135
|
+
"gpt-5.1-codex": { "input": ["text", "image"], "window": 400000 },
|
|
136
|
+
"gpt-5.1-codex-max": { "input": ["text", "image"], "window": 400000 },
|
|
137
|
+
"gpt-5.1-codex-mini": { "input": ["image", "text"], "window": 400000 },
|
|
138
|
+
"gpt-5.2": { "input": ["file", "image", "text"], "window": 400000 },
|
|
139
|
+
"gpt-5.2-chat": { "input": ["file", "image", "text"], "window": 128000 },
|
|
140
|
+
"gpt-5.2-codex": { "input": ["text", "image"], "window": 400000 },
|
|
141
|
+
"gpt-5.2-pro": { "input": ["image", "text", "file"], "window": 400000 },
|
|
142
|
+
"gpt-5.3-codex": { "input": ["text", "image", "file"], "window": 400000 },
|
|
143
|
+
"gpt-5.4": { "input": ["text", "image", "file"], "window": 1050000 },
|
|
144
|
+
"gpt-5.4-image-2": { "input": ["image", "text", "file"], "window": 272000 },
|
|
145
|
+
"gpt-5.4-mini": { "input": ["file", "image", "text"], "window": 400000 },
|
|
146
|
+
"gpt-5.4-nano": { "input": ["file", "image", "text"], "window": 400000 },
|
|
147
|
+
"gpt-5.4-pro": { "input": ["text", "image", "file"], "window": 1050000 },
|
|
148
|
+
"gpt-5.5": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
149
|
+
"gpt-5.5-pro": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
150
|
+
"gpt-5.6-luna": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
151
|
+
"gpt-5.6-luna-pro": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
152
|
+
"gpt-5.6-sol": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
153
|
+
"gpt-5.6-sol-pro": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
154
|
+
"gpt-5.6-terra": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
155
|
+
"gpt-5.6-terra-pro": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
156
|
+
"gpt-6-astra": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
157
|
+
"gpt-6-astra-pro": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
158
|
+
"gpt-6-luna": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
159
|
+
"gpt-6-luna-pro": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
160
|
+
"gpt-6-sol": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
161
|
+
"gpt-6-sol-pro": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
162
|
+
"gpt-6.1-sol": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
163
|
+
"gpt-6.1-sol-pro": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
164
|
+
"gpt-6.1-terra": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
165
|
+
"gpt-6.1-terra-pro": { "input": ["file", "image", "text"], "window": 1050000 },
|
|
166
|
+
"gpt-audio": { "input": ["text", "audio"], "window": 128000 },
|
|
167
|
+
"gpt-audio-mini": { "input": ["text", "audio"], "window": 128000 },
|
|
168
|
+
"gpt-chat-latest": { "input": ["text", "image", "file"], "window": 400000 },
|
|
169
|
+
"gpt-oss-120b": { "input": ["text"], "window": 131072 },
|
|
170
|
+
"gpt-oss-20b": { "input": ["text"], "window": 131072 },
|
|
171
|
+
"gpt-oss-safeguard-20b": { "input": ["text"], "window": 131072 },
|
|
172
|
+
"granite-4.2-8b": { "input": ["text"], "window": 131072 },
|
|
173
|
+
"grok-4.20": { "input": ["text", "image", "file"], "window": 2000000 },
|
|
174
|
+
"grok-4.20-multi-agent": { "input": ["text", "image", "file"], "window": 2000000 },
|
|
175
|
+
"grok-4.3": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
176
|
+
"grok-4.5": { "input": ["text", "image", "file"], "window": 500000 },
|
|
177
|
+
"grok-4.6": { "input": ["text", "image", "file"], "window": 500000 },
|
|
178
|
+
"grok-4.7": { "input": ["text", "image", "file"], "window": 500000 },
|
|
179
|
+
"grok-build-0.1": { "input": ["text", "image", "file"], "window": 256000 },
|
|
180
|
+
"hermes-4-405b": { "input": ["text"], "window": 131072 },
|
|
181
|
+
"hunyuan-a13b-instruct": { "input": ["text"], "window": 131072 },
|
|
182
|
+
"hy-mt2-1.8b": { "input": ["text"], "window": 8192 },
|
|
183
|
+
"hy-mt2-30b-a3b": { "input": ["text"], "window": 8192 },
|
|
184
|
+
"hy-mt2-7b": { "input": ["text"], "window": 8192 },
|
|
185
|
+
"hy3": { "input": ["text"], "window": 262144 },
|
|
186
|
+
"hy3-preview": { "input": ["text"], "window": 262144 },
|
|
187
|
+
"hy4": { "input": ["text", "image"], "window": 1048576 },
|
|
188
|
+
"hy4-preview": { "input": ["text"], "window": 1048576 },
|
|
189
|
+
"inkling": { "input": ["text", "image", "audio"], "window": 524288 },
|
|
190
|
+
"inkling-small": { "input": ["text", "image", "audio"], "window": 524288 },
|
|
191
|
+
"jev-router": { "input": ["audio", "file", "image", "text", "video"], "window": 1000000 },
|
|
192
|
+
"kimi-k2": { "input": ["text"], "window": 131072 },
|
|
193
|
+
"kimi-k2-0905": { "input": ["text"], "window": 262144 },
|
|
194
|
+
"kimi-k2-thinking": { "input": ["text"], "window": 262144 },
|
|
195
|
+
"kimi-k2.5": { "input": ["text", "image"], "window": 262144 },
|
|
196
|
+
"kimi-k2.6": { "input": ["text", "image"], "window": 262144 },
|
|
197
|
+
"kimi-k2.7-code": { "input": ["text", "image"], "window": 262144 },
|
|
198
|
+
"kimi-k3": { "input": ["text", "image", "video"], "window": 1048576 },
|
|
199
|
+
"kimi-k3.1-pro": { "input": ["text", "image", "video"], "window": 1048576 },
|
|
200
|
+
"l3-lunaris-8b": { "input": ["text"], "window": 8192 },
|
|
201
|
+
"l3.1-euryale-70b": { "input": ["text"], "window": 131072 },
|
|
202
|
+
"lfm-2.5-2.6b": { "input": ["text"], "window": 128000 },
|
|
203
|
+
"lfm-2.5-24b-a2b": { "input": ["text"], "window": 128000 },
|
|
204
|
+
"lfm-3-1.7b": { "input": ["text"], "window": 262144 },
|
|
205
|
+
"ling-3.0-flash": { "input": ["text"], "window": 262144 },
|
|
206
|
+
"ling-3.0-flash-vl": { "input": ["text", "image", "video"], "window": 131072 },
|
|
207
|
+
"ling-3.0-tiny": { "input": ["text"], "window": 262144 },
|
|
208
|
+
"ling-3.1-flash": { "input": ["text"], "window": 1000000 },
|
|
209
|
+
"llama-3.1-70b-instruct": { "input": ["text"], "window": 131072 },
|
|
210
|
+
"llama-3.1-8b-instruct": { "input": ["text"], "window": 131072 },
|
|
211
|
+
"llama-3.2-1b-instruct": { "input": ["text"], "window": 60000 },
|
|
212
|
+
"llama-3.2-3b-instruct": { "input": ["text"], "window": 131072 },
|
|
213
|
+
"llama-3.3-70b-instruct": { "input": ["text"], "window": 131072 },
|
|
214
|
+
"llama-4-maverick": { "input": ["text", "image"], "window": 524288 },
|
|
215
|
+
"llama-4-scout": { "input": ["text", "image"], "window": 1310720 },
|
|
216
|
+
"llama-guard-4-12b": { "input": ["image", "text"], "window": 163840 },
|
|
217
|
+
"longcat-2.0": { "input": ["text"], "window": 1048756 },
|
|
218
|
+
"lyria-3-clip-preview": { "input": ["text", "image"], "window": 1048576 },
|
|
219
|
+
"lyria-3-pro-preview": { "input": ["text", "image"], "window": 1048576 },
|
|
220
|
+
"magnum-v4-72b": { "input": ["text"], "window": 32768 },
|
|
221
|
+
"midm-k-3.0-pro": { "input": ["text"], "window": 261795 },
|
|
222
|
+
"mimo-v2.5": { "input": ["text", "audio", "image", "video"], "window": 1000000 },
|
|
223
|
+
"mimo-v2.5-pro": { "input": ["text"], "window": 1024000 },
|
|
224
|
+
"mimo-v2.6-flash": { "input": ["text", "image", "video", "audio"], "window": 1050000 },
|
|
225
|
+
"mimo-v2.6-pro": { "input": ["text", "image", "video", "audio"], "window": 1050000 },
|
|
226
|
+
"mimo-v2.6-pro-ultraspeed": { "input": ["text", "image", "video", "audio"], "window": 1048576 },
|
|
227
|
+
"minimax-m2.5": { "input": ["text"], "window": 200000 },
|
|
228
|
+
"minimax-m2.7": { "input": ["text"], "window": 196608 },
|
|
229
|
+
"minimax-m3": { "input": ["text", "image", "video"], "window": 1048576 },
|
|
230
|
+
"minimax-m3.1-flash": { "input": ["text", "image", "video"], "window": 1048576 },
|
|
231
|
+
"ministral-14b-2512": { "input": ["text", "image"], "window": 262144 },
|
|
232
|
+
"ministral-3b-2512": { "input": ["text", "image"], "window": 131072 },
|
|
233
|
+
"ministral-8b-2512": { "input": ["text", "image"], "window": 262144 },
|
|
234
|
+
"mistral-large": { "input": ["text", "file"], "window": 128000 },
|
|
235
|
+
"mistral-large-2407": { "input": ["text", "file"], "window": 131072 },
|
|
236
|
+
"mistral-large-2512": { "input": ["text", "image", "file"], "window": 262144 },
|
|
237
|
+
"mistral-large-4-0": { "input": ["text", "image"], "window": 1048576 },
|
|
238
|
+
"mistral-medium-3": { "input": ["text", "image", "file"], "window": 131072 },
|
|
239
|
+
"mistral-medium-3-5": { "input": ["text", "image", "file"], "window": 262144 },
|
|
240
|
+
"mistral-medium-3.1": { "input": ["text", "image", "file"], "window": 131072 },
|
|
241
|
+
"mistral-nemo": { "input": ["text"], "window": 131072 },
|
|
242
|
+
"mistral-saba": { "input": ["text", "file"], "window": 32768 },
|
|
243
|
+
"mistral-small-24b-instruct-2501": { "input": ["text"], "window": 32768 },
|
|
244
|
+
"mistral-small-2603": { "input": ["text", "image"], "window": 262144 },
|
|
245
|
+
"mistral-small-3.1-24b-instruct": { "input": ["text", "image"], "window": 128000 },
|
|
246
|
+
"mistral-small-3.2-24b-instruct": { "input": ["image", "text"], "window": 256000 },
|
|
247
|
+
"mixtral-8x22b-instruct": { "input": ["text", "file"], "window": 65536 },
|
|
248
|
+
"moondream3-preview": { "input": ["text", "image"], "window": 32000 },
|
|
249
|
+
"moondream3.1-9b-a2b": { "input": ["text", "image"], "window": 32000 },
|
|
250
|
+
"morph-v3-fast": { "input": ["text"], "window": 262144 },
|
|
251
|
+
"morph-v3-large": { "input": ["text"], "window": 262144 },
|
|
252
|
+
"motif-3": { "input": ["text"], "window": 262144 },
|
|
253
|
+
"muse-ember": { "input": ["text", "image", "video", "file", "audio"], "window": 1048576 },
|
|
254
|
+
"muse-glimmer-30b": { "input": ["text", "image"], "window": 131072 },
|
|
255
|
+
"muse-spark-1.1": { "input": ["text", "image", "video", "file"], "window": 1048576 },
|
|
256
|
+
"muse-spark-1.2": { "input": ["text", "image", "video", "file"], "window": 1048576 },
|
|
257
|
+
"muse-spark-1.2-contributor": { "input": ["text", "image", "video", "file"], "window": 1048576 },
|
|
258
|
+
"muse-spark-1.3": { "input": ["text", "image", "video", "file"], "window": 1048576 },
|
|
259
|
+
"muse-spark-1.3-contributor": { "input": ["text", "image", "video", "file"], "window": 1048576 },
|
|
260
|
+
"muse-spark-open": { "input": ["text", "image", "video", "file", "audio"], "window": 1048576 },
|
|
261
|
+
"muse-wonder": { "input": ["text", "image", "video", "file", "audio"], "window": 1048576 },
|
|
262
|
+
"mythomax-l2-13b": { "input": ["text"], "window": 8192 },
|
|
263
|
+
"nemotron-3-nano-30b-a3b": { "input": ["text"], "window": 262144 },
|
|
264
|
+
"nemotron-3-super-120b-a12b": { "input": ["text"], "window": 262144 },
|
|
265
|
+
"nemotron-3-ultra-550b-a55b": { "input": ["text"], "window": 262144 },
|
|
266
|
+
"nemotron-3.5-content-safety": { "input": ["text", "image"], "window": 131072 },
|
|
267
|
+
"nemotron-3.5-lightning": { "input": ["text"], "window": 262144 },
|
|
268
|
+
"nemotron-3.5-super-vl": { "input": ["text", "image", "video"], "window": 1048576 },
|
|
269
|
+
"nex-n2.5-mini": { "input": ["text", "image"], "window": 262144 },
|
|
270
|
+
"nex-n2.5-pro": { "input": ["text", "image"], "window": 262144 },
|
|
271
|
+
"nex-n2.6": { "input": ["text", "image"], "window": 262144 },
|
|
272
|
+
"nova-2-lite-v1": { "input": ["text", "image", "video", "file"], "window": 1000000 },
|
|
273
|
+
"nova-lite-v1": { "input": ["text", "image"], "window": 300000 },
|
|
274
|
+
"nova-micro-v1": { "input": ["text"], "window": 128000 },
|
|
275
|
+
"nova-premier-v1": { "input": ["text", "image"], "window": 1000000 },
|
|
276
|
+
"nova-pro-v1": { "input": ["text", "image"], "window": 300000 },
|
|
277
|
+
"o3": { "input": ["image", "text", "file"], "window": 200000 },
|
|
278
|
+
"o3-pro": { "input": ["text", "file", "image"], "window": 200000 },
|
|
279
|
+
"palmyra-x5": { "input": ["text"], "window": 1040000 },
|
|
280
|
+
"pareto-26.10": { "input": ["text", "image"], "window": 1048576 },
|
|
281
|
+
"pareto-26.9": { "input": ["text", "image"], "window": 262144 },
|
|
282
|
+
"pareto-code": { "input": ["text"], "window": 2000000 },
|
|
283
|
+
"particle-1": { "input": ["text", "image"], "window": 1048576 },
|
|
284
|
+
"perceptron-mk1": { "input": ["text", "image", "video"], "window": 32768 },
|
|
285
|
+
"perceptron-mk1.5": { "input": ["text", "image", "video", "audio"], "window": 36864 },
|
|
286
|
+
"phi-4": { "input": ["text"], "window": 16384 },
|
|
287
|
+
"qwen-2.5-72b-instruct": { "input": ["text"], "window": 32768 },
|
|
288
|
+
"qwen-2.5-coder-32b-instruct": { "input": ["text"], "window": 32768 },
|
|
289
|
+
"qwen-plus": { "input": ["text"], "window": 1000000 },
|
|
290
|
+
"qwen2.5-vl-72b-instruct": { "input": ["text", "image"], "window": 128000 },
|
|
291
|
+
"qwen3-14b": { "input": ["text"], "window": 40960 },
|
|
292
|
+
"qwen3-235b-a22b-2507": { "input": ["text"], "window": 262144 },
|
|
293
|
+
"qwen3-235b-a22b-thinking-2507": { "input": ["text"], "window": 128000 },
|
|
294
|
+
"qwen3-30b-a3b": { "input": ["text"], "window": 40960 },
|
|
295
|
+
"qwen3-30b-a3b-instruct-2507": { "input": ["text"], "window": 262144 },
|
|
296
|
+
"qwen3-32b": { "input": ["text"], "window": 131072 },
|
|
297
|
+
"qwen3-coder": { "input": ["text"], "window": 262144 },
|
|
298
|
+
"qwen3-coder-30b-a3b-instruct": { "input": ["text"], "window": 262144 },
|
|
299
|
+
"qwen3-coder-flash": { "input": ["text"], "window": 1000000 },
|
|
300
|
+
"qwen3-coder-next": { "input": ["text"], "window": 262144 },
|
|
301
|
+
"qwen3-next-80b-a3b-instruct": { "input": ["text"], "window": 262144 },
|
|
302
|
+
"qwen3-vl-235b-a22b-instruct": { "input": ["text", "image"], "window": 262144 },
|
|
303
|
+
"qwen3-vl-30b-a3b-instruct": { "input": ["text", "image"], "window": 262144 },
|
|
304
|
+
"qwen3-vl-30b-a3b-thinking": { "input": ["text", "image"], "window": 262144 },
|
|
305
|
+
"qwen3-vl-8b-instruct": { "input": ["image", "text"], "window": 262144 },
|
|
306
|
+
"qwen3.5-122b-a10b": { "input": ["text", "image", "video"], "window": 262144 },
|
|
307
|
+
"qwen3.5-27b": { "input": ["text", "image", "video"], "window": 262144 },
|
|
308
|
+
"qwen3.5-35b-a3b": { "input": ["text", "image", "video"], "window": 262144 },
|
|
309
|
+
"qwen3.5-397b-a17b": { "input": ["text", "image", "video"], "window": 262144 },
|
|
310
|
+
"qwen3.5-9b": { "input": ["text", "image", "video"], "window": 262144 },
|
|
311
|
+
"qwen3.5-flash-02-23": { "input": ["text", "image", "video"], "window": 1000000 },
|
|
312
|
+
"qwen3.5-plus-02-15": { "input": ["text", "image", "video"], "window": 1000000 },
|
|
313
|
+
"qwen3.5-plus-20260420": { "input": ["text", "image", "video"], "window": 1000000 },
|
|
314
|
+
"qwen3.6-27b": { "input": ["text", "image", "video"], "window": 262144 },
|
|
315
|
+
"qwen3.6-35b-a3b": { "input": ["text", "image", "video"], "window": 262144 },
|
|
316
|
+
"qwen3.6-flash": { "input": ["text", "image", "video"], "window": 1000000 },
|
|
317
|
+
"qwen3.6-plus": { "input": ["text", "image", "video"], "window": 1000000 },
|
|
318
|
+
"qwen3.7-flash": { "input": ["text", "image", "video"], "window": 1000000 },
|
|
319
|
+
"qwen3.7-max": { "input": ["text"], "window": 1000000 },
|
|
320
|
+
"qwen3.7-plus": { "input": ["text", "image"], "window": 1000000 },
|
|
321
|
+
"qwen3.8-2.4t-a95b": { "input": ["text"], "window": 1048576 },
|
|
322
|
+
"qwen3.8-27b": { "input": ["text", "image", "video"], "window": 1048575 },
|
|
323
|
+
"qwen3.8-flash": { "input": ["text", "image", "video"], "window": 1000000 },
|
|
324
|
+
"qwen3.8-max-0902": { "input": ["text", "image", "video"], "window": 1000000 },
|
|
325
|
+
"qwen3.8-max-prime": { "input": ["text", "image", "video"], "window": 1000000 },
|
|
326
|
+
"qwen3.8-omni-flash": { "input": ["text", "image", "audio", "video"], "window": 1000000 },
|
|
327
|
+
"reka-edge": { "input": ["image", "text", "video"], "window": 16384 },
|
|
328
|
+
"reka-flash-3": { "input": ["text"], "window": 65536 },
|
|
329
|
+
"relace-apply-3": { "input": ["text"], "window": 256000 },
|
|
330
|
+
"relace-search": { "input": ["text"], "window": 256000 },
|
|
331
|
+
"remm-slerp-l2-13b": { "input": ["text"], "window": 6144 },
|
|
332
|
+
"ripple-65b-preview": { "input": ["text"], "window": 1048576 },
|
|
333
|
+
"sakana-namazu": { "input": ["text", "image", "file"], "window": 262144 },
|
|
334
|
+
"schematron-v2-small": { "input": ["text"], "window": 128000 },
|
|
335
|
+
"schematron-v2-turbo": { "input": ["text"], "window": 128000 },
|
|
336
|
+
"seed-1.6": { "input": ["image", "text", "video"], "window": 262144 },
|
|
337
|
+
"seed-1.6-flash": { "input": ["image", "text", "video"], "window": 262144 },
|
|
338
|
+
"seed-2-1-turbo": { "input": ["text", "image", "video"], "window": 262144 },
|
|
339
|
+
"seed-2.0-code": { "input": ["text", "image", "video"], "window": 262144 },
|
|
340
|
+
"seed-2.0-lite": { "input": ["text", "image", "video"], "window": 262144 },
|
|
341
|
+
"seed-2.0-mini": { "input": ["text", "image", "video"], "window": 262144 },
|
|
342
|
+
"skyfall-36b-v2": { "input": ["text"], "window": 32768 },
|
|
343
|
+
"solar-mini4": { "input": ["text"], "window": 524288 },
|
|
344
|
+
"solar-pro4": { "input": ["text"], "window": 524288 },
|
|
345
|
+
"sonar": { "input": ["text", "image"], "window": 127072 },
|
|
346
|
+
"sonar-deep-research": { "input": ["text"], "window": 128000 },
|
|
347
|
+
"sonar-pro": { "input": ["text", "image"], "window": 200000 },
|
|
348
|
+
"sonar-pro-search": { "input": ["text", "image"], "window": 200000 },
|
|
349
|
+
"sonar-reasoning-pro": { "input": ["text", "image"], "window": 128000 },
|
|
350
|
+
"step-3.5-flash": { "input": ["text"], "window": 262144 },
|
|
351
|
+
"step-3.7-flash": { "input": ["text", "image", "video"], "window": 262144 },
|
|
352
|
+
"step-5-preview": { "input": ["text", "image", "video"], "window": 1000000 },
|
|
353
|
+
"summarize": { "input": ["text", "image", "file"], "window": 1000000 },
|
|
354
|
+
"switchyard": { "input": ["text"], "window": 1000000 },
|
|
355
|
+
"ternary-bonsai-2-27b": { "input": ["text", "image"], "window": 262144 },
|
|
356
|
+
"ternary-bonsai-2-9b": { "input": ["text", "image"], "window": 262144 },
|
|
357
|
+
"ui-tars-1.5-7b": { "input": ["image", "text"], "window": 128000 },
|
|
358
|
+
"unslopnemo-12b": { "input": ["text"], "window": 1024000 },
|
|
359
|
+
"voxtral-small-24b-2507": { "input": ["text", "audio", "file"], "window": 32768 },
|
|
360
|
+
"weaver": { "input": ["text"], "window": 8000 },
|
|
361
|
+
};
|
package/dist/session.d.ts
CHANGED
|
@@ -51,6 +51,13 @@ export interface SideQueryOptions {
|
|
|
51
51
|
/** cancels the request — the CLI wires esc to it. */
|
|
52
52
|
readonly signal?: AbortSignalLike;
|
|
53
53
|
}
|
|
54
|
+
export interface FollowUpOptions {
|
|
55
|
+
/** what is asked after the run's last reply, as the person's next message; absent: the built-in ask for the line the
|
|
56
|
+
* person may send next (FOLLOW_UP_ASK), and the answer comes back as that one line (cleaned as the apps show it) */
|
|
57
|
+
readonly ask?: string;
|
|
58
|
+
readonly maxTokens?: number;
|
|
59
|
+
readonly signal?: AbortSignalLike;
|
|
60
|
+
}
|
|
54
61
|
/** A session whose disk write was rejected (stale handle) is PERMANENTLY
|
|
55
62
|
* poisoned: its in-memory log no longer matches the disk, so no further
|
|
56
63
|
* run may proceed — reload the session (round 1). */
|
|
@@ -92,6 +99,19 @@ export interface CompactInfo {
|
|
|
92
99
|
/** The covered content's estimated tokens (the chars/4 proxy). */
|
|
93
100
|
readonly tokens: number;
|
|
94
101
|
}
|
|
102
|
+
/** The follow-up's built-in ask (Session.followUp with no `ask`): the line the person may send next. No language is
|
|
103
|
+
* named: without the clause, Chinese conversations still gave Chinese lines (measured, owner 2026-11-03). */
|
|
104
|
+
export declare const FOLLOW_UP_ASK = "Write the one message the person is most likely to send you next, as they would type it, and nothing else. If the work is done and nothing naturally follows, answer with nothing.";
|
|
105
|
+
/** The built-in follow-up's answer as a line: its first non-empty line, without quotes around it; "" for none, and ""
|
|
106
|
+
* for a line over 200 characters (a cut message is not one the person would send, so it is dropped, not shortened). */
|
|
107
|
+
export declare function followUpLine(text: string): string;
|
|
108
|
+
/** The session title's ask (Session.title). The language is named, unlike the follow-up's: the title sees one message
|
|
109
|
+
* and no history, and a short greeting under an English ask came back English (ds, a three-character Chinese
|
|
110
|
+
* greeting: 5 of 10 English titles without the clause, 0 of 10 with it; owner 2026-11-04). */
|
|
111
|
+
export declare const TITLE_PROMPT = "Write a short title (2 to 8 words) for a conversation that opens with the user's message, in the language of that message. Only the title: no quotes, no punctuation at the end.";
|
|
112
|
+
/** A model's title as a name: its first non-empty line, without quotes around it or punctuation at its end, its spaces
|
|
113
|
+
* collapsed, at most 60 characters; "" when no letter or digit is left. */
|
|
114
|
+
export declare function cleanTitle(text: string): string;
|
|
95
115
|
/** ADR-0057 §5 (3e D1): a steer detaches a foreground command only once it
|
|
96
116
|
* is this old — a command about to end on its own is left to end. */
|
|
97
117
|
export declare const AUTO_DETACH_MIN_AGE_MS = 2000;
|
|
@@ -320,6 +340,18 @@ export declare class AgentSession {
|
|
|
320
340
|
* CLI's honest degradation.
|
|
321
341
|
*/
|
|
322
342
|
sideQuery(options: SideQueryOptions): Promise<string>;
|
|
343
|
+
/**
|
|
344
|
+
* A title for the conversation `firstMessage` opens (owner 2026-11-03: the person's first line is not a title): one
|
|
345
|
+
* side query with its own short prompt and that message (its first 500 characters), no tools, no history, purpose
|
|
346
|
+
* "title" in the trace. It asks for no thinking where the route allows it (measured on co: 6-10 tokens out instead of
|
|
347
|
+
* 100 cut short): thinking disabled, else effort `none`, resolved through the model table as the manual summary is;
|
|
348
|
+
* for a model the table does not know it sends no reasoning field and allows more output. The answer is cleaned to
|
|
349
|
+
* one line (no quotes, no ending punctuation, at most 60 characters); "" when nothing is left. It writes nothing: the
|
|
350
|
+
* caller keeps the title where it keeps names, and only for a session the person has not named.
|
|
351
|
+
*/
|
|
352
|
+
title(firstMessage: string, options?: {
|
|
353
|
+
readonly signal?: AbortSignalLike;
|
|
354
|
+
}): Promise<string>;
|
|
323
355
|
/** Run one user turn. Iterate to consume; `run.abort()` cancels. */
|
|
324
356
|
/** REL-0152-D11: `input` is text, or the content blocks a turn with an
|
|
325
357
|
* attachment carries. The durable event, the projection and both
|
|
@@ -341,6 +373,7 @@ export declare class AgentSession {
|
|
|
341
373
|
* Yields nothing when the session already completed.
|
|
342
374
|
*/
|
|
343
375
|
resume(): Run;
|
|
376
|
+
followUp(options: FollowUpOptions): Promise<string>;
|
|
344
377
|
/**
|
|
345
378
|
* /compact (ADR-0044): compress the older conversation with a model
|
|
346
379
|
* summary. Covers the range (previous summary point, boundary] —
|