@openape/apes 1.13.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
|
@@ -4360,10 +4360,11 @@ var DEFAULT_ALLOW_PATTERNS = [
|
|
|
4360
4360
|
// wrapped invocation.
|
|
4361
4361
|
"openape-chat-bridge",
|
|
4362
4362
|
// Phase E: per-agent pm2 management. The Nest shells out
|
|
4363
|
-
// `apes run --as <agent> --
|
|
4364
|
-
//
|
|
4365
|
-
//
|
|
4366
|
-
|
|
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",
|
|
4367
4368
|
"pm2 delete openape-bridge-*",
|
|
4368
4369
|
"pm2 jlist"
|
|
4369
4370
|
];
|
|
@@ -6284,7 +6285,7 @@ var mcpCommand = defineCommand48({
|
|
|
6284
6285
|
if (transport !== "stdio" && transport !== "sse") {
|
|
6285
6286
|
throw new Error('Transport must be "stdio" or "sse"');
|
|
6286
6287
|
}
|
|
6287
|
-
const { startMcpServer } = await import("./server-
|
|
6288
|
+
const { startMcpServer } = await import("./server-5LHDHGDG.js");
|
|
6288
6289
|
await startMcpServer(transport, port);
|
|
6289
6290
|
}
|
|
6290
6291
|
});
|
|
@@ -6922,7 +6923,7 @@ async function bestEffortGrantCount(idp) {
|
|
|
6922
6923
|
}
|
|
6923
6924
|
}
|
|
6924
6925
|
async function runHealth(args) {
|
|
6925
|
-
const version = true ? "1.13.
|
|
6926
|
+
const version = true ? "1.13.1" : "0.0.0";
|
|
6926
6927
|
const auth = loadAuth();
|
|
6927
6928
|
if (!auth) {
|
|
6928
6929
|
throw new CliError("Not logged in. Run `apes login` first.", 1);
|
|
@@ -7195,10 +7196,10 @@ if (shellRewrite) {
|
|
|
7195
7196
|
if (shellRewrite.action === "rewrite") {
|
|
7196
7197
|
process.argv = shellRewrite.argv;
|
|
7197
7198
|
} else if (shellRewrite.action === "version") {
|
|
7198
|
-
console.log(`ape-shell ${"1.13.
|
|
7199
|
+
console.log(`ape-shell ${"1.13.1"} (OpenApe DDISA shell wrapper)`);
|
|
7199
7200
|
process.exit(0);
|
|
7200
7201
|
} else if (shellRewrite.action === "help") {
|
|
7201
|
-
console.log(`ape-shell ${"1.13.
|
|
7202
|
+
console.log(`ape-shell ${"1.13.1"} \u2014 OpenApe DDISA shell wrapper`);
|
|
7202
7203
|
console.log("");
|
|
7203
7204
|
console.log("Usage:");
|
|
7204
7205
|
console.log(" ape-shell Start interactive grant-mediated REPL");
|
|
@@ -7256,7 +7257,7 @@ var configCommand = defineCommand60({
|
|
|
7256
7257
|
var main = defineCommand60({
|
|
7257
7258
|
meta: {
|
|
7258
7259
|
name: "apes",
|
|
7259
|
-
version: "1.13.
|
|
7260
|
+
version: "1.13.1",
|
|
7260
7261
|
description: "Unified CLI for OpenApe"
|
|
7261
7262
|
},
|
|
7262
7263
|
subCommands: {
|
|
@@ -7313,7 +7314,7 @@ async function maybeRefreshAuth() {
|
|
|
7313
7314
|
}
|
|
7314
7315
|
}
|
|
7315
7316
|
await maybeRefreshAuth();
|
|
7316
|
-
await maybeWarnStaleVersion("1.13.
|
|
7317
|
+
await maybeWarnStaleVersion("1.13.1").catch(() => {
|
|
7317
7318
|
});
|
|
7318
7319
|
runMain(main).catch((err) => {
|
|
7319
7320
|
if (err instanceof CliExit) {
|