kiwifruit13/DSH-Syntax-Checker ↗★ 0
@kiwifruit/dsh-syntax-checker
Multi-language syntax checking service (JS/TS/YAML/Python): bracket matching, invisible chars, syntax errors, via Tree-sitter + Ruff
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:kiwifruit13/DSH-Syntax-Checker说明文档
阅读完整 README ↗配置项
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
timeoutMs | number | 30000 | 单次语法检查的超时预算(毫秒);单次调用可用 options.timeoutMs 覆盖 |
maxRetries | number | 2 | 后端瞬时故障的最大重试次数 |
verbose | boolean | false | 是否记录成功事件(默认只记录 fail / timeout) |
policies.timeout | boolean | true | 超时伴生策略开关 |
policies.retry | boolean | true | 重试伴生策略开关 |
policies.observation | boolean | true | 观测伴生策略开关 |
cordis.yml的config是整行替换、非深度合并——覆盖时必须写全整个对象。 关闭某项策略后,可外接同名伴生插件替换它(策略可装卸,不重复注册)。