DeepSeek Harness Plugin

qinvnb/dsh-framewake

Stars ★ 1 Category UI Enhancements Added 2026-12-01

Startup video and Windows launch window size settings with a multi-video library, custom playback duration (1-300s), contain/cover fitting, and full-window preview.

Install

# from a prebuilt release tarball

dsh plugin --profile web add -w "https://github.com/qinvnb/dsh-framewake/releases/download/v0.4.6/dsh-framewake-0.4.6.tgz"

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

dsh plugin --profile web add github:qinvnb/dsh-framewake

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

Configure startup videos, playback duration and Windows window dimensions for DeepSeek Harness. Includes a dedicated settings page and a custom frame-and-play icon.

Features

  • Import multiple local videos or drag them into a persistent library, then choose the launch video.
  • Preview videos directly in library cards, or preview any clip with the startup player without changing the selected launch video.
  • Playback validation, automatic saving, and DSH-native dropdown menus.
  • Optional Windows startup window size: presets, custom width/height, apply now, and monitor work-area clamping.
  • Play the full video or set 1–300 seconds; short clips loop and buffering pauses the timer.
  • Startup and full-window preview share the same player, fitting, sound, duration and fade-out behavior.
  • Controls for launch playback, sound and contain / cover fitting.
  • Fade out when playback ends; skip with the button or Escape.
  • Release the interface on loading or playback failure.
  • No runtime dependencies, media downloads or access to account/model settings.

Install and use

Build a local tarball with npm pack, then add the .tgz through DSH's plugin manager and restart DSH. The package name is dsh-framewake; it has not been published to npm yet.

Open Settings → 启动设置, import videos, select one from the library, set the duration, then preview it. Changes save automatically. Later imports preserve the current selection. Supports MP4 / WebM up to 256 MB and 5 minutes; H.264 MP4 is recommended.

The intro starts from DSH's structured Host boot injections, before the React plugin client loads. It plays only once per launch. Cover fitting is the default; contain fitting remains available in settings. Electron's earliest native loading stage still precedes Host injections and is not replaced. Browser autoplay restrictions may mute sound until the user interacts.

Windows window size

Enable the window-size setting, choose a preset or save custom dimensions, then restart or use Apply now. It is disabled by default. Dimensions follow Windows display scaling (width 520–7680, height 600–4320), restore a maximized window, and center it within the current monitor work area. Display resolution is unchanged.

The bundled .NET/Win32 helper only targets the DSH Desktop ancestor of this plugin host. It changes no application files or system script policy and installs no service. Its C# source is included; npm run build:window compiles it with the Windows .NET Framework compiler. Non-Windows, missing desktop ancestors, or blocked helpers leave video playback available. Resizing happens after the host plugin loads; the earliest native loading window may still use the default size. A standalone browser preview cannot resize DSH.

Data

Settings and imported copies stay under $DSH_HOME/storages/dsh-framewake/ (default DSH home: ~/.dsh). Original files are not changed or uploaded. Clearing the selection, removing a library entry or uninstalling does not delete video files.

Verification

Requires Node.js 24+. Loading, HTTP import, settings persistence and video range requests were checked with Windows x64 and official DSH Desktop 0.2.2-rc.3. File selection, drop handling and playback cleanup have behavior tests. Real file selection, automatic saving, preview and Escape were checked in a standalone browser. Actual DSH native-window interactions and other platforms have not been fully verified.

Run npm run build after editing src/client.js or the shared player in boot.js, then npm test. Packing also builds the generated client. DSH code and test videos are not included in the package.

License

MIT. Supply your own appropriately licensed video; no demo media is included.

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.