dsh-search-path-guard

DSH 搜索路径守卫插件:grep/glob 搜索路径不存在时,在 ripgrep 启动前拦截并返回一行式自愈建议(先 glob 父目录再重试),避免本地化乱码 stderr 进入模型上下文。/ Search-path guard for DeepSeek Harness: denies grep/glob calls whose search root does not exist before ripgrep spawns, returning a one-line self-healing message instead of a mojibake-prone stderr.

Other UsesMIT☆ 0

Overview

DSH 搜索路径守卫插件:grep/glob 搜索路径不存在时,在 ripgrep 启动前拦截并返回一行式自愈建议(先 glob 父目录再重试),避免本地化乱码 stderr 进入模型上下文。/ Search-path guard for DeepSeek Harness: denies grep/glob calls whose search root does not exist before ripgrep spawns, returning a one-line self-healing message instead of a mojibake-prone stderr.

Installation

Install from GitHub

dsh plugin --profile web add github:chocobo77/dsh-search-path-guard

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands