{"_id":"@davioj/ai4se-contracts","_rev":"2-0b267815380bad23d49df9fe35be138d","name":"@davioj/ai4se-contracts","dist-tags":{"latest":"1.2.2"},"versions":{"1.2.0":{"name":"@davioj/ai4se-contracts","version":"1.2.0","_id":"@davioj/ai4se-contracts@1.2.0","maintainers":[{"name":"davioj","email":"davi.ojanu@gmail.com"}],"dist":{"shasum":"caba7e84c686ec9220762a866ff11e39656238fd","tarball":"https://registry.npmjs.org/@davioj/ai4se-contracts/-/ai4se-contracts-1.2.0.tgz","fileCount":10,"integrity":"sha512-u1XCVTwMAqtOOp13rwuvvtmtyLB6ujwI9kk7vUuBM0XG/PGewwnzIessAVoQi7+Di/imrEhK+aomPPaMxvWEVg==","signatures":[{"sig":"MEQCIFyN5/0BRvGWVDb+GlnCpjeyteO7OMjBcV6k+Z2qxAxIAiBJsr3TdMlRFPXDA+dtI6pN53D1pnnOFJ9JntxUupr0/w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":42544},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=22.5"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"f3d8c2053135e33f83d071184977f23ad7ea8d49","scripts":{"test":"vitest run","build":"tsc -p tsconfig.json","prepack":"npm run build","typecheck":"tsc -p tsconfig.json --noEmit"},"_npmUser":{"name":"davioj","email":"davi.ojanu@gmail.com"},"_npmVersion":"11.13.0","description":"Versioned HTTP, SSE, feature specification, and metrics contracts for AI4SE services.","directories":{},"_nodeVersion":"24.16.0","dependencies":{"zod":"3.25.76","yaml":"2.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"2.1.9","typescript":"5.9.3","@types/node":"22.20.1"},"_npmOperationalInternal":{"tmp":"tmp/ai4se-contracts_1.2.0_1787409238700_0.6206976225791982","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@davioj/ai4se-contracts","version":"1.2.2","description":"Versioned HTTP, SSE, feature specification, and metrics contracts for AI4SE services.","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","test":"vitest run","prepack":"npm run build"},"engines":{"node":">=22.5"},"publishConfig":{"access":"public"},"dependencies":{"yaml":"2.9.0","zod":"3.25.76"},"devDependencies":{"@types/node":"22.20.1","typescript":"5.9.3","vitest":"2.1.9"},"_id":"@davioj/ai4se-contracts@1.2.2","gitHead":"9a5f60d6cdf9ddac26988934562d73286886e492","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-zJGVUSkYv5i+Qqglay16NGMRphGpuN38ALUyUoGazZsIN9HMXkQ9E592DHeYZGOaUeT/x6pFwX3pnGM7jEPrHQ==","shasum":"da0dd13c217ec2aa1db967bd57b1531a86e35736","tarball":"https://registry.npmjs.org/@davioj/ai4se-contracts/-/ai4se-contracts-1.2.2.tgz","fileCount":6,"unpackedSize":39529,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDdkOL9OfikGuKeTwhtcuGolfJ6YOkOsAoX2yv8gdI2cAIgHcdxsZguv5H08vSetxK31ESX+JnolTuiM1XbndMtHpQ="}]},"_npmUser":{"name":"davioj","email":"davi.ojanu@gmail.com"},"directories":{},"maintainers":[{"name":"davioj","email":"davi.ojanu@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ai4se-contracts_1.2.2_1787412886225_0.7602768259528816"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-22T14:33:58.579Z","modified":"2026-08-22T15:34:46.548Z","1.2.0":"2026-08-22T14:33:58.836Z","1.2.2":"2026-08-22T15:34:46.414Z"},"description":"Versioned HTTP, SSE, feature specification, and metrics contracts for AI4SE services.","maintainers":[{"name":"davioj","email":"davi.ojanu@gmail.com"}],"readme":"# @ai4se/contracts\n\nContratos públicos e versionados usados por todos os serviços AI4SE.\n\nO pacote contém:\n\n- schema e parser YAML de `FeatureSpec`;\n- tipos e schemas de provedores LLM;\n- envelope de eventos SSE do pipeline;\n- eventos e relatórios de métricas;\n- contratos comuns de health check e erro HTTP.\n\n## Uso\n\n```ts\nimport { parseFeatureSpec, pipelineEventSchema } from \"@ai4se/contracts\";\n```\n\n## Desenvolvimento\n\n```bash\nnpm install\nnpm test\nnpm run build\n```\n\nTags no formato `vX.Y.Z` publicam o pacote no registro npm configurado, usando o secret\n`NPM_TOKEN` do repositório GitHub.\n","readmeFilename":"README.md"}