123 Commits

Author SHA1 Message Date
Dani 7fdc2e7782 Fix E2B sandbox file download location to user's current directory
- Change Python script execution cwd from sandboxDir to targetDir
- Files now download directly to user's current working directory
- Update message to show exact download path
- Maintains pip install in .claude/sandbox for dependencies

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-07 15:44:35 -04:00
Dani 6f56132b0e Separate --studio and --sandbox commands: make --sandbox CLI-only with interactive agent selection
- Keep --studio as separate web interface command for Claude Code Studio
- Make --sandbox e2b pure CLI experience without opening web interface
- Add interactive agent selection when --agent not provided
- Agent list fetched from GitHub with option to continue without agent
- Maintain existing prompt collection and Y/n confirmation flow
- Real-time log display and folder download already working

This ensures --sandbox e2b follows the CLI workflow:
1. Check/download agents if missing
2. Prompt for input if --prompt not provided
3. Confirm E2B execution with Y/n
4. Execute and show logs
5. Download folder when complete

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-07 15:39:15 -04:00
Dani 846f42241d Transform to Claude Code Studio: complete local + cloud execution interface
✨ FEATURES:
- Rename from AITMPL Cloud Agent to Claude Code Studio
- Add --studio command to launch unified interface
- Support both Local Machine and E2B Cloud execution modes
- Interactive mode toggle with visual indicators
- Smart notices (API keys for cloud, CLI check for local)

🚀 EXECUTION MODES:
- Local: Execute Claude Code directly on user's machine
- Cloud: Execute in E2B isolated sandbox environment

🎨 UI IMPROVEMENTS:
- Clean mode selector with icons and hover effects
- Context-aware notices (show only relevant info)
- Better error handling for missing Claude Code CLI
- Terminal-styled interface consistent with brand

🔧 CLI INTEGRATION:
- npx claude-code-templates@latest --studio (launch interface)
- npx claude-code-templates@latest --sandbox e2b (direct cloud)
- Backward compatibility maintained

💡 USER EXPERIENCE:
- Default to Local mode (no API keys needed)
- Switch to Cloud for isolated testing
- Real-time task management and progress tracking
- Automatic environment detection and setup guidance
2025-09-07 11:20:32 -04:00
Dani fa0cc5ea07 Fix .env loading: load environment variables from user's project directory
- Load .env file from current working directory (where command is executed)
- Pass environment variables correctly to Python E2B launcher
- Show API key status on server startup with clear feedback
- Ensure E2B and Anthropic API keys are loaded from user's project
- Better debugging output for environment variable loading
2025-09-06 20:23:07 -04:00
Dani 149de06cd4 Improve AITMPL Cloud Agent UX: add API keys notice and better error handling
- Add prominent API keys notice with setup instructions
- Include direct links to get E2B and Anthropic API keys
- Improve error handling to detect missing API key errors
- Show helpful error messages for API key configuration
- Better user guidance for .env file setup
2025-09-06 20:15:14 -04:00
Dani 3f97e11efd Fix sandbox server routing: serve sandbox interface at root instead of docs index.html 2025-09-06 20:12:20 -04:00
Dani 4d911106d7 Fix sandbox server: remove cors dependency, use native CORS middleware 2025-09-06 20:09:15 -04:00
Dani 777b3db79e Add AITMPL Cloud Agent interface for E2B sandbox management
- Create web interface for managing E2B sandbox tasks
- Add terminal-styled UI matching docs/index.html design
- Implement real-time task polling and progress tracking
- Add sandbox server with Express.js backend
- Support launching interface with --sandbox e2b command
- Include running and completed task sections
- Real-time output streaming from E2B executions
- Auto-resize textarea and keyboard shortcuts
2025-09-06 20:07:23 -04:00
Dani 68c4a464ac Fix 'Assignment to constant variable' error in executeSandbox function 2025-09-06 19:50:01 -04:00
Dani 2c276c6fa1 Remove default placeholder from E2B sandbox prompt input 2025-09-06 19:41:55 -04:00
Dani f8a815a866 Change E2B sandbox prompt from editor to simple text input 2025-09-06 19:38:46 -04:00
Dani f17debf682 Add interactive prompt input for E2B sandbox when --prompt not provided
Features:
✅ Interactive Project Requirements Editor:
- Opens when --prompt parameter is not provided in sandbox mode
- Uses inquirer editor type for multi-line text input
- Comprehensive default template with structured guidance
- Input validation (minimum 10 characters)

