agentv 4.31.0-next.1 → 4.31.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-K4B2S7OE.js → artifact-writer-FZ5RUHWC.js} +4 -4
- package/dist/{chunk-2Z2V7RJO.js → chunk-377GONL7.js} +29 -11
- package/dist/chunk-377GONL7.js.map +1 -0
- package/dist/{chunk-NACNTFNH.js → chunk-45EYE5HJ.js} +99 -38
- package/dist/{chunk-NACNTFNH.js.map → chunk-45EYE5HJ.js.map} +1 -1
- package/dist/{chunk-BMSSZSND.js → chunk-IJPWTVDU.js} +3 -3
- package/dist/{chunk-FLSABQ33.js → chunk-LOYPSIE7.js} +268 -42
- package/dist/chunk-LOYPSIE7.js.map +1 -0
- package/dist/{chunk-BCZHBAUK.js → chunk-ZFTDIK4V.js} +123 -35
- package/dist/chunk-ZFTDIK4V.js.map +1 -0
- package/dist/cli.js +5 -5
- package/dist/{dist-2E6ZNN32.js → dist-CRYAFKLS.js} +9 -5
- package/dist/index.js +5 -5
- package/dist/{interactive-22PLS22Z.js → interactive-WZW2FF43.js} +5 -5
- package/dist/studio/assets/index-9UixPaIJ.js +116 -0
- package/dist/studio/assets/index-BAvxZ1rb.css +1 -0
- package/dist/studio/assets/{index-Bh_LwYWq.js → index-DPrj3J9P.js} +1 -1
- package/dist/studio/index.html +2 -2
- package/dist/{ts-eval-loader-TWWSN6OX-VRZ43CUR.js → ts-eval-loader-XR6DNOZ3-GA7B5N26.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-2Z2V7RJO.js.map +0 -1
- package/dist/chunk-BCZHBAUK.js.map +0 -1
- package/dist/chunk-FLSABQ33.js.map +0 -1
- package/dist/studio/assets/index-CIpCCDKl.css +0 -1
- package/dist/studio/assets/index-DsVyXC9S.js +0 -116
- /package/dist/{artifact-writer-K4B2S7OE.js.map → artifact-writer-FZ5RUHWC.js.map} +0 -0
- /package/dist/{chunk-BMSSZSND.js.map → chunk-IJPWTVDU.js.map} +0 -0
- /package/dist/{dist-2E6ZNN32.js.map → dist-CRYAFKLS.js.map} +0 -0
- /package/dist/{interactive-22PLS22Z.js.map → interactive-WZW2FF43.js.map} +0 -0
- /package/dist/{ts-eval-loader-TWWSN6OX-VRZ43CUR.js.map → ts-eval-loader-XR6DNOZ3-GA7B5N26.js.map} +0 -0
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
writeArtifactsFromResults,
|
|
15
15
|
writeInitialBenchmarkArtifact,
|
|
16
16
|
writePerTestArtifacts
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-IJPWTVDU.js";
|
|
18
|
+
import "./chunk-LOYPSIE7.js";
|
|
19
19
|
import "./chunk-QOBQ5XYF.js";
|
|
20
20
|
import "./chunk-BPGJ4HBU.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-377GONL7.js";
|
|
22
22
|
import "./chunk-NPVGBFF6.js";
|
|
23
23
|
import "./chunk-M7BUKBAF.js";
|
|
24
24
|
import "./chunk-5H446C7X.js";
|
|
@@ -38,4 +38,4 @@ export {
|
|
|
38
38
|
writeInitialBenchmarkArtifact,
|
|
39
39
|
writePerTestArtifacts
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=artifact-writer-
|
|
41
|
+
//# sourceMappingURL=artifact-writer-FZ5RUHWC.js.map
|
|
@@ -6037,7 +6037,7 @@ async function expandFileReferences(tests, evalFileDir) {
|
|
|
6037
6037
|
return expanded;
|
|
6038
6038
|
}
|
|
6039
6039
|
|
|
6040
|
-
// ../../packages/core/dist/chunk-
|
|
6040
|
+
// ../../packages/core/dist/chunk-A27NE3R7.js
|
|
6041
6041
|
import path46 from "node:path";
|
|
6042
6042
|
import { pathToFileURL as pathToFileURL2 } from "node:url";
|
|
6043
6043
|
import { existsSync as existsSync6 } from "node:fs";
|
|
@@ -18704,7 +18704,7 @@ var RequestError = class _RequestError extends Error {
|
|
|
18704
18704
|
}
|
|
18705
18705
|
};
|
|
18706
18706
|
|
|
18707
|
-
// ../../packages/core/dist/chunk-
|
|
18707
|
+
// ../../packages/core/dist/chunk-A27NE3R7.js
|
|
18708
18708
|
import { exec as execCallback } from "node:child_process";
|
|
18709
18709
|
import { readdirSync, statSync } from "node:fs";
|
|
18710
18710
|
import { readFile as readFile22, readdir as readdir2, stat as stat2 } from "node:fs/promises";
|
|
@@ -19035,7 +19035,7 @@ function getAgentvHome() {
|
|
|
19035
19035
|
if (envHome && envHome !== "undefined") {
|
|
19036
19036
|
if (!logged) {
|
|
19037
19037
|
logged = true;
|
|
19038
|
-
console.
|
|
19038
|
+
console.log(`Using AGENTV_HOME: ${envHome}`);
|
|
19039
19039
|
}
|
|
19040
19040
|
return envHome;
|
|
19041
19041
|
}
|
|
@@ -31441,6 +31441,9 @@ function parseExecutionDefaults(raw, configPath) {
|
|
|
31441
31441
|
}
|
|
31442
31442
|
return Object.keys(result).length > 0 ? result : void 0;
|
|
31443
31443
|
}
|
|
31444
|
+
function isFilesystemPath(p) {
|
|
31445
|
+
return p.startsWith("/") || p.startsWith("~/") || p.startsWith("~\\") || p === "~" || /^[A-Za-z]:[/\\]/.test(p);
|
|
31446
|
+
}
|
|
31444
31447
|
function parseResultsConfig(raw, configPath) {
|
|
31445
31448
|
if (raw === void 0 || raw === null) {
|
|
31446
31449
|
return void 0;
|
|
@@ -31450,15 +31453,29 @@ function parseResultsConfig(raw, configPath) {
|
|
|
31450
31453
|
return void 0;
|
|
31451
31454
|
}
|
|
31452
31455
|
const obj = raw;
|
|
31456
|
+
if (obj.mode !== "github") {
|
|
31457
|
+
logWarning(`Invalid results.mode in ${configPath}, expected 'github'`);
|
|
31458
|
+
return void 0;
|
|
31459
|
+
}
|
|
31453
31460
|
const repo = typeof obj.repo === "string" ? obj.repo.trim() : "";
|
|
31454
|
-
const resultsPath = typeof obj.path === "string" ? obj.path.trim() : "";
|
|
31455
31461
|
if (!repo) {
|
|
31456
31462
|
logWarning(`Invalid results.repo in ${configPath}, expected non-empty string`);
|
|
31457
31463
|
return void 0;
|
|
31458
31464
|
}
|
|
31459
|
-
|
|
31460
|
-
|
|
31461
|
-
|
|
31465
|
+
let resultsPath;
|
|
31466
|
+
if (obj.path !== void 0) {
|
|
31467
|
+
if (typeof obj.path !== "string" || obj.path.trim().length === 0) {
|
|
31468
|
+
logWarning(`Invalid results.path in ${configPath}, expected non-empty string`);
|
|
31469
|
+
return void 0;
|
|
31470
|
+
}
|
|
31471
|
+
const trimmedPath = obj.path.trim();
|
|
31472
|
+
if (!isFilesystemPath(trimmedPath)) {
|
|
31473
|
+
logWarning(
|
|
31474
|
+
`Invalid results.path in ${configPath}: '${trimmedPath}' looks like a repo subdirectory. results.path now specifies the local filesystem directory for the clone (e.g., ~/data/agentv-results). Remove 'path' to use the default or set an absolute/home-relative path.`
|
|
31475
|
+
);
|
|
31476
|
+
return void 0;
|
|
31477
|
+
}
|
|
31478
|
+
resultsPath = trimmedPath;
|
|
31462
31479
|
}
|
|
31463
31480
|
if (obj.auto_push !== void 0 && typeof obj.auto_push !== "boolean") {
|
|
31464
31481
|
logWarning(`Invalid results.auto_push in ${configPath}, expected boolean`);
|
|
@@ -31473,8 +31490,9 @@ function parseResultsConfig(raw, configPath) {
|
|
|
31473
31490
|
branchPrefix = obj.branch_prefix.trim();
|
|
31474
31491
|
}
|
|
31475
31492
|
return {
|
|
31493
|
+
mode: "github",
|
|
31476
31494
|
repo,
|
|
31477
|
-
path: resultsPath,
|
|
31495
|
+
...resultsPath !== void 0 && { path: resultsPath },
|
|
31478
31496
|
...typeof obj.auto_push === "boolean" && { auto_push: obj.auto_push },
|
|
31479
31497
|
...branchPrefix && { branch_prefix: branchPrefix }
|
|
31480
31498
|
};
|
|
@@ -34132,7 +34150,7 @@ async function loadTestSuite(evalFilePath, repoRoot, options) {
|
|
|
34132
34150
|
return { tests: await loadTestsFromAgentSkills(evalFilePath) };
|
|
34133
34151
|
}
|
|
34134
34152
|
if (format === "typescript") {
|
|
34135
|
-
const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-
|
|
34153
|
+
const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-XR6DNOZ3-GA7B5N26.js");
|
|
34136
34154
|
return loadTsEvalSuite2(evalFilePath, resolveToAbsolutePath(repoRoot), options);
|
|
34137
34155
|
}
|
|
34138
34156
|
const { tests, parsed, suiteWorkspacePath } = await loadTestsFromYaml(
|
|
@@ -34167,7 +34185,7 @@ async function loadTests(evalFilePath, repoRoot, options) {
|
|
|
34167
34185
|
return loadTestsFromAgentSkills(evalFilePath);
|
|
34168
34186
|
}
|
|
34169
34187
|
if (format === "typescript") {
|
|
34170
|
-
const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-
|
|
34188
|
+
const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-XR6DNOZ3-GA7B5N26.js");
|
|
34171
34189
|
const suite = await loadTsEvalSuite2(evalFilePath, resolveToAbsolutePath(repoRoot), options);
|
|
34172
34190
|
return suite.tests;
|
|
34173
34191
|
}
|
|
@@ -38067,4 +38085,4 @@ export {
|
|
|
38067
38085
|
loadTsEvalFile,
|
|
38068
38086
|
loadTsEvalSuite
|
|
38069
38087
|
};
|
|
38070
|
-
//# sourceMappingURL=chunk-
|
|
38088
|
+
//# sourceMappingURL=chunk-377GONL7.js.map
|