open-agents-ai 0.184.23 → 0.184.24

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 +7 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -49981,18 +49981,19 @@ async function handleSponsoredEndpoint(ctx, local) {
49981
49981
  } catch {
49982
49982
  }
49983
49983
  if (nexusTool) {
49984
- process.stdout.write(` ${c2.dim("Connecting to nexus P2P mesh...")}
49985
- `);
49986
49984
  try {
49987
- const statusResult = await nexusTool.execute({ action: "status" });
49988
- const isConnected = typeof statusResult === "string" && statusResult.includes("connected");
49989
- if (!isConnected) {
49985
+ const statusResult = String(await nexusTool.execute({ action: "status" }) ?? "");
49986
+ const isConnected = /Connected:\s*true/i.test(statusResult) || statusResult.includes("Daemon running");
49987
+ if (isConnected) {
49988
+ process.stdout.write(` ${c2.dim("Using existing nexus connection...")}
49989
+ `);
49990
+ } else {
49990
49991
  process.stdout.write(` ${c2.dim("Starting nexus daemon...")}
49991
49992
  `);
49992
49993
  await nexusTool.execute({ action: "connect" });
49993
49994
  await new Promise((r) => setTimeout(r, 3e3));
49994
49995
  }
49995
- process.stdout.write(` ${c2.dim("Querying nexus sponsors room...")}
49996
+ process.stdout.write(` ${c2.dim("Querying sponsors on the mesh...")}
49996
49997
  `);
49997
49998
  const discoverResult = await nexusTool.execute({
49998
49999
  action: "sponsor_discover",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.184.23",
3
+ "version": "0.184.24",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) \u2014 interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",