Commit Graph

80 Commits

Author SHA1 Message Date
肖应宇 fe33801008 feat(Tour): 同一设备不同帐号保存漫游使用记录 2026-04-21 09:41:00 +08:00
肖应宇 08b74314c4 feat(ui): 漫游导航样式修改 2026-04-21 09:22:48 +08:00
肖应宇 cad86218a7 feat(Tour): 点击关闭不会完成漫游导航 2026-04-20 16:04:22 +08:00
肖应宇 ae546f5667 fix:去除漫游导航阴影 2026-04-20 16:03:58 +08:00
肖应宇 eb45bba7ff feat(tour):漫游导航 2026-04-20 15:42:03 +08:00
肖应宇 170b5484c9 style: lint prettier 2026-04-20 10:34:57 +08:00
肖应宇 d82ac30b93 feat: placeholder的不同状态显示 2026-04-20 10:24:35 +08:00
肖应宇 c52b505354 fix: 引用附件菜单多层滚动容器的问题 2026-04-20 10:23:12 +08:00
肖应宇 24a97ef7d7 Revert "feat(frontend): 增强建议快捷skill工具多层提示交互并更新计划状态"
This reverts commit eed425e965.
2026-04-19 11:38:35 +08:00
肖应宇 1d031f4577 fix: 调整dropdown,tag的间距 2026-04-17 17:02:23 +08:00
肖应宇 eed425e965 feat(frontend): 增强建议快捷skill工具多层提示交互并更新计划状态 2026-04-17 15:17:53 +08:00
肖应宇 27414fc4e1 feat(phase-07): compose attachment/skill priority hints on submit 2026-04-17 11:00:12 +08:00
肖应宇 9758ae8a3a refactor: 不使用硬编码,而全部使用i18n 2026-04-16 16:00:41 +08:00
肖应宇 dad3888d6c feat(frontend): 增加消息图片右键引用与提及联动
- 新增 ContextMenu 组件并用于消息图片右键菜单“引用”操作
- 新增 mention 引用事件通道,打通消息区到输入框的引用联动
- 输入框 @ 候选支持图片预览与样式优化,保持去重和上限逻辑
- 发送后刷新上传文件列表缓存,确保候选及时更新
- 更新中文占位文案并补充 context-menu 相关依赖
2026-04-16 15:08:47 +08:00
肖应宇 dae911af70 feat(phase-07): archive post-acceptance mention/upload patchset 2026-04-16 11:15:20 +08:00
肖应宇 c4fe34ed23 feat(ui): 宋对ui和输入框placeholder更改 2026-04-16 11:15:20 +08:00
肖应宇 bf0278e586 feat(input): align phase-06 reference contract and state docs 2026-04-16 11:15:19 +08:00
肖应宇 0cd020d6c5 feat(06-04): render inline references and enforce 6-item limit
- keep reference previews inside textarea area with dedicated UI
- replace reference cap and toast copy from 10 to 6
- add e2e coverage for sixth-limit blocking behavior
2026-04-16 11:15:19 +08:00
肖应宇 5dd13df45f feat(06-04): improve @ mention trigger and anchored candidate panel
- trigger mention candidates when typing @ in any input position
- keep focus and input expansion after selecting a candidate
- anchor candidate panel to textarea area and update e2e selector assertions
2026-04-16 11:15:19 +08:00
肖应宇 6fa62cf7cc feat(phase-06): add @ reference dropdown and chip interactions 2026-04-16 11:15:19 +08:00
肖应宇 369f3af384 fix(HistoryButton):条件渲染历史按钮 2026-04-14 12:50:48 +08:00
肖应宇 7ddc3a1742 fix: 修复历史图标不变色的问题 2026-04-14 11:54:12 +08:00
肖应宇 06a8414c05 feat:更换返回对话页的图标 2026-04-14 11:34:00 +08:00
肖应宇 ccfeabc95b style:prettier 2026-04-14 09:49:17 +08:00
肖应宇 f19474a47c feat(route): 前往对话页的按钮 2026-04-14 09:49:17 +08:00
肖应宇 cd2a41b8a6 feat(frontend): 优化工作区输入框与 artifacts 展示体验
改进工作区核心交互,提升输入与结果查看的一致性和可用性。

