From b82ce1cb025f602fddbe2c8d7271f5da238bef2f Mon Sep 17 00:00:00 2001 From: Haakam Aujla Date: Wed, 22 Jul 2026 09:36:50 +0000 Subject: [PATCH] Add required openclaw.build metadata for ClawHub publishing ClawHub's package validation requires both openclaw.compat.pluginApi and openclaw.build.openclawVersion in package.json for external code plugins. Only the former was present, so `clawhub package publish` rejected the package with "openclaw.build.openclawVersion is required for external code plugins published to ClawHub." Add the openclaw.build block (openclawVersion + pluginSdkVersion) and compat.minGatewayVersion, pinned to the openclaw version this plugin builds and tests against. Co-Authored-By: Claude Opus 4.8 (1M context) --- package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index f8edb58..f3df935 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,12 @@ "quickstartAllowFrom": true }, "compat": { - "pluginApi": ">=2026.7.2-beta.3" + "pluginApi": ">=2026.7.2-beta.3", + "minGatewayVersion": "2026.7.2-beta.3" + }, + "build": { + "openclawVersion": "2026.7.2-beta.3", + "pluginSdkVersion": "2026.7.2-beta.3" }, "install": { "npmSpec": "@openclaw/agentmail",