fix(cli): clarify partial skill install in outro message

When some sources fail, the outro now says which skills are ready
and which are unavailable, instead of a misleading total count.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Vance Ingalls
2026-03-26 17:50:46 +00:00
committed by Vance Ingalls
co-authored by Claude Opus 4.6
parent 499f2dbc61
commit 30c3b13994
+5 -1
View File
@@ -272,7 +272,11 @@ async function runInstall({ args }: { args: Record<string, unknown> }): Promise<
}
console.log();
if (allInstalled.length > 0) {
if (allInstalled.length > 0 && skippedSources.length > 0) {
clack.outro(
c.warn(`${allInstalled.length} GSAP skills ready. HyperFrames skills unavailable.`),
);
} else if (allInstalled.length > 0) {
clack.outro(c.success(`${allInstalled.length} skills ready.`));
} else {
clack.outro(c.warn("No skills installed."));