@integrity-labs/agt-cli 0.28.394 → 0.28.396

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.
@@ -25,7 +25,7 @@ import {
25
25
  resolveConnectivityProbe,
26
26
  worseConnectivityOutcome,
27
27
  wrapScheduledTaskPrompt
28
- } from "./chunk-7HONFACG.js";
28
+ } from "./chunk-4LZBDTFJ.js";
29
29
  import {
30
30
  parsePsRows
31
31
  } from "./chunk-XWVM4KPK.js";
@@ -6196,7 +6196,7 @@ function requireHost() {
6196
6196
  }
6197
6197
 
6198
6198
  // src/lib/api-client.ts
6199
- var agtCliVersion = true ? "0.28.394" : "dev";
6199
+ var agtCliVersion = true ? "0.28.396" : "dev";
6200
6200
  var lastConfigHash = null;
6201
6201
  function setConfigHash(hash) {
6202
6202
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8650,4 +8650,4 @@ export {
8650
8650
  managerInstallSystemUnitCommand,
8651
8651
  managerUninstallSystemUnitCommand
8652
8652
  };
8653
- //# sourceMappingURL=chunk-PTQWY46F.js.map
8653
+ //# sourceMappingURL=chunk-6E5YUIA3.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-QRUINHGI.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-34CDP2I3.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-OF2D6W2E.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-XUI3TOGS.js.map
@@ -43,7 +43,7 @@ import {
43
43
  resolveEffectivePinRaw,
44
44
  safeWriteJsonAtomic,
45
45
  setConfigHash
46
- } from "../chunk-PTQWY46F.js";
46
+ } from "../chunk-6E5YUIA3.js";
47
47
  import {
48
48
  getProjectDir as getProjectDir2,
49
49
  getReadyTasks,
@@ -145,7 +145,7 @@ import {
145
145
  toOpencodeModel,
146
146
  transcriptActivityAgeSeconds,
147
147
  writeEgressAllowlist
148
- } from "../chunk-7HONFACG.js";
148
+ } from "../chunk-4LZBDTFJ.js";
149
149
  import {
150
150
  reapOrphanChannelMcps
151
151
  } from "../chunk-XWVM4KPK.js";
@@ -9248,7 +9248,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
9248
9248
  var lastVersionCheckAt = 0;
9249
9249
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
9250
9250
  var lastResponsivenessProbeAt = 0;
9251
- var agtCliVersion = true ? "0.28.394" : "dev";
9251
+ var agtCliVersion = true ? "0.28.396" : "dev";
9252
9252
  function resolveBrewPath(execFileSync2) {
9253
9253
  try {
9254
9254
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -10380,7 +10380,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
10380
10380
  if (codeNames.length === 0) return;
10381
10381
  void (async () => {
10382
10382
  try {
10383
- const { collectDiagnostics } = await import("../persistent-session-QRUINHGI.js");
10383
+ const { collectDiagnostics } = await import("../persistent-session-34CDP2I3.js");
10384
10384
  await api.post("/host/heartbeat", {
10385
10385
  host_id: hostId,
10386
10386
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor)
@@ -10479,7 +10479,7 @@ async function pollCycle() {
10479
10479
  }
10480
10480
  try {
10481
10481
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
10482
- const { collectDiagnostics } = await import("../persistent-session-QRUINHGI.js");
10482
+ const { collectDiagnostics } = await import("../persistent-session-34CDP2I3.js");
10483
10483
  const diagCodeNames = [...agentState.persistentSessionAgents];
10484
10484
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor) : void 0;
10485
10485
  let tailscaleHostname;
@@ -10634,7 +10634,7 @@ async function pollCycle() {
10634
10634
  const {
10635
10635
  collectResponsivenessProbes,
10636
10636
  getResponsivenessIntervalMs
10637
- } = await import("../responsiveness-probe-IHKBNMSQ.js");
10637
+ } = await import("../responsiveness-probe-T7WBF4FX.js");
10638
10638
  const probeIntervalMs = getResponsivenessIntervalMs();
10639
10639
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
10640
10640
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -10666,7 +10666,7 @@ async function pollCycle() {
10666
10666
  collectResponsivenessProbes,
10667
10667
  livePendingInboundOldestAgeSeconds,
10668
10668
  parkPendingInbound
10669
- } = await import("../responsiveness-probe-IHKBNMSQ.js");
10669
+ } = await import("../responsiveness-probe-T7WBF4FX.js");
10670
10670
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-HYOOQV4A.js");
10671
10671
  const wedgeNow = /* @__PURE__ */ new Date();
10672
10672
  const liveAgents = agentState.persistentSessionAgents;
@@ -12244,7 +12244,20 @@ async function processAgent(agent, agentStates) {
12244
12244
  if (hostFlagStore().getBoolean("connectivity-probe")) {
12245
12245
  try {
12246
12246
  const probeProjectDir = join22(homedir10(), ".augmented", agent.code_name, "project");
12247
- await runAgentConnectivityProbes(agent, integrations, probeProjectDir);
12247
+ let probeSet = integrations;
12248
+ try {
12249
+ const quarantined = await api.post("/host/agent-integrations/quarantined", { agent_id: agent.agent_id });
12250
+ const qRows = quarantined.integrations ?? [];
12251
+ if (qRows.length > 0) {
12252
+ probeSet = [...probeSet, ...qRows];
12253
+ log(
12254
+ `Auto-resume: connectivity-probing ${qRows.length} quarantined integration(s) for '${agent.code_name}'`
12255
+ );
12256
+ }
12257
+ } catch (err) {
12258
+ log(`Quarantined-probe fetch failed for '${agent.code_name}': ${err.message}`);
12259
+ }
12260
+ await runAgentConnectivityProbes(agent, probeSet, probeProjectDir);
12248
12261
  } catch (err) {
12249
12262
  log(`Connectivity probe failed for '${agent.code_name}': ${err.message}`);
12250
12263
  }
@@ -13910,7 +13923,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
13910
13923
  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}`));
13911
13924
  void (async () => {
13912
13925
  try {
13913
- const { collectDiagnostics } = await import("../persistent-session-QRUINHGI.js");
13926
+ const { collectDiagnostics } = await import("../persistent-session-34CDP2I3.js");
13914
13927
  await api.post("/host/heartbeat", {
13915
13928
  host_id: hostId,
13916
13929
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor)
@@ -13960,7 +13973,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
13960
13973
  }
13961
13974
  try {
13962
13975
  const hostId = await getHostId();
13963
- const { collectDiagnostics } = await import("../persistent-session-QRUINHGI.js");
13976
+ const { collectDiagnostics } = await import("../persistent-session-34CDP2I3.js");
13964
13977
  await api.post("/host/heartbeat", {
13965
13978
  host_id: hostId,
13966
13979
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor)
@@ -14413,7 +14426,7 @@ async function processClaudePairSessions(agents) {
14413
14426
  killPairSession,
14414
14427
  pairTmuxSession,
14415
14428
  finalizeClaudePairOnboarding
14416
- } = await import("../claude-pair-runtime-OF2D6W2E.js");
14429
+ } = await import("../claude-pair-runtime-XUI3TOGS.js");
14417
14430
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
14418
14431
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
14419
14432
  const killed = await killPairSession(pairTmuxSession(pairId));