DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-lego-plugin

Lego Plugin

DSH Web GUI 中动态 Cordis 插件的乐高式可视化——使用可热插拔的积木替换原生 Cordis Plugin 面板,支持 4 套主题、i18n 和纯 CSS。

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add dsh-lego-plugin@0.2.0
README兼容性版本
Cordis Plugin panel rendered as Lego bricks

兼容性与来源证明

Lego Plugin 以 dsh-lego-plugin 发布,当前版本为 0.2.0。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
npm
Registry 更新时间
2026/8/30

版本

0.2.0stable
2026/8/30

相关插件

正在加载相关插件…

最新版
0.2.0
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
57.5 kB
文件数
11
Surface
web
许可证
MIT
发布源
npm
GitHub
★ 0
周下载
0
最近提交
2026/9/6
查看源码 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Session Titles Bundle@deepseek-ai/dsh-experimental-session-titles-bundle新的用户提示到达时刷新会话标题。Personalized Recommendations@deepseek-ai/dsh-personalized-recommendations回答下方以卡片形式提供个性化页面和内置插件推荐Whale Widgetdsh-whale-widgetDSH Web 界面右下角的 DeepSeek 余额小鲸鱼挂件:余额/今日已用/峰谷定价、自定义泡泡点击序列(文本/余额/今日/峰谷/图片/随机语句与并列加权选择)、逐行样式与字体、悬浮快捷编辑、音效与每轮消耗、自定义角色/动图/音效、吸附与翻转自定义

README

dsh-lego-plugin

dsh-lego-plugin banner

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 through cordis_define). Static Loader plugins from cordis.yml are not listed — hot plug/unplug exists only for dynamic plugins.

Features

  • Replaces the native Cordis Plugin panel — same entry position and label ("Cordis Plugin"), same data and lifecycle verbs, Lego-brick presentation.
  • Hot plug/unplug — click a brick: Run / Stop / Remove for running or stopped plugins, Approve / Approve (future versions) / Decline while a run is awaiting approval. State refreshes live as plugins start and stop.
  • Lego bricks — plastic-look 3D bricks with glossy studs (highlight + drop shadow); running plugins render solid with a green status dot, stopped ones greyed out, awaiting-approval ones outlined in red.
  • 4 themes — Classic red, Ocean blue, Forest green, Amber (switchable in the panel header).
  • Search — filter bricks by plugin id.
  • Running count — the sidebar entry shows how many plugins are running.
  • i18n — follows the GUI locale (中文 / English).
  • Light/dark — colors come from --dsw-alias-* theme tokens.

Style reference

The brick and stud styling follows the classic pure-CSS Lego block recipe:

  • rembertdesigns/CSS-Lego-Block — the glossy stud highlight + drop-shadow recipe this project builds on.
  • 纯 CSS 创作一块乐高积木 — a walkthrough of the same technique.

The stud/brick visuals are original code in this repository, informed by those references; no code is copied verbatim.

Screenshot

Cordis Plugin panel rendered as Lego bricks

Install

Requires a DeepSeek Harness installation with the Web GUI.

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 automatically; pnpm may ask you to allow the package's build script, then re-run the add command.

Usage

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 stateAvailable actions
Running (solid + green dot)Stop, Remove
Stopped (greyed out)Run, Remove
Awaiting approval (red outline)Approve, Approve (future versions), Decline

Uninstalling

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:

  • The browser half unloads, which restores the native Cordis Plugin panel — nothing about this plugin persists in the page after it stops.
  • The stylesheet this plugin injected is removed on unload; no global styles are left behind.
  • The 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.

Development

src/
  index.js          host half (Loader entry)
  client/index.js   browser half — the whole feature
scripts/
  build-client.mjs  zero-dependency build (Node only)
node scripts/build-client.mjs
node --check lib/client.js

License

MIT