@integrity-labs/agt-cli 0.28.714 → 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.
package/dist/bin/agt.js CHANGED
@@ -40,10 +40,10 @@ import {
40
40
  success,
41
41
  table,
42
42
  warn
43
- } from "../chunk-FBYIO3Z6.js";
43
+ } from "../chunk-VZPXV57A.js";
44
44
  import {
45
45
  readDirectChatSessionState
46
- } from "../chunk-F6AZ6KPI.js";
46
+ } from "../chunk-RPWLPRGP.js";
47
47
  import {
48
48
  AnchorSessionClient,
49
49
  CHANNEL_REGISTRY,
@@ -73,7 +73,7 @@ import {
73
73
  requiredMcpWildcard,
74
74
  resolveChannels,
75
75
  serializeManifestForSlackCli
76
- } from "../chunk-FM63TWR3.js";
76
+ } from "../chunk-LHYYO4NY.js";
77
77
  import "../chunk-XWVM4KPK.js";
78
78
 
79
79
  // src/bin/agt.ts
@@ -4909,7 +4909,7 @@ import { execFileSync, execSync } from "child_process";
4909
4909
  import { existsSync as existsSync10, realpathSync as realpathSync2 } from "fs";
4910
4910
  import chalk18 from "chalk";
4911
4911
  import ora16 from "ora";
4912
- var cliVersion = true ? "0.28.714" : "dev";
4912
+ var cliVersion = true ? "0.28.715" : "dev";
4913
4913
  async function fetchLatestVersion() {
4914
4914
  const host2 = getHost();
4915
4915
  if (!host2) return null;
@@ -6096,7 +6096,7 @@ function handleError(err) {
6096
6096
  }
6097
6097
 
6098
6098
  // src/bin/agt.ts
6099
- var cliVersion2 = true ? "0.28.714" : "dev";
6099
+ var cliVersion2 = true ? "0.28.715" : "dev";
6100
6100
  var program = new Command();
6101
6101
  program.name("agt").description("Augmented CLI \u2014 agent provisioning and management").version(cliVersion2).option("--json", "Emit machine-readable JSON output (suppress spinners and colors)").option("--skip-update-check", "Skip the automatic update check on startup");
6102
6102
  program.hook("preAction", async (thisCommand, actionCommand) => {
@@ -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.714" : "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-FBYIO3Z6.js.map
10184
+ //# sourceMappingURL=chunk-VZPXV57A.js.map