agentv 2.11.4 → 2.13.0

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.
@@ -2,6 +2,7 @@ import { createRequire } from 'node:module'; const require = createRequire(impor
2
2
  import {
3
3
  detectFileType,
4
4
  findRepoRoot,
5
+ package_default,
5
6
  resolveEvalPaths,
6
7
  runEvalCommand,
7
8
  selectTarget,
@@ -10,7 +11,7 @@ import {
10
11
  validateEvalFile,
11
12
  validateFileReferences,
12
13
  validateTargetsFile
13
- } from "./chunk-APGYGAVM.js";
14
+ } from "./chunk-UWDI4UVN.js";
14
15
  import {
15
16
  RepoManager,
16
17
  assembleLlmJudgePrompt,
@@ -25,7 +26,7 @@ import {
25
26
  toCamelCaseDeep,
26
27
  toSnakeCaseDeep,
27
28
  trimBaselineResult
28
- } from "./chunk-KWUTY5XR.js";
29
+ } from "./chunk-FSBZM3HT.js";
29
30
  import {
30
31
  __commonJS,
31
32
  __esm,
@@ -2875,56 +2876,6 @@ function oneOf(literals) {
2875
2876
  };
2876
2877
  }
2877
2878
 
2878
- // package.json
2879
- var package_default = {
2880
- name: "agentv",
2881
- version: "2.11.4",
2882
- description: "CLI entry point for AgentV",
2883
- type: "module",
2884
- repository: {
2885
- type: "git",
2886
- url: "https://github.com/EntityProcess/agentv.git"
2887
- },
2888
- homepage: "https://github.com/EntityProcess/agentv#readme",
2889
- bugs: {
2890
- url: "https://github.com/EntityProcess/agentv/issues"
2891
- },
2892
- bin: {
2893
- agentv: "./dist/cli.js"
2894
- },
2895
- files: ["dist", "README.md"],
2896
- scripts: {
2897
- dev: "bun src/cli.ts",
2898
- build: "tsup && bun run copy-readme",
2899
- "copy-readme": `bun -e "import { cpSync } from 'fs'; cpSync('../../README.md', 'README.md')"`,
2900
- prepublishOnly: "bun run copy-readme",
2901
- typecheck: "tsc --noEmit",
2902
- lint: "biome check .",
2903
- format: "biome format --write .",
2904
- fix: "biome check --write .",
2905
- test: "bun test",
2906
- "test:watch": "bun test --watch"
2907
- },
2908
- dependencies: {
2909
- "@anthropic-ai/claude-agent-sdk": "^0.2.49",
2910
- "@github/copilot-sdk": "^0.1.25",
2911
- "@inquirer/prompts": "^8.2.1",
2912
- "@mariozechner/pi-agent-core": "^0.54.2",
2913
- "@mariozechner/pi-ai": "^0.54.2",
2914
- "@openai/codex-sdk": "^0.104.0",
2915
- "cmd-ts": "^0.14.3",
2916
- dotenv: "^16.4.5",
2917
- "fast-glob": "^3.3.3",
2918
- json5: "^2.2.3",
2919
- micromatch: "^4.0.8",
2920
- yaml: "^2.6.1"
2921
- },
2922
- devDependencies: {
2923
- "@agentv/core": "workspace:*",
2924
- execa: "^9.3.0"
2925
- }
2926
- };
2927
-
2928
2879
  // src/commands/cache/add.ts
2929
2880
  import { existsSync } from "node:fs";
2930
2881
  import { join, resolve } from "node:path";
@@ -4123,11 +4074,20 @@ var evalRunCommand = command({
4123
4074
  otelGroupTurns: flag({
4124
4075
  long: "otel-group-turns",
4125
4076
  description: "Group messages into turn spans for multi-turn evaluations (requires --export-otel)"
4077
+ }),
4078
+ retryErrors: option({
4079
+ type: optional(string),
4080
+ long: "retry-errors",
4081
+ description: "Path to previous output JSONL \u2014 re-run only execution_error test cases"
4082
+ }),
4083
+ strict: flag({
4084
+ long: "strict",
4085
+ description: "Exit with error on version mismatch (instead of warning)"
4126
4086
  })
4127
4087
  },
4128
4088
  handler: async (args) => {
4129
4089
  if (args.evalPaths.length === 0 && process.stdin.isTTY) {
4130
- const { launchInteractiveWizard } = await import("./interactive-O2KBWGEI.js");
4090
+ const { launchInteractiveWizard } = await import("./interactive-P3D5O673.js");
4131
4091
  await launchInteractiveWizard();
4132
4092
  return;
4133
4093
  }
@@ -4157,7 +4117,9 @@ var evalRunCommand = command({
4157
4117
  exportOtel: args.exportOtel,
4158
4118
  otelBackend: args.otelBackend,
4159
4119
  otelCaptureContent: args.otelCaptureContent,
4160
- otelGroupTurns: args.otelGroupTurns
4120
+ otelGroupTurns: args.otelGroupTurns,
4121
+ retryErrors: args.retryErrors,
4122
+ strict: args.strict
4161
4123
  };
4162
4124
  await runEvalCommand({ testFiles: resolvedPaths, rawOptions });
4163
4125
  }
@@ -5831,4 +5793,4 @@ export {
5831
5793
  preprocessArgv,
5832
5794
  runCli
5833
5795
  };
5834
- //# sourceMappingURL=chunk-FBGAD3CQ.js.map
5796
+ //# sourceMappingURL=chunk-M6JYP6A6.js.map