✅ Enhanced User Experience:
- Clear instructions on how to provide detailed requirements
- Pre-filled template with examples and categories:
  * Feature descriptions
  * Technical requirements (tech stack, styling)
  * Design requirements (colors, layout, UI style)
- Real example at the bottom for reference

✅ Smart Flow:
- Only triggers when prompt is missing in sandbox mode
- Captures user input and continues with normal sandbox execution
- Maintains all existing functionality when --prompt is provided

This allows users to run sandbox mode without specifying --prompt
and get a guided experience to describe their project requirements.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 19:31:24 -04:00
Dani 49513876fd Fix E2B sandbox to download files directly to project root
Changes:
- E2B launcher now downloads files to ./ (project root) instead of ./e2b-outputs/
- Updated confirmation dialog to show "Files will be downloaded to project root directory"
- Updated modal feature text to "Files downloaded to project root"
- Removed timestamp folder organization for simpler file management

This ensures generated files are immediately available in the project root
where users expect them, without needing to navigate to subfolders.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 15:56:38 -04:00
Dani d6c81ff7c5 Add E2B sandbox execution confirmation and ESC cancellation
Features added:
✅ Sandbox Execution Confirmation:
- Beautiful formatted confirmation dialog with execution details
- Shows agent name, truncated prompt, provider (E2B Cloud)
- Displays execution info: real-time logs, file downloads, timeout
- Clear ESC cancellation instructions

✅ ESC Key Cancellation:
- Real-time ESC key detection during sandbox execution
- Graceful process termination with SIGTERM
- Proper stdin cleanup and raw mode handling
- User-friendly cancellation messages

✅ Enhanced User Experience:
- Informative confirmation dialog before execution
- Real-time execution status and instructions
- Safe process cancellation without hanging
- Clear feedback for all execution states

This provides users with full control over sandbox execution and clear
visibility into what will happen during the E2B sandbox process.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 15:46:14 -04:00
Dani 73ca5836e5 Fix unwanted prompt confirmation dialog when using --sandbox
Problem: When using --sandbox with --prompt, the system was showing
"Do you want to execute this prompt in Claude Code?" confirmation dialog
after installing the agent, even though sandbox mode should handle the
prompt execution directly.

Root Cause: The issue existed since the beginning. When --sandbox installs
an agent internally, the installIndividualComponents() function was also
checking for options.prompt and calling handlePromptExecution(), creating
a duplicate prompt handling path.

Solution: Added !options.sandbox condition to all three locations where
handlePromptExecution() is called:
1. Main template installation flow (line 372)
2. Individual components installation (line 1454)
3. Workflow components installation (line 1623)

This ensures prompt execution only happens in regular mode, not sandbox mode.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 14:21:05 -04:00
Dani 44063b036f Fix E2B sandbox timeout issues with extended timeouts
- Extended Node.js spawn timeout from default to 15 minutes (900 seconds)
- Increased Python E2B launcher timeout from 5 to 10 minutes (600 seconds)
- Updated monitor script to use same extended timeout
- Added timeout handling with user-friendly error messages
- Added timeout notification to inform users of extended wait times

