diff --git a/AGENTS.md b/AGENTS.md index 3565f810..a50b4de5 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -374,7 +374,7 @@ AI 执行以下流程时,每一步都要向用户说明在做什么: - `newConversationType`(同上):空对话时输入栏待创建类型(`'agent' | 'multi_agent'`),localStorage 持久化(`agents_new_conversation_type`),由输入栏底行 `+` 右侧的类型选择器修改(`InputComposer.vue` 的 `agent-type-switcher`)。 - `sidebarConversationType`(`stores/conversation.ts`):侧边栏列表过滤器(`'normal' | 'multi_agent'`),localStorage 持久化(`agents_sidebar_conversation_type`),驱动列表/搜索的 `multi_agent_mode=0|1` 请求参数与侧边栏新建按钮的对话类型。 - `stores/conversation.ts` 的 `multiAgentMode` 字段保留,但语义已变为「当前对话是否多智能体」,仅由 `enterConversation`(meta 落地)与空对话 watcher(复位 false)写入——`stores/subAgent.ts` 的读取点依赖它,不得删除。 -- 侧边栏类型切换 UI:平铺模式在「搜索对话」下方显示分段控件;分组模式在工作区标题行新建/更多按钮左侧显示单字切换按钮;列表区域用 `` 做左右滑动动画(切多智能体向左滑出,切回反向)。 +- 侧边栏类型切换 UI:分段控件统一显示在「搜索对话」下方(平铺/分组模式位置一致,搜索时隐藏);列表区域用 `` 推挤式同步滑动动画(无 out-in,新面板绝对定位从侧边滑入把旧面板顶出,切多智能体向左,切回反向;切换时重置列表滚动位置)。 - 发送消息创建对话时按 `newConversationType` 选择 `/api/conversations` 或 `/api/multiagent/conversations`(`message/send.ts`);侧边栏新建按 `sidebarConversationType` 选择(`conversation/action.ts`)。 ### 11.1 角色与实例 diff --git a/static/src/components/sidebar/ConversationSidebar.vue b/static/src/components/sidebar/ConversationSidebar.vue index adfe4b08..9dfc6dcc 100644 --- a/static/src/components/sidebar/ConversationSidebar.vue +++ b/static/src/components/sidebar/ConversationSidebar.vue @@ -113,7 +113,7 @@ -
+
-
- +
+
运行中的任务
@@ -203,15 +203,6 @@ class="workspace-group-actions" :class="{ visible: hoverWorkspaceId === String(ws.workspace_id || '') || openWorkspaceMenuId === String(ws.workspace_id || '') }" > -