@habitat-ai/cli 0.6.0 → 0.8.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/README.md +46 -0
- package/dist/{application-gZ8XAszE.js → application-fyrwZzvC.js} +3 -3
- package/dist/application.js +1 -1
- package/dist/{cli-hhbbymEz.js → cli-B3N248Jk.js} +2451 -363
- package/dist/cli.js +1 -1
- package/dist/generators/cli-command.js +1 -1
- package/dist/generators/service.js +2 -2
- package/dist/{habitat.app-Cl-58zQB.js → habitat.app-B8eGl9YJ.js} +1990 -319
- package/dist/habitat.app.js +1 -1
- package/dist/index.js +1 -1
- package/dist/nx-plugin.js +12 -6
- package/dist/{oclif-CJS8CHjO.js → oclif-fzwqfE6X.js} +1 -1
- package/dist/oclif.js +1 -1
- package/generators/service/files/AGENTS.md.template +3 -0
- package/generators/service/files/habitat.toml.template +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -27,6 +27,13 @@ and the selected commit's `.habitat/release-input.json`. Older `.rawr` paths are
|
|
|
27
27
|
not fallback aliases. Publishing these records in Marketplace is a separate
|
|
28
28
|
repository-owner adoption action; installing the CLI does not migrate them.
|
|
29
29
|
|
|
30
|
+
The Codex, Claude, and Antigravity targets can configure a plugin's declared
|
|
31
|
+
loopback HTTP MCP server in the selected host home. Installing this CLI alone
|
|
32
|
+
does not change host settings. Run one sync per home at a time: independent
|
|
33
|
+
processes do not share a ledger lock. Antigravity's native `agy` can rewrite
|
|
34
|
+
`mcp_config.json` with broader read permissions; do not store credentials
|
|
35
|
+
directly in that file.
|
|
36
|
+
|
|
30
37
|
Technical telemetry defaults to disabled. `HABITAT_TELEMETRY` accepts explicit
|
|
31
38
|
JSON matching the SDK's `OpenTelemetryNodeConfigSchema`, excluding
|
|
32
39
|
`processIdentity`, which the app supplies. Enabled configuration specifies all
|
|
@@ -117,6 +124,45 @@ A package-only upgrade may correctly generate no migration file. Do not replay
|
|
|
117
124
|
an older plan or synthesize one. No consumer copies or independently maintains
|
|
118
125
|
the preset wiring.
|
|
119
126
|
|
|
127
|
+
**Windows is not supported in 0.8.0.** Installed-package acceptance runs on
|
|
128
|
+
Linux in CI and separately on macOS; Windows is not tested in CI. In earlier
|
|
129
|
+
hosted Windows
|
|
130
|
+
runs, the package-manager install inside `create-nx-workspace` and the install
|
|
131
|
+
of the new pair during an upgrade intermittently stalled past their deadlines,
|
|
132
|
+
with the cause not identified. The Windows policy behaviour described below is
|
|
133
|
+
kept in the CLI but is no longer tested.
|
|
134
|
+
|
|
135
|
+
**Windows policy checks:** Habitat can check explicit files with Grit on
|
|
136
|
+
Windows. If a selected Grit rule scans a directory, the CLI reports
|
|
137
|
+
`cannot evaluate on Windows`, marks the application as an error, and exits
|
|
138
|
+
nonzero from `habitat check`. This includes rules whose patterns might work
|
|
139
|
+
on Windows in isolation. Run the same selection on macOS or Linux to obtain
|
|
140
|
+
a verdict. The distinction is the input to Grit: a catalog rule that resolves
|
|
141
|
+
a directory or glob to an explicit file list still gets checked. The bundled
|
|
142
|
+
service v1 and resource v1 policies include direct directory scans; a new
|
|
143
|
+
preset does not select them automatically. Native structure checks are
|
|
144
|
+
unaffected. Codex agent-stop runs structure checks, not Grit.
|
|
145
|
+
|
|
146
|
+
Windows also limits the length of a native command line. A large explicit
|
|
147
|
+
file list may not fit; that check returns an error, not a partial result.
|
|
148
|
+
Run the full selection on macOS or Linux rather than dropping files.
|
|
149
|
+
|
|
150
|
+
Habitat's inferred Nx policy targets distinguish host platforms when they
|
|
151
|
+
run Grit, even for explicit files. Custom cacheable targets that wrap `habitat check`
|
|
152
|
+
must do the same or run uncached; a cached POSIX pass is not a Windows result.
|
|
153
|
+
|
|
154
|
+
**Existing services on the beta.51 oRPC cohort:** updating the CLI/SDK pair
|
|
155
|
+
does not change which service policy a repository selected. For the bundled
|
|
156
|
+
service blueprint, change the service's own `habitat.toml` from version 3
|
|
157
|
+
to 5, or from 4 to 6, preserving its existing base policy. Do not infer the
|
|
158
|
+
selection from the installed package version. From the workspace root, run
|
|
159
|
+
`habitat resolve --json`, then `habitat check --owner <project> --json`.
|
|
160
|
+
Look for the evaluated `service_v5_effect_bridge` or `service_v6_effect_bridge`
|
|
161
|
+
rule. A pass on the older rule does not cover the renamed bridge. Align any
|
|
162
|
+
direct native dependencies with the selected SDK; a single physical oRPC
|
|
163
|
+
and Effect installation is required. Plain handlers need no bootstrap;
|
|
164
|
+
Effect services use only the SDK facade in `src/service/impl.ts`.
|
|
165
|
+
|
|
120
166
|
Habitat `0.5.3` used Nx `23.1.0`, whose provenance reader predates npm 12. When
|
|
121
167
|
that exact historical pair is upgraded under npm 12, pin the migration CLI and
|
|
122
168
|
scope Nx's documented compatibility flag to both migration commands. The first
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as runHabitatProcess } from "./cli-
|
|
2
|
-
import {
|
|
3
|
-
import { n as sourceBundle } from "./oclif-
|
|
1
|
+
import { n as runHabitatProcess } from "./cli-B3N248Jk.js";
|
|
2
|
+
import { I as contract } from "./habitat.app-B8eGl9YJ.js";
|
|
3
|
+
import { n as sourceBundle } from "./oclif-fzwqfE6X.js";
|
|
4
4
|
import { createRequire } from "node:module";
|
|
5
5
|
import { resolve } from "node:path";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
package/dist/application.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as resolveCatalogForWorkspace, t as executeHabitat } from "./application-
|
|
1
|
+
import { n as resolveCatalogForWorkspace, t as executeHabitat } from "./application-fyrwZzvC.js";
|
|
2
2
|
export { executeHabitat, resolveCatalogForWorkspace };
|