dsh-vscode-scrollbar: Replace Chat Scrollbars and Minimaps with VS Code Style

Preface

When browsing long conversations in DeepSeek Harness (DSH), the default conversation area features only a single, approximately 5px wide, rounded, overlay-style scrollbar, without a minimap preview column like those found in editors. If you spend your time coding in VS Code, you are likely accustomed to the 14px persistently visible scrollbar, the flat semi-transparent slider, and the ability to drag the viewport within a right-side thumbnail. The community plugin dsh-vscode-scrollbar (maintainer: azkbzxf; category: Fun/Theming) modifies only the appearance and behavior of the main conversation scroll column. Menus, code blocks, sidebars, Composer, and all other scrollbars remain unchanged from the original Harness.

What is this?

dsh-vscode-scrollbar is a plugin bundle for the DSH Web client. It aligns the vertical scrollbar style of conversation sessions with VS Code editor defaults (editor.scrollbar.verticalScrollbarSize = 14, with colors corresponding to scrollbarSlider.* in VS Code light/dark themes) and adds a VS Code-style minimap preview column in wide screens. Dark mode is determined by the body[data-ds-dark-theme] attribute set by the Harness theme service, without introducing a second set of theme colors.

Repository: https://github.com/azkbzxf/dsh-vscode-scrollbar
Community Directory: https://www.skillhub.cn/plugins/azkbzxf/dsh-vscode-scrollbar

Differences from Default Harness

Scrollbar

Property Harness Default After Enabling Plugin
Track Width 5px 14px
Slider Shape Pill-shaped (large border radius + inset border) Flat rectangle, no border radius
Light Theme Slider Theme scrollbar alias rgba(100,100,100,.4)
Dark Theme Slider Theme scrollbar alias rgba(121,121,121,.4)
Hover / Drag Theme alias Consistent with VS Code default hover and active colors
Scrollbar Buttons None None

Minimap

Property Harness Default After Enabling Plugin
Preview Column None 80px wide column attached to the left of the scrollbar, height not exceeding half the window
Content None Scaled snapshot of the entire conversation; images are drawn, while heavy content like video/canvas/SVG/forms is discarded
Viewport Slider None VS Code minimapSlider style, displayed when hovering over or dragging the minimap
Turn Navigation Track Attached to right edge, may be obscured by preview Moved to 110px from the right edge when preview exists to avoid obstruction
“Load Earlier” Old turns collapsed behind button Plugin automatically expands (up to approx. 500 pages); this behavior cannot be disabled individually

The conversation column has a maximum width of approximately 920px; the minimap hides when the window content area width is below approximately 1180px to avoid compressing the main text. The minimap is also hidden when the conversation is shorter than the viewport.

Key Behaviors

The following points are derived from the implementation details in the README to help you determine if it fits your usage habits.

  1. The Minimap appears only when there is whitespace on the right; narrow windows hide the column rather than covering messages.
  2. Clicking the minimap aligns the viewport to that position, and it supports holding and dragging for continuous scrubbing; scrolling the wheel over the minimap scrolls the conversation, consistent with VS Code.
  3. During streaming output, the preview refreshes with a ~350ms debounce, and scrolling is throttled using rAF; the preview layer is read-only, and the cloned tree strips IDs, SVGs, canvas, video, forms, and animations to avoid interfering with the actual conversation.
  4. The plugin locates the session via the stable DOM contract [data-slot="conversation.session"], finds the scrolling container with overflow-y set to auto/scroll, marks it with data-dsh-vscode-scrollbar, and restyles ::-webkit-scrollbar* using scoped styles.

Installation and Activation

Install from GitHub under your current profile:

dsh plugin --profile <profile> add github:azkbzxf/dsh-vscode-scrollbar

The newly installed bundle takes effect for the running instance: Host-side effects apply immediately, while Client-side hot-loads into already opened pages. If replacing an installed copy with the same name, you must refresh the page or restart DSH to load the new client build.

Uninstall:

dsh plugin --profile <profile> remove dsh-vscode-scrollbar

The README also mentions that you can perform install_bundle on a local directory via the plugin management tool (fill in the path of your local checkout); for daily use from the community/GitHub, the dsh plugin command above is the standard.

Typical Usage

This plugin has no additional configuration options: once installed and activated, open any conversation session to see the 14px scrollbar; in sufficiently wide windows, a minimap will appear on the right. You simply scroll or drag the minimap slider to jump as usual, without needing to modify Harness config files.

If you are debugging via a local bundle, the manager action provided in the README is:

{ "action": "install_bundle", "target": "D:\\path\\to\\dsh-vscode-scrollbar" }

Simply replace target with the actual path on your machine.

Use Cases and Notes

Who it’s for: DSH users accustomed to VS Code editor scrollbars and minimaps; those who need to quickly overview long conversations and locate turns using the right-side preview; those who accept “Fun/Theming” positioning (changing UI only, not business logic).

Permissions & Security: DSH plugins run with the permissions of the current dsh process. Please review the repository source code and license (package.json specifies MIT) before installing. The community directory site skillhub.cn is an independent ecosystem index and has no official affiliation with DeepSeek / High-Flyer.

Behavior Trade-offs: Automatically clicking “Load Earlier” expands all historical turns, which may increase DOM size in long sessions; the minimap differs from VS Code’s full-height minimap and is intentionally limited to half the window height. If you rely on default collapsed pagination or extremely narrow layouts, please try it first before deciding to enable it permanently.

Conclusion

dsh-vscode-scrollbar replaces the conversation area scrollbar with VS Code’s 14px flat semi-transparent style and adds a read-only minimap and turn navigation avoidance in wide screens, while leaving scrollbars in other areas as they are in Harness. For installation commands and implementation details, please refer to the GitHub README:

羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye