@habitat-ai/cli 0.2.1 → 0.2.2

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
@@ -51373,9 +51373,9 @@ var module3 = service4.catalog.use(async ({ context: context4, next }) => next({
51373
51373
  // ../../services/habitat/dist/service/modules/catalog/router/catalog.router.js
51374
51374
  var authorityGlobs = [
51375
51375
  { kind: "blueprint", pattern: ".habitat/blueprints/*/blueprint.toml" },
51376
- { kind: "index", pattern: ".habitat/{index.json}" },
51377
51376
  { kind: "rule", pattern: ".habitat/**/rule.json" }
51378
51377
  ];
51378
+ var compatibilityIndexAuthorityPath = ".habitat/index.json";
51379
51379
  var excludedDirectorySegments = new Set([
51380
51380
  ".git",
51381
51381
  ".nx",
@@ -51491,6 +51491,12 @@ function resolveCurrentCatalog(context4) {
51491
51491
  pathsByKind[kind].push(relativePath);
51492
51492
  }
51493
51493
  }
51494
+ const compatibilityIndexStat = yield* exports_Effect.result(fileSystem.stat(path.resolve(workspaceRoot, compatibilityIndexAuthorityPath)));
51495
+ if (compatibilityIndexStat._tag === "Success") {
51496
+ pathsByKind.index.push(compatibilityIndexAuthorityPath);
51497
+ } else if (!isNotFound(compatibilityIndexStat.failure)) {
51498
+ enumerationIssues.push(filesystemIssue(compatibilityIndexStat.failure, compatibilityIndexAuthorityPath, "inspect compatibility index", "Compatibility index does not exist."));
51499
+ }
51494
51500
  const manifestCandidates = [];
51495
51501
  const pendingDirectories = [{ relativePath: "", realPath: workspaceRealRoot }];
51496
51502
  const visitedDirectories = new Set([workspaceRealRoot]);
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "commands": {},
3
- "version": "0.2.1"
3
+ "version": "0.2.2"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@habitat-ai/cli",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
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.2.1",
52
- "@habitat-ai/resource-rule-evaluation": "0.2.1",
53
- "@habitat-ai/resource-source-inventory": "0.2.1",
54
- "@habitat-ai/service": "0.2.1",
51
+ "@habitat-ai/plugin-cli": "0.2.2",
52
+ "@habitat-ai/resource-rule-evaluation": "0.2.2",
53
+ "@habitat-ai/resource-source-inventory": "0.2.2",
54
+ "@habitat-ai/service": "0.2.2",
55
55
  "@nx/devkit": "23.1.0",
56
56
  "@oclif/core": "^4.11.4",
57
57
  "@oclif/plugin-help": "^6.2.27",