DSH Time Stop Theme
为 DeepSeek Harness 侧栏增加「外观」Switch。点击后先完成开关滑动,再播放三秒的紫金时停波纹、反色转场与音效,随后切换浅色或暗色主题。

中文说明
功能
- 在侧栏「外观」行加入符合明暗主题的 Switch。
- 开关先流畅滑动,再启动全屏时停效果,避免两段动画争用绘制资源。
- 使用实时页面叠层,无需截图、克隆或遍历对话内容。
- 内置三秒音效;音频预加载失败时可在下次点击重试。
- 动效层不拦截页面输入。
- 系统启用「减少动态效果」时直接切换主题。
安装
dsh plugin --profile web add dsh-time-stop-theme
如果暂时未发布到 npm,也可以安装 GitHub 预构建版本:
dsh plugin --profile web add github:Fwkkk666/dsh-time-stop-theme
安装后刷新页面;桌面版如果没有自动生效,请重启 Harness。
卸载
dsh plugin --profile web remove dsh-time-stop-theme
兼容性
需要带有 sidebar.footer.action 插槽和主题服务的 DSH Web/DSH Desktop,声明兼容 DSH 0.1.0-rc.7 及以上版本。其他插件若替换同一侧栏区域或主题服务,可能需要调整加载顺序。
English
Adds an Appearance switch to the DeepSeek Harness sidebar. The switch finishes its slide first, then plays a three-second purple/gold time-stop wave with color inversion, sound, and a light/dark theme change.
Features
- Theme-aware light/dark switch in the sidebar.
- Switch-first sequencing for immediate visual feedback.
- Live-page overlay with no screenshots or DOM cloning.
- Bundled three-second sound effect with retryable preloading.
- Non-blocking overlay: the page stays interactive.
- Honors
prefers-reduced-motionby switching immediately.
Install
dsh plugin --profile web add dsh-time-stop-theme
GitHub fallback:
dsh plugin --profile web add github:Fwkkk666/dsh-time-stop-theme
Refresh the page after installation. Restart Harness if a desktop host does not hot-load the plugin.
Uninstall
dsh plugin --profile web remove dsh-time-stop-theme
Development
npm install
npm run build
npm run check
npm pack --dry-run
The repository includes prebuilt lib/client.js, so GitHub installation does not require running a package build script.
License
MIT
No comments yet. Be the first to write one.