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.
- package/dist/{artifact-writer-JJLJUUUY.js → artifact-writer-K4B2S7OE.js} +4 -4
- package/dist/{chunk-L3FMZXCD.js → chunk-2Z2V7RJO.js} +12 -29
- package/dist/{chunk-L3FMZXCD.js.map → chunk-2Z2V7RJO.js.map} +1 -1
- package/dist/{chunk-B2YJVU72.js → chunk-BCZHBAUK.js} +43 -55
- package/dist/chunk-BCZHBAUK.js.map +1 -0
- package/dist/{chunk-YFVD6FC6.js → chunk-BMSSZSND.js} +3 -3
- package/dist/{chunk-LUZRCQNH.js → chunk-FLSABQ33.js} +12 -12
- package/dist/chunk-FLSABQ33.js.map +1 -0
- package/dist/{chunk-J4AMO3MD.js → chunk-NACNTFNH.js} +9 -9
- package/dist/{chunk-J4AMO3MD.js.map → chunk-NACNTFNH.js.map} +1 -1
- package/dist/cli.js +5 -5
- package/dist/{dist-GYCHDLTZ.js → dist-2E6ZNN32.js} +5 -5
- package/dist/index.js +5 -5
- package/dist/{interactive-DIQOOZX4.js → interactive-22PLS22Z.js} +5 -5
- package/dist/studio/assets/{index-SVeKAE-f.js → index-Bh_LwYWq.js} +1 -1
- package/dist/studio/assets/{index-BUmBj4ej.js → index-DsVyXC9S.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{ts-eval-loader-JL5DGTJL-U5LTKGOE.js → ts-eval-loader-TWWSN6OX-VRZ43CUR.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-B2YJVU72.js.map +0 -1
- package/dist/chunk-LUZRCQNH.js.map +0 -1
- /package/dist/{artifact-writer-JJLJUUUY.js.map → artifact-writer-K4B2S7OE.js.map} +0 -0
- /package/dist/{chunk-YFVD6FC6.js.map → chunk-BMSSZSND.js.map} +0 -0
- /package/dist/{dist-GYCHDLTZ.js.map → dist-2E6ZNN32.js.map} +0 -0
- /package/dist/{interactive-DIQOOZX4.js.map → interactive-22PLS22Z.js.map} +0 -0
- /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-
|
|
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-
|
|
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-
|
|
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.
|
|
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
|
|
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
|
|
1116
|
+
if (!config?.results) {
|
|
1117
1117
|
return void 0;
|
|
1118
1118
|
}
|
|
1119
|
-
return
|
|
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
|
|
4208
|
-
if (
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
|
|
4236
|
-
|
|
4237
|
-
|
|
4238
|
-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
6071
|
+
//# sourceMappingURL=chunk-BCZHBAUK.js.map
|