agentv 4.30.0 → 4.31.0-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.
Files changed (26) hide show
  1. package/dist/{artifact-writer-JJLJUUUY.js → artifact-writer-K4B2S7OE.js} +4 -4
  2. package/dist/{chunk-L3FMZXCD.js → chunk-2Z2V7RJO.js} +12 -29
  3. package/dist/{chunk-L3FMZXCD.js.map → chunk-2Z2V7RJO.js.map} +1 -1
  4. package/dist/{chunk-B2YJVU72.js → chunk-BCZHBAUK.js} +43 -55
  5. package/dist/chunk-BCZHBAUK.js.map +1 -0
  6. package/dist/{chunk-YFVD6FC6.js → chunk-BMSSZSND.js} +3 -3
  7. package/dist/{chunk-LUZRCQNH.js → chunk-FLSABQ33.js} +12 -12
  8. package/dist/chunk-FLSABQ33.js.map +1 -0
  9. package/dist/{chunk-J4AMO3MD.js → chunk-NACNTFNH.js} +9 -9
  10. package/dist/{chunk-J4AMO3MD.js.map → chunk-NACNTFNH.js.map} +1 -1
  11. package/dist/cli.js +5 -5
  12. package/dist/{dist-GYCHDLTZ.js → dist-2E6ZNN32.js} +5 -5
  13. package/dist/index.js +5 -5
  14. package/dist/{interactive-DIQOOZX4.js → interactive-22PLS22Z.js} +5 -5
  15. package/dist/studio/assets/{index-SVeKAE-f.js → index-Bh_LwYWq.js} +1 -1
  16. package/dist/studio/assets/{index-BUmBj4ej.js → index-DsVyXC9S.js} +1 -1
  17. package/dist/studio/index.html +1 -1
  18. package/dist/{ts-eval-loader-JL5DGTJL-U5LTKGOE.js → ts-eval-loader-TWWSN6OX-VRZ43CUR.js} +2 -2
  19. package/package.json +1 -1
  20. package/dist/chunk-B2YJVU72.js.map +0 -1
  21. package/dist/chunk-LUZRCQNH.js.map +0 -1
  22. /package/dist/{artifact-writer-JJLJUUUY.js.map → artifact-writer-K4B2S7OE.js.map} +0 -0
  23. /package/dist/{chunk-YFVD6FC6.js.map → chunk-BMSSZSND.js.map} +0 -0
  24. /package/dist/{dist-GYCHDLTZ.js.map → dist-2E6ZNN32.js.map} +0 -0
  25. /package/dist/{interactive-DIQOOZX4.js.map → interactive-22PLS22Z.js.map} +0 -0
  26. /package/dist/{ts-eval-loader-JL5DGTJL-U5LTKGOE.js.map → ts-eval-loader-TWWSN6OX-VRZ43CUR.js.map} +0 -0
@@ -16,7 +16,7 @@ import {
16
16
  toSnakeCaseDeep,
17
17
  writeArtifactsFromResults,
18
18
  writeInitialBenchmarkArtifact
19
- } from "./chunk-YFVD6FC6.js";
19
+ } from "./chunk-BMSSZSND.js";
20
20
  import {
21
21
  ResponseCache,
22
22
  RunBudgetTracker,
@@ -29,7 +29,7 @@ import {
29
29
  shouldEnableCache,
30
30
  shouldSkipCacheForTemperature,
31
31
  syncResultsRepo
32
- } from "./chunk-LUZRCQNH.js";
32
+ } from "./chunk-FLSABQ33.js";
33
33
  import {
34
34
  CLI_PLACEHOLDERS,
35
35
  COMMON_TARGET_SETTINGS,
@@ -61,7 +61,7 @@ import {
61
61
  subscribeToCopilotSdkLogEntries,
62
62
  subscribeToPiLogEntries,
63
63
  toCamelCaseDeep
64
- } from "./chunk-L3FMZXCD.js";
64
+ } from "./chunk-2Z2V7RJO.js";
65
65
 
