mlclaw 0.4.6 → 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 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.2
4
- ARG BROKERKIT_VERSION=hf-broker/v0.4.0
5
- ARG MLCLAW_RUNTIME_IMAGE=ghcr.io/huggingface/mlclaw:0.4.6-openclaw-2026.7.1
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
@@ -5,8 +5,9 @@
5
5
  # ML Claw
6
6
 
7
7
  ML Claw deploys an OpenClaw agent on Hugging Face with durable state in a
8
- private Storage Bucket. The default deployment is a private Hugging Face Space
9
- with a browser gateway protected by Hugging Face OAuth.
8
+ private Storage Bucket. The default deployment is a protected Hugging Face
9
+ Space: its source stays private, its app URL is reachable, and the browser
10
+ gateway is protected by ML Claw's Hugging Face OAuth session.
10
11
 
11
12
  [ml-intern](https://github.com/huggingface/ml-intern) is Hugging Face's
12
13
  open-source ML engineer for reading papers, training models, and shipping
@@ -53,21 +54,24 @@ app; the bootstrapper runs locally.
53
54
 
54
55
  The `hf` CLI login is a provisioning credential: ML Claw uses it to create and
55
56
  configure resources owned by your account. HF Broker uses a separate, durable
56
- fine-grained credential whose required permissions are versioned by BrokerKit.
57
- Interactive bootstrap opens Hugging Face's token form with those fields
58
- preselected, then accepts the new token through a hidden local prompt. Creating
59
- or replacing this credential never changes the active `hf` CLI login. For
60
- automation, pass a `0600` file through `--broker-hf-token-file`; ML Claw does
61
- not accept the token as a command-line value.
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.
62
64
 
63
65
  The broker owns the selected credential; OpenClaw receives only a separate
64
66
  agent credential that can call the broker's typed, policy-checked routes. It
65
67
  cannot read the token or use the admin-only operator API. Rerunning bootstrap
66
68
  reuses a healthy saved broker credential without reopening the form. A missing,
67
- invalid, wrong-account, or under-scoped credential must be repaired before ML
68
- Claw continues; it never silently substitutes the active CLI login. Existing
69
- dedicated inference tokens remain supported through `MLCLAW_ROUTER_TOKEN`,
70
- `HF_ROUTER_TOKEN`, or `--router-token-file` during migration.
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`.
71
75
 
72
76
  ## Default Flow
73
77
 
@@ -77,7 +81,7 @@ npx mlclaw@latest bootstrap --name mlclaw
77
81
 
78
82
  This creates:
79
83
 
80
- - a private Docker Space for the browser gateway when the account can host it;
84
+ - a protected Docker Space for the browser gateway when the account can host it;
81
85
  - a private Storage Bucket for OpenClaw state after the Space is accepted;
82
86
  - no explicit Space hardware request unless you pass `--hardware`;
83
87
  - a Docker Space that starts from the prebuilt `ghcr.io/huggingface/mlclaw` image;
@@ -106,7 +110,7 @@ Open the Space, sign in with your Hugging Face account, and use the OpenClaw
106
110
  browser gateway directly. The gateway includes a small ML Claw control link
107
111
  for settings, status, credentials, and sign out.
108
112
 
109
- Create a public Space only when you explicitly want a public demo or template:
113
+ Expose the Space source only when you explicitly want a public demo or template:
110
114
 
111
115
  ```bash
112
116
  npx mlclaw@latest bootstrap --name mlclaw --public-space