@qvac/sdk 0.19.0 → 0.20.0

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 (79) hide show
  1. package/NOTICE +111 -82
  2. package/dist/examples/abot-world.js +3 -3
  3. package/dist/examples/advisory-model-fit.d.ts +59 -0
  4. package/dist/examples/advisory-model-fit.js +156 -0
  5. package/dist/examples/asr/parakeet-nemotron-filesystem.d.ts +2 -0
  6. package/dist/examples/asr/parakeet-nemotron-filesystem.js +170 -0
  7. package/dist/examples/assess-model-fit.js +6 -1
  8. package/dist/examples/audiogen/edit-music.d.ts +2 -0
  9. package/dist/examples/audiogen/edit-music.js +121 -0
  10. package/dist/examples/audiogen/understand-music.d.ts +2 -0
  11. package/dist/examples/audiogen/understand-music.js +73 -0
  12. package/dist/examples/diffusion-ic-lora-ltx.js +3 -3
  13. package/dist/examples/diffusion-img2vid.js +1 -1
  14. package/dist/examples/diffusion-txt2vid-minimax-h3.d.ts +2 -0
  15. package/dist/examples/diffusion-txt2vid-minimax-h3.js +64 -0
  16. package/dist/examples/diffusion-txt2vid.js +1 -1
  17. package/dist/examples/kv-cache-cleanup.js +5 -2
  18. package/dist/examples/model-fit-ui/server.js +33 -7
  19. package/dist/examples/rag/rag-turbovec.d.ts +2 -0
  20. package/dist/examples/rag/rag-turbovec.js +58 -0
  21. package/dist/examples/tts/audio8.js +5 -5
  22. package/dist/examples/tts/chatterbox-enhanced.js +4 -5
  23. package/dist/examples/tts/chatterbox-multilingual.js +5 -5
  24. package/dist/examples/tts/chatterbox.js +5 -5
  25. package/dist/examples/tts/cosyvoice3.js +5 -5
  26. package/dist/examples/tts/llm-to-tts-streaming.js +12 -2
  27. package/dist/examples/tts/parler.js +5 -5
  28. package/dist/examples/tts/supertonic-enhanced.js +4 -5
  29. package/dist/examples/tts/supertonic-multilingual.js +5 -5
  30. package/dist/examples/tts/supertonic.js +5 -5
  31. package/dist/scripts/contract/build-contract.d.ts +1 -1
  32. package/dist/scripts/contract/constants-registry.d.ts +31 -0
  33. package/dist/scripts/contract/constants-registry.js +13 -2
  34. package/dist/scripts/contract/method-shapes.d.ts +3 -0
  35. package/dist/scripts/contract/method-shapes.js +3 -0
  36. package/dist/src/client/api/assess-model-fit.js +2 -0
  37. package/dist/src/client/api/audio-edit.d.ts +36 -0
  38. package/dist/src/client/api/audio-edit.js +38 -0
  39. package/dist/src/client/api/audio-gen-result.d.ts +5 -1
  40. package/dist/src/client/api/audio-gen-result.js +105 -52
  41. package/dist/src/client/api/audio-gen.d.ts +38 -1
  42. package/dist/src/client/api/audio-gen.js +38 -1
  43. package/dist/src/client/api/audio-understand.d.ts +25 -0
  44. package/dist/src/client/api/audio-understand.js +27 -0
  45. package/dist/src/client/api/delete-cache.d.ts +7 -1
  46. package/dist/src/client/api/delete-cache.js +11 -1
  47. package/dist/src/client/api/index.d.ts +3 -0
  48. package/dist/src/client/api/index.js +3 -0
  49. package/dist/src/client/api/text-to-speech.d.ts +31 -4
  50. package/dist/src/client/api/text-to-speech.js +118 -21
  51. package/dist/src/client/api/vector-index.d.ts +143 -0
  52. package/dist/src/client/api/vector-index.js +168 -0
  53. package/dist/src/client/api/world.d.ts +2 -2
  54. package/dist/src/commands/bundle/manifest.d.ts +2 -0
  55. package/dist/src/commands/verify/addon-source.d.ts +6 -0
  56. package/dist/src/commands/verify/bundle-source.d.ts +2 -0
  57. package/dist/src/commands/verify/bundle-source.js +155 -1
  58. package/dist/src/commands/verify/index.js +1 -0
  59. package/dist/src/commands/verify/prebuilds.d.ts +23 -0
  60. package/dist/src/commands/verify/prebuilds.js +129 -13
  61. package/dist/src/commands/verify/resource-collectors.js +2 -1
  62. package/dist/src/expo/plugins/patches/qvac-platform-addons.d.ts +23 -0
  63. package/dist/src/expo/plugins/patches/qvac-platform-addons.js +94 -0
  64. package/dist/src/expo/plugins/withMobileBundle.d.ts +12 -2
  65. package/dist/src/expo/plugins/withMobileBundle.js +62 -31
  66. package/dist/src/index.d.ts +3 -3
  67. package/dist/src/index.js +7 -3
  68. package/dist/src/schemas/sdk-errors-server.d.ts +4 -0
  69. package/dist/src/schemas/sdk-errors-server.js +22 -0
  70. package/dist/src/utils/aggregate-events.d.ts +3 -1
  71. package/dist/src/utils/aggregate-events.js +7 -1
  72. package/dist/src/utils/errors-server.d.ts +12 -0
  73. package/dist/src/utils/errors-server.js +21 -0
  74. package/docs/system-resources-support-matrix.md +19 -19
  75. package/package.json +22 -15
  76. package/src/electron-forge/index.cjs +86 -14
  77. package/src/expo/plugins/patches/android-link.mjs +18 -9
  78. package/src/expo/plugins/patches/ios-link.mjs +18 -9
  79. package/src/expo/plugins/patches/qvac-platform-addons.ts +124 -0
