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:
@@ -44,7 +44,6 @@ func (h *SettingsHandler) Register(e *echo.Echo) {
|
||||
// @Summary Get user settings
|
||||
// @Description Get agent settings for current user
|
||||
// @Tags settings
|
||||
// @Param bot_id path string true "Bot ID"
|
||||
// @Success 200 {object} settings.Settings
|
||||
// @Failure 400 {object} ErrorResponse
|
||||
// @Failure 500 {object} ErrorResponse
|
||||
@@ -72,7 +71,6 @@ func (h *SettingsHandler) Get(c echo.Context) error {
|
||||
// @Summary Update user settings
|
||||
// @Description Update or create agent settings for current user
|
||||
// @Tags settings
|
||||
// @Param bot_id path string true "Bot ID"
|
||||
// @Param payload body settings.UpsertRequest true "Settings payload"
|
||||
// @Success 200 {object} settings.Settings
|
||||
// @Failure 400 {object} ErrorResponse
|
||||
@@ -109,7 +107,6 @@ func (h *SettingsHandler) Upsert(c echo.Context) error {
|
||||
// @Summary Delete user settings
|
||||
// @Description Remove agent settings for current user
|
||||
// @Tags settings
|
||||
// @Param bot_id path string true "Bot ID"
|
||||
// @Success 204 "No Content"
|
||||
// @Failure 400 {object} ErrorResponse
|
||||
// @Failure 500 {object} ErrorResponse
|
||||
|
||||
Reference in New Issue
Block a user