fix: read eval CLI version from package.json
CI / check (pull_request) Successful in 3m30s

Fixes #95

小橘 🍊(NEKO Team)
This commit is contained in:
2026-06-05 06:43:27 +00:00
parent 427568a21d
commit 1cf8f350d0
+4 -1
View File
@@ -7,12 +7,15 @@ import {
registerRunCommand, registerRunCommand,
} from "./commands/index.js"; } from "./commands/index.js";
// eslint-disable-next-line -- dynamic import for version
const pkg = await import("../package.json", { with: { type: "json" } });
const program = new Command(); const program = new Command();
program program
.name("uwf-eval") .name("uwf-eval")
.description("Evaluate uwf workflow quality with real agents") .description("Evaluate uwf workflow quality with real agents")
.version("0.1.0"); .version(pkg.default.version, "-V, --version");
registerRunCommand(program); registerRunCommand(program);
registerReportCommand(program); registerReportCommand(program);