{"_id":"@agent-testkit/schema","_rev":"2-bc3b9972832847cbb20079ce4dfebf90","name":"@agent-testkit/schema","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.0":{"name":"@agent-testkit/schema","version":"0.1.0","keywords":["agent-testkit","agent-testing","llm","testing","schema","openai","anthropic","mock"],"license":"MIT","_id":"@agent-testkit/schema@0.1.0","maintainers":[{"name":"alainbrown","email":"alain.brown@gmail.com"}],"homepage":"https://github.com/alainbrown/agent-testkit#readme","bugs":{"url":"https://github.com/alainbrown/agent-testkit/issues"},"dist":{"shasum":"4573dc9e6ef620b2eb727fd83e8027a9baa33a5a","tarball":"https://registry.npmjs.org/@agent-testkit/schema/-/schema-0.1.0.tgz","fileCount":19,"integrity":"sha512-eQ76fEd442L40IWzbAv0HGt0XZALkFizWuJgP+6jXbG09lhSl9joru/WOUqpmpBNkR4YtBLusZo112c7y9vLQQ==","signatures":[{"sig":"MEUCIATcapzi3Ci7JjMlrYYWB7c/OO6XGOEH1uRGZu9J2FRXAiEA/ndRqSpbPJt706VzdoUKWAbboGaTBtz4s4U+fQiN0Og=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1161588},"type":"module","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./schemas/*":"./schemas/*"},"gitHead":"3d7bb6c69bf1857d06fcbfa29904c9b13a8842ec","scripts":{"test":"node --import tsx --test test/*.test.ts","build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json","generate:schema":"tsx scripts/generate-schema.ts"},"_npmUser":{"name":"alainbrown","email":"alain.brown@gmail.com"},"repository":{"url":"git+https://github.com/alainbrown/agent-testkit.git","type":"git","directory":"packages/schema"},"_npmVersion":"12.0.1","description":"Schema and validation for Agent Testkit behavior documents","directories":{},"_nodeVersion":"26.5.0","dependencies":{"ajv":"^8.20.0","ajv-formats":"^3.0.1","@sinclair/typebox":"^0.34.52"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.1","typescript":"^7.0.2","@types/node":"^24.13.3"},"_npmOperationalInternal":{"tmp":"tmp/schema_0.1.0_1785351362468_0.9452743731374071","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@agent-testkit/schema","version":"0.1.2","type":"module","description":"JSON Schemas and TypeScript types for Agent Testkit documents","license":"MIT","repository":{"type":"git","url":"git+https://github.com/agent-testkit/agent-testkit.git","directory":"packages/schema"},"keywords":["agent-testkit","agent-testing","llm","testing","schema","openai","anthropic","mock"],"publishConfig":{"access":"public"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./schemas/*":"./schemas/*"},"scripts":{"build":"tsc -p tsconfig.json","generate:schema":"tsx scripts/generate-schema.ts","test":"node --import tsx --test test/*.test.ts","typecheck":"tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json"},"dependencies":{"@sinclair/typebox":"^0.34.52","ajv":"^8.20.0","ajv-formats":"^3.0.1"},"devDependencies":{"@types/node":"^24.13.3","tsx":"^4.23.1","typescript":"^7.0.2"},"engines":{"node":">=22"},"gitHead":"e70265a72b1cf1d4c09228bf20f9a45622fe12d9","_id":"@agent-testkit/schema@0.1.2","bugs":{"url":"https://github.com/agent-testkit/agent-testkit/issues"},"homepage":"https://github.com/agent-testkit/agent-testkit#readme","_nodeVersion":"24.18.0","_npmVersion":"11.16.0","dist":{"integrity":"sha512-QyC0YI1+sqc1IxWC10EpWpzOzlgKiDPEcHjkGJ3gZdmMXNCshdE2tLXqhT7AC2YfUSi19ubhFjEZLe4eaD4mgw==","shasum":"763951a3c07a30a7c70c48d0cfe433f78851e6ac","tarball":"https://registry.npmjs.org/@agent-testkit/schema/-/schema-0.1.2.tgz","fileCount":19,"unpackedSize":1161594,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@agent-testkit%2fschema@0.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCOOoyUAlClJ0EX7hN7gYiVs7K3K9QrkeGagbuw6GC7EQIhAOq5NHReyafaFWnfEHMqrW4mi40lgFtAoBitNuVyK/Ml"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:854797bd-b74b-4028-8618-5ede6a18c8be"}},"directories":{},"maintainers":[{"name":"alainbrown","email":"alain.brown@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/schema_0.1.2_1785351939682_0.19333504048819106"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-29T18:56:02.219Z","modified":"2026-07-29T19:05:40.185Z","0.1.0":"2026-07-29T18:56:02.631Z","0.1.2":"2026-07-29T19:05:39.825Z"},"bugs":{"url":"https://github.com/agent-testkit/agent-testkit/issues"},"license":"MIT","homepage":"https://github.com/agent-testkit/agent-testkit#readme","keywords":["agent-testkit","agent-testing","llm","testing","schema","openai","anthropic","mock"],"repository":{"type":"git","url":"git+https://github.com/agent-testkit/agent-testkit.git","directory":"packages/schema"},"description":"JSON Schemas and TypeScript types for Agent Testkit documents","maintainers":[{"name":"alainbrown","email":"alain.brown@gmail.com"}],"readme":"# `@agent-testkit/schema`\n\nTypeBox schemas, inferred TypeScript types, and strict runtime validation for stateless Agent Testkit behavior documents. Documents can reference the current request, captures, and immutable fixtures, but cannot read or mutate cross-request server state.\n\n```ts\nimport {\n  parseAgentTestkitDocument,\n  type AgentTestkitDocument,\n} from \"@agent-testkit/schema\";\n\nconst document = {\n  schemaVersion: \"1\",\n  behaviors: [],\n  unmatchedRequest: \"error\",\n} satisfies AgentTestkitDocument;\n\nconst validated = parseAgentTestkitDocument(document);\n```\n\nRun `npm run generate:schema` at the repository root to regenerate the published JSON Schema files.\n","readmeFilename":"README.md"}