UNPKG

context-forge

Version:

AI orchestration platform with autonomous teams, enhancement planning, migration tools, 25+ slash commands, checkpoints & hooks. Multi-IDE: Claude, Cursor, Windsurf, Cline, Copilot

204 lines 4.61 kB
import { OrchestrationConfig, OrchestrationStatus } from '../types/orchestration'; export declare class OrchestrationService { private tmux; private communication; private scheduler; private gitDiscipline; private orchestrationId; private agents; private errors; private status; private projectPath; private config; private briefingTemplate; constructor(projectPath: string, config: OrchestrationConfig); /** * Set up event listeners for integrated services */ private setupEventListeners; /** * Initialize and deploy the orchestration */ deploy(): Promise<void>; /** * Deploy all agents at once */ private deployAllAgents; /** * Deploy agents in phases */ private deployPhasedAgents; /** * Deploy agents adaptively based on workload */ private deployAdaptiveAgents; /** * Deploy a single agent */ private deployAgent; /** * Generate agent briefing */ private generateAgentBriefing; /** * Brief an agent with their instructions */ private briefAgent; /** * Format briefing message for Claude */ private formatBriefingMessage; /** * Generate git instructions based on config */ private generateGitInstructions; /** * Generate scheduling instructions */ private generateSchedulingInstructions; /** * Generate communication protocol for agent */ private generateCommunicationProtocol; /** * Generate escalation criteria based on role */ private generateEscalationCriteria; /** * Generate success criteria based on role */ private generateSuccessCriteria; /** * Gather resources for agents */ private gatherResources; /** * Initialize git discipline */ private initializeGitDiscipline; /** * Generate auto-commit script */ private generateAutoCommitScript; /** * Initialize self-scheduling */ private initializeSelfScheduling; /** * Generate schedule script */ private generateScheduleScript; /** * Get orchestration status */ getStatus(): Promise<OrchestrationStatus>; /** * Update orchestration metrics */ private updateMetrics; /** * Save orchestration status */ private saveStatus; /** * Monitor agent health */ monitorAgents(): Promise<void>; /** * Record an orchestration error */ private recordError; /** * Handle agent message */ private handleAgentMessage; /** * Handle agent check-in */ private handleAgentCheckIn; /** * Calculate adaptive check-in interval based on agent status */ private calculateAdaptiveInterval; /** * Format agent message for display */ private formatAgentMessage; /** * Forward message to code reviewers */ private forwardToCodeReviewers; /** * Forward message to DevOps */ private forwardToDevOps; /** * Get agent config by ID */ private getAgentConfig; /** * Stop orchestration */ stop(): Promise<void>; /** * Archive agent conversation logs */ private archiveAgentLogs; /** * Generate final orchestration report */ private generateFinalReport; /** * Gather data for final report */ private gatherReportData; /** * Calculate team composition */ private calculateTeamComposition; /** * Calculate agent productivity */ private calculateAgentProductivity; /** * Calculate completion rate */ private calculateCompletionRate; /** * Count modified files */ private countModifiedFiles; /** * Calculate test coverage */ private calculateTestCoverage; /** * Calculate code review pass rate */ private calculateCodeReviewPassRate; /** * Format agent statuses for report */ private formatAgentStatuses; /** * Format current phase info */ private formatCurrentPhase; /** * Count active branches */ private countActiveBranches; /** * Generate recommendations based on metrics */ private generateRecommendations; /** * Generate next steps */ private generateNextSteps; /** * Generate orchestration summary */ generateSummary(): Promise<string>; } //# sourceMappingURL=orchestrationService.d.ts.map