Skip to content

Two-way chat channels: start/continue threads from Slack, Discord, Telegram #1718

Closed

Description

@currentbits

Cline Desktop/CLI "Channels" (docs.cline.bot/cli/connectors): a message in Slack/Discord/Telegram/Linear starts or continues an agent session and replies go back to the chat.

Solenta today is outbound only: electron/notify.js posts Slack/Discord webhook text, and electron/linear.js reads tickets. Nothing inbound creates or continues a thread.

Scope

  • Telegram first (bot token + long polling, no public URL needed), then Slack Socket Mode, then Discord gateway
  • Map a chat conversation to a thread: first message starts a thread in the chosen project, replies continue it, and the final assistant message is posted back
  • Allowlist sender IDs; nothing runs for unknown senders
  • Approvals (permission prompts, ask_user) render as buttons in the chat
  • Settings pane: connect / disconnect per channel, default project, default agent profile

Activity

  1. added
    plan:todo
    plan:doing
    and removed
    plan:todo
    on Oct 28, 2026
  2. currentbits commented on Oct 28, 2026

    @currentbits
    OwnerAuthor

    Round 1 scope: Telegram end to end (long polling, sender allowlist, chat ↔ thread mapping, results posted back, approval buttons), on a small electron/channels/ layer. Slack (Socket Mode) and Discord (gateway) follow on that layer and stay open in this issue until done.

  3. currentbits commented on Oct 28, 2026

    @currentbits
    OwnerAuthor

    Telegram: PR #1728. Private chats only, sender allowlist, approval buttons. Needs a live smoke test with a real bot before merge (steps in the PR). Slack (Socket Mode) and Discord (gateway) remain; they plug into electron/channels/index.js (sendText, sendButtons, answerButton, getMe, start/stop, onMessage/onButton with chatType).

  4. currentbits commented on Oct 29, 2026

    @currentbits
    OwnerAuthor

    Telegram shipped in #1728 (34b6d38). It was merged without a real-bot smoke test, at the owner's call; the steps are in the PR. Slack and Discord remain open here.

  5. currentbits commented on Oct 29, 2026

    @currentbits
    OwnerAuthor

    Round 2 started: one worker generalizes electron/channels/ (one client per kind), then adds Slack (Socket Mode) and Discord (Gateway). Same rules as Telegram: DMs only, sender allowlist, sealed tokens, buttons re-check sender and chat.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    plan:doing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions