lurqrun 0.1.8 → 0.1.9

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.
Files changed (78) hide show
  1. package/dist/{auditHandler-VWCXSDVO.js → auditHandler-G7PHKMZR.js} +8 -8
  2. package/dist/autopilotInit-JO2SH5K3.js +266 -0
  3. package/dist/bin/lurq.js +45 -42
  4. package/dist/{browserAuth-J7APSD4P.js → browserAuth-PVYODBNR.js} +1 -1
  5. package/dist/{cache-AEAKCV4I.js → cache-ND4VOUVY.js} +2 -2
  6. package/dist/{check-2JTQDQA6.js → check-A3FJE62G.js} +5 -5
  7. package/dist/{checkUpgrade-5YW77OBL.js → checkUpgrade-Q4CV7GXG.js} +1 -1
  8. package/dist/{chunk-XBQA4I36.js → chunk-2LXYRDUN.js} +1 -1
  9. package/dist/{chunk-P6MIKSPY.js → chunk-2XMD4H2I.js} +1 -1
  10. package/dist/{chunk-4JHDSVIN.js → chunk-6353IJJ5.js} +1 -1
  11. package/dist/{chunk-DSROTZ3Z.js → chunk-64DPQSXV.js} +1 -1
  12. package/dist/{chunk-O4KHCV6I.js → chunk-64YOP5BQ.js} +4 -4
  13. package/dist/{chunk-NPVN2THM.js → chunk-75LMEMJ3.js} +1 -1
  14. package/dist/{chunk-TUXQ32WE.js → chunk-ABH4BTK4.js} +8 -7
  15. package/dist/{chunk-ZJMLQ37G.js → chunk-AHRDDKNO.js} +1 -1
  16. package/dist/{chunk-TDTYV6QI.js → chunk-AQ6IVSFB.js} +1 -1
  17. package/dist/{chunk-DM37MTOO.js → chunk-ETY4FSOW.js} +1 -1
  18. package/dist/{chunk-FDFPMBCA.js → chunk-FHRT32JH.js} +2 -2
  19. package/dist/{chunk-NYZU5NCW.js → chunk-GNNGXVCG.js} +1 -1
  20. package/dist/{chunk-QCRBX3LV.js → chunk-ILKYIVYV.js} +2 -2
  21. package/dist/{chunk-6L67QMCP.js → chunk-J3NUERU7.js} +1 -1
  22. package/dist/{chunk-BN3NM47Q.js → chunk-JGIJZJ3X.js} +3 -3
  23. package/dist/{chunk-BJT2LHAR.js → chunk-JJCQVOC6.js} +6 -6
  24. package/dist/{chunk-EYAKM6YN.js → chunk-KT7PWDNV.js} +1 -1
  25. package/dist/{chunk-72Y2FDVS.js → chunk-L3V7AVM6.js} +1 -1
  26. package/dist/{chunk-3676XOBU.js → chunk-M2CYYBAH.js} +12 -12
  27. package/dist/{chunk-B2UUYRBX.js → chunk-N2NYPTRU.js} +6 -6
  28. package/dist/{chunk-IFNONGRQ.js → chunk-N4TJO44E.js} +1 -1
  29. package/dist/{chunk-VGCDRK3S.js → chunk-NGMJQBOV.js} +1 -1
  30. package/dist/{chunk-64ZF7KO4.js → chunk-POHTPT37.js} +10 -10
  31. package/dist/{chunk-2O6Z37IT.js → chunk-PZZU3FQY.js} +6 -6
  32. package/dist/{chunk-EQCXENKZ.js → chunk-Q7CMOU5C.js} +2 -2
  33. package/dist/{chunk-OTJFHESY.js → chunk-SFY5MPJE.js} +1 -1
  34. package/dist/{chunk-A3TYI2TF.js → chunk-SWMWVK2R.js} +1 -1
  35. package/dist/{chunk-2WD4QAH4.js → chunk-TVOCVIM7.js} +1 -1
  36. package/dist/{chunk-FVYFV5HA.js → chunk-XA2SLNBR.js} +1 -1
  37. package/dist/{chunk-D3VTZS7V.js → chunk-XBTYJQEK.js} +1 -1
  38. package/dist/{chunk-ONDVTXUO.js → chunk-ZJ5XHA77.js} +1 -1
  39. package/dist/{client-MU4EUDZV.js → client-SJIWK4CK.js} +3 -3
  40. package/dist/{commands-UOOTMBKA.js → commands-6BBLN5N5.js} +28 -28
  41. package/dist/{compat-Q5DVPITN.js → compat-6B3CRT5F.js} +5 -5
  42. package/dist/{constants-DJFOFZ44.js → constants-HX3RTD6Q.js} +1 -1
  43. package/dist/{domains-VRT4BRVZ.js → domains-RKRPVP5A.js} +1 -1
  44. package/dist/{envCheck-KUPTORFQ.js → envCheck-IL22OTSC.js} +1 -1
  45. package/dist/{fetch-PJ3SC32M.js → fetch-GHIP3VHN.js} +3 -3
  46. package/dist/{firstTouch-COJCMOB3.js → firstTouch-M64T2MWF.js} +1 -1
  47. package/dist/{fix-3EDWNKW3.js → fix-Z7ZY55HB.js} +7 -7
  48. package/dist/{handlers-4Q37WIFT.js → handlers-GOXW2GWZ.js} +13 -13
  49. package/dist/{hook-NA66XJLC.js → hook-TWFLIDK3.js} +3 -3
  50. package/dist/{http-25GJ6SKK.js → http-7VF2RE2D.js} +49 -29
  51. package/dist/{ingestQueue-FSVJC3AA.js → ingestQueue-RSEPMORK.js} +9 -9
  52. package/dist/{install-G2HHXYJ2.js → install-55EPX34C.js} +4 -4
  53. package/dist/{installSkill-5TIMYIJZ.js → installSkill-A7KKPDMS.js} +2 -2
  54. package/dist/{mcp-PENLL2PK.js → mcp-CM6CDLHM.js} +5 -5
  55. package/dist/{mcpConfig-3LYPRY5Q.js → mcpConfig-FENV6NI7.js} +2 -2
  56. package/dist/{mcpHandlers-PO7GENA7.js → mcpHandlers-2UCLKMWN.js} +6 -6
  57. package/dist/{mcpScan-ULP626TQ.js → mcpScan-CKBQNK5H.js} +7 -7
  58. package/dist/{mcpScanWorkflow-27O44FOE.js → mcpScanWorkflow-NFUD3S7U.js} +2 -2
  59. package/dist/{mcpStack-ZNYIFXZ5.js → mcpStack-FLQ6XY2P.js} +1 -1
  60. package/dist/{packages-RWF2LXST.js → packages-2XRHNBJ7.js} +3 -3
  61. package/dist/{plan-SDILIDZT.js → plan-XRZS6C7Z.js} +14 -14
  62. package/dist/{policy-JAGNMQJI.js → policy-EQT43P7S.js} +2 -2
  63. package/dist/{probe-3IK646WN.js → probe-ZEZFNIQZ.js} +1 -1
  64. package/dist/{publicUpgrades-WTBGLDIK.js → publicUpgrades-JZEOV24A.js} +7 -7
  65. package/dist/{release-7IU2R4YG.js → release-EUOM5I3R.js} +3 -3
  66. package/dist/{remote-FN6225AH.js → remote-I5O43WAY.js} +2 -2
  67. package/dist/{sandbox-SAPSRKEI.js → sandbox-46TZNYZT.js} +3 -3
  68. package/dist/{server-OLTY3NYT.js → server-LROMHS62.js} +21 -21
  69. package/dist/{surface-JS2XU3U3.js → surface-CZMHQLV3.js} +3 -3
  70. package/dist/{surface-7MHE3RL7.js → surface-OH4TZR32.js} +7 -7
  71. package/dist/{surfaceHandlers-4B6TMZ34.js → surfaceHandlers-BDYRZMAC.js} +5 -5
  72. package/dist/{uninstall-I2IJP5JZ.js → uninstall-4E5YUDQO.js} +2 -2
  73. package/dist/{upgrade-FS26DJGG.js → upgrade-S72W7JVC.js} +3 -3
  74. package/dist/{upgradePlan-ZS5IOVMZ.js → upgradePlan-F3OUNL3E.js} +4 -4
  75. package/dist/{upkeepHandler-VFGYXJKB.js → upkeepHandler-7Q56A4UA.js} +1 -1
  76. package/dist/{watch-OCNEUXG6.js → watch-LZPOKWCL.js} +10 -10
  77. package/package.json +1 -1
  78. package/dist/autopilotInit-Q62MX5M6.js +0 -178
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-KYKSZ3XZ.js";
5
5
  import {
6
6
  CACHE_TTL
7
- } from "./chunk-72Y2FDVS.js";
7
+ } from "./chunk-L3V7AVM6.js";
8
8
  import {
9
9
  init_esm_shims
10
10
  } from "./chunk-I3M2KJXB.js";
