@dr-yaml/core
v0.0.2
Published
Shared orchestrator for dr-yaml — loadPipeline, analyze, lint, describe, migrate (deterministic + optional LLM-assisted) over @dr-yaml/ir.
Downloads
216
Maintainers
Readme
@dr-yaml/core
Shared orchestrator for the
dr-yaml toolchain. Every
CLI command, every MCP tool, and the web app all go through the
same @dr-yaml/core surface.
Install
npm install @dr-yaml/coreSurface
loadPipeline(source)— parse YAML from an inline string, file path, or URL. Dispatches to the right adapter automatically.analyzePipeline(pipeline, input)— simulation + cost/duration rollups + warnings aggregation.lint(pipeline)— ruleset covering deprecated action versions,npm installvsnpm ci, missing secrets, orphanedneeds, and timeout-less long-running jobs.describePipeline(pipeline)— markdown + structured summary + Mermaid graph.migrate({ source, targetPlatform, llm? })— deterministic cross-platform YAML emission. Optional LLM suggestions for lossy entries.
Internal deps (adapters, ir, simulator) are brought in automatically.
License
MIT.
