@ngocsangairvds/vsaf 3.1.20 → 3.1.21

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
@@ -11,7 +11,8 @@ USAGE
11
11
  vsaf global Install global infra only (skills, binaries)
12
12
  vsaf project Scaffold project files only (assumes global done)
13
13
  vsaf status Show installation status
14
- vsaf index Re-index codebase (GitNexus)
14
+ vsaf index Re-index codebase (discovers git root)
15
+ vsaf index --skip-git Re-index from CWD (skip git root discovery)
15
16
  vsaf serve Start GitNexus web UI server
16
17
  vsaf review Run 2-layer review flow
17
18
  vsaf clean Clean GitNexus index
@@ -66,7 +67,8 @@ async function main() {
66
67
  }
67
68
  case 'index': {
68
69
  const { runIndex } = require('../src/workflow');
69
- runAndExit(runIndex(), 'Index');
70
+ const skipGit = process.argv.includes('--skip-git');
71
+ runAndExit(runIndex({ skipGit }), 'Index');
70
72
  break;
71
73
  }
72
74
  case 'serve': {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ngocsangairvds/vsaf",
3
- "version": "3.1.20",
4
- "description": "fix method for codex",
3
+ "version": "3.1.21",
4
+ "description": "fix gitnexus with windows",
5
5
  "keywords": ["claude", "claude-code", "ai", "sdlc", "framework", "bmad", "gitnexus", "superpowers"],
6
6
  "bin": {
7
7
  "vsaf": "./bin/vsaf.js"
package/src/global.js CHANGED
@@ -64,9 +64,9 @@ function setupGitnexusMcp() {
64
64
  }
65
65
 
66
66
  info('Configuring GitNexus MCP...');
67
- exec('claude mcp add gitnexus -- npx -y gitnexus@latest mcp')
67
+ exec('claude mcp add gitnexus -- npx -y gitnexus@rc mcp')
68
68
  ? ok('GitNexus MCP configured')
69
- : warn('MCP setup failed — run manually: claude mcp add gitnexus -- npx -y gitnexus@latest mcp');
69
+ : warn('MCP setup failed — run manually: claude mcp add gitnexus -- npx -y gitnexus@rc mcp');
70
70
  }
71
71
 
72
72
  module.exports = { installGlobal };
package/src/workflow.js CHANGED
@@ -25,7 +25,7 @@ function preflightCheck() {
25
25
  return true;
26
26
  }
27
27
 
28
- function runIndex() {
28
+ function runIndex({ skipGit = false } = {}) {
29
29
  step('Index');
30
30
 
31
31
  if (!hasCommand('gitnexus')) {
@@ -38,8 +38,9 @@ function runIndex() {
38
38
  }
39
39
 
40
40
  cleanStaleWal();
41
- info('Running gitnexus analyze...');
42
- const gitnexusOk = exec('gitnexus analyze --skip-git');
41
+ const cmd = skipGit ? 'gitnexus analyze --skip-git' : 'gitnexus analyze';
42
+ info(`Running ${cmd}...`);
43
+ const gitnexusOk = exec(cmd);
43
44
  if (gitnexusOk) {
44
45
  ok('GitNexus index updated');
45
46
  } else {