@openape/apes 1.12.0 → 1.13.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
|
@@ -4358,7 +4358,15 @@ 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> -- bash /var/openape/agents/<agent>/start.sh`
|
|
4364
|
+
// (the start.sh sets HOME/PM2_HOME and redirects pm2's stdio so the
|
|
4365
|
+
// god-daemon detach doesn't block our exec parent), plus
|
|
4366
|
+
// `apes run --as <agent> -- pm2 delete openape-bridge-<agent>` for teardown.
|
|
4367
|
+
"bash /var/openape/agents/*/start.sh",
|
|
4368
|
+
"pm2 delete openape-bridge-*",
|
|
4369
|
+
"pm2 jlist"
|
|
4362
4370
|
];
|
|
4363
4371
|
var authorizeNestCommand = defineCommand30({
|
|
4364
4372
|
meta: {
|
|
@@ -6277,7 +6285,7 @@ var mcpCommand = defineCommand48({
|
|
|
6277
6285
|
if (transport !== "stdio" && transport !== "sse") {
|
|
6278
6286
|
throw new Error('Transport must be "stdio" or "sse"');
|
|
6279
6287
|
}
|
|
6280
|
-
const { startMcpServer } = await import("./server-
|
|
6288
|
+
const { startMcpServer } = await import("./server-5LHDHGDG.js");
|
|
6281
6289
|
await startMcpServer(transport, port);
|
|
6282
6290
|
}
|
|
6283
6291
|
});
|
|
@@ -6915,7 +6923,7 @@ async function bestEffortGrantCount(idp) {
|
|
|
6915
6923
|
}
|
|
6916
6924
|
}
|
|
6917
6925
|
async function runHealth(args) {
|
|
6918
|
-
const version = true ? "1.
|
|
6926
|
+
const version = true ? "1.13.1" : "0.0.0";
|
|
6919
6927
|
const auth = loadAuth();
|
|
6920
6928
|
if (!auth) {
|
|
6921
6929
|
throw new CliError("Not logged in. Run `apes login` first.", 1);
|
|
@@ -7188,10 +7196,10 @@ if (shellRewrite) {
|
|
|
7188
7196
|
if (shellRewrite.action === "rewrite") {
|
|
7189
7197
|
process.argv = shellRewrite.argv;
|
|
7190
7198
|
} else if (shellRewrite.action === "version") {
|
|
7191
|
-
console.log(`ape-shell ${"1.
|
|
7199
|
+
console.log(`ape-shell ${"1.13.1"} (OpenApe DDISA shell wrapper)`);
|
|
7192
7200
|
process.exit(0);
|
|
7193
7201
|
} else if (shellRewrite.action === "help") {
|
|
7194
|
-
console.log(`ape-shell ${"1.
|
|
7202
|
+
console.log(`ape-shell ${"1.13.1"} \u2014 OpenApe DDISA shell wrapper`);
|
|
7195
7203
|
console.log("");
|
|
7196
7204
|
console.log("Usage:");
|
|
7197
7205
|
console.log(" ape-shell Start interactive grant-mediated REPL");
|
|
@@ -7249,7 +7257,7 @@ var configCommand = defineCommand60({
|
|
|
7249
7257
|
var main = defineCommand60({
|
|
7250
7258
|
meta: {
|
|
7251
7259
|
name: "apes",
|
|
7252
|
-
version: "1.
|
|
7260
|
+
version: "1.13.1",
|
|
7253
7261
|
description: "Unified CLI for OpenApe"
|
|
7254
7262
|
},
|
|
7255
7263
|
subCommands: {
|
|
@@ -7306,7 +7314,7 @@ async function maybeRefreshAuth() {
|
|
|
7306
7314
|
}
|
|
7307
7315
|
}
|
|
7308
7316
|
await maybeRefreshAuth();
|
|
7309
|
-
await maybeWarnStaleVersion("1.
|
|
7317
|
+
await maybeWarnStaleVersion("1.13.1").catch(() => {
|
|
7310
7318
|
});
|
|
7311
7319
|
runMain(main).catch((err) => {
|
|
7312
7320
|
if (err instanceof CliExit) {
|