mycontext-cli 0.2.5 → 0.2.7

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.
@@ -1 +1 @@
1
- {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../src/commands/generate.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAuC,MAAM,UAAU,CAAC;AA2F/E,UAAU,eAAgB,SAAQ,cAAc;IAC9C,IAAI,CAAC,EACD,SAAS,GACT,OAAO,GACP,OAAO,GACP,iBAAiB,GACjB,YAAY,GACZ,eAAe,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,eAAe;IAC1B,OAAO,CAAC,EAAE,CAA2B;IACrC,OAAO,CAAC,OAAO,CAAkB;IACjC,OAAO,CAAC,YAAY,CAAe;;IAO7B,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;YAsDtD,iBAAiB;YAYjB,eAAe;YAwDf,aAAa;YA8Bb,aAAa;YA8Bb,qBAAqB;IA2DnC,OAAO,CAAC,uBAAuB;IAiF/B,OAAO,CAAC,qBAAqB;IAuE7B,OAAO,CAAC,qBAAqB;IAuE7B,OAAO,CAAC,6BAA6B;YAqHvB,oBAAoB;CAgCnC"}
1
+ {"version":3,"file":"generate.d.ts","sourceRoot":"","sources":["../../src/commands/generate.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,cAAc,EAAuC,MAAM,UAAU,CAAC;AA2F/E,UAAU,eAAgB,SAAQ,cAAc;IAC9C,IAAI,CAAC,EACD,SAAS,GACT,OAAO,GACP,OAAO,GACP,iBAAiB,GACjB,YAAY,GACZ,eAAe,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,eAAe;IAC1B,OAAO,CAAC,EAAE,CAA2B;IACrC,OAAO,CAAC,OAAO,CAAkB;IACjC,OAAO,CAAC,YAAY,CAAe;;IAO7B,OAAO,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;YAsDtD,iBAAiB;YAYjB,eAAe;YAwDf,aAAa;YA8Bb,aAAa;YA8Bb,qBAAqB;IAoEnC,OAAO,CAAC,uBAAuB;IA8N/B,OAAO,CAAC,qBAAqB;IAiO7B,OAAO,CAAC,qBAAqB;IAsN3B,OAAO,CAAC,6BAA6B;YAmXzB,oBAAoB;CAgCnC"}
@@ -228,36 +228,59 @@ Return JSON with components organized by groups. Example:
228
228
  };
229
229
  }
230
230
  catch (error) {
231
+ // Fallback to basic generation if AI is too slow
232
+ this.spinner.updateText("AI generation failed, using fallback...");
233
+ const fallbackContent = this.generateFallbackComponentList(projectContext);
231
234
  return {
232
- success: false,
233
- error: `Local AI generation failed: ${error instanceof Error ? error.message : "Unknown error"}`,
234
- provider: "ollama",
235
+ success: true,
236
+ content: fallbackContent,
237
+ provider: "fallback",
238
+ metadata: {
239
+ model: "fallback-generator",
240
+ tokens: fallbackContent.length / 4,
241
+ latency: 100,
242
+ },
235
243
  };
236
244
  }
237
245
  }
