@qvac/harness 1.0.0-rc.6 → 1.0.0-rc.7

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 (85) hide show
  1. package/CHANGELOG.md +157 -10
  2. package/README.md +19 -7
  3. package/dist-lib/index.d.ts +2 -2
  4. package/dist-lib/index.js +1 -1
  5. package/dist-lib/lib/capabilities/completion-engine/actors/stream.js +2 -0
  6. package/dist-lib/lib/capabilities/completion-engine/actors/streaming.js +31 -3
  7. package/dist-lib/lib/capabilities/completion-engine/driver.js +3 -0
  8. package/dist-lib/lib/capabilities/completion-engine/index.d.ts +1 -0
  9. package/dist-lib/lib/capabilities/completion-engine/index.js +1 -0
  10. package/dist-lib/lib/capabilities/completion-engine/model-round.d.ts +1 -0
  11. package/dist-lib/lib/capabilities/completion-engine/round.js +5 -2
  12. package/dist-lib/lib/capabilities/completion-engine/tool-sets.d.ts +24 -0
  13. package/dist-lib/lib/capabilities/completion-engine/tool-sets.js +15 -0
  14. package/dist-lib/lib/capabilities/detect-language.d.ts +2 -1
  15. package/dist-lib/lib/capabilities/detect-language.js +14 -2
  16. package/dist-lib/lib/connect.d.ts +2 -0
  17. package/dist-lib/lib/connect.js +73 -7
  18. package/dist-lib/lib/contract-types.d.ts +4 -0
  19. package/dist-lib/lib/helpers/require-peers.d.ts +3 -0
  20. package/dist-lib/lib/helpers/require-peers.js +23 -0
  21. package/dist-lib/lib/models/llm-presets.d.ts +1 -0
  22. package/dist-lib/lib/models/model-catalog.js +1 -1
  23. package/dist-lib/lib/models/opencl-cache.js +2 -2
  24. package/dist-lib/lib/plugins/registry.d.ts +2 -0
  25. package/dist-lib/lib/plugins/registry.js +4 -0
  26. package/dist-lib/lib/round-host.d.ts +12 -0
  27. package/dist-lib/lib/round-host.js +57 -0
  28. package/dist-lib/lib/round-port.d.ts +24 -0
  29. package/dist-lib/lib/round-port.js +81 -0
  30. package/dist-lib/lib/sdk-loader.d.ts +1 -1
  31. package/dist-lib/lib/sdk-loader.js +30 -6
  32. package/dist-lib/lib/sdk-storage.d.ts +1 -0
  33. package/dist-lib/lib/sdk-storage.js +18 -2
  34. package/dist-lib/lib/serve.js +61 -1
  35. package/dist-lib/lib/sidecar/index.d.ts +10 -0
  36. package/dist-lib/lib/sidecar/index.js +35 -3
  37. package/dist-lib/lib/sidecar/user-plugins.d.ts +1 -0
  38. package/dist-lib/lib/sidecar/user-plugins.js +1 -1
  39. package/dist-lib/lib/tools/files/grep.js +113 -15
  40. package/dist-lib/lib/tools/fs/edit-match.js +75 -7
  41. package/dist-lib/lib/tools/fs/search.d.ts +1 -1
  42. package/dist-lib/lib/tools/fs/search.js +2 -1
  43. package/dist-lib/lib/tools/index.d.ts +2 -1
  44. package/dist-lib/lib/tools/index.js +2 -2
  45. package/dist-lib/lib/tools/skills/skill-state-constants.d.ts +1 -0
  46. package/dist-lib/lib/tools/skills/skill-state-constants.js +4 -0
  47. package/dist-lib/lib/wire.d.ts +13 -0
  48. package/dist-lib/lib/wire.js +44 -1
  49. package/dist-lib/plugins/coding/read-only.d.ts +1 -0
  50. package/dist-lib/plugins/coding/read-only.js +264 -0
  51. package/dist-lib/plugins/coding/session.d.ts +3 -1
  52. package/dist-lib/plugins/coding/session.js +19 -2
  53. package/dist-lib/plugins/egress-proxy/index.d.ts +2 -2
  54. package/dist-lib/plugins/egress-proxy/index.js +5 -3
  55. package/dist-lib/plugins/image/index.js +7 -2
  56. package/dist-lib/plugins/language-hint/index.js +4 -1
  57. package/dist-lib/plugins/music/index.js +6 -2
  58. package/dist-lib/plugins/python/index.js +1 -0
  59. package/dist-lib/plugins/python/loader.d.ts +1 -0
  60. package/dist-lib/plugins/python/loader.js +8 -0
  61. package/dist-lib/plugins/quickjs/index.js +4 -0
  62. package/dist-lib/plugins/quickjs/runtime.js +8 -3
  63. package/dist-lib/plugins/run-report/index.js +6 -2
  64. package/dist-lib/plugins/run-report/layout.js +1 -1
  65. package/dist-lib/plugins/sandbox-vm/index.js +3 -0
  66. package/dist-lib/plugins/sandbox-windows/prebuilds/win32-arm64/qvac-sandbox.exe +0 -0
  67. package/dist-lib/plugins/sandbox-windows/prebuilds/win32-x64/qvac-sandbox.exe +0 -0
  68. package/dist-lib/plugins/speech/audio-resample.js +2 -1
  69. package/dist-lib/plugins/speech/index.d.ts +1 -0
  70. package/dist-lib/plugins/speech/index.js +8 -1
  71. package/dist-lib/plugins/speech/speech-runtime.js +3 -3
  72. package/dist-lib/plugins/translation/index.d.ts +1 -1
  73. package/dist-lib/plugins/translation/index.js +7 -3
  74. package/dist-lib/plugins/translation/translate.d.ts +2 -2
  75. package/dist-lib/plugins/translation/translate.js +7 -8
  76. package/dist-lib/plugins/walkie-talkie/index.d.ts +2 -2
  77. package/dist-lib/plugins/walkie-talkie/index.js +13 -5
  78. package/dist-lib/plugins/walkie-talkie/wire.d.ts +5 -0
  79. package/dist-lib/plugins/walkie-talkie/wire.js +6 -5
  80. package/dist-lib/schema/harness.js +13 -4
  81. package/dist-lib/spec/hrpc/messages.js +205 -151
  82. package/dist-lib/spec/hyperschema/index.js +205 -151
  83. package/dist-lib/spec/hyperschema/schema.json +125 -89
  84. package/dist-lib/spec/hyperschema/types.d.ts +4 -4
  85. package/package.json +149 -24
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qvac/harness",
3
- "version": "1.0.0-rc.6",
3
+ "version": "1.0.0-rc.7",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "bare": ">=1.34.0",
@@ -419,6 +419,38 @@
419
419
  "./addon-externals": {
420
420
  "types": "./scripts/addon-externals.d.ts",
421
421
  "default": "./scripts/addon-externals.cjs"
422
+ },
423
+ "./lib/tools/fs/drive.ts": {
424
+ "types": "./dist-lib/lib/tools/fs/drive.d.ts",
425
+ "default": "./dist-lib/lib/tools/fs/drive.js"
426
+ },
427
+ "./lib/tools/fs/remote-protocol.ts": {
428
+ "types": "./dist-lib/lib/tools/fs/remote-protocol.d.ts",
429
+ "default": "./dist-lib/lib/tools/fs/remote-protocol.js"
430
+ },
431
+ "./lib/tools/fs/remote.ts": {
432
+ "types": "./dist-lib/lib/tools/fs/remote.d.ts",
433
+ "default": "./dist-lib/lib/tools/fs/remote.js"
434
+ },
435
+ "./lib/tools/skills/skill-state.ts": {
436
+ "types": "./dist-lib/lib/tools/skills/skill-state.d.ts",
437
+ "default": "./dist-lib/lib/tools/skills/skill-state.js"
438
+ },
439
+ "./lib/tools/skills/credential-slots.ts": {
440
+ "types": "./dist-lib/lib/tools/skills/credential-slots.d.ts",
441
+ "default": "./dist-lib/lib/tools/skills/credential-slots.js"
442
+ },
443
+ "./lib/tools/skills/manifest-parse.ts": {
444
+ "types": "./dist-lib/lib/tools/skills/manifest-parse.d.ts",
445
+ "default": "./dist-lib/lib/tools/skills/manifest-parse.js"
446
+ },
447
+ "./lib/tools/skills/overlay-crud.ts": {
448
+ "types": "./dist-lib/lib/tools/skills/overlay-crud.d.ts",
449
+ "default": "./dist-lib/lib/tools/skills/overlay-crud.js"
450
+ },
451
+ "./lib/tools/skills/scope-key.ts": {
452
+ "types": "./dist-lib/lib/tools/skills/scope-key.d.ts",
453
+ "default": "./dist-lib/lib/tools/skills/scope-key.js"
422
454
  }
