董宏凯
4450f342d8
页面嵌套修改
2026-07-29 21:53:32 +08:00
董宏凯
1e21e559fb
merge: 合并远端 dhk-1 最新改动
2026-07-27 19:22:59 +08:00
董宏凯
5bf3955b26
代码提交
2026-07-27 19:16:12 +08:00
Rocky Kwok
fb73ae0471
Merge branch 'master' of http://192.168.0.200/knowledge-base-bj/deerflow-code into gzy_dev_new
2026-07-27 10:06:33 +08:00
Rocky Kwok
75aad4eef6
fix(frontend): preserve iframe theme across login
...
The iframe login used a fixed queryless redirect and called setTheme, which both dropped the iframe theme and persisted it into the normal site's shared theme storage.
2026-07-27 09:54:22 +08:00
fengxiangdebaozi
0634337858
feat: 支持登录隐藏壳层和路由跳转参数
2026-07-23 11:16:11 +08:00
fengxiangdebaozi
6742346eb4
代码提交
2026-06-23 21:05:58 +08:00
董宏凯 and Claude Opus 4.8
a85d2480b4
feat(auth): 独立登录会话开关(设置-外观)—— 同浏览器多账号互不覆盖
...
复用 iframe 嵌入的按标签页隔离机制:新增 ?isolate=1 标志,authStorage()
从「仅嵌入」放宽为 isEmbedActive() || isIsolatedSession(),独立态走
sessionStorage 故本标签页登录态不被其它标签页覆盖。设置→外观→「登录会话」
加 Switch,开启时先 migrateAuthToSession() 把 localStorage 受保护键快照搬进
sessionStorage 再翻标志,无感不登出;AuthSyncWatcher 跨标签监听对隔离态实时
忽略,运行时开关即刻生效。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-19 17:51:08 +08:00
fengxiangdebaozi and Claude Opus 4.8
31f9838095
feat(embed): iframe 嵌入模式(去 chrome + 主题隔离 / hideJump / 登录用户隔离)
...
外部系统用 iframe 套用深链单智能体问答/多智能体会商时,三个按标签页(sessionStorage)
开关,由深链 URL 参数开启、跨登录跳转/刷新/页内导航存活,绝不跨标签污染正常系统页:
- embed=1(可带 theme=):去全局导航栏 + 侧边栏;按外部主题色强制明/暗,走
next-themes forcedTheme(不写 localStorage),嵌入侧不调 setTheme/persistSidebarEnabled
- hideJump=1:隐藏深链底部「快捷跳转」栏 TaskJumpBar(底部「下一步」按钮 + 右侧悬浮菜单)
- 登录隔离:嵌入态鉴权/身份键(deerflow.auth/userInfo/login.*/tools_token 等)改走
sessionStorage(core/auth/scoped-storage.ts 的 authStorage),iframe 登录用户与正常
登录用户完全隔离、互不覆盖;token 读取统一过 getStoredAuth,改中心函数即全体生效;
跨标签账号变更监听 AuthSyncWatcher 嵌入态禁用
嵌入会话在 main.tsx 渲染前同步启用(早于任何鉴权写入)。正常标签页 isXxx() 恒 false,
行为零变化。新增 core/embed/embed-session.ts、core/auth/scoped-storage.ts。
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-19 12:02:36 +08:00
吉鑫升 and Claude Fable 5
81f2a48c6d
feat: 公开嵌入页主题支持外部指定 + 排行榜入口移至左上角
...
- 公开页(/share、/public、/roundtable-share)新增 ?theme= 与
deerflow:set-theme postMessage 两种外部主题指定方式,经
usePublicEmbedTheme 接成 next-themes forcedTheme,不写 localStorage
- 排行榜入口从欢迎语旁移到 workspace-header 左上角应用名旁
- 新增 docs/embed-public-pages-theme.md 嵌入主题使用文档
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-06-12 15:12:17 +08:00
Administrator and Claude Opus 4.8
da677f87d5
feat: 公开页背景色支持 iframe 外部配置 + CM助手旁排行榜入口
...
- 新增 usePublicBackground:公开页(排行榜/分享/会商分享/计划任务)支持
嵌套方通过 ?bg=/?text= 查询参数或 postMessage 覆盖背景/文字色
- Header 左上角 CM助手 旁新增「排行榜」按钮,新标签打开公开排行榜页
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-12 12:21:25 +08:00
吉鑫升 and Claude Fable 5
28098b3155
feat: 知识库实体筛选、技能白名单收紧、嵌入主题与提问组件优化
...
- 知识库笔记列表支持按实体精确筛选(路由/服务/仓储层透传,关系图索引查询)
- 自定义智能体技能白名单在 skill_view 与 skill_manage 的 list/view 别名上同样生效;
config 未声明 skills 时视为无可见技能
- 嵌入圆桌主题解析默认深蓝,强制主题期间不再写 localStorage 覆盖主站选择
- 智能体提问建议拆出 agent-question-chips 组件,编辑器与详情面板联动优化
- 新增 qa-client 问答测试脚本
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com >
2026-06-12 11:09:32 +08:00
董宏凯
f3ca996116
wujie应用联调
2026-06-11 17:11:28 +08:00
fengxiangdebaozi
79d87ad661
Merge branch 'dhk-1' of http://192.168.0.200/knowledge-base-bj/deerflow-server into dhk-1
2026-06-03 16:22:51 +08:00
fengxiangdebaozi
ad4b27b7ca
feat: 无界 ticket 登录、AI 写作配置确认与定时任务弹窗修复
...
无界 onlineTicket 对接 MaxKey 与 consumer 接口并用 sub 登录;新增 setup_writing 写作配置确认流;定时任务创建弹窗限制多行高度并支持滚动。
2026-06-03 16:20:45 +08:00
董宏凯 and Cursor
40ba81ee6a
新增 iframe 结果接口与圆桌 Step3 结果绘制
...
- 公开 API:GET /api/public/embed/sessions/{sessionId}/result 返回 messages、generated_text、generated_files
- 圆桌 Step3:内置 roundtable-report 智能体、report/init 与结果绘制 UI
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-03 13:57:37 +08:00
董宏凯
7efedc7b44
ai写作修改
2026-06-02 20:36:22 +08:00
fengxiangdebaozi
f0ccd6fb09
代码提交
2026-06-02 11:04:25 +08:00