{"_id":"@a5c-ai/trust-core","_rev":"9-157be86eaa1248fa573a58ee2a49c242","name":"@a5c-ai/trust-core","dist-tags":{"latest":"6.0.0","staging":"6.0.3-staging.f5f113c68e2c"},"versions":{"6.0.3-staging.38b4f082bccd":{"name":"@a5c-ai/trust-core","version":"6.0.3-staging.38b4f082bccd","license":"MIT","_id":"@a5c-ai/trust-core@6.0.3-staging.38b4f082bccd","maintainers":[{"name":"tmuskal","email":"tal@musk.al"},{"name":"benihak","email":"beni@a5c.ai"}],"homepage":"https://github.com/a5c-ai/babysitter/tree/main/packages/trust-core#readme","bugs":{"url":"https://github.com/a5c-ai/babysitter/issues"},"dist":{"shasum":"ca1a8acee0e173a7542d981b20dd2fa1d8da6e01","tarball":"https://registry.npmjs.org/@a5c-ai/trust-core/-/trust-core-6.0.3-staging.38b4f082bccd.tgz","fileCount":29,"integrity":"sha512-LDZWYRjSqCicHzj8lRtCzQeVBUB7BxSieCz4/6m81pU/bdE+2A374AgdjOHvX+iw/VX7OBwX7cHDLt0IjV1Uqg==","signatures":[{"sig":"MEQCIHygHMfG3MdKeKE/T2dgw4NdIYEdptR7jRCY4UvJ/NuUAiBp8Xh8GHvpOHvJFF4CFI2xe2lmXFBFwKvPNQOzhbR6ng==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32525},"main":"dist/index.js","type":"commonjs","atlas":{"muxes":[],"layers":["L3"]},"types":"dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"scripts":{"test":"vitest run","build":"tsc","clean":"rimraf dist tsconfig.tsbuildinfo"},"_npmUser":{"name":"tmuskal","email":"tal@musk.al"},"repository":{"url":"git+https://github.com/a5c-ai/babysitter.git","type":"git","directory":"packages/trust-core"},"_npmVersion":"10.9.8","description":"Pure Ed25519 signing, signed-envelope, model-decision, and trust-chain primitives shared across the trust boundary.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.1.3","vitest":"^4.0.18","typescript":"^5.4.2","@types/node":"^20.11.30"},"_npmOperationalInternal":{"tmp":"tmp/trust-core_6.0.3-staging.38b4f082bccd_1785769309570_0.21888822285924303","host":"s3://npm-registry-packages-npm-production"}},"6.0.3-staging.f37319247662":{"name":"@a5c-ai/trust-core","version":"6.0.3-staging.f37319247662","license":"MIT","_id":"@a5c-ai/trust-core@6.0.3-staging.f37319247662","maintainers":[{"name":"tmuskal","email":"tal@musk.al"},{"name":"benihak","email":"beni@a5c.ai"}],"homepage":"https://github.com/a5c-ai/babysitter/tree/main/packages/trust-core#readme","bugs":{"url":"https://github.com/a5c-ai/babysitter/issues"},"dist":{"shasum":"59bcd02525115f484672293e5b7c76a501fe027c","tarball":"https://registry.npmjs.org/@a5c-ai/trust-core/-/trust-core-6.0.3-staging.f37319247662.tgz","fileCount":29,"integrity":"sha512-rd2OCNxM+YxI9t/fKUZPUP3BTDgRdkB5qG57TILF7nDmPgAObBnqhgI0BIG8cPMYcbY8NXlo9V00bR5uXerr8w==","signatures":[{"sig":"MEQCID9OduPPw22llf9F/zH/VFs00ezrrDpvRv+Mb9uJfso8AiB/gOY5b6KHbFzKy0aiewNmD816I5a0obE0JLfMAezeug==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32525},"main":"dist/index.js","type":"commonjs","atlas":{"muxes":[],"layers":["L3"]},"types":"dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"scripts":{"test":"vitest run","build":"tsc","clean":"rimraf dist tsconfig.tsbuildinfo"},"_npmUser":{"name":"tmuskal","email":"tal@musk.al"},"repository":{"url":"git+https://github.com/a5c-ai/babysitter.git","type":"git","directory":"packages/trust-core"},"_npmVersion":"10.9.8","description":"Pure Ed25519 signing, signed-envelope, model-decision, and trust-chain primitives shared across the trust boundary.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^6.1.3","vitest":"^4.0.18","typescript":"^5.4.2","@types/node":"^20.11.30"},"_npmOperationalInternal":{"tmp":"tmp/trust-core_6.0.3-staging.f37319247662_1785819189626_0.22577032420500998","host":"s3://npm-registry-packages-npm-production"}},"6.0.3-staging.0d4b52140f73":{"name":"@a5c-ai/trust-core","version":"6.0.3-staging.0d4b52140f73","license":"MIT","_id":"@a5c-ai/trust-core@6.0.3-staging.0d4b52140f73","maintainers":[{"name":"tmuskal","email":"tal@musk.al"},{"name":"benihak","email":"beni@a5c.ai"}],"homepage":"https://github.com/a5c-ai/babysitter/tree/main/packages/trust-core#readme","bugs":{"url":"https://github.com/a5c-ai/babysitter/issues"},"dist":{"shasum":"f464bb9353f01c23f58eb591ed7580fffbc6e528","tarball":"https://registry.npmjs.org/@a5c-ai/trust-core/-/trust-core-6.0.3-staging.0d4b52140f73.tgz","fileCount":29,"integrity":"sha512-cJGo7NHHi3Qh9cgvfPdf1DECpaj6n4KP+ClapSCFITp1aMsrEaaePE4jBOEPQqrnnymTFMY4K4zByr24ICihVw==","signatures":[{"sig":"MEQCIAfNu7Mu7o4sWRSpAgAx3H/fl4h0EqAv0NtgJvUJwDGmAiA9whsvzYbDiwTadwceKWa/akRC5cJcogdFw+LoUVw/Bw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32525},"main":"dist/index.js","type":"commonjs","atlas":{"muxes":[],"layers":["L3"]},"types":"dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"scripts":{"test":"vitest run","build":"tsc","clean":"rimraf dist tsconfig.tsbuildinfo"},"_npmUser":{"name":"tmuskal","email":"tal@musk.al"},"repository":{"url":"git+https://github.com/a5c-ai/babysitter.git","type":"git","directory":"packages/trust-core"},"_npmVersion":"10.9.8","description":"Pure Ed25519 signing, signed-envelope, model-decision, and trust-chain primitives shared across the trust boundary.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^6.1.3","vitest":"^4.0.18","typescript":"^5.4.2","@types/node":"^20.11.30"},"_npmOperationalInternal":{"tmp":"tmp/trust-core_6.0.3-staging.0d4b52140f73_1785980154958_0.48396321879319193","host":"s3://npm-registry-packages-npm-production"}},"6.0.3-staging.a92992776c25":{"name":"@a5c-ai/trust-core","version":"6.0.3-staging.a92992776c25","license":"MIT","_id":"@a5c-ai/trust-core@6.0.3-staging.a92992776c25","maintainers":[{"name":"tmuskal","email":"tal@musk.al"},{"name":"benihak","email":"beni@a5c.ai"}],"homepage":"https://github.com/a5c-ai/babysitter/tree/main/packages/trust-core#readme","bugs":{"url":"https://github.com/a5c-ai/babysitter/issues"},"dist":{"shasum":"f93235d54f6b0558728aa2930770abe10ef36199","tarball":"https://registry.npmjs.org/@a5c-ai/trust-core/-/trust-core-6.0.3-staging.a92992776c25.tgz","fileCount":29,"integrity":"sha512-0gjUFawRMB0wJt7R9i1GUX1kgD5P504jMSCdna50yqjHXZIsMvSfVeKr9UIT2AC6MvLlPQGKdNN/z6RmN8xGxQ==","signatures":[{"sig":"MEQCICoUiuc8TfS0MFLT+CrK8D7IuXFWFVsWRF8cb7nTVczBAiBVCqU8fTG2ot0HWP68CLUhAGlpHis6m2HwManuWXw8ZQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32525},"main":"dist/index.js","type":"commonjs","atlas":{"muxes":[],"layers":["L3"]},"types":"dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"scripts":{"test":"vitest run","build":"tsc","clean":"rimraf dist tsconfig.tsbuildinfo"},"_npmUser":{"name":"tmuskal","email":"tal@musk.al"},"repository":{"url":"git+https://github.com/a5c-ai/babysitter.git","type":"git","directory":"packages/trust-core"},"_npmVersion":"10.9.8","description":"Pure Ed25519 signing, signed-envelope, model-decision, and trust-chain primitives shared across the trust boundary.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^6.1.3","vitest":"^4.0.18","typescript":"^5.4.2","@types/node":"^20.11.30"},"_npmOperationalInternal":{"tmp":"tmp/trust-core_6.0.3-staging.a92992776c25_1786391972545_0.631384009977555","host":"s3://npm-registry-packages-npm-production"}},"6.0.3":{"name":"@a5c-ai/trust-core","version":"6.0.3","license":"MIT","_id":"@a5c-ai/trust-core@6.0.3","maintainers":[{"name":"tmuskal","email":"tal@musk.al"},{"name":"benihak","email":"beni@a5c.ai"}],"homepage":"https://github.com/a5c-ai/babysitter/tree/main/packages/trust-core#readme","bugs":{"url":"https://github.com/a5c-ai/babysitter/issues"},"dist":{"shasum":"d0b91750d14cf65210b5607abddd8526d2912497","tarball":"https://registry.npmjs.org/@a5c-ai/trust-core/-/trust-core-6.0.3.tgz","fileCount":29,"integrity":"sha512-Uf62NsIC9vzeJ39KXxZRclbZcU876VVUalHqOX2DDCTZPr4l19kp1T7LlsJCEQjM2ypFGruyDP3x1AgEV+PdWw==","signatures":[{"sig":"MEUCIHEOmaocA8QlJLESc4y5ksuHivXcM7zKOBwkrdNQ0oLAAiEA7i3xvB/VPMtyYwmOFzcVM2qTKHsX+CZGGkWhEWJ3d44=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32504},"main":"dist/index.js","type":"commonjs","atlas":{"muxes":[],"layers":["L3"]},"types":"dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"scripts":{"test":"vitest run","build":"tsc","clean":"rimraf dist tsconfig.tsbuildinfo"},"_npmUser":{"name":"tmuskal","email":"tal@musk.al"},"repository":{"url":"git+https://github.com/a5c-ai/babysitter.git","type":"git","directory":"packages/trust-core"},"_npmVersion":"10.9.8","description":"Pure Ed25519 signing, signed-envelope, model-decision, and trust-chain primitives shared across the trust boundary.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.1.3","vitest":"^4.0.18","typescript":"^5.4.2","@types/node":"^20.11.30"},"_npmOperationalInternal":{"tmp":"tmp/trust-core_6.0.3_1786393478654_0.8051482988005159","host":"s3://npm-registry-packages-npm-production"}},"6.0.3-staging.f5f113c68e2c":{"name":"@a5c-ai/trust-core","version":"6.0.3-staging.f5f113c68e2c","license":"MIT","_id":"@a5c-ai/trust-core@6.0.3-staging.f5f113c68e2c","maintainers":[{"name":"tmuskal","email":"tal@musk.al"},{"name":"benihak","email":"beni@a5c.ai"}],"homepage":"https://github.com/a5c-ai/babysitter/tree/main/packages/trust-core#readme","bugs":{"url":"https://github.com/a5c-ai/babysitter/issues"},"dist":{"shasum":"8547a06966fdeb8bec74c56962c5d8c39eb35c92","tarball":"https://registry.npmjs.org/@a5c-ai/trust-core/-/trust-core-6.0.3-staging.f5f113c68e2c.tgz","fileCount":29,"integrity":"sha512-lRzBwPmFqCVgj+giMCg3fWRuNFVAEXoQeU5y3Z0P21FSYJwI9kKeW5afNYYTiApW0WUSjsfsmIeRRH4lzy53Lg==","signatures":[{"sig":"MEUCIQDC30pT1UUAx5n9AorwqfHhctK4XLPZo8KV6mYZ8Vr/mAIgeGWW/vLwjgyh4X2CHl7iufXnHCPCI877hB8KCj5bXrg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32525},"main":"dist/index.js","type":"commonjs","atlas":{"muxes":[],"layers":["L3"]},"types":"dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"scripts":{"test":"vitest run","build":"tsc","clean":"rimraf dist tsconfig.tsbuildinfo"},"_npmUser":{"name":"tmuskal","email":"tal@musk.al"},"repository":{"url":"git+https://github.com/a5c-ai/babysitter.git","type":"git","directory":"packages/trust-core"},"_npmVersion":"10.9.8","description":"Pure Ed25519 signing, signed-envelope, model-decision, and trust-chain primitives shared across the trust boundary.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"rimraf":"^6.1.3","vitest":"^4.0.18","typescript":"^5.4.2","@types/node":"^20.11.30"},"_npmOperationalInternal":{"tmp":"tmp/trust-core_6.0.3-staging.f5f113c68e2c_1786396667226_0.6441519670877636","host":"s3://npm-registry-packages-npm-production"}},"6.0.0":{"name":"@a5c-ai/trust-core","version":"6.0.0","license":"MIT","_id":"@a5c-ai/trust-core@6.0.0","maintainers":[{"name":"tmuskal","email":"tal@musk.al"},{"name":"benihak","email":"beni@a5c.ai"}],"homepage":"https://github.com/a5c-ai/babysitter/tree/main/packages/trust-core#readme","bugs":{"url":"https://github.com/a5c-ai/babysitter/issues"},"dist":{"shasum":"40790a0807b90b809985410d46b7bcfbc11b00bb","tarball":"https://registry.npmjs.org/@a5c-ai/trust-core/-/trust-core-6.0.0.tgz","fileCount":29,"integrity":"sha512-K5sVPeasAjVxfCuVXlgCLOoAx3mqY0L8zEKTmGqTOsrmW5eQLEVMicDYLNkmGap9DM+WTmopEOZNxFVlmPOlEQ==","signatures":[{"sig":"MEUCIFv5+21dUcABUv7MPxZUaHXP/2yjb7YWCZGUFwLvGd69AiEAqocfb1uXJ7kOUz7oHtbdyH+0zyqcda7MwC/eEnVGPbw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":32504},"main":"dist/index.js","type":"commonjs","atlas":{"muxes":[],"layers":["L3"]},"types":"dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json"},"gitHead":"120926cf0f706e1fc4b7eda5e196aa40aa804e68","scripts":{"test":"vitest run","build":"tsc","clean":"rimraf dist tsconfig.tsbuildinfo"},"_npmUser":{"name":"tmuskal","email":"tal@musk.al"},"repository":{"url":"git+https://github.com/a5c-ai/babysitter.git","type":"git","directory":"packages/trust-core"},"_npmVersion":"10.9.8","description":"Pure Ed25519 signing, signed-envelope, model-decision, and trust-chain primitives shared across the trust boundary.","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^6.1.3","vitest":"^4.0.18","typescript":"^5.4.2","@types/node":"^20.11.30"},"_npmOperationalInternal":{"tmp":"tmp/trust-core_6.0.0_1786396893617_0.70662906750465","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-08-03T15:01:49.241Z","modified":"2026-08-13T21:25:22.858Z","6.0.3-staging.38b4f082bccd":"2026-08-03T15:01:49.708Z","6.0.3-staging.f37319247662":"2026-08-04T04:53:09.765Z","6.0.3-staging.0d4b52140f73":"2026-08-06T01:35:55.109Z","6.0.3-staging.a92992776c25":"2026-08-10T19:59:32.679Z","6.0.3":"2026-08-10T20:24:38.800Z","6.0.3-staging.f5f113c68e2c":"2026-08-10T21:17:47.408Z","6.0.0":"2026-08-10T21:21:33.795Z"},"bugs":{"url":"https://github.com/a5c-ai/babysitter/issues"},"license":"MIT","homepage":"https://github.com/a5c-ai/babysitter/tree/main/packages/trust-core#readme","repository":{"url":"git+https://github.com/a5c-ai/babysitter.git","type":"git","directory":"packages/trust-core"},"description":"Pure Ed25519 signing, signed-envelope, model-decision, and trust-chain primitives shared across the trust boundary.","maintainers":[{"name":"tmuskal","email":"tal@musk.al"},{"name":"benihak","email":"beni@a5c.ai"}],"readme":"# @a5c-ai/trust-core\n\nPure, dependency-free trust and cryptography primitives shared across the proof-based\npolicy-enforcement trust boundary.\n\nThis package holds the self-contained Ed25519 signing, signed-envelope, model-decision,\ntool/agent-signing, and trust-chain building blocks. It has no runtime dependency on any\nother workspace package (only `node:crypto`), which lets dispatch-layer packages (e.g.\n`@a5c-ai/transport-adapter`) depend on the trust primitives without reaching into the\norchestration-core `@a5c-ai/genty-core` package.\n\n## Surface\n\n- `createKeyPair`, `signPayload`, `verifySignature`\n- `signModelResponse`, `verifyModelResponse`\n- `signModelDecision`, `verifyModelDecision`, `MODEL_DECISION_SIGNED_FIELDS`\n- `signAgentRequest`, `verifyAgentRequest`, `signPrompt`, `verifyPrompt`, `hashContent`\n- `signToolResult`, `verifyToolResult`, `signPermissionEvidence`, `verifyPermissionEvidence`, `isPermissionValid`\n- `createAgentIdentity`, `createToolIdentity`\n- `verifyTrustChain`\n- Types: `SignedEnvelope`, `IdentityKeyPair`, `AgentIdentity`, `ToolIdentity`, `DelegationChainLink`, `Identity`, `ModelResponsePayload`, `ModelDecisionPayload`, `SignedToolCall`, `AgentRequestPayload`, `PromptPayload`, `ToolResultPayload`, `PermissionEvidencePayload`, `TrustChainLink`, `ChainVerificationResult`\n\n`@a5c-ai/genty-core/trust` re-exports this package for back-compat; the in-process\nattestation producer remains in `@a5c-ai/genty-core`.\n\n## Status\n\nInternal (`private: true`) support-systems leaf package. Not published.\n","readmeFilename":"README.md"}