agentv 4.15.0 → 4.15.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.
@@ -42,7 +42,7 @@ import {
42
42
  validateFileReferences,
43
43
  validateTargetsFile,
44
44
  writeArtifactsFromResults
45
- } from "./chunk-4GFW2O4T.js";
45
+ } from "./chunk-VFJ3UPNX.js";
46
46
  import {
47
47
  DEFAULT_CATEGORY,
48
48
  DEFAULT_THRESHOLD,
@@ -76,7 +76,7 @@ import {
76
76
  toTranscriptJsonLine,
77
77
  transpileEvalYamlFile,
78
78
  trimBaselineResult
79
- } from "./chunk-VSWJTL3T.js";
79
+ } from "./chunk-CA3SJJN7.js";
80
80
  import {
81
81
  __commonJS,
82
82
  __require,
@@ -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-53RJ7LOT.js");
3915
+ const { launchInteractiveWizard } = await import("./interactive-G4WWA32J.js");
3916
3916
  await launchInteractiveWizard();
3917
3917
  return;
3918
3918
  }
@@ -10049,4 +10049,4 @@ export {
10049
10049
  preprocessArgv,
10050
10050
  runCli
10051
10051
  };
10052
- //# sourceMappingURL=chunk-HQY6LN6F.js.map
10052
+ //# sourceMappingURL=chunk-BUQ2JYIB.js.map
@@ -31266,7 +31266,7 @@ async function runEvaluation(options) {
31266
31266
  if (configuredMode !== "static" && configuredStaticPath) {
31267
31267
  throw new Error("workspace.path requires workspace.mode=static");
31268
31268
  }
31269
- const hasSharedWorkspace = !!(useStaticWorkspace || workspaceTemplate || suiteWorkspace?.hooks || suiteWorkspace?.repos?.length && !isPerTestIsolation);
31269
+ const hasSharedWorkspace = !!(useStaticWorkspace || !isPerTestIsolation && (workspaceTemplate || suiteWorkspace?.hooks || suiteWorkspace?.repos?.length));
31270
31270
  const poolEnabled = configuredMode === "pooled";
31271
31271
  const usePool = poolEnabled !== false && !!suiteWorkspace?.repos?.length && !isPerTestIsolation && !useStaticWorkspace;
31272
31272
  const resolvedRetainOnSuccess = retainOnSuccess ?? (keepWorkspaces ? "keep" : "cleanup");
@@ -31321,7 +31321,7 @@ async function runEvaluation(options) {
31321
31321
  setupLog(`reusing existing static workspace: ${configuredStaticPath}`);
31322
31322
  }
31323
31323
  sharedWorkspacePath = configuredStaticPath;
31324
- } else if (usePool && suiteWorkspace?.repos) {
31324
+ } else if (!isPerTestIsolation && usePool && suiteWorkspace?.repos) {
31325
31325
  const slotsNeeded = workers;
31326
31326
  setupLog(`acquiring ${slotsNeeded} workspace pool slot(s) (pool capacity: ${poolMaxSlots})`);
31327
31327
  poolManager = new WorkspacePoolManager(getWorkspacePoolRoot());
@@ -31343,7 +31343,7 @@ async function runEvaluation(options) {
31343
31343
  } else {
31344
31344
  availablePoolSlots.push(...poolSlots);
31345
31345
  }
31346
- } else if (workspaceTemplate) {
31346
+ } else if (!isPerTestIsolation && workspaceTemplate) {
31347
31347
  setupLog(`creating shared workspace from template: ${workspaceTemplate}`);
31348
31348
  try {
31349
31349
  sharedWorkspacePath = await createTempWorkspace(workspaceTemplate, evalRunId, "shared");
@@ -31352,7 +31352,7 @@ async function runEvaluation(options) {
31352
31352
  const message = error instanceof Error ? error.message : String(error);
31353
31353
  throw new Error(`Failed to create shared workspace: ${message}`);
31354
31354
  }
31355
- } else if (suiteWorkspace?.hooks || suiteWorkspace?.repos?.length && !isPerTestIsolation) {
31355
+ } else if (!isPerTestIsolation && (suiteWorkspace?.hooks || suiteWorkspace?.repos?.length)) {
31356
31356
  sharedWorkspacePath = getWorkspacePath(evalRunId, "shared");
31357
31357
  await mkdir14(sharedWorkspacePath, { recursive: true });
31358
31358
  setupLog(`created empty shared workspace at: ${sharedWorkspacePath}`);
@@ -35670,4 +35670,4 @@ export {
35670
35670
  TranscriptProvider,
35671
35671
  createAgentKernel
35672
35672
  };
35673
- //# sourceMappingURL=chunk-VSWJTL3T.js.map
35673
+ //# sourceMappingURL=chunk-CA3SJJN7.js.map