buildwithnexus 0.6.2 → 0.6.3
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 +6 -9
- 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.3" : "0.0.0-unknown";
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
function showBanner() {
|
|
@@ -331,7 +331,7 @@ var TUI = class {
|
|
|
331
331
|
return chalk.gray(m);
|
|
332
332
|
});
|
|
333
333
|
console.log(chalk.gray("MODE: ") + parts.join(chalk.gray(" | ")));
|
|
334
|
-
console.log(chalk.gray("
|
|
334
|
+
console.log(chalk.gray('Type "switch" or "s" to change modes'));
|
|
335
335
|
console.log(chalk.gray("\u2500".repeat(60)));
|
|
336
336
|
}
|
|
337
337
|
displayModeHeader(mode) {
|
|
@@ -438,14 +438,14 @@ async function runCommand(task, options) {
|
|
|
438
438
|
const type = data.type;
|
|
439
439
|
const content = data.data["content"] || "";
|
|
440
440
|
if (type === "done") {
|
|
441
|
-
tui.displayEvent(type, "Task completed successfully");
|
|
441
|
+
tui.displayEvent(type, { content: "Task completed successfully" });
|
|
442
442
|
tui.displayComplete(tui.getElapsedTime());
|
|
443
443
|
process.exit(0);
|
|
444
444
|
} else if (type === "error") {
|
|
445
445
|
tui.displayError(content);
|
|
446
446
|
process.exit(1);
|
|
447
447
|
} else {
|
|
448
|
-
tui.displayEvent(type, content);
|
|
448
|
+
tui.displayEvent(type, { content });
|
|
449
449
|
}
|
|
450
450
|
} catch {
|
|
451
451
|
}
|
|
@@ -3430,7 +3430,7 @@ function getVersionStatic() {
|
|
|
3430
3430
|
const packageJson = JSON.parse(readFileSync2(packagePath, "utf-8"));
|
|
3431
3431
|
return packageJson.version;
|
|
3432
3432
|
} catch {
|
|
3433
|
-
return true ? "0.6.
|
|
3433
|
+
return true ? "0.6.3" : "0.0.0-unknown";
|
|
3434
3434
|
}
|
|
3435
3435
|
}
|
|
3436
3436
|
var cli = new Command15().name("buildwithnexus").description("Auto-scaffold and launch a fully autonomous NEXUS runtime").version(getVersionStatic());
|
|
@@ -3548,7 +3548,7 @@ function printUpdateBanner(current, latest) {
|
|
|
3548
3548
|
// src/bin.ts
|
|
3549
3549
|
import dotenv from "dotenv";
|
|
3550
3550
|
dotenv.config({ path: ".env.local" });
|
|
3551
|
-
var version = true ? "0.6.
|
|
3551
|
+
var version = true ? "0.6.3" : "0.5.17";
|
|
3552
3552
|
checkForUpdates(version);
|
|
3553
3553
|
program.name("buildwithnexus").description("Deep Agents - AI-Powered Task Execution").version(version);
|
|
3554
3554
|
program.command("da-init").description("Initialize Deep Agents (set up API keys and .env.local)").action(deepAgentsInitCommand);
|
|
@@ -3585,6 +3585,3 @@ if (!process.argv.slice(2).length) {
|
|
|
3585
3585
|
} else {
|
|
3586
3586
|
program.parse();
|
|
3587
3587
|
}
|
|
3588
|
-
if (!process.argv.slice(2).length) {
|
|
3589
|
-
program.outputHelp();
|
|
3590
|
-
}
|
|
Binary file
|