238
246
  generateFallbackContext(projectContext) {
239
247
  const description = projectContext.description || "MyContext project";
240
- if (description.toLowerCase().includes("tic-tac-toe") ||
241
- description.toLowerCase().includes("game")) {
242
- return `# Product Requirements Document: Tic-Tac-Toe Game
248
+ // Analyze project type from description
249
+ const isGame = description.toLowerCase().includes("game") ||
250
+ description.toLowerCase().includes("play") ||
251
+ description.toLowerCase().includes("tic-tac-toe") ||
252
+ description.toLowerCase().includes("chess") ||
253
+ description.toLowerCase().includes("puzzle");
254
+ const isEcommerce = description.toLowerCase().includes("shop") ||
255
+ description.toLowerCase().includes("store") ||
256
+ description.toLowerCase().includes("ecommerce") ||
257
+ description.toLowerCase().includes("marketplace");
258
+ const isDashboard = description.toLowerCase().includes("dashboard") ||
259
+ description.toLowerCase().includes("admin") ||
260
+ description.toLowerCase().includes("analytics") ||
261
+ description.toLowerCase().includes("monitoring");
262
+ const isSocial = description.toLowerCase().includes("social") ||
263
+ description.toLowerCase().includes("chat") ||
264
+ description.toLowerCase().includes("community") ||
265
+ description.toLowerCase().includes("network");
266
+ if (isGame) {
267
+ return `# Product Requirements Document: ${description}
243
268
 
244
269
  ## Project Overview
245
- A simple Tic-Tac-Toe game with working UI components built using React and modern web technologies.
270
+ ${description} - An interactive game application built with modern web technologies.
246
271
 
247
272
  ## Key Features
248
- - Interactive 3x3 game board
249
- - Turn-based gameplay (X and O players)
250
- - Win detection and game state management
251
- - Score tracking and game history
273
+ - Interactive game interface with responsive controls
274
+ - Game state management and progress tracking
275
+ - User authentication and score persistence
252
276
  - Responsive design for all devices
253
- - Game reset and new game functionality
277
+ - Accessibility features for inclusive gaming
254
278
 
255
279
  ## User Stories
256
- - As a player, I want to click on empty cells to place my mark (X or O)
257
- - As a player, I want to see whose turn it is
258
- - As a player, I want to know when the game is won or drawn
259
- - As a player, I want to start a new game after completion
260
- - As a player, I want to see the current score
280
+ - As a player, I want to start a new game easily
281
+ - As a player, I want to see my progress and scores
282
+ - As a player, I want to play on any device
283
+ - As a player, I want clear game instructions
261
284
 
262
285
  ## Technical Requirements
263
286
  - React 18+ with TypeScript
@@ -268,76 +291,214 @@ A simple Tic-Tac-Toe game with working UI components built using React and moder
268
291
  - Component-based architecture
269
292
 
270
293
  ## Acceptance Criteria
271
- - [ ] Game board renders correctly as 3x3 grid
272
- - [ ] Players can place X and O marks alternately
273
- - [ ] Win detection works for all winning combinations
274
- - [ ] Draw detection works when board is full
275
- - [ ] Game can be reset and restarted
276
- - [ ] UI is responsive and accessible
277
- - [ ] Score tracking works correctly
294
+ - [ ] Game interface is intuitive and responsive
295
+ - [ ] Game logic functions correctly
296
+ - [ ] UI works on all device sizes
297
+ - [ ] Accessibility standards are met
298
+ - [ ] Performance is optimized
278
299
 
279
300
  ## Success Metrics
280
301
  - Game loads in under 2 seconds
281
- - All game logic functions correctly
302
+ - All game features function as expected
282
303
  - UI is intuitive and responsive
283
304
  - Code follows React best practices`;
284
305
  }
306
+ if (isEcommerce) {
307
+ return `# Product Requirements Document: ${description}
308
+
309
+ ## Project Overview
310
+ ${description} - An e-commerce platform for online shopping and product management.
311
+
312
+ ## Key Features
313
+ - Product catalog with search and filtering
314
+ - Shopping cart and checkout process
315
+ - User authentication and account management
316
+ - Order tracking and history
317
+ - Responsive design for all devices
318
+
319
+ ## User Stories
320
+ - As a customer, I want to browse products easily
321
+ - As a customer, I want to add items to my cart
322
+ - As a customer, I want to complete purchases securely
323
+ - As a customer, I want to track my orders
324
+
325
+ ## Technical Requirements
326
+ - React 18+ with TypeScript
327
+ - Modern CSS with Tailwind or styled-components
328
+ - Responsive design (mobile-first approach)
329
+ - Secure payment integration
330
+ - User authentication system
331
+
332
+ ## Acceptance Criteria
333
+ - [ ] Product catalog displays correctly
334
+ - [ ] Shopping cart functions properly
335
+ - [ ] Checkout process is secure
336
+ - [ ] UI is responsive and accessible
337
+
338
+ ## Success Metrics
339
+ - Pages load quickly
340
+ - Checkout process is smooth
341
+ - All features function correctly
342
+ - Code quality meets standards`;
343
+ }
344
+ if (isDashboard) {
345
+ return `# Product Requirements Document: ${description}
346
+
347
+ ## Project Overview
348
+ ${description} - A comprehensive dashboard for data visualization and management.
349
+
350
+ ## Key Features
351
+ - Interactive data charts and graphs
352
+ - Real-time data updates and notifications
353
+ - User role management and permissions
354
+ - Responsive design for all devices
355
+ - Export and reporting capabilities
356
+
357
+ ## User Stories
358
+ - As a user, I want to view data clearly
359
+ - As a user, I want to interact with charts
360
+ - As a user, I want to export reports
361
+ - As an admin, I want to manage user access
362
+
363
+ ## Technical Requirements
364
+ - React 18+ with TypeScript
365
+ - Chart libraries (Chart.js, D3, or similar)
366
+ - Modern CSS with Tailwind or styled-components
367
+ - Real-time data integration
368
+ - Responsive design
369
+
370
+ ## Acceptance Criteria
371
+ - [ ] Data visualizations are clear
372
+ - [ ] Charts are interactive
373
+ - [ ] UI is responsive and accessible
374
+ - [ ] Performance is optimized
375
+
376
+ ## Success Metrics
377
+ - Dashboard loads quickly
378
+ - Charts render smoothly
379
+ - All features function correctly
380
+ - Code quality meets standards`;
381
+ }
382
+ if (isSocial) {
383
+ return `# Product Requirements Document: ${description}
384
+
385
+ ## Project Overview
386
+ ${description} - A social platform for connecting and interacting with others.
387
+
388
+ ## Key Features
389
+ - User profiles and connections
390
+ - Content sharing and interaction
391
+ - Real-time messaging and notifications
392
+ - Privacy controls and security
393
+ - Responsive design for all devices
394
+
395
+ ## User Stories
396
+ - As a user, I want to create my profile
397
+ - As a user, I want to connect with others
398
+ - As a user, I want to share content
399
+ - As a user, I want to stay updated
400
+
401
+ ## Technical Requirements
402
+ - React 18+ with TypeScript
403
+ - Real-time communication (WebSockets)
404
+ - Modern CSS with Tailwind or styled-components
405
+ - User authentication and security
406
+ - Responsive design
407
+
408
+ ## Acceptance Criteria
409
+ - [ ] User profiles are functional
410
+ - [ ] Connections work properly
411
+ - [ ] Content sharing is smooth
412
+ - [ ] UI is responsive and accessible
413
+
414
+ ## Success Metrics
415
+ - Platform loads quickly
416
+ - Real-time features work
417
+ - All features function correctly
418
+ - Code quality meets standards`;
419
+ }
420
+ // Generic fallback for other project types
285
421
  return `# Product Requirements Document: ${description}
286
422
 
287
423
  ## Project Overview
288
- ${description}
424
+ ${description} - A modern web application built with React and TypeScript.
289
425
 
290
426
  ## Key Features
291
- - Feature 1: Description
292
- - Feature 2: Description
293
- - Feature 3: Description
427
+ - Responsive user interface
428
+ - Modern design and user experience
429
+ - Cross-platform compatibility
430
+ - Performance optimization
431
+ - Accessibility compliance
294
432
 
295
433
  ## User Stories
296
- - As a user, I want to [action] so that [benefit]
297
- - As an admin, I need to [action] so that [benefit]
434
+ - As a user, I want to navigate the application easily
435
+ - As a user, I want the interface to be responsive
436
+ - As a user, I want fast loading times
437
+ - As a user, I want an intuitive experience
298
438
 
299
439
  ## Technical Requirements
300
- - Technology Stack: React, TypeScript, modern CSS
301
- - Database: [To be determined]
302
- - Authentication: [To be determined]
440
+ - React 18+ with TypeScript
441
+ - Modern CSS with Tailwind or styled-components
442
+ - Responsive design (mobile-first approach)
443
+ - Performance optimization
444
+ - Accessibility features
303
445
 
304
446
  ## Acceptance Criteria
305
- - [ ] Feature 1 works correctly
306
- - [ ] Feature 2 is responsive
307
- - [ ] Feature 3 is accessible
447
+ - [ ] Interface is responsive and accessible
448
+ - [ ] Performance meets standards
449
+ - [ ] Code follows best practices
450
+ - [ ] User experience is intuitive
308
451
 
309
452
  ## Success Metrics
310
453
  - Application loads quickly
311
- - All features function as expected
454
+ - All features function correctly
455
+ - UI is responsive and accessible
312
456
  - Code quality meets standards`;
313
457
  }
314
458
  generateFallbackTypes(projectContext) {
315
459
  const description = projectContext.description || "MyContext project";
316
- if (description.toLowerCase().includes("tic-tac-toe") ||
317
- description.toLowerCase().includes("game")) {
318
- return `// TypeScript interfaces for Tic-Tac-Toe Game
460
+ // Analyze project type from description
461
+ const isGame = description.toLowerCase().includes("game") ||
462
+ description.toLowerCase().includes("play") ||
463
+ description.toLowerCase().includes("tic-tac-toe") ||
464
+ description.toLowerCase().includes("chess") ||
465
+ description.toLowerCase().includes("puzzle");
466
+ const isEcommerce = description.toLowerCase().includes("shop") ||
467
+ description.toLowerCase().includes("store") ||
468
+ description.toLowerCase().includes("ecommerce") ||
469
+ description.toLowerCase().includes("marketplace");
470
+ const isDashboard = description.toLowerCase().includes("dashboard") ||
471
+ description.toLowerCase().includes("admin") ||
472
+ description.toLowerCase().includes("analytics") ||
473
+ description.toLowerCase().includes("monitoring");
474
+ const isSocial = description.toLowerCase().includes("social") ||
475
+ description.toLowerCase().includes("chat") ||
476
+ description.toLowerCase().includes("community") ||
477
+ description.toLowerCase().includes("network");
478
+ if (isGame) {
479
+ return `// TypeScript interfaces for ${description}
319
480
 
320
- export type Player = 'X' | 'O';
321
- export type CellValue = Player | null;
481
+ export type Player = string;
482
+ export type CellValue = any;
322
483
  export type GameStatus = 'playing' | 'won' | 'draw';
323
484
 
324
485
  export interface GameState {
325
- board: CellValue[][];
326
- currentPlayer: Player;
486
+ board: any[][];
487
+ currentPlayer: string;
327
488
  gameStatus: GameStatus;
328
- winner: Player | null;
329
- scores: Record<Player, number>;
489
+ winner: string | null;
490
+ scores: Record<string, number>;
330
491
  }
331
492
 
332
493
  export interface GameCellProps {
333
- value: CellValue;
494
+ value: any;
334
495
  position: [number, number];
335
496
  onClick: (position: [number, number]) => void;
336
497
  disabled: boolean;
337
498
  }
338
499
 
339
500
  export interface GameBoardProps {
340
- board: CellValue[][];
501
+ board: any[][];
341
502
  onCellClick: (position: [number, number]) => void;
342
503
  disabled: boolean;
343
504
  }
@@ -348,15 +509,129 @@ export interface GameControlsProps {
348
509
  }
349
510
 
350
511
  export interface GameStatusProps {
351
- currentPlayer: Player;
512
+ currentPlayer: string;
352
513
  gameStatus: GameStatus;
353
- winner: Player | null;
514
+ winner: string | null;
354
515
  }
355
516
 
356
517
  export interface ScoreBoardProps {
357
- scores: Record<Player, number>;
518
+ scores: Record<string, number>;
358
519
  }`;
359
520
  }
521
+ if (isEcommerce) {
522
+ return `// TypeScript interfaces for ${description}
523
+
524
+ export interface Product {
525
+ id: string;
526
+ name: string;
527
+ description: string;
528
+ price: number;
529
+ category: string;
530
+ images: string[];
531
+ inStock: boolean;
532
+ rating: number;
533
+ }
534
+
535
+ export interface CartItem {
536
+ productId: string;
537
+ quantity: number;
538
+ price: number;
539
+ product: Product;
540
+ }
541
+
542
+ export interface User {
543
+ id: string;
544
+ name: string;
545
+ email: string;
546
+ address: Address;
547
+ orders: Order[];
548
+ }
549
+
550
+ export interface Order {
551
+ id: string;
552
+ userId: string;
553
+ items: CartItem[];
554
+ total: number;
555
+ status: 'pending' | 'processing' | 'shipped' | 'delivered';
556
+ createdAt: Date;
557
+ }`;
558
+ }
559
+ if (isDashboard) {
560
+ return `// TypeScript interfaces for ${description}
561
+
562
+ export interface ChartData {
563
+ labels: string[];
564
+ datasets: {
565
+ label: string;
566
+ data: number[];
567
+ backgroundColor: string;
568
+ borderColor: string;
569
+ }[];
570
+ }
571
+
572
+ export interface Metric {
573
+ id: string;
574
+ name: string;
575
+ value: number;
576
+ change: number;
577
+ trend: 'up' | 'down' | 'stable';
578
+ }
579
+
580
+ export interface User {
581
+ id: string;
582
+ name: string;
583
+ email: string;
584
+ role: 'admin' | 'user' | 'viewer';
585
+ permissions: string[];
586
+ }
587
+
588
+ export interface DataPoint {
589
+ timestamp: Date;
590
+ value: number;
591
+ category: string;
592
+ }`;
593
+ }
594
+ if (isSocial) {
595
+ return `// TypeScript interfaces for ${description}
596
+
597
+ export interface User {
598
+ id: string;
599
+ name: string;
600
+ email: string;
601
+ avatar: string;
602
+ bio: string;
603
+ followers: string[];
604
+ following: string[];
605
+ }
606
+
607
+ export interface Post {
608
+ id: string;
609
+ userId: string;
610
+ content: string;
611
+ images: string[];
612
+ likes: string[];
613
+ comments: Comment[];
614
+ createdAt: Date;
615
+ }
616
+
617
+ export interface Comment {
618
+ id: string;
619
+ postId: string;
620
+ userId: string;
621
+ content: string;
622
+ createdAt: Date;
623
+ }
624
+
625
+ export interface Message {
626
+ id: string;
627
+ senderId: string;
628
+ receiverId: string;
629
+ content: string;
630
+ timestamp: Date;
631
+ isRead: boolean;
632
+ }`;
633
+ }
634
+ // Generic fallback for other project types
360
635
  return `// TypeScript interfaces for ${description}
361
636
 
362
637
  export interface ProjectConfig {
@@ -369,19 +644,54 @@ export interface User {
369
644
  id: string;
370
645
  name: string;
371
646
  email: string;
647
+ createdAt: Date;
648
+ updatedAt: Date;
649
+ }
650
+
651
+ export interface DataItem {
652
+ id: string;
653
+ title: string;
654
+ description: string;
655
+ createdAt: Date;
656
+ updatedAt: Date;
372
657
  }
373
658
 
374
659
  export interface ApiResponse<T> {
375
660
  success: boolean;
376
661
  data?: T;
377
662
  error?: string;
663
+ timestamp: Date;
664
+ }
665
+
666
+ export interface Pagination {
667
+ page: number;
668
+ limit: number;
669
+ total: number;
670
+ totalPages: number;
378
671
  }`;
379
672
  }
380
673
  generateFallbackBrand(projectContext) {
381
674
  const description = projectContext.description || "MyContext project";
382
- if (description.toLowerCase().includes("tic-tac-toe") ||
383
- description.toLowerCase().includes("game")) {
384
- return `# Brand Guidelines: Tic-Tac-Toe Game
675
+ // Analyze project type from description
676
+ const isGame = description.toLowerCase().includes("game") ||
677
+ description.toLowerCase().includes("play") ||
678
+ description.toLowerCase().includes("tic-tac-toe") ||
679
+ description.toLowerCase().includes("chess") ||
680
+ description.toLowerCase().includes("puzzle");
681
+ const isEcommerce = description.toLowerCase().includes("shop") ||
682
+ description.toLowerCase().includes("store") ||
683
+ description.toLowerCase().includes("ecommerce") ||
684
+ description.toLowerCase().includes("marketplace");
685
+ const isDashboard = description.toLowerCase().includes("dashboard") ||
686
+ description.toLowerCase().includes("admin") ||
687
+ description.toLowerCase().includes("analytics") ||
688
+ description.toLowerCase().includes("monitoring");
689
+ const isSocial = description.toLowerCase().includes("social") ||
690
+ description.toLowerCase().includes("chat") ||
691
+ description.toLowerCase().includes("community") ||
692
+ description.toLowerCase().includes("network");
693
+ if (isGame) {
694
+ return `# Brand Guidelines: ${description}
385
695
 
386
696
  ## Brand Identity
387
697
  A fun, engaging, and accessible game that brings people together through simple yet strategic gameplay.
@@ -400,8 +710,8 @@ A fun, engaging, and accessible game that brings people together through simple
400
710
  - Sizes: 14px (Body), 16px (Large), 20px (Heading), 24px (Title)
401
711
 
402
712
  ## Visual Elements
403
- - Game Board: Clean grid with subtle borders
404
- - Icons: Simple, recognizable X and O symbols
713
+ - Game Interface: Clean and intuitive design
714
+ - Icons: Simple, recognizable symbols
405
715
  - Buttons: Rounded corners with hover effects
406
716
  - Cards: Subtle shadows for depth
407
717
 
@@ -417,37 +727,175 @@ A fun, engaging, and accessible game that brings people together through simple
417
727
  - Ensure high contrast for accessibility
418
728
  - Keep animations smooth and purposeful`;
419
729
  }
730
+ if (isEcommerce) {
731
+ return `# Brand Guidelines: ${description}
732
+
733
+ ## Brand Identity
734
+ A professional, trustworthy, and user-friendly e-commerce platform that makes shopping easy and enjoyable.
735
+
736
+ ## Color Palette
737
+ - Primary: #2563EB (Blue) - Trust and reliability
738
+ - Secondary: #059669 (Green) - Success and growth
739
+ - Accent: #DC2626 (Red) - Urgency and action
740
+ - Neutral: #6B7280 (Gray) - Balance and stability
741
+ - Background: #FFFFFF (White) - Clean and modern feel
742
+ - Text: #1F2937 (Dark Gray) - Excellent readability
743
+
744
+ ## Typography
745
+ - Primary Font: Inter - Modern, clean, highly readable
746
+ - Weights: 400 (Regular), 500 (Medium), 600 (SemiBold), 700 (Bold)
747
+ - Sizes: 14px (Body), 16px (Large), 20px (Heading), 24px (Title)
748
+
749
+ ## Visual Elements
750
+ - Product Cards: Clean with subtle shadows
751
+ - Buttons: Clear call-to-action styling
752
+ - Icons: Simple and recognizable
753
+ - Layout: Grid-based for consistency
754
+
755
+ ## Brand Voice
756
+ - Professional and trustworthy
757
+ - Helpful and informative
758
+ - Clear and concise
759
+ - Customer-focused
760
+
761
+ ## Usage Guidelines
762
+ - Maintain consistent spacing (8px grid system)
763
+ - Use colors purposefully for actions and states
764
+ - Ensure high contrast for accessibility
765
+ - Keep design clean and uncluttered`;
766
+ }
767
+ if (isDashboard) {
768
+ return `# Brand Guidelines: ${description}
769
+
770
+ ## Brand Identity
771
+ A professional, data-driven, and user-friendly dashboard that provides clear insights and efficient management.
772
+
773
+ ## Color Palette
774
+ - Primary: #1E40AF (Blue) - Professional and trustworthy
775
+ - Secondary: #059669 (Green) - Success and positive data
776
+ - Accent: #DC2626 (Red) - Alerts and important information
777
+ - Neutral: #6B7280 (Gray) - Balance and stability
778
+ - Background: #FFFFFF (White) - Clean and modern feel
779
+ - Text: #1F2937 (Dark Gray) - Excellent readability
780
+
781
+ ## Typography
782
+ - Primary Font: Inter - Modern, clean, highly readable
783
+ - Weights: 400 (Regular), 500 (Medium), 600 (SemiBold), 700 (Bold)
784
+ - Sizes: 14px (Body), 16px (Large), 20px (Heading), 24px (Title)
785
+
786
+ ## Visual Elements
787
+ - Charts: Clean and easy to read
788
+ - Cards: Subtle shadows for depth
789
+ - Icons: Simple and functional
790
+ - Layout: Organized and structured
791
+
792
+ ## Brand Voice
793
+ - Professional and authoritative
794
+ - Clear and informative
795
+ - Data-focused and analytical
796
+ - User-friendly and accessible
797
+
798
+ ## Usage Guidelines
799
+ - Maintain consistent spacing (8px grid system)
800
+ - Use colors purposefully for data visualization
801
+ - Ensure high contrast for accessibility
802
+ - Keep design organized and uncluttered`;
803
+ }
804
+ if (isSocial) {
805
+ return `# Brand Guidelines: ${description}
806
+
807
+ ## Brand Identity
808
+ A friendly, inclusive, and engaging social platform that connects people and fosters meaningful interactions.
809
+
810
+ ## Color Palette
811
+ - Primary: #7C3AED (Purple) - Creative and social
812
+ - Secondary: #059669 (Green) - Growth and positivity
813
+ - Accent: #F59E0B (Amber) - Energy and excitement
814
+ - Neutral: #6B7280 (Gray) - Balance and stability
815
+ - Background: #FFFFFF (White) - Clean and modern feel
816
+ - Text: #1F2937 (Dark Gray) - Excellent readability
817
+
818
+ ## Typography
819
+ - Primary Font: Inter - Modern, clean, highly readable
820
+ - Weights: 400 (Regular), 500 (Medium), 600 (SemiBold), 700 (Bold)
821
+ - Sizes: 14px (Body), 16px (Large), 20px (Heading), 24px (Title)
822
+
823
+ ## Visual Elements
824
+ - Profile Cards: Personal and engaging
825
+ - Content Feed: Clean and easy to scan
826
+ - Icons: Friendly and approachable
827
+ - Layout: Social and interactive
828
+
829
+ ## Brand Voice
830
+ - Friendly and approachable
831
+ - Inclusive and welcoming
832
+ - Engaging and interactive
833
+ - Community-focused
834
+
835
+ ## Usage Guidelines
836
+ - Maintain consistent spacing (8px grid system)
837
+ - Use colors purposefully for engagement
838
+ - Ensure high contrast for accessibility
839
+ - Keep design social and inviting`;
840
+ }
841
+ // Generic fallback for other project types
420
842
  return `# Brand Guidelines: ${description}
421
843
 
422
844
  ## Brand Identity
423
- [To be defined based on project requirements]
845
+ A modern, professional, and user-friendly web application that delivers value through clean design and excellent user experience.
424
846
 
425
847
  ## Color Palette
426
- - Primary: #007bff (Blue)
427
- - Secondary: #6c757d (Gray)
428
- - Accent: #28a745 (Green)
429
- - Background: #ffffff (White)
430
- - Text: #212529 (Dark)
848
+ - Primary: #007bff (Blue) - Trust and reliability
849
+ - Secondary: #6c757d (Gray) - Balance and stability
850
+ - Accent: #28a745 (Green) - Success and positive outcomes
851
+ - Background: #ffffff (White) - Clean and modern feel
852
+ - Text: #212529 (Dark) - Excellent readability
431
853
 
432
854
  ## Typography
433
- - Font: Inter
434
- - Weights: 300, 400, 500, 600, 700
855
+ - Primary Font: Inter - Modern, clean, highly readable
856
+ - Weights: 400 (Regular), 500 (Medium), 600 (SemiBold), 700 (Bold)
857
+ - Sizes: 14px (Body), 16px (Large), 20px (Heading), 24px (Title)
435
858
 
436
859
  ## Visual Elements
437
860
  - Clean and modern design
438
- - Consistent spacing
861
+ - Consistent spacing and layout
862
+ - Subtle shadows and depth
439
863
  - Accessible color contrast
440
864
 
441
865
  ## Brand Voice
442
866
  - Professional and reliable
443
867
  - Clear and concise
444
- - User-focused`;
868
+ - User-focused and helpful
869
+ - Modern and innovative
870
+
871
+ ## Usage Guidelines
872
+ - Maintain consistent spacing (8px grid system)
873
+ - Use colors purposefully and consistently
874
+ - Ensure high contrast for accessibility
875
+ - Keep design clean and uncluttered`;
445
876
  }
446
877
  generateFallbackComponentList(projectContext) {
447
878
  // Generate a basic component list based on project description
448
879
  const description = projectContext.description || "MyContext project";
449
- if (description.toLowerCase().includes("tic-tac-toe") ||
450
- description.toLowerCase().includes("game")) {
880
+ // Analyze project type from description
881
+ const isGame = description.toLowerCase().includes("game") ||
882
+ description.toLowerCase().includes("play") ||
883
+ description.toLowerCase().includes("tic-tac-toe") ||
884
+ description.toLowerCase().includes("chess") ||
885
+ description.toLowerCase().includes("puzzle");
886
+ const isEcommerce = description.toLowerCase().includes("shop") ||
887
+ description.toLowerCase().includes("store") ||
888
+ description.toLowerCase().includes("ecommerce") ||
889
+ description.toLowerCase().includes("marketplace");
890
+ const isDashboard = description.toLowerCase().includes("dashboard") ||
891
+ description.toLowerCase().includes("admin") ||
892
+ description.toLowerCase().includes("analytics") ||
893
+ description.toLowerCase().includes("monitoring");
894
+ const isSocial = description.toLowerCase().includes("social") ||
895
+ description.toLowerCase().includes("chat") ||
896
+ description.toLowerCase().includes("community") ||
897
+ description.toLowerCase().includes("network");
898
+ if (isGame) {
451
899
  return JSON.stringify({
452
900
  groups: [
453
901
  {
@@ -455,8 +903,8 @@ A fun, engaging, and accessible game that brings people together through simple
455
903
  description: "Core game logic and state management",
456
904
  components: [
457
905
  {
458
- name: "TicTacToeGame",
459
- description: "Main game component with game logic and state management",
906
+ name: "GameEngine",
907
+ description: "Main game component with logic and state management",
460
908
  type: "interactive",
461
909
  priority: "high",
462
910
  dependencies: [],
@@ -465,34 +913,20 @@ A fun, engaging, and accessible game that brings people together through simple
465
913
  ],
466
914
  },
467
915
  {
468
- name: "game-board",
469
- description: "Game board and cell components",
916
+ name: "game-interface",
917
+ description: "Game interface and display components",
470
918
  components: [
471
919
  {
472
920
  name: "GameBoard",
473
- description: "3x3 grid container for the game board",
921
+ description: "Main game board or interface container",
474
922
  type: "layout",
475
923
  priority: "high",
476
- dependencies: ["GameCell"],
477
- tags: ["board", "grid", "layout"],
478
- },
479
- {
480
- name: "GameCell",
481
- description: "Individual cell in the game board grid",
482
- type: "interactive",
483
- priority: "high",
484
924
  dependencies: [],
485
- tags: ["cell", "interactive", "clickable"],
925
+ tags: ["board", "interface", "layout"],
486
926
  },
487
- ],
488
- },
489
- {
490
- name: "game-controls",
491
- description: "Game control and action components",
492
- components: [
493
927
  {
494
928
  name: "GameControls",
495
- description: "Reset and new game control buttons",
929
+ description: "Game control buttons and actions",
496
930
  type: "interactive",
497
931
  priority: "medium",
498
932
  dependencies: [],
@@ -506,7 +940,7 @@ A fun, engaging, and accessible game that brings people together through simple
506
940
  components: [
507
941
  {
508
942
  name: "GameStatus",
509
- description: "Current player turn and game status display",
943
+ description: "Current game state and player information",
510
944
  type: "display",
511
945
  priority: "medium",
512
946
  dependencies: [],
@@ -514,7 +948,7 @@ A fun, engaging, and accessible game that brings people together through simple
514
948
  },
515
949
  {
516
950
  name: "ScoreBoard",
517
- description: "Score tracking for X and O players",
951
+ description: "Score tracking and game statistics",
518
952
  type: "display",
519
953
  priority: "medium",
520
954
  dependencies: [],
@@ -525,23 +959,258 @@ A fun, engaging, and accessible game that brings people together through simple
525
959
  ],
526
960
  }, null, 2);
527
961
  }
528
- // Generic fallback
962
+ if (isEcommerce) {
963
+ return JSON.stringify({
964
+ groups: [
965
+ {
966
+ name: "catalog",
967
+ description: "Product catalog and browsing components",
968
+ components: [
969
+ {
970
+ name: "ProductGrid",
971
+ description: "Grid display of products with filtering",
972
+ type: "layout",
973
+ priority: "high",
974
+ dependencies: [],
975
+ tags: ["products", "catalog", "grid"],
976
+ },
977
+ {
978
+ name: "ProductCard",
979
+ description: "Individual product display card",
980
+ type: "display",
981
+ priority: "high",
982
+ dependencies: [],
983
+ tags: ["product", "card", "display"],
984
+ },
985
+ ],
986
+ },
987
+ {
988
+ name: "shopping",
989
+ description: "Shopping cart and checkout components",
990
+ components: [
991
+ {
992
+ name: "ShoppingCart",
993
+ description: "Shopping cart with item management",
994
+ type: "interactive",
995
+ priority: "high",
996
+ dependencies: [],
997
+ tags: ["cart", "shopping", "interactive"],
998
+ },
999
+ {
1000
+ name: "CheckoutForm",
1001
+ description: "Checkout process and payment form",
1002
+ type: "form",
1003
+ priority: "high",
1004
+ dependencies: [],
1005
+ tags: ["checkout", "form", "payment"],
1006
+ },
1007
+ ],
1008
+ },
1009
+ {
1010
+ name: "user",
1011
+ description: "User authentication and account components",
1012
+ components: [
1013
+ {
1014
+ name: "UserProfile",
1015
+ description: "User profile and account management",
1016
+ type: "display",
1017
+ priority: "medium",
1018
+ dependencies: [],
1019
+ tags: ["user", "profile", "account"],
1020
+ },
1021
+ ],
1022
+ },
1023
+ ],
1024
+ }, null, 2);
1025
+ }
1026
+ if (isDashboard) {
1027
+ return JSON.stringify({
1028
+ groups: [
1029
+ {
1030
+ name: "charts",
1031
+ description: "Data visualization and chart components",
1032
+ components: [
1033
+ {
1034
+ name: "ChartContainer",
1035
+ description: "Container for various chart types",
1036
+ type: "display",
1037
+ priority: "high",
1038
+ dependencies: [],
1039
+ tags: ["charts", "visualization", "data"],
1040
+ },
1041
+ {
1042
+ name: "DataTable",
1043
+ description: "Tabular data display with sorting",
1044
+ type: "display",
1045
+ priority: "high",
1046
+ dependencies: [],
1047
+ tags: ["table", "data", "display"],
1048
+ },
1049
+ ],
1050
+ },
1051
+ {
1052
+ name: "navigation",
1053
+ description: "Dashboard navigation and layout",
1054
+ components: [
1055
+ {
1056
+ name: "Sidebar",
1057
+ description: "Main navigation sidebar",
1058
+ type: "layout",
1059
+ priority: "high",
1060
+ dependencies: [],
1061
+ tags: ["sidebar", "navigation", "layout"],
1062
+ },
1063
+ {
1064
+ name: "Header",
1065
+ description: "Dashboard header with user info",
1066
+ type: "layout",
1067
+ priority: "medium",
1068
+ dependencies: [],
1069
+ tags: ["header", "navigation", "layout"],
1070
+ },
1071
+ ],
1072
+ },
1073
+ {
1074
+ name: "widgets",
1075
+ description: "Dashboard widget components",
1076
+ components: [
1077
+ {
1078
+ name: "MetricCard",
1079
+ description: "Key metric display card",
1080
+ type: "display",
1081
+ priority: "medium",
1082
+ dependencies: [],
1083
+ tags: ["metric", "card", "display"],
1084
+ },
1085
+ ],
1086
+ },
1087
+ ],
1088
+ }, null, 2);
1089
+ }
1090
+ if (isSocial) {
1091
+ return JSON.stringify({
1092
+ groups: [
1093
+ {
1094
+ name: "profiles",
1095
+ description: "User profile and connection components",
1096
+ components: [
1097
+ {
1098
+ name: "UserProfile",
1099
+ description: "User profile display and editing",
1100
+ type: "display",
1101
+ priority: "high",
1102
+ dependencies: [],
1103
+ tags: ["profile", "user", "display"],
1104
+ },
1105
+ {
1106
+ name: "ConnectionList",
1107
+ description: "List of user connections and friends",
1108
+ type: "display",
1109
+ priority: "medium",
1110
+ dependencies: [],
1111
+ tags: ["connections", "friends", "list"],
1112
+ },
1113
+ ],
1114
+ },
1115
+ {
1116
+ name: "content",
1117
+ description: "Content sharing and interaction components",
1118
+ components: [
1119
+ {
1120
+ name: "ContentFeed",
1121
+ description: "Main content feed with posts",
1122
+ type: "display",
1123
+ priority: "high",
1124
+ dependencies: [],
1125
+ tags: ["feed", "content", "posts"],
1126
+ },
1127
+ {
1128
+ name: "PostCard",
1129
+ description: "Individual post display card",
1130
+ type: "display",
1131
+ priority: "high",
1132
+ dependencies: [],
1133
+ tags: ["post", "card", "content"],
1134
+ },
1135
+ ],
1136
+ },
1137
+ {
1138
+ name: "messaging",
1139
+ description: "Real-time messaging components",
1140
+ components: [
1141
+ {
1142
+ name: "ChatInterface",
1143
+ description: "Real-time chat interface",
1144
+ type: "interactive",
1145
+ priority: "high",
1146
+ dependencies: [],
1147
+ tags: ["chat", "messaging", "real-time"],
1148
+ },
1149
+ ],
1150
+ },
1151
+ ],
1152
+ }, null, 2);
1153
+ }
1154
+ // Generic fallback for other project types
529
1155
  return JSON.stringify({
530
- components: [
1156
+ groups: [
531
1157
  {
532
- name: "Header",
533
- description: "Main navigation header",
534
- group: "navigation",
1158
+ name: "navigation",
1159
+ description: "Main navigation and layout components",
1160
+ components: [
1161
+ {
1162
+ name: "Header",
1163
+ description: "Main navigation header",
1164
+ type: "layout",
1165
+ priority: "high",
1166
+ dependencies: [],
1167
+ tags: ["navigation", "header", "layout"],
1168
+ },
1169
+ ],
535
1170
  },
536
1171
  {
537
- name: "Button",
538
- description: "Reusable button component",
539
- group: "ui",
1172
+ name: "ui",
1173
+ description: "Reusable UI components",
1174
+ components: [
1175
+ {
1176
+ name: "Button",
1177
+ description: "Reusable button component",
1178
+ type: "interactive",
1179
+ priority: "high",
1180
+ dependencies: [],
1181
+ tags: ["button", "ui", "interactive"],
1182
+ },
1183
+ {
1184
+ name: "Card",
1185
+ description: "Reusable card component",
1186
+ type: "display",
1187
+ priority: "medium",
1188
+ dependencies: [],
1189
+ tags: ["card", "ui", "display"],
1190
+ },
1191
+ ],
540
1192
  },
541
1193
  {
542
- name: "Container",
543
- description: "Main content container",
544
- group: "layout",
1194
+ name: "layout",
1195
+ description: "Layout and container components",
1196
+ components: [
1197
+ {
1198
+ name: "Container",
1199
+ description: "Main content container",
1200
+ type: "layout",
1201
+ priority: "medium",
1202
+ dependencies: [],
1203
+ tags: ["container", "layout", "wrapper"],
1204
+ },
1205
+ {
1206
+ name: "Grid",
1207
+ description: "Responsive grid layout system",
1208
+ type: "layout",
1209
+ priority: "medium",
1210
+ dependencies: [],
1211
+ tags: ["grid", "layout", "responsive"],
1212
+ },
1213
+ ],
545
1214
  },
546
1215
  ],
547
1216
  }, null, 2);
@@ -1 +1 @@
1
- {"version":3,"file":"generate.js","sourceRoot":"","sources":["../../src/commands/generate.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAA0B;AAE1B,gDAAwB;AACxB,8CAAmD;AACnD,oDAAwD;AACxD,wDAAqD;AAErD,6CAA+B;AAyG/B,MAAa,eAAe;IAK1B;QAJQ,OAAE,GAAG,IAAI,8BAAiB,EAAE,CAAC;QAKnC,IAAI,CAAC,OAAO,GAAG,IAAI,yBAAe,CAAC,eAAe,CAAC,CAAC;QACpD,IAAI,CAAC,YAAY,GAAG,IAAI,2BAAY,EAAE,CAAC;IACzC,CAAC;IAED,KAAK,CAAC,OAAO,CAA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iB;gBACpB,QAAQ,GAAG,mBAAmB,SAAS,OAAO,CAAC;gBAC/C,MAAM;YACR;gBACE,QAAQ,GAAG,GAAG,IAAI,IAAI,SAAS,MAAM,CAAC;QAC1C,CAAC;QAED,MAAM,UAAU,GAAG,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAC;QAClD,MAAM,EAAE,CAAC,SAAS,CAAC,cAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,CAAC;QAC7C,MAAM,EAAE,CAAC,SAAS,CAAC,UAAU,EAAE,OAAO,CAAC,CAAC;QAExC,OAAO,UAAU,CAAC;IACpB,CAAC;CACF;AA5yCD,0CA4yCC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mycontext-cli",
3
- "version": "0.2.5",
3
+ "version": "0.2.7",
4
4
  "description": "MyContext CLI - AI-powered component generation with shadcn/ui and Next.js 15 integration",
5
5
  "main": "dist/cli.js",
6
6
  "bin": {