@integrity-labs/agt-cli 0.28.211 → 0.28.212

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
@@ -38,7 +38,7 @@ import {
38
38
  success,
39
39
  table,
40
40
  warn
41
- } from "../chunk-Y4IVPWJB.js";
41
+ } from "../chunk-PJCSU3OI.js";
42
42
  import {
43
43
  CHANNEL_REGISTRY,
44
44
  DEFAULT_FRAMEWORK,
@@ -4826,7 +4826,7 @@ import { execFileSync, execSync } from "child_process";
4826
4826
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4827
4827
  import chalk18 from "chalk";
4828
4828
  import ora16 from "ora";
4829
- var cliVersion = true ? "0.28.211" : "dev";
4829
+ var cliVersion = true ? "0.28.212" : "dev";
4830
4830
  async function fetchLatestVersion() {
4831
4831
  const host2 = getHost();
4832
4832
  if (!host2) return null;
@@ -5840,7 +5840,7 @@ function handleError(err) {
5840
5840
  }
5841
5841
 
5842
5842
  // src/bin/agt.ts
5843
- var cliVersion2 = true ? "0.28.211" : "dev";
5843
+ var cliVersion2 = true ? "0.28.212" : "dev";
5844
5844
  var program = new Command();
5845
5845
  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");
5846
5846
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -5529,7 +5529,7 @@ function requireHost() {
5529
5529
  }
5530
5530
 
5531
5531
  // src/lib/api-client.ts
5532
- var agtCliVersion = true ? "0.28.211" : "dev";
5532
+ var agtCliVersion = true ? "0.28.212" : "dev";
5533
5533
  var lastConfigHash = null;
5534
5534
  function setConfigHash(hash) {
5535
5535
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -7581,4 +7581,4 @@ export {
7581
7581
  managerInstallSystemUnitCommand,
7582
7582
  managerUninstallSystemUnitCommand
7583
7583
  };
7584
- //# sourceMappingURL=chunk-Y4IVPWJB.js.map
7584
+ //# sourceMappingURL=chunk-PJCSU3OI.js.map
@@ -36,7 +36,7 @@ import {
36
36
  requireHost,
37
37
  safeWriteJsonAtomic,
38
38
  setConfigHash
39
- } from "../chunk-Y4IVPWJB.js";
39
+ } from "../chunk-PJCSU3OI.js";
40
40
  import {
41
41
  getProjectDir as getProjectDir2,
42
42
  getReadyTasks,
@@ -4669,7 +4669,8 @@ var DEFAULTS = {
4669
4669
  };
4670
4670
  function parseMode(raw) {
4671
4671
  const v = (raw ?? "").trim().toLowerCase();
4672
- return v === "shadow" || v === "enforce" ? v : "off";
4672
+ if (v === "shadow" || v === "enforce" || v === "off") return v;
4673
+ return "shadow";
4673
4674
  }
4674
4675
  function parsePositiveInt(raw, fallback, floor) {
4675
4676
  const n = raw ? Number.parseInt(raw, 10) : NaN;
@@ -6162,7 +6163,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
6162
6163
  var lastVersionCheckAt = 0;
6163
6164
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
6164
6165
  var lastResponsivenessProbeAt = 0;
6165
- var agtCliVersion = true ? "0.28.211" : "dev";
6166
+ var agtCliVersion = true ? "0.28.212" : "dev";
6166
6167
  function resolveBrewPath(execFileSync2) {
6167
6168
  try {
6168
6169
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();