mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
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:
1 parent
4b7528247e
commit
cbe9b7694d
1 file changed
+4
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user