# Environment variables for Cursor Full Stack AI IDE

# Backend URL
VITE_BACKEND_URL=https://cursor-backend.workers.dev

# WebSocket URL
VITE_WS_URL=wss://cursor-backend.workers.dev

# App Configuration
VITE_APP_NAME=Cursor Full Stack AI IDE
VITE_APP_VERSION=1.0.0
VITE_APP_DESCRIPTION=A complete AI-powered development environment

# Feature Flags
VITE_ENABLE_AI_CHAT=true
VITE_ENABLE_TOOLS=true
VITE_ENABLE_TERMINAL=true
VITE_ENABLE_GIT=true

# AI Providers
VITE_DEFAULT_AI_PROVIDER=openai
VITE_AI_PROVIDERS=openai,anthropic,google,mistral,openrouter

# Editor Configuration
VITE_EDITOR_THEME=vs-dark
VITE_EDITOR_FONT_SIZE=14
VITE_EDITOR_TAB_SIZE=2
VITE_EDITOR_WORD_WRAP=on

# Storage Configuration
VITE_MAX_FILE_SIZE=10485760
VITE_MAX_FILES=1000
VITE_ALLOWED_EXTENSIONS=.js,.ts,.jsx,.tsx,.py,.go,.rs,.java,.cpp,.c,.cs,.php,.rb,.html,.css,.scss,.json,.xml,.yaml,.yml,.md,.sql,.sh,.bash,.dockerfile

# Security
VITE_CORS_ORIGIN=*
VITE_CONTENT_SECURITY_POLICY=default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; connect-src 'self' https://*.workers.dev wss://*.workers.dev;

# Performance
VITE_ENABLE_SERVICE_WORKER=true
VITE_ENABLE_PWA=true
VITE_CACHE_STRATEGY=stale-while-revalidate

# Analytics (Optional)
VITE_ANALYTICS_ID=
VITE_ANALYTICS_ENABLED=false

# Error Reporting (Optional)
VITE_ERROR_REPORTING_ENABLED=false
VITE_ERROR_REPORTING_URL=

# Development
VITE_DEV_MODE=false
VITE_DEBUG_MODE=false
VITE_LOG_LEVEL=info