mozhi66/dsh-plugin-categories ↗★ 1
@dsh-external/dsh-plugin-categories
提供已安装插件的分类与批量开关管理 适合安装了大量插件、需要按类别(如皮肤、工具)进行整理与启用的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mozhi66/dsh-plugin-categories说明文档
阅读完整 README ↗配置(Config schema)
| 字段 | 默认 | 说明 |
|---|---|---|
dataDir | 自动探测 | assignments.json 所在目录 |
skinDetection | true | 关掉后关键词识别停用;但 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