@openape/apes 1.22.2 → 1.23.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
|
@@ -4347,11 +4347,10 @@ var syncAgentCommand = defineCommand27({
|
|
|
4347
4347
|
ownerEmail: auth.owner_email
|
|
4348
4348
|
});
|
|
4349
4349
|
consola24.info(sync.first_sync ? "\u2713 first sync \u2014 agent registered" : "\u2713 presence updated");
|
|
4350
|
-
const { system_prompt: systemPrompt, tools,
|
|
4350
|
+
const { system_prompt: systemPrompt, tools, skills, tasks } = await client.listTasks();
|
|
4351
4351
|
consola24.info(`Pulled ${tasks.length} task${tasks.length === 1 ? "" : "s"}`);
|
|
4352
4352
|
consola24.info(`Tools enabled: ${tools.length === 0 ? "(none)" : tools.join(", ")}`);
|
|
4353
4353
|
consola24.info(`Skills: ${skills.length === 0 ? "(none)" : skills.map((s) => s.name).join(", ")}`);
|
|
4354
|
-
consola24.info(`SOUL.md: ${soul.length > 0 ? `${soul.length} chars` : "(empty)"}`);
|
|
4355
4354
|
let agentUid = null;
|
|
4356
4355
|
let agentGid = null;
|
|
4357
4356
|
if (process.geteuid?.() === 0) {
|
|
@@ -4390,10 +4389,6 @@ var syncAgentCommand = defineCommand27({
|
|
|
4390
4389
|
`, { mode: 384 });
|
|
4391
4390
|
chownToAgent(path2);
|
|
4392
4391
|
}
|
|
4393
|
-
const soulPath = join8(agentDir, "SOUL.md");
|
|
4394
|
-
writeFileSync5(soulPath, soul.endsWith("\n") ? soul : `${soul}
|
|
4395
|
-
`, { mode: 384 });
|
|
4396
|
-
chownToAgent(soulPath);
|
|
4397
4392
|
const skillsDir = join8(agentDir, "skills");
|
|
4398
4393
|
mkdirSync3(skillsDir, { recursive: true });
|
|
4399
4394
|
chownToAgent(skillsDir);
|
|
@@ -6471,7 +6466,7 @@ var mcpCommand = defineCommand48({
|
|
|
6471
6466
|
if (transport !== "stdio" && transport !== "sse") {
|
|
6472
6467
|
throw new Error('Transport must be "stdio" or "sse"');
|
|
6473
6468
|
}
|
|
6474
|
-
const { startMcpServer } = await import("./server-
|
|
6469
|
+
const { startMcpServer } = await import("./server-D3WUVVZ2.js");
|
|
6475
6470
|
await startMcpServer(transport, port);
|
|
6476
6471
|
}
|
|
6477
6472
|
});
|
|
@@ -7109,7 +7104,7 @@ async function bestEffortGrantCount(idp) {
|
|
|
7109
7104
|
}
|
|
7110
7105
|
}
|
|
7111
7106
|
async function runHealth(args) {
|
|
7112
|
-
const version = true ? "1.
|
|
7107
|
+
const version = true ? "1.23.0" : "0.0.0";
|
|
7113
7108
|
const auth = loadAuth();
|
|
7114
7109
|
if (!auth) {
|
|
7115
7110
|
throw new CliError("Not logged in. Run `apes login` first.", 1);
|
|
@@ -7382,10 +7377,10 @@ if (shellRewrite) {
|
|
|
7382
7377
|
if (shellRewrite.action === "rewrite") {
|
|
7383
7378
|
process.argv = shellRewrite.argv;
|
|
7384
7379
|
} else if (shellRewrite.action === "version") {
|
|
7385
|
-
console.log(`ape-shell ${"1.
|
|
7380
|
+
console.log(`ape-shell ${"1.23.0"} (OpenApe DDISA shell wrapper)`);
|
|
7386
7381
|
process.exit(0);
|
|
7387
7382
|
} else if (shellRewrite.action === "help") {
|
|
7388
|
-
console.log(`ape-shell ${"1.
|
|
7383
|
+
console.log(`ape-shell ${"1.23.0"} \u2014 OpenApe DDISA shell wrapper`);
|
|
7389
7384
|
console.log("");
|
|
7390
7385
|
console.log("Usage:");
|
|
7391
7386
|
console.log(" ape-shell Start interactive grant-mediated REPL");
|
|
@@ -7443,7 +7438,7 @@ var configCommand = defineCommand60({
|
|
|
7443
7438
|
var main = defineCommand60({
|
|
7444
7439
|
meta: {
|
|
7445
7440
|
name: "apes",
|
|
7446
|
-
version: "1.
|
|
7441
|
+
version: "1.23.0",
|
|
7447
7442
|
description: "Unified CLI for OpenApe"
|
|
7448
7443
|
},
|
|
7449
7444
|
subCommands: {
|
|
@@ -7500,7 +7495,7 @@ async function maybeRefreshAuth() {
|
|
|
7500
7495
|
}
|
|
7501
7496
|
}
|
|
7502
7497
|
await maybeRefreshAuth();
|
|
7503
|
-
await maybeWarnStaleVersion("1.
|
|
7498
|
+
await maybeWarnStaleVersion("1.23.0").catch(() => {
|
|
7504
7499
|
});
|
|
7505
7500
|
runMain(main).catch((err) => {
|
|
7506
7501
|
if (err instanceof CliExit) {
|