gin-skills 1.0.2 → 1.0.3
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/bin/cli.js +20 -3
- package/landing/index.html +2 -2
- package/package.json +1 -1
package/bin/cli.js
CHANGED
|
@@ -271,9 +271,24 @@ async function cmdUpgrade(options, targetArg) {
|
|
|
271
271
|
log.info(`Target: ${chalk.cyan(target)}`);
|
|
272
272
|
log.info(`Current package: ${chalk.cyan(`v${PKG.version}`)}\n`);
|
|
273
273
|
|
|
274
|
-
// Non-interactive
|
|
275
|
-
if (options.all) {
|
|
276
|
-
|
|
274
|
+
// Non-interactive: --all or --skills/--agents flags
|
|
275
|
+
if (options.all || options.skills || options.agents) {
|
|
276
|
+
const skills = options.all ? installed.skills
|
|
277
|
+
: options.skills ? options.skills.split(',').map(s => s.trim()).filter(s => installed.skills.includes(s))
|
|
278
|
+
: [];
|
|
279
|
+
const agents = options.all ? installed.agents
|
|
280
|
+
: options.agents ? options.agents.split(',').map(s => s.trim()).filter(s => installed.agents.includes(s))
|
|
281
|
+
: [];
|
|
282
|
+
|
|
283
|
+
if (skills.length === 0 && agents.length === 0) {
|
|
284
|
+
log.warn('No matching installed items found.');
|
|
285
|
+
return;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
log.info(`Skills (${skills.length}): ${chalk.green(skills.join(', ') || 'none')}`);
|
|
289
|
+
log.info(`Agents (${agents.length}): ${chalk.cyan(agents.join(', ') || 'none')}`);
|
|
290
|
+
console.log();
|
|
291
|
+
return runInstall({ target, skills, agents, verb: 'Upgraded' });
|
|
277
292
|
}
|
|
278
293
|
|
|
279
294
|
const skills = await multiSelect('Select skills to upgrade:', installed.skills.map(s => ({
|
|
@@ -488,6 +503,8 @@ addTargetOptions(
|
|
|
488
503
|
program.command('upgrade')
|
|
489
504
|
.description('Upgrade installed skills & agents to the bundled version')
|
|
490
505
|
.option('-a, --all', 'Upgrade all without prompts')
|
|
506
|
+
.option('--skills <list>', 'Upgrade specific skills only (comma-separated names)')
|
|
507
|
+
.option('--agents <list>', 'Upgrade specific agents only (comma-separated names)')
|
|
491
508
|
)
|
|
492
509
|
.action((targetArg, opts) => cmdUpgrade(mergeOpts(opts), targetArg));
|
|
493
510
|
|
package/landing/index.html
CHANGED
|
@@ -689,7 +689,7 @@
|
|
|
689
689
|
<div class="container">
|
|
690
690
|
<div class="hero-badge fade-up">
|
|
691
691
|
<span class="dot"></span>
|
|
692
|
-
<!-- AUTO:BADGE -->v1.0 — 17 Skills · 6 Agents<!-- /AUTO:BADGE -->
|
|
692
|
+
<!-- AUTO:BADGE -->v1.0.2 — 17 Skills · 6 Agents<!-- /AUTO:BADGE -->
|
|
693
693
|
</div>
|
|
694
694
|
<h1 class="fade-up"><span>Supercharge</span> Claude Code<br>with One Command</h1>
|
|
695
695
|
<p class="hero-sub fade-up">
|
|
@@ -1220,7 +1220,7 @@
|
|
|
1220
1220
|
<footer class="footer">
|
|
1221
1221
|
<div class="container">
|
|
1222
1222
|
<div class="footer-content">
|
|
1223
|
-
<div class="footer-brand">GinStudio Skills v1.0.
|
|
1223
|
+
<div class="footer-brand">GinStudio Skills v1.0.2</div>
|
|
1224
1224
|
<div class="footer-links">
|
|
1225
1225
|
<a href="https://www.npmjs.com/package/gin-skills" target="_blank" rel="noopener">npm</a>
|
|
1226
1226
|
<a href="https://github.com/vuduynhiennn/ginskills" target="_blank" rel="noopener">GitHub</a>
|