@integrity-labs/agt-cli 0.28.339 → 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.
package/dist/bin/agt.js CHANGED
@@ -40,7 +40,7 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-UVMGRGRO.js";
43
+ } from "../chunk-Z6ASBYHI.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -4829,7 +4829,7 @@ import { execFileSync, execSync } from "child_process";
4829
4829
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4830
4830
  import chalk18 from "chalk";
4831
4831
  import ora16 from "ora";
4832
- var cliVersion = true ? "0.28.339" : "dev";
4832
+ var cliVersion = true ? "0.28.340" : "dev";
4833
4833
  async function fetchLatestVersion() {
4834
4834
  const host2 = getHost();
4835
4835
  if (!host2) return null;
@@ -6001,7 +6001,7 @@ function handleError(err) {
6001
6001
  }
6002
6002
 
6003
6003
  // src/bin/agt.ts
6004
- var cliVersion2 = true ? "0.28.339" : "dev";
6004
+ var cliVersion2 = true ? "0.28.340" : "dev";
6005
6005
  var program = new Command();
6006
6006
  program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
6007
6007
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -7043,7 +7043,7 @@ function requireHost() {
7043
7043
  }
7044
7044
 
7045
7045
  // src/lib/api-client.ts
7046
- var agtCliVersion = true ? "0.28.339" : "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-UVMGRGRO.js.map
9495
+ //# sourceMappingURL=chunk-Z6ASBYHI.js.map