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

23
admin-ui/scripts/dss-logs.sh Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
# Simple utility to tail browser logs
# Usage: ./dss-logs.sh [error|warn|info]
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
PROJECT_ROOT="$(cd "$SCRIPT_DIR/../.." && pwd)"
LOG_FILE="$PROJECT_ROOT/.dss/logs/browser-logs/browser.log"
LEVEL=${1:-info}
if [ ! -f "$LOG_FILE" ]; then
echo "Log file not found at $LOG_FILE"
exit 1
fi
echo "Tailing browser logs (Level: $LEVEL+)... Press Ctrl+C to stop."
if [ "$LEVEL" == "error" ]; then
tail -f "$LOG_FILE" | grep --line-buffered -i "ERROR"
elif [ "$LEVEL" == "warn" ]; then
tail -f "$LOG_FILE" | grep --line-buffered -i -E "ERROR|WARN"
else
tail -f "$LOG_FILE"
fi

View File

@@ -0,0 +1,29 @@
#!/bin/bash
# Starts Google Chrome in headless mode with remote debugging enabled.
# Usage: ./start-chrome-debug.sh
PORT=9222
USER_DATA_DIR="/tmp/chrome-debug-profile"
echo "Starting Chrome Headless with Remote Debugging on port $PORT..."
echo "User Data Directory: $USER_DATA_DIR"
# Ensure clean state if needed (optional)
# rm -rf $USER_DATA_DIR
google-chrome \
--headless=new \
--remote-debugging-port=$PORT \
--remote-allow-origins=* \
--user-data-dir=$USER_DATA_DIR \
--disable-gpu \
--no-sandbox \
--disable-dev-shm-usage \
--ignore-certificate-errors \
"https://localhost:3456" &
CHROME_PID=$!
echo "Chrome started with PID $CHROME_PID"
echo "To connect via SSH tunnel from your local machine:"
echo "ssh -L 9222:localhost:9222 user@your-server-ip"
echo "Then open chrome://inspect in your local browser."