Smooth 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, and trail, IME-aware for CJK input.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-smooth-cursor
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:Lacquervii/smooth-cursor
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
中文 | 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.
Preview
Features
- Breathing caret — a smooth eased caret that glides to the text position instead of blinking.
- Comet trail — a tapered, fading trail follows the caret while you move it.
- Configurable — enable/disable, trail on/off, accent color (preset swatches or custom picker), thickness (thin / medium / thick).
- IME-aware — measurement respects composition so Chinese/Japanese input stays accurate.
- Browser-local persistence — settings are stored in
localStorage; no host restart or round-trip needed.
Install
As a DSH plugin (recommended)
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.
Manual (local development)
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
Usage
The effect activates whenever the composer textarea has focus. Open Settings → General → Input caret to:
- Toggle the whole effect or just the comet trail.
- Pick an accent color from the swatches, or use the custom color picker.
- Choose the caret thickness.
Development
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.
Acknowledgements
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.
License
MIT
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 9262
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 9262
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 5677
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
ccch1mneyyy/dsh-TUI★ 5125
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
omdsh-dev/DSH-better-sidebar★ 4413
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
Devin-AXIS/deepseek-design#deepseek-idesign★ 1491
Visual design studio for websites, app prototypes, posters, cards, reports, and magazines, with templates, direct element editing, selection-aware AI draft handoff, and export.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.