package/NOTICE CHANGED
@@ -207,6 +207,18 @@ Third-Party Model Licenses
207
207
  https://huggingface.co/HuggingFaceVLA/smolvla_libero
208
208
  SmolVLM2-500M-Video-Instruct-GGUF
209
209
  https://huggingface.co/ggml-org/SmolVLM2-500M-Video-Instruct-GGUF
210
+ TranslatePsy-AfriSLM-0.8B-Q4-GGUF
211
+ https://huggingface.co/qvac/TranslatePsy-AfriSLM-0.8B-Q4-GGUF
212
+ TranslatePsy-AfriSLM-0.8B-Q8-GGUF
213
+ https://huggingface.co/qvac/TranslatePsy-AfriSLM-0.8B-Q8-GGUF
214
+ TranslatePsy-AfriSLM-2B-Q4-GGUF
215
+ https://huggingface.co/qvac/TranslatePsy-AfriSLM-2B-Q4-GGUF
216
+ TranslatePsy-AfriSLM-2B-Q8-GGUF
217
+ https://huggingface.co/qvac/TranslatePsy-AfriSLM-2B-Q8-GGUF
218
+ TranslatePsy-AfriSLM-4B-Q4-GGUF
219
+ https://huggingface.co/qvac/TranslatePsy-AfriSLM-4B-Q4-GGUF
220
+ TranslatePsy-AfriSLM-4B-Q8-GGUF
221
+ https://huggingface.co/qvac/TranslatePsy-AfriSLM-4B-Q8-GGUF
210
222
  umt5-xxl-enc-q8_0
211
223
  https://huggingface.co/Comfy-Org/Wan_2.1_ComfyUI_repackaged
212
224
  unlimited-ocr-gguf
@@ -365,11 +377,11 @@ Third-Party Model Licenses
365
377
  gte-large-gguf
366
378
  https://huggingface.co/ChristianAzinn/gte-large-gguf
367
379
  indic-conformer-ctc.f16
368
- https://huggingface.co/ai4bharat/indic-conformer
380
+ https://huggingface.co/ai4bharat/indic-conformer-600m-multilingual
369
381
  indic-conformer-ctc.q4_0
370
- https://huggingface.co/ai4bharat/indic-conformer
382
+ https://huggingface.co/ai4bharat/indic-conformer-600m-multilingual
371
383
  indic-conformer-ctc.q8_0
372
- https://huggingface.co/ai4bharat/indic-conformer
384
+ https://huggingface.co/ai4bharat/indic-conformer-600m-multilingual
373
385
  lavasr-denoiser-f16
374
386
  https://huggingface.co/spaces/YatharthS
375
387
  lavasr-enhancer-f16
@@ -608,6 +620,12 @@ Third-Party Model Licenses
608
620
  https://huggingface.co/nvidia/GR00T-N1.7-LIBERO
609
621
  groot-q8_vf16
610
622
  https://huggingface.co/nvidia/GR00T-N1.7-3B
