fengxiangdebaozi
|
239b798c5d
|
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-code into dhk-1
# Conflicts:
# frontend-web/src/components/workspace/workspace-nav-menu.tsx
# offline-backend-20260512/backend/app/gateway/routers/multi_agent.py
|
2026-07-26 20:55:50 +08:00 |
|
董宏凯
|
f1e53ef5c0
|
功能:完善自定义主题与独立登录会话
|
2026-07-26 18:19:50 +08:00 |
|
董宏凯
|
25153dbd84
|
代码修改
|
2026-07-24 14:12:42 +08:00 |
|
董宏凯
|
45df500a9c
|
代码提交
|
2026-07-24 10:33:28 +08:00 |
|
董宏凯
|
08ce3dda73
|
merge: integrate dhk-dev into dhk-1
|
2026-07-23 10:38:48 +08:00 |
|
董宏凯
|
ae184f434d
|
Merge branch 'dhk-1' of http://192.168.0.200/knowledge-base-bj/deerflow-code into dhk-1
|
2026-07-22 15:43:13 +08:00 |
|
董宏凯
|
055523bf33
|
代码修改
|
2026-07-22 15:43:06 +08:00 |
|
fengxiangdebaozi
|
1bc203b5cd
|
岗位会商
|
2026-07-22 15:40:00 +08:00 |
|
fengxiangdebaozi
|
1cd99a5a90
|
feat(position-roundtable): add delivery rejection workflow
|
2026-07-21 20:16:52 +08:00 |
|
fengxiangdebaozi
|
85e119db08
|
feat(position-roundtable): add standalone position collaboration
|
2026-07-21 17:50:24 +08:00 |
|
吉鑫升
|
5436719bfb
|
Merge branch 'master-dev' into 'master'
|
2026-07-21 14:47:46 +08:00 |
|
董宏凯
|
d7ad0624b7
|
代码提交
|
2026-07-15 16:13:03 +08:00 |
|
董宏凯
|
27e6b0b23e
|
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-code into dhk-dev
# Conflicts:
# frontend-web/src/open-canvas/components/ai-writing/AIWritingForm.tsx
|
2026-07-11 19:01:10 +08:00 |
|
fengxiangdebaozi
|
388a9133fc
|
fix: adapt frontend for legacy Chrome and runtime config
|
2026-07-11 16:55:08 +08:00 |
|
董宏凯
|
221e947488
|
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-server into dhk-dev
# Conflicts:
# frontend-web/src/open-canvas/components/ai-writing/AIWritingForm.tsx
# frontend-web/src/open-canvas/components/ai-writing/AIWritingPanel.tsx
# offline-backend-20260512/backend/CLAUDE.md
# offline-backend-20260512/backend/app/gateway/services.py
# offline-backend-20260512/backend/tests/test_ai_writing_knowledge_base.py
|
2026-07-03 22:28:21 +08:00 |
|
fengxiangdebaozi
|
f3511e5cd0
|
样式修改
|
2026-07-03 16:35:52 +08:00 |
|
董宏凯
|
da856f2b58
|
fix: improve ai writing chat streaming and intent handling
|
2026-07-02 17:43:23 +08:00 |
|
董宏凯
|
845c87e3ee
|
feat: add AI writing chat workspace
|
2026-07-02 13:56:46 +08:00 |
|
吉鑫升
|
7e7d3c9846
|
fix: truncate rwfx 3q context
|
2026-07-02 11:05:12 +08:00 |
|
吉鑫升
|
36a3851233
|
feat: inject 3q context into rwfx chat
|
2026-07-02 10:03:34 +08:00 |
|
董宏凯
|
54190d7a83
|
提交代码
|
2026-07-01 19:24:23 +08:00 |
|
董宏凯
|
d21dbeb214
|
feat: refine ai writing search flow
|
2026-07-01 18:00:14 +08:00 |
|
董宏凯
|
025e43f4c5
|
feat: improve ai writing imitation flow
|
2026-07-01 17:16:12 +08:00 |
|
董宏凯
|
fa04ab8b5a
|
fix: filter position-granted agent favorites
|
2026-07-01 14:51:14 +08:00 |
|
董宏凯
|
bb6b9bd84b
|
feat: add ai writing imitation mode
|
2026-07-01 11:21:41 +08:00 |
|
董宏凯
|
4bfaeb728b
|
fix: disable ssl verification for intranet ai writing search
|
2026-07-01 10:21:52 +08:00 |
|
董宏凯
|
8fbfd35296
|
Add scheduled HTML templates no19-no27
|
2026-06-30 19:18:48 +08:00 |
|
董宏凯
|
dfb745a5e4
|
代码提交
|
2026-06-30 16:04:51 +08:00 |
|
吉鑫升
|
c23350f17b
|
fix: isolate user concurrency from internal agent runs
|
2026-06-30 14:56:29 +08:00 |
|
吉鑫升
|
b4206d6421
|
Add Redis-backed concurrency gate
|
2026-06-30 11:25:44 +08:00 |
|
Administrator
|
d39b58255d
|
并发版
|
2026-06-29 16:09:51 +08:00 |
|
Rocky Kwok
|
e9e4c181b9
|
feat: 插件管理及域名和智能体对应
|
2026-06-29 14:31:40 +08:00 |
|
fengxiangdebaozi
|
4fce6f9104
|
Add intranet retrieval diagnostics for AI writing
|
2026-06-29 10:21:10 +08:00 |
|
Administrator
|
2d3033434b
|
Fix async thread title generation flow
|
2026-06-28 18:09:48 +08:00 |
|
Administrator
|
a046d19ce1
|
fix: improve model concurrency limiting
|
2026-06-27 18:57:01 +08:00 |
|
Administrator
|
aca089e8ef
|
feat: add per-model concurrency limits
|
2026-06-27 18:57:01 +08:00 |
|
董宏凯
|
44d7304f8e
|
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-server into dhk-1
|
2026-06-27 16:00:47 +08:00 |
|
 董宏凯andCursor
