agentv 4.17.0 → 4.17.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
  validateTargetsFile,
45
45
  validateWorkspacePaths,
46
46
  writeArtifactsFromResults
47
- } from "./chunk-YA2D37ZO.js";
47
+ } from "./chunk-ZUNYOUFO.js";
48
48
  import {
49
49
  DEFAULT_CATEGORY,
50
50
  DEFAULT_THRESHOLD,
@@ -3947,7 +3947,7 @@ var evalRunCommand = command({
3947
3947
  },
3948
3948
  handler: async (args) => {
3949
3949
  if (args.evalPaths.length === 0 && process.stdin.isTTY) {
3950
- const { launchInteractiveWizard } = await import("./interactive-3GW5UCBK.js");
3950
+ const { launchInteractiveWizard } = await import("./interactive-LFCOVXPQ.js");
3951
3951
  await launchInteractiveWizard();
3952
3952
  return;
3953
3953
  }
@@ -6316,9 +6316,19 @@ var evalInputCommand = command({
6316
6316
  type: optional(string),
6317
6317
  long: "experiment",
6318
6318
  description: "Experiment label (e.g. with_skills, without_skills)"
6319
+ }),
6320
+ target: option({
6321
+ type: optional(string),
6322
+ long: "target",
6323
+ description: "Override target name from targets.yaml (mirrors eval run --target)"
6324
+ }),
6325
+ targets: option({
6326
+ type: optional(string),
6327
+ long: "targets",
6328
+ description: "Path to targets.yaml (overrides discovery)"
6319
6329
  })
6320
6330
  },
6321
- handler: async ({ evalPath, out, experiment }) => {
6331
+ handler: async ({ evalPath, out, experiment, target, targets }) => {
6322
6332
  const resolvedEvalPath = resolve(evalPath);
6323
6333
  const outDir = resolve(out ?? buildDefaultRunDir(process.cwd(), experiment));
6324
6334
  const repoRoot = await findRepoRoot(dirname(resolvedEvalPath));
@@ -6339,6 +6349,8 @@ var evalInputCommand = command({
6339
6349
  testFilePath: resolvedEvalPath,
6340
6350
  repoRoot,
6341
6351
  cwd: evalDir,
6352
+ cliTargetName: target,
6353
+ explicitTargetsPath: targets,
6342
6354
  dryRun: false,
6343
6355
  dryRunDelay: 0,
6344
6356
  dryRunDelayMin: 0,
@@ -6544,9 +6556,19 @@ var evalRunCommand2 = command({
6544
6556
  type: optional(oneOf(["code", "none"])),
6545
6557
  long: "grader-type",
6546
6558
  description: 'Which grading phase to run: "code" runs code-graders inline, omit to skip grading (use pipeline grade separately)'
6559
+ }),
6560
+ target: option({
6561
+ type: optional(string),
6562
+ long: "target",
6563
+ description: "Override target name from targets.yaml (mirrors eval run --target)"
6564
+ }),
6565
+ targets: option({
6566
+ type: optional(string),
6567
+ long: "targets",
6568
+ description: "Path to targets.yaml (overrides discovery)"
6547
6569
  })
6548
6570
  },
6549
- handler: async ({ evalPath, out, workers, experiment, graderType }) => {
6571
+ handler: async ({ evalPath, out, workers, experiment, graderType, target, targets }) => {
6550
6572
  const resolvedEvalPath = resolve2(evalPath);
6551
6573
  const outDir = resolve2(out ?? buildDefaultRunDir(process.cwd(), experiment));
6552
6574
  const repoRoot = await findRepoRoot(dirname2(resolvedEvalPath));
@@ -6567,6 +6589,8 @@ var evalRunCommand2 = command({
6567
6589
  testFilePath: resolvedEvalPath,
6568
6590
  repoRoot,
6569
6591
  cwd: evalDir,
6592
+ cliTargetName: target,
6593
+ explicitTargetsPath: targets,
6570
6594
  dryRun: false,
6571
6595
  dryRunDelay: 0,
6572
6596
  dryRunDelayMin: 0,
@@ -11942,4 +11966,4 @@ export {
11942
11966
  preprocessArgv,
11943
11967
  runCli
11944
11968
  };
11945
- //# sourceMappingURL=chunk-MQCJCM3I.js.map
11969
+ //# sourceMappingURL=chunk-ILIM6IIX.js.map