From cbe9b7694d8bb39d55f0626c19b7c790689586ab Mon Sep 17 00:00:00 2001 From: rUv Date: Sat, 7 Feb 2026 23:15:11 +0000 Subject: [PATCH] Checkpoint: File edits MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automatic checkpoint created by Claude Code - Branch: feature/init-upgrade-settings - Timestamp: 2026-02-07T23:15:11Z - Changes: 1 file(s) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- v3/@claude-flow/cli/src/init/executor.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/v3/@claude-flow/cli/src/init/executor.ts b/v3/@claude-flow/cli/src/init/executor.ts index 3dd7e1db1c..748dfba2ce 100644 --- a/v3/@claude-flow/cli/src/init/executor.ts +++ b/v3/@claude-flow/cli/src/init/executor.ts @@ -254,14 +254,17 @@ export interface UpgradeResult { /** * Execute upgrade - updates helpers and creates missing metrics without losing data * This is safe for existing users who want the latest statusline fixes + * @param targetDir - Target directory + * @param upgradeSettings - If true, merge new settings into existing settings.json */ -export async function executeUpgrade(targetDir: string): Promise { +export async function executeUpgrade(targetDir: string, upgradeSettings = false): Promise { const result: UpgradeResult = { success: true, updated: [], created: [], preserved: [], errors: [], + settingsUpdated: [], }; try {