@integrity-labs/agt-cli 0.28.94 → 0.28.95

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
@@ -37,7 +37,7 @@ import {
37
37
  success,
38
38
  table,
39
39
  warn
40
- } from "../chunk-7IEFSTN5.js";
40
+ } from "../chunk-QQYVNV5N.js";
41
41
  import {
42
42
  CHANNEL_REGISTRY,
43
43
  DEPLOYMENT_TEMPLATES,
@@ -64,7 +64,7 @@ import {
64
64
  renderTemplate,
65
65
  resolveChannels,
66
66
  serializeManifestForSlackCli
67
- } from "../chunk-GLBWCCZD.js";
67
+ } from "../chunk-TRKWWYRN.js";
68
68
 
69
69
  // src/bin/agt.ts
70
70
  import { join as join22 } from "path";
@@ -4777,7 +4777,7 @@ import { execFileSync, execSync } from "child_process";
4777
4777
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4778
4778
  import chalk18 from "chalk";
4779
4779
  import ora16 from "ora";
4780
- var cliVersion = true ? "0.28.94" : "dev";
4780
+ var cliVersion = true ? "0.28.95" : "dev";
4781
4781
  async function fetchLatestVersion() {
4782
4782
  const host2 = getHost();
4783
4783
  if (!host2) return null;
@@ -5791,7 +5791,7 @@ function handleError(err) {
5791
5791
  }
5792
5792
 
5793
5793
  // src/bin/agt.ts
5794
- var cliVersion2 = true ? "0.28.94" : "dev";
5794
+ var cliVersion2 = true ? "0.28.95" : "dev";
5795
5795
  var program = new Command();
5796
5796
  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");
5797
5797
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -3,7 +3,7 @@ import {
3
3
  formatMissingVar,
4
4
  isClaudeFastMode,
5
5
  probeMcpEnvSubstitution
6
- } from "./chunk-GLBWCCZD.js";
6
+ } from "./chunk-TRKWWYRN.js";
7
7
  import {
8
8
  reapOrphanChannelMcps
9
9
  } from "./chunk-XWVM4KPK.js";
@@ -1395,4 +1395,4 @@ export {
1395
1395
  stopAllSessionsAndWait,
1396
1396
  getProjectDir
1397
1397
  };
1398
- //# sourceMappingURL=chunk-CSTDOXOK.js.map
1398
+ //# sourceMappingURL=chunk-JYSWJMXU.js.map
@@ -22,7 +22,7 @@ import {
22
22
  resolveConnectivityProbe,
23
23
  worseConnectivityOutcome,
24
24
  wrapScheduledTaskPrompt
25
- } from "./chunk-GLBWCCZD.js";
25
+ } from "./chunk-TRKWWYRN.js";
26
26
 
27
27
  // ../../packages/core/dist/integrations/registry.js
28
28
  var INTEGRATION_REGISTRY = [
@@ -7541,7 +7541,7 @@ function requireHost() {
7541
7541
  }
7542
7542
 
7543
7543
  // src/lib/api-client.ts
7544
- var agtCliVersion = true ? "0.28.94" : "dev";
7544
+ var agtCliVersion = true ? "0.28.95" : "dev";
7545
7545
  var lastConfigHash = null;
7546
7546
  function setConfigHash(hash) {
7547
7547
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8838,4 +8838,4 @@ export {
8838
8838
  managerInstallSystemUnitCommand,
8839
8839
  managerUninstallSystemUnitCommand
8840
8840
  };
8841
- //# sourceMappingURL=chunk-7IEFSTN5.js.map
8841
+ //# sourceMappingURL=chunk-QQYVNV5N.js.map
@@ -977,6 +977,9 @@ var INITIAL_ONBOARDING_STATE = { step: "pending", completed: [] };
977
977
  function withChannel(base, channel) {
978
978
  return channel ? { ...base, channel } : base;
979
979
  }
980
+ function withGeneration(base, generation) {
981
+ return generation === void 0 ? base : { ...base, generation };
982
+ }
980
983
  var VALID_STEPS = /* @__PURE__ */ new Set(["pending", ...AREA_ORDER, "ready"]);
981
984
  var LEGACY_STEP_REMAP = {
982
985
  interviewing: "framing",
@@ -995,7 +998,8 @@ function coerceOnboardingState(raw) {
995
998
  if (step === null)
996
999
  return INITIAL_ONBOARDING_STATE;
997
1000
  const completed = s.completed.filter((c) => typeof c === "string").map(remapStep).filter((c) => c !== null);
998
- const out = withChannel({ step, completed }, coerceOnboardingChannel(s.channel));
1001
+ const generation = typeof s.generation === "number" && Number.isFinite(s.generation) && s.generation >= 0 ? Math.floor(s.generation) : void 0;
1002
+ const out = withGeneration(withChannel({ step, completed }, coerceOnboardingChannel(s.channel)), generation);
999
1003
  const enteredAt = typeof s.areaEnteredAt === "string" && s.areaEnteredAt ? s.areaEnteredAt : void 0;
1000
1004
  return enteredAt && isOnboardingArea(step) ? { ...out, areaEnteredAt: enteredAt } : out;
1001
1005
  }
@@ -5659,4 +5663,4 @@ export {
5659
5663
  parseEnvIntegrations,
5660
5664
  probeMcpEnvSubstitution
5661
5665
  };
5662
- //# sourceMappingURL=chunk-GLBWCCZD.js.map
5666
+ //# sourceMappingURL=chunk-TRKWWYRN.js.map