Resolves timeout issues with complex Claude Code operations in E2B sandboxes.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-04 20:38:38 -04:00
Dani 589c7a47a9 Remove E2B verification step that was causing installation hang
- Remove complex verification process that was causing sequence issues
- Simplify installation flow to: download → install → execute
- E2B functionality verified manually and works correctly

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-04 12:14:08 -04:00
Dani 5659ca0836 Improve E2B sandbox installation with better error handling and verification
- Add comprehensive pip output capture and error reporting
- Add E2B module import verification after installation
- Show detailed error messages when installation fails
- Provide clear manual installation instructions

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-04 12:07:43 -04:00
Dani 587ae2e66e Add E2B Claude Code Sandbox integration with CLI API key support
- Add E2B sandbox component with Python launcher script
- Support CLI parameters for E2B and Anthropic API keys (--e2b-api-key, --anthropic-api-key)
- Add comprehensive error handling for file downloads
- Make dotenv import optional in launcher script
- Add complete blog post with sandbox usage guide
- Update component generation system to support sandbox category

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-04 11:37:33 -04:00
Dani a6efceb6f8 activity heatmap 2025-09-03 09:01:17 -04:00
Dani 75eed8e8de fixing vercel blog y add statusline components 2025-09-01 14:47:13 -04:00
Dani f3589bccec feat: improve global agents with verbose debugging and system prompt fixes
- Add --verbose flag support for debugging agent execution
- Remove YAML front matter from system prompts to fix agent behavior
- Switch from --append-system-prompt to --system-prompt for better control
- Add detailed debug output showing command execution details
- Update help text to include verbose option

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-21 21:21:08 -04:00
Dani a176679fad feat: integrate Claude Code SDK with global agents functionality
🌍 Major new feature: Global AI Agents powered by Claude Code SDK

## New Features
- **Global Agent Creation**: `--create-agent <agent-name>`
- **Agent Management**: `--list-agents`, `--update-agent`, `--remove-agent`
- **Zero Configuration**: Agents install to /usr/local/bin (immediately available)
- **Auto Context Detection**: Smart project type detection and file context
- **Universal Access**: Works from any directory, in scripts, CI/CD, npm tasks

## Technical Implementation
- New global-agent-manager.js module with complete agent lifecycle
- Automatic PATH management across shell environments
- Executable script generation with Claude Code SDK integration
- Real-time loading indicators during AI processing
- Robust error handling and fallback mechanisms

## Frontend Integration
- Enhanced agent modals with Global Agent installation options
- New CSS styles for global agent sections
- Copy-to-clipboard functionality for all commands
- Usage examples and feature highlights

## User Experience
Before: Traditional project-based agent installation
After: `cct --create-agent security-auditor` → `security-auditor "prompt"` (anywhere)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-20 12:56:49 -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 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
Dani 603e53d9bd ✨ Add new Vercel deployment and error monitoring status lines; enhance colorful status line command 2025-08-16 10:10:26 -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 77a581c500 🎯 Add Installation Location Selection for Settings and Hooks
✨ New Features:
- Interactive prompt to choose installation location for settings and hooks
- Support for all Claude Code configuration files hierarchy:
  • User settings (~/.claude/settings.json) - Global for all projects
  • Project settings (.claude/settings.json) - Shared with team
  • Local settings (.claude/settings.local.json) - Personal, not committed
  • Enterprise managed settings - System-wide policy (requires admin)

🖥️ Platform Support:
- macOS: /Library/Application Support/ClaudeCode/managed-settings.json
- Linux/WSL: /etc/claude-code/managed-settings.json
- Windows: C:\ProgramData\ClaudeCode\managed-settings.json

🔧 Technical Improvements:
- Unified installation logic for both hooks and settings
- Admin privilege detection and error handling for enterprise settings
- Proper directory creation for different installation locations
- Clear user feedback about target paths and requirements

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-14 08:40:01 -04:00
daniel c98ce4ec6e 🔧 Fix hook JSON structure for Claude Code compatibility
- Update all 14 hooks to use proper Claude Code array/matcher format
- Fix CLI merge logic to handle new hook structure correctly
- Add support for both old and new hook formats during migration
- Remove conflict detection for hooks (Claude Code arrays support multiple entries)
- Ensure hooks follow proper structure:
  {
    "hooks": {
      "EventName": [
        {
          "matcher": "ToolPattern",
          "hooks": [
            {"type": "command", "command": "bash-command"}
          ]
        }
      ]
    }
  }

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-14 07:52:08 -04:00
daniel 85f7615305 feat: Add Settings and Hooks components system with conflict detection
- Add 9 Settings components (telemetry, permissions, model, cleanup)
- Add 6 Hooks components (formatting, git integration, backups, testing)
- Implement CLI installation with --setting and --hook flags
- Add conflict detection that prompts user before overwriting
- Merge settings into .claude/settings.json with intelligent deep merge
- Update data-loader.js to handle new component types
- Add filter buttons for Settings and Hooks in web interface
- Generate components.json with new Settings and Hooks sections

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-13 22:08:14 -04:00
daniel afbea28eaa 🔧 Fix status footer overlapping messages
- Added padding-bottom to chat-messages container
- Footer now has proper spacing and doesn't cover content

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-09 09:39:25 -04:00
daniel c8edbf0957 🎯 Complete Mobile Chats Interface & Smart Auto-Scroll System
## New Features
- ✅ Complete mobile-first chats interface (chats_mobile.html)
- ✅ Intelligent auto-scroll system with user behavior detection
- ✅ DOM-aware WebSocket message correlation protection
- ✅ Enhanced Cloudflare Tunnel support with better URL detection
- ✅ Comprehensive verbose logging and debugging capabilities

