@habitat-ai/cli 0.5.10 → 0.5.11

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/README.md CHANGED
@@ -3,6 +3,18 @@
3
3
  Habitat's Oclif CLI and native Nx integration. The package owns the portable
4
4
  repository preset, Habitat policy projection, and the public `habitat` command.
5
5
 
6
+ ## External Oclif Extensions
7
+
8
+ The CLI composes Oclif's native extension lifecycle without wrapping or
9
+ reimplementing it:
10
+
11
+ ```sh
12
+ habitat plugins --help
13
+ ```
14
+
15
+ `@oclif/plugin-plugins` owns listing, installation, linking, inspection,
16
+ updates, reset, uninstallation, aliases, and its native per-user state.
17
+
6
18
  ## Create A Repository
7
19
 
8
20
  Nx invokes the package's Bun-only `preset` generator while creating the workspace:
@@ -55,7 +67,7 @@ the final command applies the repository changes:
55
67
 
56
68
  ```sh
57
69
  NX_MIGRATE_CLI_VERSION=23.1.1 NX_SKIP_PROVENANCE_CHECK=true \
58
- bunx nx migrate @habitat-ai/cli@0.5.10
70
+ bunx nx migrate @habitat-ai/cli@0.5.11
59
71
  bun install
60
72
  NX_MIGRATE_CLI_VERSION=23.1.1 NX_SKIP_PROVENANCE_CHECK=true \
61
73
  bunx nx migrate --run-migrations=migrations.json --no-interactive
@@ -99,5 +99,5 @@
99
99
  ]
100
100
  }
101
101
  },
102
- "version": "0.5.10"
102
+ "version": "0.5.11"
103
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@habitat-ai/cli",
3
- "version": "0.5.10",
3
+ "version": "0.5.11",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -55,15 +55,17 @@
55
55
  "build": "tsc -p src/tsconfig.build.json",
56
56
  "manifest": "NODE_ENV=production bun --bun oclif manifest",
57
57
  "acceptance:oclif-installed-package": "vitest run --project habitat-cli-installed-package-acceptance",
58
+ "acceptance:oclif-native-plugins": "vitest run --project habitat-cli-native-plugins-acceptance",
58
59
  "typecheck": "tsc -p tsconfig.json --noEmit",
59
60
  "check:test": "tsc -p test/tsconfig.json --noEmit",
60
61
  "test": "vitest run --project habitat-cli"
61
62
  },
62
63
  "dependencies": {
63
- "@habitat-ai/sdk": "0.5.10",
64
+ "@habitat-ai/sdk": "0.5.11",
64
65
  "@nx/devkit": "23.1.1",
65
66
  "@oclif/core": "^4.13.2",
66
67
  "@oclif/plugin-help": "^6.2.27",
68
+ "@oclif/plugin-plugins": "^5.4.84",
67
69
  "typebox": "1.3.8"
68
70
  },
69
71
  "devDependencies": {
@@ -79,7 +81,8 @@
79
81
  "commands": "./dist/commands",
80
82
  "topicSeparator": " ",
81
83
  "plugins": [
82
- "@oclif/plugin-help"
84
+ "@oclif/plugin-help",
85
+ "@oclif/plugin-plugins"
83
86
  ],
84
87
  "typescript": {
85
88
  "commands": "./src/commands"
@@ -110,6 +113,13 @@
110
113
  "manifest"
111
114
  ],
112
115
  "outputs": []
116
+ },
117
+ "acceptance:oclif-native-plugins": {
118
+ "cache": false,
119
+ "dependsOn": [
120
+ "manifest"
121
+ ],
122
+ "outputs": []
113
123
  }
114
124
  }
115
125
  },