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