skiller 0.9.3 → 0.9.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/handlers.js +5 -2
- package/package.json +1 -1
package/dist/cli/handlers.js
CHANGED
|
@@ -323,12 +323,15 @@ async function migrateClaudePluginsHandler(argv) {
|
|
|
323
323
|
console.log('[skiller] Run again with --execute to install the resolved repos through skills.');
|
|
324
324
|
return;
|
|
325
325
|
}
|
|
326
|
-
if (plan.unresolved.length > 0) {
|
|
327
|
-
throw new Error(`Cannot execute migration
|
|
326
|
+
if (plan.installs.length === 0 && plan.unresolved.length > 0) {
|
|
327
|
+
throw new Error(`Cannot execute migration because no installable plugin repos were found:\n${plan.unresolved.map((entry) => `- ${entry.pluginId}: ${entry.reason}`).join('\n')}`);
|
|
328
328
|
}
|
|
329
329
|
for (const install of plan.installs) {
|
|
330
330
|
await (0, skills_cli_1.runSkillsCli)(projectRoot, buildClaudePluginMigrationArgs(install.source));
|
|
331
331
|
}
|
|
332
|
+
if (plan.unresolved.length > 0) {
|
|
333
|
+
console.log(`[skiller] Skipped unresolved plugins:\n${plan.unresolved.map((entry) => `- ${entry.pluginId}: ${entry.reason}`).join('\n')}`);
|
|
334
|
+
}
|
|
332
335
|
console.log('[skiller] Claude plugin repo migration completed. Remove the plugin entries from .claude/settings.json, then rerun skiller apply.');
|
|
333
336
|
}
|
|
334
337
|
catch (err) {
|