@integrity-labs/agt-cli 0.28.1320 → 0.28.1322

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.
Files changed (33) hide show
  1. package/dist/{api-client-ZCSKN3SJ.js → api-client-VXXOOCA5.js} +3 -3
  2. package/dist/bin/agt.js +7 -7
  3. package/dist/{chunk-HGLJ2T4J.js → chunk-3XEZANF5.js} +16 -2
  4. package/dist/{chunk-HGLJ2T4J.js.map → chunk-3XEZANF5.js.map} +1 -1
  5. package/dist/{chunk-ZDO57BCK.js → chunk-BKVF4YW7.js} +5 -5
  6. package/dist/{chunk-BMHXW6TG.js → chunk-CBANOMCZ.js} +2 -2
  7. package/dist/{chunk-2F4EHNRQ.js → chunk-FSRGCRQP.js} +3 -3
  8. package/dist/{chunk-ZA34ZZCC.js → chunk-H44B3MDK.js} +3 -3
  9. package/dist/{chunk-PKE4GUZQ.js → chunk-YLTZLS2F.js} +2 -2
  10. package/dist/{claude-code-updater-E5QX33MA.js → claude-code-updater-YQUPD3YO.js} +3 -3
  11. package/dist/{claude-pair-runtime-5EGI66ET.js → claude-pair-runtime-QUQSYYU6.js} +3 -3
  12. package/dist/lib/manager-worker.js +40 -30
  13. package/dist/lib/manager-worker.js.map +1 -1
  14. package/dist/mcp/direct-chat-channel.js +15 -1
  15. package/dist/mcp/index.js +15 -1
  16. package/dist/mcp/origami.js +15 -1
  17. package/dist/mcp/slack-channel.js +15 -1
  18. package/dist/mcp/telegram-channel.js +15 -1
  19. package/dist/{persistent-session-XFZ43IDB.js → persistent-session-QARS7IMN.js} +4 -4
  20. package/dist/{responsiveness-probe-EJJNNPNB.js → responsiveness-probe-2QX6FU62.js} +4 -4
  21. package/dist/{session-auth-dead-EIVQKX5X.js → session-auth-dead-4Z7263AN.js} +3 -3
  22. package/package.json +1 -1
  23. /package/dist/{api-client-ZCSKN3SJ.js.map → api-client-VXXOOCA5.js.map} +0 -0
  24. /package/dist/{chunk-ZDO57BCK.js.map → chunk-BKVF4YW7.js.map} +0 -0
  25. /package/dist/{chunk-BMHXW6TG.js.map → chunk-CBANOMCZ.js.map} +0 -0
  26. /package/dist/{chunk-2F4EHNRQ.js.map → chunk-FSRGCRQP.js.map} +0 -0
  27. /package/dist/{chunk-ZA34ZZCC.js.map → chunk-H44B3MDK.js.map} +0 -0
  28. /package/dist/{chunk-PKE4GUZQ.js.map → chunk-YLTZLS2F.js.map} +0 -0
  29. /package/dist/{claude-code-updater-E5QX33MA.js.map → claude-code-updater-YQUPD3YO.js.map} +0 -0
  30. /package/dist/{claude-pair-runtime-5EGI66ET.js.map → claude-pair-runtime-QUQSYYU6.js.map} +0 -0
  31. /package/dist/{persistent-session-XFZ43IDB.js.map → persistent-session-QARS7IMN.js.map} +0 -0
  32. /package/dist/{responsiveness-probe-EJJNNPNB.js.map → responsiveness-probe-2QX6FU62.js.map} +0 -0
  33. /package/dist/{session-auth-dead-EIVQKX5X.js.map → session-auth-dead-4Z7263AN.js.map} +0 -0
