mlclaw 0.3.7 → 0.3.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
@@ -2,7 +2,7 @@ ARG OPENCLAW_VERSION=2026.7.1
2
2
  ARG OPENCLAW_BASE_IMAGE=ghcr.io/openclaw/openclaw:${OPENCLAW_VERSION}
3
3
  ARG BROKERKIT_PLUGIN_VERSION=0.2.1
4
4
  ARG BROKERKIT_VERSION=hf-broker/v0.1.0
5
- ARG MLCLAW_RUNTIME_IMAGE=ghcr.io/osolmaz/mlclaw:0.3.7-openclaw-2026.7.1
5
+ ARG MLCLAW_RUNTIME_IMAGE=ghcr.io/osolmaz/mlclaw:0.3.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/dist/mlclaw.mjs CHANGED
@@ -15720,7 +15720,7 @@ async function bootstrap(opts, runtime) {
15720
15720
  if (deployedSpaceRuntime) {
15721
15721
  runtime.stdout.log(`Space runtime: ${deployedSpaceRuntime}`);
15722
15722
  }
15723
- runtime.prompt.outro(gatewayLocation === "space" ? `Restart requested. Your agent will soon be available at ${spacePublicUrl(names.space)}.` : "Local gateway start requested.");
15723
+ runtime.prompt.outro(gatewayLocation === "space" ? `Deployment requested. Your agent will soon be available at ${spacePublicUrl(names.space)}.` : "Local gateway start requested.");
15724
15724
  }
15725
15725
  function spacePublicUrl(repoId) {
15726
15726
  return `https://${repoId.replace("/", "-")}.hf.space`;
@@ -16122,7 +16122,7 @@ async function deploySpaceGateway(params) {
16122
16122
  } else {
16123
16123
  runtime.stdout.log("Keeping legacy broad Hub token secrets until an HF Broker or Router credential is configured");
16124
16124
  }
16125
- await hub.restartSpace(manifest.space, true);
16125
+ runtime.stdout.log(`Space deployment triggered: ${manifest.space}`);
16126
16126
  return { runtimeImage: spaceRuntimeRef };
16127
16127
  }
16128
16128
  async function startLocalGateway(params) {
@@ -16708,7 +16708,7 @@ async function update(repoId, opts, hub, hfToken, runtime) {
16708
16708
  if (canonicalTemplate) {
16709
16709
  await hub.addSpaceVariable(repoId, "MLCLAW_CANONICAL_SPACE_ID", canonicalTemplateSpaceId(runtime.env));
16710
16710
  await doctor(repoId, { fix: true }, hub, runtime);
16711
- await hub.restartSpace(repoId, true);
16711
+ runtime.stdout.log(`Space deployment triggered: ${repoId}`);
16712
16712
  return;
16713
16713
  }
16714
16714
  await hub.addSpaceVariable(repoId, "MLCLAW_GATEWAY_LOCATION", "space");
@@ -16723,7 +16723,7 @@ async function update(repoId, opts, hub, hfToken, runtime) {
16723
16723
  await ensureSpaceStateVolume(hub, repoId, bucket);
16724
16724
  }
16725
16725
  await doctor(repoId, { fix: true }, hub, runtime);
16726
- await hub.restartSpace(repoId, true);
16726
+ runtime.stdout.log(`Space deployment triggered: ${repoId}`);
16727
16727
  }
16728
16728
  async function ensureUpdateRouterToken(params) {
16729
16729
  if (!isHuggingFaceRouterModel(params.model)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mlclaw",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "license": "MIT",
5
5
  "config": {
6
6
  "openclawVersion": "2026.7.1",