mlclaw 0.4.3 → 0.4.5

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.
@@ -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/osolmaz/mlclaw` runtime image by default;
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/osolmaz/mlclaw:<package>-openclaw-<version>`
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.0
3
+ ARG BROKERKIT_PLUGIN_VERSION=0.3.1
4
4
  ARG BROKERKIT_VERSION=hf-broker/v0.4.0
5
- ARG MLCLAW_RUNTIME_IMAGE=ghcr.io/osolmaz/mlclaw:0.4.3-openclaw-2026.7.1
5
+ ARG MLCLAW_RUNTIME_IMAGE=ghcr.io/huggingface/mlclaw:0.4.5-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/osolmaz/mlclaw"
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
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://raw.githubusercontent.com/osolmaz/mlclaw/main/assets/mlclaw.svg" alt="ML Claw" width="180">
2
+ <img src="https://raw.githubusercontent.com/huggingface/mlclaw/main/assets/mlclaw.svg" alt="ML Claw" width="180">
3
3
  </p>
4
4
 
5
5
  # ML Claw
@@ -30,13 +30,13 @@ Without Node.js, the launcher fetches a pinned Node runtime into your user
30
30
  cache and runs the same npm package:
31
31
 
32
32
  ```bash
33
- bash <(curl -fsSL https://raw.githubusercontent.com/osolmaz/mlclaw/main/mlclaw.sh)
33
+ bash <(curl -fsSL https://raw.githubusercontent.com/huggingface/mlclaw/main/mlclaw.sh)
34
34
  ```
35
35
 
36
36
  On Windows:
37
37
 
38
38
  ```powershell
39
- irm https://raw.githubusercontent.com/osolmaz/mlclaw/main/mlclaw.ps1 | iex
39
+ irm https://raw.githubusercontent.com/huggingface/mlclaw/main/mlclaw.ps1 | iex
40
40
  ```
41
41
 
42
42
  You need a Hugging Face account and a token available through `HF_TOKEN`,
@@ -76,7 +76,7 @@ This creates:
76
76
  - a private Docker Space for the browser gateway when the account can host it;
77
77
  - a private Storage Bucket for OpenClaw state after the Space is accepted;
78
78
  - no explicit Space hardware request unless you pass `--hardware`;
79
- - a Docker Space that starts from the prebuilt `ghcr.io/osolmaz/mlclaw` image;
79
+ - a Docker Space that starts from the prebuilt `ghcr.io/huggingface/mlclaw` image;
80
80
  - Hugging Face OAuth metadata for browser auth, Hugging Face MCP, and Research
81
81
  Agent access in the Space README;
82
82
  - Space variables, a bucket volume mount for state sync, and separate
@@ -386,6 +386,12 @@ Local gateways pass the broad credential only to the trusted state-sync
386
386
  supervisor for bucket I/O and to the trusted MCP integration proxy through a
387
387
  protected token file. Neither path passes it to OpenClaw.
388
388
 
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
+
389
395
  ## Costs
390
396
 
391
397
  - Browser Space gateway: `cpu-basic` is enough for the default browser gateway.
@@ -9481,6 +9481,16 @@ var CONTROL_BRANDING_SCRIPT = `(function () {
9481
9481
  frame.contentWindow.postMessage({ type: "brokerkit.operator-ui.invalidate", version: 1 }, "*");
9482
9482
  }
9483
9483
  }
9484
+ var lastRebootstrapAt = 0;
9485
+ function rebootstrapFrame() {
9486
+ var now = Date.now();
9487
+ if (now - lastRebootstrapAt < 30000) return;
9488
+ lastRebootstrapAt = now;
9489
+ frame.removeAttribute("src");
9490
+ if (!popover.hidden) {
9491
+ window.setTimeout(function () { frame.setAttribute("src", frame.getAttribute("data-src")); }, 0);
9492
+ }
9493
+ }
9484
9494
  function setOpen(open) {
9485
9495
  popover.hidden = !open;
9486
9496
  button.setAttribute("aria-expanded", open ? "true" : "false");
@@ -9499,6 +9509,17 @@ var CONTROL_BRANDING_SCRIPT = `(function () {
9499
9509
  });
9500
9510
  window.addEventListener("message", function (event) {
9501
9511
  var data = event.data;
9512
+ if (
9513
+ event.source === frame.contentWindow &&
9514
+ data &&
9515
+ typeof data === "object" &&
9516
+ Object.keys(data).sort().join(",") === "type,version" &&
9517
+ data.type === "brokerkit.delegated-web.rebootstrap" &&
9518
+ data.version === 1
9519
+ ) {
9520
+ rebootstrapFrame();
9521
+ return;
9522
+ }
9502
9523
  if (
9503
9524
  event.source !== frame.contentWindow ||
9504
9525
  !data ||
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.0";
15378
+ var DEFAULT_BROKERKIT_PLUGIN_VERSION = "0.3.1";
15379
15379
  var DEFAULT_BROKERKIT_VERSION = "hf-broker/v0.4.0";
15380
- var DEFAULT_RUNTIME_IMAGE_REPOSITORY = "ghcr.io/osolmaz/mlclaw";
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,20 +1,20 @@
1
1
  {
2
2
  "name": "mlclaw",
3
- "version": "0.4.3",
3
+ "version": "0.4.5",
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.0",
9
- "runtimeImageRepository": "ghcr.io/osolmaz/mlclaw"
8
+ "brokerkitPluginVersion": "0.3.1",
9
+ "runtimeImageRepository": "ghcr.io/huggingface/mlclaw"
10
10
  },
11
11
  "repository": {
12
12
  "type": "git",
13
- "url": "https://github.com/osolmaz/mlclaw"
13
+ "url": "https://github.com/huggingface/mlclaw"
14
14
  },
15
- "homepage": "https://github.com/osolmaz/mlclaw#readme",
15
+ "homepage": "https://github.com/huggingface/mlclaw#readme",
16
16
  "bugs": {
17
- "url": "https://github.com/osolmaz/mlclaw/issues"
17
+ "url": "https://github.com/huggingface/mlclaw/issues"
18
18
  },
19
19
  "type": "module",
20
20
  "bin": {