hawkongz/dsh-chat-locator
Turn-rail settings for DSH Web: tick thickness, rail side, and a curved length gradient anchored on the hovered tick, plus a plain-text hover preview whose line count, font size and width you control — without replacing the built-in rail.
dsh-chat-locator turns the three fixed opinions DSH Web bakes into its turn rail — always-2px ticks, always on the right, no hover preview — into settings. Tick thickness becomes 1–8px, the rail can sit left or right (the hover preview opens on the opposite side), and the hover preview's line count (1–6), font size (10–18px) and width (200–420px) are configurable, scaling font size and line height as a pair. A curved length gradient makes the tick under the pointer grow to 32px with its neighbours tapering back (21 / 14 / 12), and has its own on/off switch. All seven settings can be restored to defaults in one click via per-field unset. There is a dedicated Settings → 对话定位条 page with a live sample rail and sample preview card that redraw as you change each value.
Install
dsh plugin --profile web add dsh-chat-locatorCopied verbatim from the README's Installation section. The plugin declares zero dependencies and no build step; both halves are plain ESM loaded directly by Node and the browser, and it does not replace the rail — it claims the rail's styles at runtime.
Compatibility
Requires a working DSH installation (the dsh command) with a profile, plus Node.js 20 or newer. The plugin itself has no dependencies to install. The built-in jump-to-turn, unloaded-turn paging and active-turn following keep working exactly as before.
Details
- Repo: hawkongz/dsh-chat-locator
- Category: Web UI Enhancements
- Stars: 0
- Version: GitHub repo hawkongz/dsh-chat-locator; npm package dsh-chat-locator at 1.4.3 (registry check 2026-10-09; registry repository field resolves back to this repo). MIT license.
Alternatives
gjj-star/dsh-conversation-navigato · SherUnlocked-4869/dsh-plugin-msg-nav · vibeinging/dsh-turn-navigator