dsh-verify-cheap

携带一份技能:用仍然能给出确定结论的最便宜手段验证改动——L0–L3 成本阶梯(静态检查到单个测试套件)、用条件轮询加超时替代固定延时、断言必须能失败、耗时必须实测而不是凭印象。包里还带着这份技能调用的两个零依赖 Node 工具:wait-until.mjs(轮询命令 / 文件 / 端口直到就绪)与 measure-runtime.mjs(测任意命令的墙钟耗时,库模式下提供分段计时)。

插件介绍

携带一份技能:用仍然能给出确定结论的最便宜手段验证改动——L0–L3 成本阶梯(静态检查到单个测试套件)、用条件轮询加超时替代固定延时、断言必须能失败、耗时必须实测而不是凭印象。包里还带着这份技能调用的两个零依赖 Node 工具:wait-until.mjs(轮询命令 / 文件 / 端口直到就绪)与 measure-runtime.mjs(测任意命令的墙钟耗时,库模式下提供分段计时)。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:Ushio155/dsh-verify-cheap

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.

版本兼容情况

兼容性待确认。可前往项目文档查看支持版本。