@agentv/core 4.30.0-next.1 → 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/{chunk-Z2BBOGE4.js → chunk-QY6BS2V4.js} +10 -27
- package/dist/{chunk-Z2BBOGE4.js.map → chunk-QY6BS2V4.js.map} +1 -1
- package/dist/evaluation/validation/index.cjs +32 -44
- package/dist/evaluation/validation/index.cjs.map +1 -1
- package/dist/evaluation/validation/index.js +32 -44
- package/dist/evaluation/validation/index.js.map +1 -1
- package/dist/index.cjs +18 -35
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -14
- package/dist/index.d.ts +12 -14
- package/dist/index.js +11 -11
- package/dist/index.js.map +1 -1
- package/dist/{ts-eval-loader-JL5DGTJL.js → ts-eval-loader-TWWSN6OX.js} +2 -2
- package/package.json +1 -1
- /package/dist/{ts-eval-loader-JL5DGTJL.js.map → ts-eval-loader-TWWSN6OX.js.map} +0 -0
|
@@ -1462,50 +1462,38 @@ async function validateConfigFile(filePath) {
|
|
|
1462
1462
|
message: "Field 'results' must be an object"
|
|
1463
1463
|
});
|
|
1464
1464
|
} else {
|
|
1465
|
-
const
|
|
1466
|
-
if (
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
message: "Field 'results.export.auto_push' must be a boolean"
|
|
1498
|
-
});
|
|
1499
|
-
}
|
|
1500
|
-
if (exportRecord.branch_prefix !== void 0 && (typeof exportRecord.branch_prefix !== "string" || exportRecord.branch_prefix.trim().length === 0)) {
|
|
1501
|
-
errors.push({
|
|
1502
|
-
severity: "error",
|
|
1503
|
-
filePath,
|
|
1504
|
-
location: "results.export.branch_prefix",
|
|
1505
|
-
message: "Field 'results.export.branch_prefix' must be a non-empty string"
|
|
1506
|
-
});
|
|
1507
|
-
}
|
|
1508
|
-
}
|
|
1465
|
+
const resultsRecord = results;
|
|
1466
|
+
if (typeof resultsRecord.repo !== "string" || resultsRecord.repo.trim().length === 0) {
|
|
1467
|
+
errors.push({
|
|
1468
|
+
severity: "error",
|
|
1469
|
+
filePath,
|
|
1470
|
+
location: "results.repo",
|
|
1471
|
+
message: "Field 'results.repo' must be a non-empty string"
|
|
1472
|
+
});
|
|
1473
|
+
}
|
|
1474
|
+
if (typeof resultsRecord.path !== "string" || resultsRecord.path.trim().length === 0) {
|
|
1475
|
+
errors.push({
|
|
1476
|
+
severity: "error",
|
|
1477
|
+
filePath,
|
|
1478
|
+
location: "results.path",
|
|
1479
|
+
message: "Field 'results.path' must be a non-empty string"
|
|
1480
|
+
});
|
|
1481
|
+
}
|
|
1482
|
+
if (resultsRecord.auto_push !== void 0 && typeof resultsRecord.auto_push !== "boolean") {
|
|
1483
|
+
errors.push({
|
|
1484
|
+
severity: "error",
|
|
1485
|
+
filePath,
|
|
1486
|
+
location: "results.auto_push",
|
|
1487
|
+
message: "Field 'results.auto_push' must be a boolean"
|
|
1488
|
+
});
|
|
1489
|
+
}
|
|
1490
|
+
if (resultsRecord.branch_prefix !== void 0 && (typeof resultsRecord.branch_prefix !== "string" || resultsRecord.branch_prefix.trim().length === 0)) {
|
|
1491
|
+
errors.push({
|
|
1492
|
+
severity: "error",
|
|
1493
|
+
filePath,
|
|
1494
|
+
location: "results.branch_prefix",
|
|
1495
|
+
message: "Field 'results.branch_prefix' must be a non-empty string"
|
|
1496
|
+
});
|
|
1509
1497
|
}
|
|
1510
1498
|
}
|
|
1511
1499
|
}
|