mlclaw 0.4.4 → 0.4.6
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 +2 -2
- package/Dockerfile +3 -3
- package/README.md +5 -7
- package/dist/mlclaw-space-runtime.js +1 -0
- package/dist/mlclaw.mjs +2 -2
- package/package.json +3 -3
|
@@ -25,7 +25,7 @@ An ML Claw deployment has:
|
|
|
25
25
|
- no explicit Space hardware request by default; Hugging Face assigns the
|
|
26
26
|
default free CPU hardware unless `--hardware` or a feature requiring paid
|
|
27
27
|
hardware is used;
|
|
28
|
-
- a prebuilt `ghcr.io/
|
|
28
|
+
- a prebuilt `ghcr.io/huggingface/mlclaw` runtime image by default;
|
|
29
29
|
- Hugging Face OAuth enabled on the Space;
|
|
30
30
|
- automatic Hugging Face MCP and Research Agent integrations authorized by an
|
|
31
31
|
admin-only OAuth step after ordinary Hugging Face sign-in;
|
|
@@ -126,7 +126,7 @@ Hugging Face account. The Space server proxies authenticated browser traffic to
|
|
|
126
126
|
OpenClaw on loopback using trusted-proxy auth. Do not ask the user for an
|
|
127
127
|
OpenClaw gateway token for the browser Space path.
|
|
128
128
|
|
|
129
|
-
Generated Spaces use the prebuilt `ghcr.io/
|
|
129
|
+
Generated Spaces use the prebuilt `ghcr.io/huggingface/mlclaw:<package>-openclaw-<version>`
|
|
130
130
|
image by default. Use `--bundled-runtime` only for development or emergency
|
|
131
131
|
fallbacks where the Space must build all runtime files directly from the
|
|
132
132
|
uploaded Space repository.
|
package/Dockerfile
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
ARG OPENCLAW_VERSION=2026.7.1
|
|
2
2
|
ARG OPENCLAW_BASE_IMAGE=ghcr.io/openclaw/openclaw:${OPENCLAW_VERSION}
|
|
3
|
-
ARG BROKERKIT_PLUGIN_VERSION=0.3.
|
|
3
|
+
ARG BROKERKIT_PLUGIN_VERSION=0.3.2
|
|
4
4
|
ARG BROKERKIT_VERSION=hf-broker/v0.4.0
|
|
5
|
-
ARG MLCLAW_RUNTIME_IMAGE=ghcr.io/
|
|
5
|
+
ARG MLCLAW_RUNTIME_IMAGE=ghcr.io/huggingface/mlclaw:0.4.6-openclaw-2026.7.1
|
|
6
6
|
|
|
7
7
|
FROM golang:1.26.5-bookworm AS hf-broker-build
|
|
8
8
|
ARG BROKERKIT_VERSION
|
|
@@ -32,7 +32,7 @@ RUN npm ci --no-audit --no-fund && npm run build
|
|
|
32
32
|
|
|
33
33
|
FROM ${OPENCLAW_BASE_IMAGE}
|
|
34
34
|
|
|
35
|
-
LABEL org.opencontainers.image.source="https://github.com/
|
|
35
|
+
LABEL org.opencontainers.image.source="https://github.com/huggingface/mlclaw"
|
|
36
36
|
LABEL org.opencontainers.image.description="ML Claw runtime for OpenClaw on Hugging Face"
|
|
37
37
|
|
|
38
38
|
USER root
|
package/README.md
CHANGED
|
@@ -8,6 +8,10 @@ ML Claw deploys an OpenClaw agent on Hugging Face with durable state in a
|
|
|
8
8
|
private Storage Bucket. The default deployment is a private Hugging Face Space
|
|
9
9
|
with a browser gateway protected by Hugging Face OAuth.
|
|
10
10
|
|
|
11
|
+
[ml-intern](https://github.com/huggingface/ml-intern) is Hugging Face's
|
|
12
|
+
open-source ML engineer for reading papers, training models, and shipping
|
|
13
|
+
models.
|
|
14
|
+
|
|
11
15
|
The browser never receives an OpenClaw gateway token. ML Claw authenticates the
|
|
12
16
|
signed-in Hugging Face user, then proxies HTTP and WebSocket traffic to
|
|
13
17
|
OpenClaw on loopback using OpenClaw trusted-proxy auth.
|
|
@@ -76,7 +80,7 @@ This creates:
|
|
|
76
80
|
- a private Docker Space for the browser gateway when the account can host it;
|
|
77
81
|
- a private Storage Bucket for OpenClaw state after the Space is accepted;
|
|
78
82
|
- no explicit Space hardware request unless you pass `--hardware`;
|
|
79
|
-
- a Docker Space that starts from the prebuilt `ghcr.io/
|
|
83
|
+
- a Docker Space that starts from the prebuilt `ghcr.io/huggingface/mlclaw` image;
|
|
80
84
|
- Hugging Face OAuth metadata for browser auth, Hugging Face MCP, and Research
|
|
81
85
|
Agent access in the Space README;
|
|
82
86
|
- Space variables, a bucket volume mount for state sync, and separate
|
|
@@ -386,12 +390,6 @@ Local gateways pass the broad credential only to the trusted state-sync
|
|
|
386
390
|
supervisor for bucket I/O and to the trusted MCP integration proxy through a
|
|
387
391
|
protected token file. Neither path passes it to OpenClaw.
|
|
388
392
|
|
|
389
|
-
## Related
|
|
390
|
-
|
|
391
|
-
[ml-intern](https://github.com/huggingface/ml-intern) is Hugging Face's
|
|
392
|
-
open-source ML engineer for reading papers, training models, and shipping
|
|
393
|
-
models.
|
|
394
|
-
|
|
395
393
|
## Costs
|
|
396
394
|
|
|
397
395
|
- Browser Space gateway: `cpu-basic` is enough for the default browser gateway.
|
|
@@ -10348,6 +10348,7 @@ function safeErrorClass(error) {
|
|
|
10348
10348
|
}
|
|
10349
10349
|
function delegatedHeaders(c) {
|
|
10350
10350
|
c.header("access-control-allow-origin", "null");
|
|
10351
|
+
c.header("access-control-allow-credentials", "true");
|
|
10351
10352
|
c.header("cache-control", "no-store");
|
|
10352
10353
|
c.header("vary", "origin");
|
|
10353
10354
|
c.header("x-content-type-options", "nosniff");
|
package/dist/mlclaw.mjs
CHANGED
|
@@ -15375,9 +15375,9 @@ import fs12 from "node:fs";
|
|
|
15375
15375
|
import path13 from "node:path";
|
|
15376
15376
|
import { fileURLToPath as fileURLToPath2 } from "node:url";
|
|
15377
15377
|
var DEFAULT_OPENCLAW_VERSION = "2026.7.1";
|
|
15378
|
-
var DEFAULT_BROKERKIT_PLUGIN_VERSION = "0.3.
|
|
15378
|
+
var DEFAULT_BROKERKIT_PLUGIN_VERSION = "0.3.2";
|
|
15379
15379
|
var DEFAULT_BROKERKIT_VERSION = "hf-broker/v0.4.0";
|
|
15380
|
-
var DEFAULT_RUNTIME_IMAGE_REPOSITORY = "ghcr.io/
|
|
15380
|
+
var DEFAULT_RUNTIME_IMAGE_REPOSITORY = "ghcr.io/huggingface/mlclaw";
|
|
15381
15381
|
var PACKAGE_METADATA = readPackageMetadata();
|
|
15382
15382
|
var PACKAGE_VERSION = packageString("version", "unknown");
|
|
15383
15383
|
var OPENCLAW_VERSION = packageConfigString("openclawVersion", DEFAULT_OPENCLAW_VERSION);
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mlclaw",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"config": {
|
|
6
6
|
"openclawVersion": "2026.7.1",
|
|
7
7
|
"brokerkitVersion": "hf-broker/v0.4.0",
|
|
8
|
-
"brokerkitPluginVersion": "0.3.
|
|
9
|
-
"runtimeImageRepository": "ghcr.io/
|
|
8
|
+
"brokerkitPluginVersion": "0.3.2",
|
|
9
|
+
"runtimeImageRepository": "ghcr.io/huggingface/mlclaw"
|
|
10
10
|
},
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|