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
80 lines • 2.51 kB
TypeScript
import { Agent, AgentConfig } from '../agent';
export interface GuideContext {
projectType: string;
techStack: string[];
currentPhase: string;
experience: 'beginner' | 'intermediate' | 'advanced';
goals: string[];
}
export interface GuideRecommendation {
id: string;
title: string;
description: string;
category: 'architecture' | 'testing' | 'performance' | 'security' | 'best-practices';
priority: 'low' | 'medium' | 'high' | 'critical';
complexity: 'simple' | 'moderate' | 'complex';
estimatedTime: string;
prerequisites: string[];
resources: GuideResource[];
actionItems: string[];
}
export interface GuideResource {
type: 'documentation' | 'tutorial' | 'example' | 'tool' | 'article';
title: string;
url?: string;
description: string;
}
export interface LearningPath {
id: string;
title: string;
description: string;
duration: string;
difficulty: 'beginner' | 'intermediate' | 'advanced';
prerequisites: string[];
modules: LearningModule[];
outcomes: string[];
}
export interface LearningModule {
id: string;
title: string;
description: string;
duration: string;
topics: string[];
exercises: string[];
resources: GuideResource[];
}
export interface ProjectGuidance {
phase: string;
recommendations: GuideRecommendation[];
nextSteps: string[];
learningPaths: LearningPath[];
warnings: string[];
tips: string[];
}
export declare class Guide extends Agent {
private knowledgeBase;
private userPreferences;
initialize(config: AgentConfig): Promise<void>;
getPromptTemplate(): string;
executeTask(): Promise<ProjectGuidance>;
generateRecommendations(context: GuideContext): Promise<GuideRecommendation[]>;
createLearningPath(topic: string, currentLevel: string, targetLevel: string): Promise<LearningPath>;
assessProjectHealth(projectData: any): Promise<{
score: number;
areas: string[];
recommendations: string[];
}>;
suggestNextSteps(currentState: any, goals: string[]): Promise<string[]>;
private loadKnowledgeBase;
private parseGuideContext;
private generateProjectGuidance;
private generateRelevantLearningPaths;
private generateWarnings;
private generateTips;
private updateUserPreferences;
private parseRecommendations;
private parseLearningPath;
private parseHealthAssessment;
private parseNextSteps;
}
//# sourceMappingURL=guide.d.ts.map