Commit Graph
21 Commits
Author SHA1 Message Date
wangheng b567701fa1 feat: 二级页面、孤儿路由防护、iframe 全屏与 DS Bot 侧栏隐藏 (v0.5.3-local.5)
借鉴同线分支 dsh-worktable 0.5.2-local.9 的四项改造,逐项评估后移植:

- 二级页面:LayoutSpec.parentId + layoutTree 树形侧栏 + 折叠/展开。
  仅一级嵌套;删父项目不级联删子页面(提升为顶级,避免误删用户内容)。
  管理面板加「+新增二级页面」,继承父项目文件夹。
- 孤儿路由防护:register 遇 duplicate 路由只 warn 不抛,避免热重载时
  旧 fiber 未释放导致新 fiber 激活失败、侧边栏抽屉整体消失。
- iframe allowFullScreen:项目窗格里的 HTML 看板可全屏。
- DS Bot 侧栏隐藏:由本插件注入 CSS,替代改 ds-bot/client.js 的做法
  (ds-bot 随应用升级,改源码必丢)。nav.bt-home-nav 带标签选择器避免误伤。

未移植对方的状态防清空(stateStore.serverKeys):本仓 hostState.ts 已有
hydrated 守卫(读完宿主前禁写、读不到整场不写)与更细的 6 段退避重试,
覆盖面更强。

顺带修三个 Windows 兼容缺陷,否则 pack 门禁过不去:
- release-prep.mjs:tar 加 --force-local(GNU tar 把 C: 当 rsh 主机)
- preview-files.test.mjs:rmSync 删 junction 失败,加 unlinkSync 兜底
- widget-mount.test.mjs:提取段缺 normalizeProjects 依赖,起点前移

验证:npm run pack 全绿(139 项兼容回归 + 工厂门禁 10/10 + 结构 7 文件 +
独立安装 import + 锚点 14 场景 + Chromium 分栏 5 场景 + 服务端 3 场景)。
双资产同源 sha256 cf633ad7…。
2026-12-02 16:37:29 +08:00
wangheng ff1abee438 fix: 恢复成功后整体替换待写队列,修首屏自愈抢跑写空 2026-11-02 23:30:30 +08:00
wangheng 8ae28b9a92 fix: 状态镜像防冲掉——服务端按 key 合并,客户端读不到宿主就不写 2026-11-02 23:14:04 +08:00
wangheng 26c7dee390 feat: 兼容声明加入 DSH 0.2.2-alpha.2,版本 0.5.2-local.2 2026-11-02 22:53:26 +08:00
wangheng e5896d02c7 docs: README 写清用途、安装命令、覆盖范围与升级回退 2026-11-02 18:41:32 +08:00
Aisland f98246ef0c fix(v0.5.1): 适配rc.5并修正控制室与更新提醒 2026-10-31 17:05:17 +08:00
Aisland 56ffe0cd1c feat(v0.5.0): secure project previews and fix host UI compatibility 2026-10-27 23:09:34 +08:00
Aisland 6cb86b6c73 feat(v0.4.0): support Windows Desktop and isolate project widget mounts 2026-10-03 13:02:20 +08:00
Aisland e63d122142 fix(v0.3.4): adapt worktable to DSH 0.2 Web 2026-10-02 12:58:44 +08:00
Aisland a7b8803978 fix(v0.3.3): 分栏引擎双版本锚点(0.1.1-rc.2/0.1.2-rc.1) + 数据目录解析循环修复 + 发布流水线加防(锚点8场景/数据目录3场景) + 公告/文档同步 2026-09-06 11:32:43 +08:00
Aisland c113584fc1 docs: neat-freak 收尾同步——AGENTS(背景三背景记忆/媒体库默认双图/5键操作台/更新公告/标注协议v3.2) + PRD持久化清单(view.v1新键/updateCache/photoRecords) + README zh/en 补第5键与双默认预设 2026-09-02 01:55:08 +08:00
Aisland d752837b06 feat: 标注协议三件套落地(payload自解释+README zh/en说明+知识包协议行);视频背景首尾帧交叉渐变(双轨重叠1.2s淡入淡出,消除循环卡顿) 2026-09-01 23:28:12 +08:00
Aisland de4c5e2bf8 docs: add troubleshooting FAQ - upgrade-first plus agent-executable junction fallback 2026-08-25 16:52:06 +08:00
Aisland b6a96405e8 release: v0.2.2 - cross-platform paths, health version, update-check hardening, clean packaging 2026-08-25 02:14:02 +08:00
Aisland 58baa65441 release: prepare v0.2.1 - update checker, mount notification, docs sync 2026-08-24 23:47:26 +08:00
Aisland 207bde7f6d docs: widen all three screenshots to 1080 2026-08-22 20:56:54 +08:00
Aisland 8afa1c437d docs: replace sidebar screenshot with landscape drawer shot 2026-08-22 20:55:41 +08:00
Aisland 29bdaa931b docs: enlarge console/workspace shots, shrink portrait sidebar shot 2026-08-22 20:53:05 +08:00
Aisland dd4e25f935 docs: arrange screenshots in a table with captions, control room first 2026-08-22 19:28:02 +08:00
Aisland eaa5ebecd7 docs: bilingual README with real screenshots; publish as public repo 2026-08-22 18:51:25 +08:00
Aisland d58cbc583b checkpoint: dsh-worktable v2 稳定版(PRD §10 全部定案并实现) 2026-08-16 23:34:22 +08:00