dsh-za-warulo: Adding a Time-Stop Animation to DSH Sidebar Appearance Switching

Preface

DeepSeek Harness (DSH) extends its functionality through a plugin system. For users who switch between light and dark themes via the sidebar, the default switching process typically lacks visual feedback. The dsh-za-warudo plugin adds visual and audio enhancements to this action, transforming a plain toggle operation into an interactive experience with a “stopped time” style.

What Is This

dsh-za-warudo is a fun theme-switching plugin maintained by user Fwkkk666. Its core function is to add a Switch component in the “Appearance” row of the DSH sidebar that conforms to the light/dark theme. After clicking the switch, the system first completes the smooth sliding animation of the switch itself, then plays a three-second purple-gold time-stop ripple, inverted-color transition, and sound effect, and finally switches to the light or dark theme.

Core Features

  1. Sidebar Appearance Switch: Adds a Switch component in the sidebar’s “Appearance” row that matches the current light/dark theme.
  2. Animation Sequence Optimization: The switch completes its slide first, then triggers the full-screen time-stop effect, avoiding resource contention between the two animation segments.
  3. Real-time Page Overlay: Uses a real-time page overlay for transitions without requiring screenshots, cloning, or traversing conversation content.
  4. Built-in Sound Effects: Includes a three-second sound effect; if audio preloading fails, it can retry on the next click.
  5. Non-blocking Interaction: The animation layer does not intercept page input, allowing users to operate the interface while the effect plays.
  6. System Settings Compatibility: When the system enables “Reduce Motion”, the theme is switched directly without playing the animation.

Installation and Activation

Run the following command in the terminal to install:

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

If not yet published on npm, you can use the GitHub pre-built version:

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

After installation, refresh the page. For the desktop version of Harness, if the page does not take effect automatically, restart Harness.

Use Cases and Notes

This plugin needs to run in a DSH Web or DSH Desktop environment that has the sidebar.footer.action slot and theme service. The plugin declares compatibility with DSH version 0.1.0-rc.7 and above.

Since the plugin modifies the sidebar area or depends on the theme service, if other plugins in the system replace the same sidebar area or theme service, the loading order may need to be adjusted.

The plugin is released under the MIT license. Source code can be viewed in the fwkkk666/dsh-za-warudo repository.

Conclusion

dsh-za-warudo transforms the basic light/dark toggle into a complete visual interaction flow, suitable for users who want more fun and a sense of ritual in the DSH interface. Related directories and source code can be found at the following links:
- Plugin Directory
- GitHub Repository

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye