 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>
		
			
				
	
	
		
			57 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| 'use strict';
 | |
| 
 | |
| var $defineProperty = require('../');
 | |
| 
 | |
| var test = require('tape');
 | |
| var gOPD = require('gopd');
 | |
| 
 | |
| test('defineProperty: supported', { skip: !$defineProperty }, function (t) {
 | |
| 	t.plan(4);
 | |
| 
 | |
| 	t.equal(typeof $defineProperty, 'function', 'defineProperty is supported');
 | |
| 	if ($defineProperty && gOPD) { // this `if` check is just to shut TS up
 | |
| 		/** @type {{ a: number, b?: number, c?: number }} */
 | |
| 		var o = { a: 1 };
 | |
| 
 | |
| 		$defineProperty(o, 'b', { enumerable: true, value: 2 });
 | |
| 		t.deepEqual(
 | |
| 			gOPD(o, 'b'),
 | |
| 			{
 | |
| 				configurable: false,
 | |
| 				enumerable: true,
 | |
| 				value: 2,
 | |
| 				writable: false
 | |
| 			},
 | |
| 			'property descriptor is as expected'
 | |
| 		);
 | |
| 
 | |
| 		$defineProperty(o, 'c', { enumerable: false, value: 3, writable: true });
 | |
| 		t.deepEqual(
 | |
| 			gOPD(o, 'c'),
 | |
| 			{
 | |
| 				configurable: false,
 | |
| 				enumerable: false,
 | |
| 				value: 3,
 | |
| 				writable: true
 | |
| 			},
 | |
| 			'property descriptor is as expected'
 | |
| 		);
 | |
| 	}
 | |
| 
 | |
| 	t.equal($defineProperty, Object.defineProperty, 'defineProperty is Object.defineProperty');
 | |
| 
 | |
| 	t.end();
 | |
| });
 | |
| 
 | |
| test('defineProperty: not supported', { skip: !!$defineProperty }, function (t) {
 | |
| 	t.notOk($defineProperty, 'defineProperty is not supported');
 | |
| 
 | |
| 	t.match(
 | |
| 		typeof $defineProperty,
 | |
| 		/^(?:undefined|boolean)$/,
 | |
| 		'`typeof defineProperty` is `undefined` or `boolean`'
 | |
| 	);
 | |
| 
 | |
| 	t.end();
 | |
| });
 |