Save current v2 sandbox implementation before styling refactor
- Modified sandbox API routes for v2 implementation - Updated sandbox providers (E2B and Vercel) - Added styling-reference directory with Firecrawl AI-ready website - Preparing for styling system port from Firecrawl design Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
+26
-6
@@ -6,27 +6,47 @@ export const appConfig = {
|
||||
vercelSandbox: {
|
||||
// Sandbox timeout in minutes
|
||||
timeoutMinutes: 15,
|
||||
|
||||
|
||||
// Convert to milliseconds for Vercel Sandbox API
|
||||
get timeoutMs() {
|
||||
return this.timeoutMinutes * 60 * 1000;
|
||||
},
|
||||
|
||||
|
||||
// Development server port (Vercel Sandbox typically uses 3000 for Next.js/React)
|
||||
devPort: 3000,
|
||||
|
||||
|
||||
// Time to wait for dev server to be ready (in milliseconds)
|
||||
devServerStartupDelay: 7000,
|
||||
|
||||
|
||||
// Time to wait for CSS rebuild (in milliseconds)
|
||||
cssRebuildDelay: 2000,
|
||||
|
||||
|
||||
// Working directory in sandbox
|
||||
workingDirectory: '/app',
|
||||
|
||||
|
||||
// Default runtime for sandbox
|
||||
runtime: 'node22' // Available: node22, python3.13, v0-next-shadcn, cua-ubuntu-xfce
|
||||
},
|
||||
|
||||
// E2B Sandbox Configuration
|
||||
e2b: {
|
||||
// Sandbox timeout in minutes
|
||||
timeoutMinutes: 30,
|
||||
|
||||
// Convert to milliseconds for E2B API
|
||||
get timeoutMs() {
|
||||
return this.timeoutMinutes * 60 * 1000;
|
||||
},
|
||||
|
||||
// Development server port (E2B uses 5173 for Vite)
|
||||
vitePort: 5173,
|
||||
|
||||
// Time to wait for Vite dev server to be ready (in milliseconds)
|
||||
viteStartupDelay: 10000,
|
||||
|
||||
// Working directory in sandbox
|
||||
workingDirectory: '/home/user/app',
|
||||
},
|
||||
|
||||
// AI Model Configuration
|
||||
ai: {
|
||||
|
||||
Reference in New Issue
Block a user