agentv 4.36.0-next.1 → 4.37.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 (29) hide show
  1. package/dist/{artifact-writer-3YRN6YTA.js → artifact-writer-GFNKYREE.js} +4 -4
  2. package/dist/{chunk-7KZ2AF26.js → chunk-M7AMFWBZ.js} +17 -12
  3. package/dist/{chunk-7KZ2AF26.js.map → chunk-M7AMFWBZ.js.map} +1 -1
  4. package/dist/{chunk-HVBAVOAH.js → chunk-N6E5XFOM.js} +152 -46
  5. package/dist/chunk-N6E5XFOM.js.map +1 -0
  6. package/dist/{chunk-P5JONEWJ.js → chunk-OYI35QFW.js} +85 -16
  7. package/dist/{chunk-P5JONEWJ.js.map → chunk-OYI35QFW.js.map} +1 -1
  8. package/dist/{chunk-4M6FAQTW.js → chunk-P4LSNFZR.js} +6 -6
  9. package/dist/{chunk-TUTURE2B.js → chunk-RL4S2FBZ.js} +1530 -141
  10. package/dist/chunk-RL4S2FBZ.js.map +1 -0
  11. package/dist/cli.js +5 -5
  12. package/dist/dashboard/assets/index-9tV-u4HJ.css +1 -0
  13. package/dist/dashboard/assets/{index-l4t97uO8.js → index-BDRYJsGF.js} +1 -1
  14. package/dist/dashboard/assets/index-DuESU7zZ.js +118 -0
  15. package/dist/dashboard/index.html +2 -2
  16. package/dist/{dist-BSFUYS54.js → dist-OY3JSP6Z.js} +55 -3
  17. package/dist/index.js +5 -5
  18. package/dist/{interactive-IEC63EVP.js → interactive-CQELHITQ.js} +5 -5
  19. package/dist/{ts-eval-loader-4DU65XGW-YM47FFG2.js → ts-eval-loader-RBTB2HG2-H5TRXZLO.js} +2 -2
  20. package/package.json +1 -1
  21. package/dist/chunk-HVBAVOAH.js.map +0 -1
  22. package/dist/chunk-TUTURE2B.js.map +0 -1
  23. package/dist/dashboard/assets/index-DA96FAM5.js +0 -119
  24. package/dist/dashboard/assets/index-nmrFBoNd.css +0 -1
  25. /package/dist/{artifact-writer-3YRN6YTA.js.map → artifact-writer-GFNKYREE.js.map} +0 -0
  26. /package/dist/{chunk-4M6FAQTW.js.map → chunk-P4LSNFZR.js.map} +0 -0
  27. /package/dist/{dist-BSFUYS54.js.map → dist-OY3JSP6Z.js.map} +0 -0
  28. /package/dist/{interactive-IEC63EVP.js.map → interactive-CQELHITQ.js.map} +0 -0
  29. /package/dist/{ts-eval-loader-4DU65XGW-YM47FFG2.js.map → ts-eval-loader-RBTB2HG2-H5TRXZLO.js.map} +0 -0
@@ -14,11 +14,11 @@ import {
14
14
  writeArtifactsFromResults,
15
15
  writeInitialBenchmarkArtifact,
16
16
  writePerTestArtifacts
17
- } from "./chunk-HVBAVOAH.js";
18
- import "./chunk-P5JONEWJ.js";
17
+ } from "./chunk-N6E5XFOM.js";
18
+ import "./chunk-OYI35QFW.js";
19
19
  import "./chunk-QOBQ5XYF.js";
20
20
  import "./chunk-BPGJ4HBU.js";
21
- import "./chunk-TUTURE2B.js";
21
+ import "./chunk-RL4S2FBZ.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-3YRN6YTA.js.map
41
+ //# sourceMappingURL=artifact-writer-GFNKYREE.js.map
@@ -16,7 +16,7 @@ import {
16
16
  toSnakeCaseDeep as toSnakeCaseDeep2,
17
17
  writeArtifactsFromResults,
18
18
  writeInitialBenchmarkArtifact
19
- } from "./chunk-HVBAVOAH.js";
19
+ } from "./chunk-N6E5XFOM.js";
20
20
  import {
21
21
  RunBudgetTracker,
22
22
  buildWipBranchName,
@@ -36,7 +36,7 @@ import {
36
36
  setupWipWorktree,
37
37
  syncResultsRepoForProject,
38
38
  traceFromTranscriptJsonLines
39
- } from "./chunk-P5JONEWJ.js";
39
+ } from "./chunk-OYI35QFW.js";
40
40
  import {
41
41
  CLI_PLACEHOLDERS,
42
42
  COMMON_TARGET_SETTINGS,
@@ -74,7 +74,7 @@ import {
74
74
  subscribeToPiLogEntries,
75
75
  toCamelCaseDeep,
76
76
  toSnakeCaseDeep
77
- } from "./chunk-TUTURE2B.js";
77
+ } from "./chunk-RL4S2FBZ.js";
78
78
 
79
79
  // src/commands/eval/shared.ts
80
80
  import { constants } from "node:fs";
