Skip to content

Add channel connector#53

Merged
codeaholicguy merged 4 commits intomainfrom
feature-channel-connector
Apr 11, 2026
Merged

Add channel connector#53
codeaholicguy merged 4 commits intomainfrom
feature-channel-connector

Conversation

@codeaholicguy
Copy link
Copy Markdown
Owner

Summary

  • Add new @ai-devkit/channel-connector package, a generic messaging bridge that connects to external platforms (Telegram first)
  • Add CLI channel commands (connect, list, disconnect, start --agent, status) that wire channel-connector with agent-manager to enable two-way agent communication from Telegram

Key design decisions:

  • Decoupled packages: channel-connector knows nothing about agents; CLI bridges both
  • Async non-blocking flow: input fires-and-forgets to agent, separate polling loop pushes output back
  • One agent per session: channel start --agent binds one Telegram bot to one agent
  • Auto-authorize first user: no config step for chat ID

CLI commands

  • ai-devkit channel connect telegram — interactive bot token setup with validation
  • ai-devkit channel list — show configured channels
  • ai-devkit channel disconnect telegram — remove config
  • ai-devkit channel start --agent — start bridge (foreground)
  • ai-devkit channel status — show config status

@codeaholicguy codeaholicguy changed the title Feature channel connector Add channel connector Apr 11, 2026
@codeaholicguy codeaholicguy merged commit 89ba9b3 into main Apr 11, 2026
7 checks passed
@codeaholicguy codeaholicguy deleted the feature-channel-connector branch April 11, 2026 18:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant