@integrity-labs/agt-cli 0.28.1264 → 0.28.1266

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 (39) hide show
  1. package/dist/{api-client-Q2FXLBH5.js → api-client-5CNPCJKS.js} +3 -3
  2. package/dist/bin/agt.js +8 -8
  3. package/dist/{chunk-GSMGU2QA.js → chunk-7Z3N4G2Y.js} +6 -6
  4. package/dist/{chunk-5BXIXSSH.js → chunk-BMO6GCK2.js} +2 -2
  5. package/dist/{chunk-C3PSUSJ2.js → chunk-SGYCPC5K.js} +3 -3
  6. package/dist/{chunk-KJ5OCCSJ.js → chunk-W2GHPRPZ.js} +2 -2
  7. package/dist/{chunk-KJ5OCCSJ.js.map → chunk-W2GHPRPZ.js.map} +1 -1
  8. package/dist/{chunk-GZMUGH6X.js → chunk-WJUGK4R5.js} +48 -32
  9. package/dist/chunk-WJUGK4R5.js.map +1 -0
  10. package/dist/{chunk-HJWOXFJM.js → chunk-X2FBQPNR.js} +2 -2
  11. package/dist/{chunk-HYQ7VOC3.js → chunk-XL2HPM67.js} +19 -3
  12. package/dist/chunk-XL2HPM67.js.map +1 -0
  13. package/dist/{claude-code-updater-JQLNRK25.js → claude-code-updater-XISTQTZX.js} +3 -3
  14. package/dist/{claude-pair-runtime-M6VJ3KZ3.js → claude-pair-runtime-2XKML4U6.js} +16 -14
  15. package/dist/claude-pair-runtime-2XKML4U6.js.map +1 -0
  16. package/dist/lib/manager-worker.js +42 -40
  17. package/dist/lib/manager-worker.js.map +1 -1
  18. package/dist/mcp/direct-chat-channel.js +8 -2
  19. package/dist/mcp/index.js +1 -1
  20. package/dist/mcp/origami.js +1 -1
  21. package/dist/mcp/slack-channel.js +8 -2
  22. package/dist/mcp/telegram-channel.js +8 -2
  23. package/dist/mcp/xero.js +727 -169
  24. package/dist/{persistent-session-3OES5QXZ.js → persistent-session-YBCMFF7T.js} +7 -5
  25. package/dist/{responsiveness-probe-BSSNRCPM.js → responsiveness-probe-ZOCD6UYO.js} +5 -5
  26. package/dist/{session-auth-dead-A3TO2N63.js → session-auth-dead-U62KZ342.js} +3 -3
  27. package/package.json +1 -1
  28. package/dist/chunk-GZMUGH6X.js.map +0 -1
  29. package/dist/chunk-HYQ7VOC3.js.map +0 -1
  30. package/dist/claude-pair-runtime-M6VJ3KZ3.js.map +0 -1
  31. /package/dist/{api-client-Q2FXLBH5.js.map → api-client-5CNPCJKS.js.map} +0 -0
  32. /package/dist/{chunk-GSMGU2QA.js.map → chunk-7Z3N4G2Y.js.map} +0 -0
  33. /package/dist/{chunk-5BXIXSSH.js.map → chunk-BMO6GCK2.js.map} +0 -0
  34. /package/dist/{chunk-C3PSUSJ2.js.map → chunk-SGYCPC5K.js.map} +0 -0
  35. /package/dist/{chunk-HJWOXFJM.js.map → chunk-X2FBQPNR.js.map} +0 -0
  36. /package/dist/{claude-code-updater-JQLNRK25.js.map → claude-code-updater-XISTQTZX.js.map} +0 -0
  37. /package/dist/{persistent-session-3OES5QXZ.js.map → persistent-session-YBCMFF7T.js.map} +0 -0
  38. /package/dist/{responsiveness-probe-BSSNRCPM.js.map → responsiveness-probe-ZOCD6UYO.js.map} +0 -0
  39. /package/dist/{session-auth-dead-A3TO2N63.js.map → session-auth-dead-U62KZ342.js.map} +0 -0
