Skip to content

Comments

feat: add Twilio SMS Messenger ability (V1)#110

Open
ArturKozhushnyi wants to merge 13 commits intoopenhome-dev:devfrom
ArturKozhushnyi:Twilio-SMS
Open

feat: add Twilio SMS Messenger ability (V1)#110
ArturKozhushnyi wants to merge 13 commits intoopenhome-dev:devfrom
ArturKozhushnyi:Twilio-SMS

Conversation

@ArturKozhushnyi
Copy link
Contributor

@ArturKozhushnyi ArturKozhushnyi commented Feb 21, 2026

What does this Ability do?

Suggested Trigger Words

Type

  • New community Ability
  • Improvement to existing Ability
  • Bug fix
  • Documentation update

External APIs

  • No external APIs
  • Uses external API(s):

Testing

  • Tested in OpenHome Live Editor
  • All exit paths tested (said "stop", "exit", etc.)
  • Error scenarios tested (API down, bad input, etc.)

Checklist

  • Files are in community/my-ability-name/
  • main.py follows SDK pattern (extends MatchingCapability, has register_capability + call)
  • README.md included with description, suggested triggers, and setup
  • resume_normal_flow() called on every exit path
  • No print() — using editor_logging_handler
  • No hardcoded API keys — using placeholders
  • No blocked imports (redis, connection_manager, user_config)
  • No asyncio.sleep() or asyncio.create_task() — using session_tasks
  • Error handling on all external calls
  • Tested in OpenHome Live Editor

Anything else?

A versatile decision-making assistant designed to help you choose between options or test your luck. Unlike simple randomizers, this ability features **Smart Memory** (context awareness) to repeat actions instantly and understands a wide range of natural language commands.


Signed-off-by: Artur Kozhushnyi <137943726+ArturKozhushnyi@users.noreply.github.com>
Signed-off-by: Artur Kozhushnyi <137943726+ArturKozhushnyi@users.noreply.github.com>
Signed-off-by: Artur Kozhushnyi <137943726+ArturKozhushnyi@users.noreply.github.com>
A versatile decision-making assistant designed to help you choose between options or test your luck. Unlike simple randomizers, this ability features **Smart Memory** (context awareness) to repeat actions instantly and understands a wide range of natural language commands.


Signed-off-by: Artur Kozhushnyi <137943726+ArturKozhushnyi@users.noreply.github.com>
A versatile decision-making assistant designed to help you choose between options or test your luck. Unlike simple randomizers, this ability features **Smart Memory** (context awareness) to repeat actions instantly and understands a wide range of natural language commands.


Signed-off-by: Artur Kozhushnyi <137943726+ArturKozhushnyi@users.noreply.github.com>
Signed-off-by: Artur Kozhushnyi <137943726+ArturKozhushnyi@users.noreply.github.com>
Signed-off-by: Artur Kozhushnyi <137943726+ArturKozhushnyi@users.noreply.github.com>
Signed-off-by: Artur Kozhushnyi <137943726+ArturKozhushnyi@users.noreply.github.com>
Signed-off-by: Artur Kozhushnyi <137943726+ArturKozhushnyi@users.noreply.github.com>
Introduces the Twilio SMS Messenger capability as requested in the V1 brief.

Features implemented:
- Voice-to-SMS: Send messages with exact and fuzzy LLM contact resolution.
- SMS-to-Voice: Read inbound messages, expand TTS abbreviations, replace URLs, and read only the last 4 digits of unknown numbers.
- Contact Management: Add, remove, and list contacts purely by voice.
- Utilities: Check message delivery status and Twilio account balance.

Quality & Security:
- "Smart" `load_prefs()` generates an empty config on first run without overwriting user keys on subsequent runs.
- 100% compliant with OpenHome SDK guidelines: `resume_normal_flow()` is guaranteed in a `finally` block, zero `print()` statements (uses `editor_logging_handler`), 15s timeout for all `requests`, and no hardcoded secrets.
- PEP8 formatted and includes complete README.md with setup instructions.

Signed-off-by: Artur Kozhushnyi <137943726+ArturKozhushnyi@users.noreply.github.com>
@ArturKozhushnyi ArturKozhushnyi requested a review from a team as a code owner February 21, 2026 19:18
@github-actions
Copy link
Contributor

github-actions bot commented Feb 21, 2026

🔀 Branch Merge Check

PR direction: Twilio-SMSdev

PassedTwilio-SMSdev is a valid merge direction

@github-actions github-actions bot added first-contribution First-time contributor community-ability Community-contributed ability labels Feb 21, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 21, 2026

❌ Ability Validation Failed

📋 Validating: community/Twilio-SMS
  ❌ raw open() is not allowed — use capability_worker file helpers (read_file, write_file, etc.) instead
  ❌ Missing register capability tag — add the following line to your class:
    #{{register capability}}
See: https://docs.openhome.com/how_to_build_an_ability
  ❌ 2 error(s) found

📚 How to fix

@github-actions
Copy link
Contributor

github-actions bot commented Feb 21, 2026

🔍 Lint Results

__init__.py — Empty as expected

Files linted: community/Twilio-SMS/main.py

✅ Flake8 — Passed

✅ All checks passed!

Signed-off-by: Artur Kozhushnyi <137943726+ArturKozhushnyi@users.noreply.github.com>
@codermohsin
Copy link
Contributor

Your ability submission is currently under review.

Our team will carefully evaluate it and provide feedback shortly.

Thank you for your submission

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-ability Community-contributed ability first-contribution First-time contributor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants