Toolchain Advisor

/toolchain-advisor hosts an interactive decision flow that matches the SDL definitions used by the DevCentr desktop app.

Data flow

  1. scripts/sync-advisor-catalog.mjs copies catalog/advisor.sdl from a toolchain-advisor checkout.

  2. It compiles SDL to JSON via toolchain-advisor/scripts/compile-sdl.mjs.

  3. Outputs land in public/catalog/advisor.json and public/catalog/advisor.sdl.

  4. src/components/ToolchainAdvisor.tsx loads the JSON at runtime.

CI checks out dev-centr/toolchain-advisor into toolchain-advisor/ before sync. Locally, place a sibling clone at ../toolchain-advisor or run pnpm sync-advisor after cloning.

If compilation fails but a committed advisor.json exists in the definitions repo, the sync script falls back to that file.

Route