Dsh Plugin Conflict Guard
a1141171521/dsh-plugin-conflict-guard · skills
DSH plugins (Cordis dynamic plugins) can provide services, register tools, inject slots, register commands/skills/settings namespaces, and more.
★ 3GitHub stars
0Forks
2026-08-22Last updated
JavaScriptLanguage
MITLicense
Key features
- Pre-install gateintercepts cordis_define / cordis_run in the tools/pre-execute waterfall, before any plugin is created or activated.
- Claim extractionstatically analyzes plugin source for declared capabilities (services, tools, slots, settings, commands, skills, locales, themes).
- Two-layer comparisona recorded registry (fed by cordis/dynamic-package / cordis/dynamic-retract) plus live runtime snapshots (tools.schemas(), commands.list(), settings.describe(), skills.list()).
- User decideson conflict, asks via userQuestions.ask() (plain question UI, independent of the approval service), listing each conflict and its owner
- "cancel" denies the install, "continue" allows it.
Requirements
- Static analysis is best-effort regex-based
- dynamic registration is not covered and false positives are possible — the final decision always belongs to the user.
Install command
dsh plugin --profile web add github:a1141171521/dsh-plugin-conflict-guard