Initial commit: Clean DSS implementation
Migrated from design-system-swarm with fresh git history.
Old project history preserved in /home/overbits/apps/design-system-swarm
Core components:
- MCP Server (Python FastAPI with mcp 1.23.1)
- Claude Plugin (agents, commands, skills, strategies, hooks, core)
- DSS Backend (dss-mvp1 - token translation, Figma sync)
- Admin UI (Node.js/React)
- Server (Node.js/Express)
- Storybook integration (dss-mvp1/.storybook)
Self-contained configuration:
- All paths relative or use DSS_BASE_PATH=/home/overbits/dss
- PYTHONPATH configured for dss-mvp1 and dss-claude-plugin
- .env file with all configuration
- Claude plugin uses ${CLAUDE_PLUGIN_ROOT} for portability
Migration completed: $(date)
🤖 Clean migration with full functionality preserved
This commit is contained in:
176
dss-mvp1/config.yaml
Normal file
176
dss-mvp1/config.yaml
Normal file
@@ -0,0 +1,176 @@
|
||||
# DSS Configuration for dss.overbits.luz.uy
|
||||
# Production configuration for Overbits Design System
|
||||
|
||||
# ==========================================
|
||||
# Project Information
|
||||
# ==========================================
|
||||
project:
|
||||
name: "Overbits Design System"
|
||||
version: "1.0.0"
|
||||
description: "Design system for Overbits projects"
|
||||
url: "https://dss.overbits.luz.uy"
|
||||
|
||||
# ==========================================
|
||||
# API Configuration
|
||||
# ==========================================
|
||||
api:
|
||||
# Anthropic Claude API
|
||||
anthropic:
|
||||
api_key: "${ANTHROPIC_API_KEY}" # Set in .env file
|
||||
model: "claude-sonnet-4-5-20250929"
|
||||
max_tokens: 4096
|
||||
|
||||
# Figma API
|
||||
figma:
|
||||
token: "${FIGMA_TOKEN}" # TODO: Add your Figma token to .env
|
||||
file_key: "" # TODO: Add your Figma file key
|
||||
use_cache: true
|
||||
cache_ttl_seconds: 300
|
||||
|
||||
# OpenAI (Optional - for comparison testing)
|
||||
openai:
|
||||
api_key: ""
|
||||
model: "gpt-4"
|
||||
|
||||
# ==========================================
|
||||
# Server Configuration
|
||||
# ==========================================
|
||||
server:
|
||||
host: "0.0.0.0" # Allow external connections
|
||||
port: 3456
|
||||
mcp_port: 3457
|
||||
reload: false # Production mode
|
||||
cors_origins:
|
||||
- "https://dss.overbits.luz.uy"
|
||||
- "https://overbits.luz.uy"
|
||||
- "http://localhost:3000" # Development
|
||||
|
||||
# ==========================================
|
||||
# Database Configuration
|
||||
# ==========================================
|
||||
database:
|
||||
path: "/home/overbits/.dss/dss.db"
|
||||
backup_path: "/home/overbits/.dss/backups/"
|
||||
auto_backup: true
|
||||
|
||||
# ==========================================
|
||||
# Theme Configuration
|
||||
# ==========================================
|
||||
themes:
|
||||
default_light: "DSS Light"
|
||||
default_dark: "DSS Dark"
|
||||
custom_themes_dir: "/home/overbits/dss/dss-mvp1/themes/"
|
||||
|
||||
# ==========================================
|
||||
# Style Dictionary Configuration
|
||||
# ==========================================
|
||||
style_dictionary:
|
||||
output_formats:
|
||||
- "css"
|
||||
- "scss"
|
||||
- "json"
|
||||
build_path: "/home/overbits/dss/dss-mvp1/dist/tokens/"
|
||||
platforms:
|
||||
- name: "css"
|
||||
transformGroup: "css"
|
||||
files:
|
||||
- destination: "variables.css"
|
||||
format: "css/variables"
|
||||
- name: "scss"
|
||||
transformGroup: "scss"
|
||||
files:
|
||||
- destination: "variables.scss"
|
||||
format: "scss/variables"
|
||||
- name: "json"
|
||||
transformGroup: "js"
|
||||
files:
|
||||
- destination: "tokens.json"
|
||||
format: "json/nested"
|
||||
|
||||
# ==========================================
|
||||
# Component Configuration
|
||||
# ==========================================
|
||||
components:
|
||||
# shadcn/ui
|
||||
shadcn:
|
||||
enabled: true
|
||||
components_dir: "/home/overbits/dss/dss-mvp1/components/"
|
||||
registry_url: "https://ui.shadcn.com/registry"
|
||||
|
||||
# HeroUI
|
||||
heroui:
|
||||
enabled: true
|
||||
theme_mapping: "heroui_to_shadcn"
|
||||
import_url: "https://heroui.com"
|
||||
|
||||
# ==========================================
|
||||
# Testing Configuration
|
||||
# ==========================================
|
||||
testing:
|
||||
use_mock_apis: false # Use real APIs in production tests
|
||||
test_db_path: "/home/overbits/.dss/test.db"
|
||||
coverage_threshold: 80
|
||||
markers:
|
||||
- "unit"
|
||||
- "integration"
|
||||
- "e2e"
|
||||
- "slow"
|
||||
|
||||
# ==========================================
|
||||
# Logging Configuration
|
||||
# ==========================================
|
||||
logging:
|
||||
level: "INFO"
|
||||
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"
|
||||
file: "/home/overbits/.dss/logs/dss.log"
|
||||
max_bytes: 10485760 # 10MB
|
||||
backup_count: 5
|
||||
|
||||
# ==========================================
|
||||
# Cache Configuration
|
||||
# ==========================================
|
||||
cache:
|
||||
enabled: true
|
||||
dir: "/home/overbits/.dss/cache/"
|
||||
ttl_seconds: 3600
|
||||
max_size_mb: 100
|
||||
|
||||
# ==========================================
|
||||
# Security Configuration
|
||||
# ==========================================
|
||||
security:
|
||||
jwt_secret: "${JWT_SECRET}" # Set in .env: openssl rand -hex 32
|
||||
jwt_algorithm: "HS256"
|
||||
access_token_expire_minutes: 30
|
||||
allowed_origins:
|
||||
- "https://dss.overbits.luz.uy"
|
||||
- "https://overbits.luz.uy"
|
||||
- "http://localhost:3000"
|
||||
|
||||
# ==========================================
|
||||
# Feature Flags
|
||||
# ==========================================
|
||||
features:
|
||||
figma_sync: true
|
||||
ai_chat: true
|
||||
component_library: true
|
||||
theme_switching: true
|
||||
analytics: true # Enable for production
|
||||
|
||||
# ==========================================
|
||||
# Deployment Configuration
|
||||
# ==========================================
|
||||
deployment:
|
||||
environment: "production"
|
||||
domain: "dss.overbits.luz.uy"
|
||||
ssl_enabled: true
|
||||
nginx_config: "/etc/nginx/sites-available/dss.overbits.luz.uy"
|
||||
|
||||
# ==========================================
|
||||
# Monitoring & Analytics
|
||||
# ==========================================
|
||||
monitoring:
|
||||
enabled: true
|
||||
sentry_dsn: "" # Optional: Add Sentry DSN for error tracking
|
||||
log_errors: true
|
||||
track_usage: true
|
||||
Reference in New Issue
Block a user