@ngocsangairvds/vsaf 3.2.11 → 3.2.12

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/package.json +1 -1
  2. package/src/global.js +6 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ngocsangairvds/vsaf",
3
- "version": "3.2.11",
3
+ "version": "3.2.12",
4
4
  "description": "improve confluence format",
5
5
  "keywords": ["claude", "claude-code", "ai", "sdlc", "framework", "bmad", "gitnexus", "superpowers"],
6
6
  "bin": {
package/src/global.js CHANGED
@@ -140,10 +140,13 @@ async function setupVdsScriptsMcp() {
140
140
  ok('Đã sao chép vds-scripts.');
141
141
 
142
142
  info('Đang khởi tạo môi trường Python (uv sync)...');
143
- if (!exec(`uv sync --frozen --project "${destDir}"`, { silent: true })) {
144
- exec(`uv sync --project "${destDir}"`, { silent: true });
143
+ const syncOk = exec(`uv sync --frozen --package vds-cli --project "${destDir}"`, { silent: true })
144
+ || exec(`uv sync --package vds-cli --project "${destDir}"`, { silent: true });
145
+ if (syncOk) {
146
+ ok('Môi trường Python đã sẵn sàng.');
147
+ } else {
148
+ warn('uv sync thất bại — vds-cli có thể chưa sẵn sàng');
145
149
  }
146
- ok('Môi trường Python đã sẵn sàng.');
147
150
 
148
151
  installVdsCliwrapper(destDir);
149
152