|
5de74e90dc
|
feat(ai写作): 左栏智能体 Tab 内嵌问答并优化模块侧栏
AI 写作页默认展示智能体 Tab,在页内复用 ai-writing 模块配置与 AgentChatPage;确认类型后侧栏扁平展示类型名并支持整块收起动画。同步历史回看、流式续跑、改写菜单与 researcher 检索相关改动。
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-06-27 15:53:51 +08:00 |
|
吉鑫升
|
199269712f
|
Merge branch 'ji' into master
账号级登录口令(白名单管理页设明文口令,凭 /login/<用户名>?password= 直登)。
|
2026-06-27 11:19:58 +08:00 |
|
 吉鑫升andClaude Opus 4.8
|
9572b66ecb
|
feat(白名单): 账号级登录口令——管理员设明文口令,用户凭 /login/<用户名>?password= 直登
白名单管理页可给单个账号设明文登录口令(users.login_password,可空):
设置后该账号用户名直登(/login/username)须带匹配 ?password=,且优先于全局共享口令门;
未设口令的账号行为不变。前端登录 URL 已支持透传 ?password=,无需改登录页。
- 后端:UserRow/User 新增 login_password + 仓储映射;/login/username 账号级口令闸门
(_lookup_user_by_username 仅查不建);新管理员接口 PUT /users/{id}/login-password;
UserListItem 暴露明文(仅 admin 列表);migration 20260625_04 + 幂等补列 SQL。
- 前端:白名单页新增「登录口令」列(设置/修改/清除 + 复制登录链接);
core/auth api+hooks 增 setUserLoginPassword/useSetUserLoginPassword(含 Y-Log)。
- 文档:根 + 后端 CLAUDE.md 同步。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-27 11:03:39 +08:00 |
|
 董宏凯andClaude Opus 4.8
|
8385d1913a
|
fix(ai写作): 继续从checkpoint续跑(修resume_is_map) + 刷新=重置不重连
后端 worker(runtime/runs/worker.py): 空 command(无 resume/update/goto)不再构造
Command()(会因无挂起 interrupt 抛 'resume_is_map' 未绑定错误),改为 astream(None)
让 Pregel 续跑 checkpoint 里挂起的当前阶段节点。有 resume/update/goto 时(4个干预卡)
仍走 Command,行为不变。前端"继续"发空 command:{} 即从当前阶段续跑、不回 intent。
按用户要求把"断网/刷新自动重连续跑"整套移除(刷新=重置即可):
- 删 sessionStorage 持久化 + reconnectTargetRef + 恢复/持久化 effect + host rehydrate
- 删 buildRehydrateSnapshot/rehydrate action(保留 clear_streaming)
- 提交去掉 onDisconnect:'continue'/streamResumable;reconnectOnMount 改 false
- 卸载不再自动后台挂起;刷新断 SSE 后端默认 cancel 取消 run,页面回 idle
手动暂停/继续保留:暂停=stream.stop(),继续=clear_streaming+空command 从checkpoint续。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-26 23:44:37 +08:00 |
|
 董宏凯andClaude Opus 4.8
|
0089af94d3
|
fix(ai写作): 恢复内网直连检索(知识库检索)空地址回退默认端点
knowledge_base 检索类型遇到空 intranet_search_url 会短路报「未配置」、返回 0
素材,导致「内网直连检索不能用」。旧版 get_search_provider(search_provider=
intranet) 在空地址时由 IntranetSearchProvider 回退内置默认内网端点,所以不配
地址也能直连。本次去掉该短路,空地址原样下传由 provider 回退默认端点,恢复旧逻辑。
- researcher.py: knowledge_base 分支无条件构造 IntranetSearchProvider
- test_ai_writing_knowledge_base.py: 空地址用例改为断言回退默认端点仍出素材
- backend CLAUDE.md: 检索类型段说明更新
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-26 22:13:19 +08:00 |
|
董宏凯
|
89232d7521
|
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-server into dhk-1
|
2026-06-26 20:50:47 +08:00 |
|
 吉鑫升andClaude Opus 4.8
