Skip to content

feat: add channel adapter framework for external IM platforms#57

Open
buuzzy wants to merge 1 commit into
workany-ai:devfrom
buuzzy:feat/channel-adapter-framework
Open

feat: add channel adapter framework for external IM platforms#57
buuzzy wants to merge 1 commit into
workany-ai:devfrom
buuzzy:feat/channel-adapter-framework

Conversation

@buuzzy
Copy link
Copy Markdown

@buuzzy buuzzy commented Apr 17, 2026

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.

Generic adapter interface for receiving messages from messaging platforms:
- ChannelAdapter interface (webhook + WebSocket modes)
- ChannelManager with per-channel message serialization queue
- Slash commands (/new, /reset, /help)
- Streaming card lifecycle support
- Persistent channel conversation store with disk flush
- Webhook routes and conversation sync APIs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant