salesforce-chatter.yaml 2.0 KB

1234567891011121314151617181920212223
  1. name: salesforce-chatter
  2. repo: https://github.com/zenplace-system/hermes-plugin-salesforce-chatter
  3. sha: 16ff469ffb1484e37053315e799846d3c4d7c9d8
  4. subdir: salesforce_chatter
  5. title: Salesforce Chatter
  6. description: "Talk to Hermes from Salesforce Chatter: @mention the bot user in a post or comment, it Likes the message as an acknowledgement and replies in the same thread, keeping the thread as one session. Images and files on the post are passed to the model; MEDIA files are attached back. Community plugin, not affiliated with Salesforce. Disclosure — authenticates as a dedicated bot user with the OAuth 2.0 JWT bearer flow, reading the private key file at SF_CHATTER_PRIVATE_KEY_PATH; talks to the configured Salesforce login host and the org instance (attachment downloads follow Salesforce redirects); image URLs in the agent's replies are fetched from the gateway host over HTTPS (any public host; private, loopback and metadata addresses are refused) and uploaded to Chatter; polls the To Me feed every 60 s and, for allowlisted groups, runs a SOQL probe every 5 s by default (counts against the org API quota); writes Likes, comments, files in the bot user's Files and optional home-channel posts; keeps its ledger in plugin-data/salesforce-chatter/inbox.sqlite. dry_run defaults to true (no Salesforce writes, no outbound image fetch); with SF_CHATTER_ALLOWED_USERS unset nobody is answered. Optional, off by default: html_preview renders model-generated HTML to PNG with Chromium in a network-isolated Docker container (digest-pinned image, pulled if missing). No telemetry."
  7. maintainer: zenplace-system
  8. tier: community
  9. category: platform
  10. docs_url: https://github.com/zenplace-system/hermes-plugin-salesforce-chatter#readme
  11. version: "0.2.1"
  12. requires_hermes: ">=0.21.3"
  13. platforms: []
  14. capabilities:
  15. provides_tools: []
  16. provides_hooks: []
  17. provides_middleware: []
  18. requires_env:
  19. - SF_CHATTER_LOGIN_URL
  20. - SF_CHATTER_CLIENT_ID
  21. - SF_CHATTER_USERNAME
  22. - SF_CHATTER_PRIVATE_KEY_PATH
  23. - SF_CHATTER_BOT_USER_ID