623
+ nemotron-3.5-asr-streaming-0.6b.f16
624
+ https://huggingface.co/nvidia/nemotron-3.5-asr-streaming-0.6b
625
+ nemotron-3.5-asr-streaming-0.6b.q4_0
626
+ https://huggingface.co/nvidia/nemotron-3.5-asr-streaming-0.6b
627
+ nemotron-3.5-asr-streaming-0.6b.q8_0
628
+ https://huggingface.co/nvidia/nemotron-3.5-asr-streaming-0.6b
611
629
  parakeet-unified-en-0.6b.f16
612
630
  https://huggingface.co/nvidia/parakeet-unified-en-0.6b
613
631
  parakeet-unified-en-0.6b.q4_0
@@ -665,47 +683,48 @@ JavaScript Dependencies
665
683
 
666
684
  @hyperswarm/secret-stream@6.9.1
667
685
  https://github.com/holepunchto/hyperswarm-secret-stream
668
- @qvac/asr-ggml@0.3.2
686
+ @qvac/asr-ggml@0.3.3
669
687
  https://github.com/tetherto/qvac
670
- @qvac/audiogen-ggml@0.2.3
688
+ @qvac/audiogen-ggml@0.3.3
671
689
  https://github.com/tetherto/qvac
672
- @qvac/bci-whispercpp@0.7.2
690
+ @qvac/bci-whispercpp@0.8.2
673
691
  https://github.com/tetherto/qvac
674
- @qvac/classification-ggml@0.20.0
692
+ @qvac/classification-ggml@0.23.0
675
693
  https://github.com/tetherto/qvac
676
694
  @qvac/decoder-audio@0.5.0
677
695
  https://github.com/tetherto/qvac
678
696
  @qvac/diagnostics@0.1.2
679
697
  https://github.com/tetherto/qvac
680
- @qvac/diffusion-cpp@0.17.0
698
+ @qvac/diffusion-cpp@0.21.0
681
699
  https://github.com/tetherto/qvac
682
- @qvac/embed-llamacpp@0.34.0
700
+ @qvac/embed-llamacpp@0.37.0
683
701
  https://github.com/tetherto/qvac
684
702
  @qvac/error@0.1.1
685
- @qvac/fabric@0.6.0
703
+ @qvac/fabric@0.10.0
686
704
  https://github.com/tetherto/qvac
687
705
  @qvac/infer-base@0.4.2
688
706
  https://github.com/tetherto/qvac
689
707
  @qvac/infer-base@0.6.2
690
708
  https://github.com/tetherto/qvac
709
+ @qvac/inference@0.19.1
710
+ https://github.com/tetherto/qvac
691
711
  @qvac/langdetect-text@0.1.2
692
712
  https://github.com/tetherto/qvac
693
- @qvac/llm-llamacpp@0.45.0
713
+ @qvac/llm-llamacpp@0.49.1
694
714
  https://github.com/tetherto/qvac
695
- @qvac/logging@0.1.0
696
- @qvac/ocr-ggml@0.18.0
715
+ @qvac/logging@0.1.1
697
716
  https://github.com/tetherto/qvac
698
- @qvac/rag@0.6.4
717
+ @qvac/ocr-ggml@0.21.0
699
718
  https://github.com/tetherto/qvac
700
719
  @qvac/registry-client@0.6.1
701
720
  https://github.com/tetherto/qvac
702
721
  @qvac/registry-schema@0.3.0
703
722
  https://github.com/tetherto/qvac
704
- @qvac/translation-nmtcpp@0.10.0
723
+ @qvac/translation-nmtcpp@0.13.0
705
724
  https://github.com/tetherto/qvac
706
- @qvac/tts-ggml@0.7.4
725
+ @qvac/tts-ggml@0.8.1
707
726
  https://github.com/tetherto/qvac
708
- @qvac/vla-ggml@0.21.1
727
+ @qvac/vla-ggml@0.24.0
709
728
  https://github.com/tetherto/qvac
710
729
  adaptive-timeout@1.0.1
711
730
  https://github.com/holepunchto/adaptive-timeout
@@ -715,15 +734,15 @@ JavaScript Dependencies
715
734
  https://github.com/holepunchto/bare-abort
716
735
  bare-abort-controller@1.1.2
717
736
  https://github.com/holepunchto/bare-abort-controller
718
- bare-addon-resolve@1.10.0
737
+ bare-addon-resolve@1.10.1
719
738
  https://github.com/holepunchto/bare-addon-resolve
