dsh-tool-error-hints
给失败的工具结果追加可执行提示(如路径不存在时给出最近的已存在目录)。
Appends actionable hints to failed tool results, such as the nearest existing directory when a path does not exist.
怎么安装
dsh plugin add github:ikta2010/dsh-tool-error-hints 简介
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…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 0
- 月下载
- –
- 最近更新
- 2026-09-18
- 创建于
- 2026-09-18
基础安全检查
- 检查结果
- curated 收录但无 npm 包/安装命令
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- dsh-plugin