{"_id":"@atom-workflow-agent/contracts","name":"@atom-workflow-agent/contracts","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@atom-workflow-agent/contracts","version":"0.1.0","description":"Versioned schemas, records, and errors shared across the runtime.","license":"Apache-2.0","repository":{"type":"git","url":"git+https://github.com/joekbits/atom-workflow-agent.git","directory":"packages/contracts"},"homepage":"https://github.com/joekbits/atom-workflow-agent/tree/main/packages/contracts#readme","bugs":{"url":"https://github.com/joekbits/atom-workflow-agent/issues"},"keywords":["atom","workflow","contracts","schema"],"type":"module","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"publishConfig":{"access":"public","provenance":true},"engines":{"node":">=22"},"dependencies":{"zod":"^4.0.0"},"scripts":{"build":"tsc -p tsconfig.json","typecheck":"tsc -p tsconfig.json --noEmit","test":"vitest run"},"_id":"@atom-workflow-agent/contracts@0.1.0","_integrity":"sha512-dC/x3wFx1EMmT7KbF7vHop8KN0wXlQKUnbrz0opzb5t3mMTWaRS19xdeg5KzQ29JpsSL6fUojwgAr9ChDt81pw==","_resolved":"/private/tmp/atomflow-npm-release-20260902-1720/atom-workflow-agent-contracts-0.1.0.tgz","_from":"file:/private/tmp/atomflow-npm-release-20260902-1720/atom-workflow-agent-contracts-0.1.0.tgz","_nodeVersion":"22.22.2","_npmVersion":"10.9.7","dist":{"integrity":"sha512-dC/x3wFx1EMmT7KbF7vHop8KN0wXlQKUnbrz0opzb5t3mMTWaRS19xdeg5KzQ29JpsSL6fUojwgAr9ChDt81pw==","shasum":"042c6d3e96455e83f2cac4ac7751e15d2a3a5acd","tarball":"https://registry.npmjs.org/@atom-workflow-agent/contracts/-/contracts-0.1.0.tgz","fileCount":108,"unpackedSize":620284,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIEU6TMkt1KsGy6YRlM61rRMto1A1RbcBNg6Q1SGk1uD4AiEA6NabdhT1/fDdBJsPydqz69vhUwSL6asS/DPS6vCrNyw="}]},"_npmUser":{"name":"joekbits","email":"wangfeihong868@foxmail.com"},"directories":{},"maintainers":[{"name":"joekbits","email":"wangfeihong868@foxmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/contracts_0.1.0_1788341241991_0.010051845415809169"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-02T09:27:21.811Z","0.1.0":"2026-09-02T09:27:22.119Z","modified":"2026-09-02T09:27:22.553Z"},"maintainers":[{"name":"joekbits","email":"wangfeihong868@foxmail.com"}],"description":"Versioned schemas, records, and errors shared across the runtime.","homepage":"https://github.com/joekbits/atom-workflow-agent/tree/main/packages/contracts#readme","keywords":["atom","workflow","contracts","schema"],"repository":{"type":"git","url":"git+https://github.com/joekbits/atom-workflow-agent.git","directory":"packages/contracts"},"bugs":{"url":"https://github.com/joekbits/atom-workflow-agent/issues"},"license":"Apache-2.0","readme":"# @atom-workflow-agent/contracts\n\n[English](README.md) | [简体中文](README.zh-CN.md)\n\n跨包、跨进程、持久化与 CLI 边界共享的版本化数据契约。\n\n## 职责\n\n- Atom Manifest/Descriptor、生命周期转换、ACP/Host 契约、WorkflowSpec 与 IR。\n- Plan、Revision、Run、Topology、Visualization、Diagnostics 与 Resume 记录。\n- JSON Schema 实例校验和稳定 AtomWorkflowError。\n\n## 边界\n\n- 不执行模块加载、模型调用、调度或文件 I/O。\n\n## 主要入口\n\n- `WorkflowSpecSchema`\n- `WorkflowIRSchema`\n- `AtomWorkflowError`\n- `RunDiagnostic`\n\n## 开发\n\n```bash\npnpm --filter @atom-workflow-agent/contracts typecheck\npnpm --filter @atom-workflow-agent/contracts test\n```\n\n通用概念与完整流程见项目[中文文档](../../docs/README.zh-CN.md)。\n","readmeFilename":"README.zh-CN.md","_rev":"1-de3ba0c23b55dd600e807578fe19c8e5"}