## Architecture Changes
- 🔄 Separated --chats (mobile interface) from --analytics (dashboard)
- 🗑️ Removed AgentsPage.js - chats now completely independent
- 🎨 Simplified Sidebar for analytics-only functionality
- 🚀 CLI commands restructured: --chats, --analytics, --agents, --verbose, --tunnel

## Technical Improvements
- 🛡️ WebSocket message type protection (text vs tool messages)
- 🔄 Smart scroll: auto-scrolls new messages unless user viewing history
- 📱 Mobile-optimized responsive design with chat UX patterns
- ⚡ Real-time conversation state detection and status updates
- 🌐 Enhanced tunnel setup with multiple URL patterns and fallbacks

## Bug Fixes
- 🐛 Fixed tool summary text overflow for long file paths
- 🔧 Resolved WebSocket message correlation conflicts
- 💬 Protected DOM-rendered text messages from tool overwrites
- ⏰ Improved tunnel detection timing and error handling

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-09 09:29:39 -04:00
Dani 32df3af4e3 new-layout 2025-08-08 14:32:48 -04:00
Dani cd6b220ba7 feat: new layout chat 2025-08-08 12:57:40 -04:00
Dani 66be089cb7 Implement comprehensive shopping cart system for Claude Code Templates
- Add Shopify-style cart sidebar with drag-from-right animation
- Implement Add to Stack buttons for all component cards
- Create dynamic command generation for agents, commands, and MCPs
- Add cart state management with localStorage persistence
- Implement notification system with auto-dismiss
- Add social sharing for X/Twitter and Threads
- Create overlay copy buttons for command text in cards and cart
- Optimize card layout grid system (4 columns desktop, 2 tablet, 1 mobile)
- Add cart floating button with item count badge
- Fix scroll prevention and notification persistence issues
- Remove quotes from agent parameters in generated commands
- Implement compact cart item design with Clear All repositioning
- Add comprehensive cart styling with responsive design
- Include share functionality with proper URL encoding
- Update CLI package version to 1.14.16 for npm compatibility

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-06 08:53:34 -04:00
Dani 1c01a28cc0 Add workflos drop-zone items 2025-08-05 04:10:32 -04:00
Dani aa1e6b6a98 add MCP support for health-check 2025-08-04 16:42:42 -04:00
Dani 29584fcbb6 fix docs url 2025-08-04 16:21:47 -04:00
Dani 6e81d4f2db fix delete description --mcp 2025-08-04 10:46:06 -04:00
Dani ec5ba6b488 refactor: move MCP description field inside mcpServer configuration
- Move description field from root level to inside individual mcpServer configs
- Update Python script to extract descriptions from mcpServer objects
- Enhance CLI to remove description fields from within mcpServer configs
- Ensure only clean mcpServers configuration is written to .mcp.json
- Maintain frontend display functionality with descriptions from mcpServer objects

Structure change:
FROM: { "description": "...", "mcpServers": { "server": { ... } } }
TO:   { "mcpServers": { "server": { "description": "...", ... } } }

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-04 09:45:01 -04:00
Dani 8c0a027e7b feat: add description field support for MCP components
- Add description field to MCP JSON files for frontend display
- Update generate_components_json.py to extract MCP descriptions
- Modify CLI to exclude description field from downloaded .mcp.json files
- Update frontend to display MCP descriptions in component cards
- Implement separate description handling for MCPs vs other components

