{"_id":"@as-harness/wasmtime","_rev":"3-3a18659492b244355f66e0ce7e52c068","name":"@as-harness/wasmtime","dist-tags":{"reserved":"0.0.0-reserved.0","latest":"0.6.0"},"versions":{"0.0.0-reserved.0":{"name":"@as-harness/wasmtime","version":"0.0.0-reserved.0","keywords":["as-harness","placeholder","reserved"],"license":"MIT","_id":"@as-harness/wasmtime@0.0.0-reserved.0","maintainers":[{"name":"jtenner","email":"tenner.joshua@gmail.com"}],"homepage":"https://github.com/jtenner/as-harness","bugs":{"url":"https://github.com/jtenner/as-harness/issues"},"dist":{"shasum":"871bbe94cf98b704afc028ea3b1e7d75e0c1e527","tarball":"https://registry.npmjs.org/@as-harness/wasmtime/-/wasmtime-0.0.0-reserved.0.tgz","fileCount":3,"integrity":"sha512-xtCRKW57Q2w6amFyb0zZoqXYtqCj3/GeeDvXBBkKaeR5pnFi9MFHhumldg3dhlKiuGq+rANaS6JOpqxPvFvTtA==","signatures":[{"sig":"MEUCIQCzsvoqU7IyOcppgRNDOUdOzNd2/vvnX8W8dLCCn+W4jgIgdt6zfkR7c8v0nJXWN48x5uCsQzTlYO8kHPUJq1UIhwE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2113},"gitHead":"694a09bd66269de1db399483e085fb16b87dccea","_npmUser":{"name":"jtenner","email":"tenner.joshua@gmail.com"},"repository":{"url":"git+https://github.com/jtenner/as-harness.git","type":"git"},"_npmVersion":"11.11.0","description":"Placeholder package published to reserve the @as-harness/wasmtime npm name for the as-harness project. Do not install.","directories":{},"_nodeVersion":"25.8.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/wasmtime_0.0.0-reserved.0_1774306498273_0.5726889358192402","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@as-harness/wasmtime","version":"0.5.1","license":"MIT","_id":"@as-harness/wasmtime@0.5.1","maintainers":[{"name":"jtenner","email":"tenner.joshua@gmail.com"}],"homepage":"https://github.com/jtenner/as-harness","bugs":{"url":"https://github.com/jtenner/as-harness/issues"},"dist":{"shasum":"79cf84eef3ceddd32ff7b3940d23dfb6eb827f7e","tarball":"https://registry.npmjs.org/@as-harness/wasmtime/-/wasmtime-0.5.1.tgz","fileCount":7,"integrity":"sha512-n3o6T6mCjYwlgHAXuCegZGOSPD8nVV+2xvqQdhYlGMz+Wmi2B8tVv/SyNITH7MbnrxgNI1YAqsyjDDXo1PJSvA==","signatures":[{"sig":"MEUCIBG7xA7DxoStJjZrEpt9fOBoKF3O1p3hqpCoH726echmAiEA8nfn24x9JQ289GJnywXALyUVIkVSPUJt/8mbEwkK+rE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@as-harness%2fwasmtime@0.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":47909},"main":"./index.cjs","_from":"file:dist/npm-release-artifacts/npm-package-artifacts-linux-x64/as-harness-wasmtime-0.5.1.tgz","types":"./index.d.ts","exports":{".":{"types":"./index.d.ts","require":"./index.cjs"},"./package.json":"./package.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:48593b5f-b41f-4244-b0d9-9e9d4a085590"}},"_resolved":"/home/runner/work/as-harness/as-harness/dist/npm-release-artifacts/npm-package-artifacts-linux-x64/as-harness-wasmtime-0.5.1.tgz","_integrity":"sha512-n3o6T6mCjYwlgHAXuCegZGOSPD8nVV+2xvqQdhYlGMz+Wmi2B8tVv/SyNITH7MbnrxgNI1YAqsyjDDXo1PJSvA==","repository":{"url":"git+https://github.com/jtenner/as-harness.git","type":"git"},"_npmVersion":"11.11.0","description":"Rust/Node-API host implementation built on `wasmtime`.","directories":{},"_nodeVersion":"25.8.1","dependencies":{"@as-harness/shared":"0.5.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"optionalDependencies":{"@as-harness/wasmtime-darwin-x64":"0.5.1","@as-harness/wasmtime-darwin-arm64":"0.5.1","@as-harness/wasmtime-linux-x64-gnu":"0.5.1","@as-harness/wasmtime-win32-x64-msvc":"0.5.1","@as-harness/wasmtime-linux-arm64-gnu":"0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/wasmtime_0.5.1_1774321899576_0.8988633492316389","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@as-harness/wasmtime","version":"0.6.0","license":"MIT","repository":{"type":"git","url":"git+https://github.com/jtenner/as-harness.git"},"homepage":"https://github.com/jtenner/as-harness","bugs":{"url":"https://github.com/jtenner/as-harness/issues"},"main":"./index.cjs","types":"./index.d.ts","exports":{".":{"require":"./index.cjs","types":"./index.d.ts"},"./package.json":"./package.json"},"dependencies":{"@as-harness/shared":"0.6.0"},"optionalDependencies":{"@as-harness/wasmtime-darwin-arm64":"0.6.0","@as-harness/wasmtime-darwin-x64":"0.6.0","@as-harness/wasmtime-linux-arm64-gnu":"0.6.0","@as-harness/wasmtime-linux-x64-gnu":"0.6.0","@as-harness/wasmtime-win32-x64-msvc":"0.6.0"},"publishConfig":{"access":"public"},"_id":"@as-harness/wasmtime@0.6.0","description":"Rust/Node-API host implementation built on `wasmtime`.","_integrity":"sha512-BoM8+q3fuxnCgPnwH5wwRvni5rbSsN6c1B9YMpXWiRosmGYt4ESPo+6AQfn6CnFNUXKUiIIRUnRAMy5wjl5xSw==","_resolved":"/home/runner/work/as-harness/as-harness/dist/npm-release-artifacts/npm-package-artifacts-linux-x64/as-harness-wasmtime-0.6.0.tgz","_from":"file:dist/npm-release-artifacts/npm-package-artifacts-linux-x64/as-harness-wasmtime-0.6.0.tgz","_nodeVersion":"25.8.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-BoM8+q3fuxnCgPnwH5wwRvni5rbSsN6c1B9YMpXWiRosmGYt4ESPo+6AQfn6CnFNUXKUiIIRUnRAMy5wjl5xSw==","shasum":"e5457db2101894a2aa48b7b1a66cdcef9d95ed1b","tarball":"https://registry.npmjs.org/@as-harness/wasmtime/-/wasmtime-0.6.0.tgz","fileCount":7,"unpackedSize":47909,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@as-harness%2fwasmtime@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIFsJtxnXrnHAKKtR9fkexCBWNiz+/cyVs/SqpD2bsn4JAiEAhcMjm/GKwVOF8PiG96ferTDLDwwDlqEyBEh9hNQIWqE="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:48593b5f-b41f-4244-b0d9-9e9d4a085590"}},"directories":{},"maintainers":[{"name":"jtenner","email":"tenner.joshua@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wasmtime_0.6.0_1774397843428_0.5509397977249513"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-23T22:54:58.185Z","modified":"2026-03-25T00:17:23.897Z","0.0.0-reserved.0":"2026-03-23T22:54:58.414Z","0.5.1":"2026-03-24T03:11:39.719Z","0.6.0":"2026-03-25T00:17:23.571Z"},"bugs":{"url":"https://github.com/jtenner/as-harness/issues"},"license":"MIT","homepage":"https://github.com/jtenner/as-harness","repository":{"type":"git","url":"git+https://github.com/jtenner/as-harness.git"},"description":"Rust/Node-API host implementation built on `wasmtime`.","maintainers":[{"name":"jtenner","email":"tenner.joshua@gmail.com"}],"readme":"# harness/wasmtime\n\nRust/Node-API host implementation built on `wasmtime`.\n\n## What lives here\n\n- `src/lib.rs` — native addon entry and wrapper around Wasm execution\n- `index.cjs` — JS `Harness` API and shared `start.cjs` orchestration\n- `scripts/build.mjs` — local build helper with platform-specific linker setup\n- `test/smoke.host.cjs` — shared smoke + CLI smoke fixture\n\n## Scope\n\n- published as `@as-harness/wasmtime` plus per-platform binary packages\n- same shared contract and callback suite as `js` and `wazero`\n- supports coverage declaration/imports, merged coverage snapshots, and\n  host-owned `uvu/assert` fixture / snapshot artifacts\n- decodes and surfaces structured `debug` payload events for rewritten\n  `abort(...)` / `trace(...)` output through the shared host callback contract\n\n## Build and Test\n\nBuild requirement: Rust `1.94.0` stable or newer.\n\n```bash\ncd harness/wasmtime\nnode ./scripts/build.mjs\nnpm test\n```\n\n## Notes\n\n- native package source verification remains in CI source-host matrix.\n- source-host CLI smoke proof builds a Node-targeted CLI bundle and runs that\n  bundle under Node `25.8.1` instead of invoking `bun run ./cli/index.ts`\n  directly.\n- the bundled source CLI uses `AS_HARNESS_SOURCE_CLI_REPO_DIR` during CI smoke\n  so the Node-targeted bundle can still resolve the repo-local host package.\n- public npm publication ships the per-platform binary packages that the\n  `@as-harness/wasmtime` meta package resolves through `optionalDependencies`.\n- the tracked source-build dependency inventory lives in\n  [licenses/wasmtime/THIRD_PARTY_INVENTORY.md](../../licenses/wasmtime/THIRD_PARTY_INVENTORY.md)\n  and is generated from `cargo metadata --format-version 1 --locked`.\n","readmeFilename":"README.md"}