Module: EnhanceSwarm

Defined in:
lib/enhance_swarm.rb,
lib/enhance_swarm/cli.rb,
lib/enhance_swarm/logger.rb,
lib/enhance_swarm/web_ui.rb,
lib/enhance_swarm/monitor.rb,
lib/enhance_swarm/version.rb,
lib/enhance_swarm/generator.rb,
lib/enhance_swarm/orchestrator.rb,
lib/enhance_swarm/task_manager.rb,
lib/enhance_swarm/agent_spawner.rb,
lib/enhance_swarm/configuration.rb,
lib/enhance_swarm/control_agent.rb,
lib/enhance_swarm/retry_handler.rb,
lib/enhance_swarm/agent_reviewer.rb,
lib/enhance_swarm/error_recovery.rb,
lib/enhance_swarm/signal_handler.rb,
lib/enhance_swarm/smart_defaults.rb,
lib/enhance_swarm/cleanup_manager.rb,
lib/enhance_swarm/mcp_integration.rb,
lib/enhance_swarm/output_streamer.rb,
lib/enhance_swarm/process_monitor.rb,
lib/enhance_swarm/session_manager.rb,
lib/enhance_swarm/command_executor.rb,
lib/enhance_swarm/progress_tracker.rb,
lib/enhance_swarm/project_analyzer.rb,
lib/enhance_swarm/resource_manager.rb,
lib/enhance_swarm/task_coordinator.rb,
lib/enhance_swarm/task_integration.rb,
lib/enhance_swarm/visual_dashboard.rb,
lib/enhance_swarm/interrupt_handler.rb,
lib/enhance_swarm/agent_communicator.rb,
lib/enhance_swarm/additional_commands.rb,
lib/enhance_swarm/smart_orchestration.rb,
lib/enhance_swarm/dependency_validator.rb,
lib/enhance_swarm/notification_manager.rb

Defined Under Namespace

Modules: AdditionalCommands Classes: AgentCommunicator, AgentReviewer, AgentSpawner, CLI, CleanupManager, CommandError, CommandExecutor, Configuration, ConfigurationError, ControlAgent, DependencyValidator, Error, ErrorRecovery, Generator, InterruptHandler, Logger, MCPIntegration, Monitor, NotificationManager, Orchestrator, OutputStreamer, ProcessMonitor, ProgressTracker, ProjectAnalyzer, ResourceManager, RetryHandler, SessionManager, SignalHandler, SmartDefaults, SmartOrchestration, TaskCoordinator, TaskIntegration, TaskManager, VisualDashboard, WebUI

Constant Summary collapse

VERSION =
'2.1.2'

Class Method Summary collapse

Class Method Details

.configurationObject



40
41
42
43
44
# File 'lib/enhance_swarm.rb', line 40

def configuration
  @configuration ||= Configuration.new
rescue StandardError => e
  raise ConfigurationError, "Failed to initialize configuration: #{e.message}"
end

.configureObject



34
35
36
37
38
# File 'lib/enhance_swarm.rb', line 34

def configure
  yield(configuration)
rescue StandardError => e
  raise ConfigurationError, "Configuration failed: #{e.message}"
end

.enhance!Object



53
54
55
56
57
58
# File 'lib/enhance_swarm.rb', line 53

def enhance!
  Orchestrator.new.enhance
rescue StandardError => e
  puts "Enhancement failed: #{e.message}".colorize(:red)
  false
end

.rootObject



46
47
48
49
50
51
# File 'lib/enhance_swarm.rb', line 46

def root
  @root ||= find_project_root
rescue StandardError => e
  puts "Warning: Could not determine project root: #{e.message}"
  Dir.pwd
end