astralis-cli 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/CHANGELOG.md +167 -0
  2. package/LICENSE +21 -0
  3. package/README.md +179 -29
  4. package/package.json +29 -10
  5. package/src/commands/add.mjs +48 -71
  6. package/src/commands/connect-mcp.mjs +66 -29
  7. package/src/commands/create.mjs +73 -100
  8. package/src/commands/init.mjs +59 -22
  9. package/src/commands/report.mjs +257 -0
  10. package/src/commands/theme.mjs +77 -104
  11. package/src/commands/validate.mjs +101 -0
  12. package/src/index.mjs +26 -48
  13. package/src/lib/args.mjs +135 -0
  14. package/src/lib/aria.mjs +40 -0
  15. package/src/lib/children-rule.mjs +23 -0
  16. package/src/lib/ci-setup.mjs +78 -0
  17. package/src/lib/ci.mjs +155 -0
  18. package/src/lib/commands.mjs +214 -0
  19. package/src/lib/css-value.mjs +141 -0
  20. package/src/lib/devtools-setup.mjs +142 -0
  21. package/src/lib/edits.mjs +206 -26
  22. package/src/lib/github-annotations.mjs +26 -0
  23. package/src/lib/github.d.mts +72 -0
  24. package/src/lib/github.mjs +339 -0
  25. package/src/lib/library.mjs +40 -0
  26. package/src/lib/menu.mjs +59 -0
  27. package/src/lib/prompt-child.mjs +85 -39
  28. package/src/lib/registry.mjs +37 -4
  29. package/src/lib/report-tree.mjs +134 -0
  30. package/src/lib/run.mjs +39 -0
  31. package/src/lib/snapshot.d.mts +65 -0
  32. package/src/lib/snapshot.mjs +371 -0
  33. package/src/lib/source-files.mjs +29 -0
  34. package/src/lib/spec-load.mjs +32 -0
  35. package/src/lib/spec-resolve.mjs +20 -0
  36. package/src/lib/starter.mjs +11 -19
  37. package/src/lib/suggest.mjs +32 -0
  38. package/src/lib/ui.mjs +78 -36
  39. package/src/lib/validate-core.d.mts +48 -0
  40. package/src/lib/validate-core.mjs +652 -0
  41. package/src/lib/validate.d.mts +33 -0
  42. package/src/lib/validate.mjs +8 -0
@@ -0,0 +1,8 @@
1
+ /* The validator as a library — one import surface for every seat the judge
2
+ sits in: the `astralis validate` command, CI, the MCP validate tool
3
+ (astralis-mcp depends on this subpath via `astralis-cli/validate`) and the
4
+ DevTools bridge (astralis-devtools).
5
+ The core is pure; spec resolution and file collection are the parts that touch disk. */
6
+ export { prepareSpec, validateSource } from "./validate-core.mjs";
7
+ export { findInstalledLibrary, findInstalledSpec } from "./spec-resolve.mjs";
8
+ export { collectSourceFiles, SKIP_DIRS, SOURCE_FILE } from "./source-files.mjs";