DeepSeek Harness Plugin

VanlxyG/dsh-hover-sidebar

Stars ★ 1 Category UI Enhancements Added 2026-10-20

Hover to reveal and leave to hide the left sidebar on Windows desktop and Web, with manual pinning, configurable delays and reduced-motion support.

Install

# from a prebuilt release tarball

dsh plugin --profile web add -w "https://github.com/VanlxyG/dsh-hover-sidebar/releases/download/v0.2.0/dsh-hover-sidebar-0.2.0.tgz"

# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)

dsh plugin --profile web add github:VanlxyG/dsh-hover-sidebar

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

Hover to reveal the DeepSeek Harness left sidebar; leave to hide it. Manually opened sidebars stay pinned.

中文说明 · Releases

Zero runtime dependencies, build steps or install hooks. Uses the host's public layout.toggleSidebar() action. No network, conversation access, credential access or host-file patches.

Install

In the official desktop app, open Settings → Plugins, choose the add-plugin action and enter:

https://github.com/VanlxyG/dsh-hover-sidebar/releases/download/v0.2.1/dsh-hover-sidebar-0.2.1.tgz

You can also download that package from Releases and install the local file. Follow any host refresh/restart prompt. Use the installed plugin's switch to enable or disable it.

For a web profile:

dsh plugin --profile web add https://github.com/VanlxyG/dsh-hover-sidebar/releases/download/v0.2.1/dsh-hover-sidebar-0.2.1.tgz

Use managed installation so the package source and bundle survive dependency reinstalls. Copying only to node_modules is insufficient. When migrating from a manually registered version, back up the profile and remove its old hover-sidebar insert block before installing the bundle, to avoid duplicate entries.

Behavior

  • Hover at the left edge for 120ms to open. Native shells use a 12px zone; the web shell's whole collapsed icon rail is valid.
  • Leaving the sidebar plus its 24px margin hides it after 300ms. Returning cancels closing.
  • Manual opens stay pinned. Manual closes require leaving/reentering before hover can reopen.
  • Editing, keyboard navigation, sidebar menus and dragging are protected: a native row drag (project or session reordering) keeps the panel open until the drop. Touch does not trigger hovering.
  • Escape dismisses a temporary panel. Animations respect reduced-motion preferences.

Compatibility

The current baseline is the layout contract in official DSH 0.2.1-rc.2. Contract tests cover 0px native and 56px web collapsed tracks. There are no version-pinned DSH peers or private-module imports. The DOM adapter accepts changing CSS hashes and reconnects after remounts; an unknown layout leaves the enhancement idle.

DSH is a developer preview with breaking changes. Compatibility with every future release cannot be guaranteed. Replacing an entire profile can still remove user-installed plugins; keep backups.

Tuning and development

__dshHoverSidebar.configure({ hotzonePx: 16, leaveDelayMs: 450 })
__dshHoverSidebar.setEnabled(false)
__dshHoverSidebar.setEnabled(true)
__dshHoverSidebar.configure({})
__dshHoverSidebar.state()

These browser-local overrides follow the current origin, which can change between desktop launches. Use the host plugin-manager switch for durable package enablement.

Node.js 22+, no dependency installation required:

npm test
npm run check
npm run test:browser
npm run pack:release

Browser tests launch an isolated headless Chrome/Edge with random loopback ports and a disposable profile; set BROWSER_BIN if detection fails. Passing CI on main creates a release for each new package version, with a package tarball and SHA-256 checksum. Existing releases are never overwritten.

Discovery in dsh-market requires separate inclusion in the community catalog. See SECURITY.md, CONTRIBUTING.md, and the MIT LICENSE.

Content from the project README on GitHub ↗

Links

More in this category

View the whole category →

Community comments

Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.