plugin.yaml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. name: dingtalk-platform
  2. label: DingTalk
  3. kind: platform
  4. version: 1.0.0
  5. description: >
  6. DingTalk gateway adapter for Hermes Agent.
  7. Connects to DingTalk via the dingtalk-stream SDK (Stream Mode) and relays
  8. messages between DingTalk chats and the Hermes agent. Supports text, images,
  9. audio, video, rich text, files, group @mention gating, free-response chats,
  10. and per-user allowlists.
  11. author: NousResearch
  12. requires_env:
  13. - name: DINGTALK_CLIENT_ID
  14. description: "DingTalk app key (Client ID)"
  15. prompt: "DingTalk Client ID (app key)"
  16. url: "https://open-dev.dingtalk.com"
  17. password: false
  18. - name: DINGTALK_CLIENT_SECRET
  19. description: "DingTalk app secret (Client Secret)"
  20. prompt: "DingTalk Client Secret"
  21. url: "https://open-dev.dingtalk.com"
  22. password: true
  23. optional_env:
  24. - name: DINGTALK_WEBHOOK_URL
  25. description: "Static robot webhook URL for cross-platform / cron delivery"
  26. prompt: "DingTalk robot webhook URL (optional)"
  27. password: false
  28. - name: DINGTALK_ALLOWED_USERS
  29. description: "Comma-separated staff/sender IDs allowed to talk to the bot (* = any)"
  30. prompt: "Allowed users (comma-separated)"
  31. password: false
  32. - name: DINGTALK_HOME_CHANNEL
  33. description: "Default conversation ID for cron / notification delivery"
  34. prompt: "Home channel ID"
  35. password: false
  36. - name: DINGTALK_HOME_CHANNEL_NAME
  37. description: "Display name for the DingTalk home channel"
  38. prompt: "Home channel display name"
  39. password: false