plugin.yaml 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. name: chatto-platform
  2. label: Chatto
  3. kind: platform
  4. version: 1.0.0
  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. No Python packages
  11. required beyond websockets.
  12. author: Chatto community guys
  13. requires_env:
  14. - name: CHATTO_BASE_URL
  15. description: "Base URL of the Chatto server (e.g. https://chat.example.com) leave blank for ChattoHQ (https://chat.chatto.run)"
  16. prompt: "Chatto server Base URL"
  17. password: false
  18. - name: CHATTO_LOGIN
  19. description: "Chatto login (username); leave blank only when you authenticate with CHATTO_TOKEN instead"
  20. prompt: "Chatto login"
  21. password: false
  22. - name: CHATTO_PASSWORD
  23. description: "Chatto password; leave blank only when you authenticate with CHATTO_TOKEN instead"
  24. prompt: "Chatto password"
  25. password: true
  26. optional_env:
  27. - name: CHATTO_TOKEN
  28. description: "Existing bearer token — alternative to CHATTO_LOGIN + CHATTO_PASSWORD (default: none)"
  29. prompt: "Existing bearer token (or empty)"
  30. password: true
  31. - name: CHATTO_HOME_CHANNEL
  32. description: "Room ID for cron / notification delivery (defaults to the first joined room)"
  33. prompt: "Home room ID (or empty)"
  34. password: false
  35. # Asked before CHATTO_ALLOWED_USERS: a "yes" here makes the user list moot,
  36. # and the two are mutually exclusive (hermes_validate_config rejects both).
  37. - name: CHATTO_ALLOW_ALL_USERS
  38. description: "Allow any Chatto user to talk to the agent (default: false)"
  39. prompt: "Allow all users? (true/false)"
  40. password: false
  41. - name: CHATTO_ALLOWED_USERS
  42. description: "Comma-separated Chatto logins allowed to talk to the agent (default: none — denies everyone unless CHATTO_ALLOW_ALL_USERS=true)"
  43. prompt: "Allowed users (comma-separated)"
  44. password: false
  45. - name: CHATTO_REQUIRE_MENTION_ROOMS
  46. 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)"
  47. prompt: "Mention-required room IDs (comma-separated)"
  48. password: false
  49. - name: CHATTO_AUTO_THREAD
  50. description: "Auto-create threads for replies in rooms (default: true). Set false to reply in the room timeline."
  51. prompt: "Auto-thread replies? (true/false)"
  52. password: false
  53. - name: CHATTO_OPTIONAL_MENTION_ROOMS
  54. 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)"
  55. prompt: "Free-response room IDs (comma-separated)"
  56. password: false
  57. - name: CHATTO_REACTIONS
  58. description: "Add 👀/✅/❌/🚫 reactions to messages during processing (default: true)"
  59. prompt: "Enable message reactions? (true/false)"
  60. password: false
  61. - name: CHATTO_EDIT_DISPATCH
  62. 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)"
  63. prompt: "Process message edits as corrections? (true/false)"
  64. password: false
  65. - name: CHATTO_EDIT_WINDOW
  66. description: "How long after posting an edit may still land, in seconds; older edits are ignored (default: 300)"
  67. prompt: "Edit window in seconds (or empty for 300)"
  68. password: false