Commit Graph

560 Commits

Author SHA1 Message Date
Dani 96be4c8603 feat: Update version numbers and implement notification system for conversation state changes 2025-07-11 21:15:37 -04:00
Dani 68314d0558 style: Remove emojis from dashboard buttons for cleaner interface
- Remove emojis from notification and refresh buttons
- Clean, professional button text appearance
- Maintain all functionality while improving visual clarity
- Better accessibility and readability

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 20:31:44 -04:00
Dani 966fddcd28 feat: Add browser notifications for Claude Code analytics dashboard
- Implement browser notification API integration
- Add notification button to enable/disable alerts
- Detect conversation state changes (Awaiting user input...)
- Send notifications when Claude is waiting for user response
- Include clickable notifications that focus the conversation
- Auto-close notifications after 10 seconds
- Visual button states (enabled/disabled/denied)
- Test notification on first enable
- Improve productivity by alerting users when Claude needs input

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 20:27:46 -04:00
Dani 05c4307cf7 fix: Update CodeGPT API key and increment package version to 1.6.3 2025-07-11 12:42:04 -04:00
Dani 713135545d feat: Set Analytics Dashboard as default selection in welcome screen
- Change default selection from 'setup' to 'analytics'
- Promote analytics dashboard usage as primary feature
- Users can still easily select Project Setup if needed
- Improves discoverability of monitoring capabilities

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 12:29:26 -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 c1299c7570 feat: Add interactive welcome screen with choice between analytics and setup
- Add initial prompt to choose between Analytics Dashboard or Project Setup
- Show clear descriptions for each option with emojis
- Only show prompt when no specific CLI flags are provided
- Maintain existing behavior for users with flags (--yes, --language, etc.)
- Improve onboarding experience for new users

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-11 12:23:03 -04:00
Dani 22483bccc9 docs: Update README with quick start instructions for analytics dashboard and refine setup section 2025-07-11 10:08:44 -04:00
Dani 4bde102a69 docs: Enhance README and analytics dashboard with chart controls and date filtering 2025-07-11 09:44:49 -04:00
Dani d7c1191c02 chore: Update version to 1.5.18 and sync web dashboard
- Bump version to 1.5.18
- Sync web dashboard HTML with latest analytics improvements
- Add process indicators and orphan process handling UI elements

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 21:55:52 -04:00
Dani 2c6cac07d1 fix: Improve analytics dashboard conversation detection and filtering
- Refine conversation status detection to reduce false positives
- Filter out system processes and orphan process noise
- Balance active conversation detection for better accuracy
- Only show truly active conversations in dashboard
- Remove orphan process detection to reduce UI clutter

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-10 21:55:04 -04:00
Dani 8abb8d5a4b Refactor analytics module: rename totalSessions to totalConversations, enhance token usage calculations, and improve project and conversation handling. Add model info extraction and update web dashboard to reflect changes in terminology and data structure. 2025-07-10 20:31:41 -04:00
Dani 0974d13b23 chore: update version to 1.5.14 and enhance web dashboard styling and functionality
- Bump version in package.json from 1.5.12 to 1.5.14.
- Add CSS styles for improved layout and status indicators in the web dashboard.
- Introduce a new message type indicator for user and assistant messages with tooltips.
- Implement logic to determine message types (success, error, tool execution, pending) based on message content.
- Refactor message rendering to include message type indicators.
2025-07-10 16:58:29 -04:00
Dani b5123393ee feat: Add analytics option to onboarding prompts and handle dashboard launch
- Updated onboarding prompts to include an option for launching the Claude Code Analytics Dashboard.
- Modified the createClaudeConfig function to handle the analytics option and initiate the dashboard if selected by the user.
2025-07-10 16:41:38 -04:00
Dani d6a8d25b5a feat: Add real-time analytics dashboard for monitoring Claude Code usage 2025-07-10 15:13:55 -04:00
Dani 1e583c9a07 feat: Add short command aliases for easier CLI usage 2025-07-10 14:39:42 -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 3bcc595287 chore: remove README.md and update package versions to 1.4.3 2025-07-09 19:34:41 -04:00
Dani c2d53ebd01 feat: Improve table formatting in --command-stats with dynamic columns and separators
- Added dynamic column width calculation based on actual command names
- Implemented visual separators (│) between columns for better readability
- Command names are capped at 25 characters with ellipsis truncation
- Responsive table width that adapts to content
- Better alignment and spacing for all columns
- Cleaner, more professional table appearance
- Fixes deformed tables when command names are long

