@ngocsangairvds/vsaf 3.1.1 → 3.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/vsaf.js CHANGED
@@ -12,6 +12,7 @@ USAGE
12
12
  vsaf project Scaffold project files only (assumes global done)
13
13
  vsaf status Show installation status
14
14
  vsaf index Re-index codebase (GitNexus)
15
+ vsaf serve Start GitNexus web UI server
15
16
  vsaf review Run 2-layer review flow
16
17
  vsaf clean Clean GitNexus index
17
18
 
@@ -68,6 +69,11 @@ async function main() {
68
69
  runAndExit(runIndex(), 'Index');
69
70
  break;
70
71
  }
72
+ case 'serve': {
73
+ const { runServe } = require('../src/workflow');
74
+ runAndExit(runServe(), 'Serve');
75
+ break;
76
+ }
71
77
  case 'review': {
72
78
  const { runReview } = require('../src/workflow');
73
79
  runAndExit(runReview(), 'Review');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngocsangairvds/vsaf",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "VSAF — Agentic AI SDLC Framework. 3 integrated tools: BMAD, GitNexus, Superpowers. 2-layer review.",
5
5
  "keywords": ["claude", "claude-code", "ai", "sdlc", "framework", "bmad", "gitnexus", "superpowers"],
6
6
  "bin": {
package/src/workflow.js CHANGED
@@ -51,4 +51,18 @@ function runClean() {
51
51
  return cleanOk;
52
52
  }
53
53
 
54
- module.exports = { runIndex, runReview, runClean };
54
+ function runServe() {
55
+ step('Serve');
56
+
57
+ if (!hasCommand('gitnexus')) {
58
+ warn('gitnexus not found — run: vsaf global');
59
+ return false;
60
+ }
61
+
62
+ info('Starting GitNexus web server on port 4747...');
63
+ info('Open https://gitnexus.vercel.app to browse your project graph');
64
+ info('Press Ctrl+C to stop');
65
+ return exec('gitnexus serve');
66
+ }
67
+
68
+ module.exports = { runIndex, runReview, runClean, runServe };