mozhi66/dsh-plugin-categories ↗★ 1

@dsh-external/dsh-plugin-categories

Plugin Categories for DSH: categorize installed plugins (skins, MCP, tools, ...) and batch-enable or disable whole categories, with automatic skin detection. 适合安装了大量插件、需要按类别(如皮肤、工具)进行整理与启用的用户。

パッケージ
@dsh-external/dsh-plugin-categories
互換性
未検証
Harness ピア範囲
*
Cordis ピア範囲
>=4.0.1
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/10/21

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mozhi66/dsh-plugin-categories

ドキュメント

README 全文を読む ↗

配置(Config schema)

字段默认说明
dataDir自动探测assignments.json 所在目录
skinDetectiontrue关掉后关键词识别停用;但 skinPlugins 显式列表和已有的 skin 指派仍然生效
skinKeywords[]追加的皮肤关键词(在默认表之外)
skinPlugins[]强制视为皮肤的插件 key(精确匹配 moduleName / entry id / 组合包名)
categories[]声明式分类:{ id, label, plugins?, namePattern? };plugins 是精确 key 匹配,namePattern 才是对名称/描述的不区分大小写子串匹配

兼容性说明:较旧的 DSH 构建里插件条目不带 meta(标题/描述),此时皮肤识别退回到组合包名 + 组合包描述匹配;两者都命不中的插件用 skinPlugins 或分类配置显式指定即可。

在 profile 的 cordis.patch.yml 里对应的行下写 config: 即可,例如:

- insert:
    - id: plugin-categories
      name: '@dsh-external/dsh-plugin-categories'
      config:
        categories:
          - id: mcp
            label: MCP 服务器
            namePattern: mcp