dsh-plugin-hotplug
界面增强 活跃维护

dsh-plugin-hotplug

zhangnan/dsh-plugin-hotplug

支持运行时插件的热插拔加载卸载、库存实时统计与状态监控,无需重启服务即可动态调整插件配置,轻量易集成,简化运行时插件的运维流程。

1
Stars 标星
0
Forks 分支
1
Watchers 关注
0
Open Issues
JavaScript
主要语言
MIT
开源协议
17 KB
仓库大小
1 个月前
最后推送
一键安装扩展 / 插件指令
dsh plugin --profile web add github:zhangnan/dsh-plugin-hotplug
git clone https://github.com/zhangnan/dsh-plugin-hotplug.git
git clone git@github.com:zhangnan/dsh-plugin-hotplug.git
README.md main

dsh-plugin-hotplug

English | 简体中文

A hot-plug manager and replacement plugin inventory UI for DeepSeek Harness (DSH).

It replaces the official read-only plugin list in the settings page with a source-aware inventory and safe runtime controls.

Features

  • Groups plugins by the current profile, third-party Profile Bundles, the home-level global layer, and DSH built-ins.
  • Enables or disables current-profile plugins and third-party bundles immediately.
  • Persists toggle state in the current profile's cordis.patch.yml.
  • Uses the Cordis Loader lifecycle for reversible hot unload and restore.
  • Shows configured state and runtime fiber phase separately.
  • Protects the Web transport, UI shell, global plugins, and the manager itself from accidental removal.
  • Includes English and Chinese UI labels.

Installation

dsh plugin --profile web add -w dsh-plugin-hotplug
dsh --profile web

This package is a two-sided DSH Profile Bundle. Its bundled patch mounts both host and client components and disables the official read-only inventory tab. Restart the profile after installation or host-side updates.

The plugin targets Web profiles because its client component replaces a settings-page tab.

Source groups and controls

  • Plugins inserted by the current profile patch can be toggled.
  • Third-party Profile Bundles can be toggled.
  • Home-level global plugins are listed as read-only because the profile patch layer is applied before the home layer.
  • DSH built-in plugins are listed as read-only.
  • Core Web transport and UI entries, plus this plugin itself, are always protected.

Runtime changes use ctx.loader.update(...) so Cordis disposes or restores plugin effects through its normal lifecycle. Persistent state is written as a small managed section instead of rewriting the entire user patch.

Uninstallation

dsh plugin --profile web remove dsh-plugin-hotplug

Restart the profile after removal so the official inventory tab is restored from the Web bundle.

License

MIT