yaver-cli 1.99.454 → 1.99.457
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
|
@@ -588,6 +588,19 @@ async function main() {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
+
// Install the small, owner-local VSR adapter + Python libraries alongside
|
|
592
|
+
// the Go agent so remote lip reading has an invocable backend after npm
|
|
593
|
+
// install. Checkpoints are deliberately not downloaded: their dataset/model
|
|
594
|
+
// terms require the user to provide a licensed Auto-AVSR model explicitly.
|
|
595
|
+
if (!envEnabled("YAVER_SKIP_POSTINSTALL_VSR")) {
|
|
596
|
+
try {
|
|
597
|
+
await runAgentCommand(["install", "vsr"], { quiet: true });
|
|
598
|
+
log("Provisioned private remote lip-reading adapter and mouth-video libraries.");
|
|
599
|
+
} catch (error) {
|
|
600
|
+
log(`Skipping VSR backend bootstrap: ${error.message}. Retry with \`yaver install vsr\`.`);
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
|
|
591
604
|
if (!envEnabled("YAVER_SKIP_POSTINSTALL_MOBILE_TOOLS")) {
|
|
592
605
|
installMissingMobileTools();
|
|
593
606
|
}
|