{"_id":"@act-spec/validator","name":"@act-spec/validator","dist-tags":{"rc":"0.2.0-rc.1","latest":"0.2.0-rc.1"},"versions":{"0.2.0-rc.1":{"name":"@act-spec/validator","version":"0.2.0-rc.1","description":"PRD-600 conformance validator for the ACT (Agent Content Tree) v0.1 wire format. Library + CLI + hosted SPA.","license":"Apache-2.0","author":{"name":"Jeremy Forsythe","email":"jeremy@act-spec.org"},"homepage":"https://act-spec.org","bugs":{"url":"https://github.com/act-spec/act/issues"},"type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","bin":{"act-validate":"bin/act-validate.js"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/act-spec/act.git","directory":"packages/validator"},"dependencies":{"ajv":"^8.17.1","ajv-formats":"^3.0.1","@act-spec/core":"0.2.0-rc.1"},"devDependencies":{"@stryker-mutator/core":"^9.6.1","@stryker-mutator/vitest-runner":"^9.6.1","@vitest/coverage-v8":"^2.1.9","tsx":"^4.19.2","typescript":"^5.6.3","vitest":"^2.1.4","@act-spec/_test-utils":"0.0.0"},"scripts":{"build":"tsc -p tsconfig.json","start":"pnpm -F @act-spec/validator-web dev","test":"vitest run","test:watch":"vitest","test:coverage":"vitest run --coverage","test:mutation":"stryker run stryker.config.json","lint":"eslint src","typecheck":"tsc -p tsconfig.json --noEmit","conformance":"tsx conformance.ts"},"_id":"@act-spec/validator@0.2.0-rc.1","_integrity":"sha512-2B0YBh5hXJyFd1RxWymUt2+lqHChgnZHp4uljAFZDX3JE/n2o6MGhr34MGbDlC30bp5X/drBMLiDhbJk6OGFhA==","_resolved":"/private/var/folders/yp/y7frhcvj70jgr6b8g633lghr0000gn/T/d10cb23dac01674ac2a862b217fd0fda/act-spec-validator-0.2.0-rc.1.tgz","_from":"file:act-spec-validator-0.2.0-rc.1.tgz","_nodeVersion":"22.19.0","_npmVersion":"11.6.0","dist":{"integrity":"sha512-2B0YBh5hXJyFd1RxWymUt2+lqHChgnZHp4uljAFZDX3JE/n2o6MGhr34MGbDlC30bp5X/drBMLiDhbJk6OGFhA==","shasum":"5ea2625d143fffae64349156b223fa07da667320","tarball":"https://registry.npmjs.org/@act-spec/validator/-/validator-0.2.0-rc.1.tgz","fileCount":64,"unpackedSize":399871,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAZKCgzunWd4heYQUZWfgTnY4waAVS68XekQqhs192KuAiA3sJMvgoZ86e/O+EstPhdIhWAs4idQ1vc/cYwYr5CScw=="}]},"_npmUser":{"name":"jdforsythe","email":"jdforsythe@gmail.com"},"directories":{},"maintainers":[{"name":"jdforsythe","email":"jdforsythe@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/validator_0.2.0-rc.1_1777915334404_0.6926336475688504"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-04T17:22:14.264Z","0.2.0-rc.1":"2026-05-04T17:22:14.563Z","modified":"2026-05-04T17:22:14.835Z"},"maintainers":[{"name":"jdforsythe","email":"jdforsythe@gmail.com"}],"description":"PRD-600 conformance validator for the ACT (Agent Content Tree) v0.1 wire format. Library + CLI + hosted SPA.","homepage":"https://act-spec.org","repository":{"type":"git","url":"git+https://github.com/act-spec/act.git","directory":"packages/validator"},"author":{"name":"Jeremy Forsythe","email":"jeremy@act-spec.org"},"bugs":{"url":"https://github.com/act-spec/act/issues"},"license":"Apache-2.0","readme":"# @act-spec/validator\n\nConformance validator for ACT (Agent Content Tree).\n\nWhen implemented, this package ships:\n\n- `validateManifest`, `validateNode`, `validateIndex`, `validateNdjsonIndex`, `validateSubtree`, `validateError`, `validateSite` (TypeScript library).\n- `act-validate` CLI.\n- A static SPA at `/validator/` on the ACT spec's GitHub Pages site.\n\nThe reporter shape (`Gap`, `Warning`, `AchievedLevel`, `ConformanceReport`) lives in `@act-spec/core`.\n\n## Status\n\nACT v0.1 internal hand-test candidate. Public release lands at v0.2.\n\n## Install\n\nUnpublished in v0.1. Consume via the workspace:\n\n```jsonc\n// package.json\n{ \"dependencies\": { \"@act-spec/validator\": \"workspace:*\" } }\n```\n\n## Usage\n\n```ts\nimport { validateSite, validateManifest, validateNode } from '@act-spec/validator';\n\nconst report = await validateSite('https://example.com/');\nif (report.gaps.length === 0) {\n  console.log(`Achieved level: ${report.achievedLevel}`);\n}\n```\n\nCLI:\n\n```bash\nact-validate https://example.com/\n```\n\nBrowser UI (boots the validator SPA on http://localhost:5174/validator/, paste any\nURL — including `http://localhost:<port>` for a locally-running ACT site):\n\n```bash\npnpm -F @act-spec/validator start\n```\n\n## Links\n\n- Reporter types: [`@act-spec/core`](../core)\n- Repository: <https://github.com/act-spec/act>\n","readmeFilename":"README.md","_rev":"1-3c037019d477f2a932a7012a6d02c7fc"}