Example improvement:
Before: command-name-is-very-long1.2KB  25    180   350    7/9/2025
After:  command-name-is-very-l... │ 1.2KB  │ 25    │ 180   │ 350           │ 7/9/2025

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 17:18:15 -04:00
Dani c0f7b921c8 feat: Improve --command-stats with 'Tokens (aprox)' and setup prompt when no commands
- Changed 'Tokens' column header to 'Tokens (aprox)' for clarity
- Added promptSetupWhenNoCommands() function to offer setup when no commands exist
- Updated table width to accommodate longer header (97 characters)
- When no .claude/commands directory is found, offers to start Claude Code Templates setup
- Improved user experience by providing clear next steps
- Returns appropriate boolean values from displayCommandStats for flow control
- Seamless integration between command analysis and initial setup

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 17:09:37 -04:00
Dani 10eb5ef7f4 feat: Add token count column to --command-stats table
- Added estimateTokens() function for token estimation based on content analysis
- Considers markdown formatting, code blocks, and text complexity
- New 'Tokens' column in command analysis table with magenta color
- Updated table width and formatting to accommodate token data
- Shows total token count in summary (e.g., '~3,833 tokens total')
- Helps users understand command complexity in terms of Claude token usage
- Essential for managing prompt lengths and optimization decisions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 16:47:17 -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 3edd714383 chore: Bump version to 1.3.10 2025-07-09 16:30:24 -04:00
Dani cabf65d513 cleanup: Remove all duplicate language directories and fix nested structure
- Removed duplicate language directories from repository root (common/, go/, javascript-typescript/, python/, rust/)
- Fixed nested cli-tool/cli-tool/ directory structure
- All templates now centralized in cli-tool/templates/ (single source of truth)
- Clean repository structure with no duplication
- CLI functionality verified and working correctly

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-09 16:19:40 -04:00
Dani 8e9bbbfa25 fix: Update version to 1.3.8 in package.json and package-lock.json 2025-07-08 19:03:57 -04:00
Dani 837651c033 feat: Enhance post-installation validation to analyze current project structure
- Updated validation prompt to include project structure analysis
- Claude now examines package.json, src/, and other project files
- Provides project-specific recommendations based on actual dependencies
- Compares installed configuration with real project setup
- Makes more targeted suggestions for improvement

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 12:39:28 -04:00
Dani e1aec514cd fix: Resolve post-installation validation command execution issue
- Fixed spawn command to properly execute 'claude "prompt"' format
- Changed from spawn('claude', [prompt]) to spawn('sh', ['-c', claudeCommand])
- Now correctly passes validation prompt to Claude Code CLI
- Post-installation validation now works as intended

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 11:04:09 -04:00
Dani 8ca974d401 fix: Improve post-installation validation prompt to be more specific about Claude Code configuration files
- Made validation prompt more explicit about reviewing CLAUDE.md, .claude/settings.json, .claude/commands/, and .mcp.json
- Fixed command structure for proper Claude Code CLI integration
- Improved error handling for validation process

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 10:46:45 -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 cc134f09b6 feat: Add post-installation Claude Code validation to onboarding
- Added runPostInstallationValidation function to file-operations.js
- Integrated automatic validation prompt after successful installation
- Claude Code now reviews installed configurations automatically
- Added comprehensive validation prompt with project-specific context
- Users can skip validation or run it to ensure proper setup
- Updated CLI README with validation documentation step 9
- Added validation feature to Features section
- Graceful error handling when Claude Code CLI not available

New onboarding flow:
1. Language selection
2. Framework selection
3. Command selection
4. Hook selection
5. MCP server selection
6. Final confirmation
7. Installation
8. Post-installation validation 🆕

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 09:38:56 -04:00
Dani dd85664195 docs: Update README for improved usage instructions and remove redundant quick start section 2025-07-07 10:04:34 -04:00
Dani b1cd3e6727 Remove deprecated files and configurations from the CLI tool and test setup, including MCP configurations, CLAUDE documentation, and various command definitions for React development, debugging, state management, testing, and TypeScript migration. 2025-07-07 09:37:41 -04:00
Dani d6faaf39c8 docs: Add MCP server selection to README Step-by-Step Walkthrough
- Added step 6 "MCP Server Selection" with examples of available servers
- Updated final confirmation to include MCP count
- Updated installation output to show MCP server installation
- Added MCP Servers section explaining Model Context Protocol capabilities
- Updated Core Files to include .mcp.json configuration
- Improved development guidelines for open source contributions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 09:25:52 -04:00
Dani 26fa2c1e93 add package.json files for test-latest and test-latest/test-latest directories 2025-07-07 09:19:33 -04:00
Dani 51afd883ea fix: Include templates in npm package to resolve missing commands issue
- Moved all templates (common, javascript-typescript, python, go, rust) to cli-tool/templates/
- Updated command-scanner.js, file-operations.js, and hook-scanner.js to use local templates
- Added templates/ to package.json files array for npm publishing
- Fixed React and all framework commands not appearing in CLI selection
- All templates now properly bundled with npm package