@@ -70,7 +70,7 @@ import {
70
70
  tripClass,
71
71
  writeEtcEnvironment,
72
72
  writeProfileDScript
73
- } from "../chunk-GSMGU2QA.js";
73
+ } from "../chunk-7Z3N4G2Y.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-C3PSUSJ2.js";
91
+ } from "../chunk-SGYCPC5K.js";
92
92
  import {
93
93
  BLOCKED_ON_PROMPT_DECISION,
94
94
  CHANNEL_SECRET_ENV_KEYS,
@@ -174,7 +174,7 @@ import {
174
174
  webFetchBaselineValue,
175
175
  webFetchRestartNeeded,
176
176
  writeEgressAllowlist
177
- } from "../chunk-GZMUGH6X.js";
177
+ } from "../chunk-WJUGK4R5.js";
178
178
  import {
179
179
  isAgentIdle,
180
180
  isStaleForToday,
@@ -185,7 +185,7 @@ import {
185
185
  subagentActivityAgeSeconds,
186
186
  subagentTranscriptDir,
187
187
  transcriptActivityAgeSeconds
188
- } from "../chunk-HJWOXFJM.js";
188
+ } from "../chunk-X2FBQPNR.js";
189
189
  import {
190
190
  classifyUnanswerablePane,
191
191
  focusedConfirmDialogBlock,
@@ -193,8 +193,10 @@ import {
193
193
  paneRemedy,
194
194
  parkedModalKind,
195
195
  sendDialogKeys,
196
- simpleTextHash
197
- } from "../chunk-HYQ7VOC3.js";
196
+ simpleTextHash,
197
+ tmuxPaneTarget,
198
+ tmuxSessionTarget
199
+ } from "../chunk-XL2HPM67.js";
198
200
  import "../chunk-6HBXEJHO.js";
