{"_id":"@acyclic-labs/machines","_rev":"3-221440638143fd524b91204a00af181a","name":"@acyclic-labs/machines","dist-tags":{"rc":"1.0.0-rc.1","latest":"0.1.5"},"versions":{"1.0.0-rc.1":{"name":"@acyclic-labs/machines","version":"1.0.0-rc.1","license":"Apache-2.0","_id":"@acyclic-labs/machines@1.0.0-rc.1","maintainers":[{"name":"ramstar3000","email":"ram@acyclic.dev"}],"dist":{"shasum":"7ebeba4160941285f8b7dc079bf8f1272092c2ef","tarball":"https://registry.npmjs.org/@acyclic-labs/machines/-/machines-1.0.0-rc.1.tgz","fileCount":3,"integrity":"sha512-yVPwIKdlH27RRrTeWsfAMNuPKcYTfwA0N8bvxai+F8O1FlI+YNyEnifBJ8MuZthoVEOpiERK+IQjmTHPyrcjZA==","signatures":[{"sig":"MEUCIE4aSMPYmGN5uc3/up2BGysm0ke3CT1mR7LRk3IClsf4AiEA0bwTUGKqDJt6VDttKWwGR/5ovR6ylxvzXprQYWWTFJI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18271},"type":"module","_from":"file:/private/tmp/claude-501/-Users-avinjamuri-Projects-acyclic-repos/58c58f35-3a9c-4ff9-899c-d84402f4355d/scratchpad/tarballs/acyclic-labs-machines-1.0.0-rc.1.tgz","types":"./dist/index.d.ts","exports":"./dist/index.js","private":false,"scripts":{"test":"tsc -b --pretty false","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-machines-1.0.0-rc.1.tgz","_integrity":"sha512-yVPwIKdlH27RRrTeWsfAMNuPKcYTfwA0N8bvxai+F8O1FlI+YNyEnifBJ8MuZthoVEOpiERK+IQjmTHPyrcjZA==","_npmVersion":"11.16.0","directories":{},"_nodeVersion":"24.18.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"7.0.2"},"_npmOperationalInternal":{"tmp":"tmp/machines_1.0.0-rc.1_1789152959892_0.7663286610974729","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"_id":"@acyclic-labs/machines@0.1.5","bugs":{"url":"https://github.com/acyclic-labs/sdk/issues"},"dist":{"shasum":"55279a38a9f97721f003135416b5889fd767c20f","tarball":"https://registry.npmjs.org/@acyclic-labs/machines/-/machines-0.1.5.tgz","fileCount":9,"integrity":"sha512-VSuqOIhlXvP3dUMf1elYydBf0DRHXQ0BpG9ph1UmqrTQ1G9kZgb3YGZ7AwkqrUJqASD5JzyL6RhieIlGqBTWLQ==","signatures":[{"sig":"MEUCIQCilx+8kRxBnpqwqO37Q4/gKrKNvDDYKjiHauRRvJx2uwIgEtc6O/x8uvXf+fdIof6sllGIEQDPs6Ro5JI/WQ08DPI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIB4xDUs36TBhdpCyWstyHY+Q1J4nUXwwGeC3joX36c6SAiBSntHSgtKtFUsRO6lHF7Q1zIfMAIhZdItw3coCQbSrIA=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@acyclic-labs%2fmachines@0.1.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":58541},"name":"@acyclic-labs/machines","type":"module","_from":"file:/home/runner/work/_temp/npm-publication/typescript/acyclic-labs-machines-0.1.5.tgz","types":"./dist/index.d.ts","exports":"./dist/index.js","license":"Apache-2.0","private":false,"scripts":{"test":"tsc -b --pretty false","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:e3a74373-4462-4d36-98e3-9002dca7c8bd"}},"homepage":"https://github.com/acyclic-labs/sdk#readme","keywords":["machines","compute","checkpoints"],"_resolved":"/home/runner/work/_temp/npm-publication/typescript/acyclic-labs-machines-0.1.5.tgz","_integrity":"sha512-VSuqOIhlXvP3dUMf1elYydBf0DRHXQ0BpG9ph1UmqrTQ1G9kZgb3YGZ7AwkqrUJqASD5JzyL6RhieIlGqBTWLQ==","repository":{"url":"git+https://github.com/acyclic-labs/sdk.git","type":"git","directory":"typescript/packages/machines"},"_npmVersion":"11.12.1","description":"Machine lifecycle contracts, authenticated provider, and simulator","directories":{},"maintainers":[{"name":"ramstar3000","email":"ram@acyclic.dev"},{"name":"var1377","email":"var@acyclic.dev"}],"_nodeVersion":"24.15.0","_hasShrinkwrap":false,"devDependencies":{"typescript":"7.0.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/machines_0.1.5_1790326076582_0.3771791885708349"}}},"time":{"created":"2026-09-11T18:55:59.720Z","modified":"2026-09-25T08:47:57.024Z","1.0.0-rc.1":"2026-09-11T18:56:00.075Z","0.1.5":"2026-09-25T08:47:56.661Z"},"license":"Apache-2.0","maintainers":[{"name":"ramstar3000","email":"ram@acyclic.dev"},{"name":"var1377","email":"var@acyclic.dev"}],"readme":"# @acyclic-labs/machines\n\nTyped machine lifecycle, image qualification, checkpoints, forks, operation recovery, events, and usage receipts. Providers declare their actual assurance level.\n\n```sh\nnpm install @acyclic-labs/machines\n```\n\n```ts\nimport { SimulatedMachines, managedOci } from \"@acyclic-labs/machines\";\n\nconst machines = new SimulatedMachines();\nconst image = managedOci(`registry.example/app@sha256:${\"a\".repeat(64)}`);\nconsole.log(await machines.qualifyImage(image));\nconsole.log(machines.assurance); // \"process-local-simulation\"\n```\n\n`forkMachine(machineId, count, key)` (or `Machine.fork(count, key)`) forks a running machine into 1..=1024 fresh children without an intermediate checkpoint. Its contract must declare `live-fork` (children inherit memory, processes, and disk: fidelity `\"memory-and-disk\"`) or `disk-fork` (children boot fresh over a disk copy: `\"disk-only\"`); check `forkFidelity(contract.capabilities)` first and fall back to `checkpoint` plus `fork` when it is `null`. Destroy children before their source.\n\nUse `HttpMachinesProvider` for an authenticated HTTPS service. Qualify an immutable image before creating a machine, retain idempotency keys for recovery, and inspect operations whose outcome is indeterminate. The simulator is for contract tests: it does **not** execute an OS, isolate workloads, provide durability, or offer service availability. A hosted provider must document its own guarantees.\n\n[API source](https://github.com/acyclic-labs/sdk/tree/main/typescript/packages/machines/src) · [Protocol](https://github.com/acyclic-labs/sdk/tree/main/proto/machines)\n","readmeFilename":"README.md","description":"Machine lifecycle contracts, authenticated provider, and simulator","homepage":"https://github.com/acyclic-labs/sdk#readme","keywords":["machines","compute","checkpoints"],"repository":{"url":"git+https://github.com/acyclic-labs/sdk.git","type":"git","directory":"typescript/packages/machines"},"bugs":{"url":"https://github.com/acyclic-labs/sdk/issues"}}