@ngocsangairvds/vsaf 4.1.4 → 4.1.5
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
|
@@ -255,8 +255,9 @@ if (vdsScriptsDir) {
|
|
|
255
255
|
execSync('uv sync --all-packages', {
|
|
256
256
|
stdio: 'pipe',
|
|
257
257
|
encoding: 'utf-8',
|
|
258
|
-
timeout:
|
|
258
|
+
timeout: 600000,
|
|
259
259
|
cwd: vdsScriptsDir,
|
|
260
|
+
env: { ...process.env, UV_HTTP_TIMEOUT: '300' },
|
|
260
261
|
});
|
|
261
262
|
log('✅', 'All vds-scripts packages synced');
|
|
262
263
|
} catch (e) {
|
|
@@ -279,7 +280,7 @@ let verified = false;
|
|
|
279
280
|
|
|
280
281
|
// First pass: try vds-cli on PATH
|
|
281
282
|
try {
|
|
282
|
-
const ver = execSync('vds-cli version', { stdio: 'pipe', encoding: 'utf-8', timeout:
|
|
283
|
+
const ver = execSync('vds-cli version', { stdio: 'pipe', encoding: 'utf-8', timeout: 60000 }).trim();
|
|
283
284
|
log('✅', `vds-cli ${ver} — working`);
|
|
284
285
|
verified = true;
|
|
285
286
|
} catch {
|
|
@@ -312,7 +313,7 @@ if (!verified) {
|
|
|
312
313
|
try {
|
|
313
314
|
const wrapperPath = join(projectPath, '.claude', 'bin');
|
|
314
315
|
const ver = execSync('vds-cli version', {
|
|
315
|
-
stdio: 'pipe', encoding: 'utf-8', timeout:
|
|
316
|
+
stdio: 'pipe', encoding: 'utf-8', timeout: 60000,
|
|
316
317
|
env: { ...process.env, PATH: `${wrapperPath}${delimiter}${process.env.PATH}` },
|
|
317
318
|
}).trim();
|
|
318
319
|
log('✅', `vds-cli ${ver} — working (via .claude/bin/vds-cli)`);
|
|
@@ -326,7 +327,7 @@ if (!verified) {
|
|
|
326
327
|
if (vdsScriptsDir) {
|
|
327
328
|
try {
|
|
328
329
|
const uvVer = execSync(`uv run --directory ${JSON.stringify(vdsScriptsDir)} --package vds-cli vds-cli version`, {
|
|
329
|
-
stdio: 'pipe', encoding: 'utf-8', timeout:
|
|
330
|
+
stdio: 'pipe', encoding: 'utf-8', timeout: 60000,
|
|
330
331
|
}).trim();
|
|
331
332
|
log(' ', `Direct uv run works: ${uvVer}`);
|
|
332
333
|
log(' ', 'Issue is with the wrapper script, not uv/vds-cli');
|