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. 优化文件检索效率并节省 Token。适合在大型项目(含大量依赖或构建产物)中工作,需要避免 Agent 误入无关目录检索的用户。

パッケージ
@huanlin/dsh-plugin-better-glob
互換性
未検証
Harness ピア範囲
^0.1.7-rc.1
Cordis ピア範囲
^4.0.1
バージョン
0.1.4
ライセンス
MIT
最終更新
2026/09/24

インストール

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:HuanLinOTO/dsh-plugin-better-glob

ドキュメント

README 全文を読む ↗

配置

字段默认说明
excludeDirs上表排除目录名(裸名,不允许分隔符),整体替换默认清单
sampleOverCapGlobResultsfalse超帽页是否按顶层条目抽样(同内置开关)
globMaxResults100单次内联保留路径数,超出部分 spill
globMetaMaxBytes65536卡片 meta 字节预算
rawOutputMaxBytes20000000单次解析的 rg stdout 上限
graceMs / stderrMaxBytes / timeoutMs3000 / 65536 / 30000同内置语义