mlclaw 0.4.7 → 0.4.8
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/Dockerfile +3 -3
- package/README.md +13 -10
- package/dist/mlclaw-space-runtime.js +9906 -6675
- package/dist/mlclaw.mjs +151 -310
- package/package.json +11 -7
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.
|
|
4
|
-
ARG BROKERKIT_VERSION=hf-broker/v0.4.
|
|
5
|
-
ARG MLCLAW_RUNTIME_IMAGE=ghcr.io/huggingface/mlclaw:0.4.
|
|
3
|
+
ARG BROKERKIT_PLUGIN_VERSION=0.3.4
|
|
4
|
+
ARG BROKERKIT_VERSION=hf-broker/v0.4.2
|
|
5
|
+
ARG MLCLAW_RUNTIME_IMAGE=ghcr.io/huggingface/mlclaw:0.4.8-openclaw-2026.7.1
|
|
6
6
|
|
|
7
7
|
FROM golang:1.26.5-bookworm AS hf-broker-build
|
|
8
8
|
ARG BROKERKIT_VERSION
|
package/README.md
CHANGED
|
@@ -54,21 +54,24 @@ app; the bootstrapper runs locally.
|
|
|
54
54
|
|
|
55
55
|
The `hf` CLI login is a provisioning credential: ML Claw uses it to create and
|
|
56
56
|
configure resources owned by your account. HF Broker uses a separate, durable
|
|
57
|
-
fine-grained credential whose
|
|
58
|
-
Interactive bootstrap opens Hugging Face
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
automation, pass a `0600` file
|
|
62
|
-
not accept the token as a
|
|
57
|
+
fine-grained credential whose selected permissions form BrokerKit's hard
|
|
58
|
+
upstream authority ceiling. Interactive bootstrap opens an empty Hugging Face
|
|
59
|
+
token form so you can choose those permissions and resources, then accepts the
|
|
60
|
+
new token through a hidden local prompt. Creating or replacing this credential
|
|
61
|
+
never changes the active `hf` CLI login. For automation, pass a `0600` file
|
|
62
|
+
through `--broker-hf-token-file`; ML Claw does not accept the token as a
|
|
63
|
+
command-line value.
|
|
63
64
|
|
|
64
65
|
The broker owns the selected credential; OpenClaw receives only a separate
|
|
65
66
|
agent credential that can call the broker's typed, policy-checked routes. It
|
|
66
67
|
cannot read the token or use the admin-only operator API. Rerunning bootstrap
|
|
67
68
|
reuses a healthy saved broker credential without reopening the form. A missing,
|
|
68
|
-
invalid, wrong-account
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
69
|
+
invalid, or wrong-account credential must be repaired before ML Claw continues;
|
|
70
|
+
it never silently substitutes the active CLI login. When a selected permission
|
|
71
|
+
does not cover an operation, HF Broker denies that operation without weakening
|
|
72
|
+
the rest of the deployment. Existing dedicated inference tokens remain
|
|
73
|
+
supported through `MLCLAW_ROUTER_TOKEN`, `HF_ROUTER_TOKEN`, or
|
|
74
|
+
`--router-token-file`.
|
|
72
75
|
|
|
73
76
|
## Default Flow
|
|
74
77
|
|