Defines canonical channel IDs and helper functions for channel validation and bot provider mapping.
// Source: https://github.com/vellum-ai/vellum-assistant | License: MIT | Copyright 2025 Vellum AI // Provided via justclaw.it.com; keep this notice with the code. /** * Canonical channel-id vocabulary shared between the assistant daemon and the * gateway. * * A "channel" is an external messaging surface an actor can reach the * assistant through (Slack, Telegram, WhatsApp, phone, …) plus a couple of * internal ids (`vellum` for native app conversations, `vellum-shared` for * conversations a guardian shares with a contact, `platform` for the internal * control plane). This is the single source of truth for that set: * * One id, `plugin`, does not name a surface: it names *every* surface a plugin * brings. A plugin channel's real identity is the plugin, which is workspace * stat ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key