@helix3/helix-cli 0.1.14-helix3.159 → 0.1.14-helix3.161
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 +6 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/lib.d.ts +10 -0
- package/dist/lib.js +18 -3
- package/dist/lib.js.map +1 -1
- package/dist/realizability.d.ts +31 -0
- package/dist/realizability.js +203 -0
- package/dist/realizability.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -250,6 +250,12 @@ A published world ships only its **built bundle**, so there is nothing on the se
|
|
|
250
250
|
channel for exactly that reason.
|
|
251
251
|
- **Limit**: 128 MiB compressed, checked locally before anything is uploaded.
|
|
252
252
|
|
|
253
|
+
Before upload, module-based multiplayer worlds are checked for server realizability: every bank must
|
|
254
|
+
be published with the declared checksum and the shared manifest validator must accept all module
|
|
255
|
+
budgets under the 100,000 tick-node ceiling. Fix the named module/bank when this gate refuses a
|
|
256
|
+
publish. For exceptional recovery only, `--skip-realizability-check` bypasses this check; flat-v0
|
|
257
|
+
worlds are unaffected.
|
|
258
|
+
|
|
253
259
|
The programmatic surface (`publishWorld`, `checkBundle`, `whoAmI`, …) is exported for other CLI
|
|
254
260
|
modules. Agent integrations should instruct or delegate to the `helix` commands above rather than
|
|
255
261
|
reimplementing operational behavior in a transport package.
|
package/dist/index.js
CHANGED
|
@@ -454,6 +454,7 @@ program
|
|
|
454
454
|
.argument('[directory]', 'bundle directory', '.')
|
|
455
455
|
.option('--thumbnail <file>', 'cover image (png, jpg/jpeg, webp, avif, or gif); otherwise uses thumbnail.<ext> at the bundle root')
|
|
456
456
|
.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)')
|
|
457
|
+
.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)')
|
|
457
458
|
.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`)
|
|
458
459
|
.option('--description-file <path>', 'read the catalog description from a file')
|
|
459
460
|
.option('--upload-source', "Also upload this project's source so you can edit this world from the HELIX website later. " +
|
|
@@ -511,6 +512,7 @@ program
|
|
|
511
512
|
description,
|
|
512
513
|
uploadSource: opts.uploadSource,
|
|
513
514
|
sourceDir: opts.sourceDir ? (0, node_path_1.resolve)(opts.sourceDir) : undefined,
|
|
515
|
+
skipRealizabilityCheck: opts.skipRealizabilityCheck,
|
|
514
516
|
});
|
|
515
517
|
console.log(`✔ Published "${result.title}" build ${result.buildNumber}`);
|
|
516
518
|
if (result.playUrl)
|