codebakers 2.1.0 → 2.1.2

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/src/index.ts CHANGED
@@ -26,9 +26,10 @@ import { migrateCommand } from './commands/migrate.js';
26
26
  import { prdMakerCommand } from './commands/prd-maker.js';
27
27
  import { buildCommand } from './commands/build.js';
28
28
  import { integrateCommand, INTEGRATIONS } from './commands/integrate.js';
29
+ import { websiteCommand } from './commands/website.js';
29
30
  import { parseNaturalLanguage, clarifyCommand, clarifyDeployTarget } from './utils/nlp.js';
30
31
 
31
- const VERSION = '2.1.0';
32
+ const VERSION = '2.1.1';
32
33
 
33
34
  // ASCII art logo
34
35
  const logo = `
@@ -82,6 +83,7 @@ async function showMainMenu(): Promise<void> {
82
83
  { value: 'design', label: '🎨 Design system', hint: 'set profile, colors' },
83
84
  { value: 'separator2', label: '─────────────────────────' },
84
85
  { value: 'new', label: '🆕 Create new project' },
86
+ { value: 'website', label: '🌐 Website Builder', hint: 'Describe → AI builds it' },
85
87
  { value: 'build', label: '🏗️ Parallel Build', hint: '3 agents from PRD (swarm)' },
86
88
  { value: 'prd', label: '📄 Build from PRD', hint: 'sequential build' },
87
89
  { value: 'prd-maker', label: '✏️ Create PRD', hint: 'interview → generate PRD' },
@@ -90,6 +92,7 @@ async function showMainMenu(): Promise<void> {
90
92
  { value: 'help', label: '❓ Help' },
91
93
  ] : [
92
94
  { value: 'new', label: '🆕 Create new project' },
95
+ { value: 'website', label: '🌐 Website Builder', hint: 'Describe → AI builds it' },
93
96
  { value: 'build', label: '🏗️ Parallel Build', hint: '3 agents from PRD (swarm)' },
94
97
  { value: 'prd', label: '📄 Build from PRD', hint: 'sequential build' },
95
98
  { value: 'prd-maker', label: '✏️ Create PRD', hint: 'interview → generate PRD' },
@@ -154,6 +157,9 @@ async function showMainMenu(): Promise<void> {
154
157
  case 'new':
155
158
  await initCommand();
156
159
  break;
160
+ case 'website':
161
+ await websiteCommand();
162
+ break;
157
163
  case 'build':
158
164
  await buildCommand();
159
165
  break;
@@ -338,6 +344,12 @@ program
338
344
  .description('One-click integrations (50+ services with browser auth)')
339
345
  .action(integrateCommand);
340
346
 
347
+ program
348
+ .command('website')
349
+ .alias('site')
350
+ .description('Build a website by describing it in plain English')
351
+ .action(websiteCommand);
352
+
341
353
  // Natural language processing for free-form input
342
354
  async function handleNaturalLanguage(input: string): Promise<void> {
343
355
  const config = new Config();
@@ -427,7 +439,7 @@ if (args.length === 0) {
427
439
  'setup', 'init', 'code', 'check', 'deploy', 'fix', 'generate',
428
440
  'connect', 'status', 'gateway', 'security', 'learn', 'design',
429
441
  'prd', 'advisors', 'migrate', 'prd-maker', 'build', 'swarm',
430
- 'integrate', 'add', 'help'
442
+ 'integrate', 'add', 'website', 'site', 'help'
431
443
  ];
432
444
 
433
445
  const firstArg = args[0] as string;