{"_id":"@0disoft/mensor-reference-runtime","_rev":"4-571130398b2f2c7952e999f8ce999614","name":"@0disoft/mensor-reference-runtime","dist-tags":{"latest":"0.10.2"},"versions":{"0.9.0":{"name":"@0disoft/mensor-reference-runtime","version":"0.9.0","keywords":["mensor","runtime","html","contracts","developer-tools"],"license":"Apache-2.0","_id":"@0disoft/mensor-reference-runtime@0.9.0","maintainers":[{"name":"0disoft","email":"rodisoft1@gmail.com"}],"homepage":"https://github.com/0disoft/mensor#readme","bugs":{"url":"https://github.com/0disoft/mensor/issues"},"dist":{"shasum":"588d46c5934566f683a14ff26bf9739004cd9874","tarball":"https://registry.npmjs.org/@0disoft/mensor-reference-runtime/-/mensor-reference-runtime-0.9.0.tgz","fileCount":23,"integrity":"sha512-P2E4dOVlWQdt3BRcTehqeZn7c5hFFvSvA65e/5CHXM3zzk3iQ2YIQKFuqxEk0oilgHZWzGD1u1jHJlS6onvexQ==","signatures":[{"sig":"MEUCIQD323VlHCWBN2TtosPYTqiUd026Z+FVgGzmd4Lu3sUDwgIgSw1oi9W2Yw08fYmjXak+7jnWnPAmkbIT/R597Ai1bD4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":54927},"type":"module","_from":"file:dist/release/0disoft-mensor-reference-runtime-0.9.0.tgz","engines":{"node":">=22"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"_npmUser":{"name":"0disoft","email":"rodisoft1@gmail.com"},"_resolved":"C:\\Users\\cherr\\Documents\\workspace\\zerodi-wd1\\projects\\hobby\\opensource\\mensor\\dist\\release\\0disoft-mensor-reference-runtime-0.9.0.tgz","_integrity":"sha512-P2E4dOVlWQdt3BRcTehqeZn7c5hFFvSvA65e/5CHXM3zzk3iQ2YIQKFuqxEk0oilgHZWzGD1u1jHJlS6onvexQ==","repository":{"url":"git+https://github.com/0disoft/mensor.git","type":"git","directory":"packages/reference-runtime"},"_npmVersion":"12.0.2","description":"Bounded reference consumer for Mensor runtime manifests.","directories":{},"sideEffects":false,"_nodeVersion":"24.18.0","dependencies":{"@0disoft/mensor-contract":"0.9.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mensor-reference-runtime_0.9.0_1788259116462_0.20088725485214054","host":"s3://npm-registry-packages-npm-production"}},"0.10.0":{"name":"@0disoft/mensor-reference-runtime","version":"0.10.0","keywords":["mensor","runtime","html","contracts","developer-tools"],"license":"Apache-2.0","_id":"@0disoft/mensor-reference-runtime@0.10.0","maintainers":[{"name":"0disoft","email":"rodisoft1@gmail.com"}],"homepage":"https://github.com/0disoft/mensor#readme","bugs":{"url":"https://github.com/0disoft/mensor/issues"},"dist":{"shasum":"50df29323fe4d26593aeed53a807342673b30d81","tarball":"https://registry.npmjs.org/@0disoft/mensor-reference-runtime/-/mensor-reference-runtime-0.10.0.tgz","fileCount":23,"integrity":"sha512-diWWTrb+kcN7TrADwLH9b7jIznAeuiTyjdmOedI8r8TSL6iV5zm3injkiO0dHslxqbPRhrkIEqKOrwNXHQ4u0Q==","signatures":[{"sig":"MEUCIEGdih0wNQTaM+3BPY5dhAMmLxKbHiyoEfmIhPjJ1YZwAiEAjTIEuQYLUS0m5lKBE3p9j/jgeAZ59BMc/QGeTco0i5Y=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@0disoft%2fmensor-reference-runtime@0.10.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":55301},"type":"module","_from":"file:dist/release/0disoft-mensor-reference-runtime-0.10.0.tgz","engines":{"node":">=22"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6de26d4c-d7e0-455b-96d4-d9acb43e6fb1"}},"_resolved":"/home/runner/work/mensor/mensor/dist/release/0disoft-mensor-reference-runtime-0.10.0.tgz","_integrity":"sha512-diWWTrb+kcN7TrADwLH9b7jIznAeuiTyjdmOedI8r8TSL6iV5zm3injkiO0dHslxqbPRhrkIEqKOrwNXHQ4u0Q==","repository":{"url":"git+https://github.com/0disoft/mensor.git","type":"git","directory":"packages/reference-runtime"},"_npmVersion":"11.18.0","description":"Bounded reference consumer for Mensor runtime manifests.","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"@0disoft/mensor-contract":"0.10.0"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mensor-reference-runtime_0.10.0_1789033145460_0.04832355119517051","host":"s3://npm-registry-packages-npm-production"}},"0.10.1":{"name":"@0disoft/mensor-reference-runtime","version":"0.10.1","keywords":["mensor","runtime","html","contracts","developer-tools"],"license":"Apache-2.0","_id":"@0disoft/mensor-reference-runtime@0.10.1","maintainers":[{"name":"0disoft","email":"rodisoft1@gmail.com"}],"homepage":"https://github.com/0disoft/mensor#readme","bugs":{"url":"https://github.com/0disoft/mensor/issues"},"dist":{"shasum":"5bb9de53de771e83ccdafe7f8c18b950e161b6ab","tarball":"https://registry.npmjs.org/@0disoft/mensor-reference-runtime/-/mensor-reference-runtime-0.10.1.tgz","fileCount":23,"integrity":"sha512-34UN6L3qKoVwMrt7VNWBw2qzKuBDy9ZVIs5MTPJb3aB0WYeCbF+4nDYhi53TGt9d++VIqj9QNf0fXcx3lddk0w==","signatures":[{"sig":"MEYCIQDQSg1waTdeQCoa3fEZMbLG/6YpT8vkWsXLQUsJUbjYSQIhALRlDZ5td5i329KHaX+VdKs/HBJEDlipmelLkbt28YV4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@0disoft%2fmensor-reference-runtime@0.10.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":55301},"type":"module","_from":"file:dist/release/0disoft-mensor-reference-runtime-0.10.1.tgz","engines":{"node":">=22"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6de26d4c-d7e0-455b-96d4-d9acb43e6fb1"}},"_resolved":"/home/runner/work/mensor/mensor/dist/release/0disoft-mensor-reference-runtime-0.10.1.tgz","_integrity":"sha512-34UN6L3qKoVwMrt7VNWBw2qzKuBDy9ZVIs5MTPJb3aB0WYeCbF+4nDYhi53TGt9d++VIqj9QNf0fXcx3lddk0w==","repository":{"url":"git+https://github.com/0disoft/mensor.git","type":"git","directory":"packages/reference-runtime"},"_npmVersion":"11.18.0","description":"Bounded reference consumer for Mensor runtime manifests.","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","dependencies":{"@0disoft/mensor-contract":"0.10.1"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/mensor-reference-runtime_0.10.1_1789126314601_0.42619808548937654","host":"s3://npm-registry-packages-npm-production"}},"0.10.2":{"name":"@0disoft/mensor-reference-runtime","version":"0.10.2","description":"Bounded reference consumer for Mensor runtime manifests.","license":"Apache-2.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org","provenance":true},"repository":{"type":"git","url":"git+https://github.com/0disoft/mensor.git","directory":"packages/reference-runtime"},"homepage":"https://github.com/0disoft/mensor#readme","bugs":{"url":"https://github.com/0disoft/mensor/issues"},"keywords":["mensor","runtime","html","contracts","developer-tools"],"type":"module","sideEffects":false,"engines":{"node":">=22"},"exports":{".":{"types":"./dist/src/index.d.ts","import":"./dist/src/index.js"}},"dependencies":{"@0disoft/mensor-contract":"0.10.2"},"_id":"@0disoft/mensor-reference-runtime@0.10.2","_integrity":"sha512-hld4OM4L5HLlIhibRBFtHNLEbjKTKdjjiOGgXNq/ca3njy00ILealvb36UoSKhrgzZTFWLCW62rGd3LZ850r0Q==","_resolved":"/home/runner/work/mensor/mensor/dist/release/0disoft-mensor-reference-runtime-0.10.2.tgz","_from":"file:dist/release/0disoft-mensor-reference-runtime-0.10.2.tgz","_nodeVersion":"24.20.0","_npmVersion":"11.18.0","dist":{"integrity":"sha512-hld4OM4L5HLlIhibRBFtHNLEbjKTKdjjiOGgXNq/ca3njy00ILealvb36UoSKhrgzZTFWLCW62rGd3LZ850r0Q==","shasum":"8fadf1997c0ebf72dae31c68f85abb4b76a700d3","tarball":"https://registry.npmjs.org/@0disoft/mensor-reference-runtime/-/mensor-reference-runtime-0.10.2.tgz","fileCount":23,"unpackedSize":55301,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@0disoft%2fmensor-reference-runtime@0.10.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC5u/QsxrJLEOSUDI+r06Dlv4Ilj7l1CjSmbsLu9hiHWwIgdS3gJJtB1iy1KjWsXMoyMJAgMRnx+fW9W9cWCzfmiKA="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:6de26d4c-d7e0-455b-96d4-d9acb43e6fb1"}},"directories":{},"maintainers":[{"name":"0disoft","email":"rodisoft1@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mensor-reference-runtime_0.10.2_1789199503811_0.5633257158042364"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-01T10:38:36.230Z","modified":"2026-09-12T07:51:44.344Z","0.9.0":"2026-09-01T10:38:36.652Z","0.10.0":"2026-09-10T09:39:05.594Z","0.10.1":"2026-09-11T11:31:56.114Z","0.10.2":"2026-09-12T07:51:43.986Z"},"bugs":{"url":"https://github.com/0disoft/mensor/issues"},"license":"Apache-2.0","homepage":"https://github.com/0disoft/mensor#readme","keywords":["mensor","runtime","html","contracts","developer-tools"],"repository":{"type":"git","url":"git+https://github.com/0disoft/mensor.git","directory":"packages/reference-runtime"},"description":"Bounded reference consumer for Mensor runtime manifests.","maintainers":[{"name":"0disoft","email":"rodisoft1@gmail.com"}],"readme":"# @0disoft/mensor-reference-runtime\n\nBounded reference consumer for a clean Mensor RuntimeManifest v1 artifact.\nIt serves embedded static GET pages and dispatches URL-encoded POST actions to\nan exact host-supplied handler registry.\n\nThe package is a conformance consumer, not a production web framework. It does\nnot own authentication, CSRF tokens, sessions, cookies, persistence, template\nrendering, deployment, or source discovery. An `actionGuard` is mandatory when\nthe manifest contains actions.\n\n```js\nimport { createReferenceRuntime } from \"@0disoft/mensor-reference-runtime\";\n\nconst runtime = createReferenceRuntime({\n  manifest,\n  actionGuard: ({ fields }) => ({\n    allowed: fields._csrf?.[0] === expectedToken,\n    status: 403,\n  }),\n  handlers: {\n    \"tasks.create\": async ({ input }) => {\n      await createTask(input);\n      return { kind: \"redirect\", location: \"/tasks\" };\n    },\n  },\n});\n\nconst response = await runtime.handle(request);\n```\n\nThe runtime accepts only `application/x-www-form-urlencoded` action bodies,\nenforces bounded body and field sizes, rejects unknown and duplicate scalar\nfields, decodes every Feature Contract v1 codec, validates the decoded schema,\nand returns generic client errors without source or exception details.\n","readmeFilename":"README.md"}