codebakers 2.1.2 → 2.2.0

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.
@@ -135,13 +135,28 @@ export async function websiteCommand(): Promise<void> {
135
135
  const config = new Config();
136
136
 
137
137
  if (!config.isConfigured()) {
138
- p.log.error('Please run `codebakers setup` first.');
138
+ console.log(chalk.yellow(`
139
+ ⚠️ CodeBakers isn't set up yet.
140
+
141
+ Run this first:
142
+ ${chalk.cyan('codebakers setup')}
143
+ `));
139
144
  return;
140
145
  }
141
146
 
142
147
  const anthropicCreds = config.getCredentials('anthropic');
143
148
  if (!anthropicCreds?.apiKey) {
144
- p.log.error('Anthropic API key not configured.');
149
+ console.log(chalk.yellow(`
150
+ ⚠️ Anthropic API key not configured.
151
+
152
+ The website builder needs Claude AI to generate code.
153
+
154
+ Run this to add your API key:
155
+ ${chalk.cyan('codebakers setup')}
156
+
157
+ Get an API key at:
158
+ ${chalk.dim('https://console.anthropic.com/settings/keys')}
159
+ `));
145
160
  return;
146
161
  }
147
162
 
package/src/index.ts CHANGED
@@ -29,7 +29,7 @@ import { integrateCommand, INTEGRATIONS } from './commands/integrate.js';
29
29
  import { websiteCommand } from './commands/website.js';
30
30
  import { parseNaturalLanguage, clarifyCommand, clarifyDeployTarget } from './utils/nlp.js';
31
31
 
32
- const VERSION = '2.1.1';
32
+ const VERSION = '2.2.0';
33
33
 
34
34
  // ASCII art logo
35
35
  const logo = `
@@ -186,27 +186,34 @@ async function showMainMenu(): Promise<void> {
186
186
 
187
187
  function showHelp(): void {
188
188
  console.log(boxen(`
189
- ${chalk.bold('CodeBakers CLI')} — AI dev team that follows the rules
190
-
191
- ${chalk.bold('Commands:')}
192
- ${chalk.cyan('codebakers')} Interactive menu (or just run with no args)
193
- ${chalk.cyan('codebakers init')} Create a new project
194
- ${chalk.cyan('codebakers code')} Start AI coding session
195
- ${chalk.cyan('codebakers check')} Run pattern enforcement
196
- ${chalk.cyan('codebakers deploy')} Deploy to production
197
- ${chalk.cyan('codebakers fix')} Auto-fix errors
198
- ${chalk.cyan('codebakers generate')} Generate components/pages
199
- ${chalk.cyan('codebakers connect')} Connect external services
200
- ${chalk.cyan('codebakers gateway')} Manage messaging channels
201
- ${chalk.cyan('codebakers status')} View project status
202
- ${chalk.cyan('codebakers security')} Run security audit
203
- ${chalk.cyan('codebakers learn')} View/manage learning
204
-
205
- ${chalk.bold('Help at any time:')}
206
- Press ${chalk.yellow('?')} during any command to get contextual help
207
-
208
- ${chalk.bold('Documentation:')}
209
- ${chalk.dim('https://codebakers.dev/docs')}
189
+ ${chalk.bold('CodeBakers CLI v' + VERSION)} — AI dev team that follows the rules
190
+
191
+ ${chalk.bold.cyan('Getting Started:')}
192
+ ${chalk.cyan('codebakers setup')} Connect your accounts (GitHub, Vercel, etc.)
193
+ ${chalk.cyan('codebakers init')} Create a new project from scratch
194
+ ${chalk.cyan('codebakers website')} Build a website by describing it
195
+ ${chalk.cyan('codebakers build')} Build from PRD with parallel AI agents
196
+
197
+ ${chalk.bold.cyan('Daily Development:')}
198
+ ${chalk.cyan('codebakers code')} Chat with AI to build features
199
+ ${chalk.cyan('codebakers check')} Check code quality & patterns
200
+ ${chalk.cyan('codebakers fix')} Auto-fix errors with AI
201
+ ${chalk.cyan('codebakers deploy')} Deploy to Vercel
202
+
203
+ ${chalk.bold.cyan('Integrations:')}
204
+ ${chalk.cyan('codebakers integrate')} 50+ one-click integrations (Stripe, Supabase, etc.)
205
+ ${chalk.cyan('codebakers gateway')} Connect WhatsApp, Telegram, Discord, etc.
206
+
207
+ ${chalk.bold.cyan('Planning:')}
208
+ ${chalk.cyan('codebakers prd-maker')} Create PRD through interview (voice supported)
209
+ ${chalk.cyan('codebakers advisors')} Consult AI experts (CEO, CTO, Designer, etc.)
210
+
211
+ ${chalk.bold.cyan('Tips:')}
212
+ • Type naturally: ${chalk.dim('codebakers "add a contact form"')}
213
+ • Voice input: Type ${chalk.yellow('"v"')} at any prompt
214
+ • Clipboard: Type ${chalk.yellow('"clip"')} to paste from clipboard
215
+
216
+ ${chalk.bold('Docs:')} ${chalk.dim('https://codebakers.dev/docs')}
210
217
  `, { padding: 1, borderColor: 'cyan', borderStyle: 'round' }));
211
218
  }
212
219