 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>
		
			
				
	
	
		
			45 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			45 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| var compareAscending = require('./_compareAscending');
 | |
| 
 | |
| /**
 | |
|  * Used by `_.orderBy` to compare multiple properties of a value to another
 | |
|  * and stable sort them.
 | |
|  *
 | |
|  * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,
 | |
|  * specify an order of "desc" for descending or "asc" for ascending sort order
 | |
|  * of corresponding values.
 | |
|  *
 | |
|  * @private
 | |
|  * @param {Object} object The object to compare.
 | |
|  * @param {Object} other The other object to compare.
 | |
|  * @param {boolean[]|string[]} orders The order to sort by for each property.
 | |
|  * @returns {number} Returns the sort order indicator for `object`.
 | |
|  */
 | |
| function compareMultiple(object, other, orders) {
 | |
|   var index = -1,
 | |
|       objCriteria = object.criteria,
 | |
|       othCriteria = other.criteria,
 | |
|       length = objCriteria.length,
 | |
|       ordersLength = orders.length;
 | |
| 
 | |
|   while (++index < length) {
 | |
|     var result = compareAscending(objCriteria[index], othCriteria[index]);
 | |
|     if (result) {
 | |
|       if (index >= ordersLength) {
 | |
|         return result;
 | |
|       }
 | |
|       var order = orders[index];
 | |
|       return result * (order == 'desc' ? -1 : 1);
 | |
|     }
 | |
|   }
 | |
|   // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications
 | |
|   // that causes it, under certain circumstances, to provide the same value for
 | |
|   // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247
 | |
|   // for more details.
 | |
|   //
 | |
|   // This also ensures a stable sort in V8 and other engines.
 | |
|   // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.
 | |
|   return object.index - other.index;
 | |
| }
 | |
| 
 | |
| module.exports = compareMultiple;
 |