workany
workany copied to clipboard
feat: add channel adapter framework for external IM platforms
Generic adapter interface enabling WorkAny to receive messages from external IM platforms (mobile access):
core/channel/types.ts:ChannelAdapterinterface (webhook + WebSocket modes, streaming cards)core/channel/manager.ts: Central registry with per-channel message queue, slash commands, streaming card lifecycleshared/services/channel-store.ts: Persistent conversation store with 30min session timeout and disk flushapp/api/channels.ts: Webhook dispatch + conversation sync APIs
This is the framework layer. Platform-specific adapters (Feishu, Slack, etc.) are separate PRs.