@openape/apes 1.7.0 → 1.7.1

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
@@ -1832,6 +1832,12 @@ done
1832
1832
  return `#!/bin/bash
1833
1833
  set -euo pipefail
1834
1834
 
1835
+ # escapes-spawned scripts inherit a minimal PATH that doesn't include
1836
+ # /usr/sbin \u2014 which is where chown / dscl / pwpolicy live. Force a
1837
+ # wide PATH so the privileged setup commands resolve without absolute
1838
+ # paths everywhere.
1839
+ export PATH="/usr/sbin:/usr/bin:/bin:/sbin:/opt/homebrew/bin:/usr/local/bin"
1840
+
1835
1841
  NAME=${shQuote(name)}
1836
1842
  HOME_DIR=${shQuote(homeDir)}
1837
1843
  SHELL_PATH=${shQuote(shellPath)}
@@ -5821,7 +5827,7 @@ var mcpCommand = defineCommand46({
5821
5827
  if (transport !== "stdio" && transport !== "sse") {
5822
5828
  throw new Error('Transport must be "stdio" or "sse"');
5823
5829
  }
5824
- const { startMcpServer } = await import("./server-BSBIEKFK.js");
5830
+ const { startMcpServer } = await import("./server-JBBJXDDS.js");
5825
5831
  await startMcpServer(transport, port);
5826
5832
  }
5827
5833
  });
@@ -6459,7 +6465,7 @@ async function bestEffortGrantCount(idp) {
6459
6465
  }
6460
6466
  }
6461
6467
  async function runHealth(args) {
6462
- const version = true ? "1.7.0" : "0.0.0";
6468
+ const version = true ? "1.7.1" : "0.0.0";
6463
6469
  const auth = loadAuth();
6464
6470
  if (!auth) {
6465
6471
  throw new CliError("Not logged in. Run `apes login` first.", 1);
@@ -6732,10 +6738,10 @@ if (shellRewrite) {
6732
6738
  if (shellRewrite.action === "rewrite") {
6733
6739
  process.argv = shellRewrite.argv;
6734
6740
  } else if (shellRewrite.action === "version") {
6735
- console.log(`ape-shell ${"1.7.0"} (OpenApe DDISA shell wrapper)`);
6741
+ console.log(`ape-shell ${"1.7.1"} (OpenApe DDISA shell wrapper)`);
6736
6742
  process.exit(0);
6737
6743
  } else if (shellRewrite.action === "help") {
6738
- console.log(`ape-shell ${"1.7.0"} \u2014 OpenApe DDISA shell wrapper`);
6744
+ console.log(`ape-shell ${"1.7.1"} \u2014 OpenApe DDISA shell wrapper`);
6739
6745
  console.log("");
6740
6746
  console.log("Usage:");
6741
6747
  console.log(" ape-shell Start interactive grant-mediated REPL");
@@ -6793,7 +6799,7 @@ var configCommand = defineCommand58({
6793
6799
  var main = defineCommand58({
6794
6800
  meta: {
6795
6801
  name: "apes",
6796
- version: "1.7.0",
6802
+ version: "1.7.1",
6797
6803
  description: "Unified CLI for OpenApe"
6798
6804
  },
6799
6805
  subCommands: {
@@ -6850,7 +6856,7 @@ async function maybeRefreshAuth() {
6850
6856
  }
6851
6857
  }
6852
6858
  await maybeRefreshAuth();
6853
- await maybeWarnStaleVersion("1.7.0").catch(() => {
6859
+ await maybeWarnStaleVersion("1.7.1").catch(() => {
6854
6860
  });
6855
6861
  runMain(main).catch((err) => {
6856
6862
  if (err instanceof CliExit) {