@integrity-labs/agt-cli 0.27.97 → 0.27.98

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.
@@ -7585,4 +7585,4 @@ export {
7585
7585
  managerInstallSystemUnitCommand,
7586
7586
  managerUninstallSystemUnitCommand
7587
7587
  };
7588
- //# sourceMappingURL=chunk-6UQ6RPGV.js.map
7588
+ //# sourceMappingURL=chunk-S265L5AN.js.map
@@ -100,7 +100,7 @@ async function spawnPairSession(session) {
100
100
  return { ok: true };
101
101
  } catch {
102
102
  }
103
- const { resolveClaudeBinary } = await import("./persistent-session-2XLQOMXH.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-HAPAZHOA.js");
104
104
  const claudeBin = resolveClaudeBinary();
105
105
  const pairEnv = {
106
106
  ...process.env,
@@ -373,4 +373,4 @@ export {
373
373
  startClaudePair,
374
374
  submitClaudePairCode
375
375
  };
376
- //# sourceMappingURL=claude-pair-runtime-VAMYTRCR.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-M2WYVEV2.js.map
@@ -16,7 +16,7 @@ import {
16
16
  provisionStopHook,
17
17
  requireHost,
18
18
  safeWriteJsonAtomic
19
- } from "../chunk-6UQ6RPGV.js";
19
+ } from "../chunk-S265L5AN.js";
20
20
  import {
21
21
  getProjectDir as getProjectDir2,
22
22
  getReadyTasks,
@@ -54,7 +54,7 @@ import {
54
54
  stopPersistentSession,
55
55
  takeWatchdogGiveUpCount,
56
56
  takeZombieDetection
57
- } from "../chunk-MBHA6PEN.js";
57
+ } from "../chunk-3TAVWBOA.js";
58
58
  import {
59
59
  KANBAN_CHECK_COMMAND,
60
60
  appendDmFooter,
@@ -3996,7 +3996,7 @@ var cachedMaintenanceWindow = null;
3996
3996
  var lastVersionCheckAt = 0;
3997
3997
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
3998
3998
  var lastResponsivenessProbeAt = 0;
3999
- var agtCliVersion = true ? "0.27.97" : "dev";
3999
+ var agtCliVersion = true ? "0.27.98" : "dev";
4000
4000
  function resolveBrewPath(execFileSync4) {
4001
4001
  try {
4002
4002
  const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -5187,7 +5187,7 @@ async function pollCycle() {
5187
5187
  }
5188
5188
  try {
5189
5189
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
5190
- const { collectDiagnostics } = await import("../persistent-session-2XLQOMXH.js");
5190
+ const { collectDiagnostics } = await import("../persistent-session-HAPAZHOA.js");
5191
5191
  const diagCodeNames = [...agentState.persistentSessionAgents];
5192
5192
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
5193
5193
  let tailscaleHostname;
@@ -5260,7 +5260,7 @@ async function pollCycle() {
5260
5260
  const {
5261
5261
  collectResponsivenessProbes,
5262
5262
  getResponsivenessIntervalMs
5263
- } = await import("../responsiveness-probe-ABUPNDR7.js");
5263
+ } = await import("../responsiveness-probe-ZFYY5XOU.js");
5264
5264
  const probeIntervalMs = getResponsivenessIntervalMs();
5265
5265
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
5266
5266
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -5492,7 +5492,20 @@ async function pollCycle() {
5492
5492
  }
5493
5493
  },
5494
5494
  log,
5495
- now: () => Date.now()
5495
+ now: () => Date.now(),
5496
+ // ENG-6058: persist the give-up for the agent's channel servers —
5497
+ // their periodic sweeps turn it into a throttled user-facing
5498
+ // "please resend" notice for every conversation with an undrained
5499
+ // pending-inbound marker. Best-effort: a write failure is logged by
5500
+ // the watchdog, never fails the poll cycle.
5501
+ signalGiveUp: (codeName) => {
5502
+ const dir = join8(homedir4(), ".augmented", codeName);
5503
+ if (!existsSync5(dir)) return;
5504
+ atomicWriteFileSync(
5505
+ join8(dir, "watchdog-give-up.json"),
5506
+ JSON.stringify({ gave_up_at: (/* @__PURE__ */ new Date()).toISOString() })
5507
+ );
5508
+ }
5496
5509
  }, {
5497
5510
  // ENG-6055: heal-keystroke escalation. 'disturb' (default) retries
5498
5511
  // with x→BSpace→Enter after the first bare Enter fails — a bare
@@ -9561,7 +9574,7 @@ async function processClaudePairSessions(agents) {
9561
9574
  killPairSession,
9562
9575
  pairTmuxSession,
9563
9576
  finalizeClaudePairOnboarding
9564
- } = await import("../claude-pair-runtime-VAMYTRCR.js");
9577
+ } = await import("../claude-pair-runtime-M2WYVEV2.js");
9565
9578
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
9566
9579
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
9567
9580
  const killed = await killPairSession(pairTmuxSession(pairId));