{"_id":"@add-mesh/trust","name":"@add-mesh/trust","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@add-mesh/trust","version":"0.1.0","description":"ADD Protocol Layer 3: interaction acknowledgments, receipts, evidence grading, and attestation ledgers","keywords":["add-protocol","attestation","receipts","reputation","agents"],"license":"Apache-2.0","author":{"name":"das-subha123"},"homepage":"https://github.com/das-subha123/agent-mesh-protocol#readme","repository":{"type":"git","url":"git+https://github.com/das-subha123/agent-mesh-protocol.git","directory":"packages/trust"},"bugs":{"url":"https://github.com/das-subha123/agent-mesh-protocol/issues"},"type":"module","main":"./dist/src/index.js","types":"./dist/src/index.d.ts","exports":{".":{"types":"./dist/src/index.d.ts","default":"./dist/src/index.js"}},"engines":{"node":">=20"},"publishConfig":{"access":"public"},"scripts":{"prepublishOnly":"npm --prefix ../.. run build"},"dependencies":{"@add-mesh/core":"0.1.0","@add-mesh/delegation":"0.1.0","@noble/hashes":"2.2.0"},"gitHead":"6b938a6c0d7d742a1d81b5cdc90172d2c468dc8f","_id":"@add-mesh/trust@0.1.0","_nodeVersion":"22.14.0","_npmVersion":"11.18.0","dist":{"integrity":"sha512-hnkedZd0FjUcbjAO1wVQRHbHxS8Ia6XZOXSHrjypuYQ15M+3i2cyfBBjFIQEMouCTckilyWS4f5Zl+cEMxS4Lg==","shasum":"6e2a97a461e19cae0ae87f2b76cfdf713ccfa7c7","tarball":"https://registry.npmjs.org/@add-mesh/trust/-/trust-0.1.0.tgz","fileCount":23,"unpackedSize":95869,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDsU8mC9opxBWVV87gJmiug0vwVkR+pQ6Bac9HMte0tiwIgMr+moD0U/7Nrypzrkdrkrjd8Qz1ttOILqYMdQw3w7QA="}]},"_npmUser":{"name":"das-subha123","email":"subhodeepds@gmail.com"},"directories":{},"maintainers":[{"name":"das-subha123","email":"subhodeepds@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/trust_0.1.0_1785007955834_0.38785642385700303"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-25T19:32:35.725Z","0.1.0":"2026-07-25T19:32:35.978Z","modified":"2026-07-25T19:32:36.141Z"},"maintainers":[{"name":"das-subha123","email":"subhodeepds@gmail.com"}],"description":"ADD Protocol Layer 3: interaction acknowledgments, receipts, evidence grading, and attestation ledgers","homepage":"https://github.com/das-subha123/agent-mesh-protocol#readme","keywords":["add-protocol","attestation","receipts","reputation","agents"],"repository":{"type":"git","url":"git+https://github.com/das-subha123/agent-mesh-protocol.git","directory":"packages/trust"},"author":{"name":"das-subha123"},"bugs":{"url":"https://github.com/das-subha123/agent-mesh-protocol/issues"},"license":"Apache-2.0","readme":"# @add-mesh/trust\r\n\r\nInteraction receipts and attestation — part of the **ADD Protocol** (Agent Discovery, Delegation & Trust),\r\nan open overlay for the Agentic Web that sits above A2A and MCP.\r\n\r\nSpecification: [ADD-TRUST-00](https://github.com/das-subha123/agent-mesh-protocol/blob/main/spec/add-trust-00.md)\r\n\r\n## Install\r\n\r\n```bash\r\nnpm install @add-mesh/trust\r\n```\r\n\r\n## Usage\r\n\r\n```ts\r\nconst score = scoreSubject(provider, await ledger.about(provider), {\r\n  issuerWeight: weightTrustedIssuers([/* parties you trust */]),\r\n});\r\n```\r\n\r\nReceipts are graded by how corroborated they are. There is deliberately **no\r\nglobal reputation score** — scoring requires an explicit weighting policy,\r\nbecause whom to believe is a property of the observer. Read §9 of the spec\r\nbefore relying on this: Sybil attacks, whitewashing, and collusion are not\r\nprevented.\r\n\r\n## Documentation\r\n\r\nFull documentation, specifications, and runnable examples: [https://github.com/das-subha123/agent-mesh-protocol](https://github.com/das-subha123/agent-mesh-protocol)\r\n\r\nTwo implementations — TypeScript and Python — are developed together and\r\nvalidated against the same normative test vectors, so envelopes produced by one\r\nare byte-identical to the other.\r\n\r\n## License\r\n\r\nApache-2.0\r\n","readmeFilename":"README.md","_rev":"1-648b903b918bbce6e6ea1cc2849a3ecf"}