@habitat-ai/cli 0.3.0 → 0.3.1

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/dist/nx-plugin.js CHANGED
@@ -46311,9 +46311,12 @@ function makeGritRuleEvaluationResource(config) {
46311
46311
  }
46312
46312
  const programs = [
46313
46313
  materializeProgram(firstProgram, 0),
46314
- ...remainingPrograms.map((program, index4) => materializeProgram(program, index4 + 1))
46314
+ ...remainingPrograms.map((program) => materializeProgram(program, 0))
46315
46315
  ];
46316
- return yield* exports_Effect.scoped(withScopedGritCatalog(programs, (catalog) => runGritCheck(config, catalog, programs, input.subjectPaths)));
46316
+ const evaluations = yield* exports_Effect.forEach(programs, (program) => exports_Effect.scoped(withScopedGritCatalog([program], (catalog) => runGritCheck(config, catalog, [program], input.subjectPaths))), { concurrency: 1 });
46317
+ return Object.freeze({
46318
+ results: Object.freeze(evaluations.flatMap(({ results }) => results))
46319
+ });
46317
46320
  });
46318
46321
  return Object.freeze({ evaluate: evaluate6 });
46319
46322
  }
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "commands": {},
3
- "version": "0.3.0"
3
+ "version": "0.3.1"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@habitat-ai/cli",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -48,10 +48,10 @@
48
48
  "dependencies": {
49
49
  "@effect/platform-node": "4.0.0-beta.101",
50
50
  "@getgrit/cli": "0.1.0-alpha.1743007075",
51
- "@habitat-ai/plugin-cli": "0.3.0",
52
- "@habitat-ai/resource-rule-evaluation": "0.3.0",
53
- "@habitat-ai/resource-source-inventory": "0.3.0",
54
- "@habitat-ai/service": "0.3.0",
51
+ "@habitat-ai/plugin-cli": "0.3.1",
52
+ "@habitat-ai/resource-rule-evaluation": "0.3.1",
53
+ "@habitat-ai/resource-source-inventory": "0.3.1",
54
+ "@habitat-ai/service": "0.3.1",
55
55
  "@nx/devkit": "23.1.0",
56
56
  "@oclif/core": "^4.11.4",
57
57
  "@oclif/plugin-help": "^6.2.27",