@qvac/sdk 0.22.0 → 0.24.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.
- package/NOTICE +194 -97
- package/README.md +29 -470
- package/dist/examples/asr/parakeet-sortformer.js +24 -14
- package/dist/examples/asr/parakeet-transcribepsy-filesystem.d.ts +2 -0
- package/dist/examples/asr/parakeet-transcribepsy-filesystem.js +105 -0
- package/dist/examples/asr/parakeet-unified-coreml.js +14 -9
- package/dist/examples/asr/whispercpp-prompt.js +9 -5
- package/dist/examples/assess-model-fit.d.ts +7 -9
- package/dist/examples/assess-model-fit.js +22 -43
- package/dist/examples/calc-tokens.d.ts +2 -0
- package/dist/examples/calc-tokens.js +21 -0
- package/dist/examples/classification/classify-image.js +11 -5
- package/dist/examples/completion-stop-reason.d.ts +3 -3
- package/dist/examples/completion-stop-reason.js +4 -4
- package/dist/examples/diffusion-flux3-klein.d.ts +2 -0
- package/dist/examples/diffusion-flux3-klein.js +102 -0
- package/dist/examples/diffusion-img2vid-ltx.js +7 -14
- package/dist/examples/diffusion-moss-image.d.ts +2 -0
- package/dist/examples/diffusion-moss-image.js +126 -0
- package/dist/examples/diffusion-qwen-image-21.d.ts +2 -0
- package/dist/examples/diffusion-qwen-image-21.js +115 -0
- package/dist/examples/diffusion-txt2vid-ltx.js +7 -14
- package/dist/examples/embed-multimodal.d.ts +2 -0
- package/dist/examples/embed-multimodal.js +80 -0
- package/dist/examples/embed-p2p.js +2 -2
- package/dist/examples/finetune/llamacpp-finetune.js +9 -4
- package/dist/examples/image/megaloc.d.ts +2 -0
- package/dist/examples/image/megaloc.js +37 -0
- package/dist/examples/llamacpp-multimodal.js +21 -1
- package/dist/examples/mcp-websearch.js +1 -1
- package/dist/examples/plugins.js +1 -1
- package/dist/examples/rag/rag-hyperdb/pipeline.js +2 -2
- package/dist/examples/rag/rag-turbovec.js +2 -2
- package/dist/examples/rerank.d.ts +2 -0
- package/dist/examples/rerank.js +33 -0
- package/dist/examples/sessions.d.ts +17 -0
- package/dist/examples/sessions.js +63 -0
- package/dist/examples/tools/llamacpp-deferred-tools.js +12 -8
- package/dist/examples/tools/llamacpp-tools-auto-dialect.js +4 -3
- package/dist/examples/tools/llamacpp-tools-gemma4.js +3 -3
- package/dist/examples/tools/llamacpp-tools-qwen35.js +4 -3
- package/dist/scripts/check-resource-collectors-packaging.js +7 -6
- package/dist/scripts/contract/build-contract.d.ts +2 -1
- package/dist/scripts/contract/build-contract.js +13 -1
- package/dist/scripts/contract/constants-registry.d.ts +19 -0
- package/dist/scripts/contract/constants-registry.js +9 -2
- package/dist/scripts/contract/method-shapes.d.ts +5 -0
- package/dist/scripts/contract/method-shapes.js +5 -0
- package/dist/scripts/enforce-inference-versions.d.ts +1 -1
- package/dist/scripts/enforce-inference-versions.js +28 -18
- package/dist/scripts/generate-bare-kit-runtimes.js +101 -69
- package/dist/src/client/api/assess-model-fit.d.ts +17 -17
- package/dist/src/client/api/assess-model-fit.js +19 -32
- package/dist/src/client/api/audio-edit.d.ts +5 -3
- package/dist/src/client/api/audio-edit.js +7 -5
- package/dist/src/client/api/audio-gen-result.js +136 -47
- package/dist/src/client/api/audio-gen.d.ts +40 -3
- package/dist/src/client/api/audio-gen.js +42 -5
- package/dist/src/client/api/audio-understand.d.ts +2 -2
- package/dist/src/client/api/audio-understand.js +4 -4
- package/dist/src/client/api/batch-completion.js +4 -3
- package/dist/src/client/api/bci-transcribe.js +3 -3
- package/dist/src/client/api/calc-tokens.d.ts +33 -0
- package/dist/src/client/api/calc-tokens.js +44 -0
- package/dist/src/client/api/cancel.d.ts +2 -2
- package/dist/src/client/api/cancel.js +3 -3
- package/dist/src/client/api/classify.d.ts +12 -5
- package/dist/src/client/api/classify.js +18 -6
- package/dist/src/client/api/client-request-id.d.ts +0 -15
- package/dist/src/client/api/client-request-id.js +15 -12
- package/dist/src/client/api/completion-stream.d.ts +9 -1
- package/dist/src/client/api/completion-stream.js +14 -3
- package/dist/src/client/api/decide.d.ts +1 -1
- package/dist/src/client/api/decide.js +3 -3
- package/dist/src/client/api/delete-cache.d.ts +9 -2
- package/dist/src/client/api/delete-cache.js +14 -4
- package/dist/src/client/api/diffusion.d.ts +38 -5
- package/dist/src/client/api/diffusion.js +42 -7
- package/dist/src/client/api/download-asset.js +3 -3
- package/dist/src/client/api/embed.d.ts +82 -29
- package/dist/src/client/api/embed.js +66 -21
- package/dist/src/client/api/finetune.js +3 -3
- package/dist/src/client/api/get-loaded-model-info.js +1 -1
- package/dist/src/client/api/get-model-info.d.ts +2 -2
- package/dist/src/client/api/get-model-info.js +3 -3
- package/dist/src/client/api/get-system-resources.d.ts +2 -2
- package/dist/src/client/api/get-system-resources.js +3 -3
- package/dist/src/client/api/heartbeat.d.ts +3 -2
- package/dist/src/client/api/heartbeat.js +4 -3
- package/dist/src/client/api/index.d.ts +8 -6
- package/dist/src/client/api/index.js +6 -4
- package/dist/src/client/api/invoke-plugin.d.ts +8 -2
- package/dist/src/client/api/invoke-plugin.js +18 -3
- package/dist/src/client/api/load-model.js +9 -6
- package/dist/src/client/api/logging-stream.d.ts +11 -2
- package/dist/src/client/api/logging-stream.js +12 -3
- package/dist/src/client/api/ocr.d.ts +5 -3
- package/dist/src/client/api/ocr.js +45 -22
- package/dist/src/client/api/rag.d.ts +1 -1
- package/dist/src/client/api/rag.js +3 -3
- package/dist/src/client/api/registry.d.ts +19 -8
- package/dist/src/client/api/registry.js +43 -17
- package/dist/src/client/api/rerank.d.ts +22 -0
- package/dist/src/client/api/rerank.js +39 -0
- package/dist/src/client/api/resume.d.ts +2 -1
- package/dist/src/client/api/resume.js +3 -3
- package/dist/src/client/api/rpc-server.d.ts +4 -4
- package/dist/src/client/api/rpc-server.js +12 -12
- package/dist/src/client/api/state.d.ts +2 -2
- package/dist/src/client/api/state.js +3 -3
- package/dist/src/client/api/subscribe-logs.d.ts +2 -2
- package/dist/src/client/api/subscribe-logs.js +4 -3
- package/dist/src/client/api/suspend.d.ts +4 -2
- package/dist/src/client/api/suspend.js +5 -4
- package/dist/src/client/api/text-to-speech.d.ts +14 -5
- package/dist/src/client/api/text-to-speech.js +86 -32
- package/dist/src/client/api/transcribe.d.ts +7 -3
- package/dist/src/client/api/transcribe.js +9 -3
- package/dist/src/client/api/translate.js +2 -2
- package/dist/src/client/api/unload-model.d.ts +19 -7
- package/dist/src/client/api/unload-model.js +31 -13
- package/dist/src/client/api/upscale.d.ts +6 -3
- package/dist/src/client/api/upscale.js +10 -5
- package/dist/src/client/api/vector-index.d.ts +51 -17
- package/dist/src/client/api/vector-index.js +101 -49
- package/dist/src/client/api/video-request.d.ts +5 -5
- package/dist/src/client/api/video.d.ts +3 -2
- package/dist/src/client/api/video.js +6 -5
- package/dist/src/client/api/vla.d.ts +9 -5
- package/dist/src/client/api/vla.js +17 -8
- package/dist/src/client/api/world-result.js +2 -2
- package/dist/src/client/api/world.d.ts +6 -6
- package/dist/src/client/api/world.js +6 -6
- package/dist/src/client/init-hooks.d.ts +6 -4
- package/dist/src/client/init-hooks.js +12 -15
- package/dist/src/client/logging-stream-registry.d.ts +6 -3
- package/dist/src/client/logging-stream-registry.js +36 -14
- package/dist/src/client/plugins-factory.d.ts +1 -1
- package/dist/src/client/plugins-factory.js +1 -1
- package/dist/src/client/rpc/bundle-stamp.d.ts +29 -0
- package/dist/src/client/rpc/bundle-stamp.js +75 -0
- package/dist/src/client/rpc/expo-home-dir.d.ts +2 -0
- package/dist/src/client/rpc/expo-home-dir.js +4 -0
- package/dist/src/client/rpc/expo-rpc-client.js +192 -138
- package/dist/src/client/rpc/node-rpc-client.js +324 -426
- package/dist/src/client/rpc/pear-runtime.d.ts +12 -0
- package/dist/src/client/rpc/pear-runtime.js +12 -0
- package/dist/src/client/rpc/rpc-client.d.ts +6 -4
- package/dist/src/client/rpc/rpc-client.js +168 -31
- package/dist/src/client/rpc/rpc-error.js +24 -2
- package/dist/src/client/rpc/unbundled-harness.d.ts +16 -0
- package/dist/src/client/rpc/unbundled-harness.js +27 -0
- package/dist/src/client/rpc/worker-failure.d.ts +27 -0
- package/dist/src/client/rpc/worker-failure.js +61 -0
- package/dist/src/client/session-registry.d.ts +75 -0
- package/dist/src/client/session-registry.js +149 -0
- package/dist/src/client/session.d.ts +125 -0
- package/dist/src/client/session.js +148 -0
- package/dist/src/commands/bundle/addons.d.ts +14 -0
- package/dist/src/commands/bundle/addons.js +65 -0
- package/dist/src/commands/bundle/constants.js +2 -0
- package/dist/src/commands/bundle/entry-gen.d.ts +1 -5
- package/dist/src/commands/bundle/entry-gen.js +18 -51
- package/dist/src/commands/bundle/index.d.ts +60 -14
- package/dist/src/commands/bundle/index.js +350 -126
- package/dist/src/commands/bundle/link.d.ts +58 -0
- package/dist/src/commands/bundle/link.js +135 -0
- package/dist/src/commands/bundle/node-support.d.ts +13 -0
- package/dist/src/commands/bundle/node-support.js +23 -0
- package/dist/src/commands/bundle/plugins.js +1 -1
- package/dist/src/commands/bundle/read-bundle.d.ts +9 -0
- package/dist/src/commands/bundle/read-bundle.js +27 -0
- package/dist/src/commands/bundle/resolve-sdk-import.d.ts +6 -0
- package/dist/src/commands/bundle/resolve-sdk-import.js +24 -28
- package/dist/src/commands/bundle/scratch.d.ts +35 -0
- package/dist/src/commands/bundle/scratch.js +178 -0
- package/dist/src/commands/bundle/targets.d.ts +14 -0
- package/dist/src/commands/bundle/targets.js +37 -0
- package/dist/src/commands/host-prebuilds/index.d.ts +8 -7
- package/dist/src/commands/host-prebuilds/index.js +13 -11
- package/dist/src/commands/index.d.ts +13 -12
- package/dist/src/commands/index.js +7 -7
- package/dist/src/commands/verify/abi.d.ts +21 -15
- package/dist/src/commands/verify/abi.js +12 -80
- package/dist/src/commands/verify/bare-kit-runtime.d.ts +20 -22
- package/dist/src/commands/verify/bare-kit-runtime.js +102 -150
- package/dist/src/commands/verify/bare-kit-runtimes.d.ts +10 -9
- package/dist/src/commands/verify/bare-kit-runtimes.js +21 -21
- package/dist/src/commands/verify/bundle-source.d.ts +1 -1
- package/dist/src/commands/verify/bundle-source.js +27 -23
- package/dist/src/commands/verify/engines-advice.d.ts +6 -12
- package/dist/src/commands/verify/engines-advice.js +9 -56
- package/dist/src/commands/verify/index.d.ts +34 -33
- package/dist/src/commands/verify/index.js +96 -204
- package/dist/src/commands/verify/node-modules-source.d.ts +1 -1
- package/dist/src/commands/verify/node-modules-source.js +1 -1
- package/dist/src/commands/verify/prebuilds.d.ts +4 -6
- package/dist/src/commands/verify/prebuilds.js +3 -4
- package/dist/src/commands/verify/resource-collectors.d.ts +0 -6
- package/dist/src/commands/verify/resource-collectors.js +3 -52
- package/dist/src/commands/verify/sidecar-runtime.d.ts +6 -0
- package/dist/src/commands/verify/sidecar-runtime.js +51 -0
- package/dist/src/expo/plugins/get-project-root.d.ts +1 -1
- package/dist/src/expo/plugins/withAndroidArchitecture.d.ts +1 -1
- package/dist/src/expo/plugins/withAndroidNdkVersion.d.ts +1 -1
- package/dist/src/expo/plugins/withAndroidNdkVersion.js +16 -10
- package/dist/src/expo/plugins/withBareKit.d.ts +59 -0
- package/dist/src/expo/plugins/withBareKit.js +204 -0
- package/dist/src/expo/plugins/withDeviceInfo.d.ts +1 -1
- package/dist/src/expo/plugins/withDeviceInfo.js +19 -5
- package/dist/src/expo/plugins/withMobileBundle.d.ts +5 -12
- package/dist/src/expo/plugins/withMobileBundle.js +38 -59
- package/dist/src/expo/plugins/withOpenCL.d.ts +1 -1
- package/dist/src/expo/plugins/withQvacSDK.d.ts +2 -1
- package/dist/src/expo/plugins/withQvacSDK.js +3 -0
- package/dist/src/index.d.ts +6 -5
- package/dist/src/index.js +10 -14
- package/dist/src/logging/addon.d.ts +1 -1
- package/dist/src/logging/base-logger.js +1 -1
- package/dist/src/logging/utils.js +11 -3
- package/dist/src/plugin-ids.d.ts +3 -1
- package/dist/src/plugin-ids.js +4 -0
- package/dist/src/schemas/public.d.ts +1 -1
- package/dist/src/schemas/public.js +1 -1
- package/dist/src/schemas/sdk-errors-client.d.ts +5 -6
- package/dist/src/schemas/sdk-errors-client.js +30 -36
- package/dist/src/schemas/sdk-errors-server.d.ts +12 -1
- package/dist/src/schemas/sdk-errors-server.js +65 -2
- package/dist/src/server/rpc/rpc-utils.d.ts +26 -0
- package/dist/src/server/rpc/rpc-utils.js +41 -0
- package/dist/src/utils/aggregate-events.d.ts +1 -1
- package/dist/src/utils/aggregate-events.js +2 -2
- package/dist/src/utils/errors-client.d.ts +37 -29
- package/dist/src/utils/errors-client.js +50 -41
- package/dist/src/utils/errors-server.d.ts +65 -1
- package/dist/src/utils/errors-server.js +122 -1
- package/dist/src/utils/mcp-adapter.d.ts +1 -1
- package/dist/src/utils/mcp-adapter.js +1 -1
- package/dist/src/utils/tool-helpers.js +1 -1
- package/dist/src/utils/withTimeout.js +34 -17
- package/dist/src/worker/handle-request.js +26 -21
- package/dist/src/worker/handler-utils.d.ts +2 -6
- package/dist/src/worker/handler-utils.js +2 -20
- package/dist/src/worker/index.d.ts +2 -4
- package/dist/src/worker/index.js +24 -34
- package/dist/src/worker/plugins/ggml-image-embedding.d.ts +2 -0
- package/dist/src/worker/plugins/ggml-image-embedding.js +1 -0
- package/dist/src/worker/plugins/llamacpp-rerank.d.ts +2 -0
- package/dist/src/worker/plugins/llamacpp-rerank.js +1 -0
- package/dist/src/worker/shim.d.ts +4 -0
- package/dist/src/worker/shim.js +7 -0
- package/dist/src/worker/start.d.ts +9 -0
- package/dist/src/worker/start.js +16 -0
- package/dist/src/worker/unbundled-shim.d.ts +2 -0
- package/dist/src/worker/unbundled-shim.js +4 -0
- package/docs/system-resources-support-matrix.md +27 -19
- package/package.json +91 -74
- package/src/electron-forge/index.cjs +65 -91
- package/dist/examples/model-fit-ui/server.d.ts +0 -24
- package/dist/examples/model-fit-ui/server.js +0 -221
- package/dist/src/client/rpc/ensure-worker-ready.d.ts +0 -9
- package/dist/src/client/rpc/ensure-worker-ready.js +0 -17
- package/dist/src/client/rpc/init-timeout.d.ts +0 -26
- package/dist/src/client/rpc/init-timeout.js +0 -25
- package/dist/src/client/rpc/worker-startup-error.d.ts +0 -12
- package/dist/src/client/rpc/worker-startup-error.js +0 -13
- package/dist/src/commands/bundle/bare-pack.d.ts +0 -21
- package/dist/src/commands/bundle/bare-pack.js +0 -77
- package/dist/src/commands/bundle/manifest.d.ts +0 -25
- package/dist/src/commands/bundle/manifest.js +0 -192
- package/dist/src/expo/plugins/link-addons.d.ts +0 -18
- package/dist/src/expo/plugins/link-addons.js +0 -65
- package/dist/src/pear/pre.d.ts +0 -21
- package/dist/src/pear/pre.js +0 -448
- package/dist/src/server/env.d.ts +0 -22
- package/dist/src/server/env.js +0 -59
- package/dist/src/server/utils/qvac-paths.d.ts +0 -2
- package/dist/src/server/utils/qvac-paths.js +0 -5
- package/dist/src/server/utils/worker-lock.d.ts +0 -3
- package/dist/src/server/utils/worker-lock.js +0 -67
- package/dist/src/worker/create-server.d.ts +0 -8
- package/dist/src/worker/create-server.js +0 -51
- package/dist/src/worker/lifecycle.d.ts +0 -23
- package/dist/src/worker/lifecycle.js +0 -149
|
@@ -59,25 +59,27 @@ native value does not establish one, rather than inventing a scope.
|
|
|
59
59
|
|
|
60
60
|
## Metric behavior
|
|
61
61
|
|
|
62
|
-
| Public metric
|
|
63
|
-
|
|
|
64
|
-
| `capabilities.cpu.value.logicalCores`
|
|
65
|
-
| `sample.cpu`
|
|
66
|
-
| `capabilities.memory.totalBytes`
|
|
67
|
-
| `sample.memory.usedBytes`
|
|
68
|
-
| `sample.memory.totalBytes`
|
|
69
|
-
| `sample.memory.processUsedBytes`
|
|
70
|
-
| `sample.memory.processAvailableBytes`
|
|
71
|
-
| `capabilities.gpus`
|
|
72
|
-
| `capabilities.gpus.value[].memoryTotalBytes`
|
|
73
|
-
| `
|
|
74
|
-
| `sample.gpus
|
|
75
|
-
| `sample.gpus.value[].
|
|
76
|
-
| `sample.gpus.value[].
|
|
77
|
-
| `sample.gpus.value[].
|
|
78
|
-
| `sample.gpus.value[].
|
|
79
|
-
| `sample.gpus.value[].
|
|
80
|
-
| `sample.gpus.value[].
|
|
62
|
+
| Public metric | Accepted value | Source and scope when `supported` | Current runtime evidence |
|
|
63
|
+
| ----------------------------------------------------- | ------------------------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------- |
|
|
64
|
+
| `capabilities.cpu.value.logicalCores` | Positive integer | `bare-cpu-info`; scope omitted | `supported` on `darwin-arm64` |
|
|
65
|
+
| `sample.cpu` | Number from 0 through 1 | `bare-cpu-info`; `system` | `supported` on `darwin-arm64` |
|
|
66
|
+
| `capabilities.memory.totalBytes` | Positive integer | `bare-cpu-info`; `system` | `supported` on `darwin-arm64` |
|
|
67
|
+
| `sample.memory.usedBytes` | Non-negative integer | `bare-cpu-info`; `system` | `supported` on `darwin-arm64` |
|
|
68
|
+
| `sample.memory.totalBytes` | Positive integer | `bare-cpu-info`; `system` | `supported` on `darwin-arm64` |
|
|
69
|
+
| `sample.memory.processUsedBytes` | Non-negative integer | `bare-os`; `process` | `supported` where `bare-os` reports RSS |
|
|
70
|
+
| `sample.memory.processAvailableBytes` | Non-negative integer | `bare-os`; `process` | `supported` on `ios-arm64`; `unavailable` elsewhere |
|
|
71
|
+
| `capabilities.gpus` | Array, including an empty array | `bare-gpu-info`; scope omitted | `supported` with one GPU on `darwin-arm64` |
|
|
72
|
+
| `capabilities.gpus.value[].memoryTotalBytes` | Non-negative number | `bare-gpu-info`; `device`, when not unified memory | `unverified` on `darwin-arm64` (unified) |
|
|
73
|
+
| `capabilities.gpus.value[].dedicatedMemoryTotalBytes` | Non-negative number | `bare-gpu-info`; `device` | `supported` (0) on `darwin-arm64` |
|
|
74
|
+
| `sample.gpus` | Array aligned with the cached GPU inventory | `bare-gpu-info`; scope omitted | `supported` with one GPU sample on `darwin-arm64` |
|
|
75
|
+
| `sample.gpus.value[].compute` | Number from 0 through 1 | `bare-gpu-info`; `device` | `supported` on `darwin-arm64` |
|
|
76
|
+
| `sample.gpus.value[].encode` | Number from 0 through 1 | `bare-gpu-info`; `device` | `unavailable` on `darwin-arm64` |
|
|
77
|
+
| `sample.gpus.value[].decode` | Number from 0 through 1 | `bare-gpu-info`; `device` | `unavailable` on `darwin-arm64` |
|
|
78
|
+
| `sample.gpus.value[].memoryUsedBytes` | Non-negative number | `bare-gpu-info`; `device`, when the sample agrees with the declared memory | `unverified` on `darwin-arm64` (unified) |
|
|
79
|
+
| `sample.gpus.value[].memoryTotalBytes` | Non-negative number | `bare-gpu-info`; `device`, when the sample agrees with the declared memory | `unverified` on `darwin-arm64` (unified) |
|
|
80
|
+
| `sample.gpus.value[].dedicatedMemoryUsedBytes` | Non-negative number | `bare-gpu-info`; `device` on a unified-memory GPU, otherwise as `memoryUsedBytes` | `supported` (0) on `darwin-arm64` |
|
|
81
|
+
| `sample.gpus.value[].powerWatts` | Non-negative number | `bare-gpu-info`; `device` | `unavailable` on `darwin-arm64` |
|
|
82
|
+
| `sample.gpus.value[].temperatureCelsius` | Non-negative number | `bare-gpu-info`; `device` | `unavailable` on `darwin-arm64` |
|
|
81
83
|
|
|
82
84
|
For GPU memory, a missing native value becomes `unavailable`. The native API
|
|
83
85
|
does not identify the scope of a present value, so the SDK establishes it
|
|
@@ -101,6 +103,12 @@ itself, per device, and reports `unverified` wherever it cannot:
|
|
|
101
103
|
Declared memory (`capabilities`) is therefore `supported` on any non-unified
|
|
102
104
|
GPU, while the per-sample readings additionally require that agreement.
|
|
103
105
|
|
|
106
|
+
Dedicated memory is the exception to the unified-memory rule. An integrated
|
|
107
|
+
GPU's carve-out is reserved by the firmware and not counted as system RAM, so
|
|
108
|
+
`dedicatedMemoryTotalBytes` and its usage are `device`-scoped. Apple reports 0.
|
|
109
|
+
On a discrete GPU the fields repeat the declared memory and `memoryUsedBytes`,
|
|
110
|
+
under the same scope.
|
|
111
|
+
|
|
104
112
|
## Platform limitations
|
|
105
113
|
|
|
106
114
|
- On Windows, the upstream CPU collector documents that per-core sampling covers
|
package/package.json
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@qvac/sdk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"qvacIpcAuthentication": "token-v1",
|
|
3
|
+
"version": "0.24.0",
|
|
5
4
|
"license": "Apache-2.0",
|
|
6
5
|
"repository": {
|
|
7
6
|
"type": "git",
|
|
@@ -136,9 +135,13 @@
|
|
|
136
135
|
"import": "./src/electron-forge/index.cjs",
|
|
137
136
|
"default": "./src/electron-forge/index.cjs"
|
|
138
137
|
},
|
|
139
|
-
"./worker.mobile
|
|
140
|
-
|
|
141
|
-
"
|
|
138
|
+
"./worker.mobile": {
|
|
139
|
+
"types": "./dist/worker-mobile/index.d.ts",
|
|
140
|
+
"default": "./dist/worker-mobile/index.js"
|
|
141
|
+
},
|
|
142
|
+
"./worker": {
|
|
143
|
+
"types": "./dist/src/worker/start.d.ts",
|
|
144
|
+
"import": "./dist/src/worker/start.js"
|
|
142
145
|
},
|
|
143
146
|
"./plugins": {
|
|
144
147
|
"import": "./dist/src/server/plugins/index.js"
|
|
@@ -155,7 +158,10 @@
|
|
|
155
158
|
"import": "./dist/src/models/registry/index.js",
|
|
156
159
|
"require": "./dist/src/models/registry/index.js"
|
|
157
160
|
},
|
|
158
|
-
"./pear
|
|
161
|
+
"./pear": {
|
|
162
|
+
"types": "./dist/src/client/rpc/pear-runtime.d.ts",
|
|
163
|
+
"import": "./dist/src/client/rpc/pear-runtime.js"
|
|
164
|
+
},
|
|
159
165
|
"./rpc-server-provider": {
|
|
160
166
|
"types": "./dist/src/worker/rpc-server-provider.d.ts",
|
|
161
167
|
"import": "./dist/src/worker/rpc-server-provider.js"
|
|
@@ -171,6 +177,14 @@
|
|
|
171
177
|
"./llamacpp-decision/plugin": {
|
|
172
178
|
"types": "./dist/src/worker/plugins/llamacpp-decision.d.ts",
|
|
173
179
|
"import": "./dist/src/worker/plugins/llamacpp-decision.js"
|
|
180
|
+
},
|
|
181
|
+
"./llamacpp-rerank/plugin": {
|
|
182
|
+
"types": "./dist/src/worker/plugins/llamacpp-rerank.d.ts",
|
|
183
|
+
"import": "./dist/src/worker/plugins/llamacpp-rerank.js"
|
|
184
|
+
},
|
|
185
|
+
"./ggml-image-embedding/plugin": {
|
|
186
|
+
"types": "./dist/src/worker/plugins/ggml-image-embedding.d.ts",
|
|
187
|
+
"import": "./dist/src/worker/plugins/ggml-image-embedding.js"
|
|
174
188
|
}
|
|
175
189
|
},
|
|
176
190
|
"imports": {
|
|
@@ -198,66 +212,44 @@
|
|
|
198
212
|
"NOTICE",
|
|
199
213
|
"docs/system-resources-support-matrix.md"
|
|
200
214
|
],
|
|
201
|
-
"scripts": {
|
|
202
|
-
"test:unit": "tsx scripts/run-unit-tests.ts",
|
|
203
|
-
"format": "prettier --check .",
|
|
204
|
-
"format:fix": "prettier --write .",
|
|
205
|
-
"lint": "lunte && npm run enforce-inference-versions",
|
|
206
|
-
"lint:fix": "lunte --fix",
|
|
207
|
-
"enforce-inference-versions": "tsx scripts/enforce-inference-versions.ts",
|
|
208
|
-
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p test/tsconfig.types.json",
|
|
209
|
-
"postcompile:aliases": "tsc-alias -p tsconfig.alias.json",
|
|
210
|
-
"build": "rm -rf dist && npm run lint && tsc --project tsconfig.json && npm run postcompile:aliases",
|
|
211
|
-
"build:pack": "npm run build && npm pack --ignore-scripts --pack-destination dist/",
|
|
212
|
-
"sdk-source:workspace": "node ./scripts/link-workspace-inference.mjs",
|
|
213
|
-
"watch": "nodemon --watch src --ext ts --exec 'npm run build'",
|
|
214
|
-
"bare:ensureprebuilds:llamacpp": "cp -r node_modules/@qvac/llm-llamacpp/prebuilds/android-arm64 node_modules/@qvac/llm-llamacpp/prebuilds/android-ia32 && cp -r node_modules/@qvac/llm-llamacpp/prebuilds/android-arm64 node_modules/@qvac/llm-llamacpp/prebuilds/android-arm && cp -r node_modules/@qvac/llm-llamacpp/prebuilds/android-arm64 node_modules/@qvac/llm-llamacpp/prebuilds/android-x64",
|
|
215
|
-
"bare:ensureprebuilds:asr": "cp -r node_modules/@qvac/asr-ggml/prebuilds/android-arm64 node_modules/@qvac/asr-ggml/prebuilds/android-ia32 && cp -r node_modules/@qvac/asr-ggml/prebuilds/android-arm64 node_modules/@qvac/asr-ggml/prebuilds/android-arm && cp -r node_modules/@qvac/asr-ggml/prebuilds/android-arm64 node_modules/@qvac/asr-ggml/prebuilds/android-x64",
|
|
216
|
-
"bare:ensureprebuilds:embeddings": "cp -r node_modules/@qvac/embed-llamacpp/prebuilds/android-arm64 node_modules/@qvac/embed-llamacpp/prebuilds/android-ia32 && cp -r node_modules/@qvac/embed-llamacpp/prebuilds/android-arm64 node_modules/@qvac/embed-llamacpp/prebuilds/android-arm && cp -r node_modules/@qvac/embed-llamacpp/prebuilds/android-arm64 node_modules/@qvac/embed-llamacpp/prebuilds/android-x64",
|
|
217
|
-
"bare:ensureprebuilds": "npm run bare:ensureprebuilds:llamacpp && npm run bare:ensureprebuilds:asr && npm run bare:ensureprebuilds:embeddings",
|
|
218
|
-
"prepare:husky": "husky",
|
|
219
|
-
"contract:export": "tsx ./scripts/export-contract.ts",
|
|
220
|
-
"contract:check": "tsx ./scripts/export-contract.ts --check",
|
|
221
|
-
"check:resource-collectors": "tsx ./scripts/check-resource-collectors-packaging.ts",
|
|
222
|
-
"bare-kit-runtimes:generate": "tsx ./scripts/generate-bare-kit-runtimes.ts",
|
|
223
|
-
"changelog:generate": "node ../../scripts/sdk/generate-changelog-sdk-pod.cjs --package=sdk && prettier --write changelog"
|
|
224
|
-
},
|
|
225
215
|
"dependencies": {
|
|
226
|
-
"@qvac/asr-ggml": "^0.
|
|
227
|
-
"@qvac/audiogen-ggml": "^0.
|
|
228
|
-
"@qvac/bci-whispercpp": "^0.
|
|
229
|
-
"@qvac/classification-ggml": "^0.
|
|
230
|
-
"@qvac/decoder-audio": "^0.
|
|
231
|
-
"@qvac/diffusion-cpp": "^0.
|
|
232
|
-
"@qvac/embed-llamacpp": "^0.
|
|
216
|
+
"@qvac/asr-ggml": "^0.12.0",
|
|
217
|
+
"@qvac/audiogen-ggml": "^0.10.1",
|
|
218
|
+
"@qvac/bci-whispercpp": "^0.15.0",
|
|
219
|
+
"@qvac/classification-ggml": "^0.36.0",
|
|
220
|
+
"@qvac/decoder-audio": "^0.9.0",
|
|
221
|
+
"@qvac/diffusion-cpp": "^0.35.0",
|
|
222
|
+
"@qvac/embed-llamacpp": "^0.56.0",
|
|
233
223
|
"@qvac/error": "^0.1.1",
|
|
234
|
-
"@qvac/ggml-rpc-server": "^0.
|
|
235
|
-
"@qvac/inference": "^0.
|
|
224
|
+
"@qvac/ggml-rpc-server": "^0.9.0",
|
|
225
|
+
"@qvac/inference": "^0.24.0",
|
|
236
226
|
"@qvac/langdetect-text": "^0.1.2",
|
|
237
|
-
"@qvac/llm-llamacpp": "^0.
|
|
227
|
+
"@qvac/llm-llamacpp": "^0.70.0",
|
|
238
228
|
"@qvac/logging": "^0.1.0",
|
|
239
|
-
"@qvac/ocr-ggml": "^0.
|
|
240
|
-
"@qvac/translation-nmtcpp": "^0.
|
|
241
|
-
"@qvac/tts-ggml": "^0.
|
|
242
|
-
"@qvac/
|
|
229
|
+
"@qvac/ocr-ggml": "^0.33.0",
|
|
230
|
+
"@qvac/translation-nmtcpp": "^0.25.0",
|
|
231
|
+
"@qvac/tts-ggml": "^0.15.0",
|
|
232
|
+
"@qvac/turbovec-ggml": "^0.5.0",
|
|
233
|
+
"@qvac/vla-ggml": "^0.36.0",
|
|
243
234
|
"bare-abort-controller": "^1.0.0",
|
|
244
|
-
"bare-
|
|
235
|
+
"bare-bundle": "^1.11.0",
|
|
236
|
+
"bare-cpu-info": "^0.1.1",
|
|
245
237
|
"bare-crypto": "^1.15.0",
|
|
246
|
-
"bare-env": "^3.0.0",
|
|
247
238
|
"bare-events": "2.9.1",
|
|
248
|
-
"bare-fs": "^4.
|
|
249
|
-
"bare-gpu-info": "0.1.
|
|
250
|
-
"bare-link": "^4.0.1",
|
|
251
|
-
"bare-net": "^2.3.2",
|
|
239
|
+
"bare-fs": "^4.8.4",
|
|
240
|
+
"bare-gpu-info": "^0.1.3",
|
|
252
241
|
"bare-os": "^3.6.2",
|
|
253
|
-
"bare-pack": "^2.0.1",
|
|
254
242
|
"bare-path": "^3.0.1",
|
|
255
|
-
"bare-rpc": "^
|
|
256
|
-
"bare-
|
|
257
|
-
"bare-
|
|
243
|
+
"bare-rpc": "^2.0.0",
|
|
244
|
+
"bare-sidecar": "^0.5.15",
|
|
245
|
+
"bare-stow": "0.3.6",
|
|
246
|
+
"bare-stow-host": "^0.2.0",
|
|
247
|
+
"bare-stow-runtime": "^0.1.1",
|
|
248
|
+
"bare-stow-target-react-native": "^0.3.0",
|
|
258
249
|
"bare-stream": "2.13.3",
|
|
250
|
+
"bare-type": "1.4.0",
|
|
251
|
+
"bare-url": "^2.4.3",
|
|
259
252
|
"bare-zlib": "^1.3.1",
|
|
260
|
-
"compact-encoding": "^3.0.0",
|
|
261
253
|
"corestore": "^7.4.5",
|
|
262
254
|
"fast-safe-stringify": "2.1.1",
|
|
263
255
|
"hyperdrive": "^13.0.1",
|
|
@@ -269,8 +261,8 @@
|
|
|
269
261
|
"bare-buffer": "^3.4.2"
|
|
270
262
|
},
|
|
271
263
|
"devDependencies": {
|
|
272
|
-
"@electron-forge/plugin-base": "^
|
|
273
|
-
"@expo/config-plugins": "
|
|
264
|
+
"@electron-forge/plugin-base": "^8.0.1",
|
|
265
|
+
"@expo/config-plugins": "~58.0.12",
|
|
274
266
|
"bare-module": "^7.2.1",
|
|
275
267
|
"@lancedb/lancedb": "^0.21.3",
|
|
276
268
|
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
@@ -283,40 +275,43 @@
|
|
|
283
275
|
"ajv": "8.20.0",
|
|
284
276
|
"bare-readline": "^1.2.0",
|
|
285
277
|
"bare-stdio": "^1.0.2",
|
|
278
|
+
"bare-stow-target-pear-runtime": "^0.3.0",
|
|
286
279
|
"bare-subprocess": "^6.1.0",
|
|
287
|
-
"bare-url": "^2.4.3",
|
|
288
280
|
"brittle": "^4.0.0",
|
|
289
281
|
"chromadb": "^3.0.14",
|
|
290
282
|
"events": "^3.3.0",
|
|
291
|
-
"expo": "^
|
|
292
|
-
"expo-device": "
|
|
293
|
-
"expo-file-system": "
|
|
283
|
+
"expo": "^58.0.23",
|
|
284
|
+
"expo-device": "~58.0.5",
|
|
285
|
+
"expo-file-system": "~58.0.13",
|
|
286
|
+
"expo-modules-core": "~58.0.30",
|
|
294
287
|
"husky": "^9.1.7",
|
|
295
288
|
"lunte": "^1.8.4",
|
|
296
289
|
"mongodb": "^7.5.0",
|
|
297
|
-
"pear-pipe": "^1.0.6",
|
|
298
290
|
"prettier": "^3.9.4",
|
|
299
291
|
"prettier-config-holepunch": "^2.0.0",
|
|
300
|
-
"react-native-bare-kit": "^0.
|
|
292
|
+
"react-native-bare-kit": "^0.17.1",
|
|
301
293
|
"tsc-alias": "^1.8.17",
|
|
302
294
|
"tsx": "4.23.1",
|
|
303
295
|
"typescript": "^5.9.3",
|
|
304
296
|
"@qvac/infer-base": "0.4.2"
|
|
305
297
|
},
|
|
306
298
|
"peerDependencies": {
|
|
307
|
-
"@electron-forge/plugin-base": "^7.11.1",
|
|
308
|
-
"
|
|
309
|
-
"expo-
|
|
310
|
-
"expo-
|
|
311
|
-
"expo-
|
|
312
|
-
"
|
|
313
|
-
"react-native-bare-kit": "
|
|
299
|
+
"@electron-forge/plugin-base": "^7.11.1 || ^8.0.0",
|
|
300
|
+
"bare-stow-target-pear-runtime": "^0.3.0",
|
|
301
|
+
"expo-build-properties": ">=58.0.0",
|
|
302
|
+
"expo-device": ">=58.0.0",
|
|
303
|
+
"expo-file-system": ">=58.0.0",
|
|
304
|
+
"expo-modules-core": ">=58.0.0",
|
|
305
|
+
"react-native-bare-kit": "^0.17.1",
|
|
314
306
|
"tsx": "*"
|
|
315
307
|
},
|
|
316
308
|
"peerDependenciesMeta": {
|
|
317
309
|
"@electron-forge/plugin-base": {
|
|
318
310
|
"optional": true
|
|
319
311
|
},
|
|
312
|
+
"bare-stow-target-pear-runtime": {
|
|
313
|
+
"optional": true
|
|
314
|
+
},
|
|
320
315
|
"expo-build-properties": {
|
|
321
316
|
"optional": true
|
|
322
317
|
},
|
|
@@ -329,9 +324,6 @@
|
|
|
329
324
|
"expo-modules-core": {
|
|
330
325
|
"optional": true
|
|
331
326
|
},
|
|
332
|
-
"pear-pipe": {
|
|
333
|
-
"optional": true
|
|
334
|
-
},
|
|
335
327
|
"react-native-bare-kit": {
|
|
336
328
|
"optional": true
|
|
337
329
|
},
|
|
@@ -343,5 +335,30 @@
|
|
|
343
335
|
"tar": "^7.5.22",
|
|
344
336
|
"shell-quote": "^1.10.0",
|
|
345
337
|
"@electron/rebuild": "^4.2.0"
|
|
338
|
+
},
|
|
339
|
+
"gitHead": "1f559be4e208ee7e58e775bde4dd078263ca740c",
|
|
340
|
+
"scripts": {
|
|
341
|
+
"test:unit": "tsx scripts/run-unit-tests.ts",
|
|
342
|
+
"format": "prettier --check .",
|
|
343
|
+
"format:fix": "prettier --write .",
|
|
344
|
+
"lint": "lunte && npm run enforce-inference-versions",
|
|
345
|
+
"lint:fix": "lunte --fix",
|
|
346
|
+
"enforce-inference-versions": "tsx scripts/enforce-inference-versions.ts",
|
|
347
|
+
"typecheck": "tsc --noEmit -p tsconfig.json && tsc --noEmit -p test/tsconfig.types.json",
|
|
348
|
+
"postcompile:aliases": "tsc-alias -p tsconfig.alias.json",
|
|
349
|
+
"build": "rm -rf dist && npm run lint && tsc --project tsconfig.json && npm run postcompile:aliases",
|
|
350
|
+
"build:pack": "npm run build && npm pack --ignore-scripts --pack-destination dist/",
|
|
351
|
+
"sdk-source:workspace": "node ./scripts/link-workspace-inference.mjs",
|
|
352
|
+
"watch": "nodemon --watch src --ext ts --exec 'npm run build'",
|
|
353
|
+
"bare:ensureprebuilds:llamacpp": "cp -r node_modules/@qvac/llm-llamacpp/prebuilds/android-arm64 node_modules/@qvac/llm-llamacpp/prebuilds/android-ia32 && cp -r node_modules/@qvac/llm-llamacpp/prebuilds/android-arm64 node_modules/@qvac/llm-llamacpp/prebuilds/android-arm && cp -r node_modules/@qvac/llm-llamacpp/prebuilds/android-arm64 node_modules/@qvac/llm-llamacpp/prebuilds/android-x64",
|
|
354
|
+
"bare:ensureprebuilds:asr": "cp -r node_modules/@qvac/asr-ggml/prebuilds/android-arm64 node_modules/@qvac/asr-ggml/prebuilds/android-ia32 && cp -r node_modules/@qvac/asr-ggml/prebuilds/android-arm64 node_modules/@qvac/asr-ggml/prebuilds/android-arm && cp -r node_modules/@qvac/asr-ggml/prebuilds/android-arm64 node_modules/@qvac/asr-ggml/prebuilds/android-x64",
|
|
355
|
+
"bare:ensureprebuilds:embeddings": "cp -r node_modules/@qvac/embed-llamacpp/prebuilds/android-arm64 node_modules/@qvac/embed-llamacpp/prebuilds/android-ia32 && cp -r node_modules/@qvac/embed-llamacpp/prebuilds/android-arm64 node_modules/@qvac/embed-llamacpp/prebuilds/android-arm && cp -r node_modules/@qvac/embed-llamacpp/prebuilds/android-arm64 node_modules/@qvac/embed-llamacpp/prebuilds/android-x64",
|
|
356
|
+
"bare:ensureprebuilds": "npm run bare:ensureprebuilds:llamacpp && npm run bare:ensureprebuilds:asr && npm run bare:ensureprebuilds:embeddings",
|
|
357
|
+
"prepare:husky": "husky",
|
|
358
|
+
"contract:export": "tsx ./scripts/export-contract.ts",
|
|
359
|
+
"contract:check": "tsx ./scripts/export-contract.ts --check",
|
|
360
|
+
"check:resource-collectors": "tsx ./scripts/check-resource-collectors-packaging.ts",
|
|
361
|
+
"bare-kit-runtimes:generate": "tsx ./scripts/generate-bare-kit-runtimes.ts",
|
|
362
|
+
"changelog:generate": "node ../../scripts/sdk/generate-changelog-sdk-pod.cjs --package=sdk && prettier --write changelog"
|
|
346
363
|
}
|
|
347
|
-
}
|
|
364
|
+
}
|