{"_id":"@belto_inc/router","name":"@belto_inc/router","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@belto_inc/router","version":"0.1.0","description":"SmartRoute policy engine 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"},"_id":"@belto_inc/router@0.1.0","gitHead":"f2bec7f18c7dfe416c86ec94477ec032d5ae2674","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-chi/DuezPs03wL4hjeQmXp63unqqdNxs/vq0NmQIAdSqEFhM5tmZzhtKMp2OIv09DSpgphqx7gMyOAzAg9kpdA==","shasum":"f51c5511717d61fb7f3ae293995b9eb69531f40e","tarball":"https://registry.npmjs.org/@belto_inc/router/-/router-0.1.0.tgz","fileCount":5,"unpackedSize":33253,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHaFsvKX9Vx5tfZpv52u1vL2C/RZWhDuXb3gjOl7FppAAiEAgrp0mZLzfwO67R2fTng347PO+urLMwmygBQJ3Rjh4JQ="}]},"_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/router_0.1.0_1779246941217_0.7121097165544192"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-20T03:15:41.133Z","0.1.0":"2026-05-20T03:15:41.363Z","modified":"2026-05-20T03:15:41.516Z"},"maintainers":[{"name":"belto_inc","email":"emil.shirokikh@belto.world"}],"description":"SmartRoute policy engine for Belto SlyOS.","license":"MIT","readme":"# @belto_inc/router\n\nSmartRoute policy engine for Belto/SlyOS.\n\nThis package contains deterministic routing heuristics. It does not call model runtimes directly. It only answers:\n\n- should this request stay local?\n- should cloud RAG be used?\n- should cloud LLM fallback be used?\n- why was that route chosen?\n- what cost, latency, and energy impact should the dashboard display?\n\nThe SDK sends each `RouteDecision` to telemetry so developers can audit routing behavior from the dashboard.\n","readmeFilename":"README.md","_rev":"1-23b085c7f6eec1991f18dc93b7573e0f"}