董宏凯
|
abd2ced4b4
|
Merge branch 'dhk-1' into 'master'
ai写作
See merge request knowledge-base-bj/deerflow-server!19
|
2026-05-18 09:55:50 +00:00 |
|
董宏凯
|
49e5aaea6b
|
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-server into dhk-1
|
2026-05-18 17:47:33 +08:00 |
|
董宏凯
|
d1f431d121
|
Merge branch 'dhk-1' of http://192.168.0.200/knowledge-base-bj/deerflow-server into dhk-1
|
2026-05-18 17:45:10 +08:00 |
|
fengxiangdebaozi
|
fd759d6845
|
依赖更新
|
2026-05-18 17:44:08 +08:00 |
|
董宏凯
|
5be5531722
|
容错显示
|
2026-05-18 17:41:51 +08:00 |
|
吉鑫升
|
2a4fccde70
|
Merge remote-tracking branch 'origin/likun'
|
2026-05-18 15:41:36 +08:00 |
|
likun
|
2a91e2e7ad
|
知识库补充到p6
|
2026-05-18 15:18:22 +08:00 |
|
董宏凯
|
836dd73446
|
容错处理
|
2026-05-18 11:29:40 +08:00 |
|
xuhd
|
817585a4ce
|
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-server into xuhd-v2
|
2026-05-18 10:22:23 +08:00 |
|
 xuhdandClaude Opus 4.7
|
0386f54449
|
feat(skills): 接入技能使用埋点,修复活跃技能被 curator 误归档
技能正文不进 system prompt,Agent 按 Progressive Loading 用 read_file
加载 SKILL.md 才算真正用到该技能。此前 read_file 与 skill_manage 的
patch/edit 都不更新 .usage.json,curator 的年龄流转据 latest_activity_at
判断闲置,导致每天都在用的 agent 创建技能在 30/90 天后被误标陈旧并归档。
- sandbox/tools.py: 新增 _custom_skill_name_from_path / _record_skill_read,
read_file 读取 custom 技能目录下文件时 bump_use(best-effort,失败不影响主流程)
- skill_manage_tool.py: patch/edit 经 _bump_patch_best_effort 记 patch_count
- tests/test_skill_usage_signals.py: 12 项,覆盖路径解析、埋点与异常兜底
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-18 10:22:15 +08:00 |
|
吉鑫升
|
4761677676
|
Merge remote-tracking branch 'origin/master' into ji
|
2026-05-18 10:03:49 +08:00 |
|
 吉鑫升andClaude Opus 4.7
|
f61d053010
|
feat(skills): 新增技能详情字段并统一发布图标
- 技能新增 detail 字段(skills 表新增列 + Alembic 迁移),
由管理员或技能发布者编辑,内置/公开技能仅管理员可编辑
- 新增 PUT /api/skills/{name}/detail 接口,GET/列表接口返回 detail
- 新增可复用的技能详情弹窗组件,支持 Markdown 渲染与内联编辑
- 智能体创建/编辑选技能、智能体卡片技能徽章均可查看技能详情
- 将定时任务/智能体/技能的发布图标统一为 Globe/Lock
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-18 10:03:37 +08:00 |
|
fengxiangdebaozi
|
8440d02198
|
Merge branch 'dhk-1' of http://192.168.0.200/knowledge-base-bj/deerflow-server into dhk-1
|
2026-05-18 10:03:06 +08:00 |
|
fengxiangdebaozi
|
5c553aae19
|
文档更新
|
2026-05-18 09:58:34 +08:00 |
|
董宏凯
|
0af8ca5f78
|
历史记录回显
|
2026-05-17 22:55:01 +08:00 |
|
董宏凯
|
52ba178c4e
|
字数要求修改
|
2026-05-17 22:33:43 +08:00 |
|
董宏凯
|
166016a741
|
检索结果过程添加
|
2026-05-17 22:01:29 +08:00 |
|
董宏凯
|
20786e690d
|
自动下滑
|
2026-05-17 21:33:24 +08:00 |
|
董宏凯
|
c19417a706
|
暂停继续
|
2026-05-17 21:19:12 +08:00 |
|
董宏凯
|
b768e0affb
|
改写弹窗出现的位置
|
2026-05-17 20:38:35 +08:00 |
|
董宏凯
|
05ff10df1b
|
ai改写调用
|
2026-05-17 20:18:11 +08:00 |
|
董宏凯
|
a0a6227368
|
文章类型添加
|
2026-05-17 19:50:52 +08:00 |
|
董宏凯
|
918e65d8d3
|
ai写作
|
2026-05-17 19:29:10 +08:00 |
|
董宏凯
|
6cab62d140
|
作家大纲拖拽调整顺序
|
2026-05-17 18:00:07 +08:00 |
|
董宏凯
|
9526268f1f
|
加载框顺序调整
|
2026-05-17 17:55:42 +08:00 |
|
董宏凯
|
016ec1877a
|
ai写作
|
2026-05-17 17:39:41 +08:00 |
|
董宏凯
|
772e75f04d
|
ai写作
|
2026-05-17 17:25:18 +08:00 |
|
董宏凯
|
10d7190ea4
|
ai写作
|
2026-05-17 14:22:25 +08:00 |
|
董宏凯
|
cc8703577d
|
ai写作
|
2026-05-17 13:08:45 +08:00 |
|
董宏凯
|
4533755704
|
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-server into dhk-1
|
2026-05-16 22:03:41 +08:00 |
|
董宏凯
|
da4a08dfe1
|
智能选中文字
|
2026-05-16 22:00:34 +08:00 |
|
 xuhdandClaude Opus 4.7