199
201
  import {
200
202
  CLAUDE_CODE_SECURITY_FLOOR,
@@ -209,7 +211,7 @@ import {
209
211
  runSafeCleanup,
210
212
  tightestDiskStat,
211
213
  withPackageCacheLock
212
- } from "../chunk-5BXIXSSH.js";
214
+ } from "../chunk-BMO6GCK2.js";
213
215
  import {
214
216
  parsePsRows,
215
217
  reapOrphanChannelMcps
@@ -337,7 +339,7 @@ import {
337
339
  stabiliseResetInstant,
338
340
  sumTranscriptUsageInWindow,
339
341
  summarizeTranscriptActivity
340
- } from "../chunk-KJ5OCCSJ.js";
342
+ } from "../chunk-W2GHPRPZ.js";
341
343
  import {
342
344
  CLAUDE_CONFIG_DIR_ENV,
343
345
  claudeConfigDirFor,
@@ -389,11 +391,11 @@ function killAbortsRestart(killed, restartReason) {
389
391
  }
390
392
  var TMUX_PROBE_TIMEOUT_MS = 3e3;
391
393
  function captureAgentPane(codeName) {
392
- const tmuxSession = `=agt-${codeName}`;
394
+ const tmuxSession = `agt-${codeName}`;
393
395
  let tmuxAlive;
394
396
  let screenCapture = null;
395
397
  try {
396
- execFileSync("tmux", ["has-session", "-t", tmuxSession], {
398
+ execFileSync("tmux", ["has-session", "-t", tmuxSessionTarget(tmuxSession)], {
397
399
  stdio: ["ignore", "ignore", "pipe"],
398
400
  encoding: "utf-8",
399
401
  timeout: TMUX_PROBE_TIMEOUT_MS
@@ -404,7 +406,7 @@ function captureAgentPane(codeName) {
404
406
  }
405
407
  if (tmuxAlive) {
406
408
  try {
407
- screenCapture = execFileSync("tmux", ["capture-pane", "-t", `${tmuxSession}:`, "-p", "-S", "-30"], {
409
+ screenCapture = execFileSync("tmux", ["capture-pane", "-t", tmuxPaneTarget(tmuxSession), "-p", "-S", "-30"], {
408
410
  encoding: "utf-8",
409
411
  timeout: TMUX_PROBE_TIMEOUT_MS
410
412
  }).trim();
@@ -416,7 +418,7 @@ function captureAgentPane(codeName) {
416
418
  var TMUX_KILL_TIMEOUT_MS = 1e4;
417
419
  function killAgentPane(codeName, exec = execFileSync) {
418
420
  try {
419
- exec("tmux", ["kill-session", "-t", `=agt-${codeName}`], {
421
+ exec("tmux", ["kill-session", "-t", tmuxSessionTarget(`agt-${codeName}`)], {
420
422
  stdio: ["ignore", "ignore", "pipe"],
421
423
  encoding: "utf-8",
422
424
  timeout: TMUX_KILL_TIMEOUT_MS,
@@ -9128,7 +9130,7 @@ function resolveLiveAnchorPids(agentCodeNames) {
9128
9130
  for (const codeName of agentCodeNames) {
9129
9131
  const pids = /* @__PURE__ */ new Set();
9130
9132
  try {
9131
- const out = execFileSync2("tmux", ["list-panes", "-t", `agt-${codeName}`, "-F", "#{pane_pid}"], {
9133
+ const out = execFileSync2("tmux", ["list-panes", "-t", tmuxPaneTarget(`agt-${codeName}`), "-F", "#{pane_pid}"], {
9132
9134
  encoding: "utf-8",
9133
9135
  timeout: 2e3,
9134
9136
  stdio: ["ignore", "pipe", "ignore"]
@@ -14377,7 +14379,7 @@ function createFileMigrationReportIO(codeName, log2) {
14377
14379
  };
14378
14380
  }
14379
14381
  var managerHostPost = async (path, body) => {
14380
- const { api: api2, ApiError: ApiError3 } = await import("../api-client-Q2FXLBH5.js");
14382
+ const { api: api2, ApiError: ApiError3 } = await import("../api-client-5CNPCJKS.js");
14381
14383
  try {
14382
14384
  const json = await api2.post(path, body);
14383
14385
  return { status: 200, json };
@@ -16416,7 +16418,7 @@ var pendingDayRolloverReset = /* @__PURE__ */ new Set();
16416
16418
  var dayRolloverInboundHold = /* @__PURE__ */ new Map();
16417
16419
  var INBOUND_HOLD_EPISODE_GAP_MS = 12e4;
16418
16420
  async function channelInboundActivityAgeSecondsFor(codeName) {
16419
- const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-BSSNRCPM.js");
16421
+ const { newestPendingInboundActivityMtimeMs } = await import("../responsiveness-probe-ZOCD6UYO.js");
16420
16422
  const newest = newestPendingInboundActivityMtimeMs(dirname11(paneLogPath(codeName)));
16421
16423
  if (newest === null) return null;
16422
16424
  return Math.max(0, Math.floor((Date.now() - newest) / 1e3));
@@ -17027,7 +17029,7 @@ var agentRuntimeTeardownDeps = {
17027
17029
  stopClaudePersistentSession: (codeName) => stopPersistentSessionAndForgetMcpBaseline(codeName),
17028
17030
  killTmuxSession: (sessionName) => {
17029
17031
  try {
17030
- syncExecFile("tmux", ["kill-session", "-t", sessionName], { stdio: "ignore" });
17032
+ syncExecFile("tmux", ["kill-session", "-t", tmuxSessionTarget(sessionName)], { stdio: "ignore" });
17031
17033
  return true;
17032
17034
  } catch {
17033
17035
  return false;
@@ -17232,7 +17234,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
17232
17234
  var lastVersionCheckAt = 0;
17233
17235
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
17234
17236
  var lastResponsivenessProbeAt = 0;
17235
- var agtCliVersion = true ? "0.28.1264" : "dev";
17237
+ var agtCliVersion = true ? "0.28.1266" : "dev";
17236
17238
  function resolveBrewPath(execFileSync4) {
17237
17239
  try {
17238
17240
  const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -19241,7 +19243,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
19241
19243
  if (codeNames.length === 0) return;
19242
19244
  void (async () => {
19243
19245
  try {
19244
- const { collectDiagnostics } = await import("../persistent-session-3OES5QXZ.js");
19246
+ const { collectDiagnostics } = await import("../persistent-session-YBCMFF7T.js");
19245
19247
  await api.post("/host/heartbeat", {
19246
19248
  host_id: hostId,
19247
19249
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -19384,7 +19386,7 @@ async function pollCycleInner() {
19384
19386
  }
19385
19387
  try {
19386
19388
  const { detectHostSecurity } = await import("../host-security-KQYYZZVW.js");
19387
- const { collectDiagnostics } = await import("../persistent-session-3OES5QXZ.js");
19389
+ const { collectDiagnostics } = await import("../persistent-session-YBCMFF7T.js");
19388
19390
  const diagCodeNames = [...agentState.persistentSessionAgents];
19389
19391
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor) : void 0;
19390
19392
  let tailscaleHostname;
@@ -19655,7 +19657,7 @@ async function pollCycleInner() {
19655
19657
  }
19656
19658
  try {
19657
19659
  const desiredClaudeCodeVersion = hbResp?.desired_claude_code_version?.trim();
19658
- const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-JQLNRK25.js");
19660
+ const { maybeUpdateClaudeCode, shouldRunClaudeCodeUpdater } = await import("../claude-code-updater-XISTQTZX.js");
19659
19661
  const securityFloor = currentSecurityFloor();
19660
19662
  claudeUpdaterInFlight = true;
19661
19663
  if (desiredClaudeCodeVersion && (claudePairLoop.busy || claudePairingInProgress())) {
@@ -19690,7 +19692,7 @@ async function pollCycleInner() {
19690
19692
  collectPanelessActivityProbes,
19691
19693
  getResponsivenessIntervalMs,
19692
19694
  occupancyQualificationClassifications
19693
- } = await import("../responsiveness-probe-BSSNRCPM.js");
19695
+ } = await import("../responsiveness-probe-ZOCD6UYO.js");
19694
19696
  const probeIntervalMs = getResponsivenessIntervalMs();
19695
19697
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
19696
19698
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -19807,7 +19809,7 @@ async function pollCycleInner() {
19807
19809
  collectResponsivenessProbes,
19808
19810
  livePendingInboundOldestAgeSeconds,
19809
19811
  parkPendingInbound
19810
- } = await import("../responsiveness-probe-BSSNRCPM.js");
19812
+ } = await import("../responsiveness-probe-ZOCD6UYO.js");
19811
19813
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-5PCBGRNY.js");
19812
19814
  const wedgeNow = /* @__PURE__ */ new Date();
19813
19815
  const liveAgents = agentState.persistentSessionAgents;
@@ -19883,7 +19885,7 @@ async function pollCycleInner() {
19883
19885
  const newId = rotateSessionForWedge(codeName);
19884
19886
  try {
19885
19887
  const { execSync: es } = await import("child_process");
19886
- es(`tmux kill-session -t agt-${codeName} 2>/dev/null`, { stdio: "ignore" });
19888
+ es(`tmux kill-session -t ${tmuxSessionTarget(`agt-${codeName}`)} 2>/dev/null`, { stdio: "ignore" });
19887
19889
  } catch {
19888
19890
  }
19889
19891
  stopPersistentSessionAndForgetMcpBaseline(codeName);
@@ -20000,7 +20002,7 @@ async function pollCycleInner() {
20000
20002
  }
20001
20003
  let pane = null;
20002
20004
  try {
20003
- pane = syncExecFile("tmux", ["capture-pane", "-t", `agt-${codeName}`, "-p", "-J"], {
20005
+ pane = syncExecFile("tmux", ["capture-pane", "-t", tmuxPaneTarget(`agt-${codeName}`), "-p", "-J"], {
20004
20006
  stdio: ["ignore", "pipe", "ignore"],
20005
20007
  timeout: 2e3
20006
20008
  }).toString();
@@ -20074,7 +20076,7 @@ async function pollCycleInner() {
20074
20076
  try {
20075
20077
  const newId = rotateSessionForWedge(codeName);
20076
20078
  try {
20077
- syncExecFile("tmux", ["kill-session", "-t", `agt-${codeName}`], { stdio: "ignore" });
20079
+ syncExecFile("tmux", ["kill-session", "-t", tmuxSessionTarget(`agt-${codeName}`)], { stdio: "ignore" });
20078
20080
  } catch {
20079
20081
  }
20080
20082
  stopPersistentSessionAndForgetMcpBaseline(
@@ -20093,7 +20095,7 @@ async function pollCycleInner() {
20093
20095
  }
20094
20096
  }
20095
20097
  );
20096
- const { parkPendingInbound } = await import("../responsiveness-probe-BSSNRCPM.js");
20098
+ const { parkPendingInbound } = await import("../responsiveness-probe-ZOCD6UYO.js");
20097
20099
  const { parked, deadLettered } = parkPendingInbound(codeName, new Date(fatalNowMs));
20098
20100
  paneFatalStreak.delete(codeName);
20099
20101
  paneFatalRestarts.set(codeName, [...history, fatalNowMs]);
@@ -20124,7 +20126,7 @@ async function pollCycleInner() {
20124
20126
  TRANSCRIPT_MOUNT_ESCALATION_REFRESH_MS,
20125
20127
  bindSourceEscalations
20126
20128
  } = await import("../transcript-mount-health-OHE6IVJV.js");
20127
- const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-3OES5QXZ.js");
20129
+ const { transcriptBindSourcesFor, ensureTranscriptBindSources } = await import("../persistent-session-YBCMFF7T.js");
20128
20130
  const mountConfig = resolveTranscriptMountConfig();
20129
20131
  const liveAgents = agentState.persistentSessionAgents;
20130
20132
  for (const tracked of [
@@ -20289,7 +20291,7 @@ async function pollCycleInner() {
20289
20291
  }
20290
20292
  try {
20291
20293
  const { scrapeMcpFailedBannerCount } = await import("../pane-mcp-banner-scraper-VR5QGP3J.js");
20292
- const { probeSessionAuth } = await import("../session-auth-dead-A3TO2N63.js");
20294
+ const { probeSessionAuth } = await import("../session-auth-dead-U62KZ342.js");
20293
20295
  const observations = [];
20294
20296
  const pendingCacheCommits = [];
20295
20297
  const modelApiErrorReportingOn = hostFlagStore().getBoolean("model-api-error-reporting");
@@ -20622,7 +20624,7 @@ async function pollCycleInner() {
20622
20624
  let sweptPane = null;
20623
20625
  const observation = observeBlockedPrompt(agent.code_name, true, (codeName) => {
20624
20626
  try {
20625
- sweptPane = syncExecFile("tmux", ["capture-pane", "-t", `agt-${codeName}`, "-p"], {
20627
+ sweptPane = syncExecFile("tmux", ["capture-pane", "-t", tmuxPaneTarget(`agt-${codeName}`), "-p"], {
20626
20628
  stdio: ["ignore", "pipe", "ignore"],
20627
20629
  timeout: 2e3
20628
20630
  }).toString();
@@ -20866,7 +20868,7 @@ async function pollCycleInner() {
20866
20868
  checkChannelInputs(claudeCodeAgents, {
20867
20869
  capturePane: (codeName) => {
20868
20870
  try {
20869
- return syncExecFile("tmux", ["capture-pane", "-t", `agt-${codeName}`, "-p"], {
20871
+ return syncExecFile("tmux", ["capture-pane", "-t", tmuxPaneTarget(`agt-${codeName}`), "-p"], {
20870
20872
  stdio: ["ignore", "pipe", "ignore"],
20871
20873
  timeout: 2e3
20872
20874
  }).toString();
@@ -20876,7 +20878,7 @@ async function pollCycleInner() {
20876
20878
  },
20877
20879
  isClientAttached: (codeName) => {
20878
20880
  try {
20879
- const out = syncExecFile("tmux", ["list-clients", "-t", `agt-${codeName}`], {
20881
+ const out = syncExecFile("tmux", ["list-clients", "-t", tmuxSessionTarget(`agt-${codeName}`)], {
20880
20882
  stdio: ["ignore", "pipe", "ignore"],
20881
20883
  timeout: 2e3
20882
20884
  }).toString();
@@ -20887,7 +20889,7 @@ async function pollCycleInner() {
20887
20889
  },
20888
20890
  sendEnter: (codeName) => {
20889
20891
  try {
20890
- syncExecFile("tmux", ["send-keys", "-t", `agt-${codeName}`, "Enter"], {
20892
+ syncExecFile("tmux", ["send-keys", "-t", tmuxPaneTarget(`agt-${codeName}`), "Enter"], {
20891
20893
  stdio: "ignore",
20892
20894
  timeout: 2e3
20893
20895
  });
@@ -20906,7 +20908,7 @@ async function pollCycleInner() {
20906
20908
  const view = new Int32Array(new SharedArrayBuffer(4));
20907
20909
  Atomics.wait(view, 0, 0, interKeyDelayMs);
20908
20910
  }
20909
- syncExecFile("tmux", ["send-keys", "-t", `agt-${codeName}`, keys[i]], {
20911
+ syncExecFile("tmux", ["send-keys", "-t", tmuxPaneTarget(`agt-${codeName}`), keys[i]], {
20910
20912
  stdio: "ignore",
20911
20913
  timeout: 2e3
20912
20914
  });
@@ -22901,7 +22903,7 @@ async function processAgent(agent, agentStates, managedToolkits) {
22901
22903
  stopOpencode: (code) => stopOpencodeSession(code, log),
22902
22904
  stopClaudeCode: (code) => {
22903
22905
  try {
22904
- syncExecFile("tmux", ["kill-session", "-t", `agt-${code}`], { stdio: "ignore" });
22906
+ syncExecFile("tmux", ["kill-session", "-t", tmuxSessionTarget(`agt-${code}`)], { stdio: "ignore" });
22905
22907
  } catch {
22906
22908
  }
22907
22909
  stopPersistentSessionAndForgetMcpBaseline(code, "integration-change");
@@ -23604,7 +23606,7 @@ async function processAgent(agent, agentStates, managedToolkits) {
23604
23606
  // recovery for every agent on the host.
23605
23607
  readPane: (codeName) => {
23606
23608
  try {
23607
- return syncExecFile("tmux", ["capture-pane", "-t", `agt-${codeName}`, "-p"], {
23609
+ return syncExecFile("tmux", ["capture-pane", "-t", tmuxPaneTarget(`agt-${codeName}`), "-p"], {
23608
23610
  stdio: ["ignore", "pipe", "ignore"],
23609
23611
  timeout: 2e3
23610
23612
  }).toString();
@@ -25253,7 +25255,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
25253
25255
  if (!refreshData) return;
25254
25256
  const framework = refreshData.agent?.framework ?? agentFrameworkCache.get(codeName) ?? DEFAULT_FRAMEWORK;
25255
25257
  const hostId = await getHostId();
25256
- const parkForRestart = await import("../responsiveness-probe-BSSNRCPM.js").then(
25258
+ const parkForRestart = await import("../responsiveness-probe-ZOCD6UYO.js").then(
25257
25259
  (m) => m.parkPendingInbound,
25258
25260
  (err) => err
25259
25261
  );
@@ -25330,7 +25332,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
25330
25332
  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}`));
25331
25333
  void (async () => {
25332
25334
  try {
25333
- const { collectDiagnostics } = await import("../persistent-session-3OES5QXZ.js");
25335
+ const { collectDiagnostics } = await import("../persistent-session-YBCMFF7T.js");
25334
25336
  await api.post("/host/heartbeat", {
25335
25337
  host_id: hostId,
25336
25338
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -25383,7 +25385,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
25383
25385
  }
25384
25386
  try {
25385
25387
  const hostId = await getHostId();
25386
- const { collectDiagnostics } = await import("../persistent-session-3OES5QXZ.js");
25388
+ const { collectDiagnostics } = await import("../persistent-session-YBCMFF7T.js");
25387
25389
  await api.post("/host/heartbeat", {
25388
25390
  host_id: hostId,
25389
25391
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor, claudeMdSizeFor, spawnOutcomeForDiagnostics, pidPressureFor, forwardedToolsFor, runtimeVersionFor, sessionActivityFor)
@@ -26085,7 +26087,7 @@ async function processClaudePairSessions(agents) {
26085
26087
  snapshotPairConfig,
26086
26088
  // ENG-11659: result -> report body + the manager.log line that records it.
26087
26089
  planPairStartReport
26088
- } = await import("../claude-pair-runtime-M6VJ3KZ3.js");
26090
+ } = await import("../claude-pair-runtime-2XKML4U6.js");
26089
26091
  const { resetClaudeSignin, describeSigninResetForLog, describeSigninResetFailure } = await import("../claude-signin-reset-6IJMMVYG.js");
26090
26092
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
26091
26093
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
@@ -27031,7 +27033,7 @@ async function killAllAgtTmuxSessions() {
27031
27033
  );
27032
27034
  const sessions = output.trim().split("\n").filter((s) => s.startsWith("agt-"));
27033
27035
  const { killed, failed } = await killSessionsConcurrently(sessions, async (session) => {
27034
- await execFilePromiseLong("tmux", ["kill-session", "-t", session], {
27036
+ await execFilePromiseLong("tmux", ["kill-session", "-t", tmuxSessionTarget(session)], {
27035
27037
  timeout: 2e3,
27036
27038
  stdin: "ignore"
27037
27039
  });