← 返回列表
D

dsh-plugin-install

v0.1.1 · 1 天前发布

Install any dsh plugin by npm spec — right inside Settings. · 在设置页里按包名安装任意 dsh 插件(不经过插件市场)。

deepseekharnessdshdsh-pluginplugin-managerinstall

README

dsh-plugin-install

A dsh plugin that adds an "Install" tab to the Web UI's Settings page, so any dsh plugin can be installed by npm spec without leaving the app.

一个 dsh 插件:在 Web UI 的设置页中新增「安装」标签页,可按 npm spec 安装任意 dsh 插件,无需借助插件市场,也无需使用命令行。dsh web 与 DSH Desktop 均可使用。

安装

sh
dsh plugin --profile web add dsh-plugin-install

安装后打开 Web UI 的 设置 → 插件,即可看到新增的「安装」标签页。卸载可在同一页面完成,或执行:

sh
dsh plugin --profile web remove dsh-plugin-install

开发时也可以直接安装本地源码检出:dsh plugin --profile web add file:/path/to/dsh-plugin-install。包内的 prepare 脚本会自动构建出 lib/

工作原理

插件由服务端与客户端两部分组成。服务端在 Web 服务器上注册 /dsh-plugin-install/* 路由:安装与卸载分别调用 dsh plugin add / remove,与命令行完全同一条路径,dsh.profile.bundles 的同步由 CLI 负责。客户端向设置页贡献「安装」标签页,提供 spec 输入、安装进度、已安装列表与卸载操作。

对于 patch 仅包含普通 insert 行的简单插件,安装后会

查看完整 README →

版本兼容矩阵

DSH 版本状态说明
dsh@0.1.0-rc.6 ✅ 兼容 cordis patch ✅
dsh@0.1.0 ✅ 兼容 标准 patch ✅
dsh@0.2.0 ⚠️ 待验证 待实测(API 可能在变)
dsh@0.3.0+ ❓ 未知 尚未发布

💡 兼容矩阵每周末自动跑实测,欢迎 PR 修正

元数据

License
MIT
npm
dsh-plugin-install
Repo
git+https://github.com/qinyre/dsh-plugin-install.git
Engines
{}
Weekly DL
0
Monthly DL
0
dsh.bundle
{"bundle":{"patch":"./cordis.patch.yml"},"client":{"inject":["@deepseek-ai/dsh-client-locale","@deepseek-ai/dsh-client-ui-slots"],"platform":"web"}}