RogueServitor-495/dsh-plugin-manager0

dsh-plugin-manager

Plugin manager for dsh: manage installed plugins (enable/disable/remove) and import new plugins via git URL, npm package, tarball URL, or local path

AI 분석

核心用途是为 DSH 提供可视化的插件生命周期管理(启用、禁用、卸载、导入)。适合需要便捷管理多源插件的用户。在局域网开放时,强烈建议配置 token 以防范未授权的 API 调用风险。

패키지
dsh-plugin-manager
버전
0.1.0
최근 업데이트
2026. 8. 18.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

配置(补丁行 config)

- insert:
    - id: dsh-plugin-manager
      name: 'dsh-plugin-manager'
      config:
        profile: web        # profile 名(默认 web)
        dshHome: null       # 覆盖 DSH home(默认 $DSH_HOME 或 ~/.dsh)
        profileDir: null    # 直接指定 profile 目录(覆盖上面两项)
        pnpmBin: null       # pnpm 二进制路径(默认自动发现)
        gitBin: null        # git 二进制路径(默认自动发现)
        token: null         # 设置后所有 API 需 x-plugin-manager-token 头
        fab: true           # 是否显示右下角浮动按钮(false 仅保留设置页入口)

⚠️ 安全:dsh web 若绑定 0.0.0.0(局域网开放),同网段设备可调用这些 API (可执行 pnpm / 写补丁)。强烈建议设置 token,面板会提示输入并保存在 localStorage。