refactor: Replace worktreePath param with useWorktrees flag

This commit is contained in:
Shirone
2026-01-14 09:29:38 +01:00
parent 3689eb969d
commit c7fac3d9e6
3 changed files with 7 additions and 6 deletions

View File

@@ -524,7 +524,7 @@ export interface AutoModeAPI {
featureId: string,
prompt: string,
imagePaths?: string[],
worktreePath?: string
useWorktrees?: boolean
) => Promise<{ success: boolean; passes?: boolean; error?: string }>;
commitFeature: (
projectPath: string,
@@ -2113,7 +2113,7 @@ function createMockAutoModeAPI(): AutoModeAPI {
featureId: string,
prompt: string,
imagePaths?: string[],
worktreePath?: string
useWorktrees?: boolean
) => {
if (mockRunningFeatures.has(featureId)) {
return {