agentv 4.41.6 → 4.42.1-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 (29) hide show
  1. package/dist/{artifact-writer-6O2T6PFY.js → artifact-writer-7ZQBLD6J.js} +4 -4
  2. package/dist/{chunk-TVSTWDYD.js → chunk-2H3D2AFZ.js} +100 -6
  3. package/dist/{chunk-TVSTWDYD.js.map → chunk-2H3D2AFZ.js.map} +1 -1
  4. package/dist/{chunk-KEDUYY5Q.js → chunk-CVQXNBO7.js} +50 -18
  5. package/dist/chunk-CVQXNBO7.js.map +1 -0
  6. package/dist/{chunk-CGMO3QA7.js → chunk-IX5KWMMM.js} +10 -6
  7. package/dist/{chunk-CGMO3QA7.js.map → chunk-IX5KWMMM.js.map} +1 -1
  8. package/dist/{chunk-AQBJ2NUK.js → chunk-PN3QFUFF.js} +2 -2
  9. package/dist/{chunk-V7YYOR2B.js → chunk-RP5425KQ.js} +25 -18
  10. package/dist/chunk-RP5425KQ.js.map +1 -0
  11. package/dist/cli.js +5 -5
  12. package/dist/dashboard/assets/index-BEZOKdZO.css +1 -0
  13. package/dist/dashboard/assets/index-CxvIJei9.js +118 -0
  14. package/dist/dashboard/assets/{index-_jpKSzIf.js → index-DFcMa-UW.js} +1 -1
  15. package/dist/dashboard/index.html +2 -2
  16. package/dist/{dist-5VQASJZI.js → dist-XANKSXGP.js} +3 -3
  17. package/dist/index.js +5 -5
  18. package/dist/{interactive-JRMDZ63V.js → interactive-MGFKEFXD.js} +5 -5
  19. package/dist/{ts-eval-loader-IVMSOI7K-JUPHBJM7.js → ts-eval-loader-DXSXFWYI-WV7NYVUG.js} +2 -2
  20. package/package.json +1 -1
  21. package/dist/chunk-KEDUYY5Q.js.map +0 -1
  22. package/dist/chunk-V7YYOR2B.js.map +0 -1
  23. package/dist/dashboard/assets/index-BnYCCJ7O.css +0 -1
  24. package/dist/dashboard/assets/index-DaueD7GO.js +0 -118
  25. /package/dist/{artifact-writer-6O2T6PFY.js.map → artifact-writer-7ZQBLD6J.js.map} +0 -0
  26. /package/dist/{chunk-AQBJ2NUK.js.map → chunk-PN3QFUFF.js.map} +0 -0
  27. /package/dist/{dist-5VQASJZI.js.map → dist-XANKSXGP.js.map} +0 -0
  28. /package/dist/{interactive-JRMDZ63V.js.map → interactive-MGFKEFXD.js.map} +0 -0
  29. /package/dist/{ts-eval-loader-IVMSOI7K-JUPHBJM7.js.map → ts-eval-loader-DXSXFWYI-WV7NYVUG.js.map} +0 -0
@@ -6156,7 +6156,7 @@ async function expandFileReferences(tests, evalFileDir) {
6156
6156
  return expanded;
6157
6157
  }
6158
6158
 
6159
- // ../../packages/core/dist/chunk-WKBRUYYT.js
6159
+ // ../../packages/core/dist/chunk-7VCXX25H.js
6160
6160
  import path50 from "node:path";
6161
6161
  import { pathToFileURL as pathToFileURL2 } from "node:url";
6162
6162
  import { existsSync as existsSync7 } from "node:fs";
@@ -18820,7 +18820,7 @@ var RequestError = class _RequestError extends Error {
18820
18820
  }
18821
18821
  };
18822
18822
 
18823
- // ../../packages/core/dist/chunk-WKBRUYYT.js
18823
+ // ../../packages/core/dist/chunk-7VCXX25H.js
18824
18824
  import { exec as execCallback } from "node:child_process";
18825
18825
  import { readdirSync, statSync } from "node:fs";
18826
18826
  import { readFile as readFile32, readdir as readdir2, stat as stat2 } from "node:fs/promises";
@@ -36425,8 +36425,10 @@ async function parseGraderList(candidateEvaluators, searchRoots, evalId, default
36425
36425
  "cwd",
36426
36426
  "weight",
36427
36427
  "target",
36428
+ "config",
36428
36429
  "preprocessors",
36429
36430
  "required",
36431
+ "min_score",
36430
36432
  "negate"
36431
36433
  ]);
36432
36434
  const config22 = {};
@@ -36435,6 +36437,8 @@ async function parseGraderList(candidateEvaluators, searchRoots, evalId, default
36435
36437
  config22[key] = value;
36436
36438
  }
36437
36439
  }
36440
+ const topLevelConfig2 = isJsonObject2(rawEvaluator.config) ? rawEvaluator.config : {};
36441
+ const mergedConfig2 = { ...config22, ...topLevelConfig2 };
36438
36442
  evaluators.push({
36439
36443
  name,
36440
36444
  type: "code-grader",
@@ -36446,7 +36450,7 @@ async function parseGraderList(candidateEvaluators, searchRoots, evalId, default
36446
36450
  ...required22 !== void 0 ? { required: required22 } : {},
36447
36451
  ...min_score2 !== void 0 ? { min_score: min_score2 } : {},
36448
36452
  ...negate !== void 0 ? { negate } : {},
36449
- ...Object.keys(config22).length > 0 ? { config: config22 } : {},
36453
+ ...Object.keys(mergedConfig2).length > 0 ? { config: mergedConfig2 } : {},
36450
36454
  ...mergedPreprocessors ? { preprocessors: mergedPreprocessors } : {},
36451
36455
  ...targetConfig !== void 0 ? { target: targetConfig } : {}
36452
36456
  });
@@ -38727,7 +38731,7 @@ async function loadTestSuite(evalFilePath, repoRoot, options) {
38727
38731
  return { tests: await loadTestsFromAgentSkills(evalFilePath) };
38728
38732
  }
38729
38733
  if (format === "typescript") {
38730
- const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-IVMSOI7K-JUPHBJM7.js");
38734
+ const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-DXSXFWYI-WV7NYVUG.js");
38731
38735
  return loadTsEvalSuite2(evalFilePath, resolveToAbsolutePath(repoRoot), options);
38732
38736
  }
38733
38737
  const { tests, parsed, suiteWorkspacePath } = await loadTestsFromYaml(
@@ -38756,7 +38760,7 @@ async function loadTests(evalFilePath, repoRoot, options) {
38756
38760
  return loadTestsFromAgentSkills(evalFilePath);
38757
38761
  }
38758
38762
  if (format === "typescript") {
38759
- const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-IVMSOI7K-JUPHBJM7.js");
38763
+ const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-DXSXFWYI-WV7NYVUG.js");
38760
38764
  const suite = await loadTsEvalSuite2(evalFilePath, resolveToAbsolutePath(repoRoot), options);
38761
38765
  return suite.tests;
38762
38766
  }
@@ -43986,4 +43990,4 @@ export {
43986
43990
  loadTsEvalFile,
43987
43991
  loadTsEvalSuite
43988
43992
  };
43989
- //# sourceMappingURL=chunk-CGMO3QA7.js.map
43993
+ //# sourceMappingURL=chunk-IX5KWMMM.js.map