fleetbo-cockpit-cli 1.0.239 → 1.0.240

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 +4 -4
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -429,9 +429,9 @@ if (command === 'alex') {
429
429
  const isCloudUpdated = !mergedModuleData.mockCode;
430
430
 
431
431
  if (isCloudUpdated && mergedModuleData.code) {
432
- logStep('[1/3]', '\x1b[32mNative code generated.\x1b[0m\n');
432
+ logStep('[1/3]', `\x1b[32mNative code generated.\x1b[0m \x1b[90m(${aiData.outputTokensUsed || 0} tokens)\x1b[0m\n`);
433
433
 
434
- logStep('[2/3]', '\x1b[33mAnalyzing native code and generating Interface (Mock)...\x1b[0m');
434
+ logStep('[2/3]', '\x1b[33mAnalyzing and generating Mock file...\x1b[0m');
435
435
  const aiData2 = await fetchStep('mock_only', { nativeCode: mergedModuleData.code });
436
436
 
437
437
  if (aiData2.moduleData) {
@@ -439,7 +439,7 @@ if (command === 'alex') {
439
439
  mergedModuleData.mockFileName = aiData2.moduleData.mockFileName;
440
440
  }
441
441
  totalOutputTokens += aiData2.outputTokensUsed || 0;
442
- logStep('[2/3]', '\x1b[32mInterface Mock generated.\x1b[0m\n');
442
+ logStep('[2/3]', `\x1b[32mMock generated.\x1b[0m \x1b[90m(${aiData2.outputTokensUsed || 0} tokens)\x1b[0m\n`);
443
443
 
444
444
  logStep('[3/3]', '\x1b[33mFinalizing JSON configuration...\x1b[0m');
445
445
  const aiData3 = await fetchStep('json_only', {
@@ -453,7 +453,7 @@ if (command === 'alex') {
453
453
  mergedModuleData.uiSchema = aiData3.moduleData.uiSchema;
454
454
  }
455
455
  totalOutputTokens += aiData3.outputTokensUsed || 0;
456
- logStep('[3/3]', '\x1b[32mConfiguration completed.\x1b[0m\n\n');
456
+ logStep('[3/3]', `\x1b[32mConfiguration completed.\x1b[0m \x1b[90m(${aiData3.outputTokensUsed || 0} tokens)\x1b[0m\n\n`);
457
457
  }
458
458
 
459
459
  if (aiData.thinking_process) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetbo-cockpit-cli",
3
- "version": "1.0.239",
3
+ "version": "1.0.240",
4
4
  "description": "Fleetbo CLI - Build native mobile apps with React",
5
5
  "author": "Fleetbo",
6
6
  "license": "MIT",