@integrity-labs/agt-cli 0.28.459 → 0.28.461

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.
@@ -30,7 +30,7 @@ import {
30
30
  resolveConnectivityProbe,
31
31
  worseConnectivityOutcome,
32
32
  wrapScheduledTaskPrompt
33
- } from "./chunk-BWH5XTDU.js";
33
+ } from "./chunk-QZUECTC7.js";
34
34
  import {
35
35
  parsePsRows
36
36
  } from "./chunk-XWVM4KPK.js";
@@ -4911,7 +4911,7 @@ function requireHost() {
4911
4911
  }
4912
4912
 
4913
4913
  // src/lib/api-client.ts
4914
- var agtCliVersion = true ? "0.28.459" : "dev";
4914
+ var agtCliVersion = true ? "0.28.461" : "dev";
4915
4915
  var lastConfigHash = null;
4916
4916
  function setConfigHash(hash) {
4917
4917
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -7449,4 +7449,4 @@ export {
7449
7449
  managerInstallSystemUnitCommand,
7450
7450
  managerUninstallSystemUnitCommand
7451
7451
  };
7452
- //# sourceMappingURL=chunk-PKZMFA2U.js.map
7452
+ //# sourceMappingURL=chunk-WCYGJANF.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-KGRCIIS5.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-HRVZVAIL.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-YNOY2ATX.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-VTW57E4U.js.map
@@ -42,7 +42,7 @@ import {
42
42
  resolveEffectivePinRaw,
43
43
  safeWriteJsonAtomic,
44
44
  setConfigHash
45
- } from "../chunk-PKZMFA2U.js";
45
+ } from "../chunk-WCYGJANF.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-BWH5XTDU.js";
167
+ } from "../chunk-QZUECTC7.js";
168
168
  import {
169
169
  reapOrphanChannelMcps
170
170
  } from "../chunk-XWVM4KPK.js";
@@ -7930,7 +7930,27 @@ var DEFAULTS = {
7930
7930
  // static) is still caught by the soft path; only the *producing* path is spared.
7931
7931
  inboundHardWaitSeconds: 0,
7932
7932
  paneStaleSeconds: 120,
7933
- transcriptStaleSeconds: 60,
7933
+ // ENG-8196 INTERIM MITIGATION (was 60). A Claude Code transcript gets one entry
7934
+ // per message, so a single long tool call — a page rebuild, a web fetch, an image
7935
+ // generation, a slow MCP round-trip — writes a `tool_use` entry and then NOTHING
7936
+ // until the `tool_result` returns. Any tool call longer than this threshold looks
7937
+ // identical to a frozen turn, and the detector force-respawned actively-producing
7938
+ // sessions on it (jarvis: transcriptAge=113s while paneAge=0s; don: 202s mid-build).
7939
+ // 900s buys headroom for realistic long tool calls. It is NOT the fix: it only
7940
+ // widens the window, so a sufficiently long tool call still dies and genuine wedge
7941
+ // detection is delayed (worst case ~45min at minCycles=3, up from ~3min). The real
7942
+ // fix is ENG-6238's unimplemented turn-boundary "sharp signal" — has the agent
7943
+ // completed any turn since the inbound queued? — which needs a new WedgeSignals
7944
+ // field and stays open on ENG-8196.
7945
+ // BLAST RADIUS, deliberate: `isSessionProducing` reuses this one knob for
7946
+ // `subagentActivityAgeSeconds` too, so the ENG-6294 background-task exemption
7947
+ // ("a subagent wrote recently ⇒ producing") widens 60s → 900s along with the main
7948
+ // transcript window. That is accepted, not overlooked — ENG-6294 documents the
7949
+ // exemption as self-bounding precisely BECAUSE it lapses at this threshold, so
7950
+ // splitting it onto its own knob would decouple the two windows that comment
7951
+ // relies on being identical. Revisit when the turn-boundary signal lands.
7952
+ // Per-host override: AGT_WEDGE_TRANSCRIPT_STALE_SECONDS (takes precedence).
7953
+ transcriptStaleSeconds: 900,
7934
7954
  minCycles: 3
7935
7955
  };
