@integrity-labs/agt-cli 0.28.146 → 0.28.147

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-PPNRCJ6K.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-ERNRO4J6.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-UZMRURVF.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-E32P2WMR.js.map
@@ -28,7 +28,7 @@ import {
28
28
  requireHost,
29
29
  safeWriteJsonAtomic,
30
30
  setConfigHash
31
- } from "../chunk-X3O5A2NQ.js";
31
+ } from "../chunk-FAWY7H7Q.js";
32
32
  import {
33
33
  getProjectDir as getProjectDir2,
34
34
  getReadyTasks,
@@ -72,7 +72,7 @@ import {
72
72
  takeZombieDetection,
73
73
  transcriptActivityAgeSeconds,
74
74
  writeEgressAllowlist
75
- } from "../chunk-NXPB7XSK.js";
75
+ } from "../chunk-H7DPP33E.js";
76
76
  import {
77
77
  FLAGS_SCHEMA_VERSION,
78
78
  FLAG_REGISTRY,
@@ -7122,7 +7122,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
7122
7122
  var lastVersionCheckAt = 0;
7123
7123
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
7124
7124
  var lastResponsivenessProbeAt = 0;
7125
- var agtCliVersion = true ? "0.28.146" : "dev";
7125
+ var agtCliVersion = true ? "0.28.147" : "dev";
7126
7126
  function resolveBrewPath(execFileSync4) {
7127
7127
  try {
7128
7128
  const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -8255,7 +8255,7 @@ async function pollCycle() {
8255
8255
  }
8256
8256
  try {
8257
8257
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
8258
- const { collectDiagnostics } = await import("../persistent-session-PPNRCJ6K.js");
8258
+ const { collectDiagnostics } = await import("../persistent-session-ERNRO4J6.js");
8259
8259
  const diagCodeNames = [...agentState.persistentSessionAgents];
8260
8260
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
8261
8261
  let tailscaleHostname;
@@ -8403,7 +8403,7 @@ async function pollCycle() {
8403
8403
  const {
8404
8404
  collectResponsivenessProbes,
8405
8405
  getResponsivenessIntervalMs
8406
- } = await import("../responsiveness-probe-W2V3FIZR.js");
8406
+ } = await import("../responsiveness-probe-BLJS46ME.js");
8407
8407
  const probeIntervalMs = getResponsivenessIntervalMs();
8408
8408
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
8409
8409
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -8435,7 +8435,7 @@ async function pollCycle() {
8435
8435
  collectResponsivenessProbes,
8436
8436
  livePendingInboundOldestAgeSeconds,
8437
8437
  parkPendingInbound
8438
- } = await import("../responsiveness-probe-W2V3FIZR.js");
8438
+ } = await import("../responsiveness-probe-BLJS46ME.js");
8439
8439
  const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
8440
8440
  const wedgeNow = /* @__PURE__ */ new Date();
8441
8441
  const liveAgents = agentState.persistentSessionAgents;
@@ -11553,7 +11553,8 @@ async function processDirectChatMessage(agent, msg) {
11553
11553
  return;
11554
11554
  }
11555
11555
  if (isSessionHealthy(agent.codeName)) {
11556
- if (hostFlagStore().getBoolean("direct-chat-doorbell")) {
11556
+ const useDoorbell = hostFlagStore().getBoolean("direct-chat-doorbell") || isolationMode(agent.codeName) === "docker";
11557
+ if (useDoorbell) {
11557
11558
  try {
11558
11559
  const doorbell = directChatDoorbellPath(agent.agentId, homedir9());
11559
11560
  mkdirSync6(dirname5(doorbell), { recursive: true });
@@ -11561,6 +11562,10 @@ async function processDirectChatMessage(agent, msg) {
11561
11562
  log(`[direct-chat] Doorbell rung for '${agent.codeName}' (msg=${msg.id}) \u2014 in-session MCP will pull via the cursor`);
11562
11563
  return;
11563
11564
  } catch (err) {
11565
+ if (isolationMode(agent.codeName) === "docker") {
11566
+ log(`[direct-chat] Doorbell ring failed for isolated '${agent.codeName}' (msg=${msg.id}): ${err.message} \u2014 leaving pending for the in-session safety-net poll`);
11567
+ return;
11568
+ }
11564
11569
  log(`[direct-chat] Doorbell ring failed for '${agent.codeName}' (msg=${msg.id}): ${err.message} \u2014 falling back to send-keys inject`);
11565
11570
  }
11566
11571
  }
@@ -12023,7 +12028,7 @@ async function processClaudePairSessions(agents) {
12023
12028
  killPairSession,
12024
12029
  pairTmuxSession,
12025
12030
  finalizeClaudePairOnboarding
12026
- } = await import("../claude-pair-runtime-UZMRURVF.js");
12031
+ } = await import("../claude-pair-runtime-E32P2WMR.js");
12027
12032
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
12028
12033
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
12029
12034
  const killed = await killPairSession(pairTmuxSession(pairId));