@integrity-labs/agt-cli 0.28.635 → 0.28.636

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-ORYBOIBQ.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-7UX2BZMT.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-DWNJWCSU.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-TROVZ3M5.js.map
@@ -54,7 +54,7 @@ import {
54
54
  safeWriteJsonAtomic,
55
55
  setConfigHash,
56
56
  tripClass
57
- } from "../chunk-J6KQDGWM.js";
57
+ } from "../chunk-KIOTRBOI.js";
58
58
  import {
59
59
  getProjectDir as getProjectDir2,
60
60
  getReadyTasks,
@@ -110,7 +110,7 @@ import {
110
110
  takeZombieDetection,
111
111
  toOpencodeModel,
112
112
  writeEgressAllowlist
113
- } from "../chunk-GNTCOXZG.js";
113
+ } from "../chunk-4HVSMJFM.js";
114
114
  import {
115
115
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
116
116
  AnchorSessionClient,
@@ -187,7 +187,7 @@ import {
187
187
  subagentActivityAgeSeconds,
188
188
  sumTranscriptUsageInWindow,
189
189
  transcriptActivityAgeSeconds
190
- } from "../chunk-FKG7DIE2.js";
190
+ } from "../chunk-O4ADFO57.js";
191
191
  import {
192
192
  reapOrphanChannelMcps
193
193
  } from "../chunk-XWVM4KPK.js";
@@ -11492,7 +11492,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
11492
11492
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
11493
11493
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
11494
11494
  async function channelInboundActivityAgeSecondsFor(codeName) {
11495
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-WYCKY2BJ.js");
11495
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-BQCFTEK5.js");
11496
11496
  const newest = newestPendingInboundActivityMtimeMs(dirname9(paneLogPath(codeName)));
11497
11497
  if (newest === null) return null;
11498
11498
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -11878,13 +11878,17 @@ async function runAgentSessionToolBindProbes(agent, integrations, projectDir, op
11878
11878
  // on a busy agent. Rolling probes keep the default cap.
11879
11879
  ...opts?.forceDue ? { maxPerRun: integrations.length } : {}
11880
11880
  });
