Skip to content

Releases

v0.2.3

Choose a tag to compare

@masknull masknull released this 17 Oct 12:03

修复 DSH 0.2.1 上的失效问题

宿主要求:DSH ≥ 0.2.1-rc.1(不再支持 0.1.7–0.2.0)。

v0.2.2

Choose a tag to compare

@masknull masknull released this 25 Sep 11:18

修复 0.1.7 上的失效问题

侧栏比例(lib/dom.js):

  • 修复收起右侧栏后右侧留下一大片空白:dock 面板在收起后仍挂载(官方 README:docked content stays mounted while collapsed,只是被平移到 frame 右边缘之外),量面板宽度会误判右栏还在,把右轨写成比例宽度。改为识别官方收起态 data-rightbar-collapsed,收起即归还原生轨道。
  • 修复右侧栏比例失效:0.1.7 起 frame 右轨写成 minmax(0px, Npx)(旧版纯 Npx),轨道解析不出来。现在解析 minmax 的 max 端,并以右面板实测宽度兜底。
  • 修复拖右侧把手数字在跳、宽度不动:该侧当前不可接管时(右栏尚未拉出 / 左栏已收起)不再吞掉拖拽事件,交还官方。

子代理会话继承右侧栏(lib/client.js):

  • 修复整套继承不启动:sessions.list 快照已删除 current 字段(只剩 ids / byId / phase),当前会话改由 sidebarRight.mounted 发布。改读 mounted 并订阅它——切会话就是 seat 重绑,只订会话列表永远观测不到。
  • 修复默认「开始」guide 面板污染判定:子代理一上屏右栏就默认开着 guide,既被当成组基准(覆盖父会话真实面板),又让重放判已展开而跳过。guide 是默认态而非用户意图,两处都加判定。
  • 修复 lineage 迟到导致不同组:子代理的父子关系在上屏之后才投影到客户端,切换那一刻算不出同组就永久放弃。改为在重试窗口内重算分组与基准。
  • 修复 seat 间隙抹掉状态:重绑过程中 mounted 短暂 undefined,被当成一次切换会把 lastSession 抹成 null,真正那次父→子继承永不发生。null 现在只作间隙处理。

新增插件图标(assets/icon.svg)。

宿主要求:DSH ≥ 0.1.7-rc.1(不再支持 0.1.5)。

v0.2.1

Choose a tag to compare

@masknull masknull released this 25 Sep 10:54

修复 DSH 0.1.7-rc.1 上的失效问题

侧栏比例(lib/dom.js):

  • 修复右侧栏比例失效:0.1.7 起 frame 右轨写成 minmax(0px, Npx)(旧版纯 Npx),轨道解析不出来,右侧比例从不接管。现在解析 minmax 的 max 端,并以右面板实测宽度兜底。
  • 修复拖右侧把手数字在跳、宽度不动:该侧当前不可接管时(右栏尚未拉出 / 左栏已收起)不再吞掉拖拽事件,交还官方——官方拉出右栏后比例照常接管。

子代理会话继承右侧栏(lib/client.js):

  • 修复整套继承不启动:sessions.list 快照已删除 current 字段(只剩 ids / byId / phase),当前会话改由 sidebarRight.mounted 发布。改读 mounted 并订阅它——切会话就是 seat 重绑,只订会话列表永远观测不到。
  • 修复默认「开始」guide 面板污染判定:子代理一上屏右栏就默认开着 guide,既被当成组基准(覆盖父会话真实面板),又让重放判已展开而跳过。guide 是默认态而非用户意图,两处都加判定。
  • 修复 lineage 迟到导致不同组:子代理的父子关系在上屏之后才投影到客户端,切换那一刻算不出同组就永久放弃。改为在重试窗口内重算分组与基准。
  • 修复 seat 间隙抹掉状态:重绑过程中 mounted 短暂 undefined,被当成一次切换会把 lastSession 抹成 null,真正那次父→子继承永不发生。null 现在只作间隙处理。

宿主要求:DSH ≥ 0.1.7-rc.1(不再支持 0.1.5)。

v0.2.0

Choose a tag to compare

@masknull masknull released this 15 Sep 06:04

First public release.

Sidebar widths as a window ratio — the left sidebar defaults to 14%, the right panel is optional; drag the native handles or use Alt hotkeys, and the ratios live in localStorage. Native clamps the left sidebar to 264–420px, so "narrower than native" was previously impossible.

One shared right panel across a parent session group — the panel opened in the parent agent follows into its direct subagents, grandchildren and sibling subagents, carrying the same tab. Grouping walks the session lineage to the top, and only collapsed targets are touched.

No deepseek-harness source file is modified: widths are applied to inline styles at runtime, panel inheritance uses only the official public client API (ctx.sidebarRight.openTabIn / openResourceIn, ctx.sessions lineage).

Dependency anchors were verified byte-for-byte against DSH dsh-v0.1.6-alpha.1 with a git blob SHA comparison: 9 of the 13 anchor files are byte-identical, and the other four differ only by additions on the release side — no breaking changes.

Install:

dsh plugin --profile web add github:masknull/dsh-sidebar-ratio

首个公开发布版本。

  • 侧边栏按窗口比例:左栏默认 14%,右栏可选;拖原生把手或 Alt 快捷键调整,比例存 localStorage。原生把左栏夹在 264–420px,"比原生更窄"此前做不到。
  • 父总会话组内共享右侧栏:父代理打开的面板,切到直接子代理、孙代理、同级子代理时带上同一标签;分组沿会话谱系上溯,且只对当前收起的会话生效。

不修改 deepseek-harness 任何源码文件:宽度靠运行时改内联样式,面板继承只用官方公开客户端 API(ctx.sidebarRight.openTabIn / openResourceIn、ctx.sessions 谱系)。

依赖锚点已对照 DSH dsh-v0.1.6-alpha.1 用 git blob SHA 逐字节核验:13 个锚点文件中 9 个逐字节相同,另 4 个差异均为该版本侧新增能力,无破坏性改动。

安装:

dsh plugin --profile web add github:masknull/dsh-sidebar-ratio