{"_id":"@acyclic-labs/inference","_rev":"5-c9b704094d9991d03cc85e7139a1cd13","name":"@acyclic-labs/inference","dist-tags":{"latest":"0.1.5","rc":"1.0.0-rc.3"},"versions":{"0.0.0":{"name":"@acyclic-labs/inference","version":"0.0.0","license":"UNLICENSED","_id":"@acyclic-labs/inference@0.0.0","maintainers":[{"name":"ramstar3000","email":"ram@acyclic.dev"}],"dist":{"shasum":"5fa26bcd0a078cd4a9466417782939894269c08e","tarball":"https://registry.npmjs.org/@acyclic-labs/inference/-/inference-0.0.0.tgz","fileCount":3,"integrity":"sha512-YdA3zAc3VHG/Uc9hft1mqFPMvSCGqvNaZ9tGyp1NYIkFcPGzs31v5L/gPkllmcGdHtLYBOTZSV1X5rQHCrl/tQ==","signatures":[{"sig":"MEUCIQCCII94z+GgbrTW0UN7k4jiO2intlbNk1U73ipogft2PAIgIETwr9DZyGIq97jo4JzHgExS/ZYLluiuneJEixlZ0Oo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":676},"main":"index.js","_npmUser":{"name":"ramstar3000","email":"ram@acyclic.dev"},"_npmVersion":"11.16.0","description":"Bounded hardware substrate for inference, eval, and checkpointed training. Placeholder — name reserved by Acyclic Labs.","directories":{},"_nodeVersion":"26.3.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/inference_0.0.0_1787938529525_0.7472031709818563","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-rc.3":{"name":"@acyclic-labs/inference","version":"1.0.0-rc.3","license":"Apache-2.0","_id":"@acyclic-labs/inference@1.0.0-rc.3","maintainers":[{"name":"ramstar3000","email":"ram@acyclic.dev"}],"dist":{"shasum":"725ebbea0d0c77437d0e76e6d207ec35c7abbb00","tarball":"https://registry.npmjs.org/@acyclic-labs/inference/-/inference-1.0.0-rc.3.tgz","fileCount":7,"integrity":"sha512-yaFLJYRpvBa6gUsTmFGYYQaNpy6sjql9hX5kYF2joeqyEMoN4tRBdpAlL+P8WyZioMueQ0QMJFxA/kw58F7b9Q==","signatures":[{"sig":"MEUCIQD1CH/0NUksxkniinAp4PQFGkY+8ulkywMgZ/MQEBlp9QIgVDJs1ZOUyoE5dEeyJjklmq50a+7AWctq/2atBkL/lEo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIEX0Mw2Nwa4OS4CuipWQNmfRgjU1e0A0xR6/UEhJ+8MEAiBOG0ZjQtq8VjUCnhZNanuLeXUFY9nIGD6sK2ceJQ05tA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":66421},"type":"module","_from":"file:/private/tmp/claude-501/-Users-avinjamuri-Projects-acyclic-repos/58c58f35-3a9c-4ff9-899c-d84402f4355d/scratchpad/tarballs/acyclic-labs-inference-1.0.0-rc.3.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proto":{"types":"./dist/proto.d.ts","default":"./dist/proto.js"}},"private":false,"scripts":{"test":"tsc -b --pretty false && bun test test","build":"tsc -b","pack:dry":"bun pm pack --dry-run"},"_npmUser":{"name":"ramstar3000","email":"ram@acyclic.dev"},"_resolved":"/private/tmp/claude-501/-Users-avinjamuri-Projects-acyclic-repos/58c58f35-3a9c-4ff9-899c-d84402f4355d/scratchpad/tarballs/acyclic-labs-inference-1.0.0-rc.3.tgz","_integrity":"sha512-yaFLJYRpvBa6gUsTmFGYYQaNpy6sjql9hX5kYF2joeqyEMoN4tRBdpAlL+P8WyZioMueQ0QMJFxA/kw58F7b9Q==","_npmVersion":"11.16.0","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@bufbuild/protobuf":"2.14.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.4.0","typescript":"7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/inference_1.0.0-rc.3_1789153059124_0.8091478205361038","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"_id":"@acyclic-labs/inference@0.1.5","bugs":{"url":"https://github.com/acyclic-labs/sdk/issues"},"dist":{"shasum":"55267afe5127e84a0ea68a1f30737241c1890034","tarball":"https://registry.npmjs.org/@acyclic-labs/inference/-/inference-0.1.5.tgz","fileCount":11,"integrity":"sha512-hSMYjOXe8YplwskYNSChU/pnNLS3darI3rG2t1Vza0DbKbcf1nGM+YPcNXq1MBJ/TkTPY+Nn7oS0xIrxnPn4ZQ==","signatures":[{"sig":"MEUCIQC+C9B3tmXpCcM+noHA7Q1oyuz32vfwHuqrUWER1wmYdAIgMl094XsGiUpdCJi3/S2UxgsSQY26Xp9ZgswbDVbhc9I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDN3LNflevgXavHiQWVD4WVBGbjY5vnJj+fsCwc7eNQaQIhAIJ3Avsre0CxeCyFlIExnSQwh1yaovwNva1NKojAoXZK"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@acyclic-labs%2finference@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":124521},"name":"@acyclic-labs/inference","type":"module","_from":"file:/home/runner/work/_temp/npm-publication/typescript/acyclic-labs-inference-0.1.5.tgz","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./proto":{"types":"./dist/proto.d.ts","default":"./dist/proto.js"}},"license":"Apache-2.0","private":false,"scripts":{"test":"tsc -b --pretty false && bun test test","build":"tsc -b","pack:dry":"bun pm pack --dry-run"},"version":"0.1.5","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:10713d8a-10d8-4151-8c53-3602ab0ce822"}},"homepage":"https://github.com/acyclic-labs/sdk#readme","keywords":["inference","contexts","runs"],"_resolved":"/home/runner/work/_temp/npm-publication/typescript/acyclic-labs-inference-0.1.5.tgz","_integrity":"sha512-hSMYjOXe8YplwskYNSChU/pnNLS3darI3rG2t1Vza0DbKbcf1nGM+YPcNXq1MBJ/TkTPY+Nn7oS0xIrxnPn4ZQ==","repository":{"url":"git+https://github.com/acyclic-labs/sdk.git","type":"git","directory":"typescript/packages/inference"},"_npmVersion":"11.12.1","description":"Immutable inference contexts, recoverable runs, and warm commitments","directories":{},"maintainers":[{"name":"ramstar3000","email":"ram@acyclic.dev"},{"name":"var1377","email":"var@acyclic.dev"}],"_nodeVersion":"24.15.0","dependencies":{"@bufbuild/protobuf":"2.14.1"},"_hasShrinkwrap":false,"devDependencies":{"@types/bun":"1.4.0","typescript":"7.0.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/inference_0.1.5_1790325846133_0.791336166758926"}}},"time":{"created":"2026-08-28T17:35:29.369Z","modified":"2026-09-25T08:44:06.562Z","0.0.0":"2026-08-28T17:35:29.659Z","1.0.0-rc.3":"2026-09-11T18:57:39.200Z","0.1.5":"2026-09-25T08:44:06.229Z"},"license":"Apache-2.0","maintainers":[{"name":"ramstar3000","email":"ram@acyclic.dev"},{"name":"var1377","email":"var@acyclic.dev"}],"readme":"# @acyclic-labs/inference\n\nImmutable inference contexts, recoverable generation runs, streamed events, and explicit warm commitments.\n\n```sh\nnpm install @acyclic-labs/inference\n```\n\n```ts\nimport { Inference } from \"@acyclic-labs/inference\";\n\n// Set ACYCLIC_INFERENCE_ENDPOINT (HTTPS) and ACYCLIC_API_KEY.\nconst inference = await Inference.fromEnv();\nconst { models } = await inference.models();\nconsole.log(models);\n```\n\n`Inference` is the identity-preserving high-level API. A `Context` points to an immutable revision: edits, forks, and transfers return new handles. `Context.generate(...)` returns a `Run`; save `run.id()` so you can call `inference.recoverRun(id)` after an interrupted request, inspect progress, stream `run.events()`, or obtain `run.result()`. Warm commitments have separate retain, renew, inspect, and release operations.\n\nFor custom authentication, use `new Inference(new InferenceClient(new HttpInferenceTransport(endpoint, () => ({ authorization: `Bearer ${token}` }))))`. The transport requires an absolute HTTPS URL and enforces bounded responses. Import generated protobuf types and schemas from `@acyclic-labs/inference/proto`.\n\n[API source](https://github.com/acyclic-labs/sdk/tree/main/typescript/packages/inference/src) · [Protocol](https://github.com/acyclic-labs/sdk/tree/main/proto/inference)\n","readmeFilename":"README.md","description":"Immutable inference contexts, recoverable runs, and warm commitments","homepage":"https://github.com/acyclic-labs/sdk#readme","keywords":["inference","contexts","runs"],"repository":{"url":"git+https://github.com/acyclic-labs/sdk.git","type":"git","directory":"typescript/packages/inference"},"bugs":{"url":"https://github.com/acyclic-labs/sdk/issues"}}