Improve fallback update messaging (npx skills update is broken upstream)

npx skills update has a known bug where it can't find the lock file
(vercel-labs/skills#775). Our direct download fallback is the primary
working path, so the message should not sound like an error.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Paul Bakaus
2026-04-10 10:17:05 -07:00
co-authored by Claude Opus 4.6
parent 45b92bf9fe
commit 3395df9083
+4 -2
View File
@@ -420,8 +420,10 @@ async function update(flags = []) {
process.exit(0);
}
// Fallback: manual update by downloading the universal bundle
console.log('Skills not managed by npx skills. Using direct download.\n');
// Fallback: direct download of the universal bundle.
// Note: npx skills update has a known bug where it can't find the
// lock file (vercel-labs/skills#775), so this path is common.
console.log('Updating skills via direct download...\n');
const root = findProjectRoot();
const providers = findInstalledProviders(root);