115 Commits

Author SHA1 Message Date
Dani c11c7452cf chore: bump version to 1.14.9
- Released with MCP installation deep merge fix
- Fixes MCP server configuration overwriting issues
- Published to npm registry

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-01 06:27:49 -04:00
Daniel Avila 6e3299bddd fix: implement deep merge for MCP server configurations (#51)
- Fix MCP installation overwriting existing mcpServers configurations
- Add deep merge logic specifically for mcpServers key to preserve existing MCP entries
- Ensure individual MCP installations (--mcp=<name>) properly merge with existing .mcp.json
- Tested with multiple MCP installations (memory-integration, filesystem-access)

Fixes issue where installing a new MCP would overwrite all existing MCP server configurations
due to shallow merge behavior of spread operator.

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

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-01 06:25:50 -04:00
Dani 54abe60522 refactor: Remove unused database optimization agent and telemetry API 2025-07-31 18:59:16 -04:00
Dani fb26d50f80 feat: Add comprehensive command documentation for CLI tool
- Introduced commands for cleaning codebase, committing changes, and managing pull requests.
- Added guidelines for creating Jobs to be Done (JTBD) and Product Requirements Documents (PRD).
- Implemented commands for managing project todos and updating branch names.
- Developed integration testing plan and documentation update commands.
- Created commands for handling GitHub issues, PR reviews, and release processes.
- Added functionality for creating and managing Git worktrees for open PRs.
- Established protocols for verifying repository state and fixing issues with Husky commands.
- Enhanced documentation with detailed instructions and best practices for each command.
2025-07-31 18:28:14 -04:00
Dani 7e54411fd3 feat: update default view to agents and adjust filter button order in documentation 2025-07-31 18:15:27 -04:00
Dani a8c71576ca Add new agent specifications for various development roles
- Introduced `dx-optimizer` for enhancing developer experience and workflows.
- Added `error-detective` for log analysis and error pattern recognition.
- Created `frontend-developer` for building React components and optimizing performance.
- Implemented `golang-pro` for idiomatic Go code and concurrency optimization.
- Developed `graphql-architect` for designing GraphQL schemas and resolvers.
- Established `incident-responder` for managing production incidents effectively.
- Launched `ios-developer` for native iOS app development with Swift/SwiftUI.
- Added `javascript-pro` for modern JavaScript practices and async programming.
- Created `legacy-modernizer` for refactoring legacy codebases and frameworks.
- Introduced `legal-advisor` for drafting compliance and legal documentation.
- Developed `ml-engineer` for implementing machine learning pipelines and monitoring.
- Added `mlops-engineer` for managing ML infrastructure and automation.
- Created `mobile-developer` for cross-platform app development with React Native/Flutter.
- Established `network-engineer` for debugging and optimizing network configurations.
- Launched `payment-integration` for secure payment processing and compliance.
- Added `performance-engineer` for application profiling and optimization strategies.
- Created `php-pro` for writing idiomatic PHP code with performance focus.
- Introduced `prompt-engineer` for optimizing prompts for LLMs and AI systems.
- Developed `python-pro` for clean and performant Python code practices.
- Added `quant-analyst` for financial modeling and trading strategy development.
- Established `risk-manager` for portfolio risk assessment and management.
- Launched `rust-pro` for safe and performant systems programming in Rust.
- Created `sales-automator` for drafting sales outreach materials and strategies.
- Introduced `search-specialist` for advanced web research and information synthesis.
- Developed `security-auditor` for application security reviews and compliance.
- Added `sql-pro` for complex SQL query optimization and database design.
- Established `terraform-specialist` for infrastructure as code best practices.
- Launched `test-automator` for comprehensive test suite creation and CI integration.
- Created `ui-ux-designer` for user-centered design and interface optimization.
2025-07-31 17:53:48 -04:00
Dani 9914e3606c feat: update version to 1.14.8 and add database optimization agent 2025-07-31 17:27:06 -04:00
Dani cf3fe394c2 feat: update tracking service to use GitHub Pages endpoint
- Switch from Vercel to GitHub Pages tracking endpoint
- Use custom domain aitmpl.com for tracking requests
- Verified working with successful 200 responses
- Completely anonymous tracking through GitHub Pages infrastructure
2025-07-31 17:15:03 -04:00
Dani 67b75cbd57 feat: implement public telemetry tracking system
- Add public telemetry endpoint that returns 1x1 GIF (like Google Analytics)
- Enable anonymous tracking via GET requests with no-cors mode
- Endpoint creates GitHub issues for existing analytics workflow
- Maintains full compatibility with current download-stats.json system
- No authentication required - completely anonymous tracking
2025-07-31 13:35:02 -04:00
Dani 96921b702f temp: disable tracking until endpoint is properly configured
- Temporarily disable anonymous tracking to resolve authentication issues
- Vercel endpoint requires authentication configuration
- CLI functionality works perfectly without tracking
- TODO: Re-enable tracking once endpoint configuration is resolved
2025-07-31 13:23:29 -04:00
Dani d9832ff2d9 feat: implement Vercel serverless function for anonymous tracking
- Replace GitHub repository dispatch with Vercel function
- Add vercel-tracking/ project with /api/track endpoint
- Enable completely anonymous tracking without user credentials
- Maintain same analytics data structure and GitHub issues creation
2025-07-31 13:19:18 -04:00
Dani 936dd417d4 feat: implement anonymous tracking via GitHub repository dispatch
- Replace direct issue creation with repository dispatch events
- Add tracking-dispatch.yml workflow to handle tracking events
- Enable anonymous tracking without requiring user tokens
- Maintain same analytics data structure for compatibility
2025-07-31 13:11:17 -04:00
Dani ae7ab15d62 feat: enhance tracking service debug logging control 2025-07-31 12:44:38 -04:00
Dani 201cd4c2bf feat: implement GitHub-based template downloads and new --template syntax
## Major Changes

### 🔄 GitHub Download System
- All templates now download directly from GitHub instead of local files
- Components (agents, commands, MCPs) download from `components/` directory
- Templates download from `templates/` directory
- Added download caching to avoid repeated requests
- Show clear GitHub URLs for transparency

### 🆕 New --template Parameter
- Added `--template` parameter as modern replacement for `--language`/`--framework`
- Maintains backward compatibility with deprecated `--language`/`--framework`
- Updated web interface to use new syntax: `npx claude-code-templates@latest --template=python --yes`

### 🎯 Component vs Template Separation
- `--agent=name`: Downloads individual component to `.claude/agents/`
- `--command=name`: Downloads individual component to `.claude/commands/`
- `--mcp=name`: Downloads individual component to `.mcp.json`
- `--template=name`: Downloads complete template with full configuration

### 📦 Web Interface Updates
- Updated installation commands to use `npx` with latest version
- Changed from `--language`/`--framework` to `--template` syntax
- Made global installation optional in step 1
- All template cards now show correct download commands

### ✅ Benefits
- Always up-to-date content from GitHub main branch
- No need to republish npm package for content updates
- Clear distinction between individual components and full templates
- Improved user experience with transparent download sources

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-31 08:41:57 -04:00
Dani ae6d77a91d fix: Fix Docusaurus TypeScript configuration and complete download tracking system
- Fix tsconfig.json by removing invalid @docusaurus/tsconfig extends
- Add proper TypeScript configuration for Docusaurus
- Complete download count badges for template, agent, command, and MCP cards
- Add analytics data integration with card regeneration
- Include tracking service and GitHub Actions workflow for analytics processing
- Update web interface with download statistics display

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 19:39:02 -04:00
Dani 2fac0de3f8 🚀 Release v1.14.0
### ✨ New Features
- **Custom Domain**: Documentation now available at https://aitmpl.com/docu/
- **Expert Agents System**: New agent-expert, command-expert, and mcp-expert for community contributions
- **Unified Component Cards**: Fixed "Add New" cards design and behavior consistency

### 📚 Documentation
- **Complete Docusaurus Site**: Comprehensive documentation with searchable content
- **Simplified READMEs**: Streamlined both root and cli-tool READMEs, directing to full docs
- **Expert Agent Workflows**: Detailed guides for creating agents, commands, and MCPs

### 🎨 UI/UX Improvements
- **Component Cards**: Fixed design inconsistencies in "Add New" template/component cards
- **Navigation**: All documentation links now point to custom domain
- **Responsive Design**: Better mobile experience for documentation site

### 🔧 Infrastructure
- **GitHub Pages**: Custom domain configuration with proper routing
- **Community Workflow**: Streamlined process for community contributions using expert agents

### 🤝 Community
- **Contribution System**: New expert agents enable easy community contributions
- **Component Creation**: Standardized workflow for creating agents, commands, and MCPs
- **Documentation Hub**: Centralized documentation for better developer experience

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-30 15:13:43 -04:00
Dani 171310d22a Refactor README and CLI tool documentation for clarity and consistency; update URLs to new domain; enhance analytics dashboard and health check commands; streamline contribution process; improve styling and layout for better user experience. 2025-07-30 15:10:41 -04:00
Dani 5422e19c74 Merge remote-tracking branch 'origin/main' 2025-07-30 11:04:24 -04:00
Dani 0ead21fdba feat: Add HeaderComponent for unified header across analytics pages and update version handling 2025-07-30 11:03:52 -04:00
Ali ARGÜN 9d45abca39 fix: correct Claude Code authentication detection in health check (#25)
- Remove non-existent 'claude auth status' command check
- Add proper detection for Claude Code OAuth authentication via ~/.claude.json
- Check for oauthAccount field to verify OAuth authentication
- Support API key authentication via config file or environment variable
- Display user email for OAuth authentication when available
- Provide more accurate status messages based on actual auth state

The health check was incorrectly reporting 'Claude CLI available but
authentication not verified' even when users were properly authenticated.
This fix ensures proper detection and reporting of authentication status
for Claude Code users using either OAuth or API key authentication methods.
2025-07-30 10:56:47 -04:00
Mohammed Al-Ogaili 855d485e0d Update GitHub link in DashboardPage (#27) 2025-07-30 09:56:18 -04:00
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 c09b8fc0a6 bump: Update version to 1.13.0 for release 2025-07-29 12:58:59 -05:00
daniel aad91824a9 feat: Add individual components system with unified web interface
Major Features Added:
🎯 Unified filter interface (Templates, Agents, Commands, MCPs)
🤖 Individual Agent components (react-performance, api-security, database-optimization)
⚡ Custom Command components (check-file, generate-tests)
🔌 MCP integration configs (DeepGraph, GitHub, databases, etc.)
📱 Card flip functionality with installation commands
🎨 Compact stats badges design
📚 Comprehensive Docusaurus documentation

Technical Improvements:
- Modular component architecture in cli-tool/components/
- Real-time GitHub API integration for component loading
- Smart installation command generation per component type
- Responsive design with terminal theme consistency
- Individual component contribution workflows

Web Interface Enhancements:
- Removed mode separation, unified single view
- Interactive filter bar with component counts
- Installation command copying functionality
- Component-specific "Add New" cards with contribution modals
- Enhanced loading states and error handling

Documentation Updates:
- New /docs/components/ section with detailed guides
- Updated navigation and cross-references
- Installation methods for each component type
- Best practices for templates vs individual components

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-29 12:55:04 -05:00
daniel 76810b3fe4 feat: Add AgentAnalyzer for tracking agent usage patterns and analytics
- Introduced AgentAnalyzer class to analyze agent invocation data, usage frequency, and workflow patterns.
- Implemented endpoint for agent usage analytics in ClaudeAnalytics.
- Enhanced session management to account for scheduled reset times instead of fixed durations.
- Updated SessionAnalyzer to reflect new session reset logic and improved warning messages.
- Added functionality to calculate agent efficiency and popular usage hours.
- Created a .nojekyll file for GitHub Pages deployment in Docusaurus configuration.
2025-07-29 08:54:47 -05:00
daniel 03f9be889b feat: Add logging for site structure creation in deployment workflow and remove deprecated Dashboard component 2025-07-28 18:29:06 -05:00
Daniel Avila 6a21447baf Feat/add agents to interactive setup (#23)
* feat: add agents selection to interactive setup

- Add agents step to interactive setup flow in prompts.js
- Include React performance optimization and state management agents
- Include Django API security and database optimization agents
- Integrate agent selection with existing setup workflow
- Show agent count in confirmation step

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

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

* chore: bump version to 1.12.2 for agents feature

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-28 15:52:31 -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 b27ae0dc5c Docs update (#21)
* 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>

* docs: Update documentation structure and content

- Reorganize documentation into focused sections
- Add analytics dashboard documentation
- Add project setup guides with framework-specific instructions
- Add CLI options and usage examples
- Add contributing guidelines and safety features
- Update sidebar navigation and site configuration

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

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-28 14:28:10 -05:00
daniel 0166c71f13 feat: Enhance tool modal functionality and global state management
- Exposed agentsPage globally for modal access in App.js, allowing for custom tool modals.
- Implemented cleanup of global references when navigating away from the agents page.
- Added detailed logging for token chart data in DashboardPage.js to aid in debugging.
- Improved tool display logic in ToolDisplay.js to store tool data for supported tools, enhancing modal interactions.
- Introduced extensive styling for various tool modals in index.html, ensuring a consistent and responsive design.
- Updated showResultsModal function to handle custom tool modals based on stored tool data, improving user experience.
2025-07-26 10:11:44 -05:00
daniel 350b11d74a Add SVG illustration and TypeScript configuration file
- Added a new SVG file `undraw_docusaurus_tree.svg` to the static images directory for enhanced visual representation.
- Introduced a new TypeScript configuration file `tsconfig.json` to improve editor experience and project structure.
2025-07-25 20:50:46 -05:00
Dani e2f79bcd39 chore: bump version to 1.11.0 for Console Bridge release
🚀 Released version 1.11.0 to npm with Claude Code Console Bridge integration

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-22 19:37:51 -04: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 1e1b0f3117 feat: Add website URL to CLI output and README
- Display template browser website in CLI completion message
- Add prominent link in README.md for template exploration
- Help users discover all available templates online
- Improve discoverability of the template showcase website

CLI now shows: 'View all available templates at: https://davila7.github.io/claude-code-templates/'
README includes: 'Browse Templates Online' section with website link

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-19 08:42:22 -04:00
Dani b4fa7023bc feat: Add settings.json to all template configurations
- Add settings.json file to JavaScript/TypeScript templates
- Add settings.json file to Python templates
- Add settings.json file to Ruby templates
- Add settings.json file to Common templates
- Settings.json contains Claude Code permissions, environment variables, and hooks

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-19 08:15:00 -04:00
Dani 0d5b691852 fix: Improve file overwrite protection with proper backup and merge options
- Fixed options parameter not being passed to copyTemplateFiles()
- Enhanced existing backup system with timestamped backups
- Added user choice prompts: Backup, Merge, or Cancel options
- Fixed --yes flag to properly trigger backup mode
- Improved merge mode to preserve existing configurations
- Added proper cancellation handling for user safety

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 19:43:07 -04:00
Dani af83b061b8 v1.10.1 - Add Ruby on Rails 8 support
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 18:58:53 -04:00
Jeremy Watt 388afba5f9 feat: Add Ruby on Rails 8 support to claude-code-templates (#8)
* ruby cli-tool template and rails 8 example added

* feat: Add Ruby on Rails 8 support to claude-code-templates

## Summary
- Added Ruby language configuration to templates.js with Rails 8 framework support
- Enhanced project detection in utils.js for Ruby/Rails projects via Gemfile and .rb files
- Added Ruby-specific hook descriptions to hook-scanner.js for RuboCop, Brakeman, and RSpec
- Updated Makefile with Ruby test targets

## Testing Completed (per CONTRIBUTING.md)
✅ Interactive setup works correctly - Ruby appears as language option
✅ Framework detection is accurate - Detects Rails via Gemfile and config/application.rb
✅ Command installation succeeds - Rails commands properly installed
✅ Hook configuration is valid - 9 Ruby hooks load without errors
✅ MCP servers are properly configured - Ruby SDK server configured
✅ Dry run mode shows expected output - Displays all Ruby template files
✅ Command analysis displays accurate statistics - Shows Rails command stats

All tests from the Testing Checklist have been manually verified and pass successfully.

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

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

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-18 12:16:22 -04:00
Dani dfa5250191 v1.10.0 - Comprehensive Health Check Feature
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-18 10:29:34 -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 2204af29da fix: Restore prepublishOnly script for future releases
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 19:49:23 -04:00
Dani bd25ef6708 v1.9.0 - Tool Usage Trends Analytics Dashboard
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 19:45:50 -04:00
Dani 6806e9bc30 feat: Add comprehensive Tool Usage Trends analytics with improved dashboard
- Add Tool Usage Trends bar chart with date filtering and improved tooltips
- Implement Tool Activity Summary panel with key metrics:
  * Total tool calls, unique tools used, conversation coverage
  * Average tools per conversation and tool balance score
  * Most used tool highlight with usage statistics
- Fix tooltip reliability issues with enhanced Chart.js configuration
- Add proper date range filtering for tool usage data
- Implement Shannon Diversity Index for accurate tool balance scoring
- Update dashboard layout to 2x2 grid for better chart organization
- Add comprehensive tool usage caching for improved performance
- Enhance ConversationAnalyzer with extractToolUsage() method
- Support both string-based and structured tool_use block detection

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 19:44:55 -04:00
Dani cda0b8abed v1.8.3 - Add elegant light/dark theme toggle to analytics dashboard
- Implement comprehensive CSS variables theming system
- Add minimalist toggle switch with smooth animations
- Support both light and dark modes with terminal-style design
- Theme preference persists in localStorage
- Dynamic chart color adaptation for theme changes
- Responsive design for mobile devices
- Clean, icon-only switch without text labels
- Fix SessionTimer component initialization and remove debug logs

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 15:59:42 -04:00
Dani e95ac8ae73 fix: Improve error handling for session data fetch in analytics dashboard 2025-07-16 15:12:28 -04:00
Daniel Avila 2b4d600b37 feat: Add elegant light/dark theme toggle switch to analytics dashboard (#9)
- Implement CSS variables for comprehensive theming system
- Add minimalist toggle switch with smooth animation
- Support both light and dark modes with terminal-style design
- Persist theme preference in localStorage
- Dynamic chart color adaptation for theme changes
- Responsive design for mobile devices
- Clean, icon-only switch without text labels for elegance

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

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-16 14:16:06 -04:00
Dani 06cf7da6ae v1.8.2 - Version bump for memory leak hotfix 2025-07-16 09:29:26 -04:00
Dani 8b8cf9827d CRITICAL: Fix memory leak causing 3.86GB usage and crashes
- Remove parsedMessages from conversation objects (80-90% memory reduction)
- Reduce periodic refresh intervals (30s -> 2min, 10s -> 30s)
- Implement aggressive cache size limits (100 -> 25 entries)
- Add memory cleanup in API endpoints (limit to 100-150 conversations)
- Reduce cache TTL settings for more aggressive cleanup
- Update SessionAnalyzer to work without parsedMessages
- Add automatic garbage collection hints

Expected memory usage: 200-500MB instead of 3.86GB

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-16 09:29:26 -04:00
Dani cff33ed130 v1.8.1 - Restore prepublishOnly script
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 19:08:04 -04:00
Dani c20a09cfe8 fix: Implement comprehensive memory management and session tracking improvements
- Add automatic DataCache cleanup with 30-second intervals
- Implement size limit enforcement to prevent memory buildup
- Increase memory threshold to 300MB for realistic analytics usage
- Add Claude session tracking integration throughout dashboard
- Fix message counting to respect actual Claude session windows
- Stabilize conversation state transitions with extended time intervals
- Add comprehensive token breakdown with cache tokens
- Implement Claude session popover with hover functionality
- Fix table layout stability with fixed column widths
- Reduce cache size limits from 1000 to 100 entries
- Add proper cleanup methods for graceful shutdown

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-15 19:04:01 -04:00