agentv 4.12.2 → 4.12.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.
@@ -42,7 +42,7 @@ import {
42
42
  validateFileReferences,
43
43
  validateTargetsFile,
44
44
  writeArtifactsFromResults
45
- } from "./chunk-GSVQGON2.js";
45
+ } from "./chunk-QUBQF4ZN.js";
46
46
  import {
47
47
  DEFAULT_CATEGORY,
48
48
  DEFAULT_THRESHOLD,
@@ -3912,7 +3912,7 @@ var evalRunCommand = command({
3912
3912
  },
3913
3913
  handler: async (args) => {
3914
3914
  if (args.evalPaths.length === 0 && process.stdin.isTTY) {
3915
- const { launchInteractiveWizard } = await import("./interactive-ZGCO5PVL.js");
3915
+ const { launchInteractiveWizard } = await import("./interactive-BFMVBWUV.js");
3916
3916
  await launchInteractiveWizard();
3917
3917
  return;
3918
3918
  }
@@ -5903,7 +5903,7 @@ var evalBenchCommand = command({
5903
5903
  assertions: allAssertions,
5904
5904
  summary: { passed, failed, total: allAssertions.length, pass_rate: passRate },
5905
5905
  execution_metrics: { tool_calls: {}, total_tool_calls: 0, errors_encountered: 0 },
5906
- evaluators: evaluators.map((e) => ({
5906
+ graders: evaluators.map((e) => ({
5907
5907
  name: e.name,
5908
5908
  type: e.type,
5909
5909
  score: e.score,
@@ -7424,7 +7424,9 @@ function registerEvalRoutes(app2, getCwd, options) {
7424
7424
  const child = spawn(cliPaths.binPath, [...cliPaths.args, ...args], {
7425
7425
  cwd,
7426
7426
  stdio: ["ignore", "pipe", "pipe"],
7427
- env: { ...process.env }
7427
+ env: { ...process.env },
7428
+ // Windows requires shell:true to execute .cmd/.bat wrappers (e.g. npm-installed agentv.cmd)
7429
+ shell: process.platform === "win32"
7428
7430
  });
7429
7431
  run2.process = child;
7430
7432
  run2.status = "running";
@@ -7561,7 +7563,8 @@ Process error: ${err2.message}`;
7561
7563
  const child = spawn(cliPaths.binPath, [...cliPaths.args, ...args], {
7562
7564
  cwd,
7563
7565
  stdio: ["ignore", "pipe", "pipe"],
7564
- env: { ...process.env }
7566
+ env: { ...process.env },
7567
+ shell: process.platform === "win32"
7565
7568
  });
7566
7569
  run2.process = child;
7567
7570
  run2.status = "running";
@@ -9850,4 +9853,4 @@ export {
9850
9853
  preprocessArgv,
9851
9854
  runCli
9852
9855
  };
9853
- //# sourceMappingURL=chunk-S3YQYLZN.js.map
9856
+ //# sourceMappingURL=chunk-CPRXB2P7.js.map