@openape/apes 0.21.0 → 0.21.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
|
@@ -2091,6 +2091,11 @@ var destroyAgentCommand = defineCommand20({
|
|
|
2091
2091
|
}
|
|
2092
2092
|
consola18.warn(`About to destroy "${name}":
|
|
2093
2093
|
${consequences.join("\n")}`);
|
|
2094
|
+
if (!process.stdin.isTTY) {
|
|
2095
|
+
throw new CliError(
|
|
2096
|
+
"No TTY available for the interactive confirmation. Re-run with --force to skip the prompt (this is the same flag CI uses)."
|
|
2097
|
+
);
|
|
2098
|
+
}
|
|
2094
2099
|
const confirmed = await consola18.prompt("Proceed?", { type: "confirm", initial: false });
|
|
2095
2100
|
if (typeof confirmed === "symbol" || !confirmed) {
|
|
2096
2101
|
throw new CliExit(0);
|
|
@@ -3756,7 +3761,7 @@ var mcpCommand = defineCommand32({
|
|
|
3756
3761
|
if (transport !== "stdio" && transport !== "sse") {
|
|
3757
3762
|
throw new Error('Transport must be "stdio" or "sse"');
|
|
3758
3763
|
}
|
|
3759
|
-
const { startMcpServer } = await import("./server-
|
|
3764
|
+
const { startMcpServer } = await import("./server-3KAKSSMI.js");
|
|
3760
3765
|
await startMcpServer(transport, port);
|
|
3761
3766
|
}
|
|
3762
3767
|
});
|
|
@@ -4394,7 +4399,7 @@ async function bestEffortGrantCount(idp) {
|
|
|
4394
4399
|
}
|
|
4395
4400
|
}
|
|
4396
4401
|
async function runHealth(args) {
|
|
4397
|
-
const version = true ? "0.21.
|
|
4402
|
+
const version = true ? "0.21.1" : "0.0.0";
|
|
4398
4403
|
const auth = loadAuth();
|
|
4399
4404
|
if (!auth) {
|
|
4400
4405
|
throw new CliError("Not logged in. Run `apes login` first.", 1);
|
|
@@ -4596,10 +4601,10 @@ if (shellRewrite) {
|
|
|
4596
4601
|
if (shellRewrite.action === "rewrite") {
|
|
4597
4602
|
process.argv = shellRewrite.argv;
|
|
4598
4603
|
} else if (shellRewrite.action === "version") {
|
|
4599
|
-
console.log(`ape-shell ${"0.21.
|
|
4604
|
+
console.log(`ape-shell ${"0.21.1"} (OpenApe DDISA shell wrapper)`);
|
|
4600
4605
|
process.exit(0);
|
|
4601
4606
|
} else if (shellRewrite.action === "help") {
|
|
4602
|
-
console.log(`ape-shell ${"0.21.
|
|
4607
|
+
console.log(`ape-shell ${"0.21.1"} \u2014 OpenApe DDISA shell wrapper`);
|
|
4603
4608
|
console.log("");
|
|
4604
4609
|
console.log("Usage:");
|
|
4605
4610
|
console.log(" ape-shell Start interactive grant-mediated REPL");
|
|
@@ -4657,7 +4662,7 @@ var configCommand = defineCommand44({
|
|
|
4657
4662
|
var main = defineCommand44({
|
|
4658
4663
|
meta: {
|
|
4659
4664
|
name: "apes",
|
|
4660
|
-
version: "0.21.
|
|
4665
|
+
version: "0.21.1",
|
|
4661
4666
|
description: "Unified CLI for OpenApe"
|
|
4662
4667
|
},
|
|
4663
4668
|
subCommands: {
|