agentv 4.25.0 → 4.25.1-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-RFZXLCR7.js → artifact-writer-HGCLGCCA.js} +4 -4
- package/dist/{chunk-QHSB6LBN.js → chunk-5Z3QIGCT.js} +2 -2
- package/dist/{chunk-XGWXNNH6.js → chunk-BTHPLK43.js} +20 -7
- package/dist/chunk-BTHPLK43.js.map +1 -0
- package/dist/{chunk-Y7LMYQ7O.js → chunk-GTMCHUFE.js} +10 -10
- package/dist/chunk-GTMCHUFE.js.map +1 -0
- package/dist/{chunk-55KC6LD7.js → chunk-U3ZFVY5H.js} +6 -6
- package/dist/{chunk-FWDOW3TN.js → chunk-VBMGJOS6.js} +3 -3
- package/dist/cli.js +5 -5
- package/dist/{dist-6SR4U7SX.js → dist-ACKVXAB3.js} +3 -3
- package/dist/index.js +5 -5
- package/dist/{interactive-XF7C6MM5.js → interactive-PSICC3AF.js} +5 -5
- package/dist/{ts-eval-loader-F7Y5QBKH-RTDAVGXO.js → ts-eval-loader-4CFPGHGT-CVAN5S2D.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-XGWXNNH6.js.map +0 -1
- package/dist/chunk-Y7LMYQ7O.js.map +0 -1
- /package/dist/{artifact-writer-RFZXLCR7.js.map → artifact-writer-HGCLGCCA.js.map} +0 -0
- /package/dist/{chunk-QHSB6LBN.js.map → chunk-5Z3QIGCT.js.map} +0 -0
- /package/dist/{chunk-55KC6LD7.js.map → chunk-U3ZFVY5H.js.map} +0 -0
- /package/dist/{chunk-FWDOW3TN.js.map → chunk-VBMGJOS6.js.map} +0 -0
- /package/dist/{dist-6SR4U7SX.js.map → dist-ACKVXAB3.js.map} +0 -0
- /package/dist/{interactive-XF7C6MM5.js.map → interactive-PSICC3AF.js.map} +0 -0
- /package/dist/{ts-eval-loader-F7Y5QBKH-RTDAVGXO.js.map → ts-eval-loader-4CFPGHGT-CVAN5S2D.js.map} +0 -0
|
@@ -13,11 +13,11 @@ import {
|
|
|
13
13
|
writeArtifacts,
|
|
14
14
|
writeArtifactsFromResults,
|
|
15
15
|
writePerTestArtifacts
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-VBMGJOS6.js";
|
|
17
|
+
import "./chunk-5Z3QIGCT.js";
|
|
18
18
|
import "./chunk-QOBQ5XYF.js";
|
|
19
19
|
import "./chunk-BPGJ4HBU.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-BTHPLK43.js";
|
|
21
21
|
import "./chunk-ZKO2LGRR.js";
|
|
22
22
|
import "./chunk-NPVGBFF6.js";
|
|
23
23
|
import "./chunk-HQDCIXVH.js";
|
|
@@ -38,4 +38,4 @@ export {
|
|
|
38
38
|
writeArtifactsFromResults,
|
|
39
39
|
writePerTestArtifacts
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=artifact-writer-
|
|
41
|
+
//# sourceMappingURL=artifact-writer-HGCLGCCA.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
parseYamlValue,
|
|
13
13
|
toCamelCaseDeep,
|
|
14
14
|
toSnakeCaseDeep
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BTHPLK43.js";
|
|
16
16
|
|
|
17
17
|
// ../../packages/core/dist/index.js
|
|
18
18
|
import { readFileSync } from "node:fs";
|
|
@@ -2308,4 +2308,4 @@ export {
|
|
|
2308
2308
|
TranscriptProvider,
|
|
2309
2309
|
createAgentKernel
|
|
2310
2310
|
};
|
|
2311
|
-
//# sourceMappingURL=chunk-
|
|
2311
|
+
//# sourceMappingURL=chunk-5Z3QIGCT.js.map
|
|
@@ -417,7 +417,7 @@ __export(external_exports2, {
|
|
|
417
417
|
void: () => voidType
|
|
418
418
|
});
|
|
419
419
|
|
|
420
|
-
// ../../packages/core/dist/chunk-
|
|
420
|
+
// ../../packages/core/dist/chunk-6HLBKYE2.js
|
|
421
421
|
import { parse } from "yaml";
|
|
422
422
|
import { constants } from "node:fs";
|
|
423
423
|
import { access, readFile } from "node:fs/promises";
|
|
@@ -2142,8 +2142,21 @@ function resolveOptionalNumberArray(source, description) {
|
|
|
2142
2142
|
return resolved.length > 0 ? resolved : void 0;
|
|
2143
2143
|
}
|
|
2144
2144
|
var ENV_VAR_PATTERN = /\$\{\{\s*([A-Za-z_][A-Za-z0-9_]*)\s*\}\}/g;
|
|
2145
|
+
var WHOLE_VAR_PATTERN = /^\$\{\{\s*([A-Za-z_][A-Za-z0-9_]*)\s*\}\}$/;
|
|
2146
|
+
var PLAIN_NUMBER_PATTERN = /^-?(?:0|[1-9]\d*)(?:\.\d+)?$/;
|
|
2147
|
+
function coercePrimitive(value) {
|
|
2148
|
+
if (value === "true") return true;
|
|
2149
|
+
if (value === "false") return false;
|
|
2150
|
+
if (PLAIN_NUMBER_PATTERN.test(value)) return Number(value);
|
|
2151
|
+
return value;
|
|
2152
|
+
}
|
|
2145
2153
|
function interpolateEnv(value, env) {
|
|
2146
2154
|
if (typeof value === "string") {
|
|
2155
|
+
const wholeMatch = WHOLE_VAR_PATTERN.exec(value);
|
|
2156
|
+
if (wholeMatch) {
|
|
2157
|
+
const resolved = env[wholeMatch[1]] ?? "";
|
|
2158
|
+
return coercePrimitive(resolved);
|
|
2159
|
+
}
|
|
2147
2160
|
return value.replace(ENV_VAR_PATTERN, (_, varName) => env[varName] ?? "");
|
|
2148
2161
|
}
|
|
2149
2162
|
if (Array.isArray(value)) {
|
|
@@ -8286,7 +8299,7 @@ var _a20;
|
|
|
8286
8299
|
_a20 = symbol20;
|
|
8287
8300
|
var defaultDownload2 = createDownload();
|
|
8288
8301
|
|
|
8289
|
-
// ../../packages/core/dist/chunk-
|
|
8302
|
+
// ../../packages/core/dist/chunk-IXTJEXWN.js
|
|
8290
8303
|
import path46 from "node:path";
|
|
8291
8304
|
import { pathToFileURL as pathToFileURL2 } from "node:url";
|
|
8292
8305
|
import { existsSync as existsSync6 } from "node:fs";
|
|
@@ -12976,7 +12989,7 @@ var openrouter = createOpenRouter({
|
|
|
12976
12989
|
// strict for OpenRouter API
|
|
12977
12990
|
});
|
|
12978
12991
|
|
|
12979
|
-
// ../../packages/core/dist/chunk-
|
|
12992
|
+
// ../../packages/core/dist/chunk-IXTJEXWN.js
|
|
12980
12993
|
import { spawn } from "node:child_process";
|
|
12981
12994
|
import { randomUUID } from "node:crypto";
|
|
12982
12995
|
import { createWriteStream } from "node:fs";
|
|
@@ -14480,7 +14493,7 @@ var RequestError = class _RequestError extends Error {
|
|
|
14480
14493
|
}
|
|
14481
14494
|
};
|
|
14482
14495
|
|
|
14483
|
-
// ../../packages/core/dist/chunk-
|
|
14496
|
+
// ../../packages/core/dist/chunk-IXTJEXWN.js
|
|
14484
14497
|
import { exec as execCallback } from "node:child_process";
|
|
14485
14498
|
import { readdirSync, statSync } from "node:fs";
|
|
14486
14499
|
import { readFile as readFile22, readdir as readdir2, stat as stat2 } from "node:fs/promises";
|
|
@@ -30268,7 +30281,7 @@ async function loadTestSuite(evalFilePath, repoRoot, options) {
|
|
|
30268
30281
|
return { tests: await loadTestsFromAgentSkills(evalFilePath) };
|
|
30269
30282
|
}
|
|
30270
30283
|
if (format === "typescript") {
|
|
30271
|
-
const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-
|
|
30284
|
+
const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-4CFPGHGT-CVAN5S2D.js");
|
|
30272
30285
|
return loadTsEvalSuite2(evalFilePath, resolveToAbsolutePath(repoRoot), options);
|
|
30273
30286
|
}
|
|
30274
30287
|
const { tests, parsed, suiteWorkspacePath } = await loadTestsFromYaml(
|
|
@@ -30303,7 +30316,7 @@ async function loadTests(evalFilePath, repoRoot, options) {
|
|
|
30303
30316
|
return loadTestsFromAgentSkills(evalFilePath);
|
|
30304
30317
|
}
|
|
30305
30318
|
if (format === "typescript") {
|
|
30306
|
-
const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-
|
|
30319
|
+
const { loadTsEvalSuite: loadTsEvalSuite2 } = await import("./ts-eval-loader-4CFPGHGT-CVAN5S2D.js");
|
|
30307
30320
|
const suite = await loadTsEvalSuite2(evalFilePath, resolveToAbsolutePath(repoRoot), options);
|
|
30308
30321
|
return suite.tests;
|
|
30309
30322
|
}
|
|
@@ -34140,4 +34153,4 @@ export {
|
|
|
34140
34153
|
loadTsEvalFile,
|
|
34141
34154
|
loadTsEvalSuite
|
|
34142
34155
|
};
|
|
34143
|
-
//# sourceMappingURL=chunk-
|
|
34156
|
+
//# sourceMappingURL=chunk-BTHPLK43.js.map
|