buildwithnexus 0.6.1 → 0.6.2
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/bin.js +7 -5
- package/dist/nexus-release.tar.gz +0 -0
- package/package.json +1 -1
package/dist/bin.js
CHANGED
|
@@ -28,7 +28,7 @@ function getVersion() {
|
|
|
28
28
|
const packageJson = JSON.parse(readFileSync(packagePath, "utf-8"));
|
|
29
29
|
return packageJson.version;
|
|
30
30
|
} catch {
|
|
31
|
-
return true ? "0.6.
|
|
31
|
+
return true ? "0.6.2" : "0.0.0-unknown";
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
function showBanner() {
|
|
@@ -728,7 +728,8 @@ async function planModeLoop(task, backendUrl, rl, ask) {
|
|
|
728
728
|
planReceived = true;
|
|
729
729
|
break outer;
|
|
730
730
|
} else if (parsed.type === "error") {
|
|
731
|
-
|
|
731
|
+
const errorMsg = parsed.data["error"] || parsed.data["content"] || "Unknown error";
|
|
732
|
+
tui.displayError(errorMsg);
|
|
732
733
|
return "cancel";
|
|
733
734
|
}
|
|
734
735
|
} catch {
|
|
@@ -837,7 +838,8 @@ async function buildModeLoop(task, backendUrl, rl, ask) {
|
|
|
837
838
|
tui.displayComplete(tui.getElapsedTime());
|
|
838
839
|
break;
|
|
839
840
|
} else if (type === "error") {
|
|
840
|
-
|
|
841
|
+
const errorMsg = parsed.data["error"] || parsed.data["content"] || "Unknown error";
|
|
842
|
+
tui.displayError(errorMsg);
|
|
841
843
|
break;
|
|
842
844
|
} else if (type !== "plan") {
|
|
843
845
|
tui.displayEvent(type, parsed.data);
|
|
@@ -3428,7 +3430,7 @@ function getVersionStatic() {
|
|
|
3428
3430
|
const packageJson = JSON.parse(readFileSync2(packagePath, "utf-8"));
|
|
3429
3431
|
return packageJson.version;
|
|
3430
3432
|
} catch {
|
|
3431
|
-
return true ? "0.6.
|
|
3433
|
+
return true ? "0.6.2" : "0.0.0-unknown";
|
|
3432
3434
|
}
|
|
3433
3435
|
}
|
|
3434
3436
|
var cli = new Command15().name("buildwithnexus").description("Auto-scaffold and launch a fully autonomous NEXUS runtime").version(getVersionStatic());
|
|
@@ -3546,7 +3548,7 @@ function printUpdateBanner(current, latest) {
|
|
|
3546
3548
|
// src/bin.ts
|
|
3547
3549
|
import dotenv from "dotenv";
|
|
3548
3550
|
dotenv.config({ path: ".env.local" });
|
|
3549
|
-
var version = true ? "0.6.
|
|
3551
|
+
var version = true ? "0.6.2" : "0.5.17";
|
|
3550
3552
|
checkForUpdates(version);
|
|
3551
3553
|
program.name("buildwithnexus").description("Deep Agents - AI-Powered Task Execution").version(version);
|
|
3552
3554
|
program.command("da-init").description("Initialize Deep Agents (set up API keys and .env.local)").action(deepAgentsInitCommand);
|
|
Binary file
|