dsh-web
zhu1090093659/dsh-webDeepSeek Harness(DSH)Web 插件聚合生态包 · 一切皆插件,创意工坊分发(dsh-market.com)
Lego-style visualization of dynamic Cordis plugins in the DeepSeek Harness (DSH) Web GUI.
This plugin replaces the native "Cordis Plugin" panel at the bottom-left
sidebar with a Lego-brick view of the plugins the current session is running
(dyn/*). Every plugin is a brick rendered with pure CSS — no external
libraries, no WebGL — and each brick keeps the full lifecycle controls of the
native panel: run, stop, remove, approve, decline. Hot plug/unplug is the
point of the plugin, not just a pretty list.
Trademark notice. This project is not affiliated with, endorsed by, or connected to the LEGO Group. "LEGO" is a trademark of the LEGO Group. The brick-style appearance is a visual metaphor only.
Scope. This plugin manages dynamic Cordis plugins (
dyn/*, the ones created throughcordis_define). Static Loader plugins fromcordis.ymlare not listed — hot plug/unplug exists only for dynamic plugins.
--dsw-alias-* theme tokens.The brick and stud styling follows the classic pure-CSS Lego block recipe:
The stud/brick visuals are original code in this repository, informed by those references; no code is copied verbatim.
Requires a DeepSeek Harness installation with the Web GUI and pnpm on your
PATH (dsh plugin forwards the command to pnpm).
dsh plugin --profile web add dsh-lego-plugin
Developing or testing inside the DeepSeek Harness source tree, where
dshis not yet a global binary? Run the source entry through pnpm instead:pnpm dsh plugin --profile web add dsh-lego-plugin
--profile is required and names your run configuration. Use web if you
start the GUI with dsh web (the most common case), headless for the CLI,
or any other name — a missing profile is created automatically.
Or install directly from GitHub:
dsh plugin --profile web add github:XIAOke8698/dsh-lego-plugin
Git installs build from source via the package's prepare script. pnpm ≥ 10
blocks a git dependency's build script until allowlisted — the first add
fails and prints a key. Add that key to pnpm-workspace.yaml in your profile
directory, then re-run the add command:
allowBuilds:
- <the-key-pnpm-printed>
(Or run pnpm approve-builds in the profile directory to approve it
interactively.)
Click Cordis Plugin at the bottom-left of the sidebar. The panel opens with one Lego brick per dynamic plugin. Click a brick to see its actions:
| Brick state | Available actions |
|---|---|
| Running (solid + green dot) | Stop, Remove |
| Stopped (greyed out) | Run, Remove |
| Awaiting approval (red outline) | Approve, Approve (future versions), Decline |
Remove the bundle from your profile to restore the native Cordis Plugin panel:
dsh plugin --profile web remove dsh-lego-plugin
Removal is clean and complete:
cordis.patch.yml layer is removed from the profile, so the package is
no longer mounted at the next dsh web start.You can also stop just the visual replacement without uninstalling: because
the panel is a dynamic plugin itself, stop it from the Cordis panel
(dyn/… brick → Stop) or with cordis_stop, and the native panel returns
immediately.
src/
index.js host half (Loader entry)
client/index.js browser half — the whole feature
scripts/
build-client.mjs zero-dependency build (Node only)
pnpm install
node scripts/build-client.mjs
node --check lib/client.js
MIT