720
739
  bare-ansi-escapes@2.2.3
721
740
  https://github.com/holepunchto/bare-ansi-escapes
722
741
  bare-assert@1.2.0
723
742
  https://github.com/holepunchto/bare-assert
724
- bare-buffer@3.6.1
743
+ bare-buffer@3.7.1
725
744
  https://github.com/holepunchto/bare-buffer
726
- bare-bundle@1.10.0
745
+ bare-bundle@1.11.0
727
746
  https://github.com/holepunchto/bare-bundle
728
747
  bare-bundle-id@1.0.2
729
748
  https://github.com/holepunchto/bare-bundle-id
@@ -735,15 +754,15 @@ JavaScript Dependencies
735
754
  https://github.com/holepunchto/bare-crypto
736
755
  bare-debug-log@2.0.0
737
756
  https://github.com/holepunchto/bare-debug-log
738
- bare-dns@2.1.4
757
+ bare-dns@2.2.0
739
758
  https://github.com/holepunchto/bare-dns
740
759
  bare-encoding@1.0.3
741
760
  https://github.com/holepunchto/bare-encoding
742
- bare-env@3.0.0
761
+ bare-env@3.0.1
743
762
  https://github.com/holepunchto/bare-env
744
- bare-events@2.9.1
763
+ bare-events@2.9.2
745
764
  https://github.com/holepunchto/bare-events
746
- bare-fetch@3.0.1
765
+ bare-fetch@3.2.1
747
766
  https://github.com/holepunchto/bare-fetch
748
767
  bare-ffmpeg@1.5.0
749
768
  https://github.com/holepunchto/bare-ffmpeg
@@ -751,59 +770,69 @@ JavaScript Dependencies
751
770
  https://github.com/holepunchto/bare-form-data
752
771
  bare-format@1.0.2
753
772
  https://github.com/holepunchto/bare-format
754
- bare-fs@4.7.2
773
+ bare-fs@4.8.1
755
774
  https://github.com/holepunchto/bare-fs
756
775
  bare-gpu-info@0.1.1
757
776
  https://github.com/holepunchto/bare-gpu-info
758
- bare-hrtime@2.1.1
777
+ bare-hrtime@2.1.2
759
778
  https://github.com/holepunchto/bare-hrtime
760
- bare-http-parser@1.1.5
779
+ bare-http-parser@2.1.4
761
780
  https://github.com/holepunchto/bare-http-parser
762
- bare-http1@4.5.7
781
+ bare-http1@4.6.1
763
782
  https://github.com/holepunchto/bare-http1
764
- bare-https@3.0.0
783
+ bare-https@3.1.0
765
784
  https://github.com/holepunchto/bare-https
766
- bare-inspect@3.1.4
785
+ bare-inspect@3.1.10
767
786
  https://github.com/holepunchto/bare-inspect
768
- bare-inspector@6.0.2
787
+ bare-inspector@6.1.0
769
788
  https://github.com/holepunchto/bare-inspector
789
+ bare-lief@0.2.7
790
+ https://github.com/holepunchto/bare-lief
791
+ bare-link@3.3.0
792
+ https://github.com/holepunchto/bare-link
770
793
  bare-mime@1.0.0
771
794
  https://github.com/holepunchto/bare-mime
772
- bare-module@6.2.1
795
+ bare-module@6.4.0
773
796
  https://github.com/holepunchto/bare-module
774
- bare-module-lexer@1.5.2
797
+ bare-module-lexer@1.6.6
775
798
  https://github.com/holepunchto/bare-module-lexer
776
- bare-module-resolve@1.12.2
799
+ bare-module-resolve@1.12.5
777
800
  https://github.com/holepunchto/bare-module-resolve
778
- bare-module-traverse@2.1.2
801
+ bare-module-traverse@2.5.5
779
802
  https://github.com/holepunchto/bare-module-traverse
780
- bare-net@2.3.2
803
+ bare-net@2.3.3
781
804
  https://github.com/holepunchto/bare-net
782
805
  bare-os@3.9.3
783
806
  https://github.com/holepunchto/bare-os
784
- bare-pack@2.1.3
807
+ bare-pack@2.2.2
785
808
  https://github.com/holepunchto/bare-pack
786
- bare-path@3.0.1
809
+ bare-path@3.1.2
787
810
  https://github.com/holepunchto/bare-path
