create-fleetbo-project 1.2.65 → 1.2.66

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.
@@ -132,20 +132,20 @@ if (command === 'alex') {
132
132
  const aiData = result.data;
133
133
  process.stdout.write('\\r' + ' '.repeat(50) + '\\r');
134
134
  if (aiData.status === 'quota_exceeded') {
135
- console.log(\`\\n\\x1b[31m⛔ ENGINE OUT OF FUEL:\\x1b[0m \${aiData.message}\`);
135
+ console.log(\`\\n\\x1b[31m⛔ ARCHITECT QUOTA REACHED:\\x1b[0m \${aiData.message}\`);
136
136
  return;
137
137
  }
138
138
  if (aiData.status === 'success' || aiData.status === 'message' || aiData.status === 'complex_refusal') {
139
139
  console.log('');
140
140
  const rawMsg = aiData.message || "I'm ready.";
141
141
  const formattedMsg = wrapText(rawMsg, 85);
142
- if (aiData.remainingTokens !== undefined) {
143
- const remaining = aiData.remainingTokens;
144
- const limit = aiData.limit || 2500;
145
- const tierLabel = aiData.tier === 'senior' ? 'SENIOR' : 'STARTER';
142
+ if (aiData.remainingConsultations !== undefined) {
143
+ const remaining = aiData.remainingConsultations;
144
+ const limit = aiData.consultationLimit || 50;
145
+ const tierLabel = aiData.tier === 'pro' ? 'SENIOR' : 'DISCOVERY';
146
146
  const percent = Math.round((remaining / limit) * 100);
147
- const energyColor = percent > 20 ? '\\x1b[32m' : '\\x1b[31m';
148
- console.log(\`\\x1b[36m Energy:\\x1b[0m \${energyColor}\${percent}%\\x1b[0m (\${remaining}/\${limit} tokens left)\`);
147
+ const energyColor = percent > 20 ? '\x1b[32m' : '\x1b[31m';
148
+ console.log(\`\\x1b[36m Architect Fuel:\\x1b[0m \${energyColor}\${percent}%\x1b[0m (\${remaining}/\${limit} consultations left) [\${tierLabel}]\`);
149
149
  }
150
150
  }
151
151
  if (aiData.status === 'success' && aiData.moduleData) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fleetbo-project",
3
- "version": "1.2.65",
3
+ "version": "1.2.66",
4
4
  "description": "Creates a new Fleetbo project.",
5
5
  "main": "install-react-template.js",
6
6
  "bin": {