11881
- if (result && result.reports.length > 0) {
11882
- await api.post("/host/session-tool-bind", {
11883
- agent_id: agent.agent_id,
11884
- results: result.reports
11885
- });
11881
+ if (result && (result.reports.length > 0 || result.skippedDetail.length > 0)) {
11882
+ if (result.reports.length > 0) {
11883
+ await api.post("/host/session-tool-bind", {
11884
+ agent_id: agent.agent_id,
11885
+ results: result.reports
11886
+ });
11887
+ }
11888
+ const naCount = result.reports.filter((r) => r.status === "not_applicable").length;
11889
+ const skipSummary = result.skippedDetail.length > 0 ? ` skipped=[${result.skippedDetail.map((s) => `${s.definition_id}:${s.reason}`).join(" ")}]` : "";
11886
11890
  log(
11887
- `Session-tool-bind probe${opts?.forceDue ? " (prompt, ENG-7429)" : ""} for '${agent.code_name}': probed=${result.probed} reported=${result.reports.length} due=${result.due}`
11891
+ `Session-tool-bind probe${opts?.forceDue ? " (prompt, ENG-7429)" : ""} for '${agent.code_name}': probed=${result.probed} reported=${result.reports.length} due=${result.due} not_applicable=${naCount}${skipSummary}`
11888
11892
  );
11889
11893
  }
11890
11894
  if (result && result.rebindCandidates.length > 0 && hostFlagStore().getBoolean("session-tool-rebind")) {
@@ -12131,7 +12135,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
12131
12135
  var lastVersionCheckAt = 0;
12132
12136
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
12133
12137
  var lastResponsivenessProbeAt = 0;
12134
- var agtCliVersion = true ? "0.28.635" : "dev";
12138
+ var agtCliVersion = true ? "0.28.636" : "dev";
12135
12139
  function resolveBrewPath(execFileSync3) {
12136
12140
  try {
12137
12141
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -13438,7 +13442,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
13438
13442
  if (codeNames.length === 0) return;
13439
13443
  void (async () => {
13440
13444
  try {
13441
- const { collectDiagnostics } = await import("../persistent-session-ORYBOIBQ.js");
13445
+ const { collectDiagnostics } = await import("../persistent-session-7UX2BZMT.js");
13442
13446
  await api.post("/host/heartbeat", {
13443
13447
  host_id: hostId,
13444
13448
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -13554,7 +13558,7 @@ async function pollCycleInner() {
13554
13558
  }
13555
13559
  try {
13556
13560
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
13557
- const { collectDiagnostics } = await import("../persistent-session-ORYBOIBQ.js");
13561
+ const { collectDiagnostics } = await import("../persistent-session-7UX2BZMT.js");
13558
13562
  const diagCodeNames = [...agentState.persistentSessionAgents];
13559
13563
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor) : void 0;
13560
13564
  let tailscaleHostname;
@@ -13677,7 +13681,7 @@ async function pollCycleInner() {
13677
13681
  collectPanelessActivityProbes,
13678
13682
  getResponsivenessIntervalMs,
13679
13683
  occupancyQualificationClassifications
13680
- } = await import("../responsiveness-probe-WYCKY2BJ.js");
13684
+ } = await import("../responsiveness-probe-BQCFTEK5.js");
13681
13685
  const probeIntervalMs = getResponsivenessIntervalMs();
13682
13686
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
13683
13687
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -13783,7 +13787,7 @@ async function pollCycleInner() {
13783
13787
  collectResponsivenessProbes,
13784
13788
  livePendingInboundOldestAgeSeconds,
13785
13789
  parkPendingInbound
13786
- } = await import("../responsiveness-probe-WYCKY2BJ.js");
13790
+ } = await import("../responsiveness-probe-BQCFTEK5.js");
13787
13791
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
13788
13792
  const wedgeNow = /* @__PURE__ */ new Date();
13789
13793
  const liveAgents = agentState.persistentSessionAgents;
@@ -13939,7 +13943,7 @@ async function pollCycleInner() {
13939
13943
  }
13940
13944
  try {
13941
13945
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
13942
- const { probeSessionAuth } = await import("../session-auth-dead-NASGEQCA.js");
13946
+ const { probeSessionAuth } = await import("../session-auth-dead-TV2M6AFN.js");
13943
13947
  const observations = [];
13944
13948
  const pendingCacheCommits = [];
13945
13949
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -17506,7 +17510,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
17506
17510
  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}`));
17507
17511
  void (async () => {
17508
17512
  try {
17509
- const { collectDiagnostics } = await import("../persistent-session-ORYBOIBQ.js");
17513
+ const { collectDiagnostics } = await import("../persistent-session-7UX2BZMT.js");
17510
17514
  await api.post("/host/heartbeat", {
17511
17515
  host_id: hostId,
17512
17516
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -17557,7 +17561,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
17557
17561
  }
17558
17562
  try {
17559
17563
  const hostId = await getHostId();
17560
- const { collectDiagnostics } = await import("../persistent-session-ORYBOIBQ.js");
17564
+ const { collectDiagnostics } = await import("../persistent-session-7UX2BZMT.js");
17561
17565
  await api.post("/host/heartbeat", {
17562
17566
  host_id: hostId,
17563
17567
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor)
@@ -18153,7 +18157,7 @@ async function processClaudePairSessions(agents) {
18153
18157
  killPairSession,
18154
18158
  pairTmuxSession,
18155
18159
  finalizeClaudePairOnboarding
18156
- } = await import("../claude-pair-runtime-DWNJWCSU.js");
18160
+ } = await import("../claude-pair-runtime-TROVZ3M5.js");
18157
18161
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
18158
18162
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
18159
18163
  const killed = await killPairSession(pairTmuxSession(pairId));