@dr-yaml/ir
v0.0.2
Published
Universal Intermediate Representation for CI/CD pipelines — the keystone of the dr-yaml toolchain.
Downloads
294
Maintainers
Readme
@dr-yaml/ir
Universal Intermediate Representation for CI/CD pipelines — the keystone of the dr-yaml toolchain. Every adapter parses into this IR; every consumer (CLI, web app, simulator, MCP server) reads only from it.
Install
npm install @dr-yaml/irWhat's in here
Pipeline,Workflow,Job,Step,Predicate,CapabilityManifestTypeScript types + matching Zod schemas.evaluatePredicate(pred, env)— the predicate evaluator every adapter's conditional logic reduces to.evalExpr(expr, env)— a safe subset expression evaluator. Noeval(), nonew Function()— AST-walked.
See SPECS.md for the complete IR contract.
License
MIT.
