返回目录
模型与 MCP 插件

dsh-power-type

huangzhilin-hzl/dsh-power-type

Power Mode typing effects for the DSH web composer: caret particles, heat and embers, combo counter, synthesized key ticks.

Stars
1
Forks
0
Issues
1
更新
26 天前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:huangzhilin-hzl/dsh-power-type

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-power-type

English | 中文

npm license

Power Mode typing effects for the DeepSeek Harness (DSH) Web composer: sparks, shockwaves, combo, heat and embers.

Power Type demo

Features

  • Caret particles, glowing character echoes and editor shake.
  • The current text line heats up with the streak: amber → orange → red, with heat shimmer and rising embers.
  • Heat wraps the text only: no composer border and no settlement card.
  • Combo counts visible glyphs: English adds per key, while a multi-character IME commit fills in the matching streak and tick density.
  • A quiet synthesized tick per keystroke; a heavier impact on Enter, with independent mute and volume.
  • Chinese and other IME composition support, plus light/dark theme adaptation.

Installation

Requires DSH Web >=0.2.1-rc.2 <0.3.0.

dsh plugin --profile web add dsh-power-type

To install the current commit instead of the published release, use the repository:

dsh plugin --profile web add github:huangzhilin-hzl/dsh-power-type

If running DSH from source, execute this from the DSH repository root:

pnpm dsh plugin --profile web add github:huangzhilin-hzl/dsh-power-type

Restart DSH Web and refresh the page after installation. No plugin build is required.

For local development, install from a local checkout instead:

dsh plugin --profile web add /absolute/path/to/dsh-power-type

Local installation uses a directory link, so keep that directory in place.

Usage

Start typing in the composer. Effects are enabled by default. Toggle the plugin under Plugins → Installed plugins → Power Type.

Adjust intensity and sound in the browser console:

window.__dshPowerType.setIntensity(1.5)      // Default: 1; range: 0.2–2.5
window.__dshPowerType.setSoundEnabled(false) // Mute key/Enter cues
window.__dshPowerType.setVolume(0.5)         // 0–1, default 0.9

Settings are saved locally in the browser.

Uninstall

dsh plugin --profile web remove dsh-power-type

For a DSH source checkout, use pnpm dsh instead of dsh.

Development

Install dependencies in a DSH checkout, then run these commands from this plugin directory:

export DSH_CHECKOUT=/absolute/path/to/deepseek-harness
node --test test/engine.test.mjs
node --test test/browser.test.mjs
node --test test/dsh.test.mjs

Browser tests require Chrome/Chromium. DSH integration also requires pnpm and a built Web frontend at apps/web/dist in the DSH checkout. Use CHROME_PATH and DSH_TEST_PNPM to specify executable paths when needed.

Set DSH_PLUGIN_SPEC=github:huangzhilin-hzl/dsh-power-type to run the DSH integration test against the remote package.

Open demo/index.html for a standalone visual demo, or demo/index.html?heat=1 for a continuous heat demo. Add &theme=light for the light theme.

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类模型与 MCP
规则置信度中

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: deepseek-harness。