调整 prompt 输入相关组件逻辑,优化输入行为与状态反馈
更新 workspace input-box 交互细节,改善可用性与稳定性
优化 message-group 展示逻辑,增强消息区域可读性
调整 artifact-file-detail 预览相关实现,为后续 Office 文件展示做准备
补充并更新 thread-routing e2e 用例,覆盖关键路由与交互回归场景
2026-04-14 09:49:17 +08:00
肖应宇 751cb50a46 feat:重启tag的删除功能 2026-04-14 09:49:17 +08:00
肖应宇 1c63fde5b5 feat: skill tag的复数处理。测试复skill的数量 2026-04-14 09:49:17 +08:00
肖应宇 f6065dea55 feat: enter换行,取消enter发送 2026-04-14 09:49:17 +08:00
肖应宇 f2921ae3df feat: skill清空逻辑。因为后端接口不支持取消选择skill,所以暂时禁用取消选择按钮 2026-04-14 09:49:17 +08:00
肖应宇 c1ab79e2cb feat: 支持多技能标签展示并持久化已选技能 2026-04-14 09:49:17 +08:00
肖应宇 48c48a188e feat(frontend): 支持宿主selectedSkills和skill bootstarp流程, 和加载skill中的加载提示与禁止发送消息 2026-04-14 09:49:17 +08:00
肖应宇 dda131c5ea fix: suggest点击后按skill_id数组调用bootstrapRemoteSkill锁定技能 2026-04-08 16:54:04 +08:00
肖应宇 f87f185bbd build: 前端构建通过 2026-04-08 13:51:14 +08:00
肖应宇 10cf4f0b00 feat(frontend): switch skill messaging to selectedSkills payload 2026-04-08 13:09:47 +08:00
肖应宇 a8cfe1c42e refactor(frontend): 将会话状态标识从 show_reuse_welcome 重命名为 is_chatting 2026-04-08 11:44:42 +08:00
肖应宇 4e95838f1f refactor(frontend): 将复用欢迎态路由参数统一为 show_reuse_welcome 2026-04-08 10:44:08 +08:00
肖应宇 1606d79bcb fix: 收紧threadId的类型为string,删除无用isNewRoute变量,合并状态判断showInputBox至showWelcomeStyle 2026-04-07 16:08:42 +08:00
肖应宇 7012693802 feat(03): align workspace visual layer with legacy baseline 2026-04-07 14:34:22 +08:00
Admire 9735d73b83
fix(ui): avoid follow-up suggestion overlap (#1777)
* fix(ui): avoid follow-up suggestion overlap

* fix(ui): address followup review feedback

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-04-03 15:48:41 +08:00
Henry Li 227967df3d
feat: hide model ID for safety reason, only show the display_name (#1410)
Co-authored-by: Henry Li <lixin.henry@bytedance.com>
2026-03-26 21:13:32 +08:00
Simon Su ceab7fac14
fix: improve MiniMax code plan integration (#1169)
This PR improves MiniMax Code Plan integration in DeerFlow by fixing three issues in the current flow: stream errors were not clearly surfaced in the UI, the frontend could not display the actual provider model ID, and MiniMax reasoning output could leak into final assistant content as inline <think>...</think>. The change adds a MiniMax-specific adapter, exposes real model IDs end-to-end, and adds a frontend fallback for historical messages.
Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-03-20 17:18:59 +08:00
null4536251 9d2144d431
feat: may_ask (#981)
* feat: u may ask

* chore: adjust code according to CR

* chore: adjust code according to CR

* ut: test for suggestions.py

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-03-06 22:39:58 +08:00
Zhiyunyao a138d5388a
feat: add reasoning_effort configuration support for Doubao/GPT-5 models (#947)
* feat: Add reasoning effort configuration support

* Add `reasoning_effort` parameter to model config and agent initialization
* Support reasoning effort levels (minimal/low/medium/high) for Doubao/GPT-5 models
* Add UI controls in input box for reasoning effort selection
* Update doubao-seed-1.8 example config with reasoning effort support

Fixes & Cleanup:
* Ensure UTF-8 encoding for file operations
* Remove unused imports

* fix: set reasoning_effort to None for unsupported models

* fix: unit test error

* Update frontend/src/components/workspace/input-box.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-03-02 20:49:41 +08:00
Xinmin Zeng 6a55860a15
fix: recover from stale model context when configured models change (#898)
* fix: recover from stale model context after config model changes

* fix: fail fast on missing model config and expand model resolution tests

* fix: remove duplicate get_app_config imports

* fix: align model resolution tests with runtime imports

* Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* fix: remove duplicate model resolution test case

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-26 13:54:29 +08:00
LofiSu d265bdb245 feat(frontend): add mode hover guide and adjust mode i18n
## 中文

### 代码改动
- **新增** `frontend/src/components/workspace/mode-hover-guide.tsx`
  - 新增 ModeHoverGuide 组件:接收 mode (flash/thinking/pro/ultra) 与 children,用 Tooltip 包裹
  - hover 时展示该模式名称与简介,支持 showTitle 控制是否显示模式名
  - 文案通过 useI18n 从 inputBox 的 *Mode / *ModeDescription 读取,中英文已支持
- **修改** `frontend/src/components/workspace/input-box.tsx`
  - 在模式选择器触发按钮外包一层 ModeHoverGuide,悬停当前模式时显示说明
- **修改** `frontend/src/core/i18n/locales/zh-CN.ts`
  - ultraModeDescription:改为完整描述「思考、计划并执行,可调用子代理分工协作,适合复杂多步骤任务,能力最强」(不再仅写「专业模式加子代理」)
  - proMode / ultraMode:中文环境下保留英文原文 "Pro"、"Ultra",不再翻译为「专业」「超级」
- **修改** `frontend/src/core/i18n/locales/en-US.ts`
  - ultraModeDescription:改为 "Reasoning, planning and execution with subagents to divide work; best for complex multi-step tasks"

### 说明
为 Flash / 思考 / Pro / Ultra 四种模式增加 hover 说明,并统一超级模式文案与 Pro/Ultra 在中文下的展示。

Co-authored-by: Cursor <cursoragent@cursor.com>

---

## English

### Code changes
- **Add** `frontend/src/components/workspace/mode-hover-guide.tsx`
  - New ModeHoverGuide component: takes mode (flash/thinking/pro/ultra) and children, wraps in Tooltip
  - On hover shows mode name and short description; showTitle toggles mode name in tooltip
  - Copy from useI18n (inputBox *Mode / *ModeDescription), i18n in zh-CN and en-US
- **Update** `frontend/src/components/workspace/input-box.tsx`
  - Wrap mode selector trigger with ModeHoverGuide so hovering shows current mode description
- **Update** `frontend/src/core/i18n/locales/zh-CN.ts`
  - ultraModeDescription: full description (reasoning, planning, execution, subagents, complex tasks); no longer "Pro + subagents" only
  - proMode / ultraMode: keep English "Pro" and "Ultra" in zh locale instead of "专业" / "超级"
- **Update** `frontend/src/core/i18n/locales/en-US.ts`
  - ultraModeDescription: "Reasoning, planning and execution with subagents to divide work; best for complex multi-step tasks"

### Summary
Hover guide for all four modes (Flash / Reasoning / Pro / Ultra); clearer Ultra copy and Pro/Ultra labels in Chinese.
2026-02-09 12:33:16 +08:00
Henry Li 25b60e732f feat: set golden color for ultra 2026-02-09 00:30:20 +08:00
Henry Li 260953fb81 feat: adjust position 2026-02-07 18:00:24 +08:00
Henry Li b135449c07 fix: adjust suggestion positioning and height for improved UI layout 2026-02-07 17:56:06 +08:00
Henry Li 3e2883e2a3 feat: support subtasks 2026-02-07 16:14:48 +08:00