@integrity-labs/agt-cli 0.28.277 → 0.28.279

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.
@@ -18,7 +18,7 @@ import {
18
18
  resolveConnectivityProbe,
19
19
  worseConnectivityOutcome,
20
20
  wrapScheduledTaskPrompt
21
- } from "./chunk-THMHJITM.js";
21
+ } from "./chunk-7USLYY43.js";
22
22
  import {
23
23
  parsePsRows
24
24
  } from "./chunk-XWVM4KPK.js";
@@ -5882,7 +5882,7 @@ function requireHost() {
5882
5882
  }
5883
5883
 
5884
5884
  // src/lib/api-client.ts
5885
- var agtCliVersion = true ? "0.28.277" : "dev";
5885
+ var agtCliVersion = true ? "0.28.279" : "dev";
5886
5886
  var lastConfigHash = null;
5887
5887
  function setConfigHash(hash) {
5888
5888
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8162,4 +8162,4 @@ export {
8162
8162
  managerInstallSystemUnitCommand,
8163
8163
  managerUninstallSystemUnitCommand
8164
8164
  };
8165
- //# sourceMappingURL=chunk-WDSTXIN6.js.map
8165
+ //# sourceMappingURL=chunk-LCCC2AGQ.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-SDDSZN5E.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-SZ4TUGED.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-Z726QSAR.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-EXW6NBLU.js.map
@@ -38,7 +38,7 @@ import {
38
38
  requireHost,
39
39
  safeWriteJsonAtomic,
40
40
  setConfigHash
41
- } from "../chunk-WDSTXIN6.js";
41
+ } from "../chunk-LCCC2AGQ.js";
42
42
  import {
43
43
  getProjectDir as getProjectDir2,
44
44
  getReadyTasks,
@@ -125,7 +125,7 @@ import {
125
125
  takeZombieDetection,
126
126
  transcriptActivityAgeSeconds,
127
127
  writeEgressAllowlist
128
- } from "../chunk-THMHJITM.js";
128
+ } from "../chunk-7USLYY43.js";
129
129
  import {
130
130
  reapOrphanChannelMcps
131
131
  } from "../chunk-XWVM4KPK.js";
@@ -6360,8 +6360,7 @@ function cancelPendingSessionRestart(codeName) {
6360
6360
  log(`[hot-reload] Cancelled pending restart timer for '${codeName}' (another teardown path is handling it)`);
6361
6361
  }
6362
6362
  function bindRemediationEnabled() {
6363
- const v = (process.env["AGT_BIND_REMEDIATION_ENABLED"] ?? "").trim().toLowerCase();
6364
- return v === "true" || v === "1";
6363
+ return hostFlagStore().getBoolean("bind-remediation");
6365
6364
  }
6366
6365
  var BIND_REMEDIATION_JITTER_MS = 3e4;
6367
6366
  var BIND_REMEDIATION_FIRST_CONNECT_WINDOW_MS = readEnvNumber(
@@ -6828,7 +6827,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
6828
6827
  var lastVersionCheckAt = 0;
6829
6828
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
6830
6829
  var lastResponsivenessProbeAt = 0;
6831
- var agtCliVersion = true ? "0.28.277" : "dev";
6830
+ var agtCliVersion = true ? "0.28.279" : "dev";
6832
6831
  function resolveBrewPath(execFileSync2) {
6833
6832
  try {
6834
6833
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -7678,7 +7677,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
7678
7677
  if (codeNames.length === 0) return;
7679
7678
  void (async () => {
7680
7679
  try {
7681
- const { collectDiagnostics } = await import("../persistent-session-SDDSZN5E.js");
7680
+ const { collectDiagnostics } = await import("../persistent-session-SZ4TUGED.js");
7682
7681
  await api.post("/host/heartbeat", {
7683
7682
  host_id: hostId,
7684
7683
  agent_diagnostics: collectDiagnostics(codeNames)
@@ -7776,7 +7775,7 @@ async function pollCycle() {
7776
7775
  }
7777
7776
  try {
7778
7777
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
7779
- const { collectDiagnostics } = await import("../persistent-session-SDDSZN5E.js");
7778
+ const { collectDiagnostics } = await import("../persistent-session-SZ4TUGED.js");
7780
7779
  const diagCodeNames = [...agentState.persistentSessionAgents];
7781
7780
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
7782
7781
  let tailscaleHostname;
@@ -7924,7 +7923,7 @@ async function pollCycle() {
7924
7923
  const {
7925
7924
  collectResponsivenessProbes,
7926
7925
  getResponsivenessIntervalMs
7927
- } = await import("../responsiveness-probe-ODKT4WUR.js");
7926
+ } = await import("../responsiveness-probe-MKFZAUV5.js");
7928
7927
  const probeIntervalMs = getResponsivenessIntervalMs();
7929
7928
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
7930
7929
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -7956,7 +7955,7 @@ async function pollCycle() {
7956
7955
  collectResponsivenessProbes,
7957
7956
  livePendingInboundOldestAgeSeconds,
7958
7957
  parkPendingInbound
7959
- } = await import("../responsiveness-probe-ODKT4WUR.js");
7958
+ } = await import("../responsiveness-probe-MKFZAUV5.js");
7960
7959
  const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
7961
7960
  const wedgeNow = /* @__PURE__ */ new Date();
7962
7961
  const liveAgents = agentState.persistentSessionAgents;
@@ -10846,7 +10845,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
10846
10845
  void api.post("/host/restart-ack", { host_id: hostId, agent_id: agentId, restart_requested_at: requestedAt }).catch((err) => log(`[restart-lane] ack failed for '${codeName}': ${err.message}`));
10847
10846
  void (async () => {
10848
10847
  try {
10849
- const { collectDiagnostics } = await import("../persistent-session-SDDSZN5E.js");
10848
+ const { collectDiagnostics } = await import("../persistent-session-SZ4TUGED.js");
10850
10849
  await api.post("/host/heartbeat", {
10851
10850
  host_id: hostId,
10852
10851
  agent_diagnostics: collectDiagnostics([codeName])
@@ -10896,7 +10895,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
10896
10895
  }
10897
10896
  try {
10898
10897
  const hostId = await getHostId();
10899
- const { collectDiagnostics } = await import("../persistent-session-SDDSZN5E.js");
10898
+ const { collectDiagnostics } = await import("../persistent-session-SZ4TUGED.js");
10900
10899
  await api.post("/host/heartbeat", {
10901
10900
  host_id: hostId,
10902
10901
  agent_diagnostics: collectDiagnostics([codeName])
@@ -11300,7 +11299,7 @@ async function processClaudePairSessions(agents) {
11300
11299
  killPairSession,
11301
11300
  pairTmuxSession,
11302
11301
  finalizeClaudePairOnboarding
11303
- } = await import("../claude-pair-runtime-Z726QSAR.js");
11302
+ } = await import("../claude-pair-runtime-EXW6NBLU.js");
11304
11303
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
11305
11304
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
11306
11305
  const killed = await killPairSession(pairTmuxSession(pairId));