@ngocsangairvds/vsaf 3.1.7 → 3.1.8

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
@@ -105,6 +105,9 @@ function printInstallHint() {
105
105
  console.log(`\n Detected OS: \x1b[36m${platform}\x1b[0m\n`);
106
106
 
107
107
  if (platform === 'windows') {
108
+ console.log(` \x1b[1m\x1b[31m[IMPORTANT]\x1b[0m PowerShell blocks npm global scripts by default.`);
109
+ console.log(` Run this first (one-time, in PowerShell as Admin):\n`);
110
+ console.log(` \x1b[32mSet-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned\x1b[0m\n`);
108
111
  console.log(` \x1b[1m\x1b[33m[Windows]\x1b[0m Recommended installation methods:\n`);
109
112
  console.log(` \x1b[1mOption 1: PowerShell (Admin)\x1b[0m`);
110
113
  console.log(` \x1b[32mnpm install -g ${pkg}\x1b[0m\n`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngocsangairvds/vsaf",
3
- "version": "3.1.7",
3
+ "version": "3.1.8",
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
@@ -73,15 +73,20 @@ function runServe() {
73
73
 
74
74
  function printAnalyzeHint() {
75
75
  if (isWindows) {
76
- info('Windows troubleshooting:');
77
- info(' 1. Run with verbose output: gitnexus analyze --verbose');
78
- info(' 2. LadybugDB may have file-locking issues on Windows.');
79
- info(' Try closing other terminals/editors that access this repo.');
80
- info(' 3. Clean and retry:');
81
- info(' gitnexus clean');
82
- info(' gitnexus analyze');
83
- info(' 4. If LadybugDB keeps failing, try running inside WSL:');
84
- info(' wsl -- bash -c "cd $(wslpath -a .) && gitnexus analyze"');
76
+ warn('Windows troubleshooting:');
77
+ warn('');
78
+ warn(' [Most common] PowerShell blocks npm global scripts by default.');
79
+ warn(' Fix: run this command once in PowerShell (Admin):');
80
+ warn('');
81
+ warn(' Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned');
82
+ warn('');
83
+ warn(' Then retry: vsaf index');
84
+ warn('');
85
+ info(' Other options:');
86
+ info(' - Use CMD instead of PowerShell (CMD does not block scripts)');
87
+ info(' - Use Git Bash: bash -c "gitnexus analyze"');
88
+ info(' - Run via npx: npx gitnexus analyze');
89
+ info(' - Use WSL: wsl -- bash -c "cd $(wslpath -a .) && gitnexus analyze"');
85
90
  } else {
86
91
  info('Try running manually: gitnexus analyze --verbose');
87
92
  }