@ngocsangairvds/vsaf 4.0.14 → 4.0.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngocsangairvds/vsaf",
3
- "version": "4.0.14",
3
+ "version": "4.0.15",
4
4
  "description": "is it ready to use ?",
5
5
  "main": "packages/core/dist/index.js",
6
6
  "types": "packages/core/dist/index.d.ts",
@@ -197,7 +197,7 @@ if (!vdsCliFound && vdsScriptsDir) {
197
197
  // Project-local vds-cli wrapper — created by vsaf install vds-skill
198
198
  const { execFileSync } = require('child_process');
199
199
  try {
200
- execFileSync('uv', ['run', '--directory', ${JSON.stringify(vdsScriptsDir)}, '--package', 'vds-cli', 'vds-cli', ...process.argv.slice(2)], { stdio: 'inherit' });
200
+ execFileSync('uv', ['run', '--directory', ${JSON.stringify(vdsScriptsDir)}, '--package', 'vds-cli', 'vds-cli', ...process.argv.slice(2)], { stdio: 'inherit', shell: true });
201
201
  } catch (e) {
202
202
  process.exit(e.status || 1);
203
203
  }
@@ -210,7 +210,12 @@ try {
210
210
  }
211
211
  log('✅', `vds-cli wrapper created: ${wrapperPath}`);
212
212
  log(' ', `Points to: ${vdsScriptsDir}`);
213
- log('💡', 'Add to PATH: export PATH=".claude/bin:$PATH"');
213
+ if (process.platform === 'win32') {
214
+ log('💡', 'Add to PATH: set "PATH=.claude\\bin;%PATH%"');
215
+ log(' ', 'PowerShell: $env:PATH = ".claude\\bin;$env:PATH"');
216
+ } else {
217
+ log('💡', 'Add to PATH: export PATH=".claude/bin:$PATH"');
218
+ }
214
219
  vdsCliFound = true;
215
220
  }
216
221
  }
@@ -254,8 +259,9 @@ if (vdsScriptsDir) {
254
259
  cwd: vdsScriptsDir,
255
260
  });
256
261
  log('✅', 'All vds-scripts packages synced');
257
- } catch {
262
+ } catch (e) {
258
263
  log('⚠️', 'Failed to sync vds-scripts packages — subcommands like confluence/jira may not work');
264
+ if (e.stderr) log(' ', `Error: ${e.stderr.trim().split('\n')[0]}`);
259
265
  log(' ', `Fix: cd ${vdsScriptsDir} && uv sync --all-packages`);
260
266
  }
261
267
  }
@@ -311,8 +317,9 @@ if (!verified) {
311
317
  }).trim();
312
318
  log('✅', `vds-cli ${ver} — working (via .claude/bin/vds-cli)`);
313
319
  verified = true;
314
- } catch {
320
+ } catch (e) {
315
321
  log('❌', 'vds-cli not working — skills will be BLOCKED at runtime');
322
+ log(' ', `Error: ${e.message || e}`);
316
323
  }
317
324
  }
318
325