fleetbo-cockpit-cli 1.0.23 → 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.
Files changed (2) hide show
  1. package/cli.js +5 -3
  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}`);
@@ -263,7 +265,7 @@ if (command === 'alex') {
263
265
  writeFile('src/app/mocks/', mockFileName, mockCode);
264
266
  const injected = injectRouteIntoAppJs(pageName, 'mocks');
265
267
  if (injected) {
266
- console.log(` \x1b[32m[Routed]\x1b[0m App.js -> /mocks/${pageName.toLowerCase()}`);
268
+ console.log(` \x1b[32m[Routed]\x1b[0m App.js -> /mocks/${pageName.toLowerCase()}`);
267
269
  }
268
270
  }
269
271
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetbo-cockpit-cli",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "description": "Fleetbo CLI - Build native mobile apps with React",
5
5
  "author": "Fleetbo",
6
6
  "license": "MIT",