create-fleetbo-project 1.2.70 → 1.2.72
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.
|
@@ -140,12 +140,13 @@ if (command === 'alex') {
|
|
|
140
140
|
const rawMsg = aiData.message || "I'm ready.";
|
|
141
141
|
const formattedMsg = wrapText(rawMsg, 85);
|
|
142
142
|
console.log('\\x1b[32mAlex ❯\\x1b[0m \\n ' + formattedMsg);
|
|
143
|
+
|
|
143
144
|
if (aiData.remainingConsultations !== undefined) {
|
|
144
145
|
const remaining = aiData.remainingConsultations;
|
|
145
|
-
const limit = aiData.consultationLimit ||
|
|
146
|
-
const tierLabel = aiData.tier === 'pro' ? 'SENIOR' : '
|
|
146
|
+
const limit = aiData.consultationLimit || 7;
|
|
147
|
+
const tierLabel = aiData.tier === 'pro' ? 'SENIOR' : 'JUNIOR';
|
|
147
148
|
const percent = Math.round((remaining / limit) * 100);
|
|
148
|
-
const energyColor = percent > 20 ? '
|
|
149
|
+
const energyColor = percent > 20 ? '\\x1b[32m' : '\\x1b[31m';
|
|
149
150
|
console.log(\`\\x1b[36m⚡ Architect Fuel:\\x1b[0m \${energyColor}\${percent}%\x1b[0m (\${remaining}/\${limit} consultations left) [\${tierLabel}]\`);
|
|
150
151
|
}
|
|
151
152
|
}
|
|
@@ -214,7 +215,7 @@ if (command === 'alex') {
|
|
|
214
215
|
}
|
|
215
216
|
process.stdout.write(' '.repeat(60) + '\\r');
|
|
216
217
|
console.log('\\n\\x1b[32m🤖 Alex is now online.\\x1b[0m');
|
|
217
|
-
console.log('\\x1b[32mAlex ❯\\x1b[0m
|
|
218
|
+
console.log('\\x1b[32mAlex ❯\\x1b[0m Infrastructure online. I am ready to forge. What module are we architecting today, Pilot?');
|
|
218
219
|
console.log('');
|
|
219
220
|
const rl = readline.createInterface({
|
|
220
221
|
input: process.stdin,
|