feat(plugins): add package.json and openclaw.plugin.json for OpenClaw compatibility

- Add package.json with openclaw.extensions field for all three plugins
- Add openclaw.plugin.json manifest files
- Plugins: zclaw-chinese-models, zclaw-feishu, zclaw-ui

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
iven
2026-03-12 00:27:47 +08:00
parent ef849c62ab
commit c00bcb11b6
6 changed files with 167 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
{
"id": "zclaw-chinese-models",
"name": "ZCLAW Chinese Models",
"version": "0.1.0",
"description": "Chinese AI model providers for ZCLAW: Zhipu GLM, Qwen, Kimi, MiniMax",
"author": "ZCLAW",
"entry": "index.ts",
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"zhipuApiKey": { "type": "string" },
"zhipuBaseUrl": { "type": "string" },
"qwenApiKey": { "type": "string" },
"qwenBaseUrl": { "type": "string" },
"kimiApiKey": { "type": "string" },
"kimiBaseUrl": { "type": "string" },
"minimaxApiKey": { "type": "string" },
"minimaxBaseUrl": { "type": "string" }
}
},
"uiHints": {
"zhipuApiKey": { "label": "智谱 API Key", "sensitive": true },
"zhipuBaseUrl": { "label": "智谱 Base URL", "placeholder": "https://open.bigmodel.cn/api/paas/v4" },
"qwenApiKey": { "label": "通义千问 API Key", "sensitive": true },
"qwenBaseUrl": { "label": "通义千问 Base URL", "placeholder": "https://dashscope.aliyuncs.com/compatible-mode/v1" },
"kimiApiKey": { "label": "Kimi API Key", "sensitive": true },
"kimiBaseUrl": { "label": "Kimi Base URL", "placeholder": "https://api.moonshot.cn/v1" },
"minimaxApiKey": { "label": "MiniMax API Key", "sensitive": true },
"minimaxBaseUrl": { "label": "MiniMax Base URL", "placeholder": "https://api.minimax.chat/v1" }
}
}

View File

@@ -0,0 +1,34 @@
{
"name": "@zclaw/chinese-models",
"version": "0.1.0",
"description": "Chinese AI model providers for ZCLAW: Zhipu GLM, Qwen, Kimi, MiniMax",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build"
},
"keywords": [
"openclaw",
"plugin",
"zclaw",
"chinese",
"ai",
"glm",
"qwen",
"kimi",
"minimax"
],
"author": "ZCLAW Team",
"license": "MIT",
"openclaw": {
"type": "provider",
"entry": "index.ts",
"extensions": ["./index.ts"]
},
"files": [
"dist",
"index.ts",
"plugin.json"
]
}

View File

@@ -0,0 +1,27 @@
{
"id": "zclaw-feishu",
"name": "ZCLAW Feishu Channel",
"version": "0.1.0",
"description": "Feishu (飞书/Lark) messaging channel plugin for OpenClaw",
"author": "ZCLAW",
"entry": "index.ts",
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"appId": { "type": "string" },
"appSecret": { "type": "string" },
"verificationToken": { "type": "string" },
"encryptKey": { "type": "string" },
"webhookUrl": { "type": "string" }
},
"required": ["appId", "appSecret"]
},
"uiHints": {
"appId": { "label": "飞书 App ID", "placeholder": "cli_xxxxxxxxxxxx" },
"appSecret": { "label": "飞书 App Secret", "sensitive": true },
"verificationToken": { "label": "Verification Token", "sensitive": true },
"encryptKey": { "label": "Encrypt Key", "sensitive": true },
"webhookUrl": { "label": "Webhook URL (可选)", "placeholder": "https://your-server/feishu/webhook" }
}
}

View File

@@ -0,0 +1,35 @@
{
"name": "@zclaw/feishu",
"version": "0.1.0",
"description": "Feishu (Lark) channel plugin for ZCLAW",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build"
},
"keywords": [
"openclaw",
"plugin",
"zclaw",
"feishu",
"lark",
"channel",
"im"
],
"author": "ZCLAW Team",
"license": "MIT",
"dependencies": {
"axios": "^1.6.0"
},
"openclaw": {
"type": "channel",
"entry": "index.ts",
"extensions": ["./index.ts"]
},
"files": [
"dist",
"index.ts",
"plugin.json"
]
}

View File

@@ -0,0 +1,8 @@
{
"id": "zclaw-ui",
"name": "ZCLAW UI Extensions",
"version": "0.1.0",
"description": "Custom Gateway RPC methods for ZCLAW Tauri desktop UI",
"author": "ZCLAW",
"entry": "index.ts"
}

View File

@@ -0,0 +1,31 @@
{
"name": "@zclaw/ui",
"version": "0.1.0",
"description": "UI extension RPC methods for ZCLAW Tauri desktop app",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build"
},
"keywords": [
"openclaw",
"plugin",
"zclaw",
"ui",
"rpc",
"desktop"
],
"author": "ZCLAW Team",
"license": "MIT",
"openclaw": {
"type": "rpc",
"entry": "index.ts",
"extensions": ["./index.ts"]
},
"files": [
"dist",
"index.ts",
"plugin.json"
]
}