@cosmicdrift/kumiko-guards 0.291.0 → 0.292.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cosmicdrift/kumiko-guards",
3
- "version": "0.291.0",
3
+ "version": "0.292.0",
4
4
  "description": "AST-based security guards for Kumiko repos: direct-fs/fetch, tenant escalation, admin-API, escape hatches and related checks, run over a shared ts-morph project.",
5
5
  "license": "BUSL-1.1",
6
6
  "author": "Marc Frost <marc@cosmicdriftgamestudio.com>",
@@ -27,7 +27,7 @@
27
27
  "kumiko-guards": "./src/cli.ts"
28
28
  },
29
29
  "dependencies": {
30
- "@cosmicdrift/kumiko-repo-manifest": "0.291.0",
30
+ "@cosmicdrift/kumiko-repo-manifest": "0.292.0",
31
31
  "ts-morph": "^28.0.0"
32
32
  },
33
33
  "publishConfig": {
package/src/changes.json CHANGED
@@ -1,4 +1,10 @@
1
1
  [
2
+ {
3
+ "version": "0.292.0",
4
+ "type": "improvement",
5
+ "title": "Export the three suite runners so a CLI can compose them in-process",
6
+ "detail": "runGuardsCli, runUiGuardsCli and runRepoChecksCli (plus their flag lists and cliFlagsError) were only reachable from their own runner modules, so a caller had to spawn three subprocesses — each building its own ts-morph project. They are part of the package entry point now, which lets `kumiko check` run all three over one shared project in a single process."
7
+ },
2
8
  {
3
9
  "version": "0.291.0",
4
10
  "type": "improvement",
package/src/index.ts CHANGED
@@ -2,6 +2,7 @@ export {
2
2
  type AstGuard,
3
3
  buildGuardKitInventory,
4
4
  buildSharedProject,
5
+ cliFlagsError,
5
6
  explainGuards,
6
7
  filesForGuard,
7
8
  type GuardKitInventory,
@@ -27,6 +28,6 @@ export {
27
28
  type SecurityBaselineLoad,
28
29
  } from "./_lib/security-baseline";
29
30
  export { writeSecurityBaselines } from "./_lib/security-baseline-cli";
30
- export { GUARDS } from "./run-guards";
31
- export { REPO_CHECKS } from "./run-repo-checks";
32
- export { UI_GUARDS } from "./run-ui-guards";
31
+ export { GUARD_FLAGS, GUARDS, runGuardsCli } from "./run-guards";
32
+ export { REPO_CHECK_FLAGS, REPO_CHECKS, runRepoChecksCli } from "./run-repo-checks";
33
+ export { runUiGuardsCli, UI_GUARD_FLAGS, UI_GUARDS } from "./run-ui-guards";