feat(cli): rename extension to sdd and add migration prompt

This commit is contained in:
Jerop Kipruto
2026-03-17 12:47:28 -04:00
parent 06caadce57
commit 5c8302ad33
22 changed files with 85 additions and 71 deletions

View File

@@ -693,6 +693,17 @@ Would you like to attempt to install via "git clone" instead?`,
}
builtExtensions[existingIdx] = builtinExt;
} else {
// Check if this is the new 'sdd' extension and if 'conductor' is installed.
if (builtinExt.name === 'sdd') {
const conductorIdx = builtExtensions.findIndex(
(e) => e.name === 'conductor',
);
if (conductorIdx !== -1) {
const message = `The "conductor" extension has been renamed to "sdd" and is now built-in. Please run "gemini extensions uninstall conductor" to migrate. Your project files in "conductor/" will be preserved.`;
debugLogger.warn(message);
coreEvents.emitFeedback('warning', message);
}
}
builtExtensions.push(builtinExt);
}
}