Fix TypeScript build errors in SpecRegenerationAPI interface

Co-authored-by: GTheMachine <156854865+GTheMachine@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-12-11 17:16:30 +00:00
parent 7419288189
commit 1e6412e90e

View File

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