agentv 4.30.0 → 4.31.0-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.
Files changed (26) hide show
  1. package/dist/{artifact-writer-JJLJUUUY.js → artifact-writer-K4B2S7OE.js} +4 -4
  2. package/dist/{chunk-L3FMZXCD.js → chunk-2Z2V7RJO.js} +12 -29
  3. package/dist/{chunk-L3FMZXCD.js.map → chunk-2Z2V7RJO.js.map} +1 -1
  4. package/dist/{chunk-B2YJVU72.js → chunk-BCZHBAUK.js} +43 -55
  5. package/dist/chunk-BCZHBAUK.js.map +1 -0
  6. package/dist/{chunk-YFVD6FC6.js → chunk-BMSSZSND.js} +3 -3
  7. package/dist/{chunk-LUZRCQNH.js → chunk-FLSABQ33.js} +12 -12
  8. package/dist/chunk-FLSABQ33.js.map +1 -0
  9. package/dist/{chunk-J4AMO3MD.js → chunk-NACNTFNH.js} +9 -9
  10. package/dist/{chunk-J4AMO3MD.js.map → chunk-NACNTFNH.js.map} +1 -1
  11. package/dist/cli.js +5 -5
  12. package/dist/{dist-GYCHDLTZ.js → dist-2E6ZNN32.js} +5 -5
  13. package/dist/index.js +5 -5
  14. package/dist/{interactive-DIQOOZX4.js → interactive-22PLS22Z.js} +5 -5
  15. package/dist/studio/assets/{index-SVeKAE-f.js → index-Bh_LwYWq.js} +1 -1
  16. package/dist/studio/assets/{index-BUmBj4ej.js → index-DsVyXC9S.js} +1 -1
  17. package/dist/studio/index.html +1 -1
  18. package/dist/{ts-eval-loader-JL5DGTJL-U5LTKGOE.js → ts-eval-loader-TWWSN6OX-VRZ43CUR.js} +2 -2
  19. package/package.json +1 -1
  20. package/dist/chunk-B2YJVU72.js.map +0 -1
  21. package/dist/chunk-LUZRCQNH.js.map +0 -1
  22. /package/dist/{artifact-writer-JJLJUUUY.js.map → artifact-writer-K4B2S7OE.js.map} +0 -0
  23. /package/dist/{chunk-YFVD6FC6.js.map → chunk-BMSSZSND.js.map} +0 -0
  24. /package/dist/{dist-GYCHDLTZ.js.map → dist-2E6ZNN32.js.map} +0 -0
  25. /package/dist/{interactive-DIQOOZX4.js.map → interactive-22PLS22Z.js.map} +0 -0
  26. /package/dist/{ts-eval-loader-JL5DGTJL-U5LTKGOE.js.map → ts-eval-loader-TWWSN6OX-VRZ43CUR.js.map} +0 -0
@@ -14,11 +14,11 @@ import {
14
14
  writeArtifactsFromResults,
15
15
  writeInitialBenchmarkArtifact,
16
16
  writePerTestArtifacts
17
- } from "./chunk-YFVD6FC6.js";
18
- import "./chunk-LUZRCQNH.js";
17
+ } from "./chunk-BMSSZSND.js";
18
+ import "./chunk-FLSABQ33.js";
19
19
  import "./chunk-QOBQ5XYF.js";
20
20
  import "./chunk-BPGJ4HBU.js";
21
- import "./chunk-L3FMZXCD.js";
21
+ import "./chunk-2Z2V7RJO.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-JJLJUUUY.js.map
41
+ //# sourceMappingURL=artifact-writer-K4B2S7OE.js.map
@@ -6037,7 +6037,7 @@ async function expandFileReferences(tests, evalFileDir) {
6037
6037
  return expanded;
6038
6038
  }
6039
6039
 
6040
- // ../../packages/core/dist/chunk-Z2BBOGE4.js
6040
+ // ../../packages/core/dist/chunk-QY6BS2V4.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-Z2BBOGE4.js
18707
+ // ../../packages/core/dist/chunk-QY6BS2V4.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";
@@ -31450,48 +31450,31 @@ function parseResultsConfig(raw, configPath) {
31450
31450
  return void 0;
31451
31451
  }
31452
31452
  const obj = raw;
