Add Tlon/Urbit channel plugin#1544
Merged
Merged
Conversation
Adds built-in Tlon (Urbit) channel plugin to support decentralized messaging on the Urbit network. Features: - DM and group chat support - SSE-based real-time message monitoring - Auto-discovery of group channels - Thread replies and reactions - Integration with Urbit's HTTP API This resolves cron delivery issues with external Tlon plugins by making it a first-class built-in channel alongside Telegram, Signal, and other messaging platforms. Implementation includes: - Plugin registration via ClawdbotPluginApi - Outbound delivery with sendText and sendMedia - Gateway adapter for inbound message handling - Urbit SSE client for event streaming - Core bridge for Clawdbot runtime integration Co-authored-by: William Arzt <william@arzt.co>
Contributor
|
Landed via merge/pr-1544-tlon.
Commits:
Tests: pnpm lint; pnpm build; pnpm test |
lovewanwan
pushed a commit
to lovewanwan/openclaw
that referenced
this pull request
Apr 28, 2026
Add Tlon/Urbit channel plugin
ogt-redknie
pushed a commit
to ogt-redknie/OPENX
that referenced
this pull request
May 2, 2026
Add Tlon/Urbit channel plugin
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
May 9, 2026
Add Tlon/Urbit channel plugin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds built-in Tlon (Urbit) channel plugin to support decentralized messaging on the Urbit network. This makes Tlon a first-class channel alongside Telegram, Signal, Slack, etc.
Motivation
Currently using Tlon as an external plugin (
~/.clawdbot/extensions/tlon/) causes cron delivery to fail with:Regular messages work fine, but cron's
loadChannelOutboundAdapter()doesn't resolve external plugins properly. Making Tlon a built-in plugin should resolve this issue (see #1530).Features
✅ Direct Messages - Send/receive DMs with Urbit ships
✅ Group Chats - Support for Urbit group channels
✅ Real-time Monitoring - SSE-based event streaming
✅ Auto-discovery - Automatically finds and subscribes to channels
✅ Thread Replies - Support for threaded conversations
✅ Reactions - Message reactions support
✅ Cron Delivery - Works with
clawdbot crondelivery (the key fix!)Implementation
Plugin Structure
extensions/tlon/index.ts- Plugin registration via ClawdbotPluginApiextensions/tlon/src/channel.js- Main channel plugin with outbound/config/gateway adaptersextensions/tlon/src/monitor.js- Inbound message handler and Urbit integrationextensions/tlon/src/urbit-sse-client.js- SSE client for Urbit event streamingextensions/tlon/src/core-bridge.js- Runtime bridge for clawdbot integrationKey Components
Outbound Delivery:
Gateway Adapter:
Configuration:
{ "channels": { "tlon": { "enabled": true, "ship": "your-ship", "code": "your-+code", "url": "https://your-ship.tlon.network", "groupChannels": ["chat/~ship/channel-id", "dm/~ship"] } } }Testing
Tested with:
Dependencies
Added to
extensions/tlon/package.json:{ "dependencies": { "@urbit/http-api": "^3.0.0", "@urbit/aura": "^2.0.0", "eventsource": "^2.0.2" } }Configuration Example
Documentation
Full documentation included in
extensions/tlon/README.mdcovering:Related Issues
Closes #1530
Checklist
sendTextandsendMediafor deliveryNotes
This plugin has been tested extensively as an external plugin and works perfectly for regular message flow. The only issue was with cron delivery, which should be resolved by making it a built-in plugin.
Original plugin repo: https://github.com/wca4a/clawdbot-tlon-plugin