docs: Telegram/Discord channel integration research - #158
Merged
Conversation
nox-0x
approved these changes
Apr 20, 2026
nox-0x
left a comment
Collaborator
There was a problem hiding this comment.
Solid research doc. Options A/B/C/D tradeoff matrix is clear, the CC channels flag wiring at claude-code.ts:136-146 checks out against the actual code, and the phased implementation plan is actionable. The one thing worth keeping in mind as you move to Phase 1: the docs/setup/channels.md preflight checklist should explicitly test that the autonomOS server process has network access to Telegram's API — if it's running in a restricted network namespace, the plugin pairing flow will fail silently and it's not obvious why. LGTM ✅
Research doc evaluating options for integrating Telegram/Discord as channels for autonomOS-spawned sessions. Primary-source verified that CC Channels is a real, documented feature (v2.1.80+), and our provider already wires --channels / --dangerously-load-development-channels. Recommendation: Option B (CC native plugins) for MVP, Option C (hybrid + gateway adapters) for proactive outbound in Phase 2. MVP effort is ~1 day of dashboard UI + docs since transport plumbing is already done. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
aterrylu
force-pushed
the
terry/channel-research
branch
from
April 20, 2026 05:53
6b5b912 to
5af3241
Compare
aterrylu
marked this pull request as ready for review
April 20, 2026 05:53
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
Research doc evaluating how to integrate Telegram and Discord as messaging channels for autonomOS-spawned sessions. Investigates three options (Terry's A/B + hybrid C), verifies the premise from primary sources, and recommends a path.
TL;DR
Recommendation: Option B (lean on CC native channels) for MVP, Option C (hybrid + gateway adapters) for proactive outbound in Phase 2.
Why: autonomOS already uses Claude Code's channel protocol. Our
server:autonomosis aclaude/channelcapability MCP server, andpackages/server/src/providers/claude-code.ts:136-146already wires both--channelsand--dangerously-load-development-channels. Extending to Telegram/Discord is just adding plugin URIs tosettings.channels— no code change needed for inbound. MVP effort: ~1 day of dashboard UI + docs.The only real gap Option B doesn't cover is proactive outbound (agent sends to a Telegram chat it hasn't received a message from). That becomes Phase 2 by completing the existing gateway adapter stubs.
Key findings
code.claude.com/docs/en/channelsis real, shipped in v2.1.80+, includes Telegram/Discord/iMessage/fakechat pluginsbuildArgsre-reads them on every spawn including resumeclaude/channel/permission(approve tool use from phone) — significant UX we'd lose if we went DIYchannelsEnabledmanaged setting can block channels on Team/Enterprise plans (Pro/Max skip this)What's in the doc
docs/research/channel-integration.mdcontains the seven required sections:Test plan
🤖 Generated with Claude Code