mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
554a6f3bbf
* feat(sms): add Twilio MMS support * fix(sms): harden hosted media bearer handling * fix(sms): discard staged media before dispatch * fix(sms): close staged media cleanup races * fix(sms): finalize MMS metadata and race proof * fix(media): bind local reads to authorized descriptors * fix(sms): close MMS review gaps * fix(media): make inbound root matching type-safe * fix(media): route bounded reads through fs-safe facade * test(media): satisfy async lint contracts
76 lines
2.9 KiB
JSON
76 lines
2.9 KiB
JSON
{
|
|
"name": "@openclaw/sms",
|
|
"version": "2026.7.2",
|
|
"description": "OpenClaw SMS/MMS channel plugin for Twilio messages.",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/openclaw/openclaw"
|
|
},
|
|
"type": "module",
|
|
"dependencies": {
|
|
"zod": "4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@openclaw/plugin-sdk": "workspace:*"
|
|
},
|
|
"openclaw": {
|
|
"extensions": [
|
|
"./index.ts"
|
|
],
|
|
"channel": {
|
|
"id": "sms",
|
|
"configuredState": {
|
|
"env": {
|
|
"anyOf": [
|
|
"TWILIO_ACCOUNT_SID",
|
|
"TWILIO_AUTH_TOKEN",
|
|
"TWILIO_PHONE_NUMBER",
|
|
"TWILIO_SMS_FROM",
|
|
"TWILIO_MESSAGING_SERVICE_SID",
|
|
"SMS_PUBLIC_WEBHOOK_URL",
|
|
"SMS_WEBHOOK_PATH",
|
|
"SMS_ALLOWED_USERS"
|
|
]
|
|
}
|
|
},
|
|
"label": "SMS",
|
|
"selectionLabel": "SMS (Twilio)",
|
|
"detailLabel": "Twilio SMS/MMS",
|
|
"docsPath": "/channels/sms",
|
|
"docsLabel": "sms",
|
|
"blurb": "Twilio-backed SMS/MMS with inbound webhooks and outbound replies.",
|
|
"order": 88,
|
|
"quickstartAllowFrom": true,
|
|
"setup": { "fields": [
|
|
{ "key": "accountSid", "kind": "string", "sensitive": true, "cli": { "flags": "--account-sid <sid>", "description": "Twilio account SID" } },
|
|
{ "key": "authToken", "kind": "string", "sensitive": true, "cli": { "flags": "--auth-token <token>", "description": "Twilio auth token" } },
|
|
{ "key": "fromNumber", "kind": "string", "cli": { "flags": "--from-number <e164>", "description": "Twilio sender phone number" } },
|
|
{ "key": "messagingServiceSid", "kind": "string", "cli": { "flags": "--messaging-service-sid <sid>", "description": "Twilio Messaging Service SID" } },
|
|
{ "key": "defaultTo", "kind": "string", "cli": { "flags": "--default-to <e164>", "description": "Default SMS recipient" } },
|
|
{ "key": "webhookPath", "kind": "string", "cli": { "flags": "--webhook-path <path>", "description": "SMS webhook path" } },
|
|
{ "key": "publicWebhookUrl", "kind": "string", "cli": { "flags": "--public-webhook-url <url>", "description": "Public SMS webhook URL" } },
|
|
{ "key": "dmPolicy", "kind": "choice", "choices": ["pairing", "allowlist", "open", "disabled"], "cli": { "flags": "--dm-policy <policy>", "description": "SMS DM policy" } },
|
|
{ "key": "allowFrom", "kind": "string-list", "cli": { "flags": "--allow-from <numbers>", "description": "Allowed SMS senders" } }
|
|
] }
|
|
},
|
|
"compat": {
|
|
"pluginApi": ">=2026.7.2"
|
|
},
|
|
"build": {
|
|
"openclawVersion": "2026.7.2",
|
|
"bundledDist": false
|
|
},
|
|
"install": {
|
|
"clawhubSpec": "clawhub:@openclaw/sms",
|
|
"npmSpec": "@openclaw/sms",
|
|
"defaultChoice": "npm",
|
|
"minHostVersion": ">=2026.6.9",
|
|
"allowInvalidConfigRecovery": true
|
|
},
|
|
"release": {
|
|
"publishToClawHub": true,
|
|
"publishToNpm": true
|
|
}
|
|
}
|
|
}
|