hermes-agent/plugins/platforms/sms/plugin.yaml
Teknium 5600105478 refactor(gateway): migrate slack/dingtalk/whatsapp/matrix/feishu/telegram/wecom/email/sms adapters to bundled plugins
Salvage of PR #41284 onto current main. Relocates the last 9 inline messaging
adapters (+ satellites: telegram_network, feishu_comment/_rules/meeting_invite,
wecom_crypto, wecom_callback) from gateway/platforms/ into self-contained
bundled plugins under plugins/platforms/<x>/, discovered via the platform
registry. Strips the per-platform core touchpoints from gateway/run.py,
gateway/config.py, hermes_cli/gateway.py, hermes_cli/setup.py, and
tools/send_message_tool.py.

Carries forward the migration fixes (explicit enabled:false honored,
get_connected_platforms forces discovery, plugin is_connected via
gateway.get_env_value, logs --component gateway matches plugins.platforms.*,
matrix hidden on Windows).

Additionally ports config keys main added since the PR base: the matrix
plugin's _apply_yaml_config now also covers allowed_users,
ignore_user_patterns, process_notices, and session_scope (the inline
gateway/config.py matrix block gained these in the 1340 commits the PR sat
open; they would otherwise have been silently dropped on deletion).
2026-06-20 10:26:45 -07:00

32 lines
1.1 KiB
YAML

name: sms-platform
label: SMS (Twilio)
kind: platform
version: 1.0.0
description: >
SMS gateway adapter for Hermes Agent via Twilio. Sends and receives SMS
through the Twilio REST API + inbound webhook, relaying texts between phone
numbers and the Hermes agent. Markdown is stripped to plain text.
author: NousResearch
requires_env:
- name: TWILIO_ACCOUNT_SID
description: "Twilio Account SID"
prompt: "Twilio Account SID"
url: "https://www.twilio.com/"
password: false
- name: TWILIO_AUTH_TOKEN
description: "Twilio Auth Token"
prompt: "Twilio Auth Token"
password: true
- name: TWILIO_PHONE_NUMBER
description: "Twilio phone number (SMS-capable, E.164 format)"
prompt: "Twilio phone number"
password: false
optional_env:
- name: SMS_ALLOWED_USERS
description: "Comma-separated phone numbers allowed to talk to the bot"
prompt: "Allowed users (comma-separated)"
password: false
- name: SMS_HOME_CHANNEL
description: "Default phone number for cron / notification delivery"
prompt: "Home number"
password: false