Composer Breathing Border Plugin

Introduction

The default message input area in DeepSeek Harness (DSH) typically features only a simple border. For developers who need extended interaction sessions or high-frequency users, this static visual feedback feels monotonous and makes it easy to lose track of whether the input area is currently focused.

The Composer breathing border plugin adds a soft breathing glow to the input card, using a continuous visual cue to help confirm the input state. It does not rely on modifying the host DOM; instead, it registers with the overlay slot provided by the plugin system and synchronizes with the host’s height and border radius updates.

What Is This

Composer breathing border is a DSH plugin that adds a dual-layer breathing glow border to the DeepSeek Harness message input area, with six built-in color options. Published by maintainer xjiang-yyds and licensed under the MIT License.

It addresses the problem of “static input area boundaries making focus state hard to perceive” by providing a persistent visual anchor through a breathing animation.

Core Features

  • Breathing glow: 1px brand-color stroke + 28px/72px dual-layer glow, with opacity and color cycling over a 5.4-second period.
  • Focus acceleration: When the input field gains focus, the breathing cycle shortens to 3.6 seconds for enhanced immediate feedback.
  • Six colors: Brand theme, purple, cyan, emerald, amber, and rose. Switch via “Settings → General → Input Area Glow Color.” Selections are saved to localStorage.
  • Theme following: The default “Follow Theme” option uses the CSS variable --dsw-alias-brand-primary and automatically adapts to light/dark themes.
  • Reduced motion: When the system has prefers-reduced-motion enabled, a static glow is displayed without animation.
  • Height adaptation: A ResizeObserver monitors host card height changes and synchronously adjusts the glow dimensions.

Installation and Activation

Install via the plugin manager:

dsh plugin --profile <your-profile> add dsh-yyds

After installation, open DeepSeek Harness, navigate to “Settings → General,” locate the “Input Area Glow Color” option, and click a color swatch to switch colors. The selection is saved automatically and persists after restart.

Typical Usage

  1. After installing the plugin, the glow defaults to the “Follow Theme” color.
  2. To customize the color, click the corresponding swatch in Settings.
  3. When the input field gains focus, the glow’s breathing rhythm accelerates.
  4. If the system has reduced motion enabled, the glow switches to a static display.

Use Cases and Notes

  • Ideal for high-frequency users who need clear visual feedback, especially those who frequently switch between dark and light themes.
  • The plugin requires DeepSeek Harness >= 0.2.1-rc.4. Ensure your environment meets this version requirement.
  • The plugin runs with the current DSH process permissions. It is recommended to review the source code and license before installation to confirm there is no malicious behavior.

Conclusion

Composer breathing border makes input area state changes more intuitive through a clean visual design. For full documentation, source code, or to report issues, visit the plugin catalog page or the GitHub repository.

References

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

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

Xiaoye