heximon 0.26.0 → 0.27.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 CHANGED
@@ -187,6 +187,16 @@ the fix instructions plus a non-zero exit code.
187
187
  prints where. This applies to an app. In a published module package, `--emit` and `debug: true` write
188
188
  nothing, and the pretty output prints a notice (`--json` omits the notice and `emittedTo`). `vp pack` regenerates the `create<Module>` factory in
189
189
  `.heximon/library/`.
190
+ - **`heximon check` compiles a Nuxt or Nitro app for the target of its Nitro preset.** The build takes the
191
+ deploy target from the preset, so the check does too, and so do `heximon graph`, `heximon workflows` and
192
+ `heximon routes`. A Nitro app gives the preset in the text of its config files or in `NITRO_PRESET`, and the
193
+ Nitro of the app resolves the name as the build does (with no preset, it detects the provider, such as
194
+ `CF_PAGES=1`). The check never loads a custom preset (a path or a package), so it cannot read its target. A
195
+ Nuxt app gives it in `.heximon/nuxt-target.json`, which `nuxi prepare` writes. When the check cannot read the
196
+ preset, it uses the `platform` of `heximon.config.ts`. Without one, it compiles for Node and prints an info,
197
+ `check.host-target-default`, that names the cause and the fix. `heximon check --startup` and
198
+ `heximon task run` also take the sidecar `platform` for such a preset, and stop with an error without one. A
199
+ preset whose platform package does not load fails with `cli.host-strategy-unavailable`, as the build fails.
190
200
  - **`heximon skills add` records only what it installed.** A source it could not fetch stays out of
191
201
  `heximon.skills`, so `heximon skills sync` never retries a URL that never worked.
192
202
  - **A safe durable change is silent until you look for it.** A new queue channel, saga slot, workflow, or