dsh-at-file
FSMargoo/dsh-at-fileCodex 风格的 `@file` 文件引用,输入框里直接搜索并引用工作区文件。
为 DSH Web 输入框提供流畅的彗星光标:以发光的彗星拖尾取代原生闪烁光标,随输入平滑滑动,可配置强调色、粗细与拖尾,并适配中文等 IME 输入。
中文 | English
A smooth, comet-mode animated caret for the DSH chat composer textarea — a standalone installable DSH plugin. Replaces the native text caret with a glowing comet that glides across the input as you type, with a configurable trail, accent color, and thickness.
localStorage; no host restart or round-trip needed.dsh plugin --profile web add dsh-smooth-cursor
Or from GitHub:
dsh plugin --profile web add github:Lacquervii/smooth-cursor
Then restart dsh web and find the Input caret row under Settings → General.
Clone this repo and add it as a plugin bundle:
git clone https://github.com/Lacquervii/smooth-cursor.git
cd smooth-cursor
pnpm install --ignore-scripts
pnpm build
Then register it in your profile's cordis.patch.yml:
- insert:
- id: smooth-cursor
name: dsh-smooth-cursor
The effect activates whenever the composer textarea has focus. Open Settings → General → Input caret to:
pnpm install --ignore-scripts
pnpm build # tsc types + tsdown bundles (node half + client half)
pnpm watch # incremental rebuild
lib/ is committed so the plugin works straight from a git install even when a package manager blocks the prepare build step.
The smooth caret effect of this plugin is inspired by the VSCode smooth cursor concept and references the Obsidian community animated-cursor plugin (Copyright (c) 2025 Kotaindah55 (Sheva Ihza), released under the MIT License). The rendering and integration in this project are independently rewritten for DSH Web, but the effect is inspired by the projects above — many thanks to their authors.
MIT