This resolves the issue where npx claude-code-templates@latest showed empty command selection
because templates were not included in the published package.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 09:15:19 -04:00
Dani 6354e063b3 bump: Update version to 1.3.2
- React commands display issue completely resolved
- All tests passing successfully
- Ready for npm publish

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 09:08:13 -04:00
Dani 1d046cb911 fix: Resolve React commands CLI display issue by removing problematic CustomCheckboxPrompt
- Fixed React commands not appearing in CLI selection interface
- Removed CustomCheckboxPrompt class that was interfering with choice display
- React commands (component, hooks, state-management) now show correctly
- All interactive steps (commands, hooks, MCPs) now work properly
- Verified with comprehensive testing suite

Resolves issue where command selection appeared empty despite commands being available.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 09:07:47 -04:00
Dani 32229e36e6 bump: Update version to 1.3.1
- Fix React commands CLI display issue resolved
- All tests passing successfully
- Ready for npm publish

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-07 08:55:08 -04:00
Dani 97135ec48a Add Flask route generator and testing suite documentation
- Created a new markdown file for Flask route generation with examples and best practices.
- Added comprehensive testing suite documentation for Flask applications using pytest.
- Included project configuration guidelines for Flask applications.
- Introduced a new MCP configuration file for Rust SDKs and services.
2025-07-07 08:28:01 -04:00
Dani 91cb4d527f feat: Enhance CLI tool with selective automation hooks and improved configuration
- Updated README.md to reflect new features including command and hook selection.
- Bumped version to 1.2.1 in package.json and updated description.
- Implemented hook scanning functionality in hook-scanner.js to manage automation hooks.
- Modified file-operations.js to handle settings.json with selected hooks.
- Added prompts for hook selection in prompts.js, allowing users to choose automation hooks interactively.
- Enhanced templates for JavaScript, Python, Go, and Rust to include optimized configurations and hooks.
- Updated test scripts to validate hooks functionality and ensure proper configuration in settings.json.
- Improved command structures in settings.json for JavaScript/TypeScript to enhance functionality.
2025-07-06 10:27:18 -04:00
Dani 39e2c599e8 Add comprehensive testing infrastructure
Added complete testing suite for CLI commands including:
- Basic and detailed test scripts with automated scenarios
- Makefile for easy test execution
- NPM scripts integration with pretest hooks
- Testing guide with manual and automated procedures
- Pre-publish test validation in package.json
- Coverage for all language/framework combinations
- Error scenario testing and edge cases

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-06 09:06:59 -04:00
Dani f6b7b95ce3 Bump version to 1.1.7 2025-07-06 09:02:42 -04:00
Dani 9e97b39666 Add space key instruction to command selection prompts
Updated checkbox prompt messages to include "(use space to select)" instruction to guide users on how to select/deselect commands in the interactive setup.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-06 09:02:23 -04:00
Dani d761d97f5a Bump version to 1.1.6 2025-07-06 08:59:57 -04:00
Dani 1d9eafa3f2 Fix checkbox help text suppression
Fixed the error where the help text removal was causing undefined replace errors. Now properly suppress the help text by setting dontShowHints = true in the constructor instead of overriding render methods.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-06 08:59:40 -04:00
Dani c37b776589 Bump version to 1.1.5 in package-lock.json 2025-07-06 08:56:08 -04:00
Dani 42032ae370 Bump version to 1.1.5 2025-07-06 08:55:39 -04:00
Dani f486faba03 Remove help text from checkbox prompts
Suppress the default inquirer help text "(Press <space> to select, <a> to toggle all, <i> to invert selection, and <enter> to proceed)" from checkbox prompts to provide a cleaner user experience.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-06 08:55:24 -04:00