dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
English | 中文
A dsh Web client bundle that replaces the base background with a randomly rotating Unsplash wallpaper, revealed through translucent surfaces.
document, Image, setInterval).web profile (dsh --profile web, a.k.a. dsh web) with the web-app bundle.--dsw-alias-bg-base / --dsw-specific-sidebar-fill, toggles the body[data-ds-dark-theme] dark-mode attribute, and serves the Plugins settings panel.The effect adapts to the active dsh theme — translucent white surfaces in light mode, translucent dark surfaces in dark mode — so it follows your theme (and system) automatically. Dark mode is recommended: the photo reads as a moody, high-contrast backdrop. In light mode the photo shows through a white veil with a slight darkening and looks more subdued.
dsh plugin --profile web add github:imcp-pro/dsh-client-background
The plugin's prepare script builds lib/ at install time (it is not committed), and pnpm ≥ 10 blocks a git dependency's build scripts until allowlisted. The first run may therefore fail with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED — that is expected. To resolve it:
@imcp-pro/dsh-client-background@https://codeload.github.com/…/tar.gz/<commit>.allowBuilds in the web profile's pnpm-workspace.yaml
(~/.dsh/profiles/web/pnpm-workspace.yaml), then re-run the command.# ~/.dsh/profiles/web/pnpm-workspace.yaml
allowBuilds:
"@imcp-pro/dsh-client-background@https://codeload.github.com/imcp-pro/dsh-client-background/tar.gz/<commit>": true
Note: the key is commit-bound — every new commit changes
<commit>, so always copy the key from the current error. Keep the codeload tarball form (https://codeload.github.com/…/tar.gz/<commit>) verbatim, notgit+https://orgit+ssh://.
Paste the following prompt into your agent; it installs the plugin and resolves the allowlist step for you:
Install the dsh background plugin for the web profile:
dsh plugin --profile web add github:imcp-pro/dsh-client-background
If the command fails with `ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED` (or a `dsh:`
hint mentioning `allowBuilds`), copy the exact
`@imcp-pro/dsh-client-background@https://codeload.github.com/.../tar.gz/<commit>`
key printed in the error, add it under `allowBuilds` in
`~/.dsh/profiles/web/pnpm-workspace.yaml`, and re-run the same command. Then
confirm the plugin is listed under `dependencies` in
`~/.dsh/profiles/web/package.json`, report whether the install succeeded, and
remind the user to restart `dsh web` to load the plugin (do not restart it
yourself).
npm run build
dsh plugin --profile web add .
Then restart dsh web; the background appears and persists across restarts.
Open Settings → Plugins → Plugin list, then expand Wallpaper background under Global plugins:
| Field | Default | Description |
|---|---|---|
| Enable background | on | runtime off switch; the plugin stays installed |
| Rotation interval (seconds) | 20 | how often the image auto-switches |
| Check for updates | off | periodically poll GitHub for a newer commit |
| Check interval (seconds) | 21600 | time between two update checks |
Edits stage locally and apply on Save; Discard drops them. When a newer commit is found, the entry shows the update command to run (then restart).
npm install
npm run build # esbuild bundles + tsc declarations → lib/
npm test # vitest (jsdom)
tsconfig.json maps the @deepseek-ai/dsh-* type imports to a sibling deepseek-harness source checkout (its lib/types), because the published dsh packages currently predate the source API this plugin targets. Point the paths entries at your own checkout before building.
npm publish # `prepare` runs the build; ships lib/ + cordis.patch.yml
The package ships lib/ and cordis.patch.yml. It declares dsh.bundle.patch (so dsh plugin add registers the layer), dsh.client (so the client-modules host serves the browser half), and a client-background settings namespace the Host half registers.
background-attachment: fixed is ignored on iOS Safari — the image scrolls with the page there.