@ngocsangairvds/vsaf 3.1.7 → 3.1.9
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 +5 -3
- package/package.json +1 -1
- package/src/workflow.js +13 -9
package/bin/vsaf.js
CHANGED
|
@@ -105,12 +105,14 @@ 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`);
|
|
111
|
-
console.log(` \x1b[1mOption 2:
|
|
112
|
-
console.log(` \x1b[
|
|
113
|
-
console.log(` \x1b[32m.\\scripts\\setup-vsaf.ps1\x1b[0m\n`);
|
|
114
|
+
console.log(` \x1b[1mOption 2: Setup script (CMD)\x1b[0m`);
|
|
115
|
+
console.log(` \x1b[32mscripts\\setup-vsaf.bat\x1b[0m\n`);
|
|
114
116
|
console.log(` \x1b[1mOption 3: WSL (Windows Subsystem for Linux)\x1b[0m`);
|
|
115
117
|
console.log(` \x1b[90mRun inside WSL terminal for full Linux compatibility:\x1b[0m`);
|
|
116
118
|
console.log(` \x1b[32mnpm install -g ${pkg}\x1b[0m`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ngocsangairvds/vsaf",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.9",
|
|
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,19 @@ function runServe() {
|
|
|
73
73
|
|
|
74
74
|
function printAnalyzeHint() {
|
|
75
75
|
if (isWindows) {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
info('
|
|
84
|
-
info('
|
|
76
|
+
warn('Windows troubleshooting:');
|
|
77
|
+
warn('');
|
|
78
|
+
warn(' [Most common] PowerShell blocks npm global scripts (.ps1).');
|
|
79
|
+
warn(' Use CMD instead of PowerShell, or prefix with cmd /c:');
|
|
80
|
+
warn('');
|
|
81
|
+
warn(' cmd /c gitnexus analyze --worker-timeout 60');
|
|
82
|
+
warn('');
|
|
83
|
+
info(' Other options:');
|
|
84
|
+
info(' - Run via npx: npx gitnexus analyze');
|
|
85
|
+
info(' - Use Git Bash: bash -c "gitnexus analyze"');
|
|
86
|
+
info(' - Use WSL: wsl -- bash -c "cd $(wslpath -a .) && gitnexus analyze"');
|
|
87
|
+
info(' - Or fix PowerShell permanently (Admin):');
|
|
88
|
+
info(' Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned');
|
|
85
89
|
} else {
|
|
86
90
|
info('Try running manually: gitnexus analyze --verbose');
|
|
87
91
|
}
|