|
26f8010a57
|
feat(监控): 管理员排行榜实时并发监控 + 真正停止对话 + 409 中文化
- 排行榜页顶部新增「实时并发监控」面板(admin-only):当前并发大模型调用数 +
调用列表(用户/智能体/类型/已运行时长),每行「停止」+「全部停止」经
RunManager.cancel 真正中断 LLM 流式调用,减轻大模型压力
- 并发量折线图(峰值/均值,按分钟/小时):新增轻量后台采样器写入新表
concurrency_samples(create_all 自动建表),可按分/时聚合
- 大模型出字速度折线图(tokens/秒,按分钟/小时):复用 llm_call_metrics 聚合,
便于定位是模型/供应商慢
- 后台采样可开关、默认关闭(opt-in)、运行时切换免重启、对线上零影响
(单条极小 INSERT、保留期清理、查询有上限、全程 best-effort)
- 409 中文化:上一轮未结束又发新问题时返回中文提示,前端 onError 友好映射
后端:runtime/runs/manager.py(list_active)、persistence/concurrency(新模块)、
config/system_settings(ConcurrencyMonitorSettings)、gateway/routers/admin_active_runs、
app.py(采样后台任务)、services.py(409)。前端:core/admin/{active-runs,hooks}、
components/workspace/admin/concurrency-monitor、AdminUserLeaderboardPage、threads/hooks。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-26 20:29:26 +08:00 |
|
fengxiangdebaozi
|
4d10590511
|
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-server into dhk-1
|
2026-06-26 11:04:19 +08:00 |
|
 fengxiangdebaoziandClaude Opus 4.8
|
3d60651491
|
feat(ai-writing): 检索类型加回「知识库检索」(直连内网 ES 接口)
弱模型常识别不了配置技能(deepseek-chat 等),恢复旧的"不用技能"检索路径
作为独立检索类型 knowledge_base:绕过技能编排,直接调
ai_writing.intranet_search_url 内网知识库 ES 接口(IntranetSearchProvider)
对检索词并发检索;未配地址 → 无素材 + skill_error 告警。
- researcher.py: material_source 归一保留 knowledge_base + 新增直连内网分支
- state.py: material_source 三值注释
- 前端 AIWritingForm/WritingFormContext/types: 下拉新增「知识库检索」
- tests/test_ai_writing_knowledge_base.py: 直连/未配/不编排技能 3 用例
- backend CLAUDE.md: 检索类型段更新为三值
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-26 10:04:57 +08:00 |
|
 董宏凯andClaude Opus 4.8
|
a400989f64
|
feat(定时任务): 新增 9 个 HTML 模板,下拉补齐为 no.1~no.18(只展示)
- 从 zt-0625 加入 no.8/no.9/no.10/no.11/no.14/no.15/no.16/no.17/no.18
- 新 no.8/no.9 的 id 用 no8b/no9b(no8/no9 已被显示名 no.12/no.13 的模板占用)
- 重排 TEMPLATES 使下拉按显示名升序 no.1→no.18;均 convertible=False 只展示
- 测试覆盖全部 id 存在、显示名覆盖 1~18、各模板文件可读为完整 HTML
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-26 09:55:34 +08:00 |
|
 fengxiangdebaoziandClaude Opus 4.8
|
158d157af4
|
feat(ai写作): 内网检索接口执行诊断写入 material_package.intranet_debug(排查用)
- material_package 新增 intranet_debug:是否配置/端点/知识库/超时/每个检索词命中数与
报错/原始响应片段/总命中数/是否被采用为兜底/status(not_configured|pending|ran|
cancelled|crashed)。随 values 事件回前端,前端忽略该字段,仅供 devtools 排查。
- 新增 config ai_writing.intranet_search_debug(默认 false):开启后即使技能成功也跑完
内网并记录完整结果,用于验证内网接口是否真能通。
- 前端不改动。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-25 22:55:27 +08:00 |
|
 fengxiangdebaoziandClaude Opus 4.8
|
1ed004fbb1
|
fix(ai写作): 弱模型也能真正执行技能脚本(执行优先的强提示)
弱模型在 lead agent 能执行 py 脚本、在 ai写作子智能体却不能:根因是子智能体的
_MATERIAL_OUTPUT_CONTRACT 过度强调"只输出 JSON",弱模型据此跳过工具执行直接吐空 JSON。
对齐 lead agent 的 skill_system 强框架,把契约改成"执行优先":
- 第一步强制先用 bash 实际运行技能脚本(给出 cd 技能目录 && python3 scripts/..py 的命令形态),
严禁不调用工具就直接输出 JSON/凭记忆编造
- JSON 输出降级为第二步"检索完成后再整理"
- task 末尾追加"现在立刻开始执行检索"的强指令,进一步推动弱模型先动手
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
|
2026-06-25 22:50:10 +08:00 |
|
吉鑫升
|
38f98cdf5c
|
Merge branch 'ji' into master
# Conflicts:
# offline-backend-20260512/backend/scripts/sql/column_additions_mysql.sql
|
2026-06-25 21:49:12 +08:00 |
|