@united-workforce/eval 0.1.2 → 0.1.5
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 +3 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands/list.js +1 -1
- package/package.json +2 -2
- package/src/cli.ts +4 -1
- package/src/commands/list.ts +1 -1
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(
|
|
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;
|
|
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/dist/commands/list.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createEvalStore } from "../storage/index.js";
|
|
|
3
3
|
import { formatList, selectEntries } from "./format.js";
|
|
4
4
|
import { readEvalEntries } from "./read.js";
|
|
5
5
|
const log = createLogger({ sink: { kind: "stderr" } });
|
|
6
|
-
const LOG_LIST = "
|
|
6
|
+
const LOG_LIST = "H5KX9R2B";
|
|
7
7
|
export function registerListCommand(program) {
|
|
8
8
|
program
|
|
9
9
|
.command("list")
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@united-workforce/eval",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
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.
|
|
26
|
+
"@united-workforce/util": "^0.1.4"
|
|
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(
|
|
18
|
+
.version(pkg.default.version, "-V, --version");
|
|
16
19
|
|
|
17
20
|
registerRunCommand(program);
|
|
18
21
|
registerReportCommand(program);
|
package/src/commands/list.ts
CHANGED
|
@@ -6,7 +6,7 @@ import { formatList, selectEntries } from "./format.js";
|
|
|
6
6
|
import { readEvalEntries } from "./read.js";
|
|
7
7
|
|
|
8
8
|
const log = createLogger({ sink: { kind: "stderr" } });
|
|
9
|
-
const LOG_LIST = "
|
|
9
|
+
const LOG_LIST = "H5KX9R2B";
|
|
10
10
|
|
|
11
11
|
type ListCliOptions = {
|
|
12
12
|
task: string | undefined;
|