Commit Graph

447 Commits

Author SHA1 Message Date
肖应宇 12a21808f9 refactor: 预留空位,先删除旧逻辑再重新实现 2026-04-16 11:41:36 +08:00
肖应宇 7fd4b76e94 feat: 替换国际化中所有有关df的内容 2026-04-16 11:41:36 +08:00
肖应宇 e5f89c3d37 feat(backend): 统一"发送附件"语义为上传+提及 2026-04-16 11:40:55 +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
肖应宇 7ea2bceb78 fix(workspace): 统一折叠思考块代码以消除流式抖动
- 移除思考链代码块按长度判断的折叠策略,改为默认折叠\n- 为思考内容与 reasoning-only 路径添加代码块默认折叠渲染\n- 调整流式 Markdown 渲染参数,降低流式重排与闪烁
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
肖应宇 7bd8e888a5 feat(06-04): align artifact references with submit context contract
- materialize artifact mentions into uploads-backed references before submit
- keep upload reference path behavior unchanged and mark failed artifact conversions stale
- add hooks tests for artifact/upload context availability and stabilize e2e mention selection path
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
肖应宇 c50bfb97a9 feat(phase-06): merge references into additional_kwargs.files with soft-fail 2026-04-16 11:15:19 +08:00
肖应宇 99e0fe13fd feat(phase-06): add reference file contract and submit payload helper 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
肖应宇 6367cf013c dev: 测试标识 v3.2.5 2026-04-14 11:34:10 +08:00
肖应宇 06a8414c05 feat:更换返回对话页的图标 2026-04-14 11:34:00 +08:00
肖应宇 2113e36d57 feat(error):持久显示系统更新提示 2026-04-14 09:49:17 +08:00
肖应宇 ccfeabc95b style:prettier 2026-04-14 09:49:17 +08:00
肖应宇 f19474a47c feat(route): 前往对话页的按钮 2026-04-14 09:49:17 +08:00
肖应宇 e285e105ef feat(error): 新增系统重试提示 2026-04-14 09:49:17 +08:00
肖应宇 184355d6bf fix: fix莫名修改 2026-04-14 09:49:17 +08:00
肖应宇 f87e15e76d fix: 莫名修改 2026-04-14 09:49:17 +08:00
肖应宇 6a243220a8 feat(artifacts): 使用 RevoGrid+ExcelJS 预览 Excel
- Excel 预览从 sheet_to_html 切换为 RevoGrid 网格渲染

- 使用 ExcelJS 解析工作簿并支持工作表切换

