claude-code-subagents-orchestrator
Version:
Claude Code Sub-agents Orchestrator - A powerful MCP server for orchestrating multiple AI sub-agents for complex task execution in Claude Code
53 lines • 1.87 kB
TypeScript
import { EventEmitter } from 'events';
import { ArtifactContent, ProjectState, DependencyGraph } from '../types/filesystem.js';
export declare class SpecialistOutputsAnalyzer extends EventEmitter {
private outputsDir;
private scanIntervalMs;
private artifacts;
private lastScan;
private isScanning;
private scanInterval;
constructor(outputsDir: string, scanIntervalMs?: number);
initialize(): Promise<void>;
cleanup(): Promise<void>;
getArtifacts(filter?: {
specialist?: string;
status?: string;
project?: string;
since?: Date;
}): ArtifactContent[];
getArtifact(id: string): ArtifactContent | undefined;
getArtifactByPath(filePath: string): ArtifactContent | undefined;
generateProjectState(projectName?: string): ProjectState;
analyzeDependencies(): DependencyGraph;
rescan(): Promise<void>;
getStats(): {
totalArtifacts: number;
lastScan: Date;
isScanning: boolean;
statusCounts: Record<string, number>;
specialistCounts: Record<string, number>;
totalSize: number;
};
private ensureOutputsDirectory;
private startPeriodicScanning;
private scanOutputs;
private parseArtifactFile;
private extractMetadata;
private parseSimpleYaml;
private extractStepFromPath;
private extractSpecialistFromPath;
private extractSpecialistFromContent;
private extractProjectFromContent;
private extractDependenciesFromContent;
private extractStatusFromContent;
private buildDependencyGraph;
private calculateCriticalPath;
private findParallelizableWork;
private identifyBlockers;
private suggestNextActions;
private estimateTimeRemaining;
private serializeDependencyGraph;
private getArtifactId;
}
//# sourceMappingURL=specialist-outputs-analyzer.d.ts.map