 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>
		
			
				
	
	
		
			36 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			1.0 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| /*!
 | |
|  * normalize-path <https://github.com/jonschlinkert/normalize-path>
 | |
|  *
 | |
|  * Copyright (c) 2014-2018, Jon Schlinkert.
 | |
|  * Released under the MIT License.
 | |
|  */
 | |
| 
 | |
| module.exports = function(path, stripTrailing) {
 | |
|   if (typeof path !== 'string') {
 | |
|     throw new TypeError('expected path to be a string');
 | |
|   }
 | |
| 
 | |
|   if (path === '\\' || path === '/') return '/';
 | |
| 
 | |
|   var len = path.length;
 | |
|   if (len <= 1) return path;
 | |
| 
 | |
|   // ensure that win32 namespaces has two leading slashes, so that the path is
 | |
|   // handled properly by the win32 version of path.parse() after being normalized
 | |
|   // https://msdn.microsoft.com/library/windows/desktop/aa365247(v=vs.85).aspx#namespaces
 | |
|   var prefix = '';
 | |
|   if (len > 4 && path[3] === '\\') {
 | |
|     var ch = path[2];
 | |
|     if ((ch === '?' || ch === '.') && path.slice(0, 2) === '\\\\') {
 | |
|       path = path.slice(2);
 | |
|       prefix = '//';
 | |
|     }
 | |
|   }
 | |
| 
 | |
|   var segs = path.split(/[/\\]+/);
 | |
|   if (stripTrailing !== false && segs[segs.length - 1] === '') {
 | |
|     segs.pop();
 | |
|   }
 | |
|   return prefix + segs.join('/');
 | |
| };
 |