open-agents-ai 0.71.2 → 0.71.3
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 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -11176,7 +11176,15 @@ async function loadNexus() {
|
|
|
11176
11176
|
try {
|
|
11177
11177
|
nexusMod = await import("open-agents-nexus");
|
|
11178
11178
|
} catch {
|
|
11179
|
-
|
|
11179
|
+
try {
|
|
11180
|
+
execSync20("npm install -g open-agents-nexus@latest 2>/dev/null || npm install open-agents-nexus@latest 2>/dev/null", {
|
|
11181
|
+
stdio: "pipe",
|
|
11182
|
+
timeout: 12e4
|
|
11183
|
+
});
|
|
11184
|
+
nexusMod = await import("open-agents-nexus");
|
|
11185
|
+
} catch {
|
|
11186
|
+
throw new Error("Failed to auto-install open-agents-nexus. Install manually: npm install -g open-agents-nexus");
|
|
11187
|
+
}
|
|
11180
11188
|
}
|
|
11181
11189
|
}
|
|
11182
11190
|
return nexusMod;
|
|
@@ -15133,6 +15141,7 @@ If you notice you're performing the SAME multi-step sequence for the 3rd time or
|
|
|
15133
15141
|
|
|
15134
15142
|
- nexus: Decentralized agent-to-agent communication via open-agents-nexus.
|
|
15135
15143
|
|
|
15144
|
+
open-agents-nexus is auto-installed on first use \u2014 just call connect and it handles the rest.
|
|
15136
15145
|
The core flow is simple \u2014 connect, join a room, send/receive messages:
|
|
15137
15146
|
nexus(action='connect', agent_name='MyAgent')
|
|
15138
15147
|
nexus(action='join_room', room_id='general')
|
package/package.json
CHANGED