agentv 4.37.0-next.1 → 4.38.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.
Files changed (32) hide show
  1. package/dist/{artifact-writer-GFNKYREE.js → artifact-writer-MK5X5MSO.js} +4 -4
  2. package/dist/{chunk-P4LSNFZR.js → chunk-3G4BK6Z5.js} +21 -20
  3. package/dist/{chunk-P4LSNFZR.js.map → chunk-3G4BK6Z5.js.map} +1 -1
  4. package/dist/{chunk-N6E5XFOM.js → chunk-DKUAETXE.js} +3 -3
  5. package/dist/{chunk-M7AMFWBZ.js → chunk-EKMMIULD.js} +42 -37
  6. package/dist/chunk-EKMMIULD.js.map +1 -0
  7. package/dist/{chunk-OYI35QFW.js → chunk-NLTIK3LV.js} +32 -250
  8. package/dist/chunk-NLTIK3LV.js.map +1 -0
  9. package/dist/{chunk-RL4S2FBZ.js → chunk-VBHHZQS6.js} +902 -488
  10. package/dist/chunk-VBHHZQS6.js.map +1 -0
  11. package/dist/cli.js +5 -5
  12. package/dist/dashboard/assets/index-BpnllKET.css +1 -0
  13. package/dist/dashboard/assets/index-Cm9SUopp.js +118 -0
  14. package/dist/dashboard/assets/{index-BDRYJsGF.js → index-SIl6NbIJ.js} +1 -1
  15. package/dist/dashboard/index.html +2 -2
  16. package/dist/{dist-OY3JSP6Z.js → dist-HVLBDG5F.js} +17 -13
  17. package/dist/index.js +5 -5
  18. package/dist/{interactive-CQELHITQ.js → interactive-QFAAM4SI.js} +5 -5
  19. package/dist/skills/agentv-eval-writer/SKILL.md +28 -36
  20. package/dist/skills/agentv-eval-writer/references/eval-schema.json +57 -210
  21. package/dist/{ts-eval-loader-RBTB2HG2-H5TRXZLO.js → ts-eval-loader-TJT6BGFF-DI7XNSO4.js} +2 -2
  22. package/package.json +1 -1
  23. package/dist/chunk-M7AMFWBZ.js.map +0 -1
  24. package/dist/chunk-OYI35QFW.js.map +0 -1
  25. package/dist/chunk-RL4S2FBZ.js.map +0 -1
  26. package/dist/dashboard/assets/index-9tV-u4HJ.css +0 -1
  27. package/dist/dashboard/assets/index-DuESU7zZ.js +0 -118
  28. /package/dist/{artifact-writer-GFNKYREE.js.map → artifact-writer-MK5X5MSO.js.map} +0 -0
  29. /package/dist/{chunk-N6E5XFOM.js.map → chunk-DKUAETXE.js.map} +0 -0
  30. /package/dist/{dist-OY3JSP6Z.js.map → dist-HVLBDG5F.js.map} +0 -0
  31. /package/dist/{interactive-CQELHITQ.js.map → interactive-QFAAM4SI.js.map} +0 -0
  32. /package/dist/{ts-eval-loader-RBTB2HG2-H5TRXZLO.js.map → ts-eval-loader-TJT6BGFF-DI7XNSO4.js.map} +0 -0
@@ -14,11 +14,11 @@ import {
14
14
  writeArtifactsFromResults,
15
15
  writeInitialBenchmarkArtifact,
16
16
  writePerTestArtifacts
17
- } from "./chunk-N6E5XFOM.js";
18
- import "./chunk-OYI35QFW.js";
17
+ } from "./chunk-DKUAETXE.js";
18
+ import "./chunk-NLTIK3LV.js";
19
19
  import "./chunk-QOBQ5XYF.js";
20
20
  import "./chunk-BPGJ4HBU.js";
21
- import "./chunk-RL4S2FBZ.js";
21
+ import "./chunk-VBHHZQS6.js";
22
22
  import "./chunk-NPVGBFF6.js";
23
23
  import "./chunk-M7BUKBAF.js";
24
24
  import "./chunk-5H446C7X.js";
@@ -38,4 +38,4 @@ export {
38
38
  writeInitialBenchmarkArtifact,
39
39
  writePerTestArtifacts
40
40
  };
