openclaw/extensions/clawdbot-plugin-webhook-server/clawdbot.plugin.json
1bytesweetheart b18c6c1a84 feat(channels): add WeChat Official Account support
This PR introduces a new extension @haiyanfengli-llc/webhook-server that adds support for WeChat Official Accounts (Weixin Service/Subscription Accounts).

It works by exposing a webhook server that interfaces with a self-hosted WeChat Bridge, allowing Clawdbot to send and receive messages from WeChat users.

Key Changes:

Added extensions/wechat with the plugin implementation.
Implemented fastify server for efficient webhook handling.
Added full documentation in
PLUGIN_USAGE.md
.
AI/Vibe-Coded:

 AI-Assisted: Yes (Google Antigravity)
 Degree of Testing: Lightly tested (Verified with local WeChat Bridge and test account)
 Understanding: Confirmed (I understand how the webhook/bridge architecture works)
Related Links:

Companion Bridge Repository
2026-01-27 21:54:10 +08:00

65 lines
1.9 KiB
JSON

{
"id": "webhook-server",
"name": "Webhook Server",
"version": "1.0.1",
"description": "Exposes a webhook HTTP server for receiving external messages and triggering agent tasks",
"author": "",
"license": "MIT",
"main": "dist/index.js",
"configSchema": {
"type": "object",
"properties": {
"port": {
"type": "number",
"default": 8765,
"description": "Port number for the webhook server"
},
"host": {
"type": "string",
"default": "0.0.0.0",
"description": "Host address to bind to"
},
"authToken": {
"type": "string",
"description": "Authentication token for incoming requests (Bearer token). Auto-generated if not provided."
},
"timeout": {
"type": "number",
"default": 300000,
"description": "Maximum time (ms) to wait for agent task completion"
},
"agentId": {
"type": "string",
"default": "default",
"description": "Agent ID to use for processing messages (e.g., 'default', 'main')"
}
},
"required": []
},
"configDefaults": {
"port": 8765,
"host": "0.0.0.0",
"authToken": "$auto:uuid",
"timeout": 300000,
"agentId": "default"
},
"uiHints": {
"authToken": {
"label": "Auth Token",
"sensitive": true,
"placeholder": "Auto-generated secure token"
},
"port": {
"label": "Server Port",
"placeholder": "8765"
},
"host": {
"label": "Bind Host",
"placeholder": "0.0.0.0"
},
"timeout": {
"label": "Task Timeout (ms)",
"placeholder": "300000"
}
}
}