claude-flow
Version:
Ruflo - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration
50 lines • 3.34 kB
JavaScript
/**
* @claude-flow/shared - Shared Module
* Common types, events, utilities, and core interfaces for V3 Claude-Flow
*
* Based on ADR-002 (DDD) and ADR-006 (Unified Memory Service)
*/
// =============================================================================
// Types - Primary type definitions (from ./types.js)
// =============================================================================
export * from './types.js';
// =============================================================================
// Events - Event bus and basic event interfaces (from ./events.js)
// =============================================================================
export { EventBus } from './events.js';
export { createAgentSpawnedEvent, createAgentStartedEvent, createAgentStoppedEvent, createAgentFailedEvent, createTaskCreatedEvent, createTaskStartedEvent, createTaskCompletedEvent, createTaskFailedEvent, createMemoryStoredEvent, createMemoryRetrievedEvent, createMemoryDeletedEvent, createSwarmInitializedEvent, createSwarmScaledEvent, createSwarmTerminatedEvent, EventStore, Projection, AgentStateProjection, TaskHistoryProjection, MemoryIndexProjection, StateReconstructor, createStateReconstructor, AgentAggregate, TaskAggregate, } from './events/index.js';
// =============================================================================
// Plugin System - ADR-004
// =============================================================================
export * from './plugin-loader.js';
export * from './plugin-registry.js';
// =============================================================================
// Core - DDD interfaces, config, orchestrator
// Note: Only export non-overlapping items from core to avoid duplicates with types.js
// =============================================================================
export {
// Event Bus
createEventBus,
// Orchestrator
createOrchestrator, TaskManager, SessionManager, HealthMonitor, LifecycleManager, EventCoordinator,
// Config validation/loading
ConfigLoader, loadConfig, ConfigValidator, validateAgentConfig, validateTaskConfig, validateSwarmConfig, validateMemoryConfig, validateMCPServerConfig, validateOrchestratorConfig, validateSystemConfig,
// Defaults
defaultAgentConfig, defaultTaskConfig, defaultSwarmConfigCore, defaultMemoryConfig, defaultMCPServerConfig, defaultOrchestratorConfig, defaultSystemConfig, agentTypePresets, mergeWithDefaults, } from './core/index.js';
// =============================================================================
// Hooks System
// =============================================================================
export * from './hooks/index.js';
// =============================================================================
// Security Utilities
// =============================================================================
export * from './security/index.js';
// =============================================================================
// Resilience Patterns
// =============================================================================
export * from './resilience/index.js';
// =============================================================================
// Services
// =============================================================================
export * from './services/index.js';
//# sourceMappingURL=index.js.map