41
- //# sourceMappingURL=artifact-writer-GFNKYREE.js.map
41
+ //# sourceMappingURL=artifact-writer-MK5X5MSO.js.map
@@ -53,7 +53,7 @@ import {
53
53
  validateTargetsFile,
54
54
  validateWorkspacePaths,
55
55
  writeRunTags
56
- } from "./chunk-M7AMFWBZ.js";
56
+ } from "./chunk-EKMMIULD.js";
57
57
  import {
58
58
  RESULT_INDEX_FILENAME,
59
59
  aggregateRunDir,
@@ -65,45 +65,44 @@ import {
65
65
  resolveRunManifestPath,
66
66
  toSnakeCaseDeep as toSnakeCaseDeep2,
67
67
  writeArtifactsFromResults
68
- } from "./chunk-N6E5XFOM.js";
68
+ } from "./chunk-DKUAETXE.js";
69
69
  import {
70
70
  DEFAULT_CATEGORY,
71
- addProject,
72
71
  deriveCategory,
73
72
  discoverClaudeSessions,
74
73
  discoverCodexSessions,
75
74
  getOutputFilenames,
76
- getProject,
77
- loadProjectRegistry,
78
75
  parseClaudeSession,
79
76
  parseCodexSession,
80
77
  readTranscriptFile,
81
- removeProject,
82
78
  runBeforeSessionHook,
83
79
  scanRepoDeps,
84
80
  syncProjects,
85
81
  toTranscriptJsonLines,
86
- touchProject,
87
82
  transpileEvalYamlFile,
88
83
  trimBaselineResult
89
- } from "./chunk-OYI35QFW.js";
84
+ } from "./chunk-NLTIK3LV.js";
90
85
  import {
91
86
  DEFAULT_THRESHOLD,
87
+ addProject,
92
88
  buildTraceFromMessages,
93
89
  createBuiltinRegistry,
94
90
  discoverCopilotSessions,
95
91
  executeScript,
96
92
  getAgentvConfigDir,
93
+ getProject,
97
94
  getWorkspacePoolRoot,
98
95
  isAgentSkillsFormat,
99
96
  listTargetNames,
100
97
  loadConfig,
98
+ loadProjectRegistry,
101
99
  loadTestSuite,
102
100
  normalizeLineEndings,
103
101
  parseAgentSkillsEvals,
104
102
  parseCopilotEvents,
105
103
  parseYamlValue,
106
104
  readTargetDefinitions,
105
+ removeProject,
107
106
  runContainsAllAssertion,
108
107
  runContainsAnyAssertion,
109
108
  runContainsAssertion,
@@ -116,8 +115,9 @@ import {
116
115
  runRegexAssertion,
117
116
  runStartsWithAssertion,
118
117
  toCamelCaseDeep,
119
- toSnakeCaseDeep
120
- } from "./chunk-RL4S2FBZ.js";
118
+ toSnakeCaseDeep,
119
+ touchProject
120
+ } from "./chunk-VBHHZQS6.js";
121
121
  import {
122
122
  __commonJS,
123
123
  __require,
@@ -4605,7 +4605,7 @@ var evalRunCommand = command({
4605
4605
  },
4606
4606
  handler: async (args) => {
4607
4607
  if (args.evalPaths.length === 0 && process.stdin.isTTY) {
4608
- const { launchInteractiveWizard } = await import("./interactive-CQELHITQ.js");
4608
+ const { launchInteractiveWizard } = await import("./interactive-QFAAM4SI.js");
4609
4609
  await launchInteractiveWizard();
4610
4610
  return;
4611
4611
  }
@@ -15122,10 +15122,8 @@ var cleanCommand = command({
15122
15122
  const raw = await readFile8(metadataPath, "utf-8");
15123
15123
  const metadata = JSON.parse(raw);
15124
15124
  const hasRepo = metadata.repos?.some((r) => {
15125
- if (r.source.type === "git" && r.source.url) {
15126
- return r.source.url.toLowerCase().includes(repo.toLowerCase());
15127
- }
15128
- return false;
15125
+ const value = r.repo ?? (r.source?.type === "git" ? r.source.url : r.source?.path);
15126
+ return value?.toLowerCase().includes(repo.toLowerCase()) ?? false;
15129
15127
  });
15130
15128
  if (hasRepo) {
15131
15129
  matchingDirs.push(poolDir);
@@ -15190,14 +15188,17 @@ var depsCommand = command({
15190
15188
  const resolvedPaths = await resolveEvalPaths(evalPaths, cwd);
15191
15189
  const result = await scanRepoDeps(resolvedPaths);
15192
15190
  for (const err2 of result.errors) {
15193
- console.error(`warning: ${path30.relative(cwd, err2.file)}: ${err2.message}`);
15191
+ console.error(`error: ${path30.relative(cwd, err2.file)}: ${err2.message}`);
15192
+ }
15193
+ if (result.errors.length > 0) {
15194
+ process.exit(1);
15194
15195
  }
15195
15196
  const output = {
15196
15197
  repos: result.repos.map((r) => ({
15197
15198
  url: r.url,
15198
15199
  ...r.ref !== void 0 && { ref: r.ref },
15199
- ...r.clone !== void 0 && { clone: r.clone },
15200
- ...r.checkout !== void 0 && { checkout: r.checkout },
15200
+ ...r.sparse !== void 0 && { sparse: r.sparse },
15201
+ ...r.ancestor !== void 0 && { ancestor: r.ancestor },
15201
15202
  ...usedBy && { used_by: r.usedBy.map((p) => path30.relative(cwd, p)) }
15202
15203
  }))
15203
15204
  };
@@ -15270,7 +15271,7 @@ var listCommand = command({
15270
15271
  }
15271
15272
  if (metadata.repos && metadata.repos.length > 0) {
15272
15273
  const repoSources = metadata.repos.map(
15273
- (r) => r.source.type === "git" ? r.source.url : r.source.path
15274
+ (r) => r.repo ?? (r.source?.type === "git" ? r.source.url : r.source?.path)
15274
15275
  );
15275
15276
  console.log(` Repos: ${repoSources.join(", ")}`);
15276
15277
  }
@@ -15492,4 +15493,4 @@ export {
15492
15493
  preprocessArgv,
15493
15494
  runCli
15494
15495
  };
15495
- //# sourceMappingURL=chunk-P4LSNFZR.js.map
15496
+ //# sourceMappingURL=chunk-3G4BK6Z5.js.map