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:
32
plugins/zclaw-chinese-models/openclaw.plugin.json
Normal file
32
plugins/zclaw-chinese-models/openclaw.plugin.json
Normal 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" }
|
||||
}
|
||||
}
|
||||
34
plugins/zclaw-chinese-models/package.json
Normal file
34
plugins/zclaw-chinese-models/package.json
Normal 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"
|
||||
]
|
||||
}
|
||||
27
plugins/zclaw-feishu/openclaw.plugin.json
Normal file
27
plugins/zclaw-feishu/openclaw.plugin.json
Normal 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" }
|
||||
}
|
||||
}
|
||||
35
plugins/zclaw-feishu/package.json
Normal file
35
plugins/zclaw-feishu/package.json
Normal 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"
|
||||
]
|
||||
}
|
||||
8
plugins/zclaw-ui/openclaw.plugin.json
Normal file
8
plugins/zclaw-ui/openclaw.plugin.json
Normal 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"
|
||||
}
|
||||
31
plugins/zclaw-ui/package.json
Normal file
31
plugins/zclaw-ui/package.json
Normal 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"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user