315 Commits

Author SHA1 Message Date
Dani 786982f982 cleanup: remove all GitHub workflow-based tracking systems
- Remove 4 obsolete tracking workflows:
  - analytics-processor.yml (GitHub Issues-based tracking)
  - tracking-dispatch.yml (repository dispatch events)
  - process-tracking-logs.yml (GitHub Pages log processing)
  - simple-tracking.yml (manual workflow dispatch)

- Remove obsolete JSON data file:
  - docs/analytics/download-stats.json (workflow-generated data)

- Update WORKFLOWS_REFERENCE.md to reflect current architecture:
  - Document only active workflows (deploy, publish-package)
  - Replace workflow tracking docs with Supabase integration info
  - Add migration history and troubleshooting for new system

The tracking system now uses direct Supabase database integration
from the CLI, eliminating all GitHub Actions dependencies for
analytics. This provides better performance, reliability, and
real-time tracking capabilities.

Remaining workflows handle only deployment and package publishing.

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

Co-Authored-By: Claude <noreply@anthropic.com>
v1.19.1
2025-08-19 18:15:53 -04:00
Dani de459cf956 cleanup: simplify tracking system by removing GitHub workflow dependencies
- Remove obsolete tracking files (docs/track.html, docs/api/track.html)
- Simplify tracking-service.js by removing telemetry fallback system
- Update documentation to reflect Supabase-only architecture
- Remove references to GitHub Issues and unused workflow components
- Clean up legacy GitHub repo references in tracking service
- Update API examples to use correct endpoint and payload format

The system now uses only Supabase database for tracking, eliminating
the complex fallback system that was previously in place.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 17:51:23 -04:00
Dani 17bf4b4812 fix: update tracking service to use correct API endpoint and improve error logging 2025-08-19 17:26:20 -04:00
Dani 564e837808 fix: update CLI to use correct Supabase tracking endpoint
- Point tracking service to /api/track-download-supabase
- Ensure production tracking uses working endpoint
- All downloads will now be properly stored in Supabase database

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 15:43:16 -04:00
Dani 50acf5676a cleanup: remove debugging files and secure sensitive data
Security improvements:
- Remove all debugging and test files (debug-db.js, test-db.js, init-db.js, etc.)
- Remove unused @vercel/postgres endpoint (track-download.js)
- Eliminate .env.production and .env.local files with exposed credentials
- Update documentation to reference correct API endpoint
- Ensure all sensitive data uses environment variables properly

Production ready:
- Only essential files remain for production deployment
- All endpoints use proper environment variable configuration
- Clean, secure codebase ready for main branch merge

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 15:41:48 -04:00
Dani 79b47207db fix: use correct @vercel/postgres version 0.10.0 2025-08-19 15:15:50 -04:00
Dani 477edf1c22 add: Supabase-based tracking endpoint and database initialization
- Add track-download-supabase.js using @supabase/supabase-js client
- Add init-db.js to check/initialize database tables
- Update dependencies to include Supabase client and latest @vercel/postgres
- Configure Supabase environment variables
- Provide SQL instructions for manual table creation if needed

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 15:13:57 -04:00
Dani d9a6c19b77 add: database debug endpoint for troubleshooting 2025-08-19 15:11:04 -04:00
Dani 77539b9982 fix: remove nested cli-tool directory and add local testing
- Remove accidentally created nested cli-tool/cli-tool directory
- Add simple tracking test script for local verification
- Confirmed tracking system works correctly with proper error handling
- Both database and telemetry endpoints are functional
- System gracefully handles local vs production differences

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 15:03:40 -04:00
Dani 54666aac92 fix: configure Vercel output directory
- Set output directory to 'docs' folder
- Add build command to skip unnecessary build step
- Maintain existing rewrite rules for proper routing

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 14:37:53 -04:00
Dani 0e6ded1a4c fix: convert API to Vercel-compatible format
- Replace pool-based connection with @vercel/postgres sql template
- Use Vercel's auto-detection instead of explicit runtime config
- Convert all database queries to sql template literals
- Simplify table creation with proper error handling
- Maintain all functionality while ensuring Vercel compatibility

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 14:37:12 -04:00
Dani d6fc02b52f fix: update Vercel API configuration for proper deployment
- Fix runtime configuration to use @vercel/node instead of nodejs18.x
- Convert API to ES modules for Vercel compatibility
- Add package.json for API function dependencies
- Ensure proper module handling for @vercel/postgres

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 14:32:37 -04:00
Dani b5f5c49ec8 feat: add anonymous download tracking system with Vercel database integration
Implements a comprehensive download tracking system inspired by npm analytics
to monitor component usage and improve popular components.

