@integrity-labs/agt-cli 0.28.457 → 0.28.458

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-LEWM6BKO.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-EVLWDI3I.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-QNOUSTW3.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-CVCPBJOZ.js.map
@@ -42,7 +42,7 @@ import {
42
42
  resolveEffectivePinRaw,
43
43
  safeWriteJsonAtomic,
44
44
  setConfigHash
45
- } from "../chunk-WMGMLOPB.js";
45
+ } from "../chunk-QIQQ46NH.js";
46
46
  import {
47
47
  getProjectDir as getProjectDir2,
48
48
  getReadyTasks,
@@ -164,7 +164,7 @@ import {
164
164
  toOpencodeModel,
165
165
  transcriptActivityAgeSeconds,
166
166
  writeEgressAllowlist
167
- } from "../chunk-QFBCK4ZH.js";
167
+ } from "../chunk-KAIH24HZ.js";
168
168
  import {
169
169
  reapOrphanChannelMcps
170
170
  } from "../chunk-XWVM4KPK.js";
@@ -1596,7 +1596,14 @@ async function runConnectivityProbes(integrations, options = {}) {
1596
1596
  integration_id: integ.id,
1597
1597
  scope: integ.scope,
1598
1598
  status: outcome.status,
1599
- ...outcome.message ? { message: outcome.message } : {}
1599
+ ...outcome.message ? { message: outcome.message } : {},
1600
+ // ENG-8226: report WHAT the probe did, not just what it concluded. The
1601
+ // API persists this to `last_connectivity_evidence` so an `ok` is
1602
+ // self-describing and a green verdict can be justified rather than
1603
+ // assumed. Defaults to 'none' rather than being omitted — an absent field
1604
+ // from an older manager and a probe that contacted nothing must land in
1605
+ // the same, conservative place.
1606
+ evidence: outcome.evidence ?? "none"
1600
1607
  });
1601
1608
  }
1602
1609
  return { reports, due: due.length, probed: batch.length, skipped };
@@ -9949,7 +9956,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
9949
9956
  var lastVersionCheckAt = 0;
9950
9957
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
9951
9958
  var lastResponsivenessProbeAt = 0;
9952
- var agtCliVersion = true ? "0.28.457" : "dev";
9959
+ var agtCliVersion = true ? "0.28.458" : "dev";
9953
9960
  function resolveBrewPath(execFileSync2) {
9954
9961
  try {
9955
9962
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -11110,7 +11117,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
11110
11117
  if (codeNames.length === 0) return;
11111
11118
  void (async () => {
11112
11119
  try {
11113
- const { collectDiagnostics } = await import("../persistent-session-LEWM6BKO.js");
11120
+ const { collectDiagnostics } = await import("../persistent-session-EVLWDI3I.js");
11114
11121
  await api.post("/host/heartbeat", {
11115
11122
  host_id: hostId,
11116
11123
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor)
@@ -11217,7 +11224,7 @@ async function pollCycle() {
11217
11224
  }
11218
11225
  try {
11219
11226
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
11220
- const { collectDiagnostics } = await import("../persistent-session-LEWM6BKO.js");
11227
+ const { collectDiagnostics } = await import("../persistent-session-EVLWDI3I.js");
11221
11228
  const diagCodeNames = [...agentState.persistentSessionAgents];
11222
11229
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor) : void 0;
11223
11230
  let tailscaleHostname;
@@ -11331,7 +11338,7 @@ async function pollCycle() {
11331
11338
  collectResponsivenessProbes,
11332
11339
  collectPanelessActivityProbes,
11333
11340
  getResponsivenessIntervalMs
11334
- } = await import("../responsiveness-probe-U6DPVIDD.js");
11341
+ } = await import("../responsiveness-probe-EGP2F3WD.js");
11335
11342
  const probeIntervalMs = getResponsivenessIntervalMs();
11336
11343
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
11337
11344
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -11395,7 +11402,7 @@ async function pollCycle() {
11395
11402
  collectResponsivenessProbes,
11396
11403
  livePendingInboundOldestAgeSeconds,
11397
11404
  parkPendingInbound
11398
- } = await import("../responsiveness-probe-U6DPVIDD.js");
11405
+ } = await import("../responsiveness-probe-EGP2F3WD.js");
11399
11406
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
11400
11407
  const wedgeNow = /* @__PURE__ */ new Date();
11401
11408
  const liveAgents = agentState.persistentSessionAgents;
@@ -14767,7 +14774,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
14767
14774
  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}`));
14768
14775
  void (async () => {
14769
14776
  try {
14770
- const { collectDiagnostics } = await import("../persistent-session-LEWM6BKO.js");
14777
+ const { collectDiagnostics } = await import("../persistent-session-EVLWDI3I.js");
14771
14778
  await api.post("/host/heartbeat", {
14772
14779
  host_id: hostId,
14773
14780
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
@@ -14817,7 +14824,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
14817
14824
  }
14818
14825
  try {
14819
14826
  const hostId = await getHostId();
14820
- const { collectDiagnostics } = await import("../persistent-session-LEWM6BKO.js");
14827
+ const { collectDiagnostics } = await import("../persistent-session-EVLWDI3I.js");
14821
14828
  await api.post("/host/heartbeat", {
14822
14829
  host_id: hostId,
14823
14830
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
@@ -15270,7 +15277,7 @@ async function processClaudePairSessions(agents) {
15270
15277
  killPairSession,
15271
15278
  pairTmuxSession,
15272
15279
  finalizeClaudePairOnboarding
15273
- } = await import("../claude-pair-runtime-QNOUSTW3.js");
15280
+ } = await import("../claude-pair-runtime-CVCPBJOZ.js");
15274
15281
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
15275
15282
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
15276
15283
  const killed = await killPairSession(pairTmuxSession(pairId));