Commit Graph

1243 Commits

Author SHA1 Message Date
Dani 072197cbde discord release notification 2025-10-27 09:19:58 -04:00
Dani 0dad0cf0b3 sitemap and blogs 2025-10-26 12:14:07 -04:00
Dani 936101a70c readme center 2025-10-26 11:48:33 -04:00
Dani 7e85dffd11 README.md: add repository of the day 2025-10-25 13:30:30 -04:00
Dani 8b788dfc9a fix skill modal and add analytics 2025-10-24 17:05:21 -04:00
Dani 576bcc1c00 update nia server 2025-10-24 11:42:44 -04:00
Dani 5af0b5b957 update download data 2025-10-23 17:57:14 -04:00
Dani 22a3f99e4d add testsprite mcp and update download data 2025-10-23 17:50:35 -04:00
Dani a467d114e1 chore: Bump version to 1.24.17 for npm release 2025-10-23 15:19:19 -04:00
Dani 449f68acc1 feat: Add advanced search functionality to chats interface
- Add advanced search panel with filters for directory, date range, and content
- Implement in-conversation search with navigation (↑↓ arrows)
- Add folder browser with conversation counts per directory
- Add search result highlighting with current match emphasis
- Implement 3-character minimum for search to prevent performance issues
- Add ID-based message navigation for reliable infinite scroll support
- Add visual feedback with flash animations and match counters

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-23 15:18:20 -04:00
Dani 404bbfe538 feat: Add 'skill' as valid component type in tracking API
- Add 'skill' to validTypes array in track-download-supabase.js
- Allows tracking of skill component downloads in Supabase

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-22 18:58:16 -04:00
Dani f3242ea11c docs: Clean up /docs/api and update documentation
- Remove redundant serverless function files from /docs/api
- Update README to clarify two-directory architecture
- /api/ for serverless functions (Vercel requirement)
- /docs/api/ for static JSON files only

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-22 18:55:52 -04:00
Dani eef88f88a4 Revert: Restore /api directory - Vercel requires it for serverless functions
This reverts commit b082254. Vercel requires serverless functions in /api/
regardless of outputDirectory. Both directories are needed:
- /api/ for serverless functions (Vercel auto-detects here)
- /docs/api/ can be removed as it's redundant

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-22 18:55:12 -04:00
Dani b0822549a1 refactor: Remove redundant /api directory and consolidate to /docs/api
- Eliminated duplicate /api directory (not used by Vercel)
- Updated /docs/api/README.md to reflect single source of truth
- /docs/api/track-download-supabase.js already includes 'skill' type support
- Simplified maintenance workflow (no more file syncing needed)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-22 18:48:25 -04:00
Dani 9fda1f8a98 fix(api): Add @supabase/supabase-js dependency to root package.json for Vercel functions 2025-10-21 14:42:40 -04:00
Dani 054c0e56e9 fix(commands): Remove deprecated 'model: sonnet' field from 142 command files
Removed the deprecated 'model: sonnet' field from command frontmatter to fix
compatibility issues with Claude Code. Commands will now inherit the model from
the active conversation instead of using a hardcoded deprecated model identifier.

Changes:
- Removed 'model: sonnet' from 142 command files across all categories
- Commands now use default model inheritance behavior
- Preserved 'model: claude-sonnet-4-5-20250929' in gemini-review.md (valid model)
- 67 commands without model field remain unchanged

This resolves the "model: sonnet not found" error reported in GitHub issues
and aligns with Claude Code's recommended practice of letting commands inherit
the conversation model.

Affected categories:
- Database/Supabase commands (8 files)
- Documentation commands (8 files)
- Deployment commands (11 files)
- Setup commands (14 files)
- Performance commands (8 files)
- Team commands (14 files)
- Security commands (6 files)
- NextJS/Vercel commands (10 files)
- Sync commands (14 files)
- And more across other categories

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-21 10:08:58 -04:00
Dani 43c9d86a85 refactor(cloudflare): Clean up unnecessary logs and code output
- Removed full code output from console (code is saved to files anyway)
- Simplified file download logs to show only filenames
- Removed redundant separators and verbose output
- Keep only essential progress indicators:
  - Agent installation
  - Code generation progress
  - File extraction and save location

Users now see only the essential progress without code dumps.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 19:46:26 -04:00
Dani 0d73e0b498 feat(cloudflare): Upgrade to claude-agent-sdk v0.1.23 with settingSources support
- Updated @anthropic-ai/claude-agent-sdk from ^0.1.0 to ^0.1.23
- Replaced manual agent loading with automatic settingSources: ['project']
- Removed temporary workaround for agent loading (SDK now properly supports it)
- Added gitignore entries for local test directories
- Verified settingSources functionality works with SDK v0.1.23

