buildwithnexus 0.6.4 → 0.6.6
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 +11 -4
- package/dist/nexus-release.tar.gz +0 -0
- package/package.json +2 -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.6" : "0.0.0-unknown";
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
function showBanner() {
|
|
@@ -574,6 +574,13 @@ function classifyIntent(task) {
|
|
|
574
574
|
// src/cli/interactive.ts
|
|
575
575
|
async function interactiveMode() {
|
|
576
576
|
const backendUrl = process.env.BACKEND_URL || "http://localhost:4200";
|
|
577
|
+
const anthropicKey = process.env.ANTHROPIC_API_KEY;
|
|
578
|
+
if (!anthropicKey) {
|
|
579
|
+
console.error(chalk2.red("\u274C ANTHROPIC_API_KEY not set"));
|
|
580
|
+
console.log(chalk2.yellow("\nRun this first to set up your API keys:"));
|
|
581
|
+
console.log(chalk2.bold(" buildwithnexus da-init"));
|
|
582
|
+
process.exit(1);
|
|
583
|
+
}
|
|
577
584
|
try {
|
|
578
585
|
const response = await fetch(`${backendUrl}/health`);
|
|
579
586
|
if (!response.ok) {
|
|
@@ -624,7 +631,7 @@ async function selectMode(suggested, ask) {
|
|
|
624
631
|
};
|
|
625
632
|
console.log("");
|
|
626
633
|
console.log(
|
|
627
|
-
chalk2.gray("Press ") + chalk2.bold("Enter") + chalk2.gray(" to use ") + modeColor[suggested](suggested) + chalk2.gray(" or type ") + chalk2.bold("
|
|
634
|
+
chalk2.gray("Press ") + chalk2.bold("Enter") + chalk2.gray(" to use ") + modeColor[suggested](suggested) + chalk2.gray(" or type ") + chalk2.bold("plan") + chalk2.gray("/") + chalk2.bold("build") + chalk2.gray("/") + chalk2.bold("brainstorm") + chalk2.gray(" to switch: ")
|
|
628
635
|
);
|
|
629
636
|
const answer = await ask(chalk2.gray("> "));
|
|
630
637
|
const lower = answer.trim().toLowerCase();
|
|
@@ -3446,7 +3453,7 @@ function getVersionStatic() {
|
|
|
3446
3453
|
const packageJson = JSON.parse(readFileSync2(packagePath, "utf-8"));
|
|
3447
3454
|
return packageJson.version;
|
|
3448
3455
|
} catch {
|
|
3449
|
-
return true ? "0.6.
|
|
3456
|
+
return true ? "0.6.6" : "0.0.0-unknown";
|
|
3450
3457
|
}
|
|
3451
3458
|
}
|
|
3452
3459
|
var cli = new Command15().name("buildwithnexus").description("Auto-scaffold and launch a fully autonomous NEXUS runtime").version(getVersionStatic());
|
|
@@ -3564,7 +3571,7 @@ function printUpdateBanner(current, latest) {
|
|
|
3564
3571
|
// src/bin.ts
|
|
3565
3572
|
import dotenv from "dotenv";
|
|
3566
3573
|
dotenv.config({ path: ".env.local" });
|
|
3567
|
-
var version = true ? "0.6.
|
|
3574
|
+
var version = true ? "0.6.6" : "0.5.17";
|
|
3568
3575
|
checkForUpdates(version);
|
|
3569
3576
|
program.name("buildwithnexus").description("Deep Agents - AI-Powered Task Execution").version(version);
|
|
3570
3577
|
program.command("da-init").description("Initialize Deep Agents (set up API keys and .env.local)").action(deepAgentsInitCommand);
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "buildwithnexus",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.6",
|
|
4
4
|
"description": "Interactive AI agent orchestrator with intent-based planning, execution, and brainstorming modes",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"homepage": "https://buildwithnexus.dev",
|
|
49
49
|
"dependencies": {
|
|
50
50
|
"@inquirer/prompts": "^8.2.1",
|
|
51
|
+
"buildwithnexus": "^0.6.4",
|
|
51
52
|
"chalk": "^5.3.0",
|
|
52
53
|
"commander": "^12.1.0",
|
|
53
54
|
"dotenv": "^17.3.1",
|