open-agents-ai 0.186.37 → 0.186.39
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.js +10 -0
- package/package.json +3 -2
package/dist/index.js
CHANGED
|
@@ -51643,6 +51643,16 @@ Clone a new voice: /voice clone <wav-file> [name]`);
|
|
|
51643
51643
|
});
|
|
51644
51644
|
if (result) {
|
|
51645
51645
|
renderInfo("Sponsor wizard completed.");
|
|
51646
|
+
try {
|
|
51647
|
+
const nexusPidFile = join60(projectDir, ".oa", "nexus", "daemon.pid");
|
|
51648
|
+
if (existsSync44(nexusPidFile)) {
|
|
51649
|
+
const nPid = parseInt(readFileSync33(nexusPidFile, "utf8").trim(), 10);
|
|
51650
|
+
if (nPid > 0) {
|
|
51651
|
+
registry.register({ name: "Nexus", pid: nPid, startedAt: Date.now(), status: "running" });
|
|
51652
|
+
}
|
|
51653
|
+
}
|
|
51654
|
+
} catch {
|
|
51655
|
+
}
|
|
51646
51656
|
}
|
|
51647
51657
|
return "handled";
|
|
51648
51658
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-agents-ai",
|
|
3
|
-
"version": "0.186.
|
|
3
|
+
"version": "0.186.39",
|
|
4
4
|
"description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -70,7 +70,8 @@
|
|
|
70
70
|
"author": "robit-man",
|
|
71
71
|
"license": "CC-BY-NC-4.0",
|
|
72
72
|
"scripts": {
|
|
73
|
-
"preinstall": "node dist/preinstall.cjs"
|
|
73
|
+
"preinstall": "node dist/preinstall.cjs",
|
|
74
|
+
"postinstall": "node -e \"try{var p=require('path'),f=require('fs'),h=require('os').homedir();var dirs=[p.join(h,'.open-agents','.oa','nexus'),p.join(process.cwd(),'.oa','nexus')];dirs.forEach(function(d){var s=p.join(d,'nexus-daemon.mjs');try{if(f.existsSync(s)){f.unlinkSync(s);console.log(' Cleaned stale daemon: '+s)}}catch(e){}var pid=p.join(d,'daemon.pid');try{if(f.existsSync(pid)){var n=parseInt(f.readFileSync(pid,'utf8'),10);if(n>0)try{process.kill(n,'SIGTERM')}catch(e){}f.unlinkSync(pid);console.log(' Killed old daemon: PID '+n)}}catch(e){}})}catch(e){}\""
|
|
74
75
|
},
|
|
75
76
|
"engines": {
|
|
76
77
|
"node": ">=22.0.0"
|