@integrity-labs/agt-cli 0.28.296 → 0.28.298

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-QXU5FMXN.js";
21
+ } from "./chunk-5LUVY4P6.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.296" : "dev";
5885
+ var agtCliVersion = true ? "0.28.298" : "dev";
5886
5886
  var lastConfigHash = null;
5887
5887
  function setConfigHash(hash) {
5888
5888
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8181,4 +8181,4 @@ export {
8181
8181
  managerInstallSystemUnitCommand,
8182
8182
  managerUninstallSystemUnitCommand
8183
8183
  };
8184
- //# sourceMappingURL=chunk-DZLBOAQ2.js.map
8184
+ //# sourceMappingURL=chunk-EF42DMMK.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-A5N7BYS3.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-ZQUFIWLK.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-BIBIVB7I.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-UTQO3G5A.js.map
@@ -39,7 +39,7 @@ import {
39
39
  requireHost,
40
40
  safeWriteJsonAtomic,
41
41
  setConfigHash
42
- } from "../chunk-DZLBOAQ2.js";
42
+ } from "../chunk-EF42DMMK.js";
43
43
  import {
44
44
  getProjectDir as getProjectDir2,
45
45
  getReadyTasks,
@@ -126,7 +126,7 @@ import {
126
126
  takeZombieDetection,
127
127
  transcriptActivityAgeSeconds,
128
128
  writeEgressAllowlist
129
- } from "../chunk-QXU5FMXN.js";
129
+ } from "../chunk-5LUVY4P6.js";
130
130
  import {
131
131
  reapOrphanChannelMcps
132
132
  } from "../chunk-XWVM4KPK.js";
@@ -6947,7 +6947,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
6947
6947
  var lastVersionCheckAt = 0;
6948
6948
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
6949
6949
  var lastResponsivenessProbeAt = 0;
6950
- var agtCliVersion = true ? "0.28.296" : "dev";
6950
+ var agtCliVersion = true ? "0.28.298" : "dev";
6951
6951
  function resolveBrewPath(execFileSync2) {
6952
6952
  try {
6953
6953
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -7060,8 +7060,10 @@ async function ensureToolkitCli(toolkitSlug) {
7060
7060
  execSync(script, { timeout: 18e4, stdio: "pipe" });
7061
7061
  }
7062
7062
  } catch (err) {
7063
- const msg = err.message.slice(0, 200);
7064
- recordToolkitFailure(toolkitSlug, `installer=${resolvedInstaller} failed \u2014 ${msg}`);
7063
+ const e = err;
7064
+ const stderr = e.stderr ? e.stderr.toString().trim() : "";
7065
+ const detail = (stderr || e.message).slice(0, 300);
7066
+ recordToolkitFailure(toolkitSlug, `installer=${resolvedInstaller} failed: ${detail}`);
7065
7067
  return;
7066
7068
  }
7067
7069
  if (brewBinDir && !process.env.PATH?.split(":").includes(brewBinDir)) {
@@ -7800,7 +7802,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
7800
7802
  if (codeNames.length === 0) return;
7801
7803
  void (async () => {
7802
7804
  try {
7803
- const { collectDiagnostics } = await import("../persistent-session-A5N7BYS3.js");
7805
+ const { collectDiagnostics } = await import("../persistent-session-ZQUFIWLK.js");
7804
7806
  await api.post("/host/heartbeat", {
7805
7807
  host_id: hostId,
7806
7808
  agent_diagnostics: collectDiagnostics(codeNames)
@@ -7898,7 +7900,7 @@ async function pollCycle() {
7898
7900
  }
7899
7901
  try {
7900
7902
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
7901
- const { collectDiagnostics } = await import("../persistent-session-A5N7BYS3.js");
7903
+ const { collectDiagnostics } = await import("../persistent-session-ZQUFIWLK.js");
7902
7904
  const diagCodeNames = [...agentState.persistentSessionAgents];
7903
7905
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
7904
7906
  let tailscaleHostname;
@@ -8046,7 +8048,7 @@ async function pollCycle() {
8046
8048
  const {
8047
8049
  collectResponsivenessProbes,
8048
8050
  getResponsivenessIntervalMs
8049
- } = await import("../responsiveness-probe-OZP2HO2F.js");
8051
+ } = await import("../responsiveness-probe-BFB2G333.js");
8050
8052
  const probeIntervalMs = getResponsivenessIntervalMs();
8051
8053
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
8052
8054
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -8078,7 +8080,7 @@ async function pollCycle() {
8078
8080
  collectResponsivenessProbes,
8079
8081
  livePendingInboundOldestAgeSeconds,
8080
8082
  parkPendingInbound
8081
- } = await import("../responsiveness-probe-OZP2HO2F.js");
8083
+ } = await import("../responsiveness-probe-BFB2G333.js");
8082
8084
  const { getProjectDir: wedgeProjectDir } = await import("../claude-scheduler-FATCLHDM.js");
8083
8085
  const wedgeNow = /* @__PURE__ */ new Date();
8084
8086
  const liveAgents = agentState.persistentSessionAgents;
@@ -11049,7 +11051,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
11049
11051
  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}`));
11050
11052
  void (async () => {
11051
11053
  try {
11052
- const { collectDiagnostics } = await import("../persistent-session-A5N7BYS3.js");
11054
+ const { collectDiagnostics } = await import("../persistent-session-ZQUFIWLK.js");
11053
11055
  await api.post("/host/heartbeat", {
11054
11056
  host_id: hostId,
11055
11057
  agent_diagnostics: collectDiagnostics([codeName])
@@ -11099,7 +11101,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
11099
11101
  }
11100
11102
  try {
11101
11103
  const hostId = await getHostId();
11102
- const { collectDiagnostics } = await import("../persistent-session-A5N7BYS3.js");
11104
+ const { collectDiagnostics } = await import("../persistent-session-ZQUFIWLK.js");
11103
11105
  await api.post("/host/heartbeat", {
11104
11106
  host_id: hostId,
11105
11107
  agent_diagnostics: collectDiagnostics([codeName])
@@ -11504,7 +11506,7 @@ async function processClaudePairSessions(agents) {
11504
11506
  killPairSession,
11505
11507
  pairTmuxSession,
11506
11508
  finalizeClaudePairOnboarding
11507
- } = await import("../claude-pair-runtime-BIBIVB7I.js");
11509
+ } = await import("../claude-pair-runtime-UTQO3G5A.js");
11508
11510
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
11509
11511
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
11510
11512
  const killed = await killPairSession(pairTmuxSession(pairId));