lvy-jsd/dsh-tool-manager--packages-dsh-tool-manager-classifier-rules ↗★ 0
dsh-tool-manager-classifier-rules
Rule-based classifier for dsh-tool-manager: built-in placement rules for common DSH tools plus user overrides from config. 适合需要通过正则或自定义规则精确控制工具分类的用户。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:lvy-jsd/dsh-tool-manager#7b37565ac428824a61f82534240b14374f0f5378&path:packages/dsh-tool-manager-classifier-rulesREADME
Read the full README ↗Configuration
- id: tool-manager-classifier-rules
name: dsh-tool-manager-classifier-rules
config:
defaults: true # set false to use only your own rules
groupRules: # regex over tool names -> group, first match wins
- { match: '^lingshu_', group: lingshu }
categories: # place groups; add categories with a description
system: { groups: [lingshu] }
games: { description: Game servers and bots, groups: [minecraft] }
The rule tables (DEFAULT_GROUP_RULES, DEFAULT_GROUP_CATEGORIES) and the
rulesClassifier() helper are exported, so a fork or another plugin can reuse
them with different data.