From 64ae3c744cc7b306eb04377b8786e4fda0606ab0 Mon Sep 17 00:00:00 2001 From: Stan Date: Fri, 28 Aug 2026 20:13:19 +0500 Subject: [PATCH] fix(aimlapi): ready the plugin for third-party ClawHub publishing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upstream (openclaw/openclaw#49177) told us to publish this as a third-party ClawHub plugin instead of merging into core. Two gaps blocked that: - No `icon` in openclaw.plugin.json — ClawHub falls back to a generic icon without one. Added AIMLAPI's hosted logo mark. - package.json was still scoped `@openclaw/aimlapi-provider` and marked `private: true` — ClawHub publishing is owner-scoped (docs/clawhub/ publishing.md), so publishing under the `@openclaw` scope would be rejected outright (we don't control that namespace). Renamed to `@aimlapi/openclaw-provider`, dropped `private`, added the `compat.pluginApi` / `build.openclawVersion` fields ClawHub requires, and pointed `repository`/`install.*Spec` at our own fork. Structurally validated: `clawhub package publish extensions/aimlapi --dry-run` packs clean (15 files, 66.6 KB) with the corrected name/compat resolved from this repo. Actual publish still needs `clawhub login` under an @aimlapi-owned ClawHub account — not something this session can do. --- extensions/aimlapi/openclaw.plugin.json | 2 ++ extensions/aimlapi/package.json | 29 ++++++++++++++++++++----- 2 files changed, 25 insertions(+), 6 deletions(-) diff --git a/extensions/aimlapi/openclaw.plugin.json b/extensions/aimlapi/openclaw.plugin.json index 9485d51e13acf..443eb8773c04d 100644 --- a/extensions/aimlapi/openclaw.plugin.json +++ b/extensions/aimlapi/openclaw.plugin.json @@ -1,6 +1,8 @@ { "id": "aimlapi", "name": "AI/ML API Provider", + "description": "Chat, model discovery, video generation, and web search through AI/ML API — one key, 300+ models.", + "icon": "https://cdn.prod.website-files.com/65b8f36fa600366bc7cf9a67/68823171a2a0e523e03b0752_Logo%20Icon.png", "providers": ["aimlapi"], "providerAuthEnvVars": { "aimlapi": ["AIMLAPI_API_KEY"] diff --git a/extensions/aimlapi/package.json b/extensions/aimlapi/package.json index 06d3cfe1f8fe4..53b663cff5099 100644 --- a/extensions/aimlapi/package.json +++ b/extensions/aimlapi/package.json @@ -1,8 +1,7 @@ { - "name": "@openclaw/aimlapi-provider", - "version": "2026.3.14", - "private": true, - "description": "OpenClaw AIMLAPI provider plugin", + "name": "@aimlapi/openclaw-provider", + "version": "1.0.0", + "description": "AI/ML API provider plugin for OpenClaw — chat, model discovery, video generation, and web search through a single API key.", "type": "module", "dependencies": { "@sinclair/typebox": "0.34.48" @@ -10,6 +9,24 @@ "openclaw": { "extensions": [ "./index.ts" - ] - } + ], + "install": { + "clawhubSpec": "clawhub:@aimlapi/openclaw-provider", + "npmSpec": "@aimlapi/openclaw-provider", + "defaultChoice": "clawhub" + }, + "compat": { + "pluginApi": ">=2026.8.1" + }, + "build": { + "openclawVersion": "2026.8.1", + "bundledDist": false + } + }, + "repository": { + "type": "git", + "url": "https://github.com/aimlapi/openclaw-aimlapi" + }, + "homepage": "https://aimlapi.com", + "license": "MIT" }