Releases: lamost423/dsh-maze
Release list
v1.1.0 — 观感大版本:空间收紧 / 轨道加高 / Token 双向 / 柱形定版
Full Changelog: v1.0.0...v1.1.0
v1.0.0 — dsh-trace-compare 更名 dsh-maze
Full Changelog: v0.7.0...v1.0.0
v0.7.0
v0.6.2
v0.6.1 · 悬停卡修复 + 新界面演示动图 / Tooltip fix + fresh demos
v0.6.1 — 2026-08-23
修一处悬停卡残留,并换上 v0.6.0 新界面录制的全套演示动图。
- 全量重建时收掉悬停卡:钉锚点的第二次点击、缩放、过滤等都会触发迷宫全量重建,重建把悬停中的节点直接移出 DOM,
mouseleave永远不会到达——悬停卡就卡在画面上,直到下次悬停才被顶掉。重建前统一收起。 - 文档:README 换上新录的演示动图(对比:同一任务 Flash vs Pro;实时迷宫:真实会话页签内重播 + 跳回聊天;新增长会话可读性一节)。
EN: Fixes a stuck tooltip — anchor-pinning, zooming, and filtering all trigger a full maze rebuild that removes the hovered node from the DOM, so mouseleave never fires and the hover card stayed on screen until the next hover. The rebuild now dismisses it. Docs: README ships freshly recorded demos on the v0.6.0 UI (compare: same task on Flash vs Pro; live maze: replay inside a real session tab with jump-back-to-chat; plus a new long-session legibility section).
v0.6.0 · UI 大改版:看得清、拖入即读、钢蓝赭褐 / UI overhaul
v0.6.0 — 2026-08-22
UI 大改版:一次设计评审驱动的全面重做——看得清、拖入即读、去 AI 味配色。
- 画布自适应滚动:整图 fit 在内容偏高时会把迷宫压到十几个百分点(双会话实测 0.24×,节点文字 2.6px 全糊)。缩放跌破可读下限改为按宽度铺满 + 纵向滚动,时间轴刻度钉在顶部不随内容滚走,首帧自动定位到主干线;滚动模式下普通滚轮归滚动、缩放走 ⌘/Ctrl+滚轮。实测双会话 0.24× → 0.79×。
- 拖入即读:上传后直接呈现完整迷宫(原先节点条 opacity 0,非得先找到播放键才看得见自己的数据);播放降级为可选回放,按钮显示「重播」。
- 全新配色「钢蓝 + 赭褐」:明确告别靛/紫系(AI 生成界面的招牌色)。两条对比泳道一冷一暖(红绿色盲可分),主干节点用泳道主色、绿色只留每轮最终回答(原先整条主干染绿与图例语义冲突);轮次对齐线降为中性灰,全图高彩度色从五个收敛到三个。
- 界面精致化:设计令牌重构(明暗两套)、毛玻璃浮层(详情/盘点/悬停卡)、ghost 工具条(只有播放键实心)、页头并行化(1280 下页头 259→156px,迷宫多拿高度)、图例单行横滚、泳道标题显示上传文件名、全局字阶下调一档。
- 可达性与健壮性:正文/刻度文字对比度提到 WCAG AA;折叠时间轴的刻度标签逐个避让不再互相叠字、轴标签精度随步长(14h 跨度不再连排六个「13h」);375px 视口横向溢出修复(774→375);触屏设备控件抬到 44px 触控下限。
- 实时泳道显示模型名:
request/header不属于会话快照的 surface 事件,浏览器侧从来拿不到模型名。配套宿主 fork 注册modelIdentity会话投影(宿主侧折叠全量日志),本插件经标准投影钩子探测读取——stock dsh 无此键时自然降级,兼容不变。
EN: Major UI overhaul from a design review. Canvas adaptively switches to width-fill + vertical scroll with a pinned axis when meet-fit drops below legibility (two-lane real case: 0.24× → 0.79×), first frame lands on the main path. Uploads render the full maze immediately (playback becomes optional replay). New "steel blue + ochre" palette retires the AI-signature indigo/purple: warm/cool lane pair (CVD-safe), lane-colored main-path nodes with green reserved for final answers, neutral turn-alignment lines. Refined chrome: glass overlays, ghost toolbar, parallelized header, single-line legend, filenames in lane titles. Contrast raised to WCAG AA, tick labels self-collide-avoid with step-aware precision, 375px overflow fixed, 44px touch targets. Live lane now shows the model name via a host-fork modelIdentity session projection with capability probing — stock dsh degrades gracefully.
v0.5.2 · 浮层可见关闭按钮 / Visible close button
中文
浮层加可见关闭按钮(右上角 ✕,提示「关闭(Esc)」)。v0.5.0 起对比面板全屏盖住侧栏后,界面上没有任何可见出口,只能靠碰运气知道 Esc。Esc 与切换会话自动关闭保持不变。
English
The overlay surface gains a visible close button (top-right ✕, titled "Close (Esc)"). Since v0.5.0 the surface covers the sidebar with no visible exit — first-time users got stuck unless they guessed Esc. Esc and close-on-session-switch unchanged.
安装 / Install: dsh plugin --profile web add dsh-trace-compare
钉版 / Pinned: dsh plugin --profile web add https://github.com/lamost423/dsh-trace-compare/releases/download/v0.5.2/dsh-trace-compare-0.5.2.tgz
v0.5.1 · 对比可读性三连修 / Compare readability fixes
中文
对比可读性三连修:
- 加载自适应:时间轴去掉 460 秒固定下限,短会话不再被压扁在左侧、对齐标注挤成一团,加载即贴合内容跨度。
- 本轮耗时口径:轮次对齐线从「会话开始算起的累计墙钟」改标「本轮耗时」(该轮起点 → 回答完成)——轮与轮之间等用户输入的空闲不再计入,两次运行的速度对比不再被空闲污染。
- 推理量标签自解释:日志无 usage 真值时从「N 段推理」改为「推理 N 段(日志未报 token 用量)」——中转站日志常缺推理 token 字段,与原厂日志并排时单位不同,现在标签自带原因。
English
Three compare-readability fixes:
- Fit on load: the axis's fixed 460s floor is retired — short sessions no longer squash into the left edge with jumbled alignment labels; the axis fits the content span on load.
- Per-turn time: turn-alignment labels switch from "cumulative wall clock since session start" to per-turn time (turn start → answer done) — inter-turn waits for user input no longer pollute the speed comparison between two runs.
- Self-explaining reasoning volume: without usage data the fallback label is now "reasoning N chunks (no token usage in log)" — relay logs often omit reasoning-token fields, and the differing units used to confuse when compared side by side with official-API logs.
安装 / Install: dsh plugin --profile web add dsh-trace-compare
钉版 / Pinned: dsh plugin --profile web add https://github.com/lamost423/dsh-trace-compare/releases/download/v0.5.1/dsh-trace-compare-0.5.1.tgz
v0.5.0 · 界面双语 / Bilingual UI
中文
整页 UI 中英双语:嵌入宿主时经 postMessage 实时跟随 dsh 的语言设置(同主题跟随的通道模式),独立打开按浏览器语言兜底。判定依据从成品文案改为语言无关的结构化键值 {k, p},展示端按当前语言集中渲染——切语言即时生效,已加载的会话数据无需重新解析。仓库 README 调换为中文默认(英文在 README.en.md)。
English
The whole UI now ships bilingual (zh/en): embedded, it live-follows the dsh host's language setting via postMessage (same channel pattern as theme following); standalone, it falls back to the browser language. Verdict rationales changed from baked strings to language-neutral structured keys {k, p} rendered centrally at display time — switching languages takes effect instantly without re-parsing loaded sessions.
Install: dsh plugin --profile web add dsh-trace-compare (or this release tgz).
v0.4.0 · 子代理执行折入实时迷宫
新功能:dsh 子代理会话折入实时迷宫。
模型调 subagent 工具派生的任务,现在以聚合支路节点出现在父会话的实时迷宫里:
- 挂靠在派生它的主干步上,与父会话共享同一条时间轴;
- 节点内的子条是子代理全部已判定的工具调用(参数 / 返回 / 判定齐全),悬停与详情面板可看逐条明细;
- 运行中的子代理实时生长并标注"仍在运行",结束后按结果着色(以错误收尾的标红);
- 点击节点跳回主对话中派生它的位置。
入图纪律:仅 origin: 'subagent' 且非临时的子会话入图——手动"在新对话分支"和 side-chat 临时侧聊不算子代理;已结束且活动完全早于可见窗口的陈旧子代理不画(与父会话窗口外步骤同口径),运行中的照留。
身份与文案:子代理节点显示自己的标签与"子代理支路"身份,派生关系写作"⤴ 由主干 SN 派生的子代理任务,完成后结果汇回主干",不再套用失败探索的"此路不通,折返"文案;内部步号不再暴露。
兼容性:子代理支路依赖宿主"后台打开子会话历史"的能力(SessionFace.open)。官方 rc.6–rc.8 尚无此能力,插件自动静默降级——不报错、其余功能不受影响;在具备该能力的宿主构建上即刻生效。
验证:23 测试全绿(新增子代理聚合 / 陈旧丢弃 / 花名册生命周期两组共 10 个用例);tsc + tsdown 构建绿;已在真实 4 子代理会话(355 步 / 4.4h)上人工验收(见上图)。
完整历史见 CHANGELOG.md。
