@integrity-labs/agt-cli 0.28.395 → 0.28.397

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-VB5LXYCJ.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-34CDP2I3.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-UYH2UF4M.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-XUI3TOGS.js.map
@@ -28,6 +28,7 @@ import {
28
28
  getHostId,
29
29
  givenUpMcpServerKeys,
30
30
  liveProxyExtraHeaderVars,
31
+ liveProxyTokenVars,
31
32
  pinAllowsUrgent,
32
33
  provision,
33
34
  provisionAutoKanbanProgressHook,
@@ -43,7 +44,7 @@ import {
43
44
  resolveEffectivePinRaw,
44
45
  safeWriteJsonAtomic,
45
46
  setConfigHash
46
- } from "../chunk-EMR2ZIOH.js";
47
+ } from "../chunk-33ZECLH7.js";
47
48
  import {
48
49
  getProjectDir as getProjectDir2,
49
50
  getReadyTasks,
@@ -145,7 +146,7 @@ import {
145
146
  toOpencodeModel,
146
147
  transcriptActivityAgeSeconds,
147
148
  writeEgressAllowlist
148
- } from "../chunk-DXJEJRSZ.js";
149
+ } from "../chunk-4LZBDTFJ.js";
149
150
  import {
150
151
  reapOrphanChannelMcps
151
152
  } from "../chunk-XWVM4KPK.js";
@@ -9248,7 +9249,7 @@ var agentRestartTimezoneInputs = /* @__PURE__ */ new Map();
9248
9249
  var lastVersionCheckAt = 0;
9249
9250
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
9250
9251
  var lastResponsivenessProbeAt = 0;
9251
- var agtCliVersion = true ? "0.28.395" : "dev";
9252
+ var agtCliVersion = true ? "0.28.397" : "dev";
9252
9253
  function resolveBrewPath(execFileSync2) {
9253
9254
  try {
9254
9255
  const out = execFileSync2("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -10380,7 +10381,7 @@ function flushRestartedAgentDiagnostics(hostId, codeNames) {
10380
10381
  if (codeNames.length === 0) return;
10381
10382
  void (async () => {
10382
10383
  try {
10383
- const { collectDiagnostics } = await import("../persistent-session-VB5LXYCJ.js");
10384
+ const { collectDiagnostics } = await import("../persistent-session-34CDP2I3.js");
10384
10385
  await api.post("/host/heartbeat", {
10385
10386
  host_id: hostId,
10386
10387
  agent_diagnostics: collectDiagnostics(codeNames, quarantineEntriesFor)
@@ -10479,7 +10480,7 @@ async function pollCycle() {
10479
10480
  }
10480
10481
  try {
10481
10482
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
10482
- const { collectDiagnostics } = await import("../persistent-session-VB5LXYCJ.js");
10483
+ const { collectDiagnostics } = await import("../persistent-session-34CDP2I3.js");
10483
10484
  const diagCodeNames = [...agentState.persistentSessionAgents];
10484
10485
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames, quarantineEntriesFor) : void 0;
10485
10486
  let tailscaleHostname;
@@ -10634,7 +10635,7 @@ async function pollCycle() {
10634
10635
  const {
10635
10636
  collectResponsivenessProbes,
10636
10637
  getResponsivenessIntervalMs
10637
- } = await import("../responsiveness-probe-RFPBJWSC.js");
10638
+ } = await import("../responsiveness-probe-T7WBF4FX.js");
10638
10639
  const probeIntervalMs = getResponsivenessIntervalMs();
10639
10640
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
10640
10641
  const probeCodeNames = [...agentState.persistentSessionAgents];
@@ -10666,7 +10667,7 @@ async function pollCycle() {
10666
10667
  collectResponsivenessProbes,
10667
10668
  livePendingInboundOldestAgeSeconds,
10668
10669
  parkPendingInbound
10669
- } = await import("../responsiveness-probe-RFPBJWSC.js");
10670
+ } = await import("../responsiveness-probe-T7WBF4FX.js");
10670
10671
  const { getProjectDir: wedgeProjectDir } = await import("../scheduler-engine-HYOOQV4A.js");
10671
10672
  const wedgeNow = /* @__PURE__ */ new Date();
10672
10673
  const liveAgents = agentState.persistentSessionAgents;
@@ -12370,7 +12371,10 @@ async function processAgent(agent, agentStates) {
12370
12371
  isolated: isolationMode(agent.code_name) === "docker"
12371
12372
  });
12372
12373
  }
12373
- const liveProxyVars = liveProxyExtraHeaderVars(mcpJsonForReap);
12374
+ const liveProxyVars = /* @__PURE__ */ new Set([
12375
+ ...liveProxyExtraHeaderVars(mcpJsonForReap),
12376
+ ...liveProxyTokenVars(mcpJsonForReap)
12377
+ ]);
12374
12378
  const respawnVars = envOnlyRespawnVars(changedVars, mcpJsonForReap, CHANNEL_SECRET_ENV_KEYS).filter((v) => !liveProxyVars.has(v));
12375
12379
  const envDiff = classifyEnvIntegrationsDiff(preWriteEnv, postWriteEnv);
12376
12380
  const rotatedOnlyVars = new Set(envDiff.rotated);
@@ -13923,7 +13927,7 @@ async function handleRestartDoorbell(agentId, requestedAt, restartReason) {
13923
13927
  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}`));
13924
13928
  void (async () => {
13925
13929
  try {
13926
- const { collectDiagnostics } = await import("../persistent-session-VB5LXYCJ.js");
13930
+ const { collectDiagnostics } = await import("../persistent-session-34CDP2I3.js");
13927
13931
  await api.post("/host/heartbeat", {
13928
13932
  host_id: hostId,
13929
13933
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor)
@@ -13973,7 +13977,7 @@ async function respawnAgentAfterMcpStop(codeName, reason) {
13973
13977
  }
13974
13978
  try {
13975
13979
  const hostId = await getHostId();
13976
- const { collectDiagnostics } = await import("../persistent-session-VB5LXYCJ.js");
13980
+ const { collectDiagnostics } = await import("../persistent-session-34CDP2I3.js");
13977
13981
  await api.post("/host/heartbeat", {
13978
13982
  host_id: hostId,
13979
13983
  agent_diagnostics: collectDiagnostics([codeName], quarantineEntriesFor)
@@ -14426,7 +14430,7 @@ async function processClaudePairSessions(agents) {
14426
14430
  killPairSession,
14427
14431
  pairTmuxSession,
14428
14432
  finalizeClaudePairOnboarding
14429
- } = await import("../claude-pair-runtime-UYH2UF4M.js");
14433
+ } = await import("../claude-pair-runtime-XUI3TOGS.js");
14430
14434
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
14431
14435
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
14432
14436
  const killed = await killPairSession(pairTmuxSession(pairId));