DeepSeek Harness 插件

Fwkkk666/dsh-za-warudo

Star 数 ★ 0 分类 主题与外观 收录于 2026-10-13

在 DSH 侧栏加入“外观”开关,切换明暗主题时播放三秒时停转场与同步音效。

安装

# Release 预构建包

dsh plugin --profile web add -w "https://github.com/Fwkkk666/dsh-za-warudo/releases/download/v1.0.1/dsh-za-warudo-1.0.1.tgz"

# GitHub 源码(首次需按提示配置 allowBuilds 构建授权后重试)

dsh plugin --profile web add github:Fwkkk666/dsh-za-warudo

装任何插件都等于在你的机器上跑第三方代码,权限和你本人一样大——能读你的文件、用你的凭据、访问网络,工具审批管不到它。GitHub 来源的插件还会在安装时执行构建脚本——pnpm 默认拦截,所以安装可能停在 ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED 或 ERR_PNPM_IGNORED_BUILDS;dsh 会打印出需要添加的确切键名,把它加进该 profile 的 pnpm-workspace.yaml 的 allowBuilds 下,重跑一次即可装上。放行构建本身就是一次信任判断:请只安装可信来源,并尽量锁定 commit(github:owner/repo#sha)。

README

中文 · English

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

浅色外观开关 时停转场 暗色外观开关

中文说明

功能

  • 在侧栏「外观」行加入符合明暗主题的 Switch。
  • 开关先流畅滑动,再启动全屏时停效果,避免两段动画争用绘制资源。
  • 使用实时页面叠层,无需截图、克隆或遍历对话内容。
  • 内置三秒音效;音频预加载失败时可在下次点击重试。
  • 动效层不拦截页面输入。
  • 系统启用「减少动态效果」时直接切换主题。

安装

dsh plugin --profile web add dsh-za-warudo

如果暂时未发布到 npm,也可以安装 GitHub 预构建版本:

dsh plugin --profile web add github:Fwkkk666/dsh-za-warudo

安装后刷新页面;桌面版如果没有自动生效,请重启 Harness。

卸载

dsh plugin --profile web remove dsh-za-warudo

兼容性

需要带有 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-motion by switching immediately.

Install

dsh plugin --profile web add dsh-za-warudo

GitHub fallback:

dsh plugin --profile web add github:Fwkkk666/dsh-za-warudo

Refresh the page after installation. Restart Harness if a desktop host does not hot-load the plugin.

Uninstall

dsh plugin --profile web remove dsh-za-warudo

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

内容来自项目 README(GitHub)↗

链接

同类插件

查看整个分类 →

社区评论

评论公开保存在 GitHub Discussions。加载评论会连接 GitHub 和 Giscus;发表内容需要 GitHub 账号。