agentv 3.6.0 → 3.7.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.
@@ -16,7 +16,7 @@ import {
16
16
  validateEvalFile,
17
17
  validateFileReferences,
18
18
  validateTargetsFile
19
- } from "./chunk-UU5N43YS.js";
19
+ } from "./chunk-7YS6YNJZ.js";
20
20
  import {
21
21
  createBuiltinRegistry,
22
22
  createProvider,
@@ -34,7 +34,7 @@ import {
34
34
  toSnakeCaseDeep as toSnakeCaseDeep2,
35
35
  transpileEvalYamlFile,
36
36
  trimBaselineResult
37
- } from "./chunk-K4RXLQWV.js";
37
+ } from "./chunk-XGG64VIY.js";
38
38
  import {
39
39
  __commonJS,
40
40
  __esm,
@@ -4184,7 +4184,7 @@ var evalRunCommand = command({
4184
4184
  },
4185
4185
  handler: async (args) => {
4186
4186
  if (args.evalPaths.length === 0 && process.stdin.isTTY) {
4187
- const { launchInteractiveWizard } = await import("./interactive-5S4ILY2Y.js");
4187
+ const { launchInteractiveWizard } = await import("./interactive-F6XECJ33.js");
4188
4188
  await launchInteractiveWizard();
4189
4189
  return;
4190
4190
  }
@@ -5220,9 +5220,8 @@ var traceScoreCommand = command({
5220
5220
  function renderFlatTrace(result) {
5221
5221
  const trace = result.trace;
5222
5222
  const parts = [];
5223
- if (trace?.tool_names && trace.tool_names.length > 0) {
5224
- const toolParts = trace.tool_names.map((name) => {
5225
- const count = trace.tool_calls_by_name?.[name] ?? 0;
5223
+ if (trace?.tool_calls && Object.keys(trace.tool_calls).length > 0) {
5224
+ const toolParts = Object.entries(trace.tool_calls).map(([name, count]) => {
5226
5225
  return count > 1 ? `${name} \xD7${count}` : name;
5227
5226
  });
5228
5227
  parts.push(`Tools: ${toolParts.join(", ")}`);
@@ -6277,4 +6276,4 @@ export {
6277
6276
  preprocessArgv,
6278
6277
  runCli
6279
6278
  };
6280
- //# sourceMappingURL=chunk-IP5BO54H.js.map
6279
+ //# sourceMappingURL=chunk-TR6H437M.js.map