- 更新前端依赖:新增 @revolist/revogrid、exceljs;移除 nuxt-og-image、pptx-preview、xlsx
2026-04-14 09:49:17 +08:00
肖应宇 2ab49325da feat:10分钟更换一次slogan 2026-04-14 09:49:17 +08:00
肖应宇 b7ead65f1d feat(frontend): 接入 pdf.js 预览并调整产物预览逻辑 2026-04-14 09:49:17 +08:00
肖应宇 ab178456cc fix(threads): 忽略流取消导致的错误提示
识别 cancelled/canceled/abort 等取消信号。\n在流式请求被主动停止或中断时不再弹出错误 toast,减少误报。
2026-04-14 09:49:17 +08:00
肖应宇 41c6d7cf65 fix: ctrl+enter键不能换行的问题 2026-04-14 09:49:17 +08:00
肖应宇 40e252a74e dev:版本标识 2026-04-14 09:49:17 +08:00
肖应宇 39fbdcb028 feat(frontend): 支持 DOCX/PDF 下载时包含图片资源 2026-04-14 09:49:17 +08:00
肖应宇 84d59ec46d fix: 修复剪贴板没有统一使用copyToClipboard的问题 2026-04-14 09:49:17 +08:00
肖应宇 df26d69798 feat(artifact): 禁用自动打开artifact面板的功能 2026-04-14 09:49:17 +08:00
肖应宇 460454fb7c fix(frontend): 同意对话错误提示和增加两条e2e测试 2026-04-14 09:49:17 +08:00
肖应宇 842cd22c00 feat: 完成显示docx, pptx, xlsx文件 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
肖应宇 8f929dec63 dev: 从侧边栏点击直接进入对话页 2026-04-14 09:49:17 +08:00
肖应宇 87b73e2b08 fix(frontend): 进入/new预创建会话并强制跳转聊天态 2026-04-14 09:49:17 +08:00
肖应宇 751cb50a46 feat:重启tag的删除功能 2026-04-14 09:49:17 +08:00
肖应宇 a914c1dc19 fix(frontend): hide history reliably in welcome mode 2026-04-14 09:49:17 +08:00
肖应宇 ce02c40b87 fix(frontend): stabilize thread id when sending messages 2026-04-14 09:49:17 +08:00
肖应宇 f92444c722 feat: 如果请求失败不要写入localstorage,且不要展示失败的skill 2026-04-14 09:49:17 +08:00
肖应宇 d376d421fe feat: 全局字体和代码块字体大小 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
肖应宇 254c33f672 dev: 给通信面板加收起按钮 2026-04-14 09:49:17 +08:00
肖应宇 97463eed1b feat: 清空旧localstorage的内容 2026-04-14 09:49:17 +08:00
肖应宇 f378108fb4 feat: 修改测试标识的位置,并写死会话标题为“来,一起学习工作吧” 2026-04-14 09:49:17 +08:00
肖应宇 0028e142f7 feat: 生成中禁用返回按钮 2026-04-14 09:49:17 +08:00
肖应宇 ced3b45569 dev: 测试版本标识 2026-04-14 09:49:17 +08:00
肖应宇 4ae3c3e847 feat: 弃用localstorage的设置 2026-04-14 09:49:17 +08:00
肖应宇 afccfaa822 feat: 宿主页复制 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
肖应宇 12a40d8e49 dev: 测试版本标识 2026-04-14 09:49:17 +08:00
肖应宇 f879e621d6 fix:修复错误跳转无query的场景 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
肖应宇 1243bd0aac fix: 修复新会话重复请求并更新部署脚本默认目标 2026-04-08 16:54:04 +08:00
肖应宇 25111a9b03 fix: 使用is_chatting的使用,is_chatting=true的时候才会显示对话页 2026-04-08 16:54:04 +08:00
肖应宇 f06a3fb49e dev: 测试标识标题 2026-04-08 16:54:04 +08:00
肖应宇 8dc57763f5 fix(threads): 避免隐式订阅 events 流 2026-04-08 16:54:04 +08:00
肖应宇 f87f185bbd build: 前端构建通过 2026-04-08 13:51:14 +08:00
肖应宇 90e63422da refactor(frontend): rename SELECT_SKILL to SELECT_SKILLS 2026-04-08 13:29:43 +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
肖应宇 6d66cdd3f5 fix: 调整artifact iframe img间隙 2026-04-08 10:44:08 +08:00
肖应宇 4e95838f1f refactor(frontend): 将复用欢迎态路由参数统一为 show_reuse_welcome 2026-04-08 10:44:08 +08:00
肖应宇 43471aacd1 feat: 删除不需要的TodoList组件 2026-04-07 16:37:02 +08:00
肖应宇 4e2ff8b5be feat: 精简showWelcomeStyle和isNewThread断言。实现在/[thread_id]?xclaw_used=true时,显示欢迎页 2026-04-07 16:35:37 +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
肖应宇 643b61d15a feat(04): stabilize iframe messaging and markdown export flows 2026-04-07 14:34:01 +08:00
肖应宇 a21cd310ee fix(frontend): align skills bootstrap contract to b412 content_ids shape 2026-04-07 13:35:46 +08:00
肖应宇 75f62e7c15 feat(frontend): align skills bootstrap flow to titan contract 2026-04-07 13:29:13 +08:00
肖应宇 c01ac7b8de test(02-01): 增加线程与 skills 合同回归测试
- 新增 node:test 覆盖线程路由与 bootstrap 合同归一

- 更新 e2e 路由辅助与用例,移除 isnew 依赖
2026-04-07 12:54:01 +08:00
肖应宇 034e35c880 feat(02-01): 统一 skills bootstrap 合同到 content_ids
- 新增 content_id 到 content_ids 最小兼容归一层

- 调用侧统一发送 content_ids,移除双主合同路径
2026-04-07 12:53:54 +08:00
肖应宇 af21bbd163 feat(02-01): 移除 isnew 路由逻辑并收敛线程单路径
- 新会话仅由 /workspace/chats/new 路由控制

