@integrity-labs/agt-cli 0.28.759 → 0.28.761

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-IUGL5OEF.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-A4VOIP23.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-I6Q7M7KZ.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-EVZ7HB5B.js.map
@@ -58,7 +58,7 @@ import {
58
58
  safeWriteJsonAtomic,
59
59
  setConfigHash,
60
60
  tripClass
61
- } from "../chunk-YAONHJW6.js";
61
+ } from "../chunk-BTLFG3T7.js";
62
62
  import {
63
63
  getProjectDir as getProjectDir2,
64
64
  getReadyTasks,
@@ -119,7 +119,7 @@ import {
119
119
  takeZombieDetection,
120
120
  toOpencodeModel,
121
121
  writeEgressAllowlist
122
- } from "../chunk-4GGLPSVH.js";
122
+ } from "../chunk-AN3WGT5E.js";
123
123
  import {
124
124
  ACCOUNT_ENFORCEMENT_MARKER_FILENAME,
125
125
  AnchorSessionClient,
@@ -208,7 +208,7 @@ import {
208
208
  subagentActivityAgeSeconds,
209
209
  sumTranscriptUsageInWindow,
210
210
  transcriptActivityAgeSeconds
211
- } from "../chunk-SD2Y6ZOB.js";
211
+ } from "../chunk-N2NU3G3O.js";
212
212
  import {
213
213
  reapOrphanChannelMcps
214
214
  } from "../chunk-XWVM4KPK.js";
