agentv 4.25.2-next.1 → 4.25.3-next.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/dist/{artifact-writer-RQXZ2LRL.js → artifact-writer-ARFT3NKG.js} +4 -4
- package/dist/{chunk-PKHXZYEN.js → chunk-7QHCH76N.js} +2 -2
- package/dist/{chunk-F3VB3LBW.js → chunk-FFDOEJ4U.js} +8 -6
- package/dist/chunk-FFDOEJ4U.js.map +1 -0
- package/dist/{chunk-67WQGAPE.js → chunk-GKARL6LO.js} +3 -3
- package/dist/{chunk-YNASYH73.js → chunk-TCW46QGJ.js} +6 -6
- package/dist/{chunk-TBJI6GIE.js → chunk-YKILE6GM.js} +26 -11
- package/dist/chunk-YKILE6GM.js.map +1 -0
- package/dist/cli.js +5 -5
- package/dist/{dist-ZYHQ37J6.js → dist-NRGR7DDX.js} +3 -3
- package/dist/index.js +5 -5
- package/dist/{interactive-5YGZAGG3.js → interactive-GZ22O32V.js} +5 -5
- package/dist/{ts-eval-loader-5JMF2N65-V53D7C3V.js → ts-eval-loader-E6MROJGR-DBF6BDCY.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-F3VB3LBW.js.map +0 -1
- package/dist/chunk-TBJI6GIE.js.map +0 -1
- /package/dist/{artifact-writer-RQXZ2LRL.js.map → artifact-writer-ARFT3NKG.js.map} +0 -0
- /package/dist/{chunk-PKHXZYEN.js.map → chunk-7QHCH76N.js.map} +0 -0
- /package/dist/{chunk-67WQGAPE.js.map → chunk-GKARL6LO.js.map} +0 -0
- /package/dist/{chunk-YNASYH73.js.map → chunk-TCW46QGJ.js.map} +0 -0
- /package/dist/{dist-ZYHQ37J6.js.map → dist-NRGR7DDX.js.map} +0 -0
- /package/dist/{interactive-5YGZAGG3.js.map → interactive-GZ22O32V.js.map} +0 -0
- /package/dist/{ts-eval-loader-5JMF2N65-V53D7C3V.js.map → ts-eval-loader-E6MROJGR-DBF6BDCY.js.map} +0 -0
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
writeArtifacts,
|
|
14
14
|
writeArtifactsFromResults,
|
|
15
15
|
writePerTestArtifacts
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-GKARL6LO.js";
|
|
17
|
+
import "./chunk-7QHCH76N.js";
|
|
18
18
|
import "./chunk-QOBQ5XYF.js";
|
|
19
19
|
import "./chunk-BPGJ4HBU.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-FFDOEJ4U.js";
|
|
21
21
|
import "./chunk-NPVGBFF6.js";
|
|
22
22
|
import "./chunk-55QZVA5X.js";
|
|
23
23
|
import "./chunk-5H446C7X.js";
|
|
@@ -36,4 +36,4 @@ export {
|
|
|
36
36
|
writeArtifactsFromResults,
|
|
37
37
|
writePerTestArtifacts
|
|
38
38
|
};
|
|
39
|
-
//# sourceMappingURL=artifact-writer-
|
|
39
|
+
//# sourceMappingURL=artifact-writer-ARFT3NKG.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
parseYamlValue,
|
|
13
13
|
toCamelCaseDeep,
|
|
14
14
|
toSnakeCaseDeep
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FFDOEJ4U.js";
|
|
16
16
|
|
|
17
17
|
// ../../packages/core/dist/index.js
|
|
18
18
|
import { readFileSync } from "node:fs";
|
|
@@ -2304,4 +2304,4 @@ export {
|
|
|
2304
2304
|
TranscriptProvider,
|
|
2305
2305
|
createAgentKernel
|
|
2306
2306
|
};
|
|
2307
|
-
//# sourceMappingURL=chunk-
|
|
2307
|
+
//# sourceMappingURL=chunk-7QHCH76N.js.map
|
|
@@ -5980,7 +5980,7 @@ async function expandFileReferences(tests, evalFileDir) {
|
|
|
5980
5980
|
return expanded;
|
|
5981
5981
|
}
|
|
5982
5982
|
|
|
5983
|
-
// ../../packages/core/dist/chunk-
|
|
5983
|
+
// ../../packages/core/dist/chunk-EVEZQXIS.js
|
|
5984
5984
|
import path46 from "node:path";
|
|
5985
5985
|
import { pathToFileURL as pathToFileURL2 } from "node:url";
|
|
5986
5986
|
import { existsSync as existsSync6 } from "node:fs";
|
|
@@ -18647,7 +18647,7 @@ var RequestError = class _RequestError extends Error {
|
|
|
18647
18647
|
}
|
|
18648
18648
|
};
|
|
18649
18649
|
|
|
18650
|
-
// ../../packages/core/dist/chunk-
|
|
18650
|
+
// ../../packages/core/dist/chunk-EVEZQXIS.js
|
|
18651
18651
|
import { exec as execCallback } from "node:child_process";
|
|
18652
18652
|
import { readdirSync, statSync } from "node:fs";
|
|
18653
18653
|
import { readFile as readFile22, readdir as readdir2, stat as stat2 } from "node:fs/promises";
|
|
@@ -19446,7 +19446,6 @@ var CodeGrader = class {
|
|
|
19446
19446
|
const rawParsed = parseJsonSafe(stdout);
|
|
19447
19447
|
const parsed = rawParsed != null && typeof rawParsed === "object" && !Array.isArray(rawParsed) ? rawParsed : void 0;
|
|
19448
19448
|
const passed = exitCode === 0;
|
|
19449
|
-
const score = parsed != null ? clampScore(typeof parsed.score === "number" ? parsed.score : 0) : passed ? 1 : 0;
|
|
19450
19449
|
const assertions = parsed != null && Array.isArray(parsed?.assertions) ? parsed.assertions.filter(
|
|
19451
19450
|
(a) => typeof a === "object" && a !== null && typeof a.text === "string"
|
|
19452
19451
|
).map((a) => ({
|
|
@@ -19454,6 +19453,9 @@ var CodeGrader = class {
|
|
|
19454
19453
|
passed: Boolean(a.passed),
|
|
19455
19454
|
...typeof a.evidence === "string" ? { evidence: a.evidence } : {}
|
|
19456
19455
|
})) : parsed == null ? [{ text: stdout.trim() || (passed ? "exit 0" : `exit ${exitCode}`), passed }] : [];
|
|
19456
|
+
const score = parsed != null ? clampScore(
|
|
19457
|
+
typeof parsed.score === "number" ? parsed.score : assertions.length > 0 ? assertions.filter((a) => a.passed).length / assertions.length : 0
|
|
19458
|
+
) : passed ? 1 : 0;
|
|
19457
19459
|
const details = parsed?.details && typeof parsed.details === "object" && !Array.isArray(parsed.details) ? parsed.details : void 0;
|
|
19458
19460
|
const proxyUsage = getProxyUsage?.();
|
|
19459
19461
|
const graderRawRequest = {
|
|
@@ -34018,7 +34020,7 @@ async function loadTestSuite(evalFilePath, repoRoot, options) {
|
|
|
34018
34020
|
return { tests: await loadTestsFromAgentSkills(evalFilePath) };
|
|
34019
34021
|
}
|
|
34020
34022
|
if (format === "typescript") {
|
|
34021
|
-
const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-
|
|
34023
|
+
const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-E6MROJGR-DBF6BDCY.js");
|
|
34022
34024
|
return loadTsEvalSuite2(evalFilePath, resolveToAbsolutePath(repoRoot), options);
|
|
34023
34025
|
}
|
|
34024
34026
|
const { tests, parsed, suiteWorkspacePath } = await loadTestsFromYaml(
|
|
@@ -34053,7 +34055,7 @@ async function loadTests(evalFilePath, repoRoot, options) {
|
|
|
34053
34055
|
return loadTestsFromAgentSkills(evalFilePath);
|
|
34054
34056
|
}
|
|
34055
34057
|
if (format === "typescript") {
|
|
34056
|
-
const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-
|
|
34058
|
+
const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-E6MROJGR-DBF6BDCY.js");
|
|
34057
34059
|
const suite = await loadTsEvalSuite2(evalFilePath, resolveToAbsolutePath(repoRoot), options);
|
|
34058
34060
|
return suite.tests;
|
|
34059
34061
|
}
|
|
@@ -37947,4 +37949,4 @@ export {
|
|
|
37947
37949
|
loadTsEvalFile,
|
|
37948
37950
|
loadTsEvalSuite
|
|
37949
37951
|
};
|
|
37950
|
-
//# sourceMappingURL=chunk-
|
|
37952
|
+
//# sourceMappingURL=chunk-FFDOEJ4U.js.map
|