7936
7956
  function parseMode(raw) {
@@ -9956,7 +9976,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
9956
9976
  var lastVersionCheckAt = 0;
9957
9977
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
9958
9978
  var lastResponsivenessProbeAt = 0;
9959
- var agtCliVersion = true ? "0.28.459" : "dev";
9979
+ var agtCliVersion = true ? "0.28.461" : "dev";
9960
9980
  function resolveBrewPath(execFileSync2) {
9961
9981
  try {
9962
9982
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -11117,7 +11137,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
11117
11137
  if (codeNames.length === 0) return;
11118
11138
  void (async () => {
11119
11139
  try {
11120
- const { collectDiagnostics } = await import("../persistent-session-KGRCIIS5.js");
11140
+ const { collectDiagnostics } = await import("../persistent-session-HRVZVAIL.js");
11121
11141
  await api.post("/host/heartbeat", {
11122
11142
  host_id: hostId,
11123
11143
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor)
@@ -11224,7 +11244,7 @@ async function pollCycle() {
11224
11244
  }
11225
11245
  try {
11226
11246
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
11227
- const { collectDiagnostics } = await import("../persistent-session-KGRCIIS5.js");
11247
+ const { collectDiagnostics } = await import("../persistent-session-HRVZVAIL.js");
11228
11248
  const diagCodeNames = [...agentState.persistentSessionAgents];
11229
11249
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor) : void 0;
11230
11250
  let tailscaleHostname;
@@ -11338,7 +11358,7 @@ async function pollCycle() {
11338
11358
  collectResponsivenessProbes,
11339
11359
  collectPanelessActivityProbes,
11340
11360
  getResponsivenessIntervalMs
11341
- } = await import("../responsiveness-probe-4FVGB6NY.js");
11361
+ } = await import("../responsiveness-probe-UUVXQIQ4.js");
11342
11362
  const probeIntervalMs = getResponsivenessIntervalMs();
11343
11363
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
11344
11364
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -11402,7 +11422,7 @@ async function pollCycle() {
11402
11422
  collectResponsivenessProbes,
11403
11423
  livePendingInboundOldestAgeSeconds,
11404
11424
  parkPendingInbound
11405
- } = await import("../responsiveness-probe-4FVGB6NY.js");
11425
+ } = await import("../responsiveness-probe-UUVXQIQ4.js");
11406
11426
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-NDP36U7O.js");
11407
11427
  const wedgeNow = /* @__PURE__ */ new Date();
11408
11428
  const liveAgents = agentState.persistentSessionAgents;
@@ -14780,7 +14800,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
14780
14800
  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}`));
14781
14801
  void (async () => {
14782
14802
  try {
14783
- const { collectDiagnostics } = await import("../persistent-session-KGRCIIS5.js");
14803
+ const { collectDiagnostics } = await import("../persistent-session-HRVZVAIL.js");
14784
14804
  await api.post("/host/heartbeat", {
14785
14805
  host_id: hostId,
14786
14806
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
@@ -14830,7 +14850,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
14830
14850
  }
14831
14851
  try {
14832
14852
  const hostId = await getHostId();
14833
- const { collectDiagnostics } = await import("../persistent-session-KGRCIIS5.js");
14853
+ const { collectDiagnostics } = await import("../persistent-session-HRVZVAIL.js");
14834
14854
  await api.post("/host/heartbeat", {
14835
14855
  host_id: hostId,
14836
14856
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor)
@@ -15283,7 +15303,7 @@ async function processClaudePairSessions(agents) {
15283
15303
  killPairSession,
15284
15304
  pairTmuxSession,
15285
15305
  finalizeClaudePairOnboarding
15286
- } = await import("../claude-pair-runtime-YNOY2ATX.js");
15306
+ } = await import("../claude-pair-runtime-VTW57E4U.js");
15287
15307
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
15288
15308
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
15289
15309
  const killed = await killPairSession(pairTmuxSession(pairId));