mlclaw 0.2.1 → 0.2.2
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/.agents/skills/mlclaw/SKILL.md +7 -0
- package/Dockerfile +2 -2
- package/README.md +7 -0
- package/dist/mlclaw-space-runtime.js +112 -0
- package/dist/mlclaw.mjs +1 -1
- package/package.json +2 -2
|
@@ -176,6 +176,13 @@ Known useful router-compatible choices:
|
|
|
176
176
|
|
|
177
177
|
- `huggingface/google/gemma-4-26B-A4B-it:deepinfra`: default quality target.
|
|
178
178
|
- `huggingface/Qwen/Qwen3.6-27B:deepinfra`: live Qwen 3.6 option with tool and structured-output support.
|
|
179
|
+
- `huggingface/zai-org/GLM-5.2:deepinfra`: long-context GLM option with tool and structured-output support.
|
|
180
|
+
- `huggingface/moonshotai/Kimi-K2.7-Code:deepinfra`: coding-focused Kimi option with tool and structured-output support.
|
|
181
|
+
- `huggingface/openai/gpt-oss-120b:deepinfra`: larger GPT-OSS option with tool and structured-output support.
|
|
182
|
+
- `huggingface/openai/gpt-oss-20b:deepinfra`: lower-cost GPT-OSS option with tool and structured-output support.
|
|
183
|
+
- `huggingface/deepseek-ai/DeepSeek-V4-Flash:deepinfra`: low-cost long-context DeepSeek V4 option.
|
|
184
|
+
- `huggingface/deepseek-ai/DeepSeek-V4-Pro:deepinfra`: higher-quality long-context DeepSeek V4 option.
|
|
185
|
+
- `huggingface/MiniMaxAI/MiniMax-M3:together`: long-context MiniMax option with tool and structured-output support.
|
|
179
186
|
- `huggingface/Qwen/Qwen3-8B:nscale`: cheaper small-model option.
|
|
180
187
|
|
|
181
188
|
Do not assume every Hub model is a Router chat model. If exact current model
|
package/Dockerfile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
ARG OPENCLAW_VERSION=2026.
|
|
1
|
+
ARG OPENCLAW_VERSION=2026.7.1-beta.2
|
|
2
2
|
ARG OPENCLAW_BASE_IMAGE=ghcr.io/openclaw/openclaw:${OPENCLAW_VERSION}
|
|
3
|
-
ARG MLCLAW_RUNTIME_IMAGE=ghcr.io/osolmaz/mlclaw:0.2.
|
|
3
|
+
ARG MLCLAW_RUNTIME_IMAGE=ghcr.io/osolmaz/mlclaw:0.2.2-openclaw-2026.7.1-beta.2
|
|
4
4
|
|
|
5
5
|
# Stage 1: build the state-sync bundle so the runtime image needs no dev deps.
|
|
6
6
|
FROM node:24-bookworm-slim AS sync-build
|
package/README.md
CHANGED
|
@@ -74,6 +74,13 @@ Recommended router-compatible options:
|
|
|
74
74
|
|
|
75
75
|
- `huggingface/google/gemma-4-26B-A4B-it:deepinfra`: default quality target.
|
|
76
76
|
- `huggingface/Qwen/Qwen3.6-27B:deepinfra`: live Qwen 3.6 option with tool and structured-output support.
|
|
77
|
+
- `huggingface/zai-org/GLM-5.2:deepinfra`: long-context GLM option with tool and structured-output support.
|
|
78
|
+
- `huggingface/moonshotai/Kimi-K2.7-Code:deepinfra`: coding-focused Kimi option with tool and structured-output support.
|
|
79
|
+
- `huggingface/openai/gpt-oss-120b:deepinfra`: larger GPT-OSS option with tool and structured-output support.
|
|
80
|
+
- `huggingface/openai/gpt-oss-20b:deepinfra`: lower-cost GPT-OSS option with tool and structured-output support.
|
|
81
|
+
- `huggingface/deepseek-ai/DeepSeek-V4-Flash:deepinfra`: low-cost long-context DeepSeek V4 option.
|
|
82
|
+
- `huggingface/deepseek-ai/DeepSeek-V4-Pro:deepinfra`: higher-quality long-context DeepSeek V4 option.
|
|
83
|
+
- `huggingface/MiniMaxAI/MiniMax-M3:together`: long-context MiniMax option with tool and structured-output support.
|
|
77
84
|
- `huggingface/Qwen/Qwen3-8B:nscale`: cheaper small-model option.
|
|
78
85
|
|
|
79
86
|
## Optional Telegram
|
|
@@ -154,6 +154,118 @@ var PRESET_MODEL_CHOICES = [
|
|
|
154
154
|
inputModalities: ["text", "image"],
|
|
155
155
|
outputModalities: ["text"],
|
|
156
156
|
preset: true
|
|
157
|
+
}),
|
|
158
|
+
freezeChoice({
|
|
159
|
+
modelId: "zai-org/GLM-5.2",
|
|
160
|
+
provider: "deepinfra",
|
|
161
|
+
label: "GLM 5.2",
|
|
162
|
+
note: "Long-context GLM preset on DeepInfra",
|
|
163
|
+
contextLength: 1048576,
|
|
164
|
+
pricing: { input: 0.93, output: 3 },
|
|
165
|
+
supportsTools: true,
|
|
166
|
+
supportsStructuredOutput: true,
|
|
167
|
+
firstTokenLatencyMs: 467.5,
|
|
168
|
+
throughput: 16.52283992136833,
|
|
169
|
+
status: "live",
|
|
170
|
+
inputModalities: ["text"],
|
|
171
|
+
outputModalities: ["text"],
|
|
172
|
+
preset: true
|
|
173
|
+
}),
|
|
174
|
+
freezeChoice({
|
|
175
|
+
modelId: "moonshotai/Kimi-K2.7-Code",
|
|
176
|
+
provider: "deepinfra",
|
|
177
|
+
label: "Kimi K2.7 Code",
|
|
178
|
+
note: "Kimi K2.7 coding preset on DeepInfra",
|
|
179
|
+
contextLength: 262144,
|
|
180
|
+
pricing: { input: 0.74, output: 3.5 },
|
|
181
|
+
supportsTools: true,
|
|
182
|
+
supportsStructuredOutput: true,
|
|
183
|
+
firstTokenLatencyMs: 692,
|
|
184
|
+
throughput: 29.26330731892916,
|
|
185
|
+
status: "live",
|
|
186
|
+
inputModalities: ["text"],
|
|
187
|
+
outputModalities: ["text"],
|
|
188
|
+
preset: true
|
|
189
|
+
}),
|
|
190
|
+
freezeChoice({
|
|
191
|
+
modelId: "openai/gpt-oss-120b",
|
|
192
|
+
provider: "deepinfra",
|
|
193
|
+
label: "GPT-OSS 120B",
|
|
194
|
+
note: "Large GPT-OSS preset on DeepInfra",
|
|
195
|
+
contextLength: 131072,
|
|
196
|
+
pricing: { input: 0.037, output: 0.17 },
|
|
197
|
+
supportsTools: true,
|
|
198
|
+
supportsStructuredOutput: true,
|
|
199
|
+
firstTokenLatencyMs: 362.2,
|
|
200
|
+
throughput: 32.98392643597656,
|
|
201
|
+
status: "live",
|
|
202
|
+
inputModalities: ["text"],
|
|
203
|
+
outputModalities: ["text"],
|
|
204
|
+
preset: true
|
|
205
|
+
}),
|
|
206
|
+
freezeChoice({
|
|
207
|
+
modelId: "openai/gpt-oss-20b",
|
|
208
|
+
provider: "deepinfra",
|
|
209
|
+
label: "GPT-OSS 20B",
|
|
210
|
+
note: "Lower-cost GPT-OSS preset on DeepInfra",
|
|
211
|
+
contextLength: 131072,
|
|
212
|
+
pricing: { input: 0.03, output: 0.14 },
|
|
213
|
+
supportsTools: true,
|
|
214
|
+
supportsStructuredOutput: true,
|
|
215
|
+
firstTokenLatencyMs: 255,
|
|
216
|
+
throughput: 115.64765388606148,
|
|
217
|
+
status: "live",
|
|
218
|
+
inputModalities: ["text"],
|
|
219
|
+
outputModalities: ["text"],
|
|
220
|
+
preset: true
|
|
221
|
+
}),
|
|
222
|
+
freezeChoice({
|
|
223
|
+
modelId: "deepseek-ai/DeepSeek-V4-Flash",
|
|
224
|
+
provider: "deepinfra",
|
|
225
|
+
label: "DeepSeek V4 Flash",
|
|
226
|
+
note: "Lower-cost DeepSeek V4 preset on DeepInfra",
|
|
227
|
+
contextLength: 1048576,
|
|
228
|
+
pricing: { input: 0.09, output: 0.18 },
|
|
229
|
+
supportsTools: true,
|
|
230
|
+
supportsStructuredOutput: true,
|
|
231
|
+
firstTokenLatencyMs: 719.8,
|
|
232
|
+
throughput: 24.5757632831937,
|
|
233
|
+
status: "live",
|
|
234
|
+
inputModalities: ["text"],
|
|
235
|
+
outputModalities: ["text"],
|
|
236
|
+
preset: true
|
|
237
|
+
}),
|
|
238
|
+
freezeChoice({
|
|
239
|
+
modelId: "deepseek-ai/DeepSeek-V4-Pro",
|
|
240
|
+
provider: "deepinfra",
|
|
241
|
+
label: "DeepSeek V4 Pro",
|
|
242
|
+
note: "Higher-quality DeepSeek V4 preset on DeepInfra",
|
|
243
|
+
contextLength: 1048576,
|
|
244
|
+
pricing: { input: 1.3, output: 2.6 },
|
|
245
|
+
supportsTools: true,
|
|
246
|
+
supportsStructuredOutput: true,
|
|
247
|
+
firstTokenLatencyMs: 489.2,
|
|
248
|
+
throughput: 37.30647476533069,
|
|
249
|
+
status: "live",
|
|
250
|
+
inputModalities: ["text"],
|
|
251
|
+
outputModalities: ["text"],
|
|
252
|
+
preset: true
|
|
253
|
+
}),
|
|
254
|
+
freezeChoice({
|
|
255
|
+
modelId: "MiniMaxAI/MiniMax-M3",
|
|
256
|
+
provider: "together",
|
|
257
|
+
label: "MiniMax M3",
|
|
258
|
+
note: "Long-context MiniMax preset on Together",
|
|
259
|
+
contextLength: 524288,
|
|
260
|
+
pricing: { input: 0.3, output: 1.2 },
|
|
261
|
+
supportsTools: true,
|
|
262
|
+
supportsStructuredOutput: true,
|
|
263
|
+
firstTokenLatencyMs: 505.6,
|
|
264
|
+
throughput: 59.79726580207129,
|
|
265
|
+
status: "live",
|
|
266
|
+
inputModalities: ["text"],
|
|
267
|
+
outputModalities: ["text"],
|
|
268
|
+
preset: true
|
|
157
269
|
})
|
|
158
270
|
];
|
|
159
271
|
function parseModelChoicesEnv(value, activeModel) {
|
package/dist/mlclaw.mjs
CHANGED
|
@@ -14804,7 +14804,7 @@ function sseDataToText(raw) {
|
|
|
14804
14804
|
import fs11 from "node:fs";
|
|
14805
14805
|
import path12 from "node:path";
|
|
14806
14806
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
14807
|
-
var DEFAULT_OPENCLAW_VERSION = "2026.
|
|
14807
|
+
var DEFAULT_OPENCLAW_VERSION = "2026.7.1-beta.2";
|
|
14808
14808
|
var DEFAULT_RUNTIME_IMAGE_REPOSITORY = "ghcr.io/osolmaz/mlclaw";
|
|
14809
14809
|
var PACKAGE_METADATA = readPackageMetadata();
|
|
14810
14810
|
var PACKAGE_VERSION = packageString("version", "unknown");
|
package/package.json
CHANGED