Key changes:
• MCP JSON files now include description field above mcpServers
• Python script extracts descriptions into separate field in components.json
• CLI automatically removes description field during installation
• Frontend shows descriptive text for MCP cards using description field
• Maintains backward compatibility with existing MCP installations

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-04 09:37:46 -04:00
Dani 290718ee61 feat: enhance CLI tool rate limiting and error handling
- Implement exponential backoff for GitHub API rate limits (5 retries max)
- Add sophisticated rate limit detection with exact wait times
- Handle missing files/directories gracefully instead of failing completely
- Add comprehensive download statistics and progress tracking
- Distinguish between different types of 403 errors (rate limit vs permissions)
- Continue installation even when some template files are unavailable
- Provide detailed summary of successful, skipped, and failed downloads
- Support workflow where some templates may have missing optional files

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-04 08:53:46 -04:00
Dani a58aebe3c5 feat: add comprehensive Claude Code workflow execution instructions
## 🤖 Smart Workflow YAML Generation
- **Detailed Instructions**: Complete guide for Claude Code on how to execute workflows
- **Step-by-Step Guidance**: Exact execution pattern and behavior expectations
- **Context Preservation**: Instructions to maintain outputs between workflow steps
- **Error Handling**: Clear error management and recovery procedures
- **Progress Tracking**: Built-in progress reporting and status updates

## 📋 YAML Structure Enhancements
- **Professional Headers**: Clear visual separation with decorative borders
- **Execution Phases**: Preparation, Execution, Completion, and Error Handling
- **Component References**: Direct paths to installed agents, commands, and MCPs
- **Configuration Settings**: Timeout, error handling, and confirmation options
- **Summary Section**: Overview of steps, timing, and component requirements

## 🎯 Claude Code Integration
- **Workflow Mode**: Enable dedicated workflow execution behavior
- **Sequential Execution**: Step-by-step processing with dependency management
- **User Confirmation**: Optional approval before each step execution
- **Context Continuity**: Maintain state and outputs throughout workflow
- **Component Validation**: Verify all required components are installed

## 📝 Instruction Categories
1. **Execution Behavior**: READ → EXECUTE → CONFIRM → CONTINUE
2. **Step Pattern**: Announce → Action → Confirm → Next
3. **Component Usage**: Agents, Commands, MCPs with specific file locations
4. **Error Management**: Stop on failure with clear diagnostics
5. **Progress Updates**: Real-time status and completion reporting

## 🚀 Generated YAML Features
- Clear visual structure with section dividers
- Detailed per-step Claude instructions
- File path references (.claude/agents/, .claude/commands/, etc.)
- Execution templates for each step type
- Comprehensive workflow summary with timing estimates
- Production-ready configuration settings

This ensures Claude Code will understand exactly how to execute workflows automatically, maintaining context between steps and providing a smooth automation experience.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-03 09:56:19 -04:00
Dani e80f72cd8f feat: improve workflow organization and hide UI during testing
## 📁 Workflow Organization
- **Dedicated Workflows Folder**: Create `.claude/workflows/` directory for better organization
- **Clean File Structure**: Separate workflow YAML files from other components
- **Improved Path Display**: Show correct relative path in installation success message

## 🔒 UI Access Control
- **Hidden Workflows Button**: Comment out workflows navigation button during testing phase
- **Controlled Rollout**: Keep feature accessible via direct URL while testing
- **Clean Header**: Maintain professional appearance while feature is in beta

## 🧪 Testing Results
- ✅ Workflow files now saved to `.claude/workflows/filename.yaml`
- ✅ Directory structure: agents/, commands/, workflows/ for better organization
- ✅ UI button hidden but functionality fully working
- ✅ Direct URL access still available for testing: `/docs/workflows.html`

Workflow installation now creates:
```
.claude/
├── agents/
├── commands/
├── workflows/
│   └── workflow_name.yaml
└── .mcp.json
```

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-03 09:50:07 -04:00