@openape/apes 1.17.0 → 1.18.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
@@ -4321,8 +4321,9 @@ var syncAgentCommand = defineCommand27({
4321
4321
  ownerEmail: auth.owner_email
4322
4322
  });
4323
4323
  consola24.info(sync.first_sync ? "\u2713 first sync \u2014 agent registered" : "\u2713 presence updated");
4324
- const { system_prompt: systemPrompt, tasks } = await client.listTasks();
4324
+ const { system_prompt: systemPrompt, tools, tasks } = await client.listTasks();
4325
4325
  consola24.info(`Pulled ${tasks.length} task${tasks.length === 1 ? "" : "s"}`);
4326
+ consola24.info(`Tools enabled: ${tools.length === 0 ? "(none)" : tools.join(", ")}`);
4326
4327
  let agentUid = null;
4327
4328
  let agentGid = null;
4328
4329
  if (process.geteuid?.() === 0) {
@@ -4348,7 +4349,7 @@ var syncAgentCommand = defineCommand27({
4348
4349
  const agentJsonPath = join8(agentDir, "agent.json");
4349
4350
  writeFileSync5(
4350
4351
  agentJsonPath,
4351
- `${JSON.stringify({ systemPrompt }, null, 2)}
4352
+ `${JSON.stringify({ systemPrompt, tools }, null, 2)}
4352
4353
  `,
4353
4354
  { mode: 384 }
4354
4355
  );
@@ -6411,7 +6412,7 @@ var mcpCommand = defineCommand48({
6411
6412
  if (transport !== "stdio" && transport !== "sse") {
6412
6413
  throw new Error('Transport must be "stdio" or "sse"');
6413
6414
  }
6414
- const { startMcpServer } = await import("./server-VPKUJDKY.js");
6415
+ const { startMcpServer } = await import("./server-BDZV6EI6.js");
6415
6416
  await startMcpServer(transport, port);
6416
6417
  }
6417
6418
  });
@@ -7049,7 +7050,7 @@ async function bestEffortGrantCount(idp) {
7049
7050
  }
7050
7051
  }
7051
7052
  async function runHealth(args) {
7052
- const version = true ? "1.17.0" : "0.0.0";
7053
+ const version = true ? "1.18.0" : "0.0.0";
7053
7054
  const auth = loadAuth();
7054
7055
  if (!auth) {
7055
7056
  throw new CliError("Not logged in. Run `apes login` first.", 1);
@@ -7322,10 +7323,10 @@ if (shellRewrite) {
7322
7323
  if (shellRewrite.action === "rewrite") {
7323
7324
  process.argv = shellRewrite.argv;
7324
7325
  } else if (shellRewrite.action === "version") {
7325
- console.log(`ape-shell ${"1.17.0"} (OpenApe DDISA shell wrapper)`);
7326
+ console.log(`ape-shell ${"1.18.0"} (OpenApe DDISA shell wrapper)`);
7326
7327
  process.exit(0);
7327
7328
  } else if (shellRewrite.action === "help") {
7328
- console.log(`ape-shell ${"1.17.0"} \u2014 OpenApe DDISA shell wrapper`);
7329
+ console.log(`ape-shell ${"1.18.0"} \u2014 OpenApe DDISA shell wrapper`);
7329
7330
  console.log("");
7330
7331
  console.log("Usage:");
7331
7332
  console.log(" ape-shell Start interactive grant-mediated REPL");
@@ -7383,7 +7384,7 @@ var configCommand = defineCommand60({
7383
7384
  var main = defineCommand60({
7384
7385
  meta: {
7385
7386
  name: "apes",
7386
- version: "1.17.0",
7387
+ version: "1.18.0",
7387
7388
  description: "Unified CLI for OpenApe"
7388
7389
  },
7389
7390
  subCommands: {
@@ -7440,7 +7441,7 @@ async function maybeRefreshAuth() {
7440
7441
  }
7441
7442
  }
7442
7443
  await maybeRefreshAuth();
7443
- await maybeWarnStaleVersion("1.17.0").catch(() => {
7444
+ await maybeWarnStaleVersion("1.18.0").catch(() => {
7444
7445
  });
7445
7446
  runMain(main).catch((err) => {
7446
7447
  if (err instanceof CliExit) {