@@ -2,7 +2,7 @@ import {
2
2
  exchangeApiKey,
3
3
  getApiKey,
4
4
  getHost
5
- } from "./chunk-ZA34ZZCC.js";
5
+ } from "./chunk-H44B3MDK.js";
6
6
  import {
7
7
  LATE_BOUND_VARS,
8
8
  PLATFORM_DENY_PERMISSIONS,
@@ -26,11 +26,11 @@ import {
26
26
  warnIgnoredIsolationAllowlist,
27
27
  withheldRemoteMcpMessage,
28
28
  withheldRemoteMcpReasonFor
29
- } from "./chunk-2F4EHNRQ.js";
29
+ } from "./chunk-FSRGCRQP.js";
30
30
  import {
31
31
  readDailySessionPin,
32
32
  sessionTranscriptDir
33
- } from "./chunk-BMHXW6TG.js";
33
+ } from "./chunk-CBANOMCZ.js";
34
34
  import {
35
35
  classifyUnanswerablePane,
36
36
  isConsumerTermsDialogVisible,
@@ -102,7 +102,7 @@ import {
102
102
  scanConfigForLiteralSecrets,
103
103
  worseConnectivityOutcome,
104
104
  wrapScheduledTaskPrompt
105
- } from "./chunk-HGLJ2T4J.js";
105
+ } from "./chunk-3XEZANF5.js";
106
106
  import {
107
107
  claudeJsonPathFor,
108
108
  effectiveClaudeJsonPath,
@@ -13882,4 +13882,4 @@ export {
13882
13882
  managerInstallSystemUnitCommand,
13883
13883
  managerUninstallSystemUnitCommand
13884
13884
  };
13885
- //# sourceMappingURL=chunk-ZDO57BCK.js.map
13885
+ //# sourceMappingURL=chunk-BKVF4YW7.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  encodeClaudeProjectPath
3
- } from "./chunk-HGLJ2T4J.js";
3
+ } from "./chunk-3XEZANF5.js";
4
4
 
5
5
  // src/lib/daily-session.ts
6
6
  import { randomUUID } from "crypto";
@@ -245,4 +245,4 @@ export {
245
245
  peekPreviousSession,
246
246
  readDailySessionPin
247
247
  };
248
- //# sourceMappingURL=chunk-BMHXW6TG.js.map
248
+ //# sourceMappingURL=chunk-CBANOMCZ.js.map
@@ -4,7 +4,7 @@ import {
4
4
  rotateDailySession,
5
5
  sessionFileExists,
6
6
  todayLocalIso
7
- } from "./chunk-BMHXW6TG.js";
7
+ } from "./chunk-CBANOMCZ.js";
8
8
  import {
9
9
  classifyUnanswerablePane,
10
10
  customApiKeyDialogKeys,
@@ -56,7 +56,7 @@ import {
56
56
  remoteMcpConnectionEnvInfix,
57
57
  remoteMcpConnectionLabel,
58
58
  remoteMcpConnectionScopedEnvVar
59
- } from "./chunk-HGLJ2T4J.js";
59
+ } from "./chunk-3XEZANF5.js";
60
60
  import {
61
61
  CLAUDE_CONFIG_DIR_ENV,
62
62
  approveApiKeyInClaudeConfig,
@@ -6765,4 +6765,4 @@ export {
6765
6765
  stopAllSessionsAndWait,
6766
6766
  getProjectDir
6767
6767
  };
6768
- //# sourceMappingURL=chunk-2F4EHNRQ.js.map
6768
+ //# sourceMappingURL=chunk-FSRGCRQP.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  HOST_ROTATE_KEY_CONFLICT
3
- } from "./chunk-HGLJ2T4J.js";
3
+ } from "./chunk-3XEZANF5.js";
4
4
 
5
5
  // src/lib/config.ts
6
6
  import { readFileSync, writeFileSync, mkdirSync, existsSync } from "fs";
@@ -103,7 +103,7 @@ function exchangeFailureKind(err) {
103
103
  }
104
104
 
105
105
  // src/lib/api-client.ts
106
- var agtCliVersion = true ? "0.28.1320" : "dev";
106
+ var agtCliVersion = true ? "0.28.1322" : "dev";
107
107
  var lastConfigHash = null;
