mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
2799202579
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>
32 lines
636 B
JSON
32 lines
636 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "ES2022",
|
|
"module": "ES2022",
|
|
"lib": ["ES2022"],
|
|
"types": ["@cloudflare/workers-types", "node"],
|
|
"moduleResolution": "node",
|
|
"resolveJsonModule": true,
|
|
"esModuleInterop": true,
|
|
"allowSyntheticDefaultImports": true,
|
|
"strict": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"isolatedModules": true,
|
|
"noEmit": true,
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"@/*": ["src/*"]
|
|
}
|
|
},
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"launcher.ts",
|
|
"monitor.ts"
|
|
],
|
|
"exclude": [
|
|
"node_modules",
|
|
"dist",
|
|
".wrangler"
|
|
]
|
|
}
|