董宏凯
428588f1c4
代码提交
2026-08-05 22:20:46 +08:00
董宏凯 and Cursor
1a080311bd
fix(maf): harden phase-3 dispatch recovery and participant writes
...
Make ensure_participants concurrent-safe, restore clarification checkpoints without re-planning, and only create threads for validated seats.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-05 21:47:46 +08:00
董宏凯
ddf83f7728
代码提交
2026-08-03 19:27:54 +08:00
董宏凯
d93cc62806
Merge branch 'master-nj' of http://192.168.0.200/knowledge-base-bj/deerflow-code into master-dev
2026-08-03 12:13:59 +08:00
董宏凯
4fcd96af29
Merge branch 'dhk-1' of http://192.168.0.200/knowledge-base-bj/deerflow-code into master-dev
2026-08-03 12:12:01 +08:00
董宏凯 and Cursor
99642fca6c
feat(maf): conversation-driven MAF roundtable (R1/R2) + server-owned stage-3 dispatch
...
Backend:
- Conversation API at /api/maf-roundtable/conversations: create/list/detail,
paginated messages, atomic send+run start, owner-only isolation,
admin read-only diagnostic access
- SSE real-time event stream (GET /conversations/{id}/stream) backed by
ConversationEventHub + conversation_events store; multi-worker deployment doc
- Deterministic server-owned stage-3 dispatch contracts (dispatch_contracts.py):
routing resolved from trusted MAF deployment config instead of manager-chosen
agent ids; config.yaml keeps stage-3 routing deployment-owned
(default_manager_agent_id / seat ids / business_routes / max_seats_per_run)
- Conversation persistence (conversations/messages stores) + v2 migration script
- Tests: conversations, conversation stream, migration, phase3 conversation dispatch
Frontend:
- Vitest test infra for MAF (vitest.maf.config.ts + test:maf script) with
component tests for ApprovalCard/RunHeader/SessionsPage and use-maf-events
- Session form lib, flow-graph dialog / run-detail / sessions page updates,
routes and nav tweaks
- Docs: R0 legacy interaction baseline mapping, updated implementation plan
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-03 12:09:47 +08:00
董宏凯
df408831e5
feat(maf): unified safe display + decision lock for approvals
...
Stage-6 MAF frontend foundation plus P1 approval safety hardening:
- Add lib/safe-display.ts: single-source safeDisplayJson that deletes
sensitive keys (never renders as ***), recurses with depth/array/field/
string caps, returns hiddenCount + truncated.
- MafApprovalCard & MafActionAuditPanel both use safeDisplayJson; remove
private sanitize duplicates. Panels hide entirely when nothing is left.
- Lock the card on both approve AND reject (resuming state) since the
backend advances the workflow on either decision; add a decisionLockRef
sync guard so a double-click before React re-render cannot fire a second
mutate. Status text becomes '正在同步工作流…'.
- Stage-6 base shipped here as prerequisite: self-contained maf-flow-graph
(no roundtable-planning dep), MafFlowGraphDialog/MafFactLedgerPanel/
MafActionAuditPanel, shared risk-theme/action-audit/approval-state/
run-resume libs, mergeBySeq export, canResume wiring, TButton icon fixes.
- Tests import real functions only; 48 pass (adds 8 safeDisplayJson cases).
2026-08-02 22:55:27 +08:00
董宏凯 and Cursor
e939dc4548
feat(frontend): 岗位会商页面布局与意图理解交互优化
...
完善 PositionRoundtable 样式与输入组件,补充 SVG 资源,并同步 Step1 意图相关逻辑。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-02 21:52:54 +08:00
董宏凯
1ffead7ee2
岗位会商样式修改
2026-08-02 15:33:26 +08:00
董宏凯
a55992e31c
fix(maf): harden phase 5 approval safety
2026-08-02 14:32:49 +08:00
董宏凯 and Cursor
f82363d81f
feat(maf): Phase 5 - action coordinator, approval flow, frontend MAF roundtable pages
...
- Backend: action_coordinator, capability_snapshot, event_normalizer, tool_executor updates
- Backend: approved_tool_executor with write guard, action leases, migration script
- Frontend: maf-roundtable module (API client, event timeline, approval cards, fact flow panel)
- Frontend: MafRoutes, MafSessionsPage, MafRunDetailPage
- Tests: action_leases, migration_phase5, phase5_entry_e2e, real_write_e2e/http_e2e
- Docs: update implementation plan
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-02 13:07:21 +08:00
董宏凯
21c4c898e7
feat(maf): complete resilient roundtable workflow
2026-08-02 00:23:25 +08:00
董宏凯
bd4131b4e2
feat(maf): add secure roundtable workflow runtime
2026-08-01 17:51:53 +08:00
董宏凯 and Cursor
e690475e6e
feat(maf-roundtable): add Phase-1 multi-agent roundtable infrastructure
...
Ship an independent, feature-flag-gated MAF roundtable skeleton with six
isolated tables, atomic single-transaction run launch/cancel, owner-scoped
read/write split, shared config enums, and HTTP/concurrency regression tests.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-01 01:07:05 +08:00
董宏凯
a0a75a9964
Merge branch 'dhk-1' into 'master'
...
fix: avoid MySQL thread_meta refresh races and harden roundtable bootstrap
See merge request knowledge-base-bj/deerflow-code!16
2026-07-31 13:11:29 +00:00
董宏凯
37964d1f95
代码修改
2026-07-31 21:09:54 +08:00
董宏凯 and Cursor
a9d66536c3
fix: avoid MySQL thread_meta refresh races and harden roundtable bootstrap
...
Skip post-commit ORM refresh on threads_meta creates so concurrent MySQL
read/write-split deployments no longer fail with Could not refresh instance;
clean up partial roundtable threads on checkpoint failure, and ship related
position-roundtable/frontend build fixes.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-07-31 21:00:56 +08:00
董宏凯
a968c3b5cd
Merge branch 'dhk-1' into 'master'
...
代码修改
See merge request knowledge-base-bj/deerflow-code!15
2026-07-29 14:27:46 +00:00
董宏凯
e52261fc3d
fix: preserve full chat embed mode navigation
2026-07-29 22:25:42 +08:00
董宏凯
4450f342d8
页面嵌套修改
2026-07-29 21:53:32 +08:00
董宏凯
213dd841b5
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-code into dhk-1
2026-07-28 19:18:52 +08:00
董宏凯
816c46d447
代码提交
2026-07-28 19:17:40 +08:00
董宏凯
151ecceb85
feat: 更新主题配置与系统设置
2026-07-27 21:31:09 +08:00
董宏凯
1555d5344b
feat: 优化8BF业务链流程图与深色配置弹窗
2026-07-27 21:30:57 +08:00
董宏凯
bd8ec41914
Merge branch 'dhk-1' into 'master'
...
Dhk 1
See merge request knowledge-base-bj/deerflow-code!12
2026-07-27 11:25:40 +00:00
董宏凯
1e21e559fb
merge: 合并远端 dhk-1 最新改动
2026-07-27 19:22:59 +08:00
董宏凯
e496221dc3
Merge remote-tracking branch 'origin/master' into HEAD
2026-07-27 19:19:01 +08:00
董宏凯
5bf3955b26
代码提交
2026-07-27 19:16:12 +08:00
董宏凯
1ab3329f6d
feat: 新增8BF多智能体会商页面
2026-07-27 19:00:14 +08:00
董宏凯
e70bb4aa6f
feat: 新增8BF多智能体会商页面
2026-07-27 18:59:42 +08:00
董宏凯
cec2996861
Merge branch 'dhk-1' into 'master'
...
feat(沙箱): md 产物支持 AI 写作编辑与划词改写
See merge request knowledge-base-bj/deerflow-code!9
2026-07-26 13:20:20 +00:00
董宏凯
f1e53ef5c0
功能:完善自定义主题与独立登录会话
2026-07-26 18:19:50 +08:00
董宏凯
3779bb69ef
fix: load model keys from environment
2026-07-26 13:08:09 +08:00
董宏凯
25153dbd84
代码修改
2026-07-24 14:12:42 +08:00
董宏凯
91ba47bf47
代码提交
2026-07-24 11:24:11 +08:00
董宏凯
28bf1ac7b2
Merge branch 'dhk-1' of http://192.168.0.200/knowledge-base-bj/deerflow-code into dhk-1
...
# Conflicts:
# frontend-web/src/position-roundtable/components/PositionBuiltinAgentChat.tsx
# frontend-web/src/position-roundtable/components/PositionNodeChat.tsx
2026-07-24 10:41:38 +08:00
董宏凯
45df500a9c
代码提交
2026-07-24 10:33:28 +08:00
董宏凯
f49def09ea
代码修改
2026-07-23 16:00:39 +08:00
董宏凯
4948a80c56
代码提交
2026-07-23 15:53:43 +08:00
董宏凯
7d249a81ce
Merge branch 'dhk-1' of http://192.168.0.200/knowledge-base-bj/deerflow-code into dhk-1
...
# Conflicts:
# frontend-web/src/position-roundtable/components/PositionBuiltinAgentChat.tsx
# frontend-web/src/position-roundtable/components/PositionNodeChat.tsx
2026-07-23 15:11:43 +08:00
董宏凯
1d07025f74
代码修改
2026-07-23 15:08:00 +08:00
董宏凯
b60d9ed09e
代码修改
2026-07-23 14:29:12 +08:00
董宏凯
56740ecf56
Merge branch 'dhk-1' of http://192.168.0.200/knowledge-base-bj/deerflow-code into dhk-1
2026-07-23 12:38:52 +08:00
董宏凯
9f788e37de
样式修改
2026-07-23 12:38:48 +08:00
董宏凯
08ce3dda73
merge: integrate dhk-dev into dhk-1
2026-07-23 10:38:48 +08:00
董宏凯
c8f69781e4
样式修改
2026-07-23 10:10:47 +08:00
董宏凯
13bfa719ee
feat: refine position roundtable workflow
2026-07-22 22:22:38 +08:00
董宏凯
359bd28f2c
fix: polish position roundtable artifact preview
2026-07-22 18:41:46 +08:00
董宏凯
790267ac43
Merge branch 'dhk-1' of http://192.168.0.200/knowledge-base-bj/deerflow-code into dhk-1
...
# Conflicts:
# frontend-web/src/position-roundtable/pages/PositionRoundtablePage.tsx
2026-07-22 17:02:07 +08:00
董宏凯
d9844e0180
打开沙箱错误修改
2026-07-22 16:53:56 +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
董宏凯
b93b82fcaf
Merge branch 'dhk-1' of http://192.168.0.200/knowledge-base-bj/deerflow-code into dhk-1
2026-07-21 11:00:19 +08:00
董宏凯
d0b4832ed7
代码提交
2026-07-21 10:58:56 +08:00
董宏凯
2d6992d656
feat(frontend): adapt TDesign themes
2026-07-20 20:10:22 +08:00
董宏凯
bb7291a97c
Merge branch 'dhk-1' into 'master'
...
feat: 支持深色主题顶栏 Logo 位置配置
See merge request knowledge-base-bj/deerflow-code!5
2026-07-17 13:08:45 +00:00
董宏凯
2c331aa744
Merge branch 'dhk-1' into 'master'
...
Dhk 1
See merge request knowledge-base-bj/deerflow-code!4
2026-07-16 14:45:42 +00:00
董宏凯
871d98e6f2
Merge branch 'dhk-1' into 'master'
...
Dhk 1
See merge request knowledge-base-bj/deerflow-code!3
2026-07-16 01:57:37 +00: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
董宏凯
55b5c2cc9f
代码部署说明
2026-07-11 18:58:16 +08:00
董宏凯
d5d5199f6d
Merge branch 'dhk-1' into 'master'
...
代码合并
See merge request knowledge-base-bj/deerflow-code!2
2026-07-11 10:16:38 +00:00
董宏凯
b1c396717b
Merge branch 'dhk-1' into 'master'
...
feat(message-token-usage): 速度条下方常驻颜色含义图例
See merge request knowledge-base-bj/deerflow-code!1
2026-07-11 10:12:52 +00: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
董宏凯
a1c63a1fe5
代码提交
2026-07-03 22:11:50 +08:00
董宏凯
195ef3ee40
Merge branch 'dhk-1' into 'master'
...
Dhk 1
See merge request knowledge-base-bj/deerflow-server!169
2026-07-03 08:37:06 +00: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
董宏凯
7d9c0894f8
fix: limit roundtable chain rail height
2026-07-02 11:17:52 +08:00
董宏凯
94188db9ea
Merge branch 'dhk-1' into 'master'
...
Dhk 1
See merge request knowledge-base-bj/deerflow-server!168
2026-07-02 02:15:43 +00:00
董宏凯
b12497898a
fix: polish roundtable chain rail toggle
2026-07-02 10:14:40 +08:00
董宏凯
3e51208024
feat: add roundtable chain rail scroll
2026-07-02 10:06:24 +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
董宏凯
ba0c32dcee
Merge branch 'dhk-1' into 'master'
...
代码修改
See merge request knowledge-base-bj/deerflow-server!167
2026-07-01 09:51:15 +00: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
董宏凯
f3e5a3bb35
fix: prevent notebook writing redirect to agent chat
2026-07-01 14:48:40 +08:00
董宏凯
0547fb1715
提交
2026-07-01 11:22:26 +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
董宏凯
c8cdd1d0b2
Merge branch 'dhk-1' into 'master'
...
统一外部 access_token 存储与轻应用 URL 拼接,修复嵌入会话鉴权隔离。
See merge request knowledge-base-bj/deerflow-server!165
2026-06-30 11:21:42 +00: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
董宏凯 and Cursor
537e2e4d06
fix(登录): token 登录补全 userInfo + 全方式打印路由参数
...
- 把「拉外部用户信息(yUserId→consumer)」与登录鉴权方式解耦:只要 URL 带
yUserId 就填充 userInfo(含 token 登录,consumer 失败非致命),修复 token
登录后 userInfo 残缺、iframe/轻应用拿不到 yUserId/userName/gateDepartName/
typeName/accessToken 的问题。
- token 登录用 auth.username 写入正确用户名(不覆盖 consumer 已落的 userName)。
- 保留 yUserId 优先级(onlineTicket/toolToken 仅在无 yUserId 时启用)。
- 新增登录路由参数 + 落地结果日志(令牌脱敏),方便排查各登录方式取值问题。
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-29 23:36:33 +08:00
董宏凯 and Cursor
9268c73776
feat(沙箱): md 产物支持 AI 写作编辑与划词改写
...
- 新增 MarkdownAiEditor,复用 AI 写作的 TipTap 编辑器与 AI 改写流程
- 沙箱 md 增加 AI 写作视图切换,默认仍为预览;单文件隐藏文件名避免工具栏错位
- 单智能体聊天页开启 allowVirtualMarkdownEdit,生成完成后可编辑
- 会商总结页续看时自动收起研讨原料侧栏
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-29 23:08:55 +08:00
董宏凯
24eb629773
Merge branch 'dhk-1' into 'master'
...
feat(ai写作): 历史记录可继续未完成的会话(从checkpoint续跑)
See merge request knowledge-base-bj/deerflow-server!155
2026-06-27 09:31:57 +00: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
董宏凯 and Cursor
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
董宏凯 and Claude Opus 4.8
c11307aa67
feat(ai写作): 历史记录可继续未完成的会话(从checkpoint续跑)
...
历史列表里 in_progress/draft_ready/review_ready 记录加绿色▶️ 「继续未完成」按钮
(点标题亦可);done/error/background 不可继续。多 worker 安全——与4个确认卡同机制,
全基于共享 checkpoint(gateway GET /threads/{id}/state + /history 读,任意 worker)。
链路:continueWriting(sessionId) → closeHistory + 设活跃 sessionId → useStream
fetchStateHistory 拉该 thread checkpoint 进 stream.values → host rehydrate effect
(continueTargetRef 守卫,每 thread 一次)用 buildRehydrateSnapshot 重建已完成阶段;
status=awaiting_* → 显示确认卡等用户操作,否则 submit({command:{}}) 从 checkpoint
续跑当前阶段。重新加回 buildRehydrateSnapshot + rehydrate action。
入口在侧栏 WritingHistoryItem。刷新=重置不受影响(这是显式点击,非自动重连)。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-27 13:12:47 +08:00
董宏凯
45315f18d2
Merge branch 'dhk-1' into 'master'
...
fix(ai写作): 恢复内网直连检索(知识库检索)空地址回退默认端点
See merge request knowledge-base-bj/deerflow-server!154
2026-06-26 16:02:52 +00:00
董宏凯 and Claude Opus 4.8
e889cc25cf
fix(ai写作): 历史记录 in_progress 不再误显示「进行中」转圈
...
刷新=重置后,开始过但没跑完的会话 DB status 永远停在 in_progress、且无任何活进程,
历史列表却转圈显示「进行中」,误导用户以为还在运行。改为中性、不转圈的「未完成」
(text-slate-400)。真正在跑的 background(后台挂起,有 executor 驱动)保留「挂起中」转圈。
改 WRITING_STATUS_PILL(侧栏列表) + STATUS_LABELS(下拉)。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-27 00:01:32 +08:00
董宏凯 and Claude 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
董宏凯 and Claude Opus 4.8
9f462beec5
fix(ai写作): 继续(暂停后)从checkpoint续跑而非从头重跑意图
...
根因:resumeWriting 的 stream.submit(undefined) 没带 command。后端 worker
(runtime/runs/worker.py:283) 只有收到 command 才翻成 Command() 让 Pregel 从最近
checkpoint 恢复;不带 command 时按 graph_input 起新一轮=从图入口 intent_parser
重跑,于是"规划大纲/检索素材时暂停后继续又从识别意图开始"。
修复:继续时带空 command:{},走 Command 恢复路径(与4个干预卡续跑同机制),
Pregel 从 checkpoint 续跑当前未完成阶段(已完成阶段不丢),不再重跑 intent。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 23:31:48 +08:00
董宏凯 and Claude Opus 4.8
4f0c75e76e
feat(ai写作): 暂停/继续 + 断网刷新后自动重连续跑
...
需求:写作任一活跃阶段(素材搜集/大纲/写作/审核中)断网也能继续。
断网续跑(纯前端,后端无需改):
- 所有 stream.submit 加 onDisconnect:'continue'(断开后端不取消 run,继续跑到
下一个确认点等待);不开 streamResumable(避免与 rehydrate 重复累积时间线)
- 活跃 sessionId 存 sessionStorage,刷新后渲染期同步恢复 → threadId 首帧即交给
useStream(reconnectOnMount) 重连该 run
- 重连后用 graph values 快照 buildRehydrateSnapshot 重建 reducer(rehydrate
action),素材/大纲/草稿/审核/时间线立刻回显;currentPause 由 interrupt effect 设
- 去掉卸载时"自动后台挂起跑完"(会自动替用户确认),改为自然续跑等待;显式后台挂起按钮保留
手动暂停/继续:
- ENABLE_PAUSE_RESUME_UI 开启;暂停=stream.stop()(已完成阶段已落 checkpoint),
继续=clear_streaming 后从 checkpoint 重新 submit 续跑(重跑当前阶段,已完成不丢)
- 按钮"停止"→"暂停"(Pause 图标)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 23:20:48 +08:00
董宏凯 and Claude Opus 4.8
2097587b42
feat(ai写作): 左侧研究栏加历史记录列表(参考会商样式)+侧栏可收起
...
- ResearchSidebar 底部新增「历史记录」列表,跟随侧栏自然滚动;样式对齐
多智能体会商 HistoryDropdown(圆角卡片+divide-y+状态药丸+打开/改名/删除)
- 点历史记录在右侧区域显示历史回看,左侧栏保留(showSidebar 含历史态)
- 侧栏顶部加「收起」按钮,收起为细窄展开条(页面承载 sidebarCollapsed)
- 「挂起中」记录点击经 window 事件 ai-writing:show-progress 打开进度流程图弹窗
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-26 22:54:10 +08:00
董宏凯
53af352ce8
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-server into dhk-1
2026-06-26 22:14:31 +08:00
董宏凯 and Claude 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
董宏凯
c732fd75e4
Merge branch 'dhk-1' into 'master'
...
feat(定时任务): 新增 9 个 HTML 模板,下拉补齐为 no.1~no.18(只展示)
See merge request knowledge-base-bj/deerflow-server!153
2026-06-26 12:51:31 +00: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