108
108
  function setConfigHash(hash) {
109
109
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -468,4 +468,4 @@ export {
468
468
  api,
469
469
  getHostId
470
470
  };
471
- //# sourceMappingURL=chunk-ZA34ZZCC.js.map
471
+ //# sourceMappingURL=chunk-H44B3MDK.js.map
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-XWVM4KPK.js";
5
5
  import {
6
6
  FORCED_UPDATE_HARD_DEADLINE_MS
7
- } from "./chunk-HGLJ2T4J.js";
7
+ } from "./chunk-3XEZANF5.js";
8
8
  import {
9
9
  effectiveClaudeJsonPath
10
10
  } from "./chunk-AIUIMEUS.js";
@@ -722,4 +722,4 @@ export {
722
722
  probeClaudeInstalls,
723
723
  maybeUpdateClaudeCode
724
724
  };
725
- //# sourceMappingURL=chunk-PKE4GUZQ.js.map
725
+ //# sourceMappingURL=chunk-YLTZLS2F.js.map
@@ -13,9 +13,9 @@ import {
13
13
  probeClaudeInstalls,
14
14
  readsAsNativeInstall,
15
15
  shouldRunClaudeCodeUpdater
16
- } from "./chunk-PKE4GUZQ.js";
16
+ } from "./chunk-YLTZLS2F.js";
17
17
  import "./chunk-XWVM4KPK.js";
18
- import "./chunk-HGLJ2T4J.js";
18
+ import "./chunk-3XEZANF5.js";
19
19
  import "./chunk-AIUIMEUS.js";
20
20
  import "./chunk-DGUM43GV.js";