|
39def1c20b
|
feat(skills): curator 健壮性加固 + 评审模型可配置 + 手动触发体验
调度健壮性:
- 技能进化总开关 skill_evolution.enabled 真正生效;CuratorConfig
与 CuratorSubConfig 默认 enabled 改为 false(显式 opt-in)
- 新增 per-user 运行锁(.curator_state 的 running/started_at),
防定时器与手动触发并发重复运行;6h stale 检测防进程残留死锁
- maybe_run_curator 改用 ThreadPoolExecutor 限并发(上限 5),
防首次部署所有用户同时到期的惊群
- 首次运行持续失败时按 6h 退避重试,不再每个 tick 烧 LLM 配额
- should_run_now 时间解析容忍 naive 时间串;损坏的 last_run_at
触发重跑而非永久死锁
- SkillStore 新增 list_published_names 批量接口,curator 一轮
只查一次 published,取代逐技能查库
LLM 评审超时:
- _run_llm_review 给 agent.invoke 套整体超时
(curator.review_timeout_seconds,默认 600s),超时中止本次评审
并在 curator 日志输出,curator 正常收尾、释放运行锁
- copy_context 把 user 上下文传入工作线程
模型可配置:
- 新增 curator.model_name;curator 评审与技能安全审核共用该模型,
未配置则回退主模型
- 移除独立的 moderation_model_name 配置
- 前端进化面板新增模型下拉选择器
手动触发体验:
- /api/curator/run 派发后台线程前先预检,返回 {triggered, reason},
不再无论开关状态都提示"已开始"
- 前端:总开关/curator 开关未开时禁用"立即执行"按钮,
被预检拦下时按原因(开关未开 / 已有任务在跑)给出准确提示
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-16 15:50:15 +08:00 |
|
董宏凯
|
e8a31b5d37
|
代码修改
|
2026-05-16 14:24:44 +08:00 |
|
董宏凯
|
5a25dd08f6
|
Merge branch 'dhk-2' into 'master'
文档修改
See merge request knowledge-base-bj/deerflow-server!18
|
2026-05-16 01:07:56 +00:00 |
|
fengxiangdebaozi
|
b34219ce86
|
文档修改
|
2026-05-16 09:07:18 +08:00 |
|
董宏凯
|
05548b0fa6
|
Merge branch 'dhk-1' into 'master'
Dhk 1
See merge request knowledge-base-bj/deerflow-server!17
|
2026-05-15 15:28:24 +00:00 |
|
董宏凯
|
e08e7be24c
|
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-server into dhk-1
|
2026-05-15 23:27:48 +08:00 |
|
董宏凯
|
1be600155b
|
openCanvas
|
2026-05-15 23:27:34 +08:00 |
|
xuhd
|
be757b1f2f
|
@
feat(skills): skill_list 可见性过滤 + skill 只读工具常驻 + 进化面板对照展示
- skill_list:默认 lead agent 改为只暴露未归档、且内置或属于当前用户的技能;
自定义 agent 仍严格按白名单。SkillStore 不可用时降级放行全部自定义技能。
- prompt:注入系统提示词的技能列表剔除已归档(state=archived)技能。
- tools:skill_list/skill_view 只读工具改为常驻提供;skill_manage 写工具仍按
生效配置(含 per-user 覆盖)的 skill_evolution.enabled 门控。
- curator:should_run_now 解析异常时改为不运行;get_curator_status 返回上次
LLM 建议与实际工具调用两份记录,供前端对照。
- 前端:技能进化面板新增建议 vs 实际动作对照展示 + 配套 i18n。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@
|
2026-05-15 20:39:13 +08:00 |
|
 xuhdandClaude Opus 4.7
