{"_id":"@agentxin-ai/plugin-lark","_rev":"4-536856ff6079eca0906cb03641285413","name":"@agentxin-ai/plugin-lark","dist-tags":{"latest":"0.0.22"},"versions":{"0.0.19":{"name":"@agentxin-ai/plugin-lark","version":"0.0.19","_id":"@agentxin-ai/plugin-lark@0.0.19","maintainers":[{"name":"agentxin-ai","email":"1304040880@qq.com"}],"homepage":"https://github.com/agentxin-ai/agentxin-plugins#readme","bugs":{"url":"https://github.com/agentxin-ai/agentxin-plugins/issues"},"dist":{"shasum":"665603e7bb31cc1ed78be12c70d922ea67b1525c","tarball":"https://registry.npmjs.org/@agentxin-ai/plugin-lark/-/plugin-lark-0.0.19.tgz","fileCount":5,"integrity":"sha512-6BUeVtDv667EQD0l7pCX3Ar0RNh8gmTETrBallAzOXxFxYuAgfMtDjP3/jqAD36zqYPp9ZsSv79gFpmzigIi/w==","signatures":[{"sig":"MEUCICkkNe3DUccczK1H2fQXzabLrv4Wy5nszzUph4tvGzNXAiEA/oNaWpIjqMB82BhgqsBMkhaBU9ApV0gA+KqI1s7uyeQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7610},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","@agentxin-plugins-starter/source":"./src/index.ts"},"./package.json":"./package.json"},"_npmUser":{"name":"agentxin-ai","email":"1304040880@qq.com"},"agentxin":{"plugin":{"level":"system"}},"repository":{"url":"git+https://github.com/agentxin-ai/agentxin-plugins.git","type":"git"},"_npmVersion":"10.9.4","description":"Lark (Feishu) integration plugin for AgentXin AI platform.","directories":{},"_nodeVersion":"22.22.0","dependencies":{"tslib":"^2.3.0","@metad/store":"3.6.7","@metad/ocap-core":"3.7.5","@larksuiteoapi/node-sdk":"^1.x"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^5.0.6","@types/passport":"^1.0.17"},"peerDependencies":{"zod":"3.25.67","bull":"^4.12.6","rxjs":"^7.8.1","axios":"1.12.2","chalk":"4.1.2","express":"4.21.2","i18next":"25.6.0","typeorm":"^0.3.24","date-fns":"^3.0.4","passport":"^0.6.0","@nestjs/core":"^11.1.6","@nestjs/cqrs":"^11.0.3","cache-manager":"^7.2.0","@nestjs/common":"^11.1.6","@langchain/core":"0.3.72","@nestjs/typeorm":"^11.0.0","@metad/contracts":"^3.8.1","@nestjs/passport":"^11.0.5","@langchain/langgraph":"0.4.7","@nestjs/cache-manager":"^3.0.1","@agentxin-ai/plugin-sdk":"^3.8.1","@agentxin-ai/chatkit-types":"^0.0.12"},"_npmOperationalInternal":{"tmp":"tmp/plugin-lark_0.0.19_1773917198349_0.7223324100796591","host":"s3://npm-registry-packages-npm-production"}},"0.0.20":{"name":"@agentxin-ai/plugin-lark","version":"0.0.20","_id":"@agentxin-ai/plugin-lark@0.0.20","maintainers":[{"name":"agentxin-ai","email":"1304040880@qq.com"}],"homepage":"https://github.com/agentxin-ai/agentxin-plugins#readme","bugs":{"url":"https://github.com/agentxin-ai/agentxin-plugins/issues"},"dist":{"shasum":"a417dd10ad60e790ef2d3b7f071a2128e3e02749","tarball":"https://registry.npmjs.org/@agentxin-ai/plugin-lark/-/plugin-lark-0.0.20.tgz","fileCount":116,"integrity":"sha512-fFtaJ8C/ukOxhrIhl73hbrWEdNJ+ea1w7uwwwzq7suSmo2KJfsLG3DPTd21TsIOOZgV6Kz7lvzXCQcP/0HSPDg==","signatures":[{"sig":"MEUCICc/KP7Iet4ei4QjbI49HRh+E57Grl0iCvm8SWg/fR5OAiEA9xd238ZcrbLj2XPFRBp7fMiM59L+7vbvtl0QZDYgHWw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":404808},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","xpert":{"plugin":{"level":"system"}},"module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","@xpert-plugins-starter/source":"./src/index.ts"},"./package.json":"./package.json"},"_npmUser":{"name":"agentxin-ai","email":"1304040880@qq.com"},"repository":{"url":"git+https://github.com/agentxin-ai/agentxin-plugins.git","type":"git"},"_npmVersion":"10.9.4","description":"Lark (Feishu) integration plugin for Xpert AI platform.","directories":{},"_nodeVersion":"22.22.0","dependencies":{"tslib":"^2.3.0","@metad/store":"3.6.7","@metad/ocap-core":"3.7.5","@larksuiteoapi/node-sdk":"^1.x"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^5.0.6","@types/passport":"^1.0.17"},"peerDependencies":{"zod":"3.25.67","bull":"^4.12.6","rxjs":"^7.8.1","axios":"1.12.2","chalk":"4.1.2","express":"4.21.2","i18next":"25.6.0","typeorm":"^0.3.24","date-fns":"^3.0.4","passport":"^0.6.0","@nestjs/core":"^11.1.6","@nestjs/cqrs":"^11.0.3","cache-manager":"^7.2.0","@nestjs/common":"^11.1.6","@langchain/core":"0.3.72","@nestjs/typeorm":"^11.0.0","@metad/contracts":"^3.8.1","@nestjs/passport":"^11.0.5","@langchain/langgraph":"0.4.7","@xpert-ai/plugin-sdk":"^3.8.1","@nestjs/cache-manager":"^3.0.1","@xpert-ai/chatkit-types":"^0.0.12"},"_npmOperationalInternal":{"tmp":"tmp/plugin-lark_0.0.20_1774327692698_0.6469522821078062","host":"s3://npm-registry-packages-npm-production"}},"0.0.21":{"name":"@agentxin-ai/plugin-lark","version":"0.0.21","_id":"@agentxin-ai/plugin-lark@0.0.21","maintainers":[{"name":"agentxin-ai","email":"1304040880@qq.com"}],"homepage":"https://github.com/agentxin-ai/agentxin-plugins#readme","bugs":{"url":"https://github.com/agentxin-ai/agentxin-plugins/issues"},"dist":{"shasum":"20ccedc6fc8223e6034ee475adc2ab5d949a02b2","tarball":"https://registry.npmjs.org/@agentxin-ai/plugin-lark/-/plugin-lark-0.0.21.tgz","fileCount":116,"integrity":"sha512-Nya6AnVoNtwzv8QqrmuLNLbS2+9YY7cXis1IFMEYS5EFT+f/9yHovRBKcNORasEWNnVYt/fduH9rVobGzrA/iA==","signatures":[{"sig":"MEYCIQDkQ67lSnb97e4a6u45X69j+abqQQ8dJcap1JkX7gDv5QIhAM4wqntAHlY3BMZcGMauLHdIExRpRvqKFvFz7iQwXCDb","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":405618},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","@agentxin-plugins-starter/source":"./src/index.ts"},"./package.json":"./package.json"},"_npmUser":{"name":"agentxin-ai","email":"1304040880@qq.com"},"agentxin":{"plugin":{"level":"system"}},"repository":{"url":"git+https://github.com/agentxin-ai/agentxin-plugins.git","type":"git"},"_npmVersion":"10.9.4","description":"Lark (Feishu) integration plugin for AgentXin AI platform.","directories":{},"_nodeVersion":"22.22.0","dependencies":{"tslib":"^2.3.0","@metad/store":"3.6.7","@metad/ocap-core":"3.7.5","@larksuiteoapi/node-sdk":"^1.x"},"_hasShrinkwrap":false,"devDependencies":{"@types/express":"^5.0.6","@types/passport":"^1.0.17"},"peerDependencies":{"zod":"3.25.67","bull":"^4.12.6","rxjs":"^7.8.1","axios":"1.12.2","chalk":"4.1.2","express":"4.21.2","i18next":"25.6.0","typeorm":"^0.3.24","date-fns":"^3.0.4","passport":"^0.6.0","@nestjs/core":"^11.1.6","@nestjs/cqrs":"^11.0.3","cache-manager":"^7.2.0","@nestjs/common":"^11.1.6","@langchain/core":"0.3.72","@nestjs/typeorm":"^11.0.0","@metad/contracts":"^3.8.1","@nestjs/passport":"^11.0.5","@langchain/langgraph":"0.4.7","@nestjs/cache-manager":"^3.0.1","@agentxin-ai/plugin-sdk":"^3.8.1","@agentxin-ai/chatkit-types":"^0.0.12"},"_npmOperationalInternal":{"tmp":"tmp/plugin-lark_0.0.21_1774575258314_0.011400553341589736","host":"s3://npm-registry-packages-npm-production"}},"0.0.22":{"name":"@agentxin-ai/plugin-lark","version":"0.0.22","repository":{"type":"git","url":"git+https://github.com/agentxin-ai/agentxin-plugins.git"},"type":"module","main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"@agentxin-plugins-starter/source":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"dependencies":{"@larksuiteoapi/node-sdk":"^1.x","@metad/ocap-core":"3.7.5","@metad/store":"3.6.7","tslib":"^2.3.0"},"devDependencies":{"@types/express":"^5.0.6","@types/passport":"^1.0.17"},"peerDependencies":{"zod":"3.25.67","@agentxin-ai/chatkit-types":"^0.0.12","@agentxin-ai/plugin-sdk":"^3.8.1","i18next":"25.6.0","@metad/contracts":"^3.8.1","@nestjs/common":"^11.1.6","axios":"1.12.2","chalk":"4.1.2","@langchain/core":"0.3.72","@nestjs/core":"^11.1.6","@nestjs/passport":"^11.0.5","express":"4.21.2","passport":"^0.6.0","@nestjs/cache-manager":"^3.0.1","@nestjs/cqrs":"^11.0.3","@nestjs/typeorm":"^11.0.0","bull":"^4.12.6","cache-manager":"^7.2.0","typeorm":"^0.3.24","date-fns":"^3.0.4","rxjs":"^7.8.1","@langchain/langgraph":"0.4.7"},"agentxin":{"plugin":{"level":"system"}},"_id":"@agentxin-ai/plugin-lark@0.0.22","description":"Lark (Feishu) integration plugin for AgentXin AI platform.","bugs":{"url":"https://github.com/agentxin-ai/agentxin-plugins/issues"},"homepage":"https://github.com/agentxin-ai/agentxin-plugins#readme","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-JC93asDyLMAhkNptqONq1rM8bv8u68abrMzjsP/8sCQgSnxVHyAA6hhSvD/Ah/OFfZnuhCiYys5jpTLyt0JINQ==","shasum":"195e7addcdbe168773627f680b1a455506c5e3dd","tarball":"https://registry.npmjs.org/@agentxin-ai/plugin-lark/-/plugin-lark-0.0.22.tgz","fileCount":116,"unpackedSize":405618,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCi8z08Zse6GEC/lbXJqMDn30IO+q6BbXtBgfTwfxv/fQIgEnOfUd+LtA1/yYQiOT8LULPY6+6Ioc25ujnKe+3G978="}]},"_npmUser":{"name":"agentxin-ai","email":"1304040880@qq.com"},"directories":{},"maintainers":[{"name":"agentxin-ai","email":"1304040880@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-lark_0.0.22_1775181869481_0.20827266359227026"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-19T10:46:38.233Z","modified":"2026-04-03T02:04:29.760Z","0.0.19":"2026-03-19T10:46:38.500Z","0.0.20":"2026-03-24T04:48:12.859Z","0.0.21":"2026-03-27T01:34:18.460Z","0.0.22":"2026-04-03T02:04:29.629Z"},"bugs":{"url":"https://github.com/agentxin-ai/agentxin-plugins/issues"},"homepage":"https://github.com/agentxin-ai/agentxin-plugins#readme","repository":{"type":"git","url":"git+https://github.com/agentxin-ai/agentxin-plugins.git"},"description":"Lark (Feishu) integration plugin for AgentXin AI platform.","maintainers":[{"name":"agentxin-ai","email":"1304040880@qq.com"}],"readme":"# @agentxin-ai/plugin-lark\n\nLark (Feishu) integration plugin for AgentXin AI platform.\n\n## Features\n\n- Bidirectional messaging with Lark (Feishu) platform\n- Webhook event handling (messages, card actions)\n- Send text, markdown, and interactive card messages\n- @mention detection in group chats\n- Message update support (streaming)\n- Middleware built-in notify tools (`LarkNotifyMiddleware`)\n\n## Installation\n\nThis plugin is loaded automatically when placed in the plugins directory.\n\n## Configuration\n\nConfigure the Lark integration in the AgentXin AI admin panel:\n\n- **App ID**: Your Lark app ID\n- **App Secret**: Your Lark app secret\n- **Verification Token**: Token for webhook verification\n- **Encrypt Key**: Key for message encryption (optional)\n- **Is Lark**: Set to true for international Lark, false for Feishu (China)\n\n## Webhook URL\n\n```\nPOST /api/lark/webhook/:integrationId\n```\n\n## Migration\n\n- `feishu_create_message` (builtin `feishu_message` toolset in `server-ai`) is deprecated.\n- Use `LarkNotifyMiddleware` tools instead:\n  - `lark_send_text_notification`\n  - `lark_send_rich_notification`\n  - `lark_update_message`\n  - `lark_recall_message`\n  - `lark_list_users`\n  - `lark_list_chats`\n- `integrationId` is resolved from middleware config (`configSchema.integrationId`).\n- Recipient resolution priority:\n  1. Middleware configured `recipient_id` (with optional `recipient_type`, defaults to `open_id`)\n  2. Tool call parameter `recipient_id` (defaults to `open_id` type)\n- Both middleware config and tool call support:\n  - Literal ID values\n  - System variable paths (e.g., `runtime.chatId`)\n  - Mustache templates (e.g., `{{channel.foo}}`)\n- **Note**: UI currently only exposes `open_id` as recipient_type option. Backend supports all types (`chat_id`, `open_id`, `user_id`, `union_id`, `email`) via direct configuration.\n\n## License\n\nAGPL-3.0\n","readmeFilename":"README.md"}