Merge pull request #27 from AutoMaker-Org/copilot/sub-pr-26

Fix TypeScript build errors in SpecRegenerationAPI interface
This commit is contained in:
GTheMachine
2025-12-11 12:19:34 -05:00
committed by GitHub

View File

@@ -147,10 +147,15 @@ export interface SpecRegenerationAPI {
projectPath: string, projectPath: string,
projectDefinition: string projectDefinition: string
) => Promise<{ success: boolean; error?: string }>; ) => Promise<{ success: boolean; error?: string }>;
generateFeatures: (projectPath: string) => Promise<{
success: boolean;
error?: string;
}>;
stop: () => Promise<{ success: boolean; error?: string }>; stop: () => Promise<{ success: boolean; error?: string }>;
status: () => Promise<{ status: () => Promise<{
success: boolean; success: boolean;
isRunning?: boolean; isRunning?: boolean;
currentPhase?: string;
error?: string; error?: string;
}>; }>;
onEvent: (callback: (event: SpecRegenerationEvent) => void) => () => void; onEvent: (callback: (event: SpecRegenerationEvent) => void) => () => void;