yaver-cli 1.99.454 → 1.99.456

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.454",
3
+ "version": "1.99.456",
4
4
  "mcpName": "io.github.yaver-io/yaver",
5
5
  "description": "Unified npm bootstrap for the Yaver agent, SDK injection, and local-first developer runtime",
6
6
  "bin": {
@@ -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
  }