musubi-sdd 0.8.2 → 0.8.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.
@@ -16,9 +16,20 @@
16
16
 
17
17
  const { Command } = require('commander');
18
18
  const chalk = require('chalk');
19
- const inquirer = require('inquirer');
20
19
  const DesignGenerator = require('../src/generators/design');
21
20
 
21
+ let inquirer;
22
+
23
+ /**
24
+ * Initialize inquirer (ESM module in v9+)
25
+ */
26
+ async function getInquirer() {
27
+ if (!inquirer) {
28
+ inquirer = (await import('inquirer')).default;
29
+ }
30
+ return inquirer;
31
+ }
32
+
22
33
  const program = new Command();
23
34
 
24
35
  program
@@ -83,7 +94,8 @@ program
83
94
  if (files.length === 1) {
84
95
  designFile = files[0];
85
96
  } else {
86
- const answer = await inquirer.prompt([{
97
+ const inquirerInst = await getInquirer();
98
+ const answer = await inquirerInst.prompt([{
87
99
  type: 'list',
88
100
  name: 'file',
89
101
  message: 'Select design file:',
@@ -94,7 +106,8 @@ program
94
106
  }
95
107
 
96
108
  // Interactive prompts for C4 diagram
97
- const answers = await inquirer.prompt([
109
+ const inquirerInst2 = await getInquirer();
110
+ const answers = await inquirerInst2.prompt([
98
111
  {
99
112
  type: 'input',
100
113
  name: 'title',
@@ -157,7 +170,8 @@ program
157
170
  if (files.length === 1) {
158
171
  designFile = files[0];
159
172
  } else {
160
- const answer = await inquirer.prompt([{
173
+ const inquirerInst = await getInquirer();
174
+ const answer = await inquirerInst.prompt([{
161
175
  type: 'list',
162
176
  name: 'file',
163
177
  message: 'Select design file:',
@@ -168,7 +182,8 @@ program
168
182
  }
169
183
 
170
184
  // Interactive prompts for ADR
171
- const answers = await inquirer.prompt([
185
+ const inquirerInst2 = await getInquirer();
186
+ const answers = await inquirerInst2.prompt([
172
187
  {
173
188
  type: 'input',
174
189
  name: 'context',
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "musubi-sdd",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "Ultimate Specification Driven Development Tool with 25 Agents for 7 AI Coding Platforms (Claude Code, GitHub Copilot, Cursor, Gemini CLI, Windsurf, Codex, Qwen Code)",
5
5
  "main": "src/index.js",
6
6
  "bin": {