myaidev-method 0.3.6 → 0.3.8

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/bin/cli.js +32 -50
  2. package/package.json +2 -1
package/bin/cli.js CHANGED
@@ -128,7 +128,7 @@ async function loadWorkflowSystem() {
128
128
  }
129
129
 
130
130
  program
131
- .version("0.3.6")
131
+ .version("0.3.8")
132
132
  .enablePositionalOptions()
133
133
  .description(
134
134
  "MyAIDev Method - Comprehensive development framework with SPARC methodology",
@@ -143,7 +143,7 @@ async function selectCLIType(options) {
143
143
  // Interactive selection if no flag provided
144
144
  const answer = await inquirer.prompt([
145
145
  {
146
- type: "list",
146
+ type: "select",
147
147
  name: "cliType",
148
148
  message: "Which AI CLI are you configuring for?",
149
149
  choices: [
@@ -554,7 +554,7 @@ program
554
554
  } else {
555
555
  const answer = await inquirer.prompt([
556
556
  {
557
- type: "list",
557
+ type: "select",
558
558
  name: "cliType",
559
559
  message: "Which AI CLI are you using?",
560
560
  choices: [
@@ -577,61 +577,43 @@ program
577
577
  }
578
578
 
579
579
  if (!pack) {
580
- console.log(
581
- dim("\n Choose a skill pack based on your role. You can always\n") +
582
- dim(" add more packs later with: ") +
583
- chalk.white("npx myaidev-method init --pack <name>\n"),
584
- );
585
-
586
- // Build rich pack descriptions
580
+ // Print the full menu so all options are always visible
587
581
  const contentPack = INSTALL_PACKS.content;
588
582
  const designPack = INSTALL_PACKS.design;
589
583
  const devPack = INSTALL_PACKS.dev;
590
584
 
585
+ console.log(chalk.bold.white(" Available Skill Packs:\n"));
586
+ console.log(dim(" ──────────────────────────────────────────────────────────\n"));
587
+
588
+ console.log(` ${chalk.green.bold(" [1] 📝 Content Creation")} ${dim(`${contentPack.skills.length} skills`)}`);
589
+ console.log(dim(" For marketers & content teams"));
590
+ console.log(dim(" Writing, SEO, visuals, infographics, publishing\n"));
591
+
592
+ console.log(` ${chalk.magenta.bold(" [2] 🎨 Design")} ${dim(`${designPack.skills.length} skills`)}`);
593
+ console.log(dim(" For designers & creative teams"));
594
+ console.log(dim(" Figma capture, visual generation, infographics\n"));
595
+
596
+ console.log(` ${chalk.blue.bold(" [3] ⚡ Development")} ${dim(`${devPack.skills.length} skills`)}`);
597
+ console.log(dim(" For software engineers"));
598
+ console.log(dim(" SPARC workflow, security, deployment, git, publishing\n"));
599
+
600
+ console.log(` ${orange.bold(" [4] 🚀 Full")} ${dim("all skills")}`);
601
+ console.log(dim(" Everything — all packs combined\n"));
602
+
603
+ console.log(dim(" ──────────────────────────────────────────────────────────"));
604
+ console.log(dim(" You can add more packs later with: npx myaidev-method init --pack <name>\n"));
605
+
606
+ const packMap = { "1": "content", "2": "design", "3": "dev", "4": "full" };
591
607
  const answer = await inquirer.prompt([
592
608
  {
593
- type: "list",
609
+ type: "select",
594
610
  name: "pack",
595
- message: "Select a skill pack to install:",
611
+ message: "Select a pack to install:",
596
612
  choices: [
597
- new inquirer.Separator(dim(" ─── Skill Packs ──────────────────────────────────────")),
598
- {
599
- name: [
600
- ` ${chalk.green.bold("📝 Content Creation")} ${dim(`${contentPack.skills.length} skills`)}`,
601
- ` ${dim("For marketers & content teams")}`,
602
- ` ${dim("Writing, SEO, visuals, infographics, multi-platform publishing")}`,
603
- ].join("\n"),
604
- value: "content",
605
- short: "Content Creation",
606
- },
607
- {
608
- name: [
609
- ` ${chalk.magenta.bold("🎨 Design")} ${dim(`${designPack.skills.length} skills`)}`,
610
- ` ${dim("For designers & creative teams")}`,
611
- ` ${dim("Figma capture, visual generation, infographics")}`,
612
- ].join("\n"),
613
- value: "design",
614
- short: "Design",
615
- },
616
- {
617
- name: [
618
- ` ${chalk.blue.bold("⚡ Development")} ${dim(`${devPack.skills.length} skills`)}`,
619
- ` ${dim("For software engineers")}`,
620
- ` ${dim("SPARC workflow, security testing, deployment, git, publishing")}`,
621
- ].join("\n"),
622
- value: "dev",
623
- short: "Development",
624
- },
625
- new inquirer.Separator(""),
626
- {
627
- name: [
628
- ` ${orange.bold("🚀 Full")} ${dim("38 skills")}`,
629
- ` ${dim("Everything — all packs combined")}`,
630
- ].join("\n"),
631
- value: "full",
632
- short: "Full",
633
- },
634
- new inquirer.Separator(dim(" ──────────────────────────────────────────────────────")),
613
+ { name: `${chalk.green("1")} 📝 Content Creation`, value: "content" },
614
+ { name: `${chalk.magenta("2")} 🎨 Design`, value: "design" },
615
+ { name: `${chalk.blue("3")} ⚡ Development`, value: "dev" },
616
+ { name: `${orange("4")} 🚀 Full (all skills)`, value: "full" },
635
617
  ],
636
618
  },
637
619
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myaidev-method",
3
- "version": "0.3.6",
3
+ "version": "0.3.8",
4
4
  "description": "Comprehensive development framework with SPARC methodology for AI-assisted software development, security testing (PTES, OWASP, penetration testing, compliance auditing), AI visual content generation (Gemini, OpenAI GPT Image 1.5, Imagen, FLUX 2, Veo 3), OpenStack VM management, multi-platform publishing (WordPress, PayloadCMS, Astro, Docusaurus, Mintlify), and Coolify deployment",
5
5
  "mcpName": "io.github.myaione/myaidev-method",
6
6
  "main": "src/index.js",
@@ -14,6 +14,7 @@
14
14
  "test": "node test/run-tests.js",
15
15
  "test:gutenberg": "node test/test-gutenberg-converter.js",
16
16
  "test:install": "node test/test-installation.js",
17
+ "test:cli": "node test/test-cli-e2e.js",
17
18
  "test:workflows": "node test/test-workflow-installer.js",
18
19
  "test:mcp": "node test/test-enhanced-mcp-server.js",
19
20
  "test:mcp:simple": "node test/test-simple-mcp.js",