788
- bare-pipe@4.2.2
811
+ bare-performance@2.1.1
812
+ https://github.com/holepunchto/bare-performance
813
+ bare-pipe@4.3.1
789
814
  https://github.com/holepunchto/bare-pipe
790
- bare-process@4.4.1
815
+ bare-posix@1.0.1
816
+ https://github.com/holepunchto/bare-posix
817
+ bare-process@4.5.1
791
818
  https://github.com/holepunchto/bare-process
792
- bare-rpc@1.3.3
819
+ bare-rpc@1.3.8
793
820
  https://github.com/holepunchto/bare-rpc
794
- bare-runtime@1.28.7
821
+ bare-runtime@1.32.0
795
822
  https://github.com/holepunchto/bare-runtime
796
- bare-runtime-darwin-arm64@1.28.7
823
+ bare-runtime-darwin-arm64@1.32.0
797
824
  https://github.com/holepunchto/bare-runtime
798
- bare-semver@1.0.3
825
+ bare-semver@1.1.0
799
826
  https://github.com/holepunchto/bare-semver
800
827
  bare-signals@4.2.0
801
828
  https://github.com/holepunchto/bare-signals
802
- bare-stdio@1.0.2
829
+ bare-signals@5.0.0
830
+ https://github.com/holepunchto/bare-signals
831
+ bare-stdio@1.0.3
803
832
  https://github.com/holepunchto/bare-stdio
804
- bare-stream@2.13.3
833
+ bare-stream@2.13.4
805
834
  https://github.com/holepunchto/bare-stream
806
- bare-structured-clone@1.5.5
835
+ bare-structured-clone@1.6.0
807
836
  https://github.com/holepunchto/bare-structured-clone
808
837
  bare-stylize@0.0.1
809
838
  https://github.com/holepunchto/bare-stylize
@@ -811,28 +840,30 @@ JavaScript Dependencies
811
840
  https://github.com/holepunchto/bare-subprocess
812
841
  bare-subprocess@6.1.0
813
842
  https://github.com/holepunchto/bare-subprocess
814
- bare-tcp@2.5.1
843
+ bare-tcp@2.6.1
815
844
  https://github.com/holepunchto/bare-tcp
816
- bare-tls@3.1.7
845
+ bare-tls@3.1.10
817
846
  https://github.com/holepunchto/bare-tls
818
- bare-tty@5.1.1
847
+ bare-tty@5.2.1
819
848
  https://github.com/holepunchto/bare-tty
820
- bare-type@1.1.0
849
+ bare-type@1.1.1
821
850
  https://github.com/holepunchto/bare-type
822
- bare-url@2.4.5
851
+ bare-type-stripper@0.1.6
852
+ https://github.com/holepunchto/bare-type-stripper
853
+ bare-url@2.5.4
823
854
  https://github.com/holepunchto/bare-url
824
855
  bare-utils@1.6.0
825
856
  https://github.com/holepunchto/bare-utils
826
857
  bare-v8-to-istanbul@1.0.2
827
- bare-ws@3.0.0
858
+ bare-ws@3.1.0
828
859
  https://github.com/holepunchto/bare-ws
829
- bare-zlib@1.4.0
860
+ bare-zlib@1.4.1
830
861
  https://github.com/holepunchto/bare-zlib
831
862
  blind-relay@1.6.1
832
863
  https://github.com/holepunchto/blind-relay
833
864
  brittle@3.19.1
834
865
  https://github.com/holepunchto/brittle
835
- compact-encoding@3.2.0
866
+ compact-encoding@3.5.0
836
867
  https://github.com/holepunchto/compact-encoding
837
868
  compact-encoding-bitfield@1.1.0
838
869
  https://github.com/compact-encoding/compact-encoding-bitfield
@@ -842,11 +873,11 @@ JavaScript Dependencies
842
873
  https://github.com/holepunchto/device-file
843
874
  events-universal@1.0.1
844
875
  https://github.com/holepunchto/events-universal
845
- fd-lock@2.1.1
876
+ fd-lock@2.2.0
846
877
  https://github.com/holepunchto/fd-lock
847
- fs-native-extensions@1.5.0
878
+ fs-native-extensions@1.5.1
848
879
  https://github.com/holepunchto/fs-native-extensions
849
- globbie@1.0.3
880
+ globbie@1.0.6
850
881
  https://github.com/holepunchto/globbie
851
882
  hyperblobs@2.12.1
852
883
  https://github.com/holepunchto/hyperblobs
