fleetbo-cockpit-cli 1.0.228 → 1.0.229
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/cli.js +7 -8
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -477,8 +477,6 @@ if (command === 'alex') {
|
|
|
477
477
|
if (moduleName.length > 40) moduleName = moduleName.substring(0, 40) + "...";
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
console.log(`\x1b[90mArchitecting: ${moduleName || 'Unknown Module'}\x1b[0m`);
|
|
481
|
-
|
|
482
480
|
const writeFile = (dir, name, content) => {
|
|
483
481
|
const fullPath = path.join(process.cwd(), dir);
|
|
484
482
|
const filePath = path.join(fullPath, name);
|
|
@@ -600,7 +598,7 @@ if (command === 'alex') {
|
|
|
600
598
|
|
|
601
599
|
console.log('\x1b[90m┌─────────────────────────────────────────────────────────┐\x1b[0m');
|
|
602
600
|
console.log('\x1b[90m│ │\x1b[0m');
|
|
603
|
-
console.log('\x1b[90m│\x1b[0m \x1b[1m\x1b[36m[ALEX]\x1b[0m \x1b[90m— System Architect · Fleetbo OS\x1b[0m
|
|
601
|
+
console.log('\x1b[90m│\x1b[0m \x1b[1m\x1b[36m[ALEX]\x1b[0m \x1b[90m— System Architect · Fleetbo OS\x1b[0m \x1b[90m│\x1b[0m');
|
|
604
602
|
console.log('\x1b[90m│ │\x1b[0m');
|
|
605
603
|
console.log('\x1b[90m│\x1b[0m \x1b[90mYour JS stays the brain. I forge the metal.\x1b[0m \x1b[90m│\x1b[0m');
|
|
606
604
|
console.log('\x1b[90m│ │\x1b[0m');
|
|
@@ -651,6 +649,7 @@ if (command === 'alex') {
|
|
|
651
649
|
isProcessing = true;
|
|
652
650
|
await processAlexRequest(text);
|
|
653
651
|
isProcessing = false;
|
|
652
|
+
|
|
654
653
|
}
|
|
655
654
|
};
|
|
656
655
|
|
|
@@ -948,19 +947,19 @@ else {
|
|
|
948
947
|
async function syncFirebase(keyApp, networkUrl, testerEmail) {
|
|
949
948
|
try {
|
|
950
949
|
await axios.post(UPDATE_NETWORK_URL, { keyApp, networkUrl, tester: testerEmail });
|
|
951
|
-
console.log('\x1b[32mEngine started successfully\x1b[0m');
|
|
950
|
+
console.log('\x1b[32mEngine started successfully\x1b[0m\n');
|
|
952
951
|
console.log(`\x1b[32mFleetbo OS ❯\x1b[0m -------------------------------------------------------------`);
|
|
953
952
|
console.log(`\x1b[32mFleetbo OS ❯\x1b[0m \x1b[1mProject [${keyApp}] running in OS\x1b[0m`);
|
|
954
953
|
console.log('\x1b[32mFleetbo OS ❯\x1b[0m You can now start coding and previewing.');
|
|
955
|
-
console.log(`\x1b[32mFleetbo OS ❯\x1b[0m
|
|
956
|
-
console.log(`\x1b[34mPilot Instruction ❯\x1b[0m Return to the Workspace. The Engine is ready for your orders
|
|
954
|
+
console.log(`\x1b[32mFleetbo OS ❯\x1b[0m -------------------------------------------------------------\n`);
|
|
955
|
+
console.log(`\x1b[34mPilot Instruction ❯\x1b[0m Return to the Workspace. The Engine is ready for your orders.`);
|
|
957
956
|
} catch (err) {
|
|
958
957
|
console.error(`\x1b[31mFleetbo OS ❯\x1b[0m Sync Error: ${err.message}`);
|
|
959
958
|
}
|
|
960
959
|
}
|
|
961
960
|
|
|
962
961
|
async function runDevEnvironment() {
|
|
963
|
-
console.log(`[Fleetbo] Initializing Universal Dev Environment
|
|
962
|
+
console.log(`[Fleetbo] Initializing Universal Dev Environment...\n`);
|
|
964
963
|
|
|
965
964
|
killNetworkService();
|
|
966
965
|
killProcessOnPort(PORT);
|
|
@@ -1016,7 +1015,7 @@ else {
|
|
|
1016
1015
|
console.log('\x1b[33mFleetbo OS ❯\x1b[0m ---------------------------------------------------');
|
|
1017
1016
|
console.log(`\x1b[33mFleetbo OS ❯\x1b[0m Establishing Secure Uplink...`);
|
|
1018
1017
|
console.log(`\x1b[33mFleetbo OS ❯\x1b[0m Please wait for the green message...`);
|
|
1019
|
-
console.log('\x1b[33mFleetbo OS ❯\x1b[0m
|
|
1018
|
+
console.log('\x1b[33mFleetbo OS ❯\x1b[0m ---------------------------------------------------\n');
|
|
1020
1019
|
|
|
1021
1020
|
const MAX_UPLINK_RETRIES = 5;
|
|
1022
1021
|
const RETRY_DELAYS = [0, 10, 20, 30, 45];
|