@integrity-labs/agt-cli 0.28.856 → 0.28.858

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-GZLPDUMN.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-DYL6KH4O.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-QQSSCLXU.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-KCQEJRH2.js.map
@@ -60,7 +60,7 @@ import {
60
60
  safeWriteJsonAtomic,
61
61
  setConfigHash,
62
62
  tripClass
63
- } from "../chunk-6I5IMMWR.js";
63
+ } from "../chunk-IQ3VEYQQ.js";
64
64
  import {
65
65
  getProjectDir as getProjectDir2,
66
66
  getReadyTasks,
@@ -126,7 +126,7 @@ import {
126
126
  takeZombieDetection,
127
127
  toOpencodeModel,
128
128
  writeEgressAllowlist
129
- } from "../chunk-6CLS6G7Y.js";
129
+ } from "../chunk-LWWFQ74U.js";
130
130
  import {
131
131
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
132
132
  AnchorSessionClient,
@@ -221,7 +221,7 @@ import {
221
221
  subagentActivityAgeSeconds,
222
222
  sumTranscriptUsageInWindow,
223
223
  transcriptActivityAgeSeconds
224
- } from "../chunk-M6E42Z4Z.js";
224
+ } from "../chunk-YORE65G7.js";
225
225
  import {
226
226
  reapOrphanChannelMcps
227
227
  } from "../chunk-XWVM4KPK.js";