@@ -854,21 +885,21 @@ JavaScript Dependencies
854
885
  https://github.com/holepunchto/hypercore-errors
855
886
  hypercore-id-encoding@1.3.0
856
887
  https://github.com/holepunchto/hypercore-id-encoding
857
- hypercore-stats@2.4.0
888
+ hypercore-stats@2.5.1
858
889
  https://github.com/holepunchto/hypercore-stats
859
- hypercore-storage@3.1.1
890
+ hypercore-storage@3.2.1
860
891
  https://github.com/holepunchto/hypercore-storage
861
- hyperdb@6.7.0
892
+ hyperdb@6.9.0
862
893
  https://github.com/holepunchto/hyperdb
863
894
  hyperdht-address@1.1.1
864
895
  https://github.com/holepunchto/hyperdht-address
865
- hyperdht-stats@1.10.0
896
+ hyperdht-stats@1.11.0
866
897
  https://github.com/holepunchto/hyperdht-stats
867
898
  hyperdispatch@1.6.0
868
899
  https://github.com/holepunchto/hyperdispatch
869
- hyperdrive@13.3.2
900
+ hyperdrive@13.3.3
870
901
  https://github.com/holepunchto/hyperdrive
871
- hyperschema@1.21.0
902
+ hyperschema@1.24.0
872
903
  https://github.com/holepunchto/hyperschema
873
904
  hyperswarm-stats@1.3.1
874
905
  https://github.com/holepunchto/hyperswarm-stats
@@ -878,7 +909,7 @@ JavaScript Dependencies
878
909
  https://github.com/holepunchto/mirror-drive
879
910
  noise-handshake@4.2.0
880
911
  https://github.com/holepunchto/noise-handshake
881
- paparam@1.10.1
912
+ paparam@1.13.0
882
913
  https://github.com/holepunchto/paparam
883
914
  passive-core-watcher@1.0.1
884
915
  https://github.com/holepunchto/passive-core-watcher
@@ -892,13 +923,13 @@ JavaScript Dependencies
892
923
  https://github.com/holepunchto/rache
893
924
  refcounter@1.0.0
894
925
  https://github.com/holepunchto/refcounter
895
- require-addon@1.2.0
926
+ require-addon@1.3.0
896
927
  https://github.com/holepunchto/require-addon
897
928
  require-asset@1.2.2
898
929
  https://github.com/holepunchto/require-asset
899
930
  resource-on-exit@1.0.0
900
931
  https://github.com/holepunchto/bare-teardown
901
- rocksdb-native@3.16.0
932
+ rocksdb-native@3.17.4
902
933
  https://github.com/holepunchto/rocksdb-native
903
934
  scope-lock@1.2.4
904
935
  https://github.com/holepunchto/scope-lock
@@ -908,7 +939,7 @@ JavaScript Dependencies
908
939
  https://github.com/holepunchto/sub-encoder
909
940
  text-decoder@1.2.7
910
941
  https://github.com/holepunchto/text-decoder
911
- udx-native@1.20.7
942
+ udx-native@1.21.1
912
943
  https://github.com/holepunchto/udx-native
913
944
  unslab@1.3.0
914
945
  https://github.com/holepunchto/unslab
@@ -925,7 +956,7 @@ JavaScript Dependencies
925
956
  https://github.com/chm-diederichs/noise-curve-ed
926
957
  quickbit-universal@2.2.0
927
958
  https://github.com/holepunchto/quickbit-universal
928
- semver@7.8.4
959
+ semver@7.8.5
929
960
  https://github.com/npm/node-semver
930
961
  simdle-universal@1.1.2
931
962
  https://github.com/holepunchto/simdle-universal
@@ -938,7 +969,7 @@ JavaScript Dependencies
938
969
 
939
970
  @jridgewell/resolve-uri@3.1.2
940
971
  https://github.com/jridgewell/resolve-uri
941
- @jridgewell/sourcemap-codec@1.5.5
972
+ @jridgewell/sourcemap-codec@1.6.0
942
973
  https://github.com/jridgewell/sourcemaps
943
974
  @jridgewell/trace-mapping@0.3.31
944
975
  https://github.com/jridgewell/sourcemaps
@@ -954,7 +985,7 @@ JavaScript Dependencies
954
985
  https://github.com/mafintosh/codecs
955
986
  convert-source-map@2.0.0
956
987
  https://github.com/thlorenz/convert-source-map
957
- corestore@7.10.1
988
+ corestore@7.12.4
958
989
  https://github.com/holepunchto/corestore
