Files
openclaw/extensions/qqbot/package.json
T
2026-08-07 18:44:12 -07:00

107 lines
2.5 KiB
JSON

{
"name": "@openclaw/qqbot",
"version": "2026.8.1",
"private": false,
"description": "OpenClaw QQ Bot channel plugin for group and direct-message workflows.",
"repository": {
"type": "git",
"url": "https://github.com/openclaw/openclaw"
},
"type": "module",
"dependencies": {
"@tencent-connect/qqbot-connector": "1.2.0",
"mpg123-decoder": "1.0.3",
"p-map": "7.0.6",
"pretty-ms": "9.3.0",
"silk-wasm": "3.7.1",
"ws": "8.21.1",
"zod": "4.4.3"
},
"devDependencies": {
"@openclaw/plugin-sdk": "workspace:*",
"@types/ws": "8.18.1",
"openclaw": "workspace:*"
},
"peerDependencies": {
"openclaw": ">=2026.8.1"
},
"peerDependenciesMeta": {
"openclaw": {
"optional": true
}
},
"openclaw": {
"extensions": [
"./index.ts"
],
"setupEntry": "./setup-entry.ts",
"channel": {
"id": "qqbot",
"configuredState": {
"env": {
"anyOf": [
"QQBOT_APP_ID",
"QQBOT_CLIENT_SECRET"
]
}
},
"approvalFlags": [
"native"
],
"label": "QQ Bot",
"selectionLabel": "QQ Bot (Official API)",
"detailLabel": "QQ Bot",
"docsPath": "/channels/qqbot",
"docsLabel": "qqbot",
"blurb": "connect to QQ via official QQ Bot API with group chat and direct message support.",
"systemImage": "bubble.left.and.bubble.right",
"setup": {
"fields": [
{
"key": "token",
"kind": "string",
"sensitive": true,
"cli": {
"flags": "--token <appId:secret>",
"description": "QQBot app id and client secret"
}
},
{
"key": "tokenFile",
"kind": "string",
"sensitive": true,
"cli": {
"flags": "--token-file <path>",
"description": "QQBot client secret file"
}
},
{
"key": "useEnv",
"kind": "boolean",
"cli": {
"flags": "--use-env",
"description": "Use QQBOT environment credentials"
}
}
]
}
},
"install": {
"npmSpec": "@openclaw/qqbot",
"localPath": "extensions/qqbot",
"defaultChoice": "npm",
"minHostVersion": ">=2026.4.10"
},
"compat": {
"pluginApi": ">=2026.8.1"
},
"build": {
"openclawVersion": "2026.8.1"
},
"release": {
"publishToClawHub": true,
"publishToNpm": true
}
}
}