Checkpoint: File edits

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 <noreply@anthropic.com>
This commit is contained in:
rUvandClaude Opus 4.5 committed 2026-02-07 23:15:11 +00:00
1 parent 4b7528247e
commit cbe9b7694d
1 file changed
+4 -1
+4 -1
View File
@@ -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<UpgradeResult> {
export async function executeUpgrade(targetDir: string, upgradeSettings = false): Promise<UpgradeResult> {
const result: UpgradeResult = {
success: true,
updated: [],
created: [],
preserved: [],
errors: [],
settingsUpdated: [],
};
try {