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

@@ -1652,14 +1652,14 @@ export class HttpApiClient implements ElectronAPI {
featureId: string,
prompt: string,
imagePaths?: string[],
worktreePath?: string
useWorktrees?: boolean
) =>
this.post('/api/auto-mode/follow-up-feature', {
projectPath,
featureId,
prompt,
imagePaths,
worktreePath,
useWorktrees,
}),
commitFeature: (projectPath: string, featureId: string, worktreePath?: string) =>
this.post('/api/auto-mode/commit-feature', {