@united-workforce/eval 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cli.js CHANGED
@@ -1,11 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import { Command } from "commander";
3
3
  import { registerDiffCommand, registerListCommand, registerReportCommand, registerRunCommand, } from "./commands/index.js";
4
+ // eslint-disable-next-line -- dynamic import for version
5
+ const pkg = await import("../package.json", { with: { type: "json" } });
4
6
  const program = new Command();
5
7
  program
6
8
  .name("uwf-eval")
7
9
  .description("Evaluate uwf workflow quality with real agents")
8
- .version("0.1.0");
10
+ .version(pkg.default.version, "-V, --version");
9
11
  registerRunCommand(program);
10
12
  registerReportCommand(program);
11
13
  registerDiffCommand(program);
package/dist/cli.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAE7B,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE,CAAC;AAE9B,OAAO;KACJ,IAAI,CAAC,UAAU,CAAC;KAChB,WAAW,CAAC,gDAAgD,CAAC;KAC7D,OAAO,CAAC,OAAO,CAAC,CAAC;AAEpB,kBAAkB,CAAC,OAAO,CAAC,CAAC;AAC5B,qBAAqB,CAAC,OAAO,CAAC,CAAC;AAC/B,mBAAmB,CAAC,OAAO,CAAC,CAAC;AAC7B,mBAAmB,CAAC,OAAO,CAAC,CAAC;AAE7B,OAAO,CAAC,KAAK,EAAE,CAAC"}
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAE7B,yDAAyD;AACzD,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,iBAAiB,EAAE,EAAE,IAAI,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC,CAAC;AAExE,MAAM,OAAO,GAAG,IAAI,OAAO,EAAE,CAAC;AAE9B,OAAO;KACJ,IAAI,CAAC,UAAU,CAAC;KAChB,WAAW,CAAC,gDAAgD,CAAC;KAC7D,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,eAAe,CAAC,CAAC;AAEjD,kBAAkB,CAAC,OAAO,CAAC,CAAC;AAC5B,qBAAqB,CAAC,OAAO,CAAC,CAAC;AAC/B,mBAAmB,CAAC,OAAO,CAAC,CAAC;AAC7B,mBAAmB,CAAC,OAAO,CAAC,CAAC;AAE7B,OAAO,CAAC,KAAK,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@united-workforce/eval",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "private": false,
5
5
  "files": [
6
6
  "src",
@@ -23,7 +23,7 @@
23
23
  "commander": "^14.0.3",
24
24
  "yaml": "^2.9.0",
25
25
  "@united-workforce/protocol": "^0.1.0",
26
- "@united-workforce/util": "^0.1.0"
26
+ "@united-workforce/util": "^0.1.1"
27
27
  },
28
28
  "devDependencies": {
29
29
  "typescript": "^5.8.3"
package/src/cli.ts CHANGED
@@ -7,12 +7,15 @@ import {
7
7
  registerRunCommand,
8
8
  } from "./commands/index.js";
9
9
 
10
+ // eslint-disable-next-line -- dynamic import for version
11
+ const pkg = await import("../package.json", { with: { type: "json" } });
12
+
10
13
  const program = new Command();
11
14
 
12
15
  program
13
16
  .name("uwf-eval")
14
17
  .description("Evaluate uwf workflow quality with real agents")
15
- .version("0.1.0");
18
+ .version(pkg.default.version, "-V, --version");
16
19
 
17
20
  registerRunCommand(program);
18
21
  registerReportCommand(program);