@openape/apes 1.0.3 → 1.0.4

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
@@ -3276,15 +3276,17 @@ function escape(s) {
3276
3276
  return s.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
3277
3277
  }
3278
3278
  function buildSyncPlist(input) {
3279
+ const pathLine = ` <key>PATH</key><string>${escape(input.homeDir)}/.bun/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin</string>
3280
+ `;
3279
3281
  const envBlock = input.troopUrl ? ` <key>EnvironmentVariables</key>
3280
3282
  <dict>
3281
3283
  <key>HOME</key><string>${escape(input.homeDir)}</string>
3282
- <key>OPENAPE_TROOP_URL</key><string>${escape(input.troopUrl)}</string>
3284
+ ${pathLine} <key>OPENAPE_TROOP_URL</key><string>${escape(input.troopUrl)}</string>
3283
3285
  </dict>
3284
3286
  ` : ` <key>EnvironmentVariables</key>
3285
3287
  <dict>
3286
3288
  <key>HOME</key><string>${escape(input.homeDir)}</string>
3287
- </dict>
3289
+ ${pathLine} </dict>
3288
3290
  `;
3289
3291
  return `<?xml version="1.0" encoding="UTF-8"?>
3290
3292
  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
@@ -5261,7 +5263,7 @@ var mcpCommand = defineCommand36({
5261
5263
  if (transport !== "stdio" && transport !== "sse") {
5262
5264
  throw new Error('Transport must be "stdio" or "sse"');
5263
5265
  }
5264
- const { startMcpServer } = await import("./server-E5RX55NL.js");
5266
+ const { startMcpServer } = await import("./server-TUNRAZET.js");
5265
5267
  await startMcpServer(transport, port);
5266
5268
  }
5267
5269
  });
@@ -5899,7 +5901,7 @@ async function bestEffortGrantCount(idp) {
5899
5901
  }
5900
5902
  }
5901
5903
  async function runHealth(args) {
5902
- const version = true ? "1.0.3" : "0.0.0";
5904
+ const version = true ? "1.0.4" : "0.0.0";
5903
5905
  const auth = loadAuth();
5904
5906
  if (!auth) {
5905
5907
  throw new CliError("Not logged in. Run `apes login` first.", 1);
@@ -6172,10 +6174,10 @@ if (shellRewrite) {
6172
6174
  if (shellRewrite.action === "rewrite") {
6173
6175
  process.argv = shellRewrite.argv;
6174
6176
  } else if (shellRewrite.action === "version") {
6175
- console.log(`ape-shell ${"1.0.3"} (OpenApe DDISA shell wrapper)`);
6177
+ console.log(`ape-shell ${"1.0.4"} (OpenApe DDISA shell wrapper)`);
6176
6178
  process.exit(0);
6177
6179
  } else if (shellRewrite.action === "help") {
6178
- console.log(`ape-shell ${"1.0.3"} \u2014 OpenApe DDISA shell wrapper`);
6180
+ console.log(`ape-shell ${"1.0.4"} \u2014 OpenApe DDISA shell wrapper`);
6179
6181
  console.log("");
6180
6182
  console.log("Usage:");
6181
6183
  console.log(" ape-shell Start interactive grant-mediated REPL");
@@ -6233,7 +6235,7 @@ var configCommand = defineCommand48({
6233
6235
  var main = defineCommand48({
6234
6236
  meta: {
6235
6237
  name: "apes",
6236
- version: "1.0.3",
6238
+ version: "1.0.4",
6237
6239
  description: "Unified CLI for OpenApe"
6238
6240
  },
6239
6241
  subCommands: {
@@ -6288,7 +6290,7 @@ async function maybeRefreshAuth() {
6288
6290
  }
6289
6291
  }
6290
6292
  await maybeRefreshAuth();
6291
- await maybeWarnStaleVersion("1.0.3").catch(() => {
6293
+ await maybeWarnStaleVersion("1.0.4").catch(() => {
6292
6294
  });
6293
6295
  runMain(main).catch((err) => {
6294
6296
  if (err instanceof CliExit) {