@integrity-labs/agt-cli 0.28.713 → 0.28.715

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.
@@ -12837,4 +12837,4 @@ export {
12837
12837
  peekCurrentSession,
12838
12838
  readDailySessionPin
12839
12839
  };
12840
- //# sourceMappingURL=chunk-FM63TWR3.js.map
12840
+ //# sourceMappingURL=chunk-LHYYO4NY.js.map
@@ -17,7 +17,7 @@ import {
17
17
  rotateDailySession,
18
18
  sessionFileExists,
19
19
  todayLocalIso
20
- } from "./chunk-FM63TWR3.js";
20
+ } from "./chunk-LHYYO4NY.js";
21
21
  import {
22
22
  reapOrphanChannelMcps
23
23
  } from "./chunk-XWVM4KPK.js";
@@ -4590,4 +4590,4 @@ export {
4590
4590
  stopAllSessionsAndWait,
4591
4591
  getProjectDir
4592
4592
  };
4593
- //# sourceMappingURL=chunk-F6AZ6KPI.js.map
4593
+ //# sourceMappingURL=chunk-RPWLPRGP.js.map
@@ -12,7 +12,7 @@ import {
12
12
  parseEnvFileEntries,
13
13
  parseEnvIntegrations,
14
14
  shellQuote
15
- } from "./chunk-F6AZ6KPI.js";
15
+ } from "./chunk-RPWLPRGP.js";
16
16
  import {
17
17
  BIND_FAILURE_QUARANTINE_THRESHOLD,
18
18
  INTEGRATIONS_SECTION_END,
@@ -59,7 +59,7 @@ import {
59
59
  resolveConnectivityProbe,
60
60
  worseConnectivityOutcome,
61
61
  wrapScheduledTaskPrompt
62
- } from "./chunk-FM63TWR3.js";
62
+ } from "./chunk-LHYYO4NY.js";
63
63
  import {
64
64
  parsePsRows
65
65
  } from "./chunk-XWVM4KPK.js";
@@ -6425,7 +6425,7 @@ function exchangeFailureKind(err) {
6425
6425
  }
6426
6426
 
6427
6427
  // src/lib/api-client.ts
6428
- var agtCliVersion = true ? "0.28.713" : "dev";
6428
+ var agtCliVersion = true ? "0.28.715" : "dev";
6429
6429
  var lastConfigHash = null;
6430
6430
  function setConfigHash(hash) {
6431
6431
  lastConfigHash = hash && hash.length > 0 ? hash : null;
@@ -8930,6 +8930,14 @@ function deriveMcpServerKey(input) {
8930
8930
  if (isDefaultRemoteMcpConnection(input.connectionKey)) return base;
8931
8931
  return remoteMcpServerKey(input.definitionId, input.connectionKey);
8932
8932
  }
8933
+ var SYSTEM_PATH_FLOOR = [
8934
+ "/usr/local/sbin",
8935
+ "/usr/local/bin",
8936
+ "/usr/sbin",
8937
+ "/usr/bin",
8938
+ "/sbin",
8939
+ "/bin"
8940
+ ];
8933
8941
  function buildProbeEnv(projectDir, agentId) {
8934
8942
  const probeEnv = { ...process.env };
8935
8943
  try {
@@ -8945,7 +8953,14 @@ function buildProbeEnv(projectDir, agentId) {
8945
8953
  try {
8946
8954
  const agentBinDir = join6(projectDir, ".claude", "agt-bin");
8947
8955
  if (existsSync7(agentBinDir)) {
8948
- probeEnv.PATH = probeEnv.PATH ? `${agentBinDir}${pathDelimiter}${probeEnv.PATH}` : agentBinDir;
8956
+ const parts = probeEnv.PATH ? probeEnv.PATH.split(pathDelimiter) : [];
8957
+ parts.unshift(agentBinDir);
8958
+ if (process.platform !== "win32") {
8959
+ for (const dir of SYSTEM_PATH_FLOOR) {
8960
+ if (!parts.includes(dir)) parts.push(dir);
8961
+ }
8962
+ }
8963
+ probeEnv.PATH = [...new Set(parts.filter((p) => p.length > 0))].join(pathDelimiter);
8949
8964
  }
8950
8965
  } catch {
8951
8966
  }
@@ -10166,4 +10181,4 @@ export {
10166
10181
  managerInstallSystemUnitCommand,
10167
10182
  managerUninstallSystemUnitCommand
10168
10183
  };
10169
- //# sourceMappingURL=chunk-FHCGBMIJ.js.map
10184
+ //# sourceMappingURL=chunk-VZPXV57A.js.map