{"_id":"@add-mesh/core","name":"@add-mesh/core","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@add-mesh/core","version":"0.1.0","description":"ADD Protocol core primitives: Ed25519 identity, did:key, JCS canonicalization, and signed envelopes","keywords":["add-protocol","did","ed25519","agents","signing"],"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/core"},"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":{"@noble/ed25519":"3.1.0","@noble/hashes":"2.2.0"},"gitHead":"6b938a6c0d7d742a1d81b5cdc90172d2c468dc8f","_id":"@add-mesh/core@0.1.0","_nodeVersion":"22.14.0","_npmVersion":"11.18.0","dist":{"integrity":"sha512-SM2/5yD9owHMRn6KdOlbZjVhSokld7Rs3vlzd6CHv2GTSYiAuTsP7DQDGejGg5DO//601nEGKcHMQmTuijUPDw==","shasum":"8d95cbe80b5d3c00dc1d4b641b3c3deb472456c8","tarball":"https://registry.npmjs.org/@add-mesh/core/-/core-0.1.0.tgz","fileCount":31,"unpackedSize":80948,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIGJt6vGiTC89f6JwRtw9yEsTMSe0gjZQBufZGFeJlcYTAiEA8guugekXHkS0kCGrTYhKx5YwrRfkX9K2YTVZoK5edk8="}]},"_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/core_0.1.0_1785007914027_0.8966162483556106"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-25T19:31:53.756Z","0.1.0":"2026-07-25T19:31:54.187Z","modified":"2026-07-25T19:31:54.436Z"},"maintainers":[{"name":"das-subha123","email":"subhodeepds@gmail.com"}],"description":"ADD Protocol core primitives: Ed25519 identity, did:key, JCS canonicalization, and signed envelopes","homepage":"https://github.com/das-subha123/agent-mesh-protocol#readme","keywords":["add-protocol","did","ed25519","agents","signing"],"repository":{"type":"git","url":"git+https://github.com/das-subha123/agent-mesh-protocol.git","directory":"packages/core"},"author":{"name":"das-subha123"},"bugs":{"url":"https://github.com/das-subha123/agent-mesh-protocol/issues"},"license":"Apache-2.0","readme":"# @add-mesh/core\r\n\r\nIdentity and signed envelopes — 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-CORE-00](https://github.com/das-subha123/agent-mesh-protocol/blob/main/spec/add-core-00.md)\r\n\r\n## Install\r\n\r\n```bash\r\nnpm install @add-mesh/core\r\n```\r\n\r\n## Usage\r\n\r\n```ts\r\nimport { generateSigner, signEnvelope, verifyEnvelope } from '@add-mesh/core';\r\n\r\nconst { keyPair, signer } = generateSigner();\r\nconst envelope = await signEnvelope(signer, 'add/delegation', { hello: 'world' });\r\nconst { issuer, payload } = await verifyEnvelope(envelope);\r\n```\r\n\r\nEd25519 identities as `did:key`, RFC 8785 canonical JSON, and one signed\r\nenvelope type that every other layer reuses. Verification establishes only that\r\nthe holder of `iss`'s key signed this payload — **not** that they were entitled\r\nto what it requests.\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-2b39c6e37c7be9876bea461a007350a9"}