@integrity-labs/agt-cli 0.28.631 → 0.28.632

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-VUVAFI4R.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-YER3H6R6.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-OU7EYHVL.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-JYRAP5M3.js.map
@@ -54,7 +54,7 @@ import {
54
54
  safeWriteJsonAtomic,
55
55
  setConfigHash,
56
56
  tripClass
57
- } from "../chunk-RZDL5TB6.js";
57
+ } from "../chunk-QDIF33SF.js";
58
58
  import {
59
59
  getProjectDir as getProjectDir2,
60
60
  getReadyTasks,
@@ -110,7 +110,7 @@ import {
110
110
  takeZombieDetection,
111
111
  toOpencodeModel,
112
112
  writeEgressAllowlist
113
- } from "../chunk-7QNQRV3A.js";
113
+ } from "../chunk-IT2WYXBM.js";
114
114
  import {
115
115
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
116
116
  AnchorSessionClient,
@@ -187,7 +187,7 @@ import {
187
187
  subagentActivityAgeSeconds,
188
188
  sumTranscriptUsageInWindow,
189
189
  transcriptActivityAgeSeconds
190
- } from "../chunk-XQ7BNYC4.js";
190
+ } from "../chunk-FKG7DIE2.js";
191
191
  import {
192
192
  reapOrphanChannelMcps
193
193
  } from "../chunk-XWVM4KPK.js";
@@ -11492,7 +11492,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
11492
11492
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
11493
11493
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
11494
11494
  async function channelInboundActivityAgeSecondsFor(codeName) {
11495
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-Q4HYKKJJ.js");
11495
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-MWZBEJOS.js");
11496
11496
  const newest = newestPendingInboundActivityMtimeMs(dirname9(paneLogPath(codeName)));
11497
11497
  if (newest === null) return null;
11498
11498
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -11783,7 +11783,7 @@ function seedSessionLaunchBaselines(codeName, projectDir) {
11783
11783
  }
11784
11784
  async function runAgentConnectivityProbes(agent, integrations, projectDir) {
11785
11785
  if (integrations.length === 0) return;
11786
- const probeEnv = buildProbeEnv(projectDir);
11786
+ const probeEnv = buildProbeEnv(projectDir, agent.agent_id);
11787
11787
  const probeDeps = buildConnectivityProbeDeps(projectDir, probeEnv);
11788
11788
  const intervalSec = Number(process.env.AGT_CONNECTIVITY_PROBE_INTERVAL_SECONDS) || 3600;
11789
11789
  const result = await runConnectivityProbes(
@@ -12131,7 +12131,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
12131
12131
  var lastVersionCheckAt = 0;
12132
12132
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
12133
12133
  var lastResponsivenessProbeAt = 0;
12134
- var agtCliVersion = true ? "0.28.631" : "dev";
12134
+ var agtCliVersion = true ? "0.28.632" : "dev";
12135
12135
  function resolveBrewPath(execFileSync3) {
12136
12136
  try {
12137
12137
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -13438,7 +13438,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
13438
13438
  if (codeNames.length === 0) return;
13439
13439
  void (async () => {
13440
13440
  try {
13441
- const { collectDiagnostics } = await import("../persistent-session-VUVAFI4R.js");
13441
+ const { collectDiagnostics } = await import("../persistent-session-YER3H6R6.js");
13442
13442
  await api.post("/host/heartbeat", {
13443
13443
  host_id: hostId,
13444
13444
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -13554,7 +13554,7 @@ async function pollCycleInner() {
13554
13554
  }
13555
13555
  try {
13556
13556
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
13557
- const { collectDiagnostics } = await import("../persistent-session-VUVAFI4R.js");
13557
+ const { collectDiagnostics } = await import("../persistent-session-YER3H6R6.js");
13558
13558
  const diagCodeNames = [...agentState.persistentSessionAgents];
13559
13559
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor) : void 0;
13560
13560
  let tailscaleHostname;
@@ -13677,7 +13677,7 @@ async function pollCycleInner() {
13677
13677
  collectPanelessActivityProbes,
13678
13678
  getResponsivenessIntervalMs,
13679
13679
  occupancyQualificationClassifications
13680
- } = await import("../responsiveness-probe-Q4HYKKJJ.js");
13680
+ } = await import("../responsiveness-probe-MWZBEJOS.js");
13681
13681
  const probeIntervalMs = getResponsivenessIntervalMs();
13682
13682
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
13683
13683
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -13783,7 +13783,7 @@ async function pollCycleInner() {
13783
13783
  collectResponsivenessProbes,
13784
13784
  livePendingInboundOldestAgeSeconds,
13785
13785
  parkPendingInbound
13786
- } = await import("../responsiveness-probe-Q4HYKKJJ.js");
13786
+ } = await import("../responsiveness-probe-MWZBEJOS.js");
13787
13787
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
13788
13788
  const wedgeNow = /* @__PURE__ */ new Date();
13789
13789
  const liveAgents = agentState.persistentSessionAgents;
@@ -13939,7 +13939,7 @@ async function pollCycleInner() {
13939
13939
  }
13940
13940
  try {
13941
13941
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
13942
- const { probeSessionAuth } = await import("../session-auth-dead-WKUINREY.js");
13942
+ const { probeSessionAuth } = await import("../session-auth-dead-NASGEQCA.js");
13943
13943
  const observations = [];
13944
13944
  const pendingCacheCommits = [];
13945
13945
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -17481,7 +17481,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
17481
17481
  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}`));
17482
17482
  void (async () => {
17483
17483
  try {
17484
- const { collectDiagnostics } = await import("../persistent-session-VUVAFI4R.js");
17484
+ const { collectDiagnostics } = await import("../persistent-session-YER3H6R6.js");
17485
17485
  await api.post("/host/heartbeat", {
17486
17486
  host_id: hostId,
17487
17487
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -17532,7 +17532,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
17532
17532
  }
17533
17533
  try {
17534
17534
  const hostId = await getHostId();
17535
- const { collectDiagnostics } = await import("../persistent-session-VUVAFI4R.js");
17535
+ const { collectDiagnostics } = await import("../persistent-session-YER3H6R6.js");
17536
17536
  await api.post("/host/heartbeat", {
17537
17537
  host_id: hostId,
17538
17538
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -18128,7 +18128,7 @@ async function processClaudePairSessions(agents) {
18128
18128
  killPairSession,
18129
18129
  pairTmuxSession,
18130
18130
  finalizeClaudePairOnboarding
18131
- } = await import("../claude-pair-runtime-OU7EYHVL.js");
18131
+ } = await import("../claude-pair-runtime-JYRAP5M3.js");
18132
18132
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
18133
18133
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
18134
18134
  const killed = await killPairSession(pairTmuxSession(pairId));