959
990
  debounceify@1.1.0
960
991
  https://github.com/mafintosh/debounceify
@@ -974,13 +1005,13 @@ JavaScript Dependencies
974
1005
  https://github.com/mafintosh/generate-string
975
1006
  hyperbee@2.27.3
976
1007
  https://github.com/holepunchto/hyperbee
977
- hypercore@11.33.1
1008
+ hypercore@11.35.5
978
1009
  https://github.com/holepunchto/hypercore
979
1010
  hypercore-crypto@3.7.0
980
1011
  https://github.com/mafintosh/hypercore-crypto
981
- hyperdht@6.32.0
1012
+ hyperdht@6.34.0
982
1013
  https://github.com/holepunchto/hyperdht
983
- hyperswarm@4.17.0
1014
+ hyperswarm@4.17.1
984
1015
  https://github.com/holepunchto/hyperswarm
985
1016
  is-options@1.0.2
986
1017
  https://github.com/mafintosh/is-options
@@ -988,19 +1019,17 @@ JavaScript Dependencies
988
1019
  https://github.com/mikolalysenko/is-property
989
1020
  kademlia-routing-table@1.0.6
990
1021
  https://github.com/mafintosh/kademlia-routing-table
991
- llm-splitter@0.2.0
992
- https://github.com/nearform/llm-splitter
993
1022
  mutexify@1.4.0
994
1023
  https://github.com/mafintosh/mutexify
995
1024
  nat-sampler@1.0.1
996
1025
  https://github.com/mafintosh/nat-sampler
997
- picomatch@4.0.4
1026
+ picomatch@4.0.7
998
1027
  https://github.com/micromatch/picomatch
999
1028
  promaphore@1.0.0
1000
1029
  https://github.com/mafintosh/promaphore
1001
1030
  protocol-buffers-encodings@1.2.0
1002
1031
  https://github.com/mafintosh/protocol-buffers-encodings
1003
- protomux@3.11.0
1032
+ protomux@3.12.0
1004
1033
  https://github.com/holepunchto/protomux
1005
1034
  queue-tick@1.0.1
1006
1035
  https://github.com/mafintosh/queue-tick
@@ -1034,9 +1063,9 @@ JavaScript Dependencies
1034
1063
  https://github.com/mafintosh/speedometer
1035
1064
  stackframe@1.3.4
1036
1065
  https://github.com/stacktracejs/stackframe
1037
- streamx@2.28.0
1066
+ streamx@2.28.1
1038
1067
  https://github.com/mafintosh/streamx
1039
- tar-stream@3.2.0
1068
+ tar-stream@3.2.1
1040
1069
  https://github.com/mafintosh/tar-stream
1041
1070
  teex@1.0.1
1042
1071
  https://github.com/mafintosh/teex
@@ -1056,10 +1085,10 @@ JavaScript Dependencies
1056
1085
  https://github.com/mafintosh/unordered-set
1057
1086
  varint@5.0.0
1058
1087
  https://github.com/chrisdickinson/varint
1059
- xache@1.2.1
1088
+ xache@1.3.0
1060
1089
  https://github.com/mafintosh/xache
1061
1090
  z32@1.1.0
1062
1091
  https://github.com/mafintosh/z32
1063
- zod@4.4.3
1092
+ zod@4.6.1
1064
1093
  https://github.com/colinhacks/zod
1065
1094
 
@@ -1,4 +1,4 @@
1
- import { cancel, loadModel, unloadModel, worldCreateScene, worldStep, ABOT_WORLD_0_5B_Q8_0, ABOT_WORLD_0_5B_LF_VAE, ABOT_WORLD_0_5B_LF_VAE_F16, UMT5_XXL_ENC_Q8_0 } from '@qvac/sdk';
1
+ import { cancel, loadModel, unloadModel, worldCreateScene, worldStep, ABOT_WORLD_0_5B_Q8_0, ABOT_WORLD_0_5B_LF_TAEHV_VAE, ABOT_WORLD_0_5B_LF_WAN_VAE, UMT5_XXL_ENC_Q8_0 } from '@qvac/sdk';
2
2
  import fs from 'fs';
3
3
  import path from 'path';
4
4
  // ABot-World: build a world from a single image, then walk it. Each step