@@ -12808,7 +12808,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
12808
12808
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
12809
12809
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
12810
12810
  async function channelInboundActivityAgeSecondsFor(codeName) {
12811
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-N7QDT6AE.js");
12811
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-YE2GJWSW.js");
12812
12812
  const newest = newestPendingInboundActivityMtimeMs(dirname10(paneLogPath(codeName)));
12813
12813
  if (newest === null) return null;
12814
12814
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -13468,7 +13468,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
13468
13468
  var lastVersionCheckAt = 0;
13469
13469
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
13470
13470
  var lastResponsivenessProbeAt = 0;
13471
- var agtCliVersion = true ? "0.28.759" : "dev";
13471
+ var agtCliVersion = true ? "0.28.761" : "dev";
13472
13472
  function resolveBrewPath(execFileSync3) {
13473
13473
  try {
13474
13474
  const out = execFileSync3("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -15009,7 +15009,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
15009
15009
  if (codeNames.length === 0) return;
15010
15010
  void (async () => {
15011
15011
  try {
15012
- const { collectDiagnostics } = await import("../persistent-session-IUGL5OEF.js");
15012
+ const { collectDiagnostics } = await import("../persistent-session-A4VOIP23.js");
15013
15013
  await api.post("/host/heartbeat", {
15014
15014
  host_id: hostId,
15015
15015
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -15150,7 +15150,7 @@ async function pollCycleInner() {
15150
15150
  }
15151
15151
  try {
15152
15152
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
15153
- const { collectDiagnostics } = await import("../persistent-session-IUGL5OEF.js");
15153
+ const { collectDiagnostics } = await import("../persistent-session-A4VOIP23.js");
15154
15154
  const diagCodeNames = [...agentState.persistentSessionAgents];
15155
15155
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor) : void 0;
15156
15156
  let tailscaleHostname;
@@ -15319,7 +15319,7 @@ async function pollCycleInner() {
15319
15319
  collectPanelessActivityProbes,
15320
15320
  getResponsivenessIntervalMs,
15321
15321
  occupancyQualificationClassifications
15322
- } = await import("../responsiveness-probe-N7QDT6AE.js");
15322
+ } = await import("../responsiveness-probe-YE2GJWSW.js");
15323
15323
  const probeIntervalMs = getResponsivenessIntervalMs();
15324
15324
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
15325
15325
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -15429,7 +15429,7 @@ async function pollCycleInner() {
15429
15429
  collectResponsivenessProbes,
15430
15430
  livePendingInboundOldestAgeSeconds,
15431
15431
  parkPendingInbound
15432
- } = await import("../responsiveness-probe-N7QDT6AE.js");
15432
+ } = await import("../responsiveness-probe-YE2GJWSW.js");
15433
15433
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
15434
15434
  const wedgeNow = /* @__PURE__ */ new Date();
15435
15435
  const liveAgents = agentState.persistentSessionAgents;
@@ -15585,7 +15585,7 @@ async function pollCycleInner() {
15585
15585
  }
15586
15586
  try {
15587
15587
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-JA437JIB.js");
15588
- const { probeSessionAuth } = await import("../session-auth-dead-VE5NYGT7.js");
15588
+ const { probeSessionAuth } = await import("../session-auth-dead-POZGLW6Q.js");
15589
15589
  const observations = [];
15590
15590
  const pendingCacheCommits = [];
15591
15591
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -19563,7 +19563,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
19563
19563
  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}`));
19564
19564
  void (async () => {
19565
19565
  try {
19566
- const { collectDiagnostics } = await import("../persistent-session-IUGL5OEF.js");
19566
+ const { collectDiagnostics } = await import("../persistent-session-A4VOIP23.js");
19567
19567
  await api.post("/host/heartbeat", {
19568
19568
  host_id: hostId,
19569
19569
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -19609,7 +19609,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
19609
19609
  }
19610
19610
  try {
19611
19611
  const hostId = await getHostId();
19612
- const { collectDiagnostics } = await import("../persistent-session-IUGL5OEF.js");
19612
+ const { collectDiagnostics } = await import("../persistent-session-A4VOIP23.js");
19613
19613
  await api.post("/host/heartbeat", {
19614
19614
  host_id: hostId,
19615
19615
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor)
@@ -20245,7 +20245,7 @@ async function processClaudePairSessions(agents) {
20245
20245
  killPairSession,
20246
20246
  pairTmuxSession,
20247
20247
  finalizeClaudePairOnboarding
20248
- } = await import("../claude-pair-runtime-I6Q7M7KZ.js");
20248
+ } = await import("../claude-pair-runtime-EVZ7HB5B.js");
20249
20249
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
20250
20250
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
20251
20251
  const killed = await killPairSession(pairTmuxSession(pairId));
package/dist/mcp/index.js CHANGED
@@ -47357,11 +47357,40 @@ function safeDownloadName(name, fallback) {
47357
47357
  return base.length > 0 ? base : fallback;
47358
47358
  }
47359
47359
  async function exportArtefactToFile(dir, artefactId, format, item) {
47360
- const data = await apiPost(`/host/artefact/${encodeURIComponent(artefactId)}/export`, {
47361
- agent_id: AGT_AGENT_ID,
47362
- format,
47363
- item
47364
- });
47360
+ const data = await apiPost(
47361
+ `/host/artefact/${encodeURIComponent(artefactId)}/export`,
47362
+ {
47363
+ agent_id: AGT_AGENT_ID,
47364
+ format,
47365
+ item
47366
+ },
47367
+ false,
47368
+ // ENG-9725: this call inherited apiPost's 15s default, so the REAL ceiling
47369
+ // on the host export route was 15s — half the ~30s API Gateway limit every
47370
+ // server-side timeout on that route was reasoned against. ENG-9705 sized a
47371
+ // 25s retry budget that could therefore never be reached from here: the
47372
+ // client aborted first, every time, and the budget looked deployed while
47373
+ // being unreachable.
47374
+ //
47375
+ // The number is NOT invented here. FORWARD_TOOL_CALL_TIMEOUT_MS is already
47376
+ // derived as (gateway ceiling − margin) = 26s and already pinned by a test,
47377
+ // so reusing it keeps one derivation of that quantity rather than a second
47378
+ // copy to drift (ENG-9698's reasoning). It satisfies both constraints at
47379
+ // once: comfortably above the ~20s async grace window ADR-0077 settled on,
47380
+ // and below the gateway ceiling as apiPost's own docblock requires — over
47381
+ // it, the gateway replaces our authored error with its opaque envelope and
47382
+ // we lose the ability to say whether the render landed.
47383
+ //
47384
+ // NOT a readiness signal. Raising the budget does not make this caller able
47385
+ // to consume ADR-0077's async response: the `data.base64` read just below
47386
+ // has no branch for a `{ job_id }` body and would throw on one. So a fleet
47387
+ // fully updated to this CLI is converged on the TIMEOUT and no more ready
47388
+ // for the RESPONSE than before. The server's async path must stay dark for
47389
+ // this route until job-response handling ships here (ENG-9729) — reading a
47390
+ // published version number as evidence of a capability it does not carry is
47391
+ // exactly the mistake this comment's first paragraph describes.
47392
+ FORWARD_TOOL_CALL_TIMEOUT_MS
47393
+ );
47365
47394
  const fallback = `${artefactId}${item !== void 0 ? `-item-${item + 1}` : ""}.${format}`;
47366
47395
  const filePath = join4(dir, safeDownloadName(data.filename, fallback));
47367
47396
  const buf = Buffer.from(data.base64, "base64");
@@ -49,8 +49,8 @@ import {
49
49
  writeDirectChatSessionState,
50
50
  writeEgressAllowlist,
51
51
  writePersistentClaudeWrapper
52
- } from "./chunk-4GGLPSVH.js";
53
- import "./chunk-SD2Y6ZOB.js";
52
+ } from "./chunk-AN3WGT5E.js";
53
+ import "./chunk-N2NU3G3O.js";
54
54
  import "./chunk-XWVM4KPK.js";
55
55
  export {
56
56
  EGRESS_BASELINE_DOMAINS,
@@ -104,4 +104,4 @@ export {
104
104
  writeEgressAllowlist,
105
105
  writePersistentClaudeWrapper
106
106
  };
107
- //# sourceMappingURL=persistent-session-IUGL5OEF.js.map
107
+ //# sourceMappingURL=persistent-session-A4VOIP23.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  paneLogPath
3
- } from "./chunk-4GGLPSVH.js";
4
- import "./chunk-SD2Y6ZOB.js";
3
+ } from "./chunk-AN3WGT5E.js";
4
+ import "./chunk-N2NU3G3O.js";
5
5
  import "./chunk-XWVM4KPK.js";
6
6
 
7
7
  // src/lib/responsiveness-probe.ts
@@ -745,4 +745,4 @@ export {
745
745
  readAndResetSlackReplyBindingClassifications,
746
746
  readAndResetSlackReplyTargetClassifications
747
747
  };
748
- //# sourceMappingURL=responsiveness-probe-N7QDT6AE.js.map
748
+ //# sourceMappingURL=responsiveness-probe-YE2GJWSW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  sessionTranscriptDir
3
- } from "./chunk-SD2Y6ZOB.js";
3
+ } from "./chunk-N2NU3G3O.js";
4
4
 
5
5
  // src/lib/session-auth-dead.ts
6
6
  import { closeSync, openSync, readSync, readdirSync, statSync } from "fs";
@@ -203,4 +203,4 @@ export {
203
203
  decideSessionAuthState,
204
204
  probeSessionAuth
205
205
  };
206
- //# sourceMappingURL=session-auth-dead-VE5NYGT7.js.map
206
+ //# sourceMappingURL=session-auth-dead-POZGLW6Q.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integrity-labs/agt-cli",
3
- "version": "0.28.759",
3
+ "version": "0.28.761",
4
4
  "description": "Augmented Team CLI — agent provisioning and management",
5
5
  "type": "module",
6
6
  "engines": {