DeepSeek Harness Plugin

1jincheng/dsh-first-paint

Stars ★ 0 Category UI Enhancements Added 2026-11-05

First-paint splash for DSH: pushes a branded splash page into the boot HTML as an index-injection row, so the desktop window opens already showing the splash instead of a white/loading flash. Fades out and hands over once the startup-animation plugin starts (checked via `window.__DSH_STARTUP_RUNNING__`), with a 6-second fallback (configurable via `maxMs`) so it can never trap the app behind the splash. A normal dsh.bundle plugin: no host changes, no app.asar patching.

Install

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

dsh plugin --profile web add github:1jincheng/dsh-first-paint

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

Removes the white flash at DeepSeek Harness startup: the splash page is pushed into the boot HTML as an index-injection row, so the desktop window opens already showing a branded dark frame instead of a blank/loading page.

  • Works alongside startup-animation plugins: once window.__DSH_STARTUP_RUNNING__ is true it fades out and hands the screen over.
  • No host changes, no app.asar patching: it is a normal dsh.bundle plugin.
  • Configurable via ~/.dsh/dsh-first-paint.json (title, colors, max wait). 8s fallback so it can never trap the app behind the splash.

Install

dsh plugin --profile desktop add dsh-first-paint

Restart DSH completely afterwards.

Config

{
  "enabled": true,
  "cn": "HARNESS",
  "en": "LOADING",
  "maxMs": 6000,
  "handoffDelayMs": 500,
  "background": "#0A0A0B",
  "accent": "#FF7500"
}

See README.md (Chinese) for details. MIT licensed.

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.