vg-coder-cli 2.0.53 → 2.0.54

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": "vg-coder-cli",
3
- "version": "2.0.53",
3
+ "version": "2.0.54",
4
4
  "description": "🚀 CLI tool to analyze projects, concatenate source files, count tokens, and export HTML with syntax highlighting and copy functionality",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -699,7 +699,10 @@ class ApiServer {
699
699
  const body = req.body || {};
700
700
  const opts = body.workerLabel ? { workerLabel: body.workerLabel } : {};
701
701
  const payload = { url: body.url, model: body.model, active: body.active };
702
- const result = await taskQueue.requestLauncher('launcher:open_tab', payload, opts, 8_000);
702
+ // Timeout 15s vì worker đợi tab status="complete" + 1.5s render delay
703
+ // để bắt AI Studio fallback. Worker-side timeout cũng là 8s — server
704
+ // phải lớn hơn để có response thay vì error.
705
+ const result = await taskQueue.requestLauncher('launcher:open_tab', payload, opts, 15_000);
703
706
  res.json(result);
704
707
  } catch (e) { res.status(503).json({ error: e.message }); }
705
708
  });