workany icon indicating copy to clipboard operation
workany copied to clipboard

feat: add channel adapter framework for external IM platforms

Open buuzzy opened this issue 7 months ago • 0 comments

Generic adapter interface enabling WorkAny to receive messages from external IM platforms (mobile access):

  • core/channel/types.ts: ChannelAdapter interface (webhook + WebSocket modes, streaming cards)
  • core/channel/manager.ts: Central registry with per-channel message queue, slash commands, streaming card lifecycle
  • shared/services/channel-store.ts: Persistent conversation store with 30min session timeout and disk flush
  • app/api/channels.ts: Webhook dispatch + conversation sync APIs

This is the framework layer. Platform-specific adapters (Feishu, Slack, etc.) are separate PRs.

buuzzy avatar Apr 17 '26 01:04 buuzzy