mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-01 08:13:37 +00:00
feat: update resumeFeature API to support optional useWorktrees parameter
- Modified the resumeFeature method across multiple files to accept an optional useWorktrees parameter, defaulting to false for improved control over worktree usage. - Updated related hooks and service methods to ensure consistent handling of the new parameter. - Enhanced server route logic to reflect the change, ensuring worktrees are only utilized when explicitly enabled.
This commit is contained in:
@@ -193,7 +193,7 @@ export class AutoModeService {
|
||||
async executeFeature(
|
||||
projectPath: string,
|
||||
featureId: string,
|
||||
useWorktrees = true,
|
||||
useWorktrees = false,
|
||||
isAutoMode = false,
|
||||
providedWorktreePath?: string
|
||||
): Promise<void> {
|
||||
@@ -352,7 +352,7 @@ export class AutoModeService {
|
||||
async resumeFeature(
|
||||
projectPath: string,
|
||||
featureId: string,
|
||||
useWorktrees = true
|
||||
useWorktrees = false
|
||||
): Promise<void> {
|
||||
// Check if context exists in .automaker directory
|
||||
const featureDir = getFeatureDir(projectPath, featureId);
|
||||
|
||||
Reference in New Issue
Block a user