Commit Graph

1536 Commits

Author SHA1 Message Date
肖应宇 7e3901fe21 feat: 清除header的阴影;取消发送按钮的空值disabled检查;新增删除clearSkill,tag的逻辑; 2026-03-17 17:05:41 +08:00
肖应宇 32f581cf50 feat:全屏功能 2026-03-17 16:40:02 +08:00
肖应宇 a8d1c8367f feat(artifact): 添加内容预览缩放选择器和全局format命令 2026-03-17 15:46:52 +08:00
肖应宇 bc20208d0f style: 运行 prettier 格式化代码 2026-03-17 14:46:40 +08:00
肖应宇 5afe834b53 feat(ui): 重构输入框附件预览与布局优化
- 将附件预览改为方形缩略图样式,图片支持悬浮遮罩和删除按钮
- 输入框宽度固定为 720px,附件预览区域移至输入框上方
- 提交按钮添加禁用状态逻辑(无内容或流式传输时禁用)
- 添加 Streamdown Markdown 样式(标题、列表项字号)
- 调整图标颜色、圆角和间距细节
2026-03-17 14:43:27 +08:00
肖应宇 54dd21f18b build: 前端构建成功 2026-03-17 11:04:28 +08:00
肖应宇 4318b8392a fix(artifact): 调整 artifact 文件预览底部间距
- 注释掉 ArtifactContent 中的 paddingBottom 占位 div
- 为 markdown 预览容器添加 cn 工具函数支持
2026-03-17 10:27:14 +08:00
肖应宇 4950350494 Merge branch 'main' of https://git.xueai.art/skills/deerflow2 into feat/kexue-ui-v0.1 2026-03-17 09:23:07 +08:00
Titan 590001c130 build: 去除frotend docker的多阶段构建 2026-03-16 18:46:22 +08:00
肖应宇 6130f12790 feat: 优化输入框交互与添加技能选择按钮
- 重构输入框展开/收缩逻辑,支持 isNewThread 时保持展开
- 添加 onFocusChange 回调支持
- 新增 IframeSkillDialogButton 替换原有的 ModeHoverGuide
- 为 AddAttachmentsButton 和 IframeSkillDialogButton 添加 hover 变色效果
- 调整输入框布局结构,移出 PromptInputSubmit 到外层
- 优化 Footer 工具栏的过渡动画
- 添加 selectSkill 国际化文本
2026-03-16 17:48:52 +08:00
Titan cb758af645 build/ci: prod发布重写 2026-03-16 17:22:18 +08:00
Titan 5bfdba9cdb chore: 发布相关脚本改动 2026-03-15 20:52:15 +08:00
Titan 96ea81d677 chore: 发布相关脚本改动 2026-03-15 20:50:09 +08:00
Titan cea46914fe chore: 忽略memo 2026-03-15 20:39:19 +08:00
Titan c41475b552 chore: 发布相关脚本改动 2026-03-15 20:38:11 +08:00
肖应宇 4897a4da58 feat: 优化聊天界面UI与交互体验
- 新增退出确认对话框,点击返回时提示用户保存
- Artifact 面板改用 DropdownMenu 选择文件,优化头部布局
- 添加微软雅黑字体支持,调整主题配色
- Todo 按钮添加 Tooltip 提示
- 调整面板分割比例为 50/50,优化样式细节
2026-03-15 15:07:19 +08:00
SuperManTouX 1fd5405f42 feat:初步修改布局 2026-03-13 20:13:38 +08:00
肖应宇 dbef018fd1 Update frontend from deer-flow and add frontend_backup to gitignore 2026-03-13 20:08:11 +08:00
Titan ef9a071aa1 对接skill平台接口,获取skill.yaml并创建文件、目录结构 2026-03-13 11:11:02 +08:00
Titan e2fdfa75d7 保持new路由下的空白引导页 2026-03-12 11:54:43 +08:00
Titan 4119fdcba7 已实现由外部创建会话 2026-03-12 10:43:56 +08:00
Titan c669b3bb24 增加uploads路径中的文件到skill扫描范围 2026-03-11 15:41:42 +08:00
Titan dd0885b3a5 langgraph会话持久化 2026-03-09 17:17:14 +08:00
Titan 28bb208469 修复docker下目录权限问题 2026-03-09 10:54:40 +08:00
Titan 8f356cdf51 fix:docker环境正常启动 2026-03-02 20:01:22 +08:00
Willem Jiang 03705acf3a
fix(sandbox):deer-flow-provisioner container fails to start in local execution mode (#889) 2026-02-24 08:31:52 +08:00
Willem Jiang b5c11baece
docs(config):updated the configuration of deepseek-v3 (#885) 2026-02-21 22:06:01 +08:00
CHANGXUBO 85af540076
feat: add LangSmith tracing integration (#878)
* feat: add LangSmith tracing integration

Add optional LangSmith tracing support that can be enabled via environment
variables (LANGSMITH_TRACING, LANGSMITH_API_KEY, LANGSMITH_PROJECT,
LANGSMITH_ENDPOINT). When enabled, a LangChainTracer callback is attached
to chat models and run metadata is injected for trace tagging.

Co-Authored-By: Claude <noreply@anthropic.com>

* Update backend/src/config/tracing_config.py

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

* Update backend/src/agents/lead_agent/agent.py

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

* Update backend/src/agents/lead_agent/agent.py

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

* Update backend/src/models/factory.py

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

* Add threading lock to ensure thread-safe access to tracing configuration

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-21 16:41:34 +08:00
Zhiyunyao 75226b2fe6
docs: make README easier to follow and update related docs (#884) 2026-02-21 07:48:20 +08:00
Zhiyunyao 0d7c0826f0
chore: add a Makefile command to create all required local configuration files (#883)
* fix: polish the makefile to provide config command for local config setup

* docs: polish the instructions in README
2026-02-19 09:04:37 +08:00
Willem Jiang ea4e0139af
docs: Update Quick Start instructions in README (#881)
Fixes the issue #880
2026-02-18 19:29:25 +08:00
CHANGXUBO 9f74589d09
fix: HTML artifact preview renders blank in preview mode (#876)
The condition guarding ArtifactFilePreview only allowed markdown files
through, which prevented HTML files from reaching the preview component.
Added `language === "html"` to the condition so HTML artifacts render
correctly in preview mode.

Fixes #873

Co-authored-by: Claude <noreply@anthropic.com>
2026-02-18 10:06:21 +08:00
CHANGXUBO 67dbb10c2a
fix: use /tmp/nginx.pid to avoid permission denied errors (#877)
Set pid directive to /tmp/nginx.pid in nginx.conf and nginx.local.conf
to prevent permission denied errors when running nginx as a non-root user.

Co-authored-by: Claude <noreply@anthropic.com>
2026-02-18 10:01:51 +08:00
Willem Jiang 79c841db9e
chore: Ignore legacy web folder in .gitignore (#866)
Add rule to ignore the legacy 'web' folder
2026-02-15 10:45:59 +08:00
Henry Li 2d3a22aeb0
docs: add videos and official website (#865)
* docs: add videos and official website

* docs: use public video URL
2026-02-14 23:48:29 +08:00
Willem Jiang d796c5a328
docs:Add security policy documentation (#864) 2026-02-14 21:34:41 +08:00
Willem Jiang 8039da2fc4
docs:Update README.md (#863)
Updated the link for the original Deep Research framework to point to the correct branch.
2026-02-14 21:30:37 +08:00
Willem Jiang da1bcf0573 Merge remote-tracking branch 'deer-flow-2/experimental' into main-2.x 2026-02-14 16:29:38 +08:00
Willem Jiang a66d8c94fa Prepare to merge deer-flow-2 2026-02-14 16:28:12 +08:00
Willem Jiang 06248fa6f1
chore: Polishing the license headers work (#860)
* feat(tool): Adding license header check and apply tool

* Update docs/LICENSE_HEADERS.md

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

* Update scripts/license_header.py

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

* chore: Polishing the license headers work

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-14 16:24:44 +08:00
大猫子 13a25112b1
fix: move Key Citations to early position in reporter prompt to reduce URL hallucination (#859)
* fix: move Key Citations to early position in reporter prompt to reduce URL hallucination

Move the Key Citations section from position 6 (end of report) to position 2
(immediately after title) in the reporter prompt. When citations are placed at
the end of a long report, LLMs tend to forget real URLs from source material
and fabricate plausible-looking but non-existent URLs.

Changes to src/prompts/reporter.md:
- Move Key Citations from section 6 to section 2 (right after Title)
- Add explicit anti-hallucination instructions: only use URLs from provided
  source material, never fabricate or guess URLs
- Keep a repeated citation list at the end (section 7) for completeness
- Renumber all subsequent sections accordingly
- Update Notes section to reflect new structure

Tested with real DeerFlow backend + DuckDuckGo search:
- Before: multiple hallucinated URLs in report citations
- After: hallucinated URLs reduced significantly

Closes #825

* fix: move citations after observations in reporter_node to reduce URL hallucination

Previously, the citation message was appended BEFORE observation messages,
meaning it got buried under potentially thousands of chars of research data.
By the time the LLM reached the end of the context to generate the report,
it had 'forgotten' the real URLs and fabricated plausible-looking ones.

Now citations are appended AFTER compressed observations, placing them
closest to the LLM's generation point for maximum recall accuracy.

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
2026-02-14 15:21:24 +08:00
大猫子 c95b2711c3
docs: clarify .env configuration for Docker Compose deployment (#858)
- Expand Docker Compose section in README.md and README_zh.md with:
  - Explicit note that only root .env is used (not web/.env)
  - Instructions to update NEXT_PUBLIC_API_URL for remote/LAN deployment
  - Explanation that NEXT_PUBLIC_API_URL is a build-time variable
- Improve NEXT_PUBLIC_API_URL comments in root .env.example

Closes #527
2026-02-14 11:38:21 +08:00
Henry Li 88e89921b9 docs: update LICENSE 2026-02-13 11:49:51 +08:00
Willem Jiang 56b8c3a496
feat(tool): Adding license header check and apply tool (#857)
* feat(tool): Adding license header check and apply tool

* Update docs/LICENSE_HEADERS.md

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

* Update scripts/license_header.py

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-13 11:23:41 +08:00
Rin ba45c1a3a9
security: patch orjson DoS and harden container/frontend (#852) 2026-02-13 10:15:39 +08:00
Henry Li 8f44ca595b docs: update README.md 2026-02-13 09:38:35 +08:00
Henry Li 15df224856 docs: update README.md 2026-02-13 09:25:15 +08:00
JeffJiang 4d5fdcb8db
Consolidates market and data analysis skills; adds chart viz (#36)
Unifies market analysis, data analysis, and consulting reporting into a comprehensive consulting-analysis skill, enabling a two-phase workflow from analysis framework design to professional report generation. Introduces a DuckDB-based data analysis utility for Excel/CSV files and a chart-visualization skill with a flexible JS interface and extensive chart type documentation. Removes the legacy market analysis skill to streamline report generation and improve extensibility for consulting and data-driven workflows.
2026-02-12 11:08:09 +08:00
JeffJiang 300e5a519a
Adds Kubernetes sandbox provisioner support (#35)
* Adds Kubernetes sandbox provisioner support

* Improves Docker dev setup by standardizing host paths

Replaces hardcoded host paths with a configurable root directory,
making the development environment more portable and easier to use
across different machines. Automatically sets the root path if not
already defined, reducing manual setup steps.
2026-02-12 11:02:09 +08:00
hetao e87fd74e17 docs(ppt-generation): enforce sequential slide image generation
Explicitly prohibit parallel image generation to ensure each slide
can use the previous slide as a reference image for visual consistency.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-11 15:36:51 +08:00