Communication Channels
communication_channels in @open-mercato/core
Unified hub bridging external chat/email channels (Slack, WhatsApp, Email) to the Messages module. Adapter contract, channel-native payload storage, reactions, and per-channel threading. OAuth state cookies are single-use via short-TTL cache markers (see lib/oauth-state.ts); multi-replica deployment
- Built-in
- Communication & Notifications
- On in a new app
Ships with Open Mercato 0.9.0
On in a new app. Nothing to enable.
In an app from the empty preset
yarn mercato module enable @open-mercato/ core --module communication_channelsThen run yarn generate. Core is already installed, so nothing is downloaded.
Anatomy
ADDS 8 TABLES · 10 PERMISSIONS · EMITS 17 EVENTS
Data
communication_channels external_conversations external_messages message_channel_ links channel_thread_ mappings message_reactions channel_thread_ tokens channel_ingest_ dead_ letters
API
Routes are not listed for built-in modules.
Security
communication_channels.
viewmanagereactassignconnect_user_ channel share_own_ channel connect_tenant_ channel adminchannel.import_ history channel.push .manage
Events
- emits
communication_channels .message .received - emits
communication_channels .message .sent - emits
communication_channels .message .delivery_ failed - emits
communication_channels .conversation .created - emits
communication_channels .conversation .reassigned - emits
communication_channels .contact .resolved - emits
communication_channels .channel .requires_ reauth - emits
communication_channels .channel .disconnected - emits
communication_channels .channel .deleted - emits
communication_channels .channel .primary_ changed - emits
communication_channels .channel .visibility_ changed - emits
communication_channels .reaction .added - emits
communication_channels .reaction .removed - emits
communication_channels .push .registered - emits
communication_channels .push .failed - emits
communication_channels .push .renewed - emits
communication_channels .push .deactivated - subscribes
communication_channels .channel .requires_ reauth - subscribes
messages.message .sent - subscribes
auth.user .deleted
UI
3 backend pages4 widgets
Not present: background jobs, AI tools.
Not read: credentials and env, hosts (not in module-facts.v2.json).
From module-facts.v2.json in @open-mercato/cli 0.9.0. Read statically, not executed.