{"_id":"@digital-mineral/telemetry-witness","_rev":"2-29a137f8bfb7867a0016b6d7d602ff8a","name":"@digital-mineral/telemetry-witness","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@digital-mineral/telemetry-witness","version":"1.0.0","author":{"name":"Digital Mineral Solutions LLC"},"license":"MIT","_id":"@digital-mineral/telemetry-witness@1.0.0","maintainers":[{"name":"digitalmineralsolutions","email":"outsidegems@gmail.com"}],"dist":{"shasum":"328dd6d0a558b5dffb6e53cc9a048204c41ab0be","tarball":"https://registry.npmjs.org/@digital-mineral/telemetry-witness/-/telemetry-witness-1.0.0.tgz","fileCount":20,"integrity":"sha512-yp52k52wr3xG2OG3DNQNuQO17Z/4lUf9tI2+Uwgf4kF9YCdsJwT20vzUuOVCcACJtue2V2fnifsycBAOncTLHg==","signatures":[{"sig":"MEUCIQDEN9ua5AvX68GbgCd0okidBO6dSouGWrZooesLl3RFaAIgZ2hSwX/Y81EWD3NxuVqS2Tkcut3OXwsqnQ2cNFY8Fjo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24409},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"04e34426ad182d7011c15442b2716862edc2c86d","scripts":{"test":"vitest run","build":"tsc","typecheck":"tsc --noEmit"},"_npmUser":{"name":"digitalmineralsolutions","email":"outsidegems@gmail.com"},"_npmVersion":"11.19.0","description":"Cryptographically verifiable compute receipt protocol for edge nodes.","directories":{},"_nodeVersion":"26.4.0","_hasShrinkwrap":false,"devDependencies":{"vitest":"^1.6.0","typescript":"^5.4.0","@types/node":"^26.4.0"},"_npmOperationalInternal":{"tmp":"tmp/telemetry-witness_1.0.0_1787791586140_0.13046648580458586","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@digital-mineral/telemetry-witness","version":"2.0.0","description":"Cryptographically verifiable compute receipt protocol for edge nodes.","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsc","typecheck":"tsc --noEmit","test":"vitest run"},"devDependencies":{"@types/express":"^5.0.6","@types/node":"^26.4.0","typescript":"^5.4.0","vitest":"^1.6.0"},"author":{"name":"Digital Mineral Solutions LLC"},"license":"MIT","dependencies":{"express":"^5.2.1"},"gitHead":"1ee7302d7b370bee6ce3974756efcc5a89b4c43d","_id":"@digital-mineral/telemetry-witness@2.0.0","_nodeVersion":"26.4.0","_npmVersion":"11.19.0","dist":{"integrity":"sha512-tTXCruNxos5wuGDzotJy9+Ec/CcCyaLZNwj4i6QBYa/FTD8lFJM+yrpaCsLXqHvCyYpskaf+LRc50GVNvYgf4g==","shasum":"b7b65b616b2f381f9e9a79378070ddf369baaf5c","tarball":"https://registry.npmjs.org/@digital-mineral/telemetry-witness/-/telemetry-witness-2.0.0.tgz","fileCount":41,"unpackedSize":30193,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDx21cotacFdK2qTGB5ipCBEZbrUqiaq/2zgd6ybtbPyAIhAPl8nfX7QrOj6DIZW72PL9lRkFuCcVj+pon1nB1JGGip"}]},"_npmUser":{"name":"digitalmineralsolutions","email":"outsidegems@gmail.com"},"directories":{},"maintainers":[{"name":"digitalmineralsolutions","email":"outsidegems@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/telemetry-witness_2.0.0_1787848907110_0.2767232311193202"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-27T00:46:25.893Z","modified":"2026-08-27T16:41:47.506Z","1.0.0":"2026-08-27T00:46:26.278Z","2.0.0":"2026-08-27T16:41:47.254Z"},"author":{"name":"Digital Mineral Solutions LLC"},"license":"MIT","description":"Cryptographically verifiable compute receipt protocol for edge nodes.","maintainers":[{"name":"digitalmineralsolutions","email":"outsidegems@gmail.com"}],"readme":"# @digital-mineral/telemetry-witness 🛡️\n\n**A Verifiable Compute Receipt Protocol for Sovereign Edge Nodes.**\n\n## What Telemetry Witness Does\nIt acts as an on-device Proof-of-Compute oracle for DePIN networks. It binds task execution telemetry (CPU, Memory, Time) to a cryptographic Ed25519 signature, ensuring remote autonomous agents can mathematically verify work was performed by an authorized node before authorizing microtransactions.\n\n## What a Receipt Proves\n- **Authenticity:** The execution was signed by a specific, registered `nodeId` and `publicKey`.\n- **Workload Binding:** The input and output digests exactly match the authorized intent.\n- **Temporal Integrity:** The execution occurred within a strict, non-replayable temporal window.\n\n## What a Receipt Does NOT Prove\nUnless paired with a `TPMAttestationProvider` or `TEEAttestationProvider`, a software-generated receipt **does not prove absolute physical hardware isolation**. This library provides Level 2 (Verifiable Execution) assurance. Level 3 (Hardware Attestation) requires integrating physical secure enclaves (e.g., Mac Mini Secure Enclave or Intel SGX).\n\n## Security & Architecture\n- **Zero-Dependency Storage:** Uses abstract interfaces (with an in-memory fallback) to avoid forcing heavy database dependencies on edge clients.\n- **Strict Input Hardening:** Canonical serialization limits payloads to 2MB to prevent Memory Exhaustion (OOM) attacks from malicious agents.\n- **Metabolic Discipline:** Designed for ARM64 and bare-metal environments to route edge-compute intents in microseconds.\n\n## Installation\nnpm install @digital-mineral/telemetry-witness\n","readmeFilename":"README.md"}