@ngocsangairvds/vsaf 3.0.7 → 3.0.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.
Files changed (2) hide show
  1. package/bin/vsaf.js +24 -0
  2. package/package.json +1 -1
package/bin/vsaf.js CHANGED
@@ -46,6 +46,7 @@ async function main() {
46
46
  const { installProject } = require('../src/project');
47
47
  await installGlobal();
48
48
  await installProject();
49
+ printInstallHint();
49
50
  break;
50
51
  }
51
52
  case 'global': {
@@ -92,6 +93,29 @@ async function main() {
92
93
  }
93
94
  }
94
95
 
96
+ function printInstallHint() {
97
+ const pkg = '@ngocsangairvds/vsaf';
98
+ console.log('\n\x1b[1m╔══════════════════════════════════════════════════════════╗\x1b[0m');
99
+ console.log( '\x1b[1m║ 🚀 Cài lệnh vsaf để dùng mọi lúc ║\x1b[0m');
100
+ console.log( '\x1b[1m╚══════════════════════════════════════════════════════════╝\x1b[0m');
101
+ console.log(`
102
+ Lệnh \x1b[36mvsaf\x1b[0m chưa được cài vào PATH vì bạn vừa chạy qua \x1b[33mnpx\x1b[0m.
103
+ Để dùng \x1b[36mvsaf\x1b[0m trực tiếp từ terminal, hãy cài global một lần:
104
+
105
+ \x1b[1m\x1b[32m npm install -g ${pkg}\x1b[0m
106
+
107
+ Sau đó bạn có thể dùng:
108
+
109
+ \x1b[36mvsaf status\x1b[0m # kiểm tra cài đặt
110
+ \x1b[36mvsaf index\x1b[0m # index codebase (GitNexus)
111
+ \x1b[36mvsaf review\x1b[0m # chạy 2-layer review
112
+ \x1b[36mvsaf mine\x1b[0m # mine conversations → MemPalace
113
+
114
+ \x1b[90mHoặc tiếp tục dùng npx nếu không muốn cài global:\x1b[0m
115
+ \x1b[90m npx ${pkg} <command>\x1b[0m
116
+ `);
117
+ }
118
+
95
119
  main().catch(err => {
96
120
  console.error('\x1b[31mError:\x1b[0m', err.message);
97
121
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngocsangairvds/vsaf",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "description": "VSAF — Agentic AI SDLC Framework. 4 integrated tools: BMAD, GitNexus, Superpowers, MemPalace. 2-layer review.",
5
5
  "keywords": ["claude", "claude-code", "ai", "sdlc", "framework", "bmad", "gitnexus", "mempalace"],
6
6
  "bin": {