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.
- package/package.json +1 -1
- package/src/postinstall.js +13 -0
package/package.json
CHANGED
package/src/postinstall.js
CHANGED
|
@@ -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()
|