@openape/apes 0.15.0 → 0.15.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
@@ -2012,9 +2012,9 @@ ${consequences.join("\n")}`);
2012
2012
  try {
2013
2013
  const script = buildDestroyTeardownScript({ name, homeDir: `/Users/${name}` });
2014
2014
  writeFileSync(scriptPath, script, { mode: 448 });
2015
- consola18.start("Running teardown as root via `apes run --as root`\u2026");
2016
- consola18.info("You will be asked to approve the as=root grant in your DDISA inbox.");
2017
- execFileSync3(apes, ["run", "--as", "root", "--", "bash", scriptPath], { stdio: "inherit" });
2015
+ consola18.start("Running teardown as root via `apes run --as root --wait`\u2026");
2016
+ consola18.info("You will be asked to approve the as=root grant in your DDISA inbox; this command blocks until you do.");
2017
+ execFileSync3(apes, ["run", "--as", "root", "--wait", "--", "bash", scriptPath], { stdio: "inherit" });
2018
2018
  } finally {
2019
2019
  rmSync(scratch, { recursive: true, force: true });
2020
2020
  }
@@ -2347,9 +2347,9 @@ and try again.`
2347
2347
  hookScriptSource: includeClaudeHook ? BASH_VIA_APE_SHELL_HOOK_SOURCE : null
2348
2348
  });
2349
2349
  writeFileSync3(scriptPath, script, { mode: 448 });
2350
- consola21.start("Running privileged setup as root via `apes run --as root`\u2026");
2351
- consola21.info("You will be asked to approve the as=root grant in your DDISA inbox.");
2352
- execFileSync4(apes, ["run", "--as", "root", "--", "bash", scriptPath], { stdio: "inherit" });
2350
+ consola21.start("Running privileged setup as root via `apes run --as root --wait`\u2026");
2351
+ consola21.info("You will be asked to approve the as=root grant in your DDISA inbox; this command blocks until you do.");
2352
+ execFileSync4(apes, ["run", "--as", "root", "--wait", "--", "bash", scriptPath], { stdio: "inherit" });
2353
2353
  consola21.success(`Agent ${name} spawned.`);
2354
2354
  console.log("");
2355
2355
  console.log("Run as the agent with:");
@@ -3626,7 +3626,7 @@ var mcpCommand = defineCommand32({
3626
3626
  if (transport !== "stdio" && transport !== "sse") {
3627
3627
  throw new Error('Transport must be "stdio" or "sse"');
3628
3628
  }
3629
- const { startMcpServer } = await import("./server-QQI4MKTY.js");
3629
+ const { startMcpServer } = await import("./server-VZ325IPS.js");
3630
3630
  await startMcpServer(transport, port);
3631
3631
  }
3632
3632
  });
@@ -4074,7 +4074,7 @@ async function bestEffortGrantCount(idp) {
4074
4074
  }
4075
4075
  }
4076
4076
  async function runHealth(args) {
4077
- const version = true ? "0.15.0" : "0.0.0";
4077
+ const version = true ? "0.15.1" : "0.0.0";
4078
4078
  const auth = loadAuth();
4079
4079
  if (!auth) {
4080
4080
  throw new CliError("Not logged in. Run `apes login` first.", 1);
@@ -4276,10 +4276,10 @@ if (shellRewrite) {
4276
4276
  if (shellRewrite.action === "rewrite") {
4277
4277
  process.argv = shellRewrite.argv;
4278
4278
  } else if (shellRewrite.action === "version") {
4279
- console.log(`ape-shell ${"0.15.0"} (OpenApe DDISA shell wrapper)`);
4279
+ console.log(`ape-shell ${"0.15.1"} (OpenApe DDISA shell wrapper)`);
4280
4280
  process.exit(0);
4281
4281
  } else if (shellRewrite.action === "help") {
4282
- console.log(`ape-shell ${"0.15.0"} \u2014 OpenApe DDISA shell wrapper`);
4282
+ console.log(`ape-shell ${"0.15.1"} \u2014 OpenApe DDISA shell wrapper`);
4283
4283
  console.log("");
4284
4284
  console.log("Usage:");
4285
4285
  console.log(" ape-shell Start interactive grant-mediated REPL");
@@ -4337,7 +4337,7 @@ var configCommand = defineCommand39({
4337
4337
  var main = defineCommand39({
4338
4338
  meta: {
4339
4339
  name: "apes",
4340
- version: "0.15.0",
4340
+ version: "0.15.1",
4341
4341
  description: "Unified CLI for OpenApe"
4342
4342
  },
4343
4343
  subCommands: {