13 Commits

Author SHA1 Message Date
daniel b0209b1209 feat: Implement individual component installation system
- Add --agent, --command, --mcp options to CLI
- Implement installIndividualAgent, installIndividualCommand, installIndividualMCP functions
- Dynamic component detection from cli-tool/components directory
- Update web interface install commands to use new CLI options
- Fix infinite recursion in agent installation
- Proper error handling and component listing when not found

Installation examples:
- npx claude-code-templates@latest --agent=react-performance-optimization --yes
- npx claude-code-templates@latest --command=generate-tests --yes
- npx claude-code-templates@latest --mcp=postgresql-integration --yes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 13:22:36 -05:00
Daniel Avila 441940264e Feat/improve startup and framework structure (#22)
* feat: Enhanced analytics dashboard with custom tool modals

- Implemented custom modals for all Claude Code tools (Read, Edit, Write, Bash, Glob, Grep, TodoWrite)
- Added intelligent diff viewer for Edit tool with dual modes (By Lines vs Smart Diff)
- Enhanced tool parameter visualization with project-specific insights
- Improved modal consistency with unified design patterns
- Added comprehensive CSS styling for all tool modals
- Fixed modal functionality and error handling across all tools

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: improve startup screen and fix framework structure

- Redesign compact ASCII art for better terminal usage
- Add version info and documentation links to startup screen
- Fix frameworks → examples directory structure consistency
- Update all code references to use examples/ instead of frameworks/
- Fix Jest configuration typo (moduleNameMapping → moduleNameMapper)
- Add new agents.js module for agent management

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* chore: bump version to 1.12.1 for release

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-28 15:45:14 -05:00
Daniel Avila 4fa14a6a44 feat: Implement Claude Code Console Bridge and Enhanced State Detection (#14)
* feat: Enhance DataService with paginated conversations and improved error handling

- Added `getConversationsPaginated` method to fetch conversations with pagination support.
- Improved error handling in `cachedFetch` to provide clearer messages and fallback behavior.
- Updated WebSocket integration to handle connection failures with fallback polling.
- Reduced WebSocket auto-reconnect attempts and disabled auto-reconnect to minimize console noise.
- Added CORS middleware to the web server for better API accessibility.
- Implemented paginated conversations endpoint in the server.
- Added conversation messages endpoint to retrieve messages for a specific conversation.
- Enhanced conversation analysis to include detailed session data and compatibility with original dashboard.

* feat: Implement real-time conversation change handling and notifications

- Added handleConversationChange method to ClaudeAnalytics for processing updates to conversation files.
- Integrated WebSocket notifications for new messages in conversations.
- Enhanced setupFileWatchers to include conversation change callbacks.
- Updated conversation state API to calculate states for all conversations, improving performance and accuracy.
- Introduced pagination for conversation messages endpoint to support large message sets.
- Implemented cache management endpoint for clearing specific cache types.
- Enhanced DataCache and ConversationAnalyzer to support tool correlation in message parsing.
- Created ToolDisplay component for safe rendering of tool uses and results in the analytics dashboard.
- Added comprehensive documentation for Claude data structures and formats.

* feat: Enhance real-time messaging and dashboard features

- Improved logging for new messages in DataService to include message data.
- Increased WebSocket reconnection attempts for better reliability.
- Enabled auto-reconnect in WebSocketService for real-time updates.
- Updated conversation change handling in ClaudeAnalytics to include file path.
- Enhanced error handling and logging in ConversationAnalyzer and DataCache.
- Added new settings file for local permissions.
- Introduced a new Chats Dashboard option in the main menu.
- Created detailed architecture documentation for the analytics web application.
- Deprecated old main.js and Dashboard.js files in favor of a modular structure.

* feat: Implement real-time message handling and improve logging in DataService and AgentsPage

* feat: Implement comprehensive conversation state detection improvements

- Enhanced frontend message analysis for tool execution and content analysis.
- Introduced file activity detection to accurately identify user typing.
- Adopted a WebSocket-first approach for real-time state updates.
- Expanded state vocabulary with new contextual states and visual indicators.
- Improved state banner display with new CSS classes.
- Integrated system components for cohesive state management.
- Added health check feature to validate system requirements and configurations.
- Developed ConsoleBridge for web-based interaction with Claude Code processes.
- Created test script for ConsoleBridge to facilitate integration testing.
2025-07-22 19:31:11 -04:00
Dani d45a3de92d feat: Add comprehensive Health Check feature with enhanced UX
- Add Health Check as second menu option in CLI
- Comprehensive system validation:
  * System requirements (OS, Node.js, memory, network)
  * Claude Code setup (installation, auth, permissions)
  * Project configuration (structure, settings files)
  * Custom commands and hooks validation
  * Settings.json analysis (user/project/local)
- Interactive UX with ora spinners and immediate results
- 3-second pacing between categories for better visual flow
- Detailed health score with actionable recommendations
- Settings validation with security checks and best practices
- Enhanced navigation flow returning to main menu
- Fix Project Setup flow from both health check and direct menu selection
- Update README documentation with Health Check feature
- Add CLI aliases: --health-check, --health, --check, --verify

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 10:28:56 -04:00
Dani a93a86634f fix: Remove automatic help display that interfered with interactive welcome
- Remove automatic help output when no arguments provided
- Allow interactive welcome screen to show cleanly
- Users can still access help with --help flag
- Fixes clean onboarding experience

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 12:26:55 -04:00
Dani d6a8d25b5a feat: Add real-time analytics dashboard for monitoring Claude Code usage 2025-07-10 15:13:55 -04:00
Dani 48aa5ccb53 feat: Support singular and plural options for command, hook, and MCP stats analysis 2025-07-10 14:28:43 -04:00
Dani b1caacf39d feat: Add MCP server analysis functionality with --mcp-stats command 2025-07-10 14:19:58 -04:00
Dani ca922ebbdf feat: Add hook analysis functionality with --hook-stats command and update settings 2025-07-10 13:01:26 -04:00
Dani 91edf25760 feat: Add --command-stats functionality for command analysis and optimization
- Added --command-stats CLI option to analyze existing Claude Code commands
- Created command-stats.js module with comprehensive analysis functions
- Displays command statistics in formatted table (name, size, lines, words, last modified)
- Calculates totals and provides project overview
- Interactive prompt for command optimization using Claude Code
- Generates intelligent optimization prompts based on project structure
- Integrates with existing CLI workflow and error handling
- Helps users optimize their .claude/commands for their specific project setup

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 16:43:21 -04:00
Dani e271e9d399 fix: Use dynamic version from package.json instead of hardcoded 1.0.0
- Fixed version command to show correct version (1.3.5)
- Changed bin/create-claude-config.js to read version from package.json
- Version 1.3.4 was published but showed wrong version number
- Now --version will show the actual published version

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 10:33:21 -04:00
Dani d2d3a13c62 Complete internationalization and feature improvements for v1.1.1
- Fix ASCII art to properly display "CLAUDE CODE TEMPLATES"
- Add back navigation functionality to CLI prompts
- Implement framework-specific configurations (React, Vue, Angular, Node.js)
- Mark Python, Rust, Go as "Coming Soon" for first release
- Fix .mcp.json file copying during installation
- Remove non-functional "additional features" prompts
- Translate all Spanish content to English for open-source publication
- Add comprehensive template synchronization system
- Enhance file operations with framework-specific command copying
- Update documentation and README files
- Add new command scanner and utility modules
- Create framework-specific example configurations

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-04 15:47:09 -04:00
Dani 043bae5218 Add comprehensive CLAUDE.md and README.md templates for various languages and frameworks
- Introduced CLAUDE.md with universal development guidelines, project structure, and best practices for JavaScript/TypeScript and Python.
- Created README.md files for common Claude Code templates, Go, JavaScript/TypeScript, and Python projects.
- Added specific command templates for JavaScript/TypeScript, including API endpoint, debug, lint, npm scripts, React component, refactor, test, and TypeScript migration commands.
- Implemented hooks for formatting and linting on save in JavaScript/TypeScript projects.
- Established settings.json for JavaScript/TypeScript projects with permissions and environment variables.
- Developed project structure guidelines for JavaScript/TypeScript and Python projects.
- Created example projects for React and Node.js APIs with corresponding CLAUDE.md files.
- Laid groundwork for future Rust and Go templates with placeholder README.md files.
- Set up package.json for test setup with React dependencies.
2025-07-03 23:07:56 -04:00