Skip to content

v0.3.2

Choose a tag to compare

@XiaoFeng7418 XiaoFeng7418 released this 20 Nov 14:19
· 4 commits to main since this release

v0.3.2 — 与网页端同款的开关动效

Added / 新增

  • 激活动效对齐 DeepSeek 网页端:真实 off → on 时图标只转一次(深度思考 0deg → 180deg,440ms,cubic-bezier(0.22, 1, 0.36, 1);联网搜索 -24deg → 0deg,400ms),关闭时只做颜色过渡,不会倒转。
    旋转标记来自上一次渲染状态,主题变化或任何普通的重新渲染都不会再触发。
  • Tooltip 在点击后到指针离开按钮前保持收起,点完开关不会再有气泡挂在输入框上方。

Fixed / 修复

  • 彻底去掉按钮外围的直角黑框:按钮自己声明 appearance、border-style/width/color、outline: none、box-shadow: none 与 tap-highlight,选择器提升为容器级 + 元素限定,Electron 宿主的按钮重置无法再画自己的方形边框;只有键盘 :focus-visible 会得到 2px 圆角柔光,鼠标点击后是干净的胶囊。
  • 激活态的填充/边框/文字在亮暗两套主题下保持 WCAG AA 对比度。

Notes / 说明

  • 客户端半由宿主按文件时间戳生成 rev,bundle 以 immutable 缓存;改了 client.js 需要重启 DSH(桌面端连托盘一起退出)才生效,浏览器硬刷新不够。

Full changelog / 完整变更: CHANGELOG.md

Install / 安装

dsh plugin --profile <profile> add https://github.com/XiaoFeng7418/dsh-plugin-chat-mode/releases/download/v0.3.2/dsh-plugin-chat-mode-0.3.2.tgz
# or / 或者
dsh plugin --profile <profile> add github:XiaoFeng7418/dsh-plugin-chat-mode#v0.3.2