- 删除 isnew 参数分支并同步 iframe 跳转逻辑
2026-04-07 12:53:49 +08:00
肖应宇 b7ccdc0f79 docs(01): research phase domain 2026-04-07 12:05:50 +08:00
Titan 0f607441c8 feat(chats): implement dynamic styling based on xclaw_used parameter 2026-04-05 23:39:44 +08:00
Titan b412b5193b feat(skills): support batch skill bootstrap via content_ids; clear parent dir once before per-skill write 2026-04-05 18:37:55 +08:00
Titan 5de7a2ab46 fix: centralize UUID generation and validate query thread_id for skillBootstrap; ensure single execution and correct thread dir 2026-04-05 18:37:55 +08:00
Titan 66bdc951f8 feat(skills): add remote YAML bootstrap and materialization APIs 2026-04-05 18:16:05 +08:00
28474c47cb
fix: avoid command palette hydration mismatch on macOS (#1563)
# Conflicts:
#	frontend/src/components/workspace/command-palette.tsx

Co-authored-by: luoxiao6645 <luoxiao6645@gmail.com>
Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-04-05 16:35:33 +08:00
DanielWalnut 2a150f5d4a
fix: unblock concurrent threads and workspace hydration (#1839)
* fix: unblock concurrent threads and workspace hydration

* fix: restore async title generation

* fix: address PR review feedback

* style: format lead agent prompt
2026-04-04 21:19:35 +08:00
luobo 1c0051c1db
fix(frontend): keep prompt attachments from breaking before upload (#1833)
* fix(frontend): preserve prompt attachment files during upload

* fix(frontend): harden prompt attachment fallback and tests

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-04-04 14:54:35 +08:00
luobo 144c9b2464
fix(frontend): block unsupported .app uploads (#1834)
Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-04-04 14:42:26 +08:00
Albert Zheng 6473d38917
fix(frontend): resolve button hydration mismatch with undefined variant/size (#1506)
Server-rendered data-variant={undefined} didn't match client hydration.
Now only render data-variant and data-size when explicitly set.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: JeffJiang <for-eleven@hotmail.com>
2026-04-04 11:21:04 +08:00
Admire 3d4f9a88fe
Add explicit save action for agent creation (#1798)
* Add explicit save action for agent creation

* Hide internal save prompts and retry agent reads

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-04-03 19:54:42 +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
JeffJiang c1366cf559
Add documents site (#1767)
* feat: add docs site

- Implemented dynamic routing for MDX documentation pages with language support.
- Created layout components for documentation with a header and footer.
- Added metadata for various documentation sections in English and Chinese.
- Developed initial content for the DeerFlow App and Harness documentation.
- Introduced i18n hooks and translations for English and Chinese languages.
- Enhanced header component to include navigation links for documentation and blog.
- Established a structure for tutorials and reference materials.
- Created a new translations file to manage locale-specific strings.

* feat: enhance documentation structure and content for application and harness sections

* feat: update .gitignore to include .playwright-mcp and remove obsolete Playwright YAML file

* fix(docs): correct punctuation and formatting in documentation files

* feat(docs): remove outdated index.mdx file from documentation

* fix(docs): update documentation links and improve Chinese description in index.mdx

* fix(docs): update title in Chinese for meta information in _meta.ts
2026-04-03 07:25:40 +08:00
Admire 952059eb51
fix(ui): avoid over-segmenting cjk messages (#1726) 2026-04-02 19:45:43 +08:00
yangzheli 636053fb6d
fix(frontend): add missing rel="noopener noreferrer" to target="_blank" links (#1741)
* fix(frontend): add missing rel="noopener noreferrer" to target="_blank" links

Prevent tabnabbing attacks and referrer leakage by ensuring all
external links with target="_blank" include both noopener and
noreferrer in the rel attribute.

Made-with: Cursor

* style: fix code formatting
2026-04-02 17:32:52 +08:00
3a672b39c7
Fix/1681 llm call retry handling (#1683)
* fix(runtime): handle llm call errors gracefully

* fix(runtime): preserve graph control flow in llm retry middleware

---------

Co-authored-by: luoxiao6645 <luoxiao6645@gmail.com>
2026-04-02 10:12:17 +08:00
Admire 0eb6550cf4
fix(frontend): persist model selection per thread (#1553)
* fix(frontend): persist model selection per thread

* fix(frontend): apply thread model override on fallback

* refactor(frontend): split thread settings hook

* fix frontend local storage guards
2026-04-01 23:27:03 +08:00
JeffJiang cf43584d24
fix(artifact): enhance artifact content loading to include URL for non-write files (#1678) 2026-04-01 11:38:55 +08:00
Rosemary1812 b356a13da5
fix(frontend): improve network error message for agent name check (#1605)
* fix(frontend): distinguish CORS errors   from generic name check failures

* fix(frontend): improve network error message for agent name check

* Fix network error message in zh-CN locale

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-03-31 21:14:05 +08:00
Admire 9e3d484858
fix(frontend): route agent checks to gateway (#1572)
* fix(frontend): route agent checks to gateway

* fix(frontend): proxy langgraph requests locally

* fix(frontend): keep zh-CN text readable

* fix(frontend): add exact local api rewrites

* fix(frontend): support docker-safe internal rewrites

* Update frontend/src/core/agents/api.ts

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

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-30 21:04:59 +08:00
Admire 9a557751d6
feat: support memory import and export (#1521)
* feat: support memory import and export

* fix(memory): address review feedback

* style: format memory settings page

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-03-30 17:25:47 +08:00
JeffJiang 2330c38209
fix(config): update SSR fallback in getBaseOrigin function (#1617) 2026-03-30 16:13:32 +08:00
Admire fc7de7fffe
feat: support manual add and edit for memory facts (#1538)
* feat: support manual add and edit for memory facts

* fix: restore memory updater save helper

* fix: address memory fact review feedback

* fix: remove duplicate memory fact edit action

* docs: simplify memory fact review setup

* docs: relax memory review startup instructions

* fix: clear rebase marker in memory settings page

* fix: address memory fact review and format issues

* fix: address memory fact review feedback

* refactor: make memory fact updates explicit patch semantics

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-03-29 23:53:23 +08:00