fleetbo-cockpit-cli 1.0.227 → 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 +8 -10
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -299,7 +299,7 @@ if (command === 'alex') {
|
|
|
299
299
|
return;
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
console.log('
|
|
302
|
+
console.log('Alex is thinking...');
|
|
303
303
|
|
|
304
304
|
try {
|
|
305
305
|
let contextInjection = "";
|
|
@@ -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,7 +649,7 @@ if (command === 'alex') {
|
|
|
651
649
|
isProcessing = true;
|
|
652
650
|
await processAlexRequest(text);
|
|
653
651
|
isProcessing = false;
|
|
654
|
-
|
|
652
|
+
|
|
655
653
|
}
|
|
656
654
|
};
|
|
657
655
|
|
|
@@ -949,19 +947,19 @@ else {
|
|
|
949
947
|
async function syncFirebase(keyApp, networkUrl, testerEmail) {
|
|
950
948
|
try {
|
|
951
949
|
await axios.post(UPDATE_NETWORK_URL, { keyApp, networkUrl, tester: testerEmail });
|
|
952
|
-
console.log('\x1b[32mEngine started successfully\x1b[0m');
|
|
950
|
+
console.log('\x1b[32mEngine started successfully\x1b[0m\n');
|
|
953
951
|
console.log(`\x1b[32mFleetbo OS ❯\x1b[0m -------------------------------------------------------------`);
|
|
954
952
|
console.log(`\x1b[32mFleetbo OS ❯\x1b[0m \x1b[1mProject [${keyApp}] running in OS\x1b[0m`);
|
|
955
953
|
console.log('\x1b[32mFleetbo OS ❯\x1b[0m You can now start coding and previewing.');
|
|
956
|
-
console.log(`\x1b[32mFleetbo OS ❯\x1b[0m
|
|
957
|
-
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.`);
|
|
958
956
|
} catch (err) {
|
|
959
957
|
console.error(`\x1b[31mFleetbo OS ❯\x1b[0m Sync Error: ${err.message}`);
|
|
960
958
|
}
|
|
961
959
|
}
|
|
962
960
|
|
|
963
961
|
async function runDevEnvironment() {
|
|
964
|
-
console.log(`[Fleetbo] Initializing Universal Dev Environment
|
|
962
|
+
console.log(`[Fleetbo] Initializing Universal Dev Environment...\n`);
|
|
965
963
|
|
|
966
964
|
killNetworkService();
|
|
967
965
|
killProcessOnPort(PORT);
|
|
@@ -1017,7 +1015,7 @@ else {
|
|
|
1017
1015
|
console.log('\x1b[33mFleetbo OS ❯\x1b[0m ---------------------------------------------------');
|
|
1018
1016
|
console.log(`\x1b[33mFleetbo OS ❯\x1b[0m Establishing Secure Uplink...`);
|
|
1019
1017
|
console.log(`\x1b[33mFleetbo OS ❯\x1b[0m Please wait for the green message...`);
|
|
1020
|
-
console.log('\x1b[33mFleetbo OS ❯\x1b[0m
|
|
1018
|
+
console.log('\x1b[33mFleetbo OS ❯\x1b[0m ---------------------------------------------------\n');
|
|
1021
1019
|
|
|
1022
1020
|
const MAX_UPLINK_RETRIES = 5;
|
|
1023
1021
|
const RETRY_DELAYS = [0, 10, 20, 30, 45];
|