@openape/apes 1.12.0 → 1.13.0

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
@@ -4358,7 +4358,14 @@ var DEFAULT_ALLOW_PATTERNS = [
4358
4358
  // is the wrapper that gets unwrapped before grant creation. So the
4359
4359
  // YOLO target string is just `openape-chat-bridge`, not the full
4360
4360
  // wrapped invocation.
4361
- "openape-chat-bridge"
4361
+ "openape-chat-bridge",
4362
+ // Phase E: per-agent pm2 management. The Nest shells out
4363
+ // `apes run --as <agent> -- pm2 startOrReload /var/openape/nest/agents/<agent>/ecosystem.config.js`
4364
+ // and `apes run --as <agent> -- pm2 delete openape-bridge-<agent>`.
4365
+ // Inner-command (post-unwrap) targets:
4366
+ "pm2 startOrReload *",
4367
+ "pm2 delete openape-bridge-*",
4368
+ "pm2 jlist"
4362
4369
  ];
4363
4370
  var authorizeNestCommand = defineCommand30({
4364
4371
  meta: {
@@ -6277,7 +6284,7 @@ var mcpCommand = defineCommand48({
6277
6284
  if (transport !== "stdio" && transport !== "sse") {
6278
6285
  throw new Error('Transport must be "stdio" or "sse"');
6279
6286
  }
6280
- const { startMcpServer } = await import("./server-TGGXHP4H.js");
6287
+ const { startMcpServer } = await import("./server-HYDAVEQI.js");
6281
6288
  await startMcpServer(transport, port);
6282
6289
  }
6283
6290
  });
@@ -6915,7 +6922,7 @@ async function bestEffortGrantCount(idp) {
6915
6922
  }
6916
6923
  }
6917
6924
  async function runHealth(args) {
6918
- const version = true ? "1.12.0" : "0.0.0";
6925
+ const version = true ? "1.13.0" : "0.0.0";
6919
6926
  const auth = loadAuth();
6920
6927
  if (!auth) {
6921
6928
  throw new CliError("Not logged in. Run `apes login` first.", 1);
@@ -7188,10 +7195,10 @@ if (shellRewrite) {
7188
7195
  if (shellRewrite.action === "rewrite") {
7189
7196
  process.argv = shellRewrite.argv;
7190
7197
  } else if (shellRewrite.action === "version") {
7191
- console.log(`ape-shell ${"1.12.0"} (OpenApe DDISA shell wrapper)`);
7198
+ console.log(`ape-shell ${"1.13.0"} (OpenApe DDISA shell wrapper)`);
7192
7199
  process.exit(0);
7193
7200
  } else if (shellRewrite.action === "help") {
7194
- console.log(`ape-shell ${"1.12.0"} \u2014 OpenApe DDISA shell wrapper`);
7201
+ console.log(`ape-shell ${"1.13.0"} \u2014 OpenApe DDISA shell wrapper`);
7195
7202
  console.log("");
7196
7203
  console.log("Usage:");
7197
7204
  console.log(" ape-shell Start interactive grant-mediated REPL");
@@ -7249,7 +7256,7 @@ var configCommand = defineCommand60({
7249
7256
  var main = defineCommand60({
7250
7257
  meta: {
7251
7258
  name: "apes",
7252
- version: "1.12.0",
7259
+ version: "1.13.0",
7253
7260
  description: "Unified CLI for OpenApe"
7254
7261
  },
7255
7262
  subCommands: {
@@ -7306,7 +7313,7 @@ async function maybeRefreshAuth() {
7306
7313
  }
7307
7314
  }
7308
7315
  await maybeRefreshAuth();
7309
- await maybeWarnStaleVersion("1.12.0").catch(() => {
7316
+ await maybeWarnStaleVersion("1.13.0").catch(() => {
7310
7317
  });
7311
7318
  runMain(main).catch((err) => {
7312
7319
  if (err instanceof CliExit) {