@openape/apes 0.25.0 → 0.25.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
@@ -2578,9 +2578,10 @@ export NPM_CONFIG_PREFIX="$HOME/.npm-global"
2578
2578
  export PATH="$NPM_CONFIG_PREFIX/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin"
2579
2579
  mkdir -p "$NPM_CONFIG_PREFIX"
2580
2580
 
2581
- if ! command -v openape-chat-bridge >/dev/null 2>&1; then
2582
- npm install -g --silent @openape/chat-bridge
2583
- fi
2581
+ # Always pull @latest on boot. npm is cached so this is a no-op when the
2582
+ # global is already current; when a new version ships, the daemon auto-
2583
+ # upgrades on the next launchctl restart instead of needing manual touch.
2584
+ npm install -g --silent @openape/chat-bridge@latest
2584
2585
 
2585
2586
  if ! command -v pi >/dev/null 2>&1; then
2586
2587
  npm install -g --silent @mariozechner/pi-coding-agent
@@ -4138,7 +4139,7 @@ var mcpCommand = defineCommand32({
4138
4139
  if (transport !== "stdio" && transport !== "sse") {
4139
4140
  throw new Error('Transport must be "stdio" or "sse"');
4140
4141
  }
4141
- const { startMcpServer } = await import("./server-3HW3TBY5.js");
4142
+ const { startMcpServer } = await import("./server-GQDX7PHW.js");
4142
4143
  await startMcpServer(transport, port);
4143
4144
  }
4144
4145
  });
@@ -4776,7 +4777,7 @@ async function bestEffortGrantCount(idp) {
4776
4777
  }
4777
4778
  }
4778
4779
  async function runHealth(args) {
4779
- const version = true ? "0.25.0" : "0.0.0";
4780
+ const version = true ? "0.25.1" : "0.0.0";
4780
4781
  const auth = loadAuth();
4781
4782
  if (!auth) {
4782
4783
  throw new CliError("Not logged in. Run `apes login` first.", 1);
@@ -5049,10 +5050,10 @@ if (shellRewrite) {
5049
5050
  if (shellRewrite.action === "rewrite") {
5050
5051
  process.argv = shellRewrite.argv;
5051
5052
  } else if (shellRewrite.action === "version") {
5052
- console.log(`ape-shell ${"0.25.0"} (OpenApe DDISA shell wrapper)`);
5053
+ console.log(`ape-shell ${"0.25.1"} (OpenApe DDISA shell wrapper)`);
5053
5054
  process.exit(0);
5054
5055
  } else if (shellRewrite.action === "help") {
5055
- console.log(`ape-shell ${"0.25.0"} \u2014 OpenApe DDISA shell wrapper`);
5056
+ console.log(`ape-shell ${"0.25.1"} \u2014 OpenApe DDISA shell wrapper`);
5056
5057
  console.log("");
5057
5058
  console.log("Usage:");
5058
5059
  console.log(" ape-shell Start interactive grant-mediated REPL");
@@ -5110,7 +5111,7 @@ var configCommand = defineCommand44({
5110
5111
  var main = defineCommand44({
5111
5112
  meta: {
5112
5113
  name: "apes",
5113
- version: "0.25.0",
5114
+ version: "0.25.1",
5114
5115
  description: "Unified CLI for OpenApe"
5115
5116
  },
5116
5117
  subCommands: {
@@ -5165,7 +5166,7 @@ async function maybeRefreshAuth() {
5165
5166
  }
5166
5167
  }
5167
5168
  await maybeRefreshAuth();
5168
- await maybeWarnStaleVersion("0.25.0").catch(() => {
5169
+ await maybeWarnStaleVersion("0.25.1").catch(() => {
5169
5170
  });
5170
5171
  runMain(main).catch((err) => {
5171
5172
  if (err instanceof CliExit) {