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
55 lines • 1.44 kB
TypeScript
import { CoderAgentImplementation } from './coder-agent';
/**
* Interface for formal contract files
*/
export interface FormalContracts {
openApiSpecs?: ContractFile[];
jsonSchemas?: ContractFile[];
}
/**
* Interface for individual contract files
*/
export interface ContractFile {
path: string;
content: string;
}
/**
* Interface for architectural design from Architect agent
*/
export interface ArchitecturalDesign {
designDocument: string;
mermaidDiagram?: string;
apiSpec?: string;
dataModels?: Record<string, any>;
decisions?: any[];
contractCompliance?: any;
}
export interface CodeAttempt {
code: string;
timestamp: string;
attemptNumber: number;
errors?: string[];
}
export interface CoderResult {
codeGenerated: boolean;
testsGenerated: boolean;
commitCreated: boolean;
compilationSuccessful: boolean;
testsPassedSuccessful: boolean;
codeAttempts: CodeAttempt[];
finalCode?: string;
finalTests?: string;
commitHash?: string;
}
/**
* CoderAgent specializes in code implementation, testing, and version control
* Implements impasse detection after 2 failed attempts at compilation or testing
*/
export declare class CoderAgent extends CoderAgentImplementation {
/**
* Get prompt template for the coder agent
*/
getPromptTemplate(): string;
}
export { CoderAgentImplementation };
//# sourceMappingURL=index.d.ts.map