423
455
  },
424
456
  "scripts": {
@@ -542,6 +574,11 @@
542
574
  "bare": "@qvac/inference",
543
575
  "default": "@qvac/sdk"
544
576
  },
577
+ "#sdk-logging": {
578
+ "types": "@qvac/sdk/logging",
579
+ "bare": "@qvac/inference/logging",
580
+ "default": "@qvac/sdk/logging"
581
+ },
545
582
  "#zlib": {
546
583
  "types": "bare-zlib",
547
584
  "bare": "bare-zlib",
@@ -549,20 +586,10 @@
549
586
  }
550
587
  },
551
588
  "dependencies": {
552
- "@jitl/quickjs-singlefile-mjs-release-sync": "0.32.0",
553
- "@qvac/asr-ggml": "^0.10.0",
554
- "@qvac/audiogen-ggml": "^0.8.0",
555
- "@qvac/diffusion-cpp": "^0.30.0",
556
- "@qvac/embed-llamacpp": "0.48.2",
557
589
  "@qvac/error": "^0.1.1",
558
590
  "@qvac/inference": "^0.22.0",
559
- "@qvac/langdetect-text": "^0.1.2",
560
- "@qvac/llm-llamacpp": "^0.61.1",
561
591
  "@qvac/logging": "0.1.1",
562
- "@qvac/sdk": "^0.22.0",
563
592
  "@qvac/skills": "^0.1.17",
564
- "@qvac/translation-nmtcpp": "^0.21.1",
565
- "@qvac/tts-ggml": "^0.13.0",
566
593
  "@xmldom/xmldom": "^0.9.12",
567
594
  "asenion": "^0.1.0",
568
595
  "b4a": "^1.9.0",
@@ -573,15 +600,12 @@
573
600
  "bare-dns": "^2.1.4",
574
601
  "bare-events": "^2.9.1",
575
602
  "bare-fetch": "^3.0.1",
576
- "bare-ffmpeg": "^1.2.3",
577
603
  "bare-file-logger": "^1.2.1",
578
604
  "bare-fs": "^4.7.2",
579
605
  "bare-gpu-info": "^0.1.1",
580
606
  "bare-http1": "4.5.9",
581
607
  "bare-https": "^3.0.0",
582
- "bare-image-resample": "^1.0.2",
583
- "bare-media": "^2.10.0",
584
- "bare-net": "^2.3.2",
608
+ "bare-module": "~7.1.0",
585
609
  "bare-os": "^3.9.1",
586
610
  "bare-path": "^3.0.1",
587
611
  "bare-pdfium": "^1.6.0",
@@ -595,21 +619,15 @@
595
619
  "bare-tls": "^3.1.13",
596
620
  "bare-tty": "^5.1.2",
597
621
  "bare-url": "^2.4.5",
598
- "bare-worker": "^4.5.0",
622
+ "bare-worker": "4.5.0",
599
623
  "bare-zlib": "^1.4.1",
600
- "barevisor": "0.1.0",
601
624
  "compact-encoding": "^3.4.0",
602
- "elkjs": "^0.11.1",
603
625
  "hrpc": "^4.3.0",
604
- "hypercore-crypto": "^3.7.0",
605
626
  "hyperschema": "^1.23.0",
606
627
  "hyperschema-ts": "^0.1.0",
607
- "hyperswarm": "^4.17.1",
608
628
  "jsonrepair": "3.15.0",
609
629
  "localdrive": "^2.2.0",
610
630
  "protomux": "^3.11.0",
611
- "pyodide": "314.0.2",
612
- "quickjs-emscripten-core": "0.32.0",
613
631
  "ready-resource": "^1.2.0",
614
632
  "resource-puddle": "^0.1.0",
615
633
  "safety-catch": "^1.0.3",
@@ -620,26 +638,133 @@
620
638
  "xstate": "~5.33.1",
621
639
  "zod": "^4.3.6"
622
640
  },
