musubi-sdd 1.1.0 → 1.1.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.
- package/bin/musubi.js +56 -0
- package/package.json +1 -1
package/bin/musubi.js
CHANGED
|
@@ -273,6 +273,34 @@ program
|
|
|
273
273
|
console.log(chalk.gray(' @traceability-auditor validate requirements.md\n'));
|
|
274
274
|
});
|
|
275
275
|
|
|
276
|
+
// ============================================================================
|
|
277
|
+
// Command: sync
|
|
278
|
+
// ============================================================================
|
|
279
|
+
program
|
|
280
|
+
.command('sync')
|
|
281
|
+
.description('Sync steering documents with codebase changes')
|
|
282
|
+
.option('--auto-approve', 'Auto-approve all changes')
|
|
283
|
+
.option('--dry-run', 'Show changes without applying them')
|
|
284
|
+
.action(async (options) => {
|
|
285
|
+
// Delegate to musubi-sync.js
|
|
286
|
+
const syncMain = require('./musubi-sync.js');
|
|
287
|
+
|
|
288
|
+
// Pass options as command line arguments
|
|
289
|
+
const args = [];
|
|
290
|
+
if (options.autoApprove) args.push('--auto-approve');
|
|
291
|
+
if (options.dryRun) args.push('--dry-run');
|
|
292
|
+
|
|
293
|
+
// Temporarily set process.argv for musubi-sync.js
|
|
294
|
+
const originalArgv = process.argv;
|
|
295
|
+
process.argv = ['node', 'musubi-sync', ...args];
|
|
296
|
+
|
|
297
|
+
try {
|
|
298
|
+
await syncMain();
|
|
299
|
+
} finally {
|
|
300
|
+
process.argv = originalArgv;
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
|
|
276
304
|
// ============================================================================
|
|
277
305
|
// Command: info
|
|
278
306
|
// ============================================================================
|
|
@@ -328,6 +356,19 @@ program
|
|
|
328
356
|
)
|
|
329
357
|
);
|
|
330
358
|
console.log(chalk.gray(' Documentation: technical-writer, ai-ml-engineer\n'));
|
|
359
|
+
|
|
360
|
+
console.log(chalk.white('Advanced CLI Commands (standalone):'));
|
|
361
|
+
console.log(chalk.gray(' musubi-requirements # EARS requirements generator'));
|
|
362
|
+
console.log(chalk.gray(' musubi-design # Technical design generator (C4, ADR)'));
|
|
363
|
+
console.log(chalk.gray(' musubi-tasks # Task breakdown generator'));
|
|
364
|
+
console.log(chalk.gray(' musubi-trace # Traceability matrix analyzer'));
|
|
365
|
+
console.log(chalk.gray(' musubi-analyze # Gap detection and analysis'));
|
|
366
|
+
console.log(chalk.gray(' musubi-onboard # Team onboarding assistant'));
|
|
367
|
+
console.log(chalk.gray(' musubi-share # Knowledge sharing tools'));
|
|
368
|
+
console.log(chalk.gray(' musubi-change # Change impact analysis'));
|
|
369
|
+
console.log(chalk.gray(' musubi-gaps # Requirements gap detector\n'));
|
|
370
|
+
|
|
371
|
+
console.log(chalk.gray('Run any command with --help for detailed usage information.\n'));
|
|
331
372
|
});
|
|
332
373
|
|
|
333
374
|
// ============================================================================
|
|
@@ -344,6 +385,8 @@ program.on('--help', () => {
|
|
|
344
385
|
console.log(' $ musubi init --qwen # Initialize for Qwen Code');
|
|
345
386
|
console.log(' $ musubi init --windsurf # Initialize for Windsurf IDE');
|
|
346
387
|
console.log(' $ musubi status # Show project status');
|
|
388
|
+
console.log(' $ musubi sync # Sync steering with codebase changes');
|
|
389
|
+
console.log(' $ musubi sync --dry-run # Preview changes without applying');
|
|
347
390
|
console.log(' $ musubi validate # Quick validation check');
|
|
348
391
|
console.log(' $ musubi info # Show version and supported agents');
|
|
349
392
|
console.log('');
|
|
@@ -370,6 +413,19 @@ program.on('--help', () => {
|
|
|
370
413
|
console.log('');
|
|
371
414
|
console.log('Note: Skills API is Claude Code exclusive. Other agents use commands/prompts.');
|
|
372
415
|
console.log('');
|
|
416
|
+
console.log('Advanced CLI Commands (standalone):');
|
|
417
|
+
console.log(' musubi-requirements # EARS requirements generator');
|
|
418
|
+
console.log(' musubi-design # Technical design generator (C4, ADR)');
|
|
419
|
+
console.log(' musubi-tasks # Task breakdown generator');
|
|
420
|
+
console.log(' musubi-trace # Traceability matrix analyzer');
|
|
421
|
+
console.log(' musubi-analyze # Gap detection and analysis');
|
|
422
|
+
console.log(' musubi-onboard # Team onboarding assistant');
|
|
423
|
+
console.log(' musubi-share # Knowledge sharing tools');
|
|
424
|
+
console.log(' musubi-change # Change impact analysis');
|
|
425
|
+
console.log(' musubi-gaps # Requirements gap detector');
|
|
426
|
+
console.log('');
|
|
427
|
+
console.log('Run any command with --help for detailed usage information.');
|
|
428
|
+
console.log('');
|
|
373
429
|
});
|
|
374
430
|
|
|
375
431
|
// Parse arguments
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "musubi-sdd",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
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": {
|