{"_id":"@actionmanifest/core","name":"@actionmanifest/core","dist-tags":{"next":"0.9.0-rc.0","latest":"0.9.0-rc.0"},"versions":{"0.9.0-rc.0":{"name":"@actionmanifest/core","version":"0.9.0-rc.0","description":"Canonical document model, hashing, errors, and schema validation.","license":"Apache-2.0","type":"module","sideEffects":false,"main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"engines":{"node":">=20"},"repository":{"type":"git","url":"git+https://github.com/hello-ai-company/ActionManifest.git","directory":"packages/core"},"homepage":"https://github.com/hello-ai-company/ActionManifest/tree/main/packages/core#readme","bugs":{"url":"https://github.com/hello-ai-company/ActionManifest/issues"},"publishConfig":{"access":"public"},"dependencies":{"@actionmanifest/schema":"0.9.0-rc.0","ajv":"^8.17.1","ajv-formats":"^3.0.1"},"scripts":{"build":"tsc -b"},"_id":"@actionmanifest/core@0.9.0-rc.0","_integrity":"sha512-vLwM+1iQ0Xh9djg+nZuHlOScbUR4JkU2VDT+ajy0zWP3R0NZPlFjN8nWgtktWykFicmaHgnONizvhmpErrfVoA==","_resolved":"/tmp/actionmanifest-canonical-publish.06nY0g/tarballs/actionmanifest-core-0.9.0-rc.0.tgz","_from":"file:/tmp/actionmanifest-canonical-publish.06nY0g/tarballs/actionmanifest-core-0.9.0-rc.0.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-vLwM+1iQ0Xh9djg+nZuHlOScbUR4JkU2VDT+ajy0zWP3R0NZPlFjN8nWgtktWykFicmaHgnONizvhmpErrfVoA==","shasum":"425e0b2ddffa18c7cbc976291a580f121c110232","tarball":"https://registry.npmjs.org/@actionmanifest/core/-/core-0.9.0-rc.0.tgz","fileCount":36,"unpackedSize":68655,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIEVFqYXV0ViY+AAyyXJc43OeM36bPKSfydTyCnPJJJMuAiBvaaiWPv+9lPzd7AxzW8aA6INFYTKzFwPOMV3RAA7I+Q=="}]},"_npmUser":{"name":"yuki-s-code","email":"yukitokinako3@gmail.com"},"directories":{},"maintainers":[{"name":"yuki-s-code","email":"yukitokinako3@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/core_0.9.0-rc.0_1789124590928_0.837441477812672"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-11T11:03:10.813Z","0.9.0-rc.0":"2026-09-11T11:03:11.063Z","modified":"2026-09-11T11:03:11.222Z"},"maintainers":[{"name":"yuki-s-code","email":"yukitokinako3@gmail.com"}],"description":"Canonical document model, hashing, errors, and schema validation.","homepage":"https://github.com/hello-ai-company/ActionManifest/tree/main/packages/core#readme","repository":{"type":"git","url":"git+https://github.com/hello-ai-company/ActionManifest.git","directory":"packages/core"},"bugs":{"url":"https://github.com/hello-ai-company/ActionManifest/issues"},"license":"Apache-2.0","readme":"# @actionmanifest/core\n\nCanonical document model, hashing, schema validation, trust evaluation, and\nthe error taxonomy. Core is local-only: **no network I/O, no writes to\nthird-party apps** (no calendar/email/Todoist calls — ever).\n\n> **Release status:** release-candidate preparation — not yet published to\n> npm. First release: `0.9.0-rc.1`.\n\n```bash\nnpm install @actionmanifest/core       # once published\n```\n\nRequires Node.js >= 20.\n\n## Usage\n\n```ts\nimport {\n  validateActionManifest,\n  assertCanonicalDocument,\n  ensureSourceHash,\n  evaluateActionTrust,\n} from \"@actionmanifest/core\";\n\nconst doc = assertCanonicalDocument(ensureSourceHash({ id: \"notice-1\", text }));\nconst manifest = validateActionManifest(unknownJson); // dispatches by schema_version\nconst trust = evaluateActionTrust(action, verificationFlags);\n```\n\n## Key exports\n\n- Validation: `validateActionManifest`, `tryValidateActionManifest`,\n  `validateCanonicalDocument`, `assertCanonicalDocument`,\n  `checkCanonicalDocument`\n- Hashing/matching: `ensureSourceHash`, `canonicalText`, `sha256Hex`,\n  `normalizeForMatch`, `sourceContainsQuote`\n- Trust: `evaluateActionTrust`, `trustDispositionFor`, `manifestFatalReasons`\n- Errors: `ActionManifestError` hierarchy incl. the adapter error taxonomy\n\nFull reference: [docs/API.md](../../docs/API.md).\n\n## Links\n\n- Repository: <https://github.com/hello-ai-company/ActionManifest> (this\n  package: `packages/core`)\n- Integration contract: [docs/INTEGRATION-CONTRACT.md](../../docs/INTEGRATION-CONTRACT.md)\n\nApache-2.0.\n","readmeFilename":"README.md","_rev":"1-1122b44896a0263ff75132604eacc772"}