yaver-cli 1.99.54 → 1.99.56

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/postinstall.js +13 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yaver-cli",
3
- "version": "1.99.54",
3
+ "version": "1.99.56",
4
4
  "mcpName": "io.github.kivanccakmak/yaver",
5
5
  "description": "Unified npm bootstrap for the Yaver agent, SDK injection, and local-first developer runtime",
6
6
  "bin": {
@@ -268,6 +268,19 @@ async function main() {
268
268
  if (!envEnabled("YAVER_SKIP_POSTINSTALL_RUNNERS")) {
269
269
  installMissingCodingRunners();
270
270
  }
271
+
272
+ // Vibe Preview tool stack — best-effort provisioning so a fresh
273
+ // global npm install gives the user a working chromium-based frame
274
+ // capture + maestro-driven clip exercises out of the box. Opt out
275
+ // with YAVER_SKIP_POSTINSTALL_VIBE_PREVIEW=1.
276
+ if (!envEnabled("YAVER_SKIP_POSTINSTALL_VIBE_PREVIEW")) {
277
+ try {
278
+ await runAgentCommand(["install", "vibe-preview"], { quiet: true });
279
+ log("Provisioned Vibe Preview tool stack (chromium + ffmpeg + maestro + appium + adb).");
280
+ } catch (error) {
281
+ log(`Skipping vibe-preview bootstrap: ${error.message}`);
282
+ }
283
+ }
271
284
  }
272
285
 
273
286
  main()