@helix3/helix-cli 0.1.18-helix3.309 → 0.1.18-helix3.310

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/index.js CHANGED
@@ -961,7 +961,7 @@ program
961
961
  .description('Publish a world to HELIX Instant')
962
962
  .option('--placement-bindings <file>', 'JSON worldId/placements mapping from normal reservation receipts')
963
963
  .argument('[directory]', 'bundle directory', '.')
964
- .option('--thumbnail <file>', 'cover image (png, jpg/jpeg, webp, avif, or gif); otherwise uses thumbnail.<ext> at the bundle root')
964
+ .option('--thumbnail <file>', 'cover image (png, jpg/jpeg, webp, avif, or gif); otherwise preserve a custom cover, use thumbnail.<ext>, or automatically capture the ready world')
965
965
  .option('--skip-subpath-check', 'skip the pre-publish sub-path load check (not recommended: it is the only gate that serves the bundle the way production does)')
966
966
  .option('--skip-realizability-check', 'skip the pre-publish server-realizability gate (not recommended: it is what stops you publishing a module world whose banks the server cannot resolve)')
967
967
  .option('--description <text>', `catalog description, max ${lib_1.WORLD_DESCRIPTION_MAX} chars (pass "" to clear). helix.json cannot carry this — the manifest schema forbids unknown fields`)
@@ -1002,6 +1002,7 @@ program
1002
1002
  console.log('Checking the bundle loads from a sub-path…');
1003
1003
  const check = await (0, lib_1.verifySubPath)({
1004
1004
  directory: (0, node_path_1.resolve)(directory),
1005
+ browser: 'bundled',
1005
1006
  onProgress: (msg) => console.log(` ${msg}`),
1006
1007
  });
1007
1008
  if (check.findings.length) {
@@ -1011,8 +1012,8 @@ program
1011
1012
  console.log(' ✔ loads from a sub-path');
1012
1013
  }
1013
1014
  catch (err) {
1014
- // A check that cannot RUN (no browser available) must not silently pass as if it did.
1015
- console.warn(` • sub-path check could not run: ${err instanceof Error ? err.message : String(err)}`);
1015
+ fail(`✖ sub-path check could not run: ${err instanceof Error ? err.message : String(err)}\n` +
1016
+ 'Nothing was published. Install the bundled browser with helix screenshot --install, or explicitly use --skip-subpath-check.');
1016
1017
  }
1017
1018
  }
1018
1019
  try {