{"_id":"@belto_inc/runtime-adapters","name":"@belto_inc/runtime-adapters","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@belto_inc/runtime-adapters","version":"0.1.0","description":"Runtime adapter interfaces and cloud/local adapter helpers for Belto SlyOS.","type":"module","main":"dist/index.js","types":"dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit"},"license":"MIT","dependencies":{"@belto_inc/shared":"0.1.0"},"optionalDependencies":{"@mlc-ai/web-llm":"^0.2.83"},"_id":"@belto_inc/runtime-adapters@0.1.0","gitHead":"f2bec7f18c7dfe416c86ec94477ec032d5ae2674","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-Eypwf5TffceRnN6FBOuTom7dSsdEj2g2hIZ/mtOdyib8OSEYTi+kCY3GvZdiprqqf44Yi/U5tax8UshwWScw+g==","shasum":"8b4d6340dc6fb199ead69138d86c6dcdbdd376f0","tarball":"https://registry.npmjs.org/@belto_inc/runtime-adapters/-/runtime-adapters-0.1.0.tgz","fileCount":5,"unpackedSize":50033,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDBhMHl31fMH0sFhNS1gt2nwuobYkjCLCsbNuJ6bQybBQIgfjKTC2beAtZAqbN+pfQS2iMoeMD55C6wfTZ6+E+NbzI="}]},"_npmUser":{"name":"belto_inc","email":"emil.shirokikh@belto.world"},"directories":{},"maintainers":[{"name":"belto_inc","email":"emil.shirokikh@belto.world"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/runtime-adapters_0.1.0_1779246943041_0.5073199740617982"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-20T03:15:42.852Z","0.1.0":"2026-05-20T03:15:43.211Z","modified":"2026-05-20T03:15:43.458Z"},"maintainers":[{"name":"belto_inc","email":"emil.shirokikh@belto.world"}],"description":"Runtime adapter interfaces and cloud/local adapter helpers for Belto SlyOS.","license":"MIT","readme":"# @belto_inc/runtime-adapters\n\nRuntime adapter interfaces for Belto/SlyOS.\n\nAll adapters are real implementations:\n\n- `CloudRuntimeAdapter`: calls Belto API cloud endpoints backed by Amazon Bedrock.\n- `AutoLocalRuntimeAdapter`: default local adapter selector (React Native, browser, or Node).\n- `OllamaRuntimeAdapter`: real local inference through a local Ollama server.\n- `WebLLMAdapter`: real browser-local inference through WebLLM and WebGPU.\n- `ReactNativeAdapter`: real on-device inference on iOS and Android through the `llama.rn` native module (llama.cpp).\n- `UnavailableLocalRuntimeAdapter`: explicit fallback when no local runtime is available.\n\nThe React Native app must install the `llama.rn` peer package and provide an\non-device GGUF model path through `reactNative.modelPath` or `reactNative.models`.\nFlutter apps are Dart and use the Belto cloud API directly rather than this\nTypeScript SDK.\n","readmeFilename":"README.md","_rev":"1-c14d3d4eeef7e6d43a157b447f50dde0"}