Skip to content

Releases: cirelir/dsh-change-review

v0.2.3

Choose a tag to compare

@cirelir cirelir released this 16 Aug 02:55

v0.2.3 — 左右两栏独立滚动(2026-08-16)

  • 独立滚动:审查页左侧文件列表与右侧 diff 预览现在各自独立滚动(视图在任何阶段都填满可用高度,并用 overscroll-behavior: contain 阻止两栏之间的滚动联动),浏览文件时预览位置保持不动,方便审查
  • 版本号package.json 更新至 0.2.3

v0.2.2

Choose a tag to compare

@cirelir cirelir released this 16 Aug 01:57

v0.2.2 — 修复插件注册(2026-08-16)

  • 修复插件加载:客户端 bundle 改用正确的 dsh-change-review id 注册(原为 @deepseek-ai/dsh-client-ui-diff-review),插件可被正确注入与加载
  • 移除重复注入:从 cordis.patch.yml 删除重复的 ui-diff-review 注入项,插件只注入一次
  • 版本号package.json 更新至 0.2.2

v0.2.1

Choose a tag to compare

@cirelir cirelir released this 15 Aug 15:28

v0.2.1 — Turn-card color customization / 对话底部变更卡片颜色自定义

🚀 New features / 新功能

Turn-tail card colors / 对话底部变更卡片颜色 — four new customizable colors for the 「本轮变更审查」card: background (淡橙 rgba(255,183,77,.1) / light orange at 10% opacity by default), border (淡橙 #ffb74d), added-count ~+N (green) and removed-count ~-M (red, different defaults). Configured under Settings → 修改审查 (now 12 items), persisted in localStorage, applied live.
「本轮变更审查」卡片新增 4 个可自定义颜色:背景色(默认淡橙 10% 透明度)、边框色(默认淡橙)、新增行数(绿)、删除行数(红,默认不同色)。在 设置 → 修改审查 调整(现共 12 项),即时生效并自动保存。

Opacity support / 透明度支持 — every color item now has an opacity slider and supports rgba(r,g,b,a) (hex #rrggbb stays compatible); translucent defaults make the card boundary visible on any theme.
所有颜色项新增透明度滑块,支持 rgba(旧 hex 配置兼容);半透明默认值保证任何主题下卡片边界可见。

📦 Install / 安装

dsh plugin --profile web add dsh-change-review

🔗 Docs

README.md · README.zh.md

v0.2.0

Choose a tag to compare

@cirelir cirelir released this 15 Aug 14:48

v0.2.0 — Revert & per-turn review / 撤回与轮次内审查

🚀 New features / 新功能

Revert changes / 撤回变更 — undo ONE specific change (a 3-way line merge keeps later non-overlapping changes; overlapping ones are rejected with a hint) or the WHOLE file (restore the state before the session's first recorded change; a file created in-session is deleted). Writes directly to disk after confirmation.
可单独撤回某一项修改(三路合并保留其后无冲突的修改,有重叠则拒绝提示),或撤回整个文件的全部修改(恢复会话首次修改前状态;会话内新建的文件则删除)。确认后直接改写磁盘。

Per-turn review / 轮次内审查 — each turn's tail shows a 「本轮变更审查」card listing that turn's changed files with expandable diffs (per-op revert); the 「审查」tab gains a 「最新一轮」(latest turn) scope toggle. Turn attribution comes from a direct session-log scan (turn/start · turn/end), so resumed and multi-turn sessions are correct; subagent changes count toward the parent turn.
每轮对话尾部展示「本轮变更审查」卡片(可展开 diff + 单项撤回);「审查」页新增「最新一轮」范围切换。轮次归属直接扫描会话日志得出,重启/多轮会话也能正确划分;子代理修改计入父会话轮次。

Persistence / 持久化 — review records now survive dsh web restarts (~/.dsh/profiles/web/diff-review-state.json; debounced auto-save + sync flush on exit). Delete that file to wipe all history.
审查记录持久化到磁盘(防抖自动保存 + 退出时同步落盘),重启 dsh web 后自动恢复;删除该文件即清空全部历史。

⚠️ Upgrade note / 升级说明

Records created before this version carry no content snapshots or turn tags: they remain visible in the 「审查」tab, but cannot be reverted and never appear in per-turn cards. Restart dsh web to load the new Host logic.
升级前的旧记录无内容快照与轮次标记:仍可在「审查」页查看,但无法撤回、不会出现在轮次卡片中。升级后请重启 dsh web

📦 Install / 安装

dsh plugin --profile web add dsh-change-review

🔗 Docs

README.md · README.zh.md