From 151ddd624bd368e6f4345207c8ea7d9e6521a619 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Fri, 30 Jan 2026 05:01:46 +0100 Subject: [PATCH] fix: detect legacy gateway launchd labels --- package.json | 2 +- src/daemon/inspect.ts | 14 +++++++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6e39cd31e0..b6328437cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "openclaw", - "version": "2026.1.29-beta.6", + "version": "2026.1.29-beta.7", "description": "WhatsApp gateway CLI (Baileys web) with Pi RPC agent", "type": "module", "main": "dist/index.js", diff --git a/src/daemon/inspect.ts b/src/daemon/inspect.ts index 1018635ee8..c1e83305c7 100644 --- a/src/daemon/inspect.ts +++ b/src/daemon/inspect.ts @@ -147,8 +147,20 @@ async function scanLaunchdDir(params: { continue; } const marker = detectMarker(contents); - if (!marker) continue; const label = tryExtractPlistLabel(contents) ?? labelFromName; + if (!marker) { + const legacyLabel = isLegacyLabel(labelFromName) || isLegacyLabel(label); + if (!legacyLabel) continue; + results.push({ + platform: "darwin", + label, + detail: `plist: ${fullPath}`, + scope: params.scope, + marker: isLegacyLabel(label) ? "clawdbot" : "moltbot", + legacy: true, + }); + continue; + } if (isIgnoredLaunchdLabel(label)) continue; if (marker === "openclaw" && isOpenClawGatewayLaunchdService(label, contents)) continue; results.push({