 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>
		
			
				
	
	
		
			43 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import utils from './../utils.js';
 | |
| import platform from '../platform/index.js';
 | |
| 
 | |
| export default platform.hasStandardBrowserEnv ?
 | |
| 
 | |
|   // Standard browser envs support document.cookie
 | |
|   {
 | |
|     write(name, value, expires, path, domain, secure) {
 | |
|       const cookie = [name + '=' + encodeURIComponent(value)];
 | |
| 
 | |
|       utils.isNumber(expires) && cookie.push('expires=' + new Date(expires).toGMTString());
 | |
| 
 | |
|       utils.isString(path) && cookie.push('path=' + path);
 | |
| 
 | |
|       utils.isString(domain) && cookie.push('domain=' + domain);
 | |
| 
 | |
|       secure === true && cookie.push('secure');
 | |
| 
 | |
|       document.cookie = cookie.join('; ');
 | |
|     },
 | |
| 
 | |
|     read(name) {
 | |
|       const match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)'));
 | |
|       return (match ? decodeURIComponent(match[3]) : null);
 | |
|     },
 | |
| 
 | |
|     remove(name) {
 | |
|       this.write(name, '', Date.now() - 86400000);
 | |
|     }
 | |
|   }
 | |
| 
 | |
|   :
 | |
| 
 | |
|   // Non-standard browser env (web workers, react-native) lack needed support.
 | |
|   {
 | |
|     write() {},
 | |
|     read() {
 | |
|       return null;
 | |
|     },
 | |
|     remove() {}
 | |
|   };
 | |
| 
 |