mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
c0c30d9378
Add Lark/Feishu webhook trigger with 10 event handlers: - IM events: messages, member changes, reactions, read receipts - Calendar events: event changes - Approval events: approval status updates - Drive events: file creation - Contact events: employee onboarding, department creation All events properly extract fields from Lark SDK models with: - Explicit field declarations (no __dict__ usage) - Correct data types (integers/booleans preserved) - Human-friendly labels in EN/ZH/JA languages - Organized subdirectory structure by domain 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
11 lines
198 B
Python
11 lines
198 B
Python
import sys
|
|
|
|
sys.path.append("../..") # ENSURE THE SOURCE CODE IS FOUND
|
|
|
|
from dify_plugin import DifyPluginEnv, Plugin
|
|
|
|
plugin = Plugin(DifyPluginEnv())
|
|
|
|
if __name__ == "__main__":
|
|
plugin.run()
|