mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
refactor(core): restructure conversation, channel and message domains
- Rename chat module to conversation with flow-based architecture - Move channelidentities into channel/identities subpackage - Add channel/route for routing logic - Add message service with event hub - Add MCP providers: container, directory, schedule - Refactor Feishu/Telegram adapters with directory and stream support - Add platform management page and channel badges in web UI - Update database schema for conversations, messages and channel routes - Add @memoh/shared package for cross-package type definitions
This commit is contained in:
@@ -22,7 +22,6 @@ export const AllowedActionModel = z.enum(allActions)
|
||||
|
||||
export const IdentityContextModel = z.object({
|
||||
botId: z.string().min(1, 'Bot ID is required'),
|
||||
sessionId: z.string().min(1, 'Session ID is required'),
|
||||
containerId: z.string().min(1, 'Container ID is required'),
|
||||
channelIdentityId: z.string().min(1, 'Channel identity ID is required'),
|
||||
displayName: z.string().min(1, 'Display name is required'),
|
||||
|
||||
Reference in New Issue
Block a user