@@ -13001,7 +13001,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
13001
13001
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
13002
13002
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
13003
13003
  async function channelInboundActivityAgeSecondsFor(codeName) {
13004
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-GSCW4NBC.js");
13004
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-6ZKEZPZ7.js");
13005
13005
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
13006
13006
  if (newest === null) return null;
13007
13007
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -13669,7 +13669,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
13669
13669
  var lastVersionCheckAt = 0;
13670
13670
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
13671
13671
  var lastResponsivenessProbeAt = 0;
13672
- var agtCliVersion = true ? "0.28.856" : "dev";
13672
+ var agtCliVersion = true ? "0.28.858" : "dev";
13673
13673
  function resolveBrewPath(execFileSync2) {
13674
13674
  try {
13675
13675
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -15259,7 +15259,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
15259
15259
  if (codeNames.length === 0) return;
15260
15260
  void (async () => {
15261
15261
  try {
15262
- const { collectDiagnostics } = await import("../persistent-session-GZLPDUMN.js");
15262
+ const { collectDiagnostics } = await import("../persistent-session-DYL6KH4O.js");
15263
15263
  await api.post("/host/heartbeat", {
15264
15264
  host_id: hostId,
15265
15265
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -15401,7 +15401,7 @@ async function pollCycleInner() {
15401
15401
  }
15402
15402
  try {
15403
15403
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
15404
- const { collectDiagnostics } = await import("../persistent-session-GZLPDUMN.js");
15404
+ const { collectDiagnostics } = await import("../persistent-session-DYL6KH4O.js");
15405
15405
  const diagCodeNames = [...agentState.persistentSessionAgents];
15406
15406
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
15407
15407
  let tailscaleHostname;
@@ -15570,7 +15570,7 @@ async function pollCycleInner() {
15570
15570
  collectPanelessActivityProbes,
15571
15571
  getResponsivenessIntervalMs,
15572
15572
  occupancyQualificationClassifications
15573
- } = await import("../responsiveness-probe-GSCW4NBC.js");
15573
+ } = await import("../responsiveness-probe-6ZKEZPZ7.js");
15574
15574
  const probeIntervalMs = getResponsivenessIntervalMs();
15575
15575
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
15576
15576
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -15687,7 +15687,7 @@ async function pollCycleInner() {
15687
15687
  collectResponsivenessProbes,
15688
15688
  livePendingInboundOldestAgeSeconds,
15689
15689
  parkPendingInbound
15690
- } = await import("../responsiveness-probe-GSCW4NBC.js");
15690
+ } = await import("../responsiveness-probe-6ZKEZPZ7.js");
15691
15691
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
15692
15692
  const wedgeNow = /* @__PURE__ */ new Date();
15693
15693
  const liveAgents = agentState.persistentSessionAgents;
@@ -15843,7 +15843,7 @@ async function pollCycleInner() {
15843
15843
  }
15844
15844
  try {
15845
15845
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
15846
- const { probeSessionAuth } = await import("../session-auth-dead-NWLDIYTW.js");
15846
+ const { probeSessionAuth } = await import("../session-auth-dead-BZDLRNXM.js");
15847
15847
  const observations = [];
15848
15848
  const pendingCacheCommits = [];
15849
15849
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -18908,8 +18908,10 @@ async function processAgent(agent, agentStates, managedToolkits) {
18908
18908
  if (newlyDone.length > 0) {
18909
18909
  const displayName = agentState.agentDisplayNames.get(agent.code_name) ?? agent.code_name;
18910
18910
  for (const item of newlyDone) {
18911
- log(`Newly done: item_id=${item.id} notify_channel=${item.notify_channel ?? "none"} notify_to=${item.notify_to ?? "none"}`);
18912
- if (item.notify_channel && item.notify_to) {
18911
+ log(`Newly done: item_id=${item.id} notify_channel=${item.notify_channel ?? "none"} notify_to=${item.notify_to ?? "none"} suppress_delivery=${item.suppress_delivery === true}`);
18912
+ if (item.suppress_delivery === true) {
18913
+ log(`Newly done: item_id=${item.id} delivery suppressed by the card's suppress_delivery flag \u2014 result recorded on the card only`);
18914
+ } else if (item.notify_channel && item.notify_to) {
18913
18915
  const message = await buildDoneCardNotification(agentId, agent.code_name, displayName, item);
18914
18916
  sendTaskNotification(agent.code_name, item.notify_channel, item.notify_to, message).catch((err) => {
18915
18917
  log(`sendTaskNotification failed for '${agent.code_name}': ${err.message}`);
@@ -20071,7 +20073,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
20071
20073
  try {
20072
20074
  const freshId = rotateSessionForWedge(codeName);
20073
20075
  consecutiveWedgeCycles.delete(codeName);
20074
- const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-GSCW4NBC.js");
20076
+ const { parkPendingInbound: parkForRestart } = await import("../responsiveness-probe-6ZKEZPZ7.js");
20075
20077
  const { parked, deadLettered } = parkForRestart(codeName, /* @__PURE__ */ new Date());
20076
20078
  const parkNote = parked > 0 ? `, ${parked} inbound parked` : "";
20077
20079
  const deadNote = deadLettered > 0 ? `, ${deadLettered} undeliverable dead-lettered` : "";
@@ -20109,7 +20111,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
20109
20111
  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}`));
20110
20112
  void (async () => {
20111
20113
  try {
20112
- const { collectDiagnostics } = await import("../persistent-session-GZLPDUMN.js");
20114
+ const { collectDiagnostics } = await import("../persistent-session-DYL6KH4O.js");
20113
20115
  await api.post("/host/heartbeat", {
20114
20116
  host_id: hostId,
20115
20117
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -20155,7 +20157,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
20155
20157
  }
20156
20158
  try {
20157
20159
  const hostId = await getHostId();
20158
- const { collectDiagnostics } = await import("../persistent-session-GZLPDUMN.js");
20160
+ const { collectDiagnostics } = await import("../persistent-session-DYL6KH4O.js");
20159
20161
  await api.post("/host/heartbeat", {
20160
20162
  host_id: hostId,
20161
20163
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -20791,7 +20793,7 @@ async function processClaudePairSessions(agents) {
20791
20793
  killPairSession,
20792
20794
  pairTmuxSession,
20793
20795
  finalizeClaudePairOnboarding
20794
- } = await import("../claude-pair-runtime-QQSSCLXU.js");
20796
+ } = await import("../claude-pair-runtime-KCQEJRH2.js");
20795
20797
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
20796
20798
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
20797
20799
  const killed = await killPairSession(pairTmuxSession(pairId));