@openape/nest 1.1.0 → 1.1.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/index.mjs +3 -2
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -239,7 +239,7 @@ import { join as join3 } from "path";
|
|
|
239
239
|
import process from "process";
|
|
240
240
|
import { promisify as promisify2 } from "util";
|
|
241
241
|
var execFileAsync2 = promisify2(execFile2);
|
|
242
|
-
var AGENTS_DIR = "/var/openape/
|
|
242
|
+
var AGENTS_DIR = "/var/openape/agents";
|
|
243
243
|
function pm2AppName(agentName) {
|
|
244
244
|
return `openape-bridge-${agentName}`;
|
|
245
245
|
}
|
|
@@ -300,8 +300,9 @@ var Pm2Supervisor = class {
|
|
|
300
300
|
async stopAll() {
|
|
301
301
|
}
|
|
302
302
|
async startOrReload(agentName) {
|
|
303
|
+
mkdirSync3(AGENTS_DIR, { recursive: true, mode: 493 });
|
|
303
304
|
const dir = join3(AGENTS_DIR, agentName);
|
|
304
|
-
mkdirSync3(dir, { recursive: true });
|
|
305
|
+
mkdirSync3(dir, { recursive: true, mode: 493 });
|
|
305
306
|
const path = ecosystemPath(agentName);
|
|
306
307
|
writeFileSync3(path, ecosystemContents(this.deps.apesBin, agentName), { mode: 420 });
|
|
307
308
|
await this.runAsAgent(agentName, ["pm2", "startOrReload", path]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openape/nest",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "OpenApe Nest — local control-plane daemon that supervises agent processes on this computer. Talks to troop SP for ownership state, spawns/destroys agents via DDISA always-grants, supervises chat-bridge children (replacing per-agent launchd plists).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"ofetch": "^1.4.1",
|
|
20
|
-
"@openape/
|
|
21
|
-
"@openape/
|
|
20
|
+
"@openape/core": "0.16.0",
|
|
21
|
+
"@openape/cli-auth": "0.4.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@antfu/eslint-config": "^7.6.1",
|