@integrity-labs/agt-cli 0.27.75 → 0.27.77

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.
@@ -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-CXKB7FU3.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-4HYXVGKO.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-XMX2QOGP.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-EZ73GJW7.js.map
@@ -16,7 +16,7 @@ import {
16
16
  provisionStopHook,
17
17
  requireHost,
18
18
  safeWriteJsonAtomic
19
- } from "../chunk-AWAKTFWY.js";
19
+ } from "../chunk-CMOPDYMM.js";
20
20
  import {
21
21
  getProjectDir as getProjectDir2,
22
22
  getReadyTasks,
@@ -51,8 +51,9 @@ import {
51
51
  startPersistentSession,
52
52
  stopAllSessionsAndWait,
53
53
  stopPersistentSession,
54
+ takeWatchdogGiveUpCount,
54
55
  takeZombieDetection
55
- } from "../chunk-VTAXNSGS.js";
56
+ } from "../chunk-FAR2FJBQ.js";
56
57
  import {
57
58
  KANBAN_CHECK_COMMAND,
58
59
  appendDmFooter,
@@ -3647,7 +3648,7 @@ var cachedMaintenanceWindow = null;
3647
3648
  var lastVersionCheckAt = 0;
3648
3649
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
3649
3650
  var lastResponsivenessProbeAt = 0;
3650
- var agtCliVersion = true ? "0.27.75" : "dev";
3651
+ var agtCliVersion = true ? "0.27.77" : "dev";
3651
3652
  function resolveBrewPath(execFileSync4) {
3652
3653
  try {
3653
3654
  const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -4761,7 +4762,7 @@ async function pollCycle() {
4761
4762
  }
4762
4763
  try {
4763
4764
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
4764
- const { collectDiagnostics } = await import("../persistent-session-CXKB7FU3.js");
4765
+ const { collectDiagnostics } = await import("../persistent-session-4HYXVGKO.js");
4765
4766
  const diagCodeNames = [...agentState.persistentSessionAgents];
4766
4767
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
4767
4768
  let tailscaleHostname;
@@ -4834,12 +4835,15 @@ async function pollCycle() {
4834
4835
  const {
4835
4836
  collectResponsivenessProbes,
4836
4837
  getResponsivenessIntervalMs
4837
- } = await import("../responsiveness-probe-EKB5VBCX.js");
4838
+ } = await import("../responsiveness-probe-NUGYDDMS.js");
4838
4839
  const probeIntervalMs = getResponsivenessIntervalMs();
4839
4840
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
4840
4841
  const probeCodeNames = [...agentState.persistentSessionAgents];
4841
4842
  if (probeCodeNames.length > 0) {
4842
- const probes = collectResponsivenessProbes(probeCodeNames);
4843
+ const probes = collectResponsivenessProbes(probeCodeNames).map((p) => ({
4844
+ ...p,
4845
+ input_stuck_give_ups: takeWatchdogGiveUpCount(p.code_name)
4846
+ }));
4843
4847
  if (probes.length > 0) {
4844
4848
  void api.post("/host/responsiveness-probe", { host_id: hostId, probes }).catch((err) => {
4845
4849
  log(`[responsiveness-probe] post failed: ${err.message}`);
@@ -9012,7 +9016,7 @@ async function processClaudePairSessions(agents) {
9012
9016
  killPairSession,
9013
9017
  pairTmuxSession,
9014
9018
  finalizeClaudePairOnboarding
9015
- } = await import("../claude-pair-runtime-XMX2QOGP.js");
9019
+ } = await import("../claude-pair-runtime-EZ73GJW7.js");
9016
9020
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
9017
9021
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
9018
9022
  const killed = await killPairSession(pairTmuxSession(pairId));