ThinkofRain1213/dsh-smooth-cursor-patched ↗★ 2

dsh-smooth-cursor-patched

Smooth comet-mode animated caret for the DSH chat composer and question cards — enhanced community patched edition 适合追求视觉动效、希望美化 DSH 输入光标轨迹的用户。

パッケージ
dsh-smooth-cursor-patched
互換性
未検証
Harness ピア範囲
*
Cordis ピア範囲
^4.0.1
バージョン
0.1.9-patched.5
ライセンス
MIT
最終更新
2026/09/29

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ThinkofRain1213/dsh-smooth-cursor-patched

ドキュメント

README 全文を読む ↗

安装与使用

从 npm 安装(推荐)

dsh plugin --profile web add dsh-smooth-cursor-patched

从 GitHub 安装

dsh plugin --profile web add github:ThinkofRain1213/dsh-smooth-cursor-patched

安装后刷新或重启 dsh web,在 插件 → 本插件 的 bundle 详情页里配置:配置区位于描述与「包含的组件」之间。

版本要求:DSH 0.1.6-alpha.2 及以后。 插件自有设置页由 @deepseek-ai/dsh-client-ui-plugin-manager 提供,该包首次发布于 0.1.6-alpha.2,并从中提供 plugins.bundle.config 槽位。0.1.5 及更早的版本没有插件管理界面,因此没有这个槽位——插件会安静地不渲染配置区(光标特效本身不受影响,走 localStorage 的既有偏好继续生效)。

从本版本起,本插件只提供插件页这一处配置入口:先前注册在「设置 → 通用」的输入光标行已移除,避免同一组开关出现两次。

手动安装(本地开发)

克隆本仓库并作为插件 bundle 添加:

git clone https://github.com/ThinkofRain1213/dsh-smooth-cursor-patched.git
cd dsh-smooth-cursor-patched
pnpm install --ignore-scripts
pnpm build

然后在你的 profile 的 cordis.patch.yml 中注册:

- insert:
    - id: smooth-cursor-patched
      name: dsh-smooth-cursor-patched

注意:id / name 必须与包名一致。改写为上游的 smooth-cursor / dsh-smooth-cursor 会与官方插件条目冲突,DSH 会因 loader id 重复而报 Failed to load plugins。

使用

当输入框获得焦点时特效即生效。打开 插件 → 本插件 的配置区可以:

  • 开关整个特效、彗星拖尾或光标闪烁。
  • 从色板选择强调色,或使用自定义取色器。
  • 选择光标的粗细。

偏好保存在浏览器 localStorage 里,改动即时生效,无需重启或刷新。