plugin.yaml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. name: mattermost-platform
  2. label: Mattermost
  3. kind: platform
  4. version: 1.0.0
  5. description: >
  6. Mattermost gateway adapter for Hermes Agent.
  7. Connects to a self-hosted or cloud Mattermost instance via the v4 REST
  8. API + WebSocket event stream and relays messages between Mattermost
  9. channels/DMs and the Hermes agent. Supports thread-mode replies, native
  10. file uploads, channel-scoped allowlists, and home-channel cron delivery.
  11. author: NousResearch
  12. requires_env:
  13. - name: MATTERMOST_URL
  14. description: "Mattermost server URL (e.g. https://mm.example.com)"
  15. prompt: "Mattermost server URL"
  16. password: false
  17. - name: MATTERMOST_TOKEN
  18. description: "Bot account token or personal-access token"
  19. prompt: "Mattermost bot token"
  20. password: true
  21. optional_env:
  22. - name: MATTERMOST_ALLOWED_USERS
  23. description: "Comma-separated Mattermost user IDs allowed to talk to the bot"
  24. prompt: "Allowed users (comma-separated)"
  25. password: false
  26. - name: MATTERMOST_ALLOW_ALL_USERS
  27. description: "Allow any Mattermost user to trigger the bot (dev only)"
  28. prompt: "Allow all users? (true/false)"
  29. password: false
  30. - name: MATTERMOST_HOME_CHANNEL
  31. description: "Default channel ID for cron / notification delivery"
  32. prompt: "Home channel ID"
  33. password: false
  34. - name: MATTERMOST_REPLY_MODE
  35. description: "How replies are sent: 'thread' (nested) or 'off' (flat). Default: off."
  36. prompt: "Reply mode (thread|off)"
  37. password: false
  38. - name: MATTERMOST_REQUIRE_MENTION
  39. description: "Require @bot mention in channels (default true). Set false for free-response everywhere."
  40. prompt: "Require @mention? (true/false)"
  41. password: false
  42. - name: MATTERMOST_FREE_RESPONSE_CHANNELS
  43. description: "Comma-separated channel IDs where @mention is not required."
  44. prompt: "Free-response channel IDs (comma-separated)"
  45. password: false
  46. - name: MATTERMOST_ALLOWED_CHANNELS
  47. description: "If set, the bot only responds in these channels (whitelist)."
  48. prompt: "Allowed channel IDs (comma-separated)"
  49. password: false