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
2.0 KiB
TypeScript
43 lines
2.0 KiB
TypeScript
import React, { type ElementType, type Ref } from 'react';
|
|
import type { Props } from '../../types.js';
|
|
import { type HasDisplayName, type RefProp } from '../../utils/render.js';
|
|
import { _internal_ComponentDescription } from '../description/description.js';
|
|
import { _internal_ComponentLabel } from '../label/label.js';
|
|
declare let DEFAULT_GROUP_TAG: React.ExoticComponent<{
|
|
children?: React.ReactNode;
|
|
}>;
|
|
export type SwitchGroupProps<TTag extends ElementType> = Props<TTag>;
|
|
declare function GroupFn<TTag extends ElementType = typeof DEFAULT_GROUP_TAG>(props: SwitchGroupProps<TTag>): JSX.Element;
|
|
declare let DEFAULT_SWITCH_TAG: "button";
|
|
interface SwitchRenderPropArg {
|
|
checked: boolean;
|
|
}
|
|
type SwitchPropsWeControl = 'aria-checked' | 'aria-describedby' | 'aria-labelledby' | 'role';
|
|
export type SwitchProps<TTag extends ElementType> = Props<TTag, SwitchRenderPropArg, SwitchPropsWeControl, {
|
|
checked?: boolean;
|
|
defaultChecked?: boolean;
|
|
onChange?(checked: boolean): void;
|
|
name?: string;
|
|
value?: string;
|
|
disabled?: boolean;
|
|
form?: string;
|
|
tabIndex?: number;
|
|
}>;
|
|
declare function SwitchFn<TTag extends ElementType = typeof DEFAULT_SWITCH_TAG>(props: SwitchProps<TTag>, ref: Ref<HTMLButtonElement>): JSX.Element;
|
|
export interface _internal_ComponentSwitch extends HasDisplayName {
|
|
<TTag extends ElementType = typeof DEFAULT_SWITCH_TAG>(props: SwitchProps<TTag> & RefProp<typeof SwitchFn>): JSX.Element;
|
|
}
|
|
export interface _internal_ComponentSwitchGroup extends HasDisplayName {
|
|
<TTag extends ElementType = typeof DEFAULT_GROUP_TAG>(props: SwitchGroupProps<TTag> & RefProp<typeof GroupFn>): JSX.Element;
|
|
}
|
|
export interface _internal_ComponentSwitchLabel extends _internal_ComponentLabel {
|
|
}
|
|
export interface _internal_ComponentSwitchDescription extends _internal_ComponentDescription {
|
|
}
|
|
export declare let Switch: _internal_ComponentSwitch & {
|
|
Group: _internal_ComponentSwitchGroup;
|
|
Label: _internal_ComponentSwitchLabel;
|
|
Description: _internal_ComponentSwitchDescription;
|
|
};
|
|
export {};
|