The latest SDK version properly supports automatic agent loading from .claude/ directory,
eliminating the need for manual file reading and systemPrompt manipulation.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 19:44:32 -04:00
Dani dbdea302a5 fix(cloudflare): Listen for 'result' type messages from Agent SDK
The Agent SDK returns the final response in a message with type='result'
and the content in message.result, not in type='text' messages.

This was discovered through direct testing of the SDK.
2025-10-20 19:36:24 -04:00
Dani 95779b9f24 docs(cloudflare): Add comments explaining temporary agent loading solution
- Current SDK version (^0.1.0) does not properly support settingSources
- Manually loading agent content as workaround
- TODO: Revisit when SDK properly supports automatic agent loading
2025-10-20 19:28:57 -04:00
Dani ffd866a6cf fix(cloudflare): Load agent manually instead of using settingSources 2025-10-20 19:26:13 -04:00
Dani 4c0056f0e8 debug: Add CWD logging to troubleshoot Agent SDK 2025-10-20 19:23:24 -04:00
Dani 9d6c10fce0 fix(cloudflare): Add missing component variables to function scope 2025-10-20 18:38:57 -04:00
Dani 9b2df6772b fix(cloudflare): Pass componentsToInstall correctly to launcher 2025-10-20 18:36:17 -04:00
Dani 228f7b2b7a feat(cloudflare): Add better error handling for Agent SDK query 2025-10-20 18:31:07 -04:00
Dani 3fa7ed13d4 fix(cloudflare): Remove problematic file filter in fs.copy v1.24.16 2025-10-20 17:55:22 -04:00
Dani d24a9902ff fix(cloudflare): Add debug logging for component file copy
Added detailed logging to help debug why Cloudflare component files
are not being copied to the sandbox directory.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 17:53:12 -04:00
Dani 82ba6e2d04 chore: Bump version to 1.24.4 with Cloudflare fixes 2025-10-20 17:45:08 -04:00
Dani 7880073473 chore: Bump version to 1.24.3 2025-10-20 17:44:57 -04:00
Dani 28d6229802 docs(cloudflare): Update IMPLEMENTATION_SUMMARY with file download structure details
Added comprehensive documentation about file download structure
matching E2B pattern (cloudflare-{timestamp}/).

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 17:40:14 -04:00
Dani 669cd6ed44 update skills category in trending data and components json 2025-10-20 13:21:17 -04:00
Dani 40e5f66f85 fix(cloudflare): Align file download directory structure with E2B pattern
Fixed Cloudflare sandbox to save generated files in project root using
timestamp-based directories, matching E2B's sandbox-{id} pattern.

**Changes**:
- Modified launcher.ts to accept targetDir parameter (5th argument)
- Updated LauncherConfig interface with optional targetDir field
- Modified displayResults() to use targetDir instead of process.cwd()
- Fixed TypeScript errors (workerUrl undefined, unused language variable)
- Updated src/index.js to pass targetDir to launcher
- Added cloudflare-*/ and sandbox-*/ to .gitignore
- Updated IMPLEMENTATION_SUMMARY.md with file structure details

**Directory Structure**:
- Before: `.claude/sandbox/cloudflare/cloudflare-output/`
- After: `your-project/cloudflare-{timestamp}/`

**Pattern Comparison**:
- E2B: `your-project/sandbox-{id}/`
- Cloudflare: `your-project/cloudflare-{timestamp}/`

Files now download to clean, timestamped directories in the project root,
improving organization and matching user expectations from E2B behavior.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-20 09:44:05 -04:00
Dani 2799202579 feat: Add Cloudflare Workers sandbox with AI code generation
Implemented complete Cloudflare sandbox integration for executing Claude Code with automatic file downloads.

Features:
- AI-powered code generation using Claude Sonnet 4.5
- Automatic extraction and download of HTML/CSS/JS files
- TypeScript launcher and monitoring tools
- Support for web development requests with file detection
- Integration with CLI (--sandbox cloudflare)
- Global edge deployment capability
- Comprehensive documentation and debugging guides

Files Added:
- Worker source (src/index.ts) with Claude AI integration
- TypeScript launcher with file extraction
- Real-time monitoring tool
- Complete documentation suite (4 MD files)
- Configuration files (wrangler.toml, package.json, tsconfig.json)

Integration:
- Modified src/index.js to support cloudflare sandbox provider
- Split E2B and Cloudflare logic into separate functions
- Added file download functionality similar to E2B

