Skip to content

Releases

0.0.25 — Discontinued (use DSH built-in file sidebar + document preview)

Choose a tag to compare

@Pasumao Pasumao released this 11 Sep 12:10

Deprecated — End of life

DSH >= 0.1.5 ships a built-in workspace file tree + document preview (dsh-client-ui-sidebar-files + dsh-client-ui-sidebar-documentpreview): right-sidebar file tree with lazy listing, Markdown / highlighted code / image / PDF / HTML / plain-text previews. As a first-party implementation it needs no layout patch and no unofficial host APIs, so this plugin is discontinued — no further maintenance or releases.

Existing users: uninstall and use the built-in features.

dsh plugin --profile web remove dsh-plugin-workbench
node node_modules/dsh-plugin-workbench/scripts/patch-layout.mjs --restore   # optional: pristine layout bundle

Published versions remain installable (tested against DSH 0.1.5-rc.1). npm deprecation notices are set on all versions.

0.0.24

Choose a tag to compare

@Pasumao Pasumao released this 11 Sep 12:10

Route auth fence unified across file RPC / raw image / SSE routes; FSWatcher error handling; async layout-patch check at startup; tighter files allowlist.

0.0.22

Choose a tag to compare

@Pasumao Pasumao released this 07 Sep 11:39

Fixed

  • 与 maid-atelier 皮肤同装时,预览面板被皮肤装饰层遮挡(两层修复):
    • 预览面板打开后「弹出内容又立刻消失」:皮肤的立绘舞台(palace + 角色)是铺满中央列的 position:absolute; z-index:0 层,而预览面板是非定位元素,画在立绘之下;入场动画临时创建的层叠上下文一结束就被整片盖住。修复:.preview 增加 position: relative。
    • 预览面板顶部 76px 被皮肤顶帘盖住(标签栏不可见、正文标题被切):顶帘是与面板同层(z 1)且后 append 的装饰带。修复:.preview 抬到 z-index: 2(与拖拽把手一致),面板不透明背景挡掉预览半区的帘子,帘子仍完整覆盖会话半区;同时仍低于皮肤功能层(会话头部 21 / cordis 面板 40 / shell overlay 1000)。

已配合 maid-atelier 实机验证:预览标签栏与内容顶部完整可见,聊天侧分层(头部在帘上、行在帘下滚动)不受影响。

Full Changelog: v0.0.21...v0.0.22

0.0.21

Choose a tag to compare

@Pasumao Pasumao released this 07 Sep 07:59

Fixed

  • 打开右侧详情栏闪一下就消失:布局补丁把 260px 文件列常驻进拥挤让位链后,打开 details 的宽度预算从原生 ~1220px 涨到 ~1480px,窗口不够宽时详情面板被拥挤 solve 挤成 0——闪现即消失。现在显式打开详情栏时文件列自动让位收起(关闭详情自动恢复),宽度预算回到原生水平。
  • 补丁脚本新增 npm-delta3 / desktop-ci-delta3 变体:已带 0.0.19/0.0.20 occupancy 补丁的 bundle 无需还原,升级重启(或插件启动自愈)即原地升级。

0.0.20

Choose a tag to compare

@Pasumao Pasumao released this 07 Sep 04:13

Fixed

  • 0.0.19 的 occupancy 门控时序缺陷修复(issue #2 回归):occupancy 同步同时放进 root 注册的 inject hook(actions 绑定后、首帧渲染前),slots/changed 监听继续负责运行时装卸 —— 修复「装着插件 explorer 列也永不显示」。
  • npm-delta 变体补上 slots/changed watch 块:0.0.16/17 旧补丁用户经 delta 升级后,运行时卸载插件列即时收起。
  • host 自愈 marker 清单与补丁脚本 PATCHED_MARKERS 7 项逐字同步(消除受损 bundle 永不自愈的死角)。
  • --target 模式不再触碰共享 pristine 备份(--restore 的还原源不被测试运行污染)。

升级说明

  • 0.0.18 受影响用户:升级到 0.0.20 并重启 dsh web 即可自愈(启动时自动重打布局补丁),无需手动还原。
  • 卸载恢复:node node_modules/dsh-plugin-workbench/scripts/patch-layout.mjs --restore 可把布局 bundle 还原为官方原始版本。

0.0.17

Choose a tag to compare

@Pasumao Pasumao released this 05 Sep 14:56

Fixed

  • 与 maid-atelier 皮肤同装时,页面顶部/底部装饰横条从画面一半才开始显示。
    本插件 CSS 末尾一段旧「skin chrome fix」规则(translate: calc(var(--maid-sidebar-width) + var(--dsh-explorer-width) + var(--dsh-preview-width)))写于皮肤装饰条还是 position: fixed 钉满整窗的时期;maid-atelier 升级到上游 78722ef 后装饰条改为挂在会话列内部的绝对定位元素,该规则反而造成双重偏移(列左缘 540px + translate 540px),装饰条从画面水平中点才开始渲染。已整段删除——装饰条定位由皮肤自持,插件不再外部平移。

Changed

  • README:首屏新增横幅图(docs/banner.svg),徽章顺序调整并补充 npm downloads。

Full Changelog: v0.0.16...v0.0.17

0.0.16

Choose a tag to compare

@Pasumao Pasumao released this 04 Sep 15:11

dsh 0.1.2-rc.1 适配

  • 修复布局补丁在新版失配(启动日志 ui-layout patch exited 1,explorer 布局不生效):
    • css.explorerCol.rule:detailsCol 边框样式 border-left:1px solid var(--dsw-alias-border-l2) → .5px solid var(--dsw-alias-border-l3),锚点与注入的 explorerCol 规则同步采用新值;
    • appframe.explorerColumn:DetailsColumn 的 children 在新版被 SessionProvider 包裹,锚点按新结构更新(replacement 同步携带新原文,保持幂等)。
  • 其余 22 个锚点与 computeColumns 函数体在 0.1.2-rc.1 npm 构建下逐字节未变。
  • 升级后重启 dsh web 即可:插件启动时会自动检测并重打布局补丁。

Full Changelog: v0.0.15...v0.0.16

v0.0.14

Choose a tag to compare

@Pasumao Pasumao released this 29 Aug 03:23
  • 见 CHANGELOG.md

v0.0.13

Choose a tag to compare

@Pasumao Pasumao released this 26 Aug 15:02

预览分栏宽度拖拽修复:

  • 一拖就骤然缩小到最窄、无法拖动/复原:slot 包装层为 display: contents,旧代码用它测宽恒为 0,导致 max 塌缩到 240。改用 laidOutParent() 跳过 contents 层取真实中间列宽度。
  • 拖拽健壮性:setPointerCapture / pointercancel / 残留监听器防御清理 / 卸载清理 / 拖拽中实时重测宽度。
  • 预览宽度持久化(localStorage),刷新后自动恢复并按窗宽 clamp。

0.0.12

Choose a tag to compare

@Pasumao Pasumao released this 25 Aug 05:27

相关插件段新增 windows-guard(互相引流)。