@belto_inc/runtime-adapters
v0.1.0
Published
Runtime adapter interfaces and cloud/local adapter helpers for Belto SlyOS.
Readme
@belto_inc/runtime-adapters
Runtime adapter interfaces for Belto/SlyOS.
All adapters are real implementations:
CloudRuntimeAdapter: calls Belto API cloud endpoints backed by Amazon Bedrock.AutoLocalRuntimeAdapter: default local adapter selector (React Native, browser, or Node).OllamaRuntimeAdapter: real local inference through a local Ollama server.WebLLMAdapter: real browser-local inference through WebLLM and WebGPU.ReactNativeAdapter: real on-device inference on iOS and Android through thellama.rnnative module (llama.cpp).UnavailableLocalRuntimeAdapter: explicit fallback when no local runtime is available.
The React Native app must install the llama.rn peer package and provide an
on-device GGUF model path through reactNative.modelPath or reactNative.models.
Flutter apps are Dart and use the Belto cloud API directly rather than this
TypeScript SDK.
