@integrity-labs/agt-cli 0.28.338 → 0.28.340

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.
@@ -20,7 +20,7 @@ import {
20
20
  resolveConnectivityProbe,
21
21
  worseConnectivityOutcome,
22
22
  wrapScheduledTaskPrompt
23
- } from "./chunk-O4V3TMUI.js";
23
+ } from "./chunk-J6QDPXGS.js";
24
24
  import {
25
25
  parsePsRows
26
26
  } from "./chunk-XWVM4KPK.js";
@@ -7043,7 +7043,7 @@ function requireHost() {
7043
7043
  }
7044
7044
 
7045
7045
  // src/lib/api-client.ts
7046
- var agtCliVersion = true ? "0.28.338" : "dev";
7046
+ var agtCliVersion = true ? "0.28.340" : "dev";
7047
7047
  var lastConfigHash = null;
7048
7048
  function setConfigHash(hash) {
7049
7049
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8699,6 +8699,10 @@ var PIN_VERSION_RE = /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d
8699
8699
  function isPinSet(raw) {
8700
8700
  return typeof raw === "string" && raw.trim() !== "";
8701
8701
  }
8702
+ function resolveEffectivePinRaw(envPin, dbPin) {
8703
+ if (isPinSet(envPin)) return envPin;
8704
+ return dbPin ?? void 0;
8705
+ }
8702
8706
  function normalizePinVersion(raw) {
8703
8707
  if (!isPinSet(raw)) return null;
8704
8708
  const v = raw.trim().replace(/^v/, "");
@@ -9473,6 +9477,7 @@ export {
9473
9477
  provision,
9474
9478
  executeConnectivityProbe,
9475
9479
  isValidPinVersion,
9480
+ resolveEffectivePinRaw,
9476
9481
  normalizePinVersion,
9477
9482
  pinAllowsUrgent,
9478
9483
  decidePin,
@@ -9487,4 +9492,4 @@ export {
9487
9492
  managerInstallSystemUnitCommand,
9488
9493
  managerUninstallSystemUnitCommand
9489
9494
  };
9490
- //# sourceMappingURL=chunk-S2JJ532Q.js.map
9495
+ //# sourceMappingURL=chunk-Z6ASBYHI.js.map