31453
- const exportConfig = parseResultsExportConfig(obj.export, configPath);
31454
- if (!exportConfig) {
31455
- return void 0;
31456
- }
31457
- return { export: exportConfig };
31458
- }
31459
- function parseResultsExportConfig(raw, configPath) {
31460
- if (raw === void 0 || raw === null) {
31461
- return void 0;
31462
- }
31463
- if (typeof raw !== "object" || Array.isArray(raw)) {
31464
- logWarning(`Invalid results.export in ${configPath}, expected object`);
31465
- return void 0;
31466
- }
31467
- const obj = raw;
31468
31453
  const repo = typeof obj.repo === "string" ? obj.repo.trim() : "";
31469
- const exportPath = typeof obj.path === "string" ? obj.path.trim() : "";
31454
+ const resultsPath = typeof obj.path === "string" ? obj.path.trim() : "";
31470
31455
  if (!repo) {
31471
- logWarning(`Invalid results.export.repo in ${configPath}, expected non-empty string`);
31456
+ logWarning(`Invalid results.repo in ${configPath}, expected non-empty string`);
31472
31457
  return void 0;
31473
31458
  }
31474
- if (!exportPath) {
31475
- logWarning(`Invalid results.export.path in ${configPath}, expected non-empty string`);
31459
+ if (!resultsPath) {
31460
+ logWarning(`Invalid results.path in ${configPath}, expected non-empty string`);
31476
31461
  return void 0;
31477
31462
  }
31478
31463
  if (obj.auto_push !== void 0 && typeof obj.auto_push !== "boolean") {
31479
- logWarning(`Invalid results.export.auto_push in ${configPath}, expected boolean`);
31464
+ logWarning(`Invalid results.auto_push in ${configPath}, expected boolean`);
31480
31465
  return void 0;
31481
31466
  }
31482
31467
  let branchPrefix;
31483
31468
  if (obj.branch_prefix !== void 0) {
31484
31469
  if (typeof obj.branch_prefix !== "string" || obj.branch_prefix.trim().length === 0) {
31485
- logWarning(
31486
- `Invalid results.export.branch_prefix in ${configPath}, expected non-empty string`
31487
- );
31470
+ logWarning(`Invalid results.branch_prefix in ${configPath}, expected non-empty string`);
31488
31471
  return void 0;
31489
31472
  }
31490
31473
  branchPrefix = obj.branch_prefix.trim();
31491
31474
  }
31492
31475
  return {
31493
31476
  repo,
31494
- path: exportPath,
31477
+ path: resultsPath,
31495
31478
  ...typeof obj.auto_push === "boolean" && { auto_push: obj.auto_push },
31496
31479
  ...branchPrefix && { branch_prefix: branchPrefix }
31497
31480
  };
@@ -34149,7 +34132,7 @@ async function loadTestSuite(evalFilePath, repoRoot, options) {
34149
34132
  return { tests: await loadTestsFromAgentSkills(evalFilePath) };
34150
34133
  }
34151
34134
  if (format === "typescript") {
34152
- const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-JL5DGTJL-U5LTKGOE.js");
34135
+ const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-TWWSN6OX-VRZ43CUR.js");
34153
34136
  return loadTsEvalSuite2(evalFilePath, resolveToAbsolutePath(repoRoot), options);
34154
34137
  }
34155
34138
  const { tests, parsed, suiteWorkspacePath } = await loadTestsFromYaml(
@@ -34184,7 +34167,7 @@ async function loadTests(evalFilePath, repoRoot, options) {
34184
34167
  return loadTestsFromAgentSkills(evalFilePath);
34185
34168
  }
34186
34169
  if (format === "typescript") {
34187
- const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-JL5DGTJL-U5LTKGOE.js");
34170
+ const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-TWWSN6OX-VRZ43CUR.js");
34188
34171
  const suite = await loadTsEvalSuite2(evalFilePath, resolveToAbsolutePath(repoRoot), options);
34189
34172
  return suite.tests;
34190
34173
  }
@@ -38084,4 +38067,4 @@ export {
38084
38067
  loadTsEvalFile,
38085
38068
  loadTsEvalSuite
38086
38069
  };
38087
- //# sourceMappingURL=chunk-L3FMZXCD.js.map
38070
+ //# sourceMappingURL=chunk-2Z2V7RJO.js.map