Project Files
src / types.ts
export type PatchOperation =
| "overwrite"
| "replace"
| "insert_before"
| "insert_after"
| "delete";
export interface Patch {
file: string;
operation: PatchOperation;
target?: string;
content?: string;
}
export interface BuildPlan {
pluginName: string;
summary: string;
targetDir?: string;
files: Array<{ path: string; purpose: string }>;
notes?: string[];
}
export interface BuildReview {
passed: boolean;
issues: string[];
}
export interface FileSnapshot {
path: string;
content: string;
}