@vlln/plugin-console

@vlln · packages/plugin/console · 插件市场
检测有风险提示无安装脚本来源一致

DSH Web 设置页的插件管理面板:零补丁安装/启用/卸载第三方插件,并配套 Agent 侧管理工具。

v0.1.0版本
npm 预构建包安装方式
2026-08-19最近更新
57 · 74Star · 周下载
dsh plugin --profile web add @vlln/plugin-console查看仓库

插件介绍

根据仓库资料整理 · commit b0ae1ea

主要功能

  • 在 DSH Web 设置页新增“插件管理”面板,含“安装插件”与“已加载插件”两个区域。
  • 输入 npm 包名或 GitHub 项目地址即可安装,自动判断 bundle / 非 bundle 类型并分别写入对应 profile 配置。
  • 非 bundle 插件以插入行方式写入 cordis.patch.yml,借助配置热更新(HMR)无需重启即可生效。
  • bundle 插件的安装/更新/卸载需要重启 Web,但已加载 bundle 的启用/禁用会立即生效并持久化。
  • 提供 4 个 Agent 端工具(plugin_search、plugin_install、plugin_uninstall、plugin_status),与面板共享同一份插件安装状态。
  • 插件发现层将索引源列表、TOFU 解析结果与各源枚举快照缓存于 $DSH_HOME/plugin-sources/ 目录。

适合什么时候用

  • 希望在 DSH Web 界面里直接搜索、安装、启用/禁用第三方插件,而不必手动编辑配置文件。
  • 希望让 Agent 具备自主搜索与安装插件的能力,通过 plugin_search/plugin_install 等工具完成。
  • 需要清楚区分 bundle 插件与普通 cordis 插件的安装方式及各自何时生效(重启 vs 热更新)。

安装后会多出什么

界面设置页「插件管理」面板(安装插件 + 已加载插件两个区域)
Agent 工具plugin_searchplugin_installplugin_uninstallplugin_status

使用前需要

  • 需要在支持 profile 的 DSH Web 环境中运行(读写 profile 的 package.json 与 cordis.patch.yml)。
  • peerDependency:@deepseek-ai/dsh-tools。
  • 依赖 0811 版本引入的 profile 配置热更新(config HMR)机制以实现插入插件的免重启生效。

在 GitHub 阅读完整 README

权限与能力

安装后它能碰到什么
不覆盖任何 dsh-base 宿主行:不接管沙箱、审批、凭据等能力。
宿主能力
Agent 控制浏览器 UI环境变量文件系统外部网络宿主子进程
能力是范围不是结论:很多能力是功能所需。

基本信息

仓库vlln/plugin-registry/packages/plugin/consolenpm@vlln/plugin-console@0.1.0安装方式npm 预构建包收录日期2026-08-14固定 commitb0ae1ea03a6c · 2026-08-19
dsh plugin --profile web add @vlln/plugin-console