Repository navigation
减少模型漏传 host 导致的无效重试
- 所有声明
host的 MCP 工具 schema 现在明确标注:host必填、必须每次显式传入具体 OpenSSH alias,不能依赖上一轮对话推断。 - 内嵌
ssh-operatorSkill 增加硬规则和正反示例:应调用ssh_exec({ host: "wsl-ubuntu", command: "pwd" }),不能只传command。 - 精确保留真实例外:
ssh_doctor仅做本地诊断时可以不传host;只接受processId或无需参数的进程、日志、恢复工具不应添加虚构的host。 - DSH 仍会如实上报 MCP schema 校验错误,本版本不修改 DSH 的校验或自动重试行为。
内置运行时同步到 ssh-operator-mcp v0.18.2。73 个核心测试、4 个 Bundle/Skill/locale 测试、30 工具 MCP 握手以及 Windows/Ubuntu CI 均通过。公开 tgz 已确认同时包含补强后的 Skill 和运行时 schema。
安装
下载 dsh-ssh-operator-0.2.2.tgz 和 SHA256SUMS.txt,校验后执行:
dsh plugin --profile web add "C:\Downloads\dsh-ssh-operator-0.2.2.tgz"权威 SHA-256:
99bab1eabdbbd7a9510ef2f67d944e9f9b581d219e683d2bb7f493cead6b3f44
安装或本地链接更新后请完全退出并重新启动 DSH,并使用新会话测试;已有会话可能保留旧的 Skill/工具 schema 快照。
What's Changed
- fix: require explicit host tool inputs (#4)
Full Changelog: v0.2.1...v0.2.2