dsh-plugin-market
by 6kongbai
dsh 插件市场 CLI:从 dsh-plugin GitHub topic 浏览、安装与卸载社区插件
A dsh plugin marketplace CLI: browse, install, and uninstall community plugins from the dsh-plugin GitHub topi
安装
dsh plugin --profile web add github:6kongbai/dsh-plugin-marketGitHub 源码安装:首次需按提示配置 allowBuilds 构建授权后重试
安装与环境配置指引、插件开发教程见 DSH 中文社区文档 ↗
安装即在你的机器上以你的权限运行第三方代码——它可读写文件、使用凭据、访问网络,DSH 的工具审批不会为插件代码加沙箱。「检测到 manifest」仅代表发现 dsh.bundle / dsh.plugin 清单,不构成兼容性或安全审查;安装前请审阅源码,不熟悉的插件先在不含密钥的环境试用。
README
目录
A plugin marketplace for the DeepSeek Harness (dsh): browse, install, and uninstall community bundle plugins from the dsh-plugin GitHub topic, from a sidebar Web panel and a CLI.
The community registry is a GitHub topic, not a proprietary index. Any repository tagged dsh-plugin whose package.json declares dsh.bundle.patch is installable.
How it is provided
The marketplace is itself a dsh bundle: cordis.patch.yml inserts a Host half and a Client half over an existing web surface.
- Host half registers
/plugin-market/*HTTP routes onctx.webServer— no Typert Remote, which the harness generator cannot emit for out-of-tree npm packages. Routes map one-to-one onto the engine (search/info/list/install/uninstall). - Client half contributes a sidebar foot action (beside Settings) whose panel drives those routes over same-origin fetch.
- CLI (
dsh-plugin-market) reuses the same engine for headless use.
Install
# bundle: installs the sidebar panel + CLI into the target profile
dsh plugin --profile web add github:6kongbai/dsh-plugin-market
Restart dsh; the marketplace icon appears at the sidebar foot. The bundle's cordis.patch.yml targets the web profile by default; edit the plugin-market row's config.profile (or set DSH_PLUGIN_MARKET_PROFILE) to target another profile.
Then:
dsh-plugin-market search <query> # search the dsh-plugin topic
dsh-plugin-market info <owner/repo> # detail + pinned install spec
dsh-plugin-market list # bundles installed in the profile
dsh-plugin-market install <owner/repo> # confirm, pin, pnpm add, reconcile, audit
dsh-plugin-market uninstall <package> # pnpm remove, reconcile, audit
Options:
--profile,-p <name>— target profile (defaultweb); overridable viaDSH_PLUGIN_MARKET_PROFILE.--yes,-y— skip the install/uninstall confirmation.GITHUB_TOKEN— raise the anonymous GitHub API rate limit.
How install works
install <owner/repo>:
- reads the repository's
package.jsonand verifies it declaresdsh.bundle.patch(repositories without it are marked not-installable insearch); - resolves the default branch's current head and pins to a commit —
pnpm add github:owner/repo#<sha>, never a floating branch; - runs
pnpm addin the target profile directory; - reconciles
dsh.profile.bundles(a dependency declaringdsh.bundlejoins the layer list; a removed one leaves it); - appends an audit line to
$DSH_HOME/plugin-install.log.
uninstall <package> runs pnpm remove, reconciles, and audits. In both cases the new bundle activates on the next dsh restart.
Architecture
dsh-plugin-market/
├── packages/market-host Engine + Host gateway: GitHub indexing, install
│ landing, reconcile, audit, and the MarketGateway
│ Service registering /plugin-market routes.
├── packages/market-client Client half: sidebar foot action + search panel.
└── packages/plugin-market Bundle: cordis.patch.yml (inserts both halves) + CLI.
The engine (dsh-plugin-market-host) exposes searchRepositories, fetchRepository, readRepositoryManifest, toHit, toDetail, resolvePinSpec, install, uninstall, installedBundleNames, profileDir, and auditLogPath, plus the MarketGateway Service.
The Web panel is limited to the web platform (localhost), the same surface the harness webServer serves. The Electron desktop (file:// + IPC bridge) is out of scope until a fetch bridge is wired.
dsh.market metadata contract (for plugin authors)
A plugin repository participates by tagging dsh-plugin and declaring, in its package.json:
{
"name": "dsh-plugin-foo",
"version": "1.2.0",
"description": "short description", // fallback presentation
"keywords": ["dev", "git"], // fallback categories
"dsh": {
"bundle": { "patch": "./cordis.patch.yml" }, // REQUIRED to be installable
"market": { // OPTIONAL rich metadata
"displayName": "Foo",
"icon": "https://…",
"categories": ["productivity"],
"screenshots": ["https://…"]
}
}
}
bundle.patch is the hard gate. market falls back to the top-level name/description/keywords plus GitHub repository fields (stars, updated_at, license) when absent.
Security model
Installing a community plugin downloads and runs arbitrary code with the current user's privileges. This tool therefore:
- shows
owner,stars,updated_at, andlicensebefore install, with an explicit third-party-code warning; - pins to a commit (
github:owner/repo#<sha>), never a floating branch, so a later force-push cannot move what was installed; - appends an audit record to
$DSH_HOME/plugin-install.log; - requires confirmation (interactive,
--yesto skip).
Signature verification and an allowlist are not yet implemented — dsh.bundle has no signing mechanism today — and are tracked as future work.
Development
Requires Node ^22.19 || >=24, pnpm, and the pre-release harness packages (@deepseek-ai/dsh-app-boot@0.1.0-rc.6, @deepseek-ai/dsh-home-paths@0.1.0-rc.6).
pnpm install
pnpm build # builds the engine and CLI packages
pnpm test
License
MIT
原始 README: https://github.com/6kongbai/dsh-plugin-market/blob/main/README.md ↗
同类插件
查看全部 →
awesome-dsh-plugins
前部索引仓库(Radar):自动扫描发现的所有 dsh 插件候选;经测试合格的将移入后序精选目录仓库

DSH-Plugins-Marketplace
DSH插件市场 / DSH Plugin Marketplace: 在 DeepSeek Harness Web GUI 中一键浏览、安装与更新 GitHub topic:dsh-plugin 的全部插件 | browse, install & update all GitHub dsh-plugin plugins in the DSH Web GUI

zat-dsh-engine
DeepSeek Harness视觉插件市场——浏览、搜索和安装社区插件

dsh-market
装在 DSH 里的插件市场:设置页内逛/搜全部社区插件,按分类筛选,确认后一键安装,已装插件一目了然。

dsh-plugin-marketplace
DeepSeek Harness认证插件市场及自主注册库

deepseek-plugin-store
DeepSeek Harness 独立社区插件商店:发现、安装并提交经过验证的插件、工具与扩展。 | Independent community plugin directory.