open-agents-ai 0.121.0 → 0.122.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.
Files changed (2) hide show
  1. package/dist/index.js +20 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -16332,6 +16332,26 @@ process.on('SIGINT', () => process.emit('SIGTERM'));
16332
16332
  await unlink(p).catch(() => {
16333
16333
  });
16334
16334
  }
16335
+ try {
16336
+ const { execSync: es } = __require("node:child_process");
16337
+ const psOut = es("ps aux 2>/dev/null", { encoding: "utf8", timeout: 5e3 }).trim();
16338
+ const nexusDirEscaped = this.nexusDir.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
16339
+ for (const line of psOut.split("\n")) {
16340
+ if (line.includes("nexus-daemon") && line.includes(this.nexusDir)) {
16341
+ const pidMatch = line.match(/^\S+\s+(\d+)/);
16342
+ if (pidMatch) {
16343
+ const orphanPid = parseInt(pidMatch[1], 10);
16344
+ if (orphanPid !== process.pid) {
16345
+ try {
16346
+ process.kill(orphanPid, "SIGTERM");
16347
+ } catch {
16348
+ }
16349
+ }
16350
+ }
16351
+ }
16352
+ }
16353
+ } catch {
16354
+ }
16335
16355
  const nodeModulesDir = resolve26(this.repoRoot, "node_modules");
16336
16356
  let nexusResolved = false;
16337
16357
  let installedVersion = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.121.0",
3
+ "version": "0.122.0",
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",