Introduction¶
DSH (DeepSeek Harness) provides a turn-level track on the Web to help users quickly locate positions within long conversations. The original track’s tick thickness, track position, and hover effects are hard-coded, leaving users with no customization options. dsh-chat-locator is a plugin that transforms these hard-coded parameters into configurable options by claiming styles at runtime. It does not replace the track; instead, it extends the original functionality.
Features¶
- Tick Thickness & Track Position: Supports 1–8px thickness, with the track positioned on either the left or right side.
- Hover Preview: A plain-text card displaying the prompt and response. Supports adjustments for line count (1–6 lines), font size (10–18px), and width (200–420px).
- Curved Gradient: Hover tick anchor is 32px, tapering off along a curve on both sides.
- Dedicated Settings: Provides a dedicated settings page and a one-click restore to defaults.
Installation and Activation¶
- Ensure your environment meets the requirements: Node.js 20+, DSH 0.2.x.
- Run the installation command:
dsh plugin --profile web add dsh-chat-locator
- Restart the host application.
Usage¶
After installation, locate “Conversation Locator Bar” in the DSH settings sidebar. On Desktop, you can install it via the sidebar menu “Plugins” → “Add Plugin”.
To verify the installation, run the following in your browser’s console:
__dshChatLocator.state()
Implementation Notes and Considerations¶
- Claim Styles, Not Replace: The plugin claims the track styles at runtime, retaining the original jump-to-turn and pagination functions.
- Local Storage: Settings are saved in the browser’s local storage and are not synced across devices.
- Dependencies & Build: No built-in dependencies or build step required; expects React and Cordis to be provided by the host.
- Restart Required: The host must be restarted after installation or removal.