agentv 2.14.1 → 2.14.3

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.
@@ -11,7 +11,7 @@ import {
11
11
  validateEvalFile,
12
12
  validateFileReferences,
13
13
  validateTargetsFile
14
- } from "./chunk-5646K2XJ.js";
14
+ } from "./chunk-MDAFSKDI.js";
15
15
  import {
16
16
  RepoManager,
17
17
  assembleLlmJudgePrompt,
@@ -20,13 +20,15 @@ import {
20
20
  createProvider,
21
21
  executeScript,
22
22
  generateRubrics,
23
+ getAgentvHome,
24
+ getGitCacheRoot,
23
25
  loadTestById,
24
26
  loadTests,
25
27
  normalizeLineEndings,
26
28
  toCamelCaseDeep,
27
29
  toSnakeCaseDeep,
28
30
  trimBaselineResult
29
- } from "./chunk-OQN2GDEU.js";
31
+ } from "./chunk-TK4PB62M.js";
30
32
  import {
31
33
  __commonJS,
32
34
  __esm,
@@ -2938,7 +2940,7 @@ var cleanCommand = command({
2938
2940
  const readline2 = await import("node:readline");
2939
2941
  const rl = readline2.createInterface({ input: process.stdin, output: process.stdout });
2940
2942
  const answer = await new Promise((resolve2) => {
2941
- rl.question("Remove all cached git repos from ~/.agentv/git-cache/? [y/N] ", resolve2);
2943
+ rl.question(`Remove all cached git repos from ${getGitCacheRoot()}? [y/N] `, resolve2);
2942
2944
  });
2943
2945
  rl.close();
2944
2946
  if (answer.toLowerCase() !== "y") {
@@ -4087,7 +4089,7 @@ var evalRunCommand = command({
4087
4089
  },
4088
4090
  handler: async (args) => {
4089
4091
  if (args.evalPaths.length === 0 && process.stdin.isTTY) {
4090
- const { launchInteractiveWizard } = await import("./interactive-Z6ZV5OGM.js");
4092
+ const { launchInteractiveWizard } = await import("./interactive-SQSP4PL3.js");
4091
4093
  await launchInteractiveWizard();
4092
4094
  return;
4093
4095
  }
@@ -5646,10 +5648,9 @@ var validateCommand = command({
5646
5648
  // src/update-check.ts
5647
5649
  import { spawn as spawn2 } from "node:child_process";
5648
5650
  import { readFile as readFile3 } from "node:fs/promises";
5649
- import { homedir } from "node:os";
5650
5651
  import { join as join2 } from "node:path";
5651
5652
  var CHECK_INTERVAL_MS = 24 * 60 * 60 * 1e3;
5652
- var AGENTV_DIR = join2(homedir(), ".agentv");
5653
+ var AGENTV_DIR = getAgentvHome();
5653
5654
  var CACHE_FILE = "version-check.json";
5654
5655
  var NPM_REGISTRY_URL = "https://registry.npmjs.org/agentv/latest";
5655
5656
  async function getCachedUpdateInfo(path8) {
@@ -5793,4 +5794,4 @@ export {
5793
5794
  preprocessArgv,
5794
5795
  runCli
5795
5796
  };
5796
- //# sourceMappingURL=chunk-YVWP4Z3W.js.map
5797
+ //# sourceMappingURL=chunk-D3WKMO6D.js.map