HuanLinOTO/dsh-plugin-better-glob ↗★ 1
@huanlin/dsh-plugin-better-glob
Shadow-replaces the built-in glob tool: auto-excludes bottomless directories (node_modules, dist, build, .venv, ...) and requires an explicit include whitelist to search inside them.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HuanLinOTO/dsh-plugin-better-glob说明文档
阅读完整 README ↗配置
| 字段 | 默认 | 说明 |
|---|---|---|
excludeDirs | 上表 | 排除目录名(裸名,不允许分隔符),整体替换默认清单 |
sampleOverCapGlobResults | false | 超帽页是否按顶层条目抽样(同内置开关) |
globMaxResults | 100 | 单次内联保留路径数,超出部分 spill |
globMetaMaxBytes | 65536 | 卡片 meta 字节预算 |
rawOutputMaxBytes | 20000000 | 单次解析的 rg stdout 上限 |
graceMs / stderrMaxBytes / timeoutMs | 3000 / 65536 / 30000 | 同内置语义 |