diff --git a/src/infra/system-presence.ts b/src/infra/system-presence.ts index c8e7ac2624..de7db52011 100644 --- a/src/infra/system-presence.ts +++ b/src/infra/system-presence.ts @@ -50,7 +50,7 @@ function resolvePrimaryIPv4(): string | undefined { function initSelfPresence() { const host = os.hostname(); const ip = resolvePrimaryIPv4() ?? undefined; - const version = process.env.OPENCLAW_VERSION ?? process.env.npm_package_version ?? "unknown"; + const version = process.env.OPENCLAW_VERSION ?? process.env.OPENCLAW_SERVICE_VERSION ?? process.env.npm_package_version ?? "unknown"; const modelIdentifier = (() => { const p = os.platform(); if (p === "darwin") {