open-agents-ai 0.103.29 → 0.103.31
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 +18 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -46673,11 +46673,24 @@ Respond concisely and safely. Remember: you are talking to the general public.`;
|
|
|
46673
46673
|
p2pGateway = null;
|
|
46674
46674
|
}
|
|
46675
46675
|
const nexusTool = new NexusTool(repoRoot);
|
|
46676
|
+
let exposeSpinnerMsg = "Connecting to nexus P2P network...";
|
|
46677
|
+
const exposeFrames = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"];
|
|
46678
|
+
let exposeFrame = 0;
|
|
46679
|
+
const exposeSpinner = setInterval(() => {
|
|
46680
|
+
process.stdout.write(`\r ${c2.cyan(exposeFrames[exposeFrame % exposeFrames.length])} ${c2.dim(exposeSpinnerMsg)}`);
|
|
46681
|
+
exposeFrame++;
|
|
46682
|
+
}, 80);
|
|
46676
46683
|
const newP2P = new ExposeP2PGateway({
|
|
46677
46684
|
kind,
|
|
46678
46685
|
targetUrl,
|
|
46679
46686
|
authKey,
|
|
46680
|
-
stateDir: join50(repoRoot, ".oa")
|
|
46687
|
+
stateDir: join50(repoRoot, ".oa"),
|
|
46688
|
+
onInfo: (msg) => {
|
|
46689
|
+
exposeSpinnerMsg = msg;
|
|
46690
|
+
},
|
|
46691
|
+
onError: (msg) => {
|
|
46692
|
+
exposeSpinnerMsg = msg;
|
|
46693
|
+
}
|
|
46681
46694
|
}, nexusTool);
|
|
46682
46695
|
newP2P.on("stats", (stats) => {
|
|
46683
46696
|
statusBar.setExposeStatus({
|
|
@@ -46689,12 +46702,16 @@ Respond concisely and safely. Remember: you are talking to the general public.`;
|
|
|
46689
46702
|
});
|
|
46690
46703
|
try {
|
|
46691
46704
|
const peerId = await newP2P.start();
|
|
46705
|
+
clearInterval(exposeSpinner);
|
|
46706
|
+
process.stdout.write(`\r\x1B[2K`);
|
|
46692
46707
|
p2pGateway = newP2P;
|
|
46693
46708
|
writeContent(() => {
|
|
46694
46709
|
process.stdout.write("\n" + newP2P.formatConnectionInfo() + "\n\n");
|
|
46695
46710
|
});
|
|
46696
46711
|
return peerId;
|
|
46697
46712
|
} catch (err) {
|
|
46713
|
+
clearInterval(exposeSpinner);
|
|
46714
|
+
process.stdout.write(`\r\x1B[2K`);
|
|
46698
46715
|
if (!transport) {
|
|
46699
46716
|
writeContent(() => {
|
|
46700
46717
|
renderWarning(`libp2p expose failed: ${err instanceof Error ? err.message : String(err)}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-agents-ai",
|
|
3
|
-
"version": "0.103.
|
|
3
|
+
"version": "0.103.31",
|
|
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",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
},
|
|
82
82
|
"optionalDependencies": {
|
|
83
83
|
"moondream": "^0.2.0",
|
|
84
|
-
"open-agents-nexus": "^1.5.
|
|
84
|
+
"open-agents-nexus": "^1.5.7",
|
|
85
85
|
"viem": "^2.47.4"
|
|
86
86
|
}
|
|
87
87
|
}
|