Project Files
dist / validation / types.d.ts
export interface CommandFile {
path: string;
filename: string;
raw: string;
frontmatter: Record<string, unknown> | null;
body: string;
parseError?: string;
lineCount: number;
}
export interface ValidationRule {
id: string;
severity: "error" | "warning" | "info";
description: string;
check: (cmd: CommandFile) => RuleResult | null;
}
export interface RuleResult {
ruleId: string;
severity: "error" | "warning" | "info";
message: string;
line?: number;
fix?: string;
}
export interface ValidationReport {
file: string;
filename: string;
passed: boolean;
results: RuleResult[];
score: number;
errorCount: number;
warningCount: number;
infoCount: number;
}
export type TemplateStyle = "basic" | "detailed" | "minimal";
export interface GenerateInput {
text: string;
options?: {
name?: string;
agent?: string;
description?: string;
model?: string;
subtask?: boolean;
template?: TemplateStyle;
};
}
export interface GenerateOutput {
filename: string;
content: string;
warnings: string[];
}
//# sourceMappingURL=types.d.ts.map