From the Inside Claude Code: The Claude Code Ecosystem architecture map

Day 3: the chat-channel flow shows the only long-running code

observation · medium · verified

Most of the repo is prompt files. The channel servers are the exception: long-running Bun MCP processes that poll a chat platform, filter senders through an allowlist, push messages into the session and relay permission prompts back. Telegram is the most complete of the three, and Fakechat is a local harness for experimenting with the protocol safely.

Read the pairing and gate functions before anything else in these files; they decide who can drive a session.

The trail

  1. Telegram Channel
  2. Telegram Bot API
  3. Claude Code
Open on the map

More from this board

© 2026 Syntaxia App Platform Ltd.

Syntaxia App Platform Ltd. Registered in England and Wales, company no. 15272701 Registered office: 3rd Floor, 86–90 Paul Street, London EC2A 4NE, United Kingdom contact@provenmap.com