aai-gateway 0.1.1 → 0.1.2

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/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { b as createDesktopDiscovery, d as createGatewayServer, l as logger } from "./server-C0o2ZMzD.js";
2
+ import { b as createDesktopDiscovery, d as createGatewayServer, l as logger } from "./server-Co-wKJpj.js";
3
3
  const VERSION = "0.1.0";
4
4
  function parseArgs(args) {
5
5
  return {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { A, a, C, T, c, b, d, e, f, g, h, i, l, p, s } from "./server-C0o2ZMzD.js";
1
+ import { A, a, C, T, c, b, d, e, f, g, h, i, l, p, s } from "./server-Co-wKJpj.js";
2
2
  export {
3
3
  A as AaiError,
4
4
  a as AaiGatewayServer,
@@ -7934,8 +7934,8 @@ class MacOSDiscovery {
7934
7934
  searchPaths.push(...XCODE_DEV_PATHS);
7935
7935
  logger.info("Development mode enabled - scanning Xcode build directories");
7936
7936
  }
7937
- const pathArgs = searchPaths.map((p) => `-path "${p}"`).join(" -o ");
7938
- const findCmd = `find ${pathArgs} -maxdepth 4 -path "*/Contents/Resources/aai.json" 2>/dev/null`;
7937
+ const pathsArg = searchPaths.join(" ");
7938
+ const findCmd = `setopt nullglob 2>/dev/null; find ${pathsArg} -maxdepth 4 -path "*/Contents/Resources/aai.json" 2>/dev/null`;
7939
7939
  let stdout;
7940
7940
  try {
7941
7941
  const result = await execAsync(findCmd, { shell: "/bin/zsh" });
@@ -8702,4 +8702,4 @@ export {
8702
8702
  parseAaiJson as p,
8703
8703
  startOAuthFlow as s
8704
8704
  };
8705
- //# sourceMappingURL=server-C0o2ZMzD.js.map
8705
+ //# sourceMappingURL=server-Co-wKJpj.js.map