cortexweaver
Version:
CortexWeaver is a command-line interface (CLI) tool that orchestrates a swarm of specialized AI agents, powered by Claude Code and Gemini CLI, to assist in software development. It transforms a high-level project plan (plan.md) into a series of coordinate
41 lines • 1.35 kB
TypeScript
import { Persona, PersonaConfig, PersonaLoadResult, PersonaMetrics } from './types';
/**
* PersonaLoader class for loading and managing agent personas
* Extracted from the main persona.ts file to handle file loading and caching
*/
export declare class PersonaLoader {
private config;
private cache;
private watchers;
constructor(config?: Partial<PersonaConfig>);
/**
* Load a persona for the specified agent
*/
loadPersona(agentName: string): Promise<PersonaLoadResult>;
/**
* Load persona from file and parse it
*/
private loadPersonaFromFile;
/**
* Parse persona markdown content into structured format
*/
private parsePersona;
private parseFrontMatter;
private extractMetadata;
private extractRole;
private extractCoreIdentity;
private extractListSection;
private extractInteractionPatterns;
private extractVersion;
private validatePersona;
private getPersonaPath;
private getCachedPersona;
private cachePersona;
private setupHotReload;
getAvailablePersonas(): string[];
getPersonaMetrics(agentName: string): PersonaMetrics | null;
private calculateComplexity;
savePersonaVersion(persona: Persona, changes: string[], reason: string): Promise<void>;
dispose(): void;
}
//# sourceMappingURL=loader.d.ts.map