Skip to main content
X

dsh-composer-breathing-border

xjiang-yyds/dsh-composer-breathing-border

Adds a breathing glow border around the message composer, with six selectable colors.

Install

dsh plugin --profile web add github:xjiang-yyds/dsh-composer-breathing-border

README

Composer breathing border

A DeepSeek Harness plugin that draws a soft, breathing glow border around the message composer — the input card you type in — with six selectable glow colors.

Composer breathing border

Features

  • Breathing glow — a 1px accent stroke plus a two-layer halo (28px and 72px) whose opacity and color breathe on a 5.4s cycle.
  • Focus aware — breathing speeds up to 3.6s while the composer has focus.
  • Six colors — theme accent, violet, cyan, emerald, amber, rose. Picked in Settings → General → Composer glow color and remembered across restarts.
  • Theme aware — the default "Theme accent" color follows --dsw-alias-brand-primary, so it matches light and dark themes.
  • Respects prefers-reduced-motion — renders a static glow instead of animating.
  • No host DOM hacks — the ring lives in the composer's own overlay slot, tracks the card height with a ResizeObserver, and reuses the card's radius token.

Install

With the plugin manager (recommended):

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

Or search for Composer breathing border in dsh-market and install it with one click.

Usage

  1. Open Settings → General.
  2. Find Composer glow color (right below Composer Enter).
  3. Click a swatch. The composer updates immediately; the choice is stored in localStorage under dsh.composer-breathing-border.

Requirements

  • DeepSeek Harness >= 0.2.1-rc.4 (engines.dsh), Web UI or a desktop client that embeds it.
  • The conversation.input.overlay and settings.general.item slots, provided by @deepseek-ai/dsh-client-ui-conversation and the General settings page.

How it works

  • The Host half (index.js) is inert; all rendering is in the Client half (client.js).
  • The ring registers into conversation.input.overlay — the overlay anchor inside the composer card — and sizes itself from the host card's measured height and --dsw-radius-panel radius.
  • The color row registers into settings.general.item.
  • The stylesheet is injected into <head> when the plugin applies and removed when it unloads.

Development

# install the linked package into a profile
dsh plugin --profile <your-profile> add /path/to/dsh-composer-breathing-border

The package has no build step: index.js, client.js, and the JSON/YAML/SVG assets are shipped as authored.

License

MIT


输入区呼吸边框

为 DeepSeek Harness 的消息输入区添加柔和的呼吸光晕边框,内置六种光晕颜色。

  • 1px 品牌色描边 + 28px/72px 双层光晕,5.4 秒一次呼吸;输入框聚焦时加快到 3.6 秒。
  • 在 设置 → 通用 → 输入区光晕颜色 中选择颜色,选择会保存并在重启后保留。
  • 默认「跟随主题」使用 --dsw-alias-brand-primary,自动适配明暗主题。
  • 尊重系统的「减少动态效果」设置:此时显示静态光晕,不播放动画。

Related plugins