@integrity-labs/agt-cli 0.28.529 → 0.28.530

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-MKSL2EQU.js";
43
+ } from "../chunk-7DNN4TH6.js";
44
44
  import {
45
45
  AnchorSessionClient,
46
46
  CHANNEL_REGISTRY,
@@ -4834,7 +4834,7 @@ import { execFileSync, execSync } from "child_process";
4834
4834
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4835
4835
  import chalk18 from "chalk";
4836
4836
  import ora16 from "ora";
4837
- var cliVersion = true ? "0.28.529" : "dev";
4837
+ var cliVersion = true ? "0.28.530" : "dev";
4838
4838
  async function fetchLatestVersion() {
4839
4839
  const host2 = getHost();
4840
4840
  if (!host2) return null;
@@ -6006,7 +6006,7 @@ function handleError(err) {
6006
6006
  }
6007
6007
 
6008
6008
  // src/bin/agt.ts
6009
- var cliVersion2 = true ? "0.28.529" : "dev";
6009
+ var cliVersion2 = true ? "0.28.530" : "dev";
6010
6010
  var program = new Command();
6011
6011
  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");
6012
6012
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -5486,7 +5486,7 @@ function exchangeFailureKind(err) {
5486
5486
  }
5487
5487
 
5488
5488
  // src/lib/api-client.ts
5489
- var agtCliVersion = true ? "0.28.529" : "dev";
5489
+ var agtCliVersion = true ? "0.28.530" : "dev";
5490
5490
  var lastConfigHash = null;
5491
5491
  function setConfigHash(hash) {
5492
5492
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8798,4 +8798,4 @@ export {
8798
8798
  managerInstallSystemUnitCommand,
8799
8799
  managerUninstallSystemUnitCommand
8800
8800
  };
8801
- //# sourceMappingURL=chunk-MKSL2EQU.js.map
8801
+ //# sourceMappingURL=chunk-7DNN4TH6.js.map
@@ -53,7 +53,7 @@ import {
53
53
  safeWriteJsonAtomic,
54
54
  setConfigHash,
55
55
  tripClass
56
- } from "../chunk-MKSL2EQU.js";
56
+ } from "../chunk-7DNN4TH6.js";
57
57
  import {
58
58
  getProjectDir as getProjectDir2,
59
59
  getReadyTasks,
@@ -10334,7 +10334,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
10334
10334
  var lastVersionCheckAt = 0;
10335
10335
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
10336
10336
  var lastResponsivenessProbeAt = 0;
10337
- var agtCliVersion = true ? "0.28.529" : "dev";
10337
+ var agtCliVersion = true ? "0.28.530" : "dev";
10338
10338
  function resolveBrewPath(execFileSync2) {
10339
10339
  try {
10340
10340
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -21004,7 +21004,7 @@ var SupportClient = class _SupportClient {
21004
21004
  this.apiKey = config2.apiKey;
21005
21005
  this.fetchImpl = config2.fetchImpl ?? fetch;
21006
21006
  this.token = config2.initialToken ?? "";
21007
- this.tokenExpiresAt = config2.initialToken ? Date.now() + 50 * 6e4 : 0;
21007
+ this.tokenExpiresAt = config2.initialToken ? config2.apiKey ? Date.now() + 50 * 6e4 : Number.POSITIVE_INFINITY : 0;
21008
21008
  }
21009
21009
  async refreshToken() {
21010
21010
  if (!this.apiKey) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.529",
3
+ "version": "0.28.530",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {