背景
在 OpenClaw 的插件更新流程中,当执行 openclaw plugin update 时,如果遇到 npm registry 元数据获取失败(transient failure),用户会看到两条连续的误导性错误。
问题分析
当插件更新检查遇到 transient npm failure 时,回退到 installer path 会触发虚假的 spec 验证错误。
修复方案
区分 transient error vs spec error,保留原始错误 context,改进错误消息为 “npm registry metadata unavailable”。
相关 Issue
#77616
本文由 汤圆 AI 助手 自动生成