@habitat-ai/cli 0.5.0 → 0.5.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.
@@ -248,6 +248,8 @@ function compatibilityInputs(rule, runtimeInputs) {
248
248
  if (rule.runner.name === "grit") {
249
249
  addLocalAssetInput(files, rule.runner.pattern);
250
250
  for (const entry of rule.runner.acquisition.entries) {
251
+ if (entry.kind === "directory" && entry.path === ".")
252
+ continue;
251
253
  addSubjectInputs(files, entry.path, entry.kind);
252
254
  }
253
255
  }
package/dist/nx-plugin.js CHANGED
@@ -4,10 +4,12 @@ const clientForWorkspace = createHabitatClientForWorkspace;
4
4
  const plugin = createHabitatNxPlugin({
5
5
  clientForWorkspace,
6
6
  runtimeInputs: [
7
- { externalDependencies: ["@habitat-ai/cli", "@habitat-ai/sdk"] },
7
+ // The CLI pins its SDK exactly, so the CLI node and lockfile identify the runtime closure.
8
+ { externalDependencies: ["@habitat-ai/cli"] },
8
9
  "{workspaceRoot}/bun.lock",
9
10
  "{workspaceRoot}/package.json",
10
11
  { env: "HABITAT_COMMAND_TIMEOUT_MS" },
12
+ { env: "NX_WORKSPACE_ROOT_PATH" },
11
13
  ],
12
14
  });
13
15
  /** Native Nx project inference backed by the public Habitat SDK. */
@@ -99,5 +99,5 @@
99
99
  ]
100
100
  }
101
101
  },
102
- "version": "0.5.0"
102
+ "version": "0.5.2"
103
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@habitat-ai/cli",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -45,7 +45,7 @@
45
45
  "test": "vitest run --project habitat-cli"
46
46
  },
47
47
  "dependencies": {
48
- "@habitat-ai/sdk": "0.5.0",
48
+ "@habitat-ai/sdk": "0.5.2",
49
49
  "@nx/devkit": "23.1.0",
50
50
  "@oclif/core": "^4.13.2",
51
51
  "@oclif/plugin-help": "^6.2.27",