66
66
  // src/commands/eval/shared.ts
67
67
  import { constants } from "node:fs";
@@ -177,7 +177,7 @@ async function findRepoRoot(start) {
177
177
  // package.json
178
178
  var package_default = {
179
179
  name: "agentv",
180
- version: "4.30.0",
180
+ version: "4.31.0-next.1",
181
181
  description: "CLI entry point for AgentV",
182
182
  type: "module",
183
183
  repository: {
@@ -1079,7 +1079,7 @@ var SIZE_WARNING_BYTES = 10 * 1024 * 1024;
1079
1079
  function getStatusMessage(error) {
1080
1080
  return error instanceof Error ? error.message : String(error);
1081
1081
  }
1082
- function normalizeResultsExportConfig(config) {
1082
+ function normalizeResultsConfig(config) {
1083
1083
  return {
1084
1084
  repo: config.repo,
1085
1085
  path: config.path,
@@ -1113,10 +1113,10 @@ async function maybeWarnLargeArtifact(runDir) {
1113
1113
  async function loadNormalizedResultsConfig(cwd) {
1114
1114
  const repoRoot = await findRepoRoot(cwd) ?? cwd;
1115
1115
  const config = await loadConfig(path5.join(cwd, "_"), repoRoot);
1116
- if (!config?.results?.export) {
1116
+ if (!config?.results) {
1117
1117
  return void 0;
1118
1118
  }
1119
- return normalizeResultsExportConfig(config.results.export);
1119
+ return normalizeResultsConfig(config.results);
1120
1120
  }
1121
1121
  function encodeRemoteRunId(filename) {
1122
1122
  return `${REMOTE_RUN_PREFIX}${filename}`;
@@ -4204,50 +4204,38 @@ async function validateConfigFile(filePath) {
4204
4204
  message: "Field 'results' must be an object"
4205
4205
  });
4206
4206
  } else {
4207
- const exportConfig = results.export;
4208
- if (exportConfig !== void 0) {
4209
- if (typeof exportConfig !== "object" || exportConfig === null || Array.isArray(exportConfig)) {
4210
- errors.push({
4211
- severity: "error",
4212
- filePath,
4213
- location: "results.export",
4214
- message: "Field 'results.export' must be an object"
4215
- });
4216
- } else {
4217
- const exportRecord = exportConfig;
4218
- if (typeof exportRecord.repo !== "string" || exportRecord.repo.trim().length === 0) {
4219
- errors.push({
4220
- severity: "error",
4221
- filePath,
4222
- location: "results.export.repo",
4223
- message: "Field 'results.export.repo' must be a non-empty string"
4224
- });
4225
- }
4226
- if (typeof exportRecord.path !== "string" || exportRecord.path.trim().length === 0) {
4227
- errors.push({
4228
- severity: "error",
4229
- filePath,
4230
- location: "results.export.path",
4231
- message: "Field 'results.export.path' must be a non-empty string"
4232
- });
4233
- }
4234
- if (exportRecord.auto_push !== void 0 && typeof exportRecord.auto_push !== "boolean") {
4235
- errors.push({
4236
- severity: "error",
4237
- filePath,
4238
- location: "results.export.auto_push",
4239
- message: "Field 'results.export.auto_push' must be a boolean"
4240
- });
4241
- }
4242
- if (exportRecord.branch_prefix !== void 0 && (typeof exportRecord.branch_prefix !== "string" || exportRecord.branch_prefix.trim().length === 0)) {
4243
- errors.push({
4244
- severity: "error",
4245
- filePath,
4246
- location: "results.export.branch_prefix",
4247
- message: "Field 'results.export.branch_prefix' must be a non-empty string"
4248
- });
4249
- }
4250
- }
4207
+ const resultsRecord = results;
4208
+ if (typeof resultsRecord.repo !== "string" || resultsRecord.repo.trim().length === 0) {
4209
+ errors.push({
4210
+ severity: "error",
4211
+ filePath,
4212
+ location: "results.repo",
4213
+ message: "Field 'results.repo' must be a non-empty string"
4214
+ });
4215
+ }
4216
+ if (typeof resultsRecord.path !== "string" || resultsRecord.path.trim().length === 0) {
4217
+ errors.push({
4218
+ severity: "error",
4219
+ filePath,
4220
+ location: "results.path",
4221
+ message: "Field 'results.path' must be a non-empty string"
4222
+ });
4223
+ }
4224
+ if (resultsRecord.auto_push !== void 0 && typeof resultsRecord.auto_push !== "boolean") {
4225
+ errors.push({
4226
+ severity: "error",
4227
+ filePath,
4228
+ location: "results.auto_push",
4229
+ message: "Field 'results.auto_push' must be a boolean"
4230
+ });
4231
+ }
4232
+ if (resultsRecord.branch_prefix !== void 0 && (typeof resultsRecord.branch_prefix !== "string" || resultsRecord.branch_prefix.trim().length === 0)) {
4233
+ errors.push({
4234
+ severity: "error",
4235
+ filePath,
4236
+ location: "results.branch_prefix",
4237
+ message: "Field 'results.branch_prefix' must be a non-empty string"
4238
+ });
4251
4239
  }
4252
4240
  }
4253
4241
  }
@@ -5480,7 +5468,7 @@ async function runEvalCommand(input) {
5480
5468
  const useFileExport = !!options.otelFile;
5481
5469
  if (options.exportOtel || useFileExport) {
5482
5470
  try {
5483
- const { OtelTraceExporter, OTEL_BACKEND_PRESETS } = await import("./dist-GYCHDLTZ.js");
5471
+ const { OtelTraceExporter, OTEL_BACKEND_PRESETS } = await import("./dist-2E6ZNN32.js");
5484
5472
  let endpoint = process.env.OTEL_EXPORTER_OTLP_ENDPOINT;
5485
5473
  let headers = {};
5486
5474
  if (options.otelBackend) {
@@ -5679,7 +5667,7 @@ async function runEvalCommand(input) {
5679
5667
  const activeTestFiles = resolvedTestFiles.filter((f) => fileMetadata.has(f));
5680
5668
  let transcriptProviderFactory;
5681
5669
  if (options.transcript) {
5682
- const { TranscriptProvider } = await import("./dist-GYCHDLTZ.js");
5670
+ const { TranscriptProvider } = await import("./dist-2E6ZNN32.js");
5683
5671
  const transcriptProvider = await TranscriptProvider.fromFile(options.transcript);
5684
5672
  const totalTests = [...fileMetadata.values()].reduce(
5685
5673
  (sum, meta) => sum + meta.testCases.length,
@@ -5856,7 +5844,7 @@ async function runEvalCommand(input) {
5856
5844
  if (usesDefaultArtifactWorkspace && allResults.length > 0) {
5857
5845
  const evalFile = activeTestFiles.length === 1 ? activeTestFiles[0] : "";
5858
5846
  if (isResumeAppend) {
5859
- const { writePerTestArtifacts } = await import("./artifact-writer-JJLJUUUY.js");
5847
+ const { writePerTestArtifacts } = await import("./artifact-writer-K4B2S7OE.js");
5860
5848
  await writePerTestArtifacts(allResults, runDir, {
5861
5849
  experiment: normalizeExperimentName(options.experiment)
5862
5850
  });
@@ -6080,4 +6068,4 @@ export {
6080
6068
  getCategories,
6081
6069
  filterByCategory
6082
6070
  };
6083
- //# sourceMappingURL=chunk-B2YJVU72.js.map
6071
+ //# sourceMappingURL=chunk-BCZHBAUK.js.map