fix(management): serialize lifecycle maintenance paths

- serialize deleteInstance with the same profile and plugin-layout locks as ensure

- lock non-account marketplace normalization paths and ignore .locks as an instance source
This commit is contained in:
Tam Nhu Tran
2026-03-18 08:04:48 -04:00
parent fc02c4b968
commit 36e8ed5d87
9 changed files with 115 additions and 11 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ export function execClaude(
if (profileType !== 'account') {
try {
new SharedManager().normalizeSharedPluginMetadataPaths(env.CLAUDE_CONFIG_DIR);
new SharedManager().normalizeSharedPluginMetadataPathsLocked(env.CLAUDE_CONFIG_DIR);
} catch {
// Best-effort normalization should never block Claude launch.
}