smooth-cursor
Manifest valid★ 3Smooth comet-mode animated caret for the DSH Web composer: a glowing comet trail replaces the native blinking caret and glides across the input as you type, with configurable accent color, thickness,
dsh-smooth-cursor
中文 | English
一个为 DSH(DeepSeek Harness)Web 聊天输入框打造的彗星光标插件——把原生闪烁光标替换成一枚会随输入平滑滑动的发光彗星,支持自定义拖尾、强调色和粗细。这是一个独立、可安装的 DSH 插件。
预览
特性
- 呼吸光标 — 平滑缓动,输入时滑向文字位置,而非闪烁。
- 彗星拖尾 — 移动光标时带有渐细渐隐的拖尾。
- 可配置 — 开关特效、开关拖尾、强调色(预设色板或自定义取色)、粗细(细 / 中 / 粗)。
- 适配 IME — 测量尊重输入法组合状态,中文、日文输入依然准确。
- 浏览器本地持久化 — 设置存于
localStorage,无需重启宿主或来回请求。
安装
作为 DSH 插件安装(推荐)
dsh plugin --profile web add dsh-smooth-cursor
或通过 GitHub:
dsh plugin --profile web add github:Lacquervii/smooth-cursor
然后重启 dsh web,在 设置 → 通用 → 输入光标 中找到设置项。
手动安装(本地开发)
克隆本仓库并作为插件 bundle 添加:
git clone https://github.com/Lacquervii/smooth-cursor.git
cd smooth-cursor
pnpm install --ignore-scripts
pnpm build
然后在你的 profile 的 cordis.patch.yml 中注册:
- insert:
- id: smooth-cursor
name: dsh-smooth-cursor
使用
当输入框获得焦点时特效即生效。打开 设置 → 通用 → 输入光标 可以:
- 开关整个特效,或仅开关彗星拖尾。
- 从色板选择强调色,或使用自定义取色器。
- 选择光标的粗细。
开发
pnpm install --ignore-scripts
pnpm build # tsc 类型 + tsdown 打包(node 端 + 客户端)
pnpm watch # 增量重建
lib/ 已提交到仓库,即使包管理器阻止了 prepare 构建步骤,也能从 git 安装后直接运行。
致谢
本插件的光标平滑效果受 VSCode 的 smooth cursor 概念启发,并参考了 Obsidian 社区的 animated-cursor 插件(原作者 Copyright (c) 2025 Kotaindah55 (Sheva Ihza),基于 MIT License)。本项目的渲染与集成是为 DSH Web 独立重写的实现,但效果灵感来源于上述项目,特此致谢。
许可证
MIT
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.1.1 | — | — |
| 0.1.2 | — | — |
| 0.1.3 | — | — |
| 0.1.4 | — | — |
| 0.1.5 | — | — |
| 0.1.6 | — | — |
| 0.1.7 | — | — |
| 0.1.8 | — | — |
| 0.1.9 | — | — |
Comments
Loading…
Similar plugins
by ThinkofRain1213
Patched fork of dsh-smooth-cursor: smooth comet-mode animated caret for the DSH Web composer, extended to question-card inputs and fixing the empty-input caret, forward selection tracking, soft-break
★ 1
↓ 576/wk
MIT
TypeScript
Sep 29, 2026
dsh plugin --profile web add dsh-smooth-cursor-patchedby jsdvjx
Session strata for the DeepSeek Harness Web GUI: the transcript's scrollbar becomes a to-scale, colour-coded map of the whole run, with your own messages emphasised and clickable anchors.
★ 100
MIT
JavaScript
Sep 11, 2026
dsh plugin --profile web add dsh-strataby gitByteFree
Renders mermaid fences in dsh web chat as SVG diagrams by default, with cursor-anchored smooth zoom and pan, a per-fence diagram/code toggle persisted in localStorage, dark-mode follow, and a bundled
★ 0
↓ 84/wk
MIT
JavaScript
Aug 31, 2026
dsh plugin --profile web add dsh-mermaid-smoothby shuind
Compact Codex coding mode for DSH: light prompt guardrails against GPT over-explaining, with an editable prompt and native Codex-style tools.
★ 6
↓ 884/wk
MIT
TypeScript
Sep 21, 2026
dsh plugin --profile web add @shuind/dsh-codex-harnessPersonalises the DSH running-turn status line: rotating bilingual quips, a configurable animated loading icon (5 styles x 3 sizes) and one-click matching to the active theme colour, all in a General-s
★ 0
dsh plugin --profile web add dsh-thinking-quipsby xiaoshengliang2002
Enhance the composer draft before sending: a sparkle button in the DSH web GUI rewrites your prompt in a structured or light mode, with an original-versus-enhanced preview.
★ 0
MIT
JavaScript
Sep 15, 2026
dsh plugin --profile web add dsh-prompt-boost-pro