agentv 4.15.2-next.1 → 4.15.3-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-ZO4VTVKQ.js → chunk-CDY43POD.js} +3 -3
- package/dist/{chunk-O4RLSNIR.js → chunk-T4WCAGSF.js} +19 -15
- package/dist/chunk-T4WCAGSF.js.map +1 -0
- package/dist/cli.js +2 -2
- package/dist/index.js +2 -2
- package/dist/{interactive-ULCAOSHJ.js → interactive-CN53IT4O.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-O4RLSNIR.js.map +0 -1
- /package/dist/{chunk-ZO4VTVKQ.js.map → chunk-CDY43POD.js.map} +0 -0
- /package/dist/{interactive-ULCAOSHJ.js.map → interactive-CN53IT4O.js.map} +0 -0
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
validateFileReferences,
|
|
43
43
|
validateTargetsFile,
|
|
44
44
|
writeArtifactsFromResults
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-T4WCAGSF.js";
|
|
46
46
|
import {
|
|
47
47
|
DEFAULT_CATEGORY,
|
|
48
48
|
DEFAULT_THRESHOLD,
|
|
@@ -3912,7 +3912,7 @@ var evalRunCommand = command({
|
|
|
3912
3912
|
},
|
|
3913
3913
|
handler: async (args) => {
|
|
3914
3914
|
if (args.evalPaths.length === 0 && process.stdin.isTTY) {
|
|
3915
|
-
const { launchInteractiveWizard } = await import("./interactive-
|
|
3915
|
+
const { launchInteractiveWizard } = await import("./interactive-CN53IT4O.js");
|
|
3916
3916
|
await launchInteractiveWizard();
|
|
3917
3917
|
return;
|
|
3918
3918
|
}
|
|
@@ -10061,4 +10061,4 @@ export {
|
|
|
10061
10061
|
preprocessArgv,
|
|
10062
10062
|
runCli
|
|
10063
10063
|
};
|
|
10064
|
-
//# sourceMappingURL=chunk-
|
|
10064
|
+
//# sourceMappingURL=chunk-CDY43POD.js.map
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
// package.json
|
|
48
48
|
var package_default = {
|
|
49
49
|
name: "agentv",
|
|
50
|
-
version: "4.15.
|
|
50
|
+
version: "4.15.3-next.1",
|
|
51
51
|
description: "CLI entry point for AgentV",
|
|
52
52
|
type: "module",
|
|
53
53
|
repository: {
|
|
@@ -127,7 +127,6 @@ async function resolveEvalPaths(evalPaths, cwd) {
|
|
|
127
127
|
if (includePatterns.length === 0) {
|
|
128
128
|
throw new Error("No eval paths provided (only negation patterns found).");
|
|
129
129
|
}
|
|
130
|
-
const unmatched = [];
|
|
131
130
|
const results = /* @__PURE__ */ new Set();
|
|
132
131
|
for (const pattern of includePatterns) {
|
|
133
132
|
const candidatePath = path.isAbsolute(pattern) ? path.normalize(pattern) : path.resolve(cwd, pattern);
|
|
@@ -147,12 +146,8 @@ async function resolveEvalPaths(evalPaths, cwd) {
|
|
|
147
146
|
followSymbolicLinks: true,
|
|
148
147
|
ignore: ignorePatterns
|
|
149
148
|
});
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
} else {
|
|
153
|
-
for (const filePath of dirMatches) {
|
|
154
|
-
results.add(path.normalize(filePath));
|
|
155
|
-
}
|
|
149
|
+
for (const filePath of dirMatches) {
|
|
150
|
+
results.add(path.normalize(filePath));
|
|
156
151
|
}
|
|
157
152
|
continue;
|
|
158
153
|
}
|
|
@@ -169,17 +164,26 @@ async function resolveEvalPaths(evalPaths, cwd) {
|
|
|
169
164
|
ignore: ignorePatterns
|
|
170
165
|
});
|
|
171
166
|
const yamlMatches = matches.filter((filePath) => /\.(ya?ml|jsonl|json)$/i.test(filePath));
|
|
172
|
-
if (yamlMatches.length === 0) {
|
|
173
|
-
unmatched.push(pattern);
|
|
174
|
-
continue;
|
|
175
|
-
}
|
|
176
167
|
for (const filePath of yamlMatches) {
|
|
177
168
|
results.add(path.normalize(filePath));
|
|
178
169
|
}
|
|
179
170
|
}
|
|
180
|
-
if (
|
|
171
|
+
if (ignorePatterns.length > 0 && results.size > 0) {
|
|
172
|
+
const ignoredMatches = await fg(ignorePatterns, {
|
|
173
|
+
cwd,
|
|
174
|
+
absolute: true,
|
|
175
|
+
onlyFiles: true,
|
|
176
|
+
unique: true,
|
|
177
|
+
dot: true,
|
|
178
|
+
followSymbolicLinks: true
|
|
179
|
+
});
|
|
180
|
+
for (const filePath of ignoredMatches) {
|
|
181
|
+
results.delete(path.normalize(filePath));
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
if (results.size === 0) {
|
|
181
185
|
throw new Error(
|
|
182
|
-
`No eval files matched: ${
|
|
186
|
+
`No eval files matched any provided paths or globs: ${includePatterns.join(
|
|
183
187
|
", "
|
|
184
188
|
)}. Provide YAML, JSONL, or JSON paths or globs (e.g., "evals/**/*.yaml", "evals/**/*.jsonl", "evals.json").`
|
|
185
189
|
);
|
|
@@ -5866,4 +5870,4 @@ export {
|
|
|
5866
5870
|
getCategories,
|
|
5867
5871
|
filterByCategory
|
|
5868
5872
|
};
|
|
5869
|
-
//# sourceMappingURL=chunk-
|
|
5873
|
+
//# sourceMappingURL=chunk-T4WCAGSF.js.map
|