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.
Files changed (2) hide show
  1. package/bin/sdd.js +12 -1
  2. 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
- bmad.run(args.slice(1).join(' '))
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sdd-pipeline",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Spec-Driven Development pipeline for Claude Code — organized output structure (sdd/brief.md, sdd/SPEC.md, sdd/tasks/, sdd/converge/)",
5
5
  "bin": {
6
6
  "sdd": "bin/sdd.js"