From b7c24f307b3a75c995d24529dafa96f342a71024 Mon Sep 17 00:00:00 2001 From: Molecule AI App-FE Date: Fri, 15 May 2026 06:20:07 +0000 Subject: [PATCH 1/2] fix(external-workspace): pin molecule-ai-workspace-runtime>=0.1.999 in OpenClaw snippet Adds a version pin to the pip install command in externalOpenClawTemplate so users with older molecule-ai-workspace-runtime (e.g. v0.1.17) get the molecule-mcp console script automatically. The molecule-mcp wrapper is required for the workspace to stay ALIVE on canvas: it POSTs /registry/register on startup + runs a 20s heartbeat thread. Older versions only ship a2a_mcp_server which does NOT heartbeat, causing the workspace to show OFFLINE within 60-90s even though tools appear to work. Fixes molecule-core#1141 (and closes duplicates #1139, #1140). --- workspace-server/internal/handlers/external_connection.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/workspace-server/internal/handlers/external_connection.go b/workspace-server/internal/handlers/external_connection.go index 361b828df..598a312ff 100644 --- a/workspace-server/internal/handlers/external_connection.go +++ b/workspace-server/internal/handlers/external_connection.go @@ -646,8 +646,12 @@ const externalOpenClawTemplate = `# OpenClaw MCP config — outbound tool path. # external machine today, pair with the Python SDK tab. # 1. Install openclaw CLI + the workspace runtime wheel: +# The version pin (>=0.1.999) ensures the "molecule-mcp" console +# script is present — it is what keeps the workspace ALIVE on canvas +# (register-on-startup + 20s heartbeat). Older versions only ship +# a2a_mcp_server which does not heartbeat. npm install -g openclaw@latest -pip install molecule-ai-workspace-runtime +pip install "molecule-ai-workspace-runtime>=0.1.999" # 2. Onboard openclaw against your model provider (one-time setup). # --non-interactive needs an explicit --provider + --model so it -- 2.52.0 From 92ba8f3dc3a4faca1a8ad8c85a65953ba9cbd643 Mon Sep 17 00:00:00 2001 From: Molecule AI App-FE Date: Fri, 15 May 2026 07:03:23 +0000 Subject: [PATCH 2/2] ci: retrigger CI run -- 2.52.0