sdd-pipeline 1.2.0 → 1.2.1
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/sdd.js +12 -1
- package/package.json +1 -1
package/bin/sdd.js
CHANGED
|
@@ -15,7 +15,18 @@ switch (cmd) {
|
|
|
15
15
|
init.run()
|
|
16
16
|
break
|
|
17
17
|
case 'bmad':
|
|
18
|
-
|
|
18
|
+
// Non-interactive mode: run BMAD with just the feature description
|
|
19
|
+
const input = args.slice(1).join(' ')
|
|
20
|
+
if (!input) {
|
|
21
|
+
console.error('Usage: sdd bmad <feature description>')
|
|
22
|
+
process.exit(1)
|
|
23
|
+
}
|
|
24
|
+
// Initialize BMAD session
|
|
25
|
+
const session = bmad.init(input)
|
|
26
|
+
// Generate brief with minimal answers
|
|
27
|
+
const result = bmad.generateBrief()
|
|
28
|
+
console.log(`[OK] BMAD-brief.md created.`)
|
|
29
|
+
console.log(`Confidence: ${result.confidence.score}/100 — ${result.confidence.level}`)
|
|
19
30
|
break
|
|
20
31
|
case 'spec':
|
|
21
32
|
console.log('Run: claude "/sdd-spec" to generate SPEC.md')
|
package/package.json
CHANGED