@integrity-labs/agt-cli 0.27.129 → 0.27.131

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.
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  claudeModelAlias,
3
3
  isClaudeFastMode
4
- } from "./chunk-MH7HA6QV.js";
4
+ } from "./chunk-74UWAA3V.js";
5
5
  import {
6
6
  reapOrphanChannelMcps
7
7
  } from "./chunk-XWVM4KPK.js";
@@ -1596,4 +1596,4 @@ export {
1596
1596
  stopAllSessionsAndWait,
1597
1597
  getProjectDir
1598
1598
  };
1599
- //# sourceMappingURL=chunk-QON5CU3L.js.map
1599
+ //# sourceMappingURL=chunk-EDMSFZYT.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-PJQZYG2L.js");
103
+ const { resolveClaudeBinary } = await import("./persistent-session-ZNU3MFKD.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-QNOWFDJ7.js.map
376
+ //# sourceMappingURL=claude-pair-runtime-HTITCZFS.js.map
@@ -17,7 +17,7 @@ import {
17
17
  provisionStopHook,
18
18
  requireHost,
19
19
  safeWriteJsonAtomic
20
- } from "../chunk-A64MR5QP.js";
20
+ } from "../chunk-AFDMWEXL.js";
21
21
  import {
22
22
  getProjectDir as getProjectDir2,
23
23
  getReadyTasks,
@@ -56,7 +56,7 @@ import {
56
56
  stopPersistentSession,
57
57
  takeWatchdogGiveUpCount,
58
58
  takeZombieDetection
59
- } from "../chunk-QON5CU3L.js";
59
+ } from "../chunk-EDMSFZYT.js";
60
60
  import {
61
61
  KANBAN_CHECK_COMMAND,
62
62
  SUPPRESS_SENTINEL,
@@ -83,7 +83,7 @@ import {
83
83
  resolveDmTarget,
84
84
  worseConnectivityOutcome,
85
85
  wrapScheduledTaskPrompt
86
- } from "../chunk-MH7HA6QV.js";
86
+ } from "../chunk-74UWAA3V.js";
87
87
  import {
88
88
  parsePsRows,
89
89
  reapOrphanChannelMcps
@@ -4397,9 +4397,17 @@ function readMcpHttpServerConfig(projectDir, serverKey) {
4397
4397
  }
4398
4398
  async function runAgentConnectivityProbes(agent, integrations, projectDir) {
4399
4399
  if (integrations.length === 0) return;
4400
+ const probeEnv = { ...process.env };
4401
+ try {
4402
+ const envIntPath = join8(projectDir, ".env.integrations");
4403
+ if (existsSync5(envIntPath)) {
4404
+ Object.assign(probeEnv, parseEnvIntegrations(readFileSync9(envIntPath, "utf-8")));
4405
+ }
4406
+ } catch {
4407
+ }
4400
4408
  const probeDeps = {
4401
4409
  fetchImpl: fetch,
4402
- runCli: (binary, args) => runCliProbe(binary, args),
4410
+ runCli: (binary, args) => runCliProbe(binary, args, { env: probeEnv }),
4403
4411
  mcpProbe: async (target) => {
4404
4412
  const cfg = readMcpHttpServerConfig(projectDir, target.serverKey);
4405
4413
  if (!cfg) {
@@ -4653,7 +4661,7 @@ var cachedMaintenanceWindow = null;
4653
4661
  var lastVersionCheckAt = 0;
4654
4662
  var VERSION_CHECK_INTERVAL_MS = 5 * 60 * 1e3;
4655
4663
  var lastResponsivenessProbeAt = 0;
4656
- var agtCliVersion = true ? "0.27.129" : "dev";
4664
+ var agtCliVersion = true ? "0.27.131" : "dev";
4657
4665
  function resolveBrewPath(execFileSync4) {
4658
4666
  try {
4659
4667
  const out = execFileSync4("which", ["brew"], { timeout: 5e3 }).toString().trim();
@@ -5850,7 +5858,7 @@ async function pollCycle() {
5850
5858
  }
5851
5859
  try {
5852
5860
  const { detectHostSecurity } = await import("../host-security-6PDFG7F5.js");
5853
- const { collectDiagnostics } = await import("../persistent-session-PJQZYG2L.js");
5861
+ const { collectDiagnostics } = await import("../persistent-session-ZNU3MFKD.js");
5854
5862
  const diagCodeNames = [...agentState.persistentSessionAgents];
5855
5863
  const agentDiagnostics = diagCodeNames.length > 0 ? collectDiagnostics(diagCodeNames) : void 0;
5856
5864
  let tailscaleHostname;
@@ -5937,12 +5945,12 @@ async function pollCycle() {
5937
5945
  const {
5938
5946
  collectResponsivenessProbes,
5939
5947
  getResponsivenessIntervalMs
5940
- } = await import("../responsiveness-probe-MGMZQSP7.js");
5948
+ } = await import("../responsiveness-probe-LV7FQ53G.js");
5941
5949
  const probeIntervalMs = getResponsivenessIntervalMs();
5942
5950
  if (now - lastResponsivenessProbeAt > probeIntervalMs) {
5943
5951
  const probeCodeNames = [...agentState.persistentSessionAgents];
5944
5952
  if (probeCodeNames.length > 0) {
5945
- const { takeAcpxExecFailureCount, creditAcpxExecFailureCount } = await import("../persistent-session-PJQZYG2L.js");
5953
+ const { takeAcpxExecFailureCount, creditAcpxExecFailureCount } = await import("../persistent-session-ZNU3MFKD.js");
5946
5954
  const drainedGiveUps = /* @__PURE__ */ new Map();
5947
5955
  const drainedAcpxFailures = /* @__PURE__ */ new Map();
5948
5956
  const probes = collectResponsivenessProbes(probeCodeNames).map((p) => {
@@ -5976,7 +5984,7 @@ async function pollCycle() {
5976
5984
  collectResponsivenessProbes,
5977
5985
  livePendingInboundOldestAgeSeconds,
5978
5986
  deadLetterPendingInbound
5979
- } = await import("../responsiveness-probe-MGMZQSP7.js");
5987
+ } = await import("../responsiveness-probe-LV7FQ53G.js");
5980
5988
  const wedgeNow = /* @__PURE__ */ new Date();
5981
5989
  const liveAgents = agentState.persistentSessionAgents;
5982
5990
  for (const tracked of consecutiveWedgeCycles.keys()) {
@@ -10482,7 +10490,7 @@ async function processClaudePairSessions(agents) {
10482
10490
  killPairSession,
10483
10491
  pairTmuxSession,
10484
10492
  finalizeClaudePairOnboarding
10485
- } = await import("../claude-pair-runtime-QNOWFDJ7.js");
10493
+ } = await import("../claude-pair-runtime-HTITCZFS.js");
10486
10494
  for (const pairId of pendingResp.cancelled_pair_ids ?? []) {
10487
10495
  log(`[claude-pair] sweeping orphan tmux session for pair ${pairId.slice(0, 8)}`);
10488
10496
  const killed = await killPairSession(pairTmuxSession(pairId));