/** * Aura Security Swarm - Phase 1 & 2 * * Multi-agent orchestration system for autonomous security scanning. * * Phase 1 Agents: Scout, Scanner, Grader, Fixer * Phase 2 Agents: Chain Mapper, Red Team * * Usage: * npm run swarm # Start Phase 1 agents * npm run swarm:full # Start all agents (Phase 1 + 2) * npm run swarm:phase2 # Start with Phase 2 agents */ export interface SwarmConfig { coordinatorPort?: number; scannerPort?: number; graderPort?: number; fixerPort?: number; scoutPort?: number; chainMapperPort?: number; redTeamPort?: number; guardianPort?: number; intelPort?: number; enableScout?: boolean; enableFixer?: boolean; enableChainMapper?: boolean; enableRedTeam?: boolean; enableGuardian?: boolean; enableIntel?: boolean; autoScan?: boolean; verbose?: boolean; } export interface SwarmStatus { running: boolean; agents: { name: string; port: number; status: 'running' | 'stopped' | 'error'; url: string; }[]; startedAt?: number; } export declare class AuraSwarm { private agents; private running; private startedAt?; private config; constructor(config?: SwarmConfig); /** * Start all swarm agents */ start(): Promise; /** * Stop all swarm agents */ stop(): Promise; /** * Get current swarm status */ getStatus(): SwarmStatus; /** * Run a full security scan pipeline */ runPipeline(targetPath: string): Promise<{ scanId: string; findings: any[]; grading: any; fixes: any[]; chainAnalysis?: any; validation?: any; report: any; }>; /** * Watch a repository for changes */ watchRepo(repoUrl: string, branch?: string): Promise; /** * Call an agent's tool */ private callAgent; private printStatus; } export { AuraSwarm as default };