Tested:
- Successfully generates and downloads HTML/CSS/JS files
- Works with agents (e.g., frontend-developer)
- Proper error handling and user feedback

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-19 19:37:05 -04:00
Dani 74578b49ea chore: Bump version to 1.24.1
Fix for skills installation - now downloads all files recursively
2025-10-17 20:27:45 -04:00
Dani 1aa6d8b324 1.21.14 v1.21.14 2025-10-17 20:26:31 -04:00
Dani 3f874a12c0 fix: Download all skill files and directories recursively
Problem:
- Skills like docx require additional files (docx-js.md, ooxml.md, LICENSE.txt)
- Previous implementation only downloaded files matching specific patterns
- Skills with complex directory structures (ooxml/, scripts/) were incomplete

Solution:
- Replaced pattern-based file detection with GitHub API recursive download
- Downloads ALL files and directories in the skill directory
- Maintains executable permissions for .py and .sh files
- Simplifies code and ensures complete skill installation

Benefits:
- docx skill now includes all 59 files (SKILL.md, docx-js.md, ooxml/, scripts/, etc.)
- Works for all current and future skills without modification
- No need to maintain regex patterns or directory whitelists

Testing:
- Verified docx skill installation with all files present
- Confirmed executable permissions on Python scripts
- Total files downloaded: 59 for docx skill
2025-10-17 20:26:28 -04:00
Dani 4a122dc1ae chore: Bump version to 1.24.0
Release v1.24.0 - Skills Integration

New Features:
- 🎨 Added 19 official Anthropic skills to components library
- 📦 Organized skills into 4 categories (creative-design, development, document-processing, enterprise-communication)
- 🌐 Web interface support for skills with filter, search, and cart
- 📊 Supabase analytics integration for skill downloads
- 🔗 URL routing support for /skills path

Skills Categories:
- creative-design: algorithmic-art, canvas-design, slack-gif-creator, theme-factory
- development: artifacts-builder, git-commit-helper, mcp-builder, skill-creator, webapp-testing
- document-processing: docx, xlsx, pptx, pdf-anthropic, pdf-processing, pdf-processing-pro
- enterprise-communication: brand-guidelines, email-composer, excel-analysis, internal-comms

Installation:
npx claude-code-templates@latest --skill=category/skill-name

Package size optimized: 319.2 kB (components downloaded on-demand from GitHub)
v1.24.0
2025-10-17 18:39:07 -04:00
Dani 8ea8212e49 chore: Bump version to 1.22.2
Release v1.22.2 - Skills Integration

New Features:
- 🎨 Added 19 official Anthropic skills to components library
- 📦 Organized skills into 4 categories (creative-design, development, document-processing, enterprise-communication)
- 🌐 Web interface support for skills with filter, search, and cart
- 📊 Supabase analytics integration for skill downloads
- 🔗 URL routing support for /skills path

Skills Categories:
- creative-design: algorithmic-art, canvas-design, slack-gif-creator, theme-factory
- development: artifacts-builder, git-commit-helper, mcp-builder, skill-creator, webapp-testing
- document-processing: docx, xlsx, pptx, pdf-anthropic, pdf-processing, pdf-processing-pro
- enterprise-communication: brand-guidelines, email-composer, excel-analysis, internal-comms

Installation:
npx claude-code-templates@latest --skill=category/skill-name

Package size optimized: 319.2 kB (components downloaded on-demand from GitHub)
v1.22.2
2025-10-17 18:29:19 -04:00
Dani fc5ff71637 fix: Add skill to valid component types in Supabase download tracking
- Added 'skill' to validTypes array in track-download-supabase.js
- Ensures download analytics properly track skill installations
- Completes skills integration for web interface and backend
2025-10-17 18:11:31 -04:00
Dani 62c0fdc75f fix: Add skills to search functionality and URL routing
- Added 'skills' to validFilters in getFilterFromURL()
- Added 'skills' to component categories for search indexing
- Added skills icon 🎨 to category icons and typeConfig
- Enables proper /skills URL routing and search functionality

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-17 18:04:34 -04:00
Dani 89a8a6aa8f feat: Add /skills route to Vercel configuration
- Added /skills rewrite rule to vercel.json
- Enables direct navigation to http://localhost:3000/skills
- Consistent with other component routes (/agents, /commands, etc.)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-17 17:46:12 -04:00
Dani d6b27f48d6 feat: Add skills integration with categorization and web interface support
## Skills System
- Add 19 Anthropic skills to components/skills/ with proper categorization
- Create 4 skill categories: creative-design, development, document-processing, enterprise-communication
- Add ANTHROPIC_ATTRIBUTION.md with license information (Apache 2.0 and Source-Available)

## Data Generation
- Update generate_components_json.py to handle skills with category/skill-name structure
- Skills now use SKILL.md inside category directories
- Extract descriptions from skill frontmatter
- Support proper path generation: category/skill-name

## CLI Installation
- Update installIndividualSkill() to support category/skill-name format
- Handle both "skill-name" and "category/skill-name" installation paths
- Improve error messages with category suggestions
- Download additional files (scripts/, reference/, templates/) via GitHub API

