Files
claude-code/src/utils/worktreeModeEnabled.ts
2026-03-31 10:24:35 +00:00

13 lines
416 B
TypeScript

/**
* Worktree mode is now unconditionally enabled for all users.
*
* Previously gated by GrowthBook flag 'tengu_worktree_mode', but the
* CACHED_MAY_BE_STALE pattern returns the default (false) on first launch
* before the cache is populated, silently swallowing --worktree.
* See https://github.com/anthropics/claude-code/issues/27044.
*/
export function isWorktreeModeEnabled(): boolean {
return true
}