Commit Graph

15 Commits

Author SHA1 Message Date
daniel cf7e008c59 feat: Add monitoring points P1-P5 (installation outcomes, website events, API health)
- Create 3 Neon tables: installation_outcomes, website_events, api_health_logs
- Add API endpoints: track-installation-outcome, track-website-events, health-check
- Track CLI installation success/failure with timing and error classification
- Add website event tracker (search, cart, component views) with batched sendBeacon
- Add health-check cron every 15min with Discord alerts on failure
- Integrate tracking in all 6 installIndividual* functions with batchId support

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 22:08:34 -05:00
Daniel Avila 47c9f51753 feat: Redesign component page with GitHub PR-style tabs and Giscus comments (#351)
Add tabbed layout (Overview/Code) with sidebar, integrate Giscus for
GitHub Discussions-based commenting, and move validation section into
the Overview tab for better content organization.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-09 22:01:53 -06:00
Daniel Avila a98ecaa762 fix(seo): Fix social preview images and meta tags across all pages (#313)
- Fix root cause of X/Twitter preview not showing: image path was
  /social-preview.png but file is at /images/social-preview.png
- Fix component.html referencing non-existent og-image.png
- Change twitter meta tags from property= to name= (correct spec) in
  14 files (all blog articles, blog index, featured, jobs)
- Standardize image URLs from www.aitmpl.com to aitmpl.com
- Update jobs.html URLs from davila7.github.io to aitmpl.com
- Update structured data URL in index.html to aitmpl.com
- Add complete OG + Twitter Card meta tags to 5 pages that were
  missing them: trending, download-stats, plugin, sandbox-interface,
  workflows

https://claude.ai/code/session_01CXzS5mzoK3rZB6PW3QSPPd

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-27 12:35:49 -05:00
Dani fae17823df fix(component.html): Change header link to Home
- Changed "Claude Code" link to "Home" pointing to /index.html
- Improves navigation from component detail pages

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 18:05:35 -05:00
Dani 92e2d1184d feat: Add Docker Sandbox Provider for local Claude Code execution
🐳 New Docker Sandbox Provider - Execute Claude Code in isolated local containers

## Features
- ✅ Fully local execution with complete isolation
- ✅ Claude Agent SDK integration with async generator pattern
- ✅ Multi-directory file detection (/app and /tmp)
- ✅ Support for specialized agents
- ✅ Automated execution with --yes flag
- ✅ Custom Docker environments

## Files Added
- cli-tool/components/sandbox/docker/Dockerfile - Node.js 22 Alpine image
- cli-tool/components/sandbox/docker/docker-launcher.js - Container orchestration
- cli-tool/components/sandbox/docker/execute.js - Claude SDK execution script
- cli-tool/components/sandbox/docker/package.json - Dependencies
- cli-tool/components/sandbox/docker/README.md - Complete documentation

## Changes
- cli-tool/package.json: Bump version to 1.27.0, add docker files to npm package
- cli-tool/src/index.js: Add Docker sandbox execution logic and --yes flag support
- docs/component.html: Add Docker provider documentation and comparison table
- docs/css/component-page.css: Docker provider styling
- docs/js/component-page.js: Docker provider tab functionality

## Usage
npx claude-code-templates@latest --sandbox docker --agent example --prompt "task" --yes

## Requirements
- Docker Desktop installed and running
- Anthropic API key configured

🎉 Version 1.27.0 published to npm

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-02 16:34:49 -05:00
Dani 8b788dfc9a fix skill modal and add analytics 2025-10-24 17:05:21 -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>
2025-10-16 15:34:11 -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 8ee17bda8e feat: implement plugin system with marketplace and category filters
- Add plugin marketplace system with 10 curated plugins
- Create plugin detail pages with installation instructions
- Add component installation modal with copy functionality
- Update Python script to extract plugin data with category/folder paths
- Add category filters that load correctly based on URL
- Update footer across all pages for consistency
- Fix install commands to use folder/name format

Features:
- Plugin cards with View Details button
- Individual component installation with proper paths
- Related plugins based on shared keywords
- Dynamic category loading for all filter types
- URL-based filter detection and category display

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 17:15:06 -04:00
Dani 6925700bb3 add hotjar + jobs 2025-09-13 10:13:51 -04:00
Dani aa329c6682 fix car and vercel routes 2025-09-10 19:41:25 -04:00
Dani a78e77f8dd Simplify component.html for production-only deployment
Remove all local environment detection logic and focus 100% on production.

Changes:
- Use static absolute paths for all resources (/css/, /js/, /favicon.ico)
- Remove complex environment detection and dynamic script loading
- Simplify DataLoader to always use absolute paths (/components.json)
- Clean up debugging logs and navigation links
- Static script tags for reliable loading order

This eliminates complexity and ensures robust production functionality.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 17:51:31 -04:00
Dani 0bdfeb1113 Fix JavaScript path resolution for production component URLs
JavaScript files were loading with relative paths (js/data-loader.js)
which resolved incorrectly from SEO-friendly URLs like
/component/agent/name to /component/agent/js/data-loader.js.

Changes:
- Replace static script tags with dynamic environment-aware loading
- Use relative paths (js/) for local development
- Use absolute paths (/js/) for production
- Maintain script execution order with async=false
- Add debugging logs for troubleshooting

This resolves MIME type errors and ensures JavaScript functionality
works correctly on production component pages.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 17:41:32 -04:00
Dani a6b9226cc0 fix routes vercel 2025-09-10 17:23:42 -04:00
Dani a3c0187e55 feat: component page improvements and SEO-friendly URLs
• Complete component page implementation with cart functionality
• Clean component names (remove .md/.json extensions in display)
• SEO-friendly URLs: /component/type/name format
• Local/production URL detection for development compatibility
• Improved header actions positioning and responsive design
• API keys setup (Anthropic + E2B) for sandbox execution
• Enhanced cart functionality with clean path/name display
• Share dropdown positioning fix (opens upward)
• Compact back navigation styling

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 17:07:04 -04:00