## Web Interface
- Add skills filter chip with "NEW" label and 🎨 icon to docs/index.html
- Update JavaScript to support skills filtering and categorization
- Add skills support to shopping cart system
- Generate correct installation commands: --skill=category/skill-name
- Update data-loader.js, index-events.js, and cart-manager.js for skills

## Skills Included
### Creative & Design (4)
- algorithmic-art, canvas-design, slack-gif-creator, theme-factory

### Development (5)
- artifacts-builder, git-commit-helper, mcp-builder, skill-creator, webapp-testing

### Document Processing (6)
- docx, pdf-anthropic, pdf-processing, pdf-processing-pro, pptx, xlsx

### Enterprise Communication (4)
- brand-guidelines, email-composer, excel-analysis, internal-comms

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-17 17:27:34 -04:00
Dani 4e92c7abf6 feat: Add 19 official Anthropic skills to components library
🎨 Skills Added:
- Creative & Design: algorithmic-art, canvas-design, slack-gif-creator
- Development: mcp-builder, artifacts-builder, webapp-testing, skill-creator
- Documents: docx, pdf-anthropic, pptx, xlsx
- Enterprise: brand-guidelines, internal-comms, theme-factory

✨ Features:
- Progressive disclosure pattern (SKILL.md + reference files)
- Automatic download of scripts/, reference/, templates/ directories
- GitHub API integration for directory listing
- Executable permissions for .py and .sh files
- Complete license information (ANTHROPIC_ATTRIBUTION.md)

📝 Updates:
- Enhanced installIndividualSkill() with directory download support
- Updated README.md with Skills section
- Regenerated components.json (29 total skills)
- Added proper attribution to Anthropic

🔧 Technical:
- Skills follow Anthropic's standard structure
- All use SKILL.md as main file
- Includes LICENSE.txt files from original repository
- Total size: 9.1MB

Source: https://github.com/anthropics/skills

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-17 14:06:45 -04:00
Daniel Avila 5cba740dde Improve validation modal text display and UX enhancements (#112)
## Changes Made:

### 1. Modal Text Display Improvements
- Increased error/warning message font size from 14px to 16px for better readability
- Improved line height from 1.5 to 1.6 for better spacing
- Increased margin-bottom from 4px to 8px for better visual separation

### 2. Code Preview Text Wrapping
- Removed horizontal scroll (`overflow-x: auto`) from code previews
- Added `white-space: normal` to prevent excessive whitespace at line start
- Added `word-wrap: break-word` and `overflow-wrap: break-word` for proper text wrapping
- Applied to all code preview sections:
  - Error line text previews
  - Warning line text previews
  - Example line text in errors
  - Example line text in warnings

### 3. Line Number Scroll Synchronization
- Added `position: relative` to `.code-body` for better layout control
- Added `overflow: hidden` and `max-height: 600px` to `.code-line-numbers`
- Added `max-height: 600px` to `.code-content`
- Implemented JavaScript scroll sync between line numbers and code content
- Line numbers now scroll perfectly in sync with code content

### 4. Clickable Error Line Numbers
- Added `cursor: pointer` to error/warning line numbers
- Added "Click to see details" tooltip on error/warning lines
- Implemented click event listeners on all error/warning lines
- Click handler searches through validators to find matching error
- Opens validation modal with correct validator details when clicked
- Added hover effects with `transform: translateX(-2px)` and `cursor: help`

## User Experience Improvements:
- ✅ Error messages are now larger and easier to read (16px)
- ✅ Code snippets wrap naturally without horizontal scroll
- ✅ No excessive whitespace at the beginning of code lines
- ✅ Line numbers stay synchronized during scroll
- ✅ Error line numbers are interactive and open detailed validation modals
- ✅ Better visual hierarchy with improved spacing and sizing

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

Co-authored-by: Claude <noreply@anthropic.com>
v1.23.0
2025-10-16 15:34:11 -04:00
Dani 43dd5f9320 update download stats and component data in JSON files 2025-10-15 15:05:14 -04:00
Dani ad8753272d favicon: Add favicon to all pages for consistent branding and improved UX 2025-10-15 14:58:22 -04:00
Dani 9168edbff6 add discord links to header and footer in index.html 2025-10-14 15:15:53 -04:00
Dani 2d090008b4 update components.json with download count increments 2025-10-14 13:34:59 -04:00
Dani 199a17529c blog and trending data updates 2025-10-14 13:32:15 -04:00
SangheeSon 6bd3eff704 fix: Add UTF-8 encoding to context-monitor file reading (#107)
Fixes file reading error on Windows where the default encoding (cp949)
fails to read UTF-8 transcript files. Adding explicit encoding='utf-8'
with errors='replace' ensures cross-platform compatibility.
2025-10-14 13:22:24 -04:00