Key features:
• Anonymous download tracking for all component types (agents, commands, mcps, settings, hooks)
• Vercel + PostgreSQL backend with dual endpoint strategy
• Privacy-first design with complete opt-out support
• Fire-and-forget tracking that never blocks user experience
• Comprehensive test suite and documentation

Backend changes:
• Created API endpoint /api/track-download.js with PostgreSQL integration
• Implemented proper database schema with download_stats aggregation
• Added request validation, rate limiting, and security measures
• Configured Vercel deployment with database functions

CLI changes:
• Enhanced TrackingService to support database + telemetry endpoints
• Added automatic tracking for all installation types
• Implemented graceful fallback when database is unavailable
• Maintains existing privacy and opt-out mechanisms

Testing & Documentation:
• Added comprehensive test suite (test-download-tracking.js)
• Created detailed documentation (DOWNLOAD_TRACKING.md)
• Included deployment instructions and troubleshooting guide
• Added security and compliance information

The system respects user privacy by:
- Only collecting anonymous usage metrics
- Providing multiple opt-out mechanisms (CCT_NO_TRACKING, CCT_NO_ANALYTICS, CI=true)
- Never storing personally identifiable information
- Using fire-and-forget requests with timeout limits

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-19 14:17:34 -04:00
Daniel Avila f546cd77a4 Update README.md 2025-08-19 08:09:54 -04:00
Dani 6201418bc0 feat: Update .gitignore to include .vscode and adjust CSS styles for terminal interface
- Added .vscode to .gitignore to prevent IDE settings from being tracked.
- Changed CodeGPT API key from "Ollama" to "OpenAI" in settings.json.
- Modified CSS styles for various components to enhance the terminal interface, including adjustments to padding, margins, and grid layouts.
- Introduced new terminal-style search functionality in index.html with improved search input handling and results display.
- Enhanced JavaScript event handling for category filters and search functionality, including debouncing and dynamic category display.
- Updated search results formatting to reflect terminal-style aesthetics.
2025-08-19 07:31:35 -04:00
Dani bb8bc0c491 feat: add detailed Discord and Slack notifications with session information and error monitoring 2025-08-18 10:44:07 -04:00
Dani 8cd91e2f23 feat: add notification hooks for Telegram, Slack, and Discord with detailed session information 2025-08-18 10:43:43 -04:00
Dani 7a072b2b11 docs: enhance CONTRIBUTING.md with detailed instructions for creating new categories for agents, commands, MCPs, settings, and hooks 2025-08-17 13:45:34 -04:00
Dani 2b9fab2e39 docs: enhance CONTRIBUTING.md with detailed component contribution guidelines 2025-08-17 13:04:39 -04:00
Daniel Avila a8b3311831 Update README.md 2025-08-17 11:39:19 -04:00
Dani 857e9e8efd refactor: update README for clarity and enhance component descriptions 2025-08-17 11:37:24 -04:00
Dani 1fbb6bda9d Merge remote-tracking branch 'origin/main' 2025-08-16 18:09:14 -04:00
Dani f91a822432 fix: update .gitignore to include additional macOS system files 2025-08-16 18:09:08 -04:00
José Zúñiga ff86deb8a9 fix: upgrade jest-watch-typeahead to resolve npm install dependency conflicts (#59)
- Upgraded jest-watch-typeahead from ^2.2.2 to ^3.0.1
- Resolves dependency compatibility issues causing npm install failures
- Version 3.0.1 provides improved Node.js compatibility and resolves known security vulnerabilities
- Updated package-lock.json to reflect the new dependency tree

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

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-16 18:06:31 -04:00
余小章 7f52658a26 feat: enhance component path handling by removing .md and .json extension (#62)
* feat: enhance component path handling by removing .md and .json extensions

* feat: remove .json extension from MCP names in command generation
2025-08-16 18:02:22 -04:00
Federico Moretti 52c743cee4 Fix typo: rename cicleci.json to circleci.json (#66)
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-16 17:44:01 -04:00
itsgreyum 45e33bdb81 Updated MCP agent registry list (#68)
Added mcpmarket.com to the list for MCP registries
2025-08-16 17:40:49 -04:00
Dani 3cd7b66934 ✨ Add zero-config Vercel deployment monitor: implement auto-detection of auth token and project ID, providing real-time deployment status and build state icons. 2025-08-16 17:26:43 -04:00
Dani f1f900b9d5 ✨ Update Vercel status line command: simplify command output and enhance deployment status display; hide search button by default in documentation 2025-08-16 13:03:26 -04:00
Dani bb4ebec9e7 ✨ Update Vercel statusline commands: streamline command structure and enhance output formatting for deployment monitoring, error alerts, and multi-environment status. 2025-08-16 11:30:35 -04:00
Dani afaa1a9945 ✨ Enhance Vercel deployment monitoring: update commands for improved error handling and status reporting across multiple statusline components. 2025-08-16 11:20:59 -04:00
Dani de8bba4075 ✨ Update Vercel integration: replace team ID with project ID in deployment and error monitoring settings; enhance descriptions for clarity 2025-08-16 10:53:38 -04:00
Dani 603e53d9bd ✨ Add new Vercel deployment and error monitoring status lines; enhance colorful status line command 2025-08-16 10:10:26 -04:00
Dani 3a0f0d2dc8 Enhance statusline components with detailed descriptions and improve modal display
- Updated descriptions for RPG status bar and virtual code garden to include display details.
- Modified component documentation to reflect new features and descriptions for various statuslines.
- Removed max-height restrictions in CSS for better component visibility.
- Adjusted modal helper to show full component descriptions instead of truncated versions.
2025-08-15 20:34:43 -04:00
Dani 2e7edde6de Refactor statusline configurations to streamline command structure and improve readability across multiple statusline components. Updated JSON structure to remove unnecessary nesting and ensure consistency in command execution for various coding-themed statuslines including tamagotchi, fitness tracker, RPG, and virtual garden. 2025-08-15 20:15:09 -04:00
Dani 75bd23600c ✨ Add new status line settings for enhanced coding experiences 2025-08-15 20:05:07 -04:00
Dani 339843d739 ✨ Add new status line configurations for enhanced coding experiences 2025-08-15 20:04:34 -04:00
Dani 990982ffa0 Add new configuration and permission settings for enhanced functionality
- Introduced settings for Amazon Bedrock, Google Vertex AI, and corporate proxy configurations.
- Added custom headers support for API requests.
- Implemented API key helper for dynamic authentication token generation.
- Restricted login methods to Claude.ai and Anthropic Console accounts.
- Configured bash command execution timeouts and performance optimizations.
- Enhanced privacy settings by disabling telemetry and non-essential traffic.
- Established AWS credential management for Bedrock integration.
- Allowed additional directory access and common git operations.
- Created comprehensive permissions for development and read-only modes.
- Developed various status line configurations for improved user experience.
2025-08-15 19:48:05 -04:00
daniel e85f8463ff 🔧 Fix search toggle to only hide category sections, keep filter buttons visible
- Keep all filter buttons (Agents, Commands, Settings, Hooks, MCPs, Templates) visible
- Only hide category-filter-label elements (category sections)
- Filter buttons remain functional and accessible in search mode
- Cleaner UX: users can still access category filters while searching

Behavior:
✅ Search button toggle: shows/hides search bar
✅ Filter buttons: always visible (🤖 Agents, ⚡ Commands, etc.)
❌ Category sections: hidden during search mode
✅ Other UI elements: remain unchanged

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-15 15:07:26 -04:00
daniel e29e018d07 🔍 Move search button to first position and hide category filters when active
- Move search button to first position in filter-buttons row
- Remove display:none from search button to make it visible
- Add category-filter-btn class to all category filter buttons
- Update toggleSearch() function to hide/show category filters:
  - When search is active: hide all category-filter-btn and category-filter-label elements
  - When search is inactive: restore normal display of category filters
- Improved UX: clean interface switching between search mode and filter mode

User experience:
1. Click 🔍 Search button (first in row)
2. Category filters disappear, search bar appears
3. Click 🔍 Search button again to return to normal filter view

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-15 15:04:34 -04:00
daniel d915b75855 🚀 Release v1.19.0 - Multiple Location Selection & UX Improvements
New Features:
- 🎯 Single prompt for batch installations - ask locations once for all components
- ✅ Accurate success counting - shows actual vs attempted installations
- 📝 General terminology - 'configuration components' instead of 'settings and hooks'

Improvements:
- ⚠️ Clear error messages when installations fail due to permissions
- 🔄 Consistent location selection across all components in batch mode
- 📋 Better feedback showing selected locations before installation
- 🎨 Cleaner user experience with no repeated prompts

Bug Fixes:
- Fixed misleading success messages when some locations fail
- Fixed repetitive prompts during batch installations
- Fixed inconsistent default locations between silent and interactive modes

Available on npm: npm install -g claude-code-templates@latest

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

Co-Authored-By: Claude <noreply@anthropic.com>
v1.19.0
2025-08-14 22:04:00 -04:00
daniel a5976433ac 📝 Make installation location prompts more general
- Change 'settings and hooks' to 'configuration components'
- More flexible terminology that doesn't expose internal categorization
- Cleaner user experience with generic language

Before:
📍 Choose installation locations for settings and hooks:
? Where would you like to install settings and hooks?
📋 Will install settings and hooks in: user, local

After:
📍 Choose installation locations for configuration components:
? Where would you like to install the configuration components?
📋 Will install configuration components in: user, local

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-14 22:02:21 -04:00
daniel f02232e008 🎯 Implement shared location selection for batch installations
- Ask installation locations ONCE at the beginning for all settings and hooks
- Eliminate repeated prompts during batch installation
- Add sharedInstallLocations parameter to individual functions
- Use shared locations when provided, fall back to individual prompts otherwise
- Show clear message about selected locations before installation begins

Flow:
1. User runs: --setting=model/use-sonnet,telemetry/enable-telemetry
2. CLI asks ONCE: 'Where would you like to install settings and hooks?'
3. User selects locations (e.g., user, project, local)
4. CLI shows: 'Will install settings and hooks in: user, project, local'
5. All settings install to those same locations automatically
6. No additional prompts, CLI exits after completion

Prevents the frustrating loop where each component shows its own
installation menu, creating a better user experience for batch operations.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-14 21:32:12 -04:00
daniel 903734fd73 🔧 Fix installation success count when some locations fail
- Add successfulInstallations counter to track actual successful installations
- Show accurate count in summary messages instead of total attempted
- Differentiate between complete success and partial success:
  - 🎉 Green message when all locations successful
  - ⚠️ Yellow message when some locations failed
  - ❌ Red details showing number of failed installations
- Prevents misleading 'successfully installed in 4 location(s)!' when only 3 succeeded

Example outputs:
✅ All successful: '🎉 Setting installed in 3 location(s)!'
⚠️ Partial success: '⚠️ Setting installed in 3 of 4 location(s).'
                    '❌ 1 installation(s) failed due to permission or other errors.'

Fixes the case where enterprise settings fail due to permission denied
but user still sees success message for all locations.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-14 21:22:20 -04:00
daniel 9c59450469 ✅ Enable multiple location selection for settings and hooks
- Settings and hooks now support checkbox selection for multiple installation locations
- Users can install the same component in multiple environments simultaneously:
  - 🏠 User Settings (~/.claude/settings.json) - Global
  - 📁 Project Settings (.claude/settings.json) - Team shared
  - ⚙️ Local Settings (.claude/settings.local.json) - Personal
  - 🏢 Enterprise Settings - System-wide (requires admin)
- Interactive prompts show checkbox interface with validation
- Each location is processed independently with conflict detection
- Progress messages show installation status for each location
- Tracking includes installation_location for analytics
- Graceful error handling - failed locations don't stop others
- Summary message shows total installations completed

Example: Install allow-npm-commands in both user and project settings
for global availability plus team sharing.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-14 21:15:43 -04:00
daniel c88a23f94e 🔧 Fix settings and hooks installation to show location prompts
- Settings and hooks now show interactive prompts for installation location
- Fixed inconsistency between silent mode default and interactive mode default
- Both now default to 'local' settings (.claude/settings.local.json)
- Respects --yes flag to skip prompts when needed
- Users will now see the 4 installation options:
  - 🏠 User Settings (~/.claude/settings.json) - Global
  - 📁 Project Settings (.claude/settings.json) - Team shared
  - ⚙️ Local Settings (.claude/settings.local.json) - Personal
  - 🏢 Enterprise Settings - System-wide (requires admin)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-14 20:57:36 -04:00
daniel 11c9db4500 🎉 Complete Search Functionality & Cart Manager Overhaul
## Search System ✨
- ✅ Real-time search across all components (agents, commands, settings, hooks, MCPs)
- ✅ Intelligent scoring algorithm with multi-field matching
- ✅ Search result cards with full flip functionality and compact design
- ✅ Proper integration with global event handlers
- ✅ Hover effects and copy button functionality matching normal cards
- ✅ Keyboard shortcuts (Escape, Enter) and responsive design

## Cart Manager Fixes 🛒
- ✅ Added support for settings and hooks categories (5 total categories)
- ✅ Updated cart initialization, UI, and command generation
- ✅ Fixed JavaScript errors when adding settings/hooks to cart
- ✅ Added proper cart sections and icons for all component types

## Technical Improvements 🔧
- ✅ Fixed showComponentDetails function calls with correct parameters
- ✅ Matching HTML structure with normal cards (command-display, command-code-container)
- ✅ Proper CSS styling with debug helpers for troubleshooting
- ✅ Compact card design optimized for available space
- ✅ Search button temporarily hidden per user request

## Additional Features 📋
- ✅ Added comprehensive ASCII roadmap for future development phases
- ✅ Enhanced component path handling and category conversions
- ✅ Improved error handling and component loading

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-14 14:11:23 -04:00
daniel c26bcd5417 🔍 Add Intelligent Search Functionality to Components Filter
- Added search button to filter buttons section with toggle functionality
- Implemented real-time search across all component categories (except templates)
- Search triggers after 3+ characters with 300ms debouncing for performance
- Searches through component names, descriptions, categories, tags, and keywords
- Added comprehensive search UI with input field, clear button, and results info
- Display search results grouped by category with match scoring
- Shows "No results" with helpful search suggestions when no matches found
- Integrated with existing cart functionality and component installation commands
- Added keyboard shortcuts (Escape to close, Enter to focus first result)
- Responsive design with mobile-optimized search interface
- Search data loaded from main components.json with fallback mechanisms

Features:
✅ Search across agents, commands, settings, hooks, and MCPs
✅ Real-time results with intelligent scoring algorithm
✅ Category-based result grouping and filtering
✅ Keyboard navigation support
✅ Mobile-responsive search interface
✅ Integration with existing cart and installation workflows
✅ Performance optimized with debouncing and caching

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-14 12:05:08 -04:00
daniel 24bea545cf 🗑️ Remove Telegram Notifications Setup Guide from documentation 2025-08-14 11:45:20 -04:00
daniel e7ba2c51bf 🗑️ Remove deprecated AI Hook Template and Specification files 2025-08-14 11:43:26 -04:00