@@ -190,7 +190,7 @@ async function findRepoRoot(start) {
190
190
  // package.json
191
191
  var package_default = {
192
192
  name: "agentv",
193
- version: "4.36.0-next.1",
193
+ version: "4.37.0-next.1",
194
194
  description: "CLI entry point for AgentV",
195
195
  type: "module",
196
196
  repository: {
@@ -3433,6 +3433,7 @@ var COPILOT_SDK_SETTINGS = /* @__PURE__ */ new Set([
3433
3433
  "log_format",
3434
3434
  "stream_log",
3435
3435
  "system_prompt",
3436
+ "custom_provider",
3436
3437
  "byok"
3437
3438
  ]);
3438
3439
  var COPILOT_CLI_SETTINGS = /* @__PURE__ */ new Set([
@@ -3448,7 +3449,8 @@ var COPILOT_CLI_SETTINGS = /* @__PURE__ */ new Set([
3448
3449
  "log_dir",
3449
3450
  "log_format",
3450
3451
  "stream_log",
3451
- "system_prompt"
3452
+ "system_prompt",
3453
+ "custom_provider"
3452
3454
  ]);
3453
3455
  var VSCODE_SETTINGS = /* @__PURE__ */ new Set([
3454
3456
  ...COMMON_SETTINGS,
@@ -3467,6 +3469,7 @@ var MOCK_SETTINGS = /* @__PURE__ */ new Set([
3467
3469
  var REPLAY_SETTINGS = /* @__PURE__ */ new Set([
3468
3470
  ...COMMON_SETTINGS,
3469
3471
  "fixtures",
3472
+ "trace_envelopes",
3470
3473
  "source_target",
3471
3474
  "suite",
3472
3475
  "eval_path",
@@ -3811,12 +3814,14 @@ async function validateTargetsFile(filePath) {
3811
3814
  validateCliSettings(target, absolutePath, location, errors);
3812
3815
  }
3813
3816
  if (providerValue === "replay") {
3814
- if (!isNonEmptyString(target.fixtures)) {
3817
+ const hasFixtures = isNonEmptyString(target.fixtures);
3818
+ const hasTraceEnvelopes = isNonEmptyString(target.trace_envelopes);
3819
+ if (hasFixtures === hasTraceEnvelopes) {
3815
3820
  errors.push({
3816
3821
  severity: "error",
3817
3822
  filePath: absolutePath,
3818
- location: `${location}.fixtures`,
3819
- message: "Replay provider requires 'fixtures' as a non-empty string"
3823
+ location,
3824
+ message: "Replay provider requires exactly one replay source: 'fixtures' or 'trace_envelopes'"
3820
3825
  });
3821
3826
  }
3822
3827
  if (!isNonEmptyString(target.source_target)) {
@@ -5551,7 +5556,7 @@ async function runEvalCommand(input) {
5551
5556
  const useFileExport = !!options.otelFile;
5552
5557
  if (options.exportOtel || useFileExport) {
5553
5558
  try {
5554
- const { OtelTraceExporter, OTEL_BACKEND_PRESETS } = await import("./dist-BSFUYS54.js");
5559
+ const { OtelTraceExporter, OTEL_BACKEND_PRESETS } = await import("./dist-OY3JSP6Z.js");
5555
5560
  let endpoint = process.env.OTEL_EXPORTER_OTLP_ENDPOINT;
5556
5561
  let headers = {};
5557
5562
  if (options.otelBackend) {
@@ -5747,7 +5752,7 @@ async function runEvalCommand(input) {
5747
5752
  const activeTestFiles = resolvedTestFiles.filter((f) => fileMetadata.has(f));
5748
5753
  let transcriptProviderFactory;
5749
5754
  if (options.transcript) {
5750
- const { TranscriptProvider } = await import("./dist-BSFUYS54.js");
5755
+ const { TranscriptProvider } = await import("./dist-OY3JSP6Z.js");
5751
5756
  const transcriptProvider = await TranscriptProvider.fromFile(options.transcript);
5752
5757
  const totalTests = [...fileMetadata.values()].reduce(
5753
5758
  (sum, meta) => sum + meta.testCases.length,
@@ -5963,7 +5968,7 @@ async function runEvalCommand(input) {
5963
5968
  );
5964
5969
  const taskBundleTargets = buildTaskBundleTargetSelections(activeTestFiles, fileMetadata);
5965
5970
  if (isResumeAppend) {
5966
- const { writePerTestArtifacts } = await import("./artifact-writer-3YRN6YTA.js");
5971
+ const { writePerTestArtifacts } = await import("./artifact-writer-GFNKYREE.js");
5967
5972
  await writePerTestArtifacts(allResults, runDir, {
5968
5973
  experiment: normalizeExperimentName(options.experiment),
5969
5974
  cwd,
@@ -6198,4 +6203,4 @@ export {
6198
6203
  getCategories,
6199
6204
  filterByCategory
6200
6205
  };
6201
- //# sourceMappingURL=chunk-7KZ2AF26.js.map
6206
+ //# sourceMappingURL=chunk-M7AMFWBZ.js.map