open-agents-ai 0.103.32 → 0.103.34
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 +12 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -20549,7 +20549,7 @@ var init_nexusBackend = __esm({
|
|
|
20549
20549
|
try {
|
|
20550
20550
|
parsed = JSON.parse(rawResult);
|
|
20551
20551
|
} catch {
|
|
20552
|
-
throw new Error(
|
|
20552
|
+
throw new Error(rawResult.slice(0, 500));
|
|
20553
20553
|
}
|
|
20554
20554
|
if (parsed.success === false) {
|
|
20555
20555
|
throw new Error(`Remote inference failed: ${parsed.output || rawResult}`);
|
|
@@ -44970,7 +44970,17 @@ function startTask(task, config, repoRoot, voice, stream, taskStores, bruteForce
|
|
|
44970
44970
|
let backend;
|
|
44971
44971
|
if (config.backendType === "nexus") {
|
|
44972
44972
|
const nexusTool = new NexusTool(repoRoot);
|
|
44973
|
-
const
|
|
44973
|
+
const connectPromise = nexusTool.execute({ action: "connect" }).catch(() => {
|
|
44974
|
+
});
|
|
44975
|
+
const baseSendFn = nexusTool.sendCommand.bind(nexusTool);
|
|
44976
|
+
let connected = false;
|
|
44977
|
+
const sendFn = async (cmd, args, timeout) => {
|
|
44978
|
+
if (!connected) {
|
|
44979
|
+
await connectPromise;
|
|
44980
|
+
connected = true;
|
|
44981
|
+
}
|
|
44982
|
+
return baseSendFn(cmd, args, timeout);
|
|
44983
|
+
};
|
|
44974
44984
|
const targetPeer = config.backendUrl.startsWith("peer://") ? config.backendUrl.slice(7) : void 0;
|
|
44975
44985
|
backend = new NexusAgenticBackend(sendFn, config.model, targetPeer, config.apiKey);
|
|
44976
44986
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-agents-ai",
|
|
3
|
-
"version": "0.103.
|
|
3
|
+
"version": "0.103.34",
|
|
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.9",
|
|
85
85
|
"viem": "^2.47.4"
|
|
86
86
|
}
|
|
87
87
|
}
|