@@ -38,9 +38,9 @@ try {
38
38
  // vaeModelSrc — the full-precision Wan2.2 VAE. ENCODES the first frame
39
39
  // during worldCreateScene, and is not touched again after that.
40
40
  // Swapping them loads at first and fails once the walk starts.
41
- taehvModelSrc: ABOT_WORLD_0_5B_LF_VAE,
41
+ taehvModelSrc: ABOT_WORLD_0_5B_LF_TAEHV_VAE,
42
42
  t5XxlModelSrc: UMT5_XXL_ENC_Q8_0,
43
- vaeModelSrc: ABOT_WORLD_0_5B_LF_VAE_F16,
43
+ vaeModelSrc: ABOT_WORLD_0_5B_LF_WAN_VAE,
44
44
  world: {
45
45
  seed: 42,
46
46
  // ~3.7x fewer frame-passes per block. Without it, block times ramp from
@@ -0,0 +1,59 @@
1
+ /**
2
+ * Advisory llama.cpp fit check (QVAC-22629).
3
+ *
4
+ * Before a completion or embedding load, the SDK runs `@qvac/model-fit` in one
5
+ * disposable Bare child and projects whether the exact configuration it is
6
+ * about to load will fit in device memory.
7
+ *
8
+ * The result is ADVISORY. It never blocks a load. `does-not-fit` is logged and
9
+ * the ordinary load path runs unchanged. Crashes, timeouts, malformed
10
+ * responses, unsupported configurations, and internal errors all resolve to
11
+ * "no evidence" and are equally non-blocking. Nothing consumes the verdict
12
+ * yet — this PR only produces it.
13
+ *
14
+ * The verdict is emitted on the SDK server log stream, not to stdout, so this
15
+ * example subscribes to `loggingStream({ id: SDK_LOG_ID })` and reprints the
16
+ * `[advisory-fit:…]` lines.
17
+ *
18
+ * ---------------------------------------------------------------------------
19
+ * What fits on this machine (Apple M4 Pro, 24 GiB unified memory)
20
+ * ---------------------------------------------------------------------------
21
+ *
22
+ * Measured with `@qvac/model-fit@0.8.0` (the first release carrying the
23
+ * qvac-fabric#214 memory-reporting fix) at the default 1024 MiB margin. The
24
+ * fitter budgets against what the machine can actually keep resident
25
+ * (total − wired − compressor: 17.4 GiB on this machine at idle), not the raw
26
+ * RAM figure.
27
+ *
28
+ * PROJECTED TO FIT — all layers on GPU
29
+ * Qwen3.5 0.8B Q4_K_M 0.5 GiB @ 4k ctx
30
+ * gpt-oss-20B Q4_K_M 10.8 GiB @ 32k ctx
31
+ * gte-large fp16 0.6 GiB (embedding, context pinned to 512)
32
+ *
33
+ * PROJECTED NOT TO FIT — try any of these to see a `does-not-fit` verdict
34
+ * gpt-oss-20B Q4_K_M 10.8 GiB @ 128k ctx with an f32 KV cache ← below
35
+ * Gemma 4 31B Q4_K_M 18.3 GiB @ 1k ctx ← the weights alone do not
36
+ * fit with gpu_layers: 99
37
+ *
38
+ * gpt-oss-20B at 128k context FITS with the default KV cache and DOES NOT FIT
39
+ * once `cache-type-k`/`cache-type-v` are set to `f32`. Same model, same
40
+ * context, same machine — the verdict tracks the configuration, not the file
41
+ * size.
42
+ *
43
+ * Two boundaries worth understanding when reading verdicts:
44
+ *
45
+ * 1. The verdict answers for a PLACEMENT, not a model. The SDK's schema
46
+ * default is `gpu_layers: 99` ("everything on the GPU"), so `does-not-fit`
47
+ * means "not at this placement". Omit `gpu_layers` and the fitter is free
48
+ * to move layers to the CPU side instead.
49
+ * 2. A `does-not-fit` configuration can still RUN on macOS when the OS
50
+ * compresses and pages hard enough — and a `fits` configuration right at
51
+ * the boundary can still fail at first decode under memory pressure.
52
+ * Prediction cannot separate those cases from a snapshot; the addon-side
53
+ * probe decode (QVAC-24114) is the runtime check that catches the
54
+ * remainder. The verdict here is the honest working-set budget, and the
55
+ * measured failure modes punish over-committing, so treat `does-not-fit`
56
+ * as "expect degradation or decode failure", not "the load will error".
57
+ */
58
+ export {};
59
+ //# sourceMappingURL=advisory-model-fit.d.ts.map