agentv 3.13.0 → 3.13.1
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/README.md +5 -5
- package/dist/{chunk-7OHZAFND.js → chunk-K747KGDP.js} +47 -34
- package/dist/chunk-K747KGDP.js.map +1 -0
- package/dist/{chunk-6H4IAXQH.js → chunk-LSXO22CF.js} +8 -6
- package/dist/chunk-LSXO22CF.js.map +1 -0
- package/dist/{chunk-DJU4C6NS.js → chunk-UK7UMQOX.js} +20 -17
- package/dist/chunk-UK7UMQOX.js.map +1 -0
- package/dist/cli.js +3 -3
- package/dist/{dist-SMKOBBFB.js → dist-LCZDS36N.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/{interactive-RV664PCR.js → interactive-76ZJVPI7.js} +3 -3
- package/dist/templates/.agentv/.env.example +23 -0
- package/dist/templates/.agentv/config.yaml +13 -4
- package/dist/templates/.agentv/targets.yaml +16 -0
- package/package.json +1 -1
- package/dist/chunk-6H4IAXQH.js.map +0 -1
- package/dist/chunk-7OHZAFND.js.map +0 -1
- package/dist/chunk-DJU4C6NS.js.map +0 -1
- /package/dist/{dist-SMKOBBFB.js.map → dist-LCZDS36N.js.map} +0 -0
- /package/dist/{interactive-RV664PCR.js.map → interactive-76ZJVPI7.js.map} +0 -0
|
@@ -27,12 +27,12 @@ import {
|
|
|
27
27
|
subscribeToCopilotCliLogEntries,
|
|
28
28
|
subscribeToCopilotSdkLogEntries,
|
|
29
29
|
subscribeToPiLogEntries
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-K747KGDP.js";
|
|
31
31
|
|
|
32
32
|
// package.json
|
|
33
33
|
var package_default = {
|
|
34
34
|
name: "agentv",
|
|
35
|
-
version: "3.13.
|
|
35
|
+
version: "3.13.1",
|
|
36
36
|
description: "CLI entry point for AgentV",
|
|
37
37
|
type: "module",
|
|
38
38
|
repository: {
|
|
@@ -302,11 +302,12 @@ function toSnakeCaseDeep(obj) {
|
|
|
302
302
|
import { existsSync, statSync } from "node:fs";
|
|
303
303
|
import path3 from "node:path";
|
|
304
304
|
var RESULT_INDEX_FILENAME = "index.jsonl";
|
|
305
|
+
var RESULT_RUNS_DIRNAME = "runs";
|
|
305
306
|
function createRunDirName(timestamp = /* @__PURE__ */ new Date()) {
|
|
306
307
|
return `eval_${timestamp.toISOString().replace(/[:.]/g, "-")}`;
|
|
307
308
|
}
|
|
308
309
|
function buildDefaultRunDir(cwd) {
|
|
309
|
-
return path3.join(cwd, ".agentv", "results",
|
|
310
|
+
return path3.join(cwd, ".agentv", "results", RESULT_RUNS_DIRNAME, createRunDirName());
|
|
310
311
|
}
|
|
311
312
|
function resolveRunIndexPath(runDir) {
|
|
312
313
|
return path3.join(runDir, RESULT_INDEX_FILENAME);
|
|
@@ -547,7 +548,7 @@ function buildBenchmarkArtifact(results, evalFile = "") {
|
|
|
547
548
|
tests_run: testIds
|
|
548
549
|
},
|
|
549
550
|
run_summary: runSummary,
|
|
550
|
-
|
|
551
|
+
per_grader_summary: perEvaluatorSummary,
|
|
551
552
|
notes
|
|
552
553
|
};
|
|
553
554
|
}
|
|
@@ -4407,7 +4408,7 @@ async function runEvalCommand(input) {
|
|
|
4407
4408
|
const useFileExport = !!options.otelFile;
|
|
4408
4409
|
if (options.exportOtel || useFileExport) {
|
|
4409
4410
|
try {
|
|
4410
|
-
const { OtelTraceExporter, OTEL_BACKEND_PRESETS } = await import("./dist-
|
|
4411
|
+
const { OtelTraceExporter, OTEL_BACKEND_PRESETS } = await import("./dist-LCZDS36N.js");
|
|
4411
4412
|
let endpoint = process.env.OTEL_EXPORTER_OTLP_ENDPOINT;
|
|
4412
4413
|
let headers = {};
|
|
4413
4414
|
if (options.otelBackend) {
|
|
@@ -4758,6 +4759,7 @@ export {
|
|
|
4758
4759
|
package_default,
|
|
4759
4760
|
toSnakeCaseDeep,
|
|
4760
4761
|
RESULT_INDEX_FILENAME,
|
|
4762
|
+
RESULT_RUNS_DIRNAME,
|
|
4761
4763
|
resolveExistingRunPrimaryPath,
|
|
4762
4764
|
resolveWorkspaceOrFilePath,
|
|
4763
4765
|
writeArtifactsFromResults,
|
|
@@ -4779,4 +4781,4 @@ export {
|
|
|
4779
4781
|
selectTarget,
|
|
4780
4782
|
runEvalCommand
|
|
4781
4783
|
};
|
|
4782
|
-
//# sourceMappingURL=chunk-
|
|
4784
|
+
//# sourceMappingURL=chunk-LSXO22CF.js.map
|