21
21
  export {
@@ -34,4 +34,4 @@ export {
34
34
  readsAsNativeInstall,
35
35
  shouldRunClaudeCodeUpdater
36
36
  };
37
- //# sourceMappingURL=claude-code-updater-E5QX33MA.js.map
37
+ //# sourceMappingURL=claude-code-updater-YQUPD3YO.js.map
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  redactPaneFrame,
12
12
  sanitizeTerminalFrame
13
- } from "./chunk-HGLJ2T4J.js";
13
+ } from "./chunk-3XEZANF5.js";
14
14
  import {
15
15
  CLAUDE_CONFIG_DIR_ENV,
16
16
  claudeConfigDirFor,
@@ -323,7 +323,7 @@ async function spawnPairSession(session) {
323
323
  return { ok: true };
324
324
  } catch {
325
325
  }
326
- const { resolveClaudeBinary } = await import("./persistent-session-XFZ43IDB.js");
326
+ const { resolveClaudeBinary } = await import("./persistent-session-QARS7IMN.js");
327
327
  const claudeBin = resolveClaudeBinary();
328
328
  const pairEnv = {
329
329
  ...process.env,
@@ -838,4 +838,4 @@ export {
838
838
  startClaudePair,
839
839
  submitClaudePairCode
840
840
  };
841
- //# sourceMappingURL=claude-pair-runtime-5EGI66ET.js.map
841
+ //# sourceMappingURL=claude-pair-runtime-QUQSYYU6.js.map
@@ -70,7 +70,7 @@ import {
70
70
  tripClass,
71
71
  writeEtcEnvironment,
72
72
  writeProfileDScript
73
- } from "../chunk-ZDO57BCK.js";
73
+ } from "../chunk-BKVF4YW7.js";
74
74
  import {
75
75
  ApiError,
76
76
  adoptHostKeyInProcess,
@@ -88,7 +88,7 @@ import {
88
88
  probeHostKey,
89
89
  requireHost,
90
90
  setConfigHash
91
- } from "../chunk-ZA34ZZCC.js";
91
+ } from "../chunk-H44B3MDK.js";
92
92
  import {
93
93
  BLOCKED_ON_PROMPT_DECISION,
94
94
  CHANNEL_SECRET_ENV_KEYS,
@@ -185,7 +185,7 @@ import {
185
185
  webFetchBaselineValue,
186
186
  webFetchRestartNeeded,
187
187
  writeEgressAllowlist
188
- } from "../chunk-2F4EHNRQ.js";
188
+ } from "../chunk-FSRGCRQP.js";
189
189
  import {
190
190
  isAgentIdle,
191
191
  isStaleForToday,
@@ -197,7 +197,7 @@ import {
197
197
  subagentActivityAgeSeconds,
198
198
  subagentTranscriptDir,
199
199
  transcriptActivityAgeSeconds
200
- } from "../chunk-BMHXW6TG.js";
200
+ } from "../chunk-CBANOMCZ.js";
201
201
  import {
202
202
  classifyUnanswerablePane,
203
203
  focusedConfirmDialogBlock,
@@ -223,7 +223,7 @@ import {
223
223
  runSafeCleanup,
224
224
  tightestDiskStat,
225
225
  withPackageCacheLock
226
- } from "../chunk-PKE4GUZQ.js";
226
+ } from "../chunk-YLTZLS2F.js";
227
227
  import {
228
228
  parsePsRows,
229
229
  reapOrphanChannelMcps
@@ -352,7 +352,7 @@ import {
352
352
  stabiliseResetInstant,
353
353
  sumTranscriptUsageInWindow,
354
354
  summarizeTranscriptActivity
355
- } from "../chunk-HGLJ2T4J.js";
355
+ } from "../chunk-3XEZANF5.js";
356
356
  import {
357
357
  CLAUDE_CONFIG_DIR_ENV,
358
358
  claudeConfigDirFor,
@@ -10209,6 +10209,14 @@ function forceGates(gates, agentId) {
10209
10209
  }
10210
10210
  }
10211
10211
 
10212
+ // src/lib/default-schedules-refetch.ts
10213
+ function mustRefetchAfterEnsureDefaultSchedules(response) {
10214
+ if (typeof response !== "object" || response === null) return true;
10215
+ const { created, updated } = response;
10216
+ if (typeof created !== "number" || typeof updated !== "number") return true;
10217
+ return created !== 0 || updated !== 0;
10218
+ }
10219
+
10212
10220
  // src/lib/conditional-fetch.ts
10213
10221
  function stillHeld(quoted, live) {
10214
10222
  if (!quoted || !live) return void 0;
@@ -16314,7 +16322,7 @@ function createFileMigrationReportIO(codeName, log2) {
16314
16322
  };
16315
16323
  }
16316
16324
  var managerHostPost = async (path, body) => {
16317
- const { api: api2, ApiError: ApiError3 } = await import("../api-client-ZCSKN3SJ.js");
16325
+ const { api: api2, ApiError: ApiError3 } = await import("../api-client-VXXOOCA5.js");
16318
16326
  try {
16319
16327
  const json = await api2.post(path, body);
16320
16328
  return { status: 200, json };
@@ -18484,7 +18492,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
18484
18492
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
18485
18493
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
18486
18494
  async function channelInboundActivityAgeSecondsFor(codeName) {
18487
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-EJJNNPNB.js");
18495
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-2QX6FU62.js");
18488
18496
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
18489
18497
  if (newest === null) return null;
18490
18498
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -19396,7 +19404,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
19396
19404
  var lastVersionCheckAt = 0;
19397
19405
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
19398
19406
  var lastResponsivenessProbeAt = 0;
19399
- var agtCliVersion = true ? "0.28.1320" : "dev";
19407
+ var agtCliVersion = true ? "0.28.1322" : "dev";
19400
19408
  function resolveBrewPath(execFileSync5) {
19401
19409
  try {
19402
19410
  const out = execFileSync5("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -21532,7 +21540,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
21532
21540
  if (codeNames.length === 0) return;
21533
21541
  void (async () => {
21534
21542
  try {
21535
- const { collectDiagnostics } = await import("../persistent-session-XFZ43IDB.js");
21543
+ const { collectDiagnostics } = await import("../persistent-session-QARS7IMN.js");
21536
21544
  await api.post("/host/heartbeat", {
21537
21545
  host_id: hostId,
21538
21546
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor, agentDiskFor)
@@ -21679,7 +21687,7 @@ async function pollCycleInner() {
21679
21687
  }
21680
21688
  try {
21681
21689
  const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
21682
- const { collectDiagnostics } = await import("../persistent-session-XFZ43IDB.js");
21690
+ const { collectDiagnostics } = await import("../persistent-session-QARS7IMN.js");
21683
21691
  const recordedSinceHeartbeat = new Set(spawnOutcomesSinceHeartbeat.drain());
21684
21692
  const diagCodeNames = heartbeatDiagnosticsCodeNames(agentState.persistentSessionAgents, recordedSinceHeartbeat);
21685
21693
  const heartbeatSpawnOutcomeFor = spawnOutcomeIfRecorded(spawnOutcomeForDiagnostics, recordedSinceHeartbeat);
@@ -21980,7 +21988,7 @@ async function pollCycleInner() {
21980
21988
  }
21981
21989
  try {
21982
21990
  const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
21983
- const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-E5QX33MA.js");
21991
+ const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-YQUPD3YO.js");
21984
21992
  const securityFloor = currentSecurityFloor();
21985
21993
  claudeUpdaterInFlight = true;
21986
21994
  if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
@@ -22015,7 +22023,7 @@ async function pollCycleInner() {
22015
22023
  collectPanelessActivityProbes,
22016
22024
  getResponsivenessIntervalMs,
22017
22025
  occupancyQualificationClassifications
22018
- } = await import("../responsiveness-probe-EJJNNPNB.js");
22026
+ } = await import("../responsiveness-probe-2QX6FU62.js");
22019
22027
  const probeIntervalMs = getResponsivenessIntervalMs();
22020
22028
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
22021
22029
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -22132,7 +22140,7 @@ async function pollCycleInner() {
22132
22140
  collectResponsivenessProbes,
22133
22141
  livePendingInboundOldestAgeSeconds,
22134
22142
  parkPendingInbound
22135
- } = await import("../responsiveness-probe-EJJNNPNB.js");
22143
+ } = await import("../responsiveness-probe-2QX6FU62.js");
22136
22144
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-5PCBGRNY.js");
22137
22145
  const wedgeNow = /* @__PURE__ */ new Date();
22138
22146
  const liveAgents = agentState.persistentSessionAgents;
@@ -22421,7 +22429,7 @@ async function pollCycleInner() {
22421
22429
  }
22422
22430
  );
22423
22431
  if (!paneFatalTornDown) continue;
22424
- const { parkPendingInbound } = await import("../responsiveness-probe-EJJNNPNB.js");
22432
+ const { parkPendingInbound } = await import("../responsiveness-probe-2QX6FU62.js");
22425
22433
  const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
22426
22434
  paneFatalStreak.delete(codeName);
22427
22435
  paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
@@ -22452,7 +22460,7 @@ async function pollCycleInner() {
22452
22460
  TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
22453
22461
  bindSourceEscalations
22454
22462
  } = await import("../transcript-mount-health-OHE6IVJV.js");
22455
- const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-XFZ43IDB.js");
22463
+ const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-QARS7IMN.js");
22456
22464
  const mountConfig = resolveTranscriptMountConfig();
22457
22465
  const liveAgents = agentState.persistentSessionAgents;
22458
22466
  for (const tracked of [
@@ -22618,7 +22626,7 @@ async function pollCycleInner() {
22618
22626
  }
22619
22627
  try {
22620
22628
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
22621
- const { probeSessionAuth } = await import("../session-auth-dead-EIVQKX5X.js");
22629
+ const { probeSessionAuth } = await import("../session-auth-dead-4Z7263AN.js");
22622
22630
  const observations = [];
22623
22631
  const pendingCacheCommits = [];
22624
22632
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -25428,7 +25436,7 @@ async function processAgent(agent, agentStates, managedToolkits) {
25428
25436
  (s) => !existingTemplateIds.has(s.template_id)
25429
25437
  );
25430
25438
  if (allSchedules.length > 0) {
25431
- await api.post("/host/ensure-default-schedules", {
25439
+ const ensured = await api.post("/host/ensure-default-schedules", {
25432
25440
  agent_id: agent.agent_id,
25433
25441
  team_id: defaultsData.team_id,
25434
25442
  timezone: defaultsData.timezone,
@@ -25437,14 +25445,16 @@ async function processAgent(agent, agentStates, managedToolkits) {
25437
25445
  if (missing.length > 0) {
25438
25446
  log(`Auto-provisioned ${missing.length} default schedule(s) for '${agent.code_name}': ${missing.map((s) => s.template_id).join(", ")}`);
25439
25447
  }
25440
- const freshData = await api.post("/host/refresh", {
25441
- agent_id: agent.agent_id,
25442
- // Only `scheduled_tasks` is read here, so ask for the manifest shape on
25443
- // every lane — nothing in this branch consumes a skill body, and the
25444
- // skill lanes are the largest part of the payload being discarded.
25445
- ...REFRESH_MANIFEST_FLAGS
25446
- });
25447
- tasks = freshData.scheduled_tasks ?? tasks;
25448
+ if (mustRefetchAfterEnsureDefaultSchedules(ensured)) {
25449
+ const freshData = await api.post("/host/refresh", {
25450
+ agent_id: agent.agent_id,
25451
+ // Only `scheduled_tasks` is read here, so ask for the manifest shape on
25452
+ // every lane — nothing in this branch consumes a skill body, and the
25453
+ // skill lanes are the largest part of the payload being discarded.
25454
+ ...REFRESH_MANIFEST_FLAGS
25455
+ });
25456
+ tasks = freshData.scheduled_tasks ?? tasks;
25457
+ }
25448
25458
  }
25449
25459
  defaultSchedulesFetchGate.markFetched(agent.agent_id, defaultSchedulesToken);
25450
25460
  } catch (err) {
@@ -27857,7 +27867,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
27857
27867
  if (!refreshData) return;
27858
27868
  const framework = refreshData.agent?.framework ?? agentFrameworkCache.get(codeName) ?? DEFAULT_FRAMEWORK;
27859
27869
  const hostId = await getHostId();
27860
- const parkForRestart = await import("../responsiveness-probe-EJJNNPNB.js").then(
27870
+ const parkForRestart = await import("../responsiveness-probe-2QX6FU62.js").then(
27861
27871
  (m) => m.parkPendingInbound,
27862
27872
  (err) => err
27863
27873
  );
@@ -27938,7 +27948,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
27938
27948
  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}`));
27939
27949
  void (async () => {
27940
27950
  try {
27941
- const { collectDiagnostics } = await import("../persistent-session-XFZ43IDB.js");
27951
+ const { collectDiagnostics } = await import("../persistent-session-QARS7IMN.js");
27942
27952
  await api.post("/host/heartbeat", {
27943
27953
  host_id: hostId,
27944
27954
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor, agentDiskFor)
@@ -27991,7 +28001,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
27991
28001
  }
27992
28002
  try {
27993
28003
  const hostId = await getHostId();
27994
- const { collectDiagnostics } = await import("../persistent-session-XFZ43IDB.js");
28004
+ const { collectDiagnostics } = await import("../persistent-session-QARS7IMN.js");
27995
28005
  await api.post("/host/heartbeat", {
27996
28006
  host_id: hostId,
27997
28007
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor, agentDiskFor)
@@ -28867,7 +28877,7 @@ async function processClaudePairSessions(agents) {
28867
28877
  snapshotPairConfig,
28868
28878
  // ENG-11659: result -> report body + the manager.log line that records it.
28869
28879
  planPairStartReport
28870
- } = await import("../claude-pair-runtime-5EGI66ET.js");
28880
+ } = await import("../claude-pair-runtime-QUQSYYU6.js");
28871
28881
  const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
28872
28882
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
28873
28883
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);