fleetbo-cockpit-cli 1.0.24 → 1.0.25
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 +4 -2
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -156,7 +156,8 @@ if (command === 'alex') {
|
|
|
156
156
|
console.log('\x1b[90mAlex prefers concise instructions. Please summarize.\x1b[0m');
|
|
157
157
|
return;
|
|
158
158
|
}
|
|
159
|
-
process.stdout.write('\x1b[33m🧠 Alex is thinking...\x1b[0m');
|
|
159
|
+
//process.stdout.write('\x1b[33m🧠 Alex is thinking...\x1b[0m');
|
|
160
|
+
console.log('\x1b[33m🧠 Alex is thinking...\x1b[0m');
|
|
160
161
|
|
|
161
162
|
try {
|
|
162
163
|
const result = await axios.post(ALEX_ENGINE_URL, { prompt, projectType: 'android' }, {
|
|
@@ -167,7 +168,8 @@ if (command === 'alex') {
|
|
|
167
168
|
try { aiData = JSON.parse(aiData); } catch (_) {}
|
|
168
169
|
}
|
|
169
170
|
|
|
170
|
-
process.stdout.write('\r' + ' '.repeat(50) + '\r');
|
|
171
|
+
//process.stdout.write('\r' + ' '.repeat(50) + '\r');
|
|
172
|
+
process.stdout.write('\x1b[A\r' + ' '.repeat(50) + '\r');
|
|
171
173
|
|
|
172
174
|
if (aiData.status === 'quota_exceeded') {
|
|
173
175
|
console.log(`\n\x1b[31m⛔ ARCHITECT QUOTA REACHED:\x1b[0m ${aiData.message}`);
|