symfonia-ai-tools 1.9.0 → 1.9.2

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.
Files changed (2) hide show
  1. package/lib/questions.mjs +16 -2
  2. package/package.json +1 -1
package/lib/questions.mjs CHANGED
@@ -528,13 +528,27 @@ async function askSlimFlow(answers, packsDir) {
528
528
  // --- Tool selection ---
529
529
  await askToolSelection(answers);
530
530
 
531
- // --- Skills flow ---
531
+ // --- Skills flow (show ALL skills, derive packs from selection) ---
532
532
  let allPacks = {};
533
533
  if (needsSkills) {
534
534
  allPacks = await loadPacks(packsDir);
535
- await askPackSelection(answers, allPacks);
536
535
  const baseSkillsDir = join(packsDir, '..', 'base', '_ai', 'skills');
536
+
537
+ // Show skills from all packs (not just selected)
538
+ const allPackIds = Object.keys(allPacks);
539
+ answers.packs = allPackIds;
537
540
  await askSkillSelection(answers, allPacks, baseSkillsDir);
541
+
542
+ // Derive which packs are actually needed from selected skills
543
+ const packSkills = await loadPackSkills(allPackIds, allPacks);
544
+ const neededPacks = new Set();
545
+ for (const { skill, packId } of packSkills) {
546
+ if ((answers.selectedSkills || []).includes(skill)) {
547
+ neededPacks.add(packId);
548
+ }
549
+ }
550
+ answers.packs = [...neededPacks];
551
+
538
552
  await askPackPlaceholders(answers, allPacks);
539
553
  checkCliDeps(answers.selectedSkills || []);
540
554
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "symfonia-ai-tools",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "description": "AI tooling setup for your project - Claude Code, GitHub Copilot, Cursor, Gemini, Junie, GSD",
5
5
  "type": "module",
6
6
  "bin": {