agentv 4.15.6 → 4.15.7
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-FZA7AWRQ.js → chunk-AM3GKJEC.js} +5 -5
- package/dist/{chunk-FZA7AWRQ.js.map → chunk-AM3GKJEC.js.map} +1 -1
- package/dist/{chunk-NH56CTFS.js → chunk-FBF5P33F.js} +4 -4
- package/dist/{chunk-FS2VJLII.js → chunk-Z26ZTLM5.js} +10 -5
- package/dist/chunk-Z26ZTLM5.js.map +1 -0
- package/dist/cli.js +3 -3
- package/dist/{dist-QUVZ5QKG.js → dist-RGZQPQ4X.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/{interactive-7Z5D253X.js → interactive-A45OGJKI.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-FS2VJLII.js.map +0 -1
- /package/dist/{chunk-NH56CTFS.js.map → chunk-FBF5P33F.js.map} +0 -0
- /package/dist/{dist-QUVZ5QKG.js.map → dist-RGZQPQ4X.js.map} +0 -0
- /package/dist/{interactive-7Z5D253X.js.map → interactive-A45OGJKI.js.map} +0 -0
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
validateFileReferences,
|
|
43
43
|
validateTargetsFile,
|
|
44
44
|
writeArtifactsFromResults
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-AM3GKJEC.js";
|
|
46
46
|
import {
|
|
47
47
|
DEFAULT_CATEGORY,
|
|
48
48
|
DEFAULT_THRESHOLD,
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
toTranscriptJsonLines,
|
|
77
77
|
transpileEvalYamlFile,
|
|
78
78
|
trimBaselineResult
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-Z26ZTLM5.js";
|
|
80
80
|
import {
|
|
81
81
|
__commonJS,
|
|
82
82
|
__require,
|
|
@@ -3916,7 +3916,7 @@ var evalRunCommand = command({
|
|
|
3916
3916
|
},
|
|
3917
3917
|
handler: async (args) => {
|
|
3918
3918
|
if (args.evalPaths.length === 0 && process.stdin.isTTY) {
|
|
3919
|
-
const { launchInteractiveWizard } = await import("./interactive-
|
|
3919
|
+
const { launchInteractiveWizard } = await import("./interactive-A45OGJKI.js");
|
|
3920
3920
|
await launchInteractiveWizard();
|
|
3921
3921
|
return;
|
|
3922
3922
|
}
|
|
@@ -10066,4 +10066,4 @@ export {
|
|
|
10066
10066
|
preprocessArgv,
|
|
10067
10067
|
runCli
|
|
10068
10068
|
};
|
|
10069
|
-
//# sourceMappingURL=chunk-
|
|
10069
|
+
//# sourceMappingURL=chunk-FBF5P33F.js.map
|
|
@@ -31268,17 +31268,22 @@ async function runEvaluation(options) {
|
|
|
31268
31268
|
if (cliWorkspacePath && workspaceMode && workspaceMode !== "static") {
|
|
31269
31269
|
throw new Error("--workspace-path requires --workspace-mode static when both are provided");
|
|
31270
31270
|
}
|
|
31271
|
-
|
|
31271
|
+
let configuredMode = cliWorkspacePath ? "static" : workspaceMode ?? suiteWorkspace?.mode ?? (yamlWorkspacePath ? "static" : "pooled");
|
|
31272
31272
|
const configuredStaticPath = cliWorkspacePath ?? yamlWorkspacePath;
|
|
31273
|
+
if (configuredMode === "static" && !configuredStaticPath) {
|
|
31274
|
+
if (!suiteWorkspace?.repos?.length) {
|
|
31275
|
+
setupLog("workspace.mode=static with no path and no repos \u2014 falling back to temp mode");
|
|
31276
|
+
configuredMode = "temp";
|
|
31277
|
+
} else {
|
|
31278
|
+
throw new Error("workspace.mode=static requires workspace.path or --workspace-path");
|
|
31279
|
+
}
|
|
31280
|
+
}
|
|
31273
31281
|
const useStaticWorkspace = configuredMode === "static";
|
|
31274
31282
|
if (useStaticWorkspace && isPerTestIsolation) {
|
|
31275
31283
|
throw new Error(
|
|
31276
31284
|
"static workspace mode is incompatible with isolation: per_test. Use isolation: shared (default)."
|
|
31277
31285
|
);
|
|
31278
31286
|
}
|
|
31279
|
-
if (configuredMode === "static" && !configuredStaticPath) {
|
|
31280
|
-
throw new Error("workspace.mode=static requires workspace.path or --workspace-path");
|
|
31281
|
-
}
|
|
31282
31287
|
if (configuredMode !== "static" && configuredStaticPath) {
|
|
31283
31288
|
throw new Error("workspace.path requires workspace.mode=static");
|
|
31284
31289
|
}
|
|
@@ -35758,4 +35763,4 @@ export {
|
|
|
35758
35763
|
TranscriptProvider,
|
|
35759
35764
|
createAgentKernel
|
|
35760
35765
|
};
|
|
35761
|
-
//# sourceMappingURL=chunk-
|
|
35766
|
+
//# sourceMappingURL=chunk-Z26ZTLM5.js.map
|