agentv 4.22.0 → 4.23.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.
@@ -44,7 +44,7 @@ import {
44
44
  validateFileReferences,
45
45
  validateTargetsFile,
46
46
  validateWorkspacePaths
47
- } from "./chunk-5QF7PKZ4.js";
47
+ } from "./chunk-32VOBCSX.js";
48
48
  import {
49
49
  RESULT_INDEX_FILENAME,
50
50
  aggregateRunDir,
@@ -52,7 +52,7 @@ import {
52
52
  resolveRunManifestPath,
53
53
  toSnakeCaseDeep as toSnakeCaseDeep2,
54
54
  writeArtifactsFromResults
55
- } from "./chunk-CM2AVQAM.js";
55
+ } from "./chunk-ZVEESBXF.js";
56
56
  import {
57
57
  DEFAULT_CATEGORY,
58
58
  addBenchmark,
@@ -71,7 +71,7 @@ import {
71
71
  toTranscriptJsonLines,
72
72
  transpileEvalYamlFile,
73
73
  trimBaselineResult
74
- } from "./chunk-762UZSGR.js";
74
+ } from "./chunk-SBI4Z7YY.js";
75
75
  import {
76
76
  DEFAULT_THRESHOLD,
77
77
  createBuiltinRegistry,
@@ -86,6 +86,7 @@ import {
86
86
  normalizeLineEndings,
87
87
  parseAgentSkillsEvals,
88
88
  parseCopilotEvents,
89
+ parseYamlValue,
89
90
  readTargetDefinitions,
90
91
  runContainsAllAssertion,
91
92
  runContainsAnyAssertion,
@@ -100,7 +101,7 @@ import {
100
101
  runStartsWithAssertion,
101
102
  toCamelCaseDeep,
102
103
  toSnakeCaseDeep
103
- } from "./chunk-4YZDPAGZ.js";
104
+ } from "./chunk-KX2MJDMY.js";
104
105
  import {
105
106
  __commonJS,
106
107
  __require,
@@ -3995,7 +3996,7 @@ var evalRunCommand = command({
3995
3996
  },
3996
3997
  handler: async (args) => {
3997
3998
  if (args.evalPaths.length === 0 && process.stdin.isTTY) {
3998
- const { launchInteractiveWizard } = await import("./interactive-7LC5WFP3.js");
3999
+ const { launchInteractiveWizard } = await import("./interactive-66Z7DNMJ.js");
3999
4000
  await launchInteractiveWizard();
4000
4001
  return;
4001
4002
  }
@@ -6434,7 +6435,7 @@ var evalInputCommand = command({
6434
6435
  }
6435
6436
  } catch {
6436
6437
  }
6437
- const suiteName = suite.metadata?.name?.trim() ?? "";
6438
+ const suiteName = tests[0]?.suite?.trim() ?? "";
6438
6439
  const safeSuiteName = suiteName ? suiteName.replace(/[\/\\:*?"<>|]/g, "_") : "";
6439
6440
  const testIds = [];
6440
6441
  for (const test of tests) {
@@ -6670,7 +6671,7 @@ var evalRunCommand2 = command({
6670
6671
  }
6671
6672
  } catch {
6672
6673
  }
6673
- const suiteName = suite.metadata?.name?.trim() ?? "";
6674
+ const suiteName = tests[0]?.suite?.trim() ?? "";
6674
6675
  const safeSuiteName = suiteName ? suiteName.replace(/[\/\\:*?"<>|]/g, "_") : "";
6675
6676
  const testIds = [];
6676
6677
  for (const test of tests) {
@@ -9653,7 +9654,7 @@ function normalizeTags(tags) {
9653
9654
  // src/commands/results/studio-config.ts
9654
9655
  import { existsSync as existsSync13, mkdirSync as mkdirSync3, readFileSync as readFileSync11, writeFileSync as writeFileSync5 } from "node:fs";
9655
9656
  import path18 from "node:path";
9656
- import { parse as parseYaml, stringify as stringifyYaml2 } from "yaml";
9657
+ import { stringify as stringifyYaml2 } from "yaml";
9657
9658
  var DEFAULTS = {
9658
9659
  threshold: DEFAULT_THRESHOLD
9659
9660
  };
@@ -9663,7 +9664,7 @@ function loadStudioConfig(agentvDir) {
9663
9664
  return { ...DEFAULTS };
9664
9665
  }
9665
9666
  const raw = readFileSync11(configPath, "utf-8");
9666
- const parsed = parseYaml(raw);
9667
+ const parsed = parseYamlValue(raw);
9667
9668
  if (!parsed || typeof parsed !== "object") {
9668
9669
  return { ...DEFAULTS };
9669
9670
  }
@@ -9691,7 +9692,7 @@ function saveStudioConfig(agentvDir, config) {
9691
9692
  let existing = {};
9692
9693
  if (existsSync13(configPath)) {
9693
9694
  const raw = readFileSync11(configPath, "utf-8");
9694
- const parsed = parseYaml(raw);
9695
+ const parsed = parseYamlValue(raw);
9695
9696
  if (parsed && typeof parsed === "object" && !Array.isArray(parsed)) {
9696
9697
  existing = parsed;
9697
9698
  }
@@ -11973,4 +11974,4 @@ export {
11973
11974
  preprocessArgv,
11974
11975
  runCli
11975
11976
  };
11976
- //# sourceMappingURL=chunk-GMMIWIBF.js.map
11977
+ //# sourceMappingURL=chunk-4ISLX6RP.js.map