@integrity-labs/agt-cli 0.28.457 → 0.28.459

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-KGRCIIS5.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-YNOY2ATX.js.map
@@ -42,7 +42,7 @@ import {
42
42
  resolveEffectivePinRaw,
43
43
  safeWriteJsonAtomic,
44
44
  setConfigHash
45
- } from "../chunk-WMGMLOPB.js";
45
+ } from "../chunk-PKZMFA2U.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-BWH5XTDU.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.459" : "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-KGRCIIS5.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-KGRCIIS5.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-4FVGB6NY.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-4FVGB6NY.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;
@@ -14483,6 +14490,12 @@ ${truncateForLog(ctx.tail)}` : `; pane_tail_hash=sha256:${createHash16("sha256")
14483
14490
  "usage-limit-reactive-notice",
14484
14491
  agent.agent_id
14485
14492
  ),
14493
+ // ENG-8269: materialize wedge-transient-notice into the spawn env so the
14494
+ // channel MCPs can tell a waiting user their turn died on a transient
14495
+ // provider failure. Same isolation reasoning as the line above — the
14496
+ // flags-cache is not mounted into an agent's container, so without this the
14497
+ // flip reaches nothing running under Docker.
14498
+ turnFailureNoticeEnabled: hostFlagStore().getBoolean("wedge-transient-notice"),
14486
14499
  egressAllowlist,
14487
14500
  log
14488
14501
  });
@@ -14767,7 +14780,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
14767
14780
  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
14781
  void (async () => {
14769
14782
  try {
14770
- const { collectDiagnostics } = await import("../persistent-session-LEWM6BKO.js");
14783
+ const { collectDiagnostics } = await import("../persistent-session-KGRCIIS5.js");
14771
14784
  await api.post("/host/heartbeat", {
14772
14785
  host_id: hostId,
14773
14786
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
@@ -14817,7 +14830,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
14817
14830
  }
14818
14831
  try {
14819
14832
  const hostId = await getHostId();
14820
- const { collectDiagnostics } = await import("../persistent-session-LEWM6BKO.js");
14833
+ const { collectDiagnostics } = await import("../persistent-session-KGRCIIS5.js");
14821
14834
  await api.post("/host/heartbeat", {
14822
14835
  host_id: hostId,
14823
14836
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
@@ -15270,7 +15283,7 @@ async function processClaudePairSessions(agents) {
15270
15283
  killPairSession,
15271
15284
  pairTmuxSession,
15272
15285
  finalizeClaudePairOnboarding
15273
- } = await import("../claude-pair-runtime-QNOUSTW3.js");
15286
+ } = await import("../claude-pair-runtime-YNOY2ATX.js");
15274
15287
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
15275
15288
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
15276
15289
  const killed = await killPairSession(pairTmuxSession(pairId));