@vooodooo/magic
Version:
Vooodooo - AI orchestration platform
51 lines (50 loc) • 1.17 kB
TypeScript
/**
* Plan template structure
*/
export interface PlanTemplate {
/** Template identifier */
id: string;
/** Human-readable name */
name: string;
/** Template content */
content: string;
}
/**
* Plan generation options
*/
export interface PlanGenerationOptions {
/** Template ID to use */
templateId: string;
/** Values to replace in the template */
values: Record<string, string>;
/** Output file path */
outputPath: string;
}
/**
* System for managing planning templates and generation
*/
export declare class PlanSystem {
private templatesDir;
private templates;
constructor(templatesDir?: string);
/**
* Load all templates from the templates directory
*/
private loadTemplates;
/**
* Get all available templates
*/
getTemplates(): PlanTemplate[];
/**
* Get a template by ID
*/
getTemplate(id: string): PlanTemplate | undefined;
/**
* Generate a plan from a template
*/
generatePlan(options: PlanGenerationOptions): void;
}
/**
* Create a plan system
*/
export declare function createPlanSystem(templatesDir?: string): PlanSystem;