641
+ "peerDependencies": {
642
+ "@jitl/quickjs-singlefile-mjs-release-sync": "0.32.0",
643
+ "@qvac/asr-ggml": "^0.10.0",
644
+ "@qvac/audiogen-ggml": "^0.8.0",
645
+ "@qvac/decoder-audio": "^0.8.1",
646
+ "@qvac/diffusion-cpp": "^0.30.0",
647
+ "@qvac/embed-llamacpp": "0.48.2",
648
+ "@qvac/langdetect-text": "^0.1.2",
649
+ "@qvac/llm-llamacpp": "^0.61.1",
650
+ "@qvac/sdk": "^0.22.0",
651
+ "@qvac/translation-nmtcpp": "^0.21.1",
652
+ "@qvac/tts-ggml": "^0.13.0",
653
+ "bare-ffmpeg": "^1.2.3",
654
+ "bare-image-resample": "^1.0.2",
655
+ "bare-media": "^2.10.0",
656
+ "bare-net": "^2.3.2",
657
+ "barevisor": "0.1.0",
658
+ "elkjs": "^0.11.1",
659
+ "hypercore-crypto": "^3.7.0",
660
+ "hyperswarm": "^4.17.1",
661
+ "pyodide": "314.0.2",
662
+ "quickjs-emscripten-core": "0.32.0"
663
+ },
664
+ "peerDependenciesMeta": {
665
+ "@jitl/quickjs-singlefile-mjs-release-sync": {
666
+ "optional": true
667
+ },
668
+ "@qvac/asr-ggml": {
669
+ "optional": true
670
+ },
671
+ "@qvac/audiogen-ggml": {
672
+ "optional": true
673
+ },
674
+ "@qvac/decoder-audio": {
675
+ "optional": true
676
+ },
677
+ "@qvac/diffusion-cpp": {
678
+ "optional": true
679
+ },
680
+ "@qvac/embed-llamacpp": {
681
+ "optional": true
682
+ },
683
+ "@qvac/langdetect-text": {
684
+ "optional": true
685
+ },
686
+ "@qvac/llm-llamacpp": {
687
+ "optional": true
688
+ },
689
+ "@qvac/sdk": {
690
+ "optional": true
691
+ },
692
+ "@qvac/translation-nmtcpp": {
693
+ "optional": true
694
+ },
695
+ "@qvac/tts-ggml": {
696
+ "optional": true
697
+ },
698
+ "bare-ffmpeg": {
699
+ "optional": true
700
+ },
701
+ "bare-image-resample": {
702
+ "optional": true
703
+ },
704
+ "bare-media": {
705
+ "optional": true
706
+ },
707
+ "bare-net": {
708
+ "optional": true
709
+ },
710
+ "barevisor": {
711
+ "optional": true
712
+ },
713
+ "elkjs": {
714
+ "optional": true
715
+ },
716
+ "hypercore-crypto": {
717
+ "optional": true
718
+ },
719
+ "hyperswarm": {
720
+ "optional": true
721
+ },
722
+ "pyodide": {
723
+ "optional": true
724
+ },
725
+ "quickjs-emscripten-core": {
726
+ "optional": true
727
+ }
728
+ },
623
729
  "devDependencies": {
730
+ "@jitl/quickjs-singlefile-mjs-release-sync": "0.32.0",
731
+ "@qvac/asr-ggml": "^0.10.0",
732
+ "@qvac/audiogen-ggml": "^0.8.0",
733
+ "@qvac/decoder-audio": "^0.8.1",
734
+ "@qvac/diffusion-cpp": "^0.30.0",
735
+ "@qvac/embed-llamacpp": "0.48.2",
736
+ "@qvac/langdetect-text": "^0.1.2",
737
+ "@qvac/llm-llamacpp": "^0.61.1",
738
+ "@qvac/sdk": "^0.22.0",
739
+ "@qvac/translation-nmtcpp": "^0.21.1",
740
+ "@qvac/tts-ggml": "^0.13.0",
624
741
  "bare-bundle": "^1.10.0",
742
+ "bare-ffmpeg": "^1.2.3",
743
+ "bare-image-resample": "^1.0.2",
744
+ "bare-media": "^2.10.0",
625
745
  "bare-module-traverse": "~2.5.8",
746
+ "bare-net": "^2.3.2",
626
747
  "bare-runtime": "1.34.0",
627
748
  "bare-semver": "^1.1.0",
628
749
  "bare-tui": "0.3.0",
750
+ "barevisor": "0.1.0",
629
751
  "brittle": "^4.0.2",
630
752
  "brittle-jobs": "^0.2.1",
631
753
  "corestore": "^7.11.0",
754
+ "elkjs": "^0.11.1",
632
755
  "holepunch-types": "^0.2.1",
756
+ "hypercore-crypto": "^3.7.0",
633
757
  "hyperdht": "^6.34.0",
634
758
  "hyperdrive": "^13.3.3",
635
- "jsdom": "~30.0.1",
759
+ "hyperswarm": "^4.17.1",
636
760
  "lunte": "^1.8.6",
637
761
  "lunte-plugin-qvac": "^0.2.0",
638
- "mermaid": "~11.16.1",
639
762
  "paparam": "^1.13.0",
640
763
  "pdfjs-dist": "^6.3.289",
641
764
  "prettier": "^3.6.2",
642
765
  "prettier-config-holepunch": "^2.0.0",
766
+ "pyodide": "314.0.2",
767
+ "quickjs-emscripten-core": "0.32.0",
643
768
  "typescript": "^7.0.2"
644
769
  },
645
770
  "patchedDependencies": {