|
d592e1e535
|
fix(skills): curator 自我进化周期调度 + 并发/配置/安全修复
调度:
- app.py 新增常驻 curator 调度器,每小时检查一次"需不需要进化",
替代原来"仅启动跑一次";多 worker 下用跨平台文件锁做 leader 选举,
只有一个进程跑调度;启动延迟 5 分钟避开启动高峰
curator 逻辑修复:
- C1: should_run_now / apply_automatic_transitions / get_curator_status
调用 _get_curator_config 时传 user_id,使 per-user 配置在运行时生效
- C3: usage.py 的 .usage.json 读-改-写加进程内锁,bump_* 改回调式,
避免 curator 多线程并发丢状态更新
- C4a: curator 受限版 skill_manage 在工具层屏蔽 delete,
堵住绕过 skill_archive 安全网删技能的口子
- C4b: 进化记录同时保存 LLM 自述(suggestions)与真实工具调用(actual_actions)
- 无候选技能时跳过 LLM 评审,省掉无意义的模型调用
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-15 19:31:05 +08:00 |
|
吉鑫升
|
3b951efd13
|
Merge remote-tracking branch 'origin/master' into ji
|
2026-05-15 16:54:56 +08:00 |
|
吉鑫升
|
33161c5bad
|
Merge remote-tracking branch 'origin/likun' into ji
# Conflicts:
# frontend-web/src/components/workspace/artifacts/artifact-file-detail.tsx
# frontend-web/src/components/workspace/code-editor.tsx
# frontend-web/src/components/workspace/input-box.tsx
# frontend-web/src/pages/ChatPage.tsx
# offline-backend-20260512/backend/app/gateway/routers/artifacts.py
|
2026-05-15 16:54:10 +08:00 |
|
xuhd
|
8b6236c796
|
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-server into xuhd-v2
|
2026-05-15 16:42:48 +08:00 |
|
 xuhdandClaude Opus 4.7
|
a59d80d7f3
|
feat(i18n): 全局将「专家」文案改为「智能体」
统一智能体功能的 UI 文案:侧边栏、智能体页、新建/保存流程、
审批卡片、登录提示及后端审批消息中的「专家」均改为「智能体」。
保留 prompt 人设、QA 子应用等非该功能语义的「专家」表述。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-15 16:42:40 +08:00 |
|
 xuhdandClaude Opus 4.7
|
a5c76591ac
|
feat(i18n): 全局将「专家」文案改为「智能体」
统一智能体功能的 UI 文案:侧边栏、智能体页、新建/保存流程、
审批卡片、登录提示及后端审批消息中的「专家」均改为「智能体」。
保留 prompt 人设、QA 子应用等非该功能语义的「专家」表述。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-15 16:42:11 +08:00 |
|
xuhd
|
c2a975af9e
|
@
feat(i18n): 全局将「专家」文案改为「智能体」
统一智能体功能的 UI 文案:侧边栏、智能体页、新建/保存流程、
审批卡片、登录提示及后端审批消息中的「专家」均改为「智能体」。
保留 prompt 人设、QA 子应用等非该功能语义的「专家」表述。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@
|
2026-05-15 16:41:44 +08:00 |
|
 吉鑫升andClaude Opus 4.7
|
ed4909a28d
|
chore: 纳入 skill_evolution 运行时配置文件
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-15 16:29:26 +08:00 |
|
吉鑫升
|
afc517b3a7
|
Merge remote-tracking branch 'origin/master' into ji
# Conflicts:
# frontend-web/src/components/workspace/agents/agent-gallery.tsx
# frontend-web/src/components/workspace/settings/skill-settings-page.tsx
|
2026-05-15 16:27:56 +08:00 |
|
likun
|
de9f6b6711
|
feat: 新增写作画布系统
|
2026-05-15 16:22:04 +08:00 |
|
 吉鑫升andClaude Opus 4.7
|
646cb8caeb
|
feat: 标签管理功能 + 问答前缀对用户隐藏
标签管理:
- 新增 tags/tag_assignments 持久化层、迁移、/api/tags 路由
- 标签分智能体/技能/定时任务三类, 仅同类型可互打, 仅 admin 可增删改与打标签
- 三类资源列表支持按名称模糊检索与按标签筛选(走后端查询参数)
- 前端新增标签管理页、TagPickerDialog(点击即时绑定)、彩色标签 chip
问答前缀:
- 前缀不再拼入消息 content, 改存 additional_kwargs 由 PromptPrefixMiddleware
在调模型前临时注入, 用户界面看不到前缀但模型仍收到
- 修正 thread_existed 闸门导致首轮前缀被跳过的问题
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-15 16:19:08 +08:00 |
|