@integrity-labs/agt-cli 0.28.1305 → 0.28.1307

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.
@@ -15,7 +15,7 @@ import {
15
15
  mintRotatedHostKey,
16
16
  probeHostKey,
17
17
  setConfigHash
18
- } from "./chunk-IAMR66I2.js";
18
+ } from "./chunk-VOYD7FPP.js";
19
19
  import "./chunk-4KSUIAI4.js";
20
20
  import "./chunk-DGUM43GV.js";
21
21
  export {
@@ -36,4 +36,4 @@ export {
36
36
  probeHostKey,
37
37
  setConfigHash
38
38
  };
39
- //# sourceMappingURL=api-client-CHOB6TBR.js.map
39
+ //# sourceMappingURL=api-client-HAN3QU6H.js.map
package/dist/bin/agt.js CHANGED
@@ -31,7 +31,7 @@ import {
31
31
  success,
32
32
  table,
33
33
  warn
34
- } from "../chunk-2VEQ7UID.js";
34
+ } from "../chunk-IA3IT3JM.js";
35
35
  import {
36
36
  ApiError,
37
37
  PROD_AGT_HOST,
@@ -42,12 +42,12 @@ import {
42
42
  getHost,
43
43
  getHostId,
44
44
  setActiveTeam
45
- } from "../chunk-IAMR66I2.js";
45
+ } from "../chunk-VOYD7FPP.js";
46
46
  import {
47
47
  getProjectDir,
48
48
  isSessionResumeDisabled,
49
49
  readDirectChatSessionState
50
- } from "../chunk-PT3QK5ZP.js";
50
+ } from "../chunk-CQQYZUC5.js";
51
51
  import {
52
52
  markDailySessionSpawn,
53
53
  sessionFileExists,
@@ -5207,7 +5207,7 @@ import { execFileSync, execSync } from "child_process";
5207
5207
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
5208
5208
  import chalk17 from "chalk";
5209
5209
  import ora15 from "ora";
5210
- var cliVersion = true ? "0.28.1305" : "dev";
5210
+ var cliVersion = true ? "0.28.1307" : "dev";
5211
5211
  async function fetchLatestVersion() {
5212
5212
  const host2 = getHost();
5213
5213
  if (!host2) return null;
@@ -6467,7 +6467,7 @@ function handleError(err) {
6467
6467
  }
6468
6468
 
6469
6469
  // src/bin/agt.ts
6470
- var cliVersion2 = true ? "0.28.1305" : "dev";
6470
+ var cliVersion2 = true ? "0.28.1307" : "dev";
6471
6471
  var program = new Command();
6472
6472
  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");
6473
6473
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -6146,6 +6146,11 @@ function takeZombieDetection(codeName) {
6146
6146
  if (record) pendingZombieDetections.delete(codeName);
6147
6147
  return record ?? null;
6148
6148
  }
6149
+ var neverDefer = () => false;
6150
+ var hostPathMigrationDeferred = neverDefer;
6151
+ function setHostPathMigrationDeferral(fn) {
6152
+ hostPathMigrationDeferred = fn ?? neverDefer;
6153
+ }
6149
6154
  function isSessionHealthy(codeName) {
6150
6155
  const tmuxSession = `agt-${codeName}`;
6151
6156
  try {
@@ -6197,6 +6202,7 @@ function isSessionHealthy(codeName) {
6197
6202
  zombieProbeCache.set(codeName, { at: Date.now(), liveness });
6198
6203
  }
6199
6204
  if (liveness === "host_path") {
6205
+ if (hostPathMigrationDeferred()) return true;
6200
6206
  try {
6201
6207
  execFileSync3("tmux", ["kill-session", "-t", tmuxSessionTarget(tmuxSession)], { stdio: "ignore" });
6202
6208
  } catch {
@@ -6578,6 +6584,7 @@ export {
6578
6584
  launchStartMs,
6579
6585
  takeUnexpectedExit,
6580
6586
  takeZombieDetection,
6587
+ setHostPathMigrationDeferral,
6581
6588
  isSessionHealthy,
6582
6589
  resetRestartCount,
6583
6590
  nextObservation,
@@ -6586,4 +6593,4 @@ export {
6586
6593
  stopAllSessionsAndWait,
6587
6594
  getProjectDir
6588
6595
  };
6589
- //# sourceMappingURL=chunk-PT3QK5ZP.js.map
6596
+ //# sourceMappingURL=chunk-CQQYZUC5.js.map