plugin.yaml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. name: chatto-platform
  2. label: Chatto
  3. kind: platform
  4. version: 1.0.1
  5. description: >
  6. Chatto gateway adapter for Hermes Agent.
  7. Connects to a Chatto server (cloud-hosted or self-hosted team chat) and relays messages
  8. between rooms/DMs and the Hermes agent. Uses the Chatto ConnectRPC API
  9. (JSON over HTTP) for outbound messages and the Chatto realtime WebSocket
  10. protocol (binary protobuf) for inbound events. Nothing to install:
  11. chattolib[realtime] and its dependencies are vendored into the plugin.
  12. author: Paul Klumpp
  13. provides_tools:
  14. - chatto_send_dm
  15. - chatto_send_room
  16. - chatto_list_rooms
  17. - chatto_get_message
  18. - chatto_get_history
  19. requires_env:
  20. - name: CHATTO_BASE_URL
  21. description: "Base URL of the Chatto server (e.g. https://chat.example.com) leave blank for ChattoHQ (https://chat.chatto.run)"
  22. prompt: "Chatto server Base URL"
  23. password: false
  24. - name: CHATTO_TOKEN
  25. description: "Bot API key (e.g. cht_BK_...) — generate one in Chatto under Settings → Bot Accounts"
  26. prompt: "Chatto bot token"
  27. password: true
  28. optional_env:
  29. - name: CHATTO_HOME_CHANNEL
  30. description: "Room ID for cron / notification delivery (default: none — context-less deliveries are not sent without it)"
  31. prompt: "Home room ID (or empty)"
  32. password: false
  33. # Asked before CHATTO_ALLOWED_USERS: a "yes" here makes the user list moot,
  34. # and the two are mutually exclusive (hermes_validate_config rejects both).
  35. - name: CHATTO_ALLOW_ALL_USERS
  36. description: "Allow any Chatto user to talk to the agent (default: false)"
  37. prompt: "Allow all users? (true/false)"
  38. password: false
  39. - name: CHATTO_ALLOWED_USERS
  40. description: "Comma-separated Chatto logins or user IDs allowed to talk to the agent (default: none — denies everyone unless CHATTO_ALLOW_ALL_USERS=true)"
  41. prompt: "Allowed users (comma-separated)"
  42. password: false
  43. - name: CHATTO_REQUIRE_MENTION_ROOMS
  44. description: "Comma-separated room IDs where the bot answers only when addressed (@name, @all or @here); rooms on neither this nor CHATTO_OPTIONAL_MENTION_ROOMS stay silent — read-only, never seeded into context, never answered. DMs always get a response. (default: none — the listed rooms answer only mentions)"
  45. prompt: "Mention-required room IDs (comma-separated)"
  46. password: false
  47. - name: CHATTO_AUTO_THREAD
  48. description: "Auto-create threads for replies in rooms (default: true). Set false to reply in the room timeline."
  49. prompt: "Auto-thread replies? (true/false)"
  50. password: false
  51. - name: CHATTO_OPTIONAL_MENTION_ROOMS
  52. description: "Comma-separated room IDs where the bot answers every message, addressed or not; rooms on neither this nor CHATTO_REQUIRE_MENTION_ROOMS stay silent — read-only, never seeded into context, never answered. (default: none — the listed rooms answer everything)"
  53. prompt: "Free-response room IDs (comma-separated)"
  54. password: false
  55. - name: CHATTO_REACTIONS
  56. description: "Add 👀/✅/❌/🚫 reactions to messages during processing (default: true)"
  57. prompt: "Enable message reactions? (true/false)"
  58. password: false
  59. - name: CHATTO_EDIT_DISPATCH
  60. description: "Treat edits of chat messages as corrections: a message being processed is restarted with the edited text, a message the bot ignored (e.g. missing @mention) is re-checked against its new text. Already-answered messages stay answered, and edits older than CHATTO_EDIT_WINDOW are ignored. (default: true)"
  61. prompt: "Process message edits as corrections? (true/false)"
  62. password: false
  63. - name: CHATTO_EDIT_WINDOW
  64. description: "How long after posting an edit may still land, in seconds; older edits are ignored (default: 300)"
  65. prompt: "Edit window in seconds (or empty for 300)"
  66. password: false