dsh-tool-error-hints
Appends actionable hints to failed tool results, such as the nearest existing directory when a path does not exist.
给失败的工具结果追加可执行提示(如路径不存在时给出最近的已存在目录)。
How to install
dsh plugin add github:ikta2010/dsh-tool-error-hints About
dsh-tool-error-hints 给**失败的工具结果**追加一条可执行的提示,治"弱模型瞎猜路径"。 为什么需要(有真实数据) 2026-09-13 对真实会话 session-7b9b38a1(本地 27B 跑长任务)的 796 条 tool/result 取证: **失败 92 条(12%)** 最高频形态:ls: cannot access '<path>': No such file or directory [exit code: 2] 问题不在报错文案,而在**报错只说"不存在"、不说"哪儿存在"**: 本地模型反复瞎猜绝对路径(/nas/dsh/docker/dsh、/home/ikta/bin/wake-v100.sh), 而压缩之后它会**退回已经纠正过的错误写法**——同一个错路径能再错 4 次。 它做什么 挂在 tools/post-execute(waterfall),在失败结果之后注入一条 source.kind='plugin' 的提示: | 识别到的失败 | 注入的提示 | |---|---| | 路径不存在 | **最近的已存在祖先目录**及其内容(模型据此即可改对)+ 工作区根提示 | | 命令不存在 | 说明容器内没有该可执行文件,建议先 command -v 探测 | | 权限不足 | 说明以非 root 运行,sudo/apt-ge…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-09-18
- Created
- 2026-09-18
Links
Basic safety check
- Findings
- curated 收录但无 npm 包/安装命令
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- dsh-plugin
Related plugins
openclaw
openclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
mobile-mcp
mobile-next/mobile-mcp
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)