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:
Digital Production Factory
2025-12-09 18:45:48 -03:00
commit 276ed71f31
884 changed files with 373737 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
{
"meta": {
"version": "1.0.0",
"timestamp": "2025-12-05T18:07:46Z",
"project_path": ".",
"full_scan": false
},
"project": {
"types": [
"python"
],
"frameworks": [
"fastapi"
]
},
"design_system": {"detected":true,"type":"custom","has_tokens":true},
"files": {
"total": 7,
"javascript": 0,
"css": 1,
"python": 2,
"components": 0
},
"dependencies": {"python":6,"total":6},
"git": {"is_repo":false},
"health": {
"score": 85,
"grade": "B",
"issues": ["Missing README","No test directory found"]
},
"css": {
"files": 1,
"preprocessor": "none",
"has_css_variables": true,
"has_preprocessor_variables": false
},
"components": []
}

View File

@@ -0,0 +1,8 @@
:root {
--primary: rgb(51, 102, 229);
--secondary: rgb(127, 127, 127);
--background: rgb(255, 255, 255);
--space-1: 4px;
--space-2: 8px;
--space-4: 16px;
}

View File

@@ -0,0 +1,24 @@
[Unit]
Description=Design System Server (DSS) - Portable Server
Documentation=https://github.com/overbits/design-system-swarm
After=network.target
[Service]
Type=simple
User=overbits
Group=overbits
WorkingDirectory=/home/overbits/apps/design-system-swarm/tools/api
Environment=PATH=/home/overbits/.local/bin:/usr/local/bin:/usr/bin:/bin
Environment=PYTHONPATH=/home/overbits/apps/design-system-swarm/tools
Environment=PORT=3456
Environment=HOST=127.0.0.1
Environment=NODE_ENV=production
ExecStart=/usr/bin/python3 -m uvicorn server:app --host 127.0.0.1 --port 3456
Restart=on-failure
RestartSec=5
StandardOutput=journal
StandardError=journal
SyslogIdentifier=dss
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,17 @@
[Unit]
Description=DSS MCP Server - Design System Server for AI Agents
After=network.target
[Service]
Type=simple
User=overbits
Group=overbits
WorkingDirectory=/home/overbits/apps/design-system-swarm/tools/api
Environment="PATH=/home/overbits/apps/design-system-swarm/.venv/bin:/usr/bin"
Environment="PYTHONPATH=/home/overbits/apps/design-system-swarm/tools"
ExecStart=/home/overbits/apps/design-system-swarm/.venv/bin/python mcp_server.py sse
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target

1447
demo/tools/api/mcp_server.py Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,6 @@
fastapi>=0.100.0
uvicorn[standard]>=0.23.0
httpx>=0.24.0
python-dotenv>=1.0.0
pydantic>=2.0.0
mcp>=1.0.0

2092
demo/tools/api/server.py Normal file

File diff suppressed because it is too large Load Diff