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.1 KiB
JavaScript
Executable File
36 lines
1.1 KiB
JavaScript
Executable File
export function merge(...sets) {
|
|
if (sets.length > 1) {
|
|
sets[0] = sets[0].slice(0, -1);
|
|
const xl = sets.length - 1;
|
|
for (let x = 1; x < xl; ++x) {
|
|
sets[x] = sets[x].slice(1, -1);
|
|
}
|
|
sets[xl] = sets[xl].slice(1);
|
|
return sets.join('');
|
|
}
|
|
else {
|
|
return sets[0];
|
|
}
|
|
}
|
|
export function subexp(str) {
|
|
return "(?:" + str + ")";
|
|
}
|
|
export function typeOf(o) {
|
|
return o === undefined ? "undefined" : (o === null ? "null" : Object.prototype.toString.call(o).split(" ").pop().split("]").shift().toLowerCase());
|
|
}
|
|
export function toUpperCase(str) {
|
|
return str.toUpperCase();
|
|
}
|
|
export function toArray(obj) {
|
|
return obj !== undefined && obj !== null ? (obj instanceof Array ? obj : (typeof obj.length !== "number" || obj.split || obj.setInterval || obj.call ? [obj] : Array.prototype.slice.call(obj))) : [];
|
|
}
|
|
export function assign(target, source) {
|
|
const obj = target;
|
|
if (source) {
|
|
for (const key in source) {
|
|
obj[key] = source[key];
|
|
}
|
|
}
|
|
return obj;
|
|
}
|
|
//# sourceMappingURL=util.js.map
|