@@ -7,7 +7,7 @@ import {
7
7
  packages,
8
8
  surfaceQueue,
9
9
  symbols
10
- } from "./chunk-4JHDSVIN.js";
10
+ } from "./chunk-6353IJJ5.js";
11
11
  import {
12
12
  init_esm_shims
13
13
  } from "./chunk-I3M2KJXB.js";
@@ -1,13 +1,13 @@
1
1
  import { createRequire as __lurqCreateRequire } from 'node:module'; const require = __lurqCreateRequire(import.meta.url);
2
2
  import {
3
3
  createDb
4
- } from "./chunk-VGCDRK3S.js";
4
+ } from "./chunk-NGMJQBOV.js";
5
5
  import {
6
6
  schema_exports
7
- } from "./chunk-4JHDSVIN.js";
7
+ } from "./chunk-6353IJJ5.js";
8
8
  import "./chunk-GRJXQBQZ.js";
9
9
  import "./chunk-WHX2ZFCG.js";
10
- import "./chunk-72Y2FDVS.js";
10
+ import "./chunk-L3V7AVM6.js";
11
11
  import "./chunk-I3M2KJXB.js";
12
12
  export {
13
13
  createDb,
@@ -41,14 +41,14 @@ import {
41
41
  import "./chunk-LUAKDHLZ.js";
42
42
  import {
43
43
  MissingKeyError
44
- } from "./chunk-OTJFHESY.js";
44
+ } from "./chunk-SFY5MPJE.js";
45
45
  import {
46
46
  resolveApiKey
47
47
  } from "./chunk-J6XQ7OPZ.js";
48
48
  import {
49
49
  openInBrowser
50
50
  } from "./chunk-TNTXWSYA.js";
51
- import "./chunk-72Y2FDVS.js";
51
+ import "./chunk-L3V7AVM6.js";
52
52
  import {
53
53
  __toESM,
54
54
  init_esm_shims
@@ -57,14 +57,14 @@ import {
57
57
  // src/cli/commands.ts
58
58
  init_esm_shims();
59
59
  var import_semver = __toESM(require_semver(), 1);
60
- var handleRecommend = async (...a) => (await import("./handlers-4Q37WIFT.js")).handleRecommend(...a);
61
- var handleEvaluate = async (...a) => (await import("./handlers-4Q37WIFT.js")).handleEvaluate(...a);
62
- var handleCompare = async (...a) => (await import("./handlers-4Q37WIFT.js")).handleCompare(...a);
63
- var handleVerify = async (...a) => (await import("./handlers-4Q37WIFT.js")).handleVerify(...a);
64
- var getPackageVersions = async (...a) => (await import("./packages-RWF2LXST.js")).getPackageVersions(...a);
60
+ var handleRecommend = async (...a) => (await import("./handlers-GOXW2GWZ.js")).handleRecommend(...a);
61
+ var handleEvaluate = async (...a) => (await import("./handlers-GOXW2GWZ.js")).handleEvaluate(...a);
62
+ var handleCompare = async (...a) => (await import("./handlers-GOXW2GWZ.js")).handleCompare(...a);
63
+ var handleVerify = async (...a) => (await import("./handlers-GOXW2GWZ.js")).handleVerify(...a);
64
+ var getPackageVersions = async (...a) => (await import("./packages-2XRHNBJ7.js")).getPackageVersions(...a);
65
65
  async function withDb(fn) {
66
66
  requireConfig(["DATABASE_URL"]);
67
- const { createDb } = await import("./client-MU4EUDZV.js");
67
+ const { createDb } = await import("./client-SJIWK4CK.js");
68
68
  const handle = createDb();
69
69
  try {
70
70
  return await fn(handle.db);
@@ -81,7 +81,7 @@ function indexSource() {
81
81
  }
82
82
  async function fromIndex(tool, args, local) {
83
83
  if (indexSource() === "local") return withDb(local);
84
- const { callTool } = await import("./remote-FN6225AH.js");
84
+ const { callTool } = await import("./remote-I5O43WAY.js");
85
85
  return callTool(tool, args);
86
86
  }
87
87
  function candidateFlags(c) {
@@ -304,7 +304,7 @@ Source: ${active ? `${active.source} (${active.path})` : "defaults (no user over
304
304
  );
305
305
  }
306
306
  async function runEditWeights(opts) {
307
- const { invalidateCache } = await import("./cache-AEAKCV4I.js");
307
+ const { invalidateCache } = await import("./cache-ND4VOUVY.js");
308
308
  if (opts.reset) {
309
309
  const removed = resetWeights();
310
310
  console.log(
@@ -360,7 +360,7 @@ async function runPlan(file, opts) {
360
360
  }
361
361
  const args = { document, optimize: opts.optimize };
362
362
  const res = await fromIndex("plan", args, async (db) => {
363
- const { handlePlan } = await import("./plan-SDILIDZT.js");
363
+ const { handlePlan } = await import("./plan-XRZS6C7Z.js");
364
364
  return handlePlan(db, args);
365
365
  });
366
366
  if (opts.json) return console.log(JSON.stringify(res, null, 2));
@@ -473,7 +473,7 @@ async function runVersions(pkg, opts) {
473
473
  });
474
474
  }
475
475
  async function runWatch() {
476
- const { watchNpmChanges } = await import("./watch-OCNEUXG6.js");
476
+ const { watchNpmChanges } = await import("./watch-LZPOKWCL.js");
477
477
  await withDb(async (db) => {
478
478
  const controller = new AbortController();
479
479
  const stop = () => controller.abort();
@@ -494,7 +494,7 @@ async function runSandbox(pkg, version, opts) {
494
494
  yellow("warning: running install scripts and loading the package locally without isolation")
495
495
  );
496
496
  }
497
- const { verifyPackageInSandbox } = await import("./sandbox-SAPSRKEI.js");
497
+ const { verifyPackageInSandbox } = await import("./sandbox-46TZNYZT.js");
498
498
  await withDb(async (db) => {
499
499
  const result = await verifyPackageInSandbox(db, pkg, version ?? null, {
500
500
  target: { node: "20", moduleSystem: opts.esm ? "esm" : "cjs" },
@@ -527,7 +527,7 @@ async function runUsage(pkg, opts) {
527
527
  offset: opts.offset
528
528
  };
529
529
  const res = await fromIndex("usage", args, async (db) => {
530
- const { handleUsage } = await import("./handlers-4Q37WIFT.js");
530
+ const { handleUsage } = await import("./handlers-GOXW2GWZ.js");
531
531
  return handleUsage(db, args);
532
532
  });
533
533
  if (opts.json) return console.log(JSON.stringify(res, null, 2));
@@ -568,7 +568,7 @@ ${res.deltaNote}`));
568
568
  }
569
569
  async function runCompatBackfill(opts) {
570
570
  await withDb(async (db) => {
571
- const compat = await import("./compat-Q5DVPITN.js");
571
+ const compat = await import("./compat-6B3CRT5F.js");
572
572
  if (opts.resolve) {
573
573
  console.error(yellow("resolve-only backfill (npm resolution, no install/VM)"));
574
574
  const res2 = await compat.resolveBackfill(db, opts);
@@ -609,14 +609,14 @@ async function runCompat(pkgs, opts) {
609
609
  const versions = parsePins(opts.pin);
610
610
  const args = { packages: pkgs, versions };
611
611
  const read = async (db) => {
612
- const { handleCompat } = await import("./handlers-4Q37WIFT.js");
612
+ const { handleCompat } = await import("./handlers-GOXW2GWZ.js");
613
613
  return handleCompat(db, args);
614
614
  };
615
615
  const res = opts.run ? await withDb(async (db) => {
616
616
  console.error(
617
617
  yellow("co-installing in the sandbox (loads package code locally without isolation)")
618
618
  );
619
- const { verifyCompatibility } = await import("./compat-Q5DVPITN.js");
619
+ const { verifyCompatibility } = await import("./compat-6B3CRT5F.js");
620
620
  await verifyCompatibility(db, pkgs);
621
621
  return read(db);
622
622
  }) : await fromIndex("compat", args, read);
@@ -667,7 +667,7 @@ async function runMcpSurface(server, opts) {
667
667
  const res = await fromIndex(
668
668
  "mcp_surface",
669
669
  args,
670
- (db) => import("./mcpHandlers-PO7GENA7.js").then((m) => m.handleMcpSurface(db, args))
670
+ (db) => import("./mcpHandlers-2UCLKMWN.js").then((m) => m.handleMcpSurface(db, args))
671
671
  );
672
672
  if (opts.json) return console.log(JSON.stringify(res, null, 2));
673
673
  console.log(`${bold(server)}${res.version ? dim(`@${res.version}`) : ""}`);
@@ -718,7 +718,7 @@ function pinLine(p) {
718
718
  return `${drift ? red(`changed since pinned: ${drift}`) : green("unchanged since pinned")}${open}`;
719
719
  }
720
720
  async function runMcpPin(server, opts) {
721
- const { pinMcpServer } = await import("./remote-FN6225AH.js");
721
+ const { pinMcpServer } = await import("./remote-I5O43WAY.js");
722
722
  const pin = await pinMcpServer(server, opts.note);
723
723
  if (opts.json) return console.log(JSON.stringify(pin, null, 2));
724
724
  if (!pin)
@@ -734,13 +734,13 @@ async function runMcpPin(server, opts) {
734
734
  );
735
735
  }
736
736
  async function runMcpUnpin(server) {
737
- const { unpinMcpServer } = await import("./remote-FN6225AH.js");
737
+ const { unpinMcpServer } = await import("./remote-I5O43WAY.js");
738
738
  console.log(
739
739
  await unpinMcpServer(server) ? `${green("unpinned")} ${server}` : dim(`${server} was not pinned`)
740
740
  );
741
741
  }
742
742
  async function runMcpPins(opts) {
743
- const { listMcpPins } = await import("./remote-FN6225AH.js");
743
+ const { listMcpPins } = await import("./remote-I5O43WAY.js");
744
744
  const pins = await listMcpPins();
745
745
  if (opts.json) return console.log(JSON.stringify(pins, null, 2));
746
746
  if (!pins.length)
@@ -759,7 +759,7 @@ async function runConnectCheck(server, opts) {
759
759
  const res = await fromIndex(
760
760
  "connect_check",
761
761
  args,
762
- (db) => Promise.all([import("./check-2JTQDQA6.js"), import("./safeFetch-COERXGFN.js")]).then(
762
+ (db) => Promise.all([import("./check-A3FJE62G.js"), import("./safeFetch-COERXGFN.js")]).then(
763
763
  ([m, f]) => m.handleConnectCheck(
764
764
  db,
765
765
  { server, client: opts.client ?? null },
@@ -825,7 +825,7 @@ async function runMcpDrift(server, opts) {
825
825
  const res = await fromIndex(
826
826
  "mcp_drift",
827
827
  args,
828
- (db) => import("./mcpHandlers-PO7GENA7.js").then((m) => m.handleMcpDrift(db, args))
828
+ (db) => import("./mcpHandlers-2UCLKMWN.js").then((m) => m.handleMcpDrift(db, args))
829
829
  );
830
830
  if (opts.json) return console.log(JSON.stringify(res, null, 2));
831
831
  console.log(`${bold(server)} ${dim(`${opts.from} \u2192 ${opts.to}`)}`);
@@ -887,9 +887,9 @@ ${res.summary || "no contract change"}`)
887
887
  );
888
888
  }
889
889
  async function probeProjectServers(servers, budgetMs) {
890
- const { createDb } = await import("./client-MU4EUDZV.js");
891
- const { extractAndStoreMcp } = await import("./mcp-PENLL2PK.js");
892
- const { hasStoredSurface } = await import("./surface-JS2XU3U3.js");
890
+ const { createDb } = await import("./client-SJIWK4CK.js");
891
+ const { extractAndStoreMcp } = await import("./mcp-CM6CDLHM.js");
892
+ const { hasStoredSurface } = await import("./surface-CZMHQLV3.js");
893
893
  const { LocalSandbox } = await import("./local-XPZMRH5R.js");
894
894
  const targets = servers.filter((s) => s.kind === "npm-stdio" && s.packageName);
895
895
  if (targets.length === 0) return { probed: 0, skipped: 0 };
@@ -948,7 +948,7 @@ async function runAudit(dir, opts) {
948
948
  const res = await fromIndex(
949
949
  "audit",
950
950
  payload,
951
- (db) => import("./auditHandler-VWCXSDVO.js").then((m) => m.handleAudit(db, payload))
951
+ (db) => import("./auditHandler-G7PHKMZR.js").then((m) => m.handleAudit(db, payload))
952
952
  );
953
953
  if (opts.json) return console.log(JSON.stringify({ ...res, filesRead: inv.filesRead }, null, 2));
954
954
  const { SEVERITY_RANK, worstSeverity } = await import("./types-M5JP2W3D.js");
@@ -993,7 +993,7 @@ ${bold("coverage")} ${c.answered}/${c.discovered} declared dependencies answere
993
993
  for (const n of res.notes ?? []) console.log(dim(`\xB7 ${n}`));
994
994
  }
995
995
  async function runMcpStack(dir, opts) {
996
- const { runMcpStackLive } = await import("./mcpScan-ULP626TQ.js");
996
+ const { runMcpStackLive } = await import("./mcpScan-CKBQNK5H.js");
997
997
  await runMcpStackLive(dir, opts);
998
998
  }
999
999
  export {
@@ -9,7 +9,7 @@ import {
9
9
  recordStackResolution,
10
10
  resolveSet,
11
11
  stackKey
12
- } from "./chunk-2WD4QAH4.js";
12
+ } from "./chunk-TVOCVIM7.js";
13
13
  import {
14
14
  bumpCompatVerifyAttempt,
15
15
  canonicalPair,
@@ -17,19 +17,19 @@ import {
17
17
  getPendingCompatVerify,
18
18
  pairKey,
19
19
  upsertCompatEdge
20
- } from "./chunk-EYAKM6YN.js";
20
+ } from "./chunk-KT7PWDNV.js";
21
21
  import {
22
22
  getPackageByName,
23
23
  getTopPackageNames
24
- } from "./chunk-NPVN2THM.js";
24
+ } from "./chunk-75LMEMJ3.js";
25
25
  import "./chunk-VLRHFMGJ.js";
26
- import "./chunk-4JHDSVIN.js";
26
+ import "./chunk-6353IJJ5.js";
27
27
  import "./chunk-GRJXQBQZ.js";
28
28
  import "./chunk-WHX2ZFCG.js";
29
29
  import {
30
30
  logger
31
31
  } from "./chunk-MYGSLK44.js";
32
- import "./chunk-72Y2FDVS.js";
32
+ import "./chunk-L3V7AVM6.js";
33
33
  import {
34
34
  init_esm_shims
35
35
  } from "./chunk-I3M2KJXB.js";
@@ -9,7 +9,7 @@ import {
9
9
  SERVER_NAME,
10
10
  STALENESS_DAYS,
11
11
  VERSION
12
- } from "./chunk-72Y2FDVS.js";
12
+ } from "./chunk-L3V7AVM6.js";
13
13
  import "./chunk-I3M2KJXB.js";
14
14
  export {
15
15
  API_KEY_PREFIX,
@@ -4,7 +4,7 @@ import {
4
4
  DOMAIN_SCAN_LIMIT,
5
5
  SOURCE_DOMAINS,
6
6
  runDomains
7
- } from "./chunk-XBQA4I36.js";
7
+ } from "./chunk-2LXYRDUN.js";
8
8
  import "./chunk-I3M2KJXB.js";
9
9
  export {
10
10
  AVAILABLE,
@@ -26,7 +26,7 @@ async function runEnvCheck(dir, opts) {
26
26
  const distinct = new Set(plan.reads.map((r) => r.name)).size;
27
27
  if (opts.sarif) {
28
28
  const { toSarif } = await import("./sarif-WLVJFJ7U.js");
29
- const { VERSION } = await import("./constants-DJFOFZ44.js");
29
+ const { VERSION } = await import("./constants-HX3RTD6Q.js");
30
30
  const doc = toSarif(plan.findings, { version: VERSION, read: () => null });
31
31
  writeFileSync(opts.sarif, `${JSON.stringify(doc, null, 2)}
32
32
  `, "utf8");
@@ -6,11 +6,11 @@ import {
6
6
  resolveTarball,
7
7
  unpackPackage,
8
8
  verifyIntegrity
9
- } from "./chunk-FVYFV5HA.js";
10
- import "./chunk-D3VTZS7V.js";
9
+ } from "./chunk-XA2SLNBR.js";
10
+ import "./chunk-XBTYJQEK.js";
11
11
  import "./chunk-KYKSZ3XZ.js";
12
12
  import "./chunk-MYGSLK44.js";
13
- import "./chunk-72Y2FDVS.js";
13
+ import "./chunk-L3V7AVM6.js";
14
14
  import "./chunk-I3M2KJXB.js";
15
15
  export {
16
16
  extractUnpacked,
@@ -20,7 +20,7 @@ function extractOnce(db, pkg, version) {
20
20
  if (existing) return existing;
21
21
  if (inFlight.size >= MAX_INFLIGHT) return Promise.resolve(null);
22
22
  const task = (async () => {
23
- const { extractAndStore } = await import("./surface-7MHE3RL7.js");
23
+ const { extractAndStore } = await import("./surface-OH4TZR32.js");
24
24
  const { outcome, version: resolved } = await extractAndStore(db, pkg, version);
25
25
  return outcome === "stored" || outcome === "cached" ? resolved : null;
26
26
  })().catch((err) => {
@@ -4,7 +4,7 @@ import {
4
4
  fixableTargets,
5
5
  parseUpgradeSpec,
6
6
  planUpgrades
7
- } from "./chunk-QCRBX3LV.js";
7
+ } from "./chunk-ILKYIVYV.js";
8
8
  import {
9
9
  manifestFindings
10
10
  } from "./chunk-5ALIJFDA.js";
@@ -24,7 +24,7 @@ init_esm_shims();
24
24
  import { readFileSync, writeFileSync } from "fs";
25
25
  import { join, relative } from "path";
26
26
  async function derivePlanTargets(dir, opts) {
27
- const { buildUpgradePlan } = await import("./upgradePlan-ZS5IOVMZ.js");
27
+ const { buildUpgradePlan } = await import("./upgradePlan-F3OUNL3E.js");
28
28
  try {
29
29
  const plan = await buildUpgradePlan(dir, {
30
30
  url: opts.url,
@@ -55,7 +55,7 @@ function stage(root, findings) {
55
55
  }
56
56
  async function runFix(dir, opts) {
57
57
  const { scanReferences } = await import("./references-I6Y4BSRR.js");
58
- const { checkUpgrade } = await import("./upgrade-FS26DJGG.js");
58
+ const { checkUpgrade } = await import("./upgrade-S72W7JVC.js");
59
59
  const { renamePlan } = await import("./rename-OS6JYBZQ.js");
60
60
  const asked = Boolean(opts.plan) || (opts.upgrade?.length ?? 0) > 0;
61
61
  const split = asked ? {
@@ -64,7 +64,7 @@ async function runFix(dir, opts) {
64
64
  } : { ...await derivePlanTargets(dir, opts), named: [] };
65
65
  const targets = [...split.targets, ...split.named];
66
66
  const skipped = split.skipped;
67
- const { runDomains, SOURCE_DOMAINS } = await import("./domains-VRT4BRVZ.js");
67
+ const { runDomains, SOURCE_DOMAINS } = await import("./domains-RKRPVP5A.js");
68
68
  const source = await runDomains({ dir, domains: SOURCE_DOMAINS });
69
69
  const unchecked = source.skipped.map((d) => ({ domain: d.domain, reason: d.reason }));
70
70
  if (targets.length === 0 && source.findings.length === 0) {
@@ -96,7 +96,7 @@ async function runFix(dir, opts) {
96
96
  const refs = scanReferences(dir, { limit: SCAN_LIMIT });
97
97
  const report = await checkUpgrade(targets, refs, { rootDir: dir });
98
98
  const renames = renamePlan(report);
99
- const { findManifests } = await import("./upgradePlan-ZS5IOVMZ.js");
99
+ const { findManifests } = await import("./upgradePlan-F3OUNL3E.js");
100
100
  const manifests = manifestFindings(dir, targets, {
101
101
  files: findManifests(dir).map((abs) => relative(dir, abs) || "package.json")
102
102
  });
@@ -136,12 +136,12 @@ async function runFix(dir, opts) {
136
136
  }
137
137
  }
138
138
  if (opts.apply && writes.size > 0) {
139
- const { writeFileAtomic } = await import("./installSkill-5TIMYIJZ.js");
139
+ const { writeFileAtomic } = await import("./installSkill-A7KKPDMS.js");
140
140
  for (const [file, contents] of writes) writeFileAtomic(join(dir, file), contents);
141
141
  }
142
142
  if (opts.sarif) {
143
143
  const { toSarif } = await import("./sarif-WLVJFJ7U.js");
144
- const { VERSION } = await import("./constants-DJFOFZ44.js");
144
+ const { VERSION } = await import("./constants-HX3RTD6Q.js");
145
145
  const sarif = toSarif(findings, {
146
146
  version: VERSION,
147
147
  // Read from disk rather than reusing the staged text: regions must
@@ -11,34 +11,34 @@ import {
11
11
  handleVerify,
12
12
  latestDataAsOf,
13
13
  rowToEvaluate
14
- } from "./chunk-64ZF7KO4.js";
14
+ } from "./chunk-POHTPT37.js";
15
15
  import "./chunk-QSL6QN5X.js";
16
- import "./chunk-NYZU5NCW.js";
17
- import "./chunk-2WD4QAH4.js";
18
- import "./chunk-DSROTZ3Z.js";
19
- import "./chunk-TUXQ32WE.js";
16
+ import "./chunk-GNNGXVCG.js";
17
+ import "./chunk-TVOCVIM7.js";
18
+ import "./chunk-64DPQSXV.js";
19
+ import "./chunk-ABH4BTK4.js";
20
20
  import "./chunk-BUALU27S.js";
21
21
  import "./chunk-QUIMQ7YL.js";
22
22
  import "./chunk-6DM6UQFD.js";
23
- import "./chunk-EYAKM6YN.js";
24
- import "./chunk-D3VTZS7V.js";
23
+ import "./chunk-KT7PWDNV.js";
24
+ import "./chunk-XBTYJQEK.js";
25
25
  import "./chunk-4ESO33J6.js";
26
- import "./chunk-NPVN2THM.js";
26
+ import "./chunk-75LMEMJ3.js";
27
27
  import "./chunk-VLRHFMGJ.js";
28
- import "./chunk-VGCDRK3S.js";
29
- import "./chunk-4JHDSVIN.js";
28
+ import "./chunk-NGMJQBOV.js";
29
+ import "./chunk-6353IJJ5.js";
30
30
  import "./chunk-GM5Y555O.js";
31
31
  import "./chunk-2GAYNIHG.js";
32
32
  import "./chunk-KYKSZ3XZ.js";
33
- import "./chunk-A3TYI2TF.js";
33
+ import "./chunk-SWMWVK2R.js";
34
34
  import "./chunk-HWFX4BC4.js";
35
- import "./chunk-6L67QMCP.js";
35
+ import "./chunk-J3NUERU7.js";
36
36
  import "./chunk-3GHJR7XR.js";
37
37
  import "./chunk-GRJXQBQZ.js";
38
38
  import "./chunk-WHX2ZFCG.js";
39
39
  import "./chunk-LUAKDHLZ.js";
40
40
  import "./chunk-MYGSLK44.js";
41
- import "./chunk-72Y2FDVS.js";
41
+ import "./chunk-L3V7AVM6.js";
42
42
  import "./chunk-I3M2KJXB.js";
43
43
  export {
44
44
  USAGE_PAGE_SIZE,
@@ -265,7 +265,7 @@ async function preToolUse(input, nudge) {
265
265
  const { installs, runs } = targets(input.tool_name, input.tool_input ?? {}, cwd);
266
266
  const names = [.../* @__PURE__ */ new Set([...installs, ...runs])].slice(0, MAX_NAMES);
267
267
  if (names.length === 0) return null;
268
- const { callTool } = await import("./remote-FN6225AH.js");
268
+ const { callTool } = await import("./remote-I5O43WAY.js");
269
269
  const settled = await Promise.allSettled(
270
270
  names.map(
271
271
  (name) => callTool(
@@ -302,7 +302,7 @@ async function sessionDrift(input) {
302
302
  if (typeof cwd !== "string" || !isJsProject(cwd)) return null;
303
303
  if (unseen(input.session_id, [`scan:${cwd}`]).length === 0) return null;
304
304
  try {
305
- const { buildUpgradePlan, planHeadline, scanSourceDrift } = await import("./upgradePlan-ZS5IOVMZ.js");
305
+ const { buildUpgradePlan, planHeadline, scanSourceDrift } = await import("./upgradePlan-F3OUNL3E.js");
306
306
  const [plan, source] = await Promise.all([
307
307
  buildUpgradePlan(cwd, { timeoutMs: SCAN_TIMEOUT_MS }),
308
308
  scanSourceDrift(cwd)
@@ -314,7 +314,7 @@ async function sessionDrift(input) {
314
314
  }
315
315
  }
316
316
  async function sessionStart(input, agent) {
317
- const { apiKey, getAlerts } = await import("./remote-FN6225AH.js");
317
+ const { apiKey, getAlerts } = await import("./remote-I5O43WAY.js");
318
318
  apiKey();
319
319
  const [alerts, drift] = await Promise.all([
320
320
  getAlerts({ timeoutMs: 3e3, agent: agent === "claude" ? "claude-code" : agent }).catch(