 85bf1341f3
			
		
	
	85bf1341f3
	
	
	
		
			
			Frontend Enhancements: - Complete React TypeScript frontend with modern UI components - Distributed workflows management interface with real-time updates - Socket.IO integration for live agent status monitoring - Agent management dashboard with cluster visualization - Project management interface with metrics and task tracking - Responsive design with proper error handling and loading states Backend Infrastructure: - Distributed coordinator for multi-agent workflow orchestration - Cluster management API with comprehensive agent operations - Enhanced database models for agents and projects - Project service for filesystem-based project discovery - Performance monitoring and metrics collection - Comprehensive API documentation and error handling Documentation: - Complete distributed development guide (README_DISTRIBUTED.md) - Comprehensive development report with architecture insights - System configuration templates and deployment guides The platform now provides a complete web interface for managing the distributed AI cluster with real-time monitoring, workflow orchestration, and agent coordination capabilities. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
		
			
				
	
	
		
			80 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			80 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| let Declaration = require('../declaration')
 | |
| 
 | |
| class TransformDecl extends Declaration {
 | |
|   /**
 | |
|    * Is transform contain 3D commands
 | |
|    */
 | |
|   contain3d(decl) {
 | |
|     if (decl.prop === 'transform-origin') {
 | |
|       return false
 | |
|     }
 | |
| 
 | |
|     for (let func of TransformDecl.functions3d) {
 | |
|       if (decl.value.includes(`${func}(`)) {
 | |
|         return true
 | |
|       }
 | |
|     }
 | |
| 
 | |
|     return false
 | |
|   }
 | |
| 
 | |
|   /**
 | |
|    * Don't add prefix for IE in keyframes
 | |
|    */
 | |
|   insert(decl, prefix, prefixes) {
 | |
|     if (prefix === '-ms-') {
 | |
|       if (!this.contain3d(decl) && !this.keyframeParents(decl)) {
 | |
|         return super.insert(decl, prefix, prefixes)
 | |
|       }
 | |
|     } else if (prefix === '-o-') {
 | |
|       if (!this.contain3d(decl)) {
 | |
|         return super.insert(decl, prefix, prefixes)
 | |
|       }
 | |
|     } else {
 | |
|       return super.insert(decl, prefix, prefixes)
 | |
|     }
 | |
|     return undefined
 | |
|   }
 | |
| 
 | |
|   /**
 | |
|    * Recursively check all parents for @keyframes
 | |
|    */
 | |
|   keyframeParents(decl) {
 | |
|     let { parent } = decl
 | |
|     while (parent) {
 | |
|       if (parent.type === 'atrule' && parent.name === 'keyframes') {
 | |
|         return true
 | |
|       }
 | |
|       ;({ parent } = parent)
 | |
|     }
 | |
|     return false
 | |
|   }
 | |
| 
 | |
|   /**
 | |
|    * Replace rotateZ to rotate for IE 9
 | |
|    */
 | |
|   set(decl, prefix) {
 | |
|     decl = super.set(decl, prefix)
 | |
|     if (prefix === '-ms-') {
 | |
|       decl.value = decl.value.replace(/rotatez/gi, 'rotate')
 | |
|     }
 | |
|     return decl
 | |
|   }
 | |
| }
 | |
| 
 | |
| TransformDecl.names = ['transform', 'transform-origin']
 | |
| 
 | |
| TransformDecl.functions3d = [
 | |
|   'matrix3d',
 | |
|   'translate3d',
 | |
|   'translateZ',
 | |
|   'scale3d',
 | |
|   'scaleZ',
 | |
|   'rotate3d',
 | |
|   'rotateX',
 | |
|   'rotateY',
 | |
|   'perspective'
 | |
| ]
 | |
| 
 | |
| module.exports = TransformDecl
 |