openclaw/extensions/lark/package.json
devsh e89378a0e7 feat(lark): add Feishu/Lark channel plugin with security fixes
- Initialize runtime in register() to fix 'runtime not initialized' error
- Move clawdbot from dependencies to devDependencies/peerDependencies
- Add security adapter with DM policy (pairing, allowlist, open)
- Add pairing adapter for user approval flow
- Add status adapter for health checks and diagnostics
- Add groups adapter for mention/tool policy resolution
- Add reload config prefixes for hot reload support
- Add outbound chunker for long messages
- Fix verification token enforcement in webhook handler
- Add allowFrom validation before processing messages
- Add comprehensive input validation in webhook handler
- Improve type safety and error handling throughout
2026-01-26 17:29:10 +08:00

47 lines
1021 B
JSON

{
"name": "@clawdbot/lark",
"version": "1.0.0",
"type": "module",
"description": "Clawdbot Feishu/Lark channel plugin",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build"
},
"clawdbot": {
"extensions": [
"./index.ts"
],
"channel": {
"id": "lark",
"label": "Feishu / Lark",
"selectionLabel": "Feishu / Lark (Open Platform)",
"docsPath": "/channels/lark",
"docsLabel": "lark",
"blurb": "Feishu Open Platform bot integration.",
"aliases": [
"feishu"
],
"order": 70
},
"install": {
"npmSpec": "@clawdbot/lark",
"localPath": "extensions/lark",
"defaultChoice": "npm"
}
},
"dependencies": {
"express": "^5.2.1"
},
"devDependencies": {
"@types/express": "^5.0.0",
"@types/node": "^22.0.0",
"clawdbot": "workspace:*",
"typescript": "^5.7.3"
},
"peerDependencies": {
"clawdbot": "*"
}
}