@hypersoniclabs/helix-cli 0.1.25-helix3.513 → 0.1.25-helix3.514
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 +1 -0
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/itemLod/artifact.d.ts +3 -2
- package/dist/itemLod/artifact.js +3 -2
- package/dist/itemLod/artifact.js.map +1 -1
- package/dist/itemLod/command.js +42 -0
- package/dist/itemLod/command.js.map +1 -1
- package/dist/itemLod/glbFixtures.d.ts +4 -0
- package/dist/itemLod/glbFixtures.js +24 -1
- package/dist/itemLod/glbFixtures.js.map +1 -1
- package/dist/itemLod/levelGlb.js +12 -0
- package/dist/itemLod/levelGlb.js.map +1 -1
- package/dist/itemLod/publishWarning.d.ts +29 -0
- package/dist/itemLod/publishWarning.js +156 -0
- package/dist/itemLod/publishWarning.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/docs/item-lod.md +4 -0
- package/package.json +1 -1
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_abs.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_audio.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_engine.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_expression.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_jbeam.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_materials.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/beamng_stock_events.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/fmod_studio.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/fsb5.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/sim_audio.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/sim_audio_ac.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/sim_audio_beamng.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/sim_audio_fixtures.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/test_beamng_engine.cpython-312.pyc +0 -0
- package/plugins/beamng-vehicle/bin/__pycache__/test_sim_audio.cpython-312.pyc +0 -0
package/README.md
CHANGED
|
@@ -629,6 +629,7 @@ resolve. The engine validator is vendored by `scripts/vendor-vehicle-package-v2.
|
|
|
629
629
|
A Package-only publish creates no Item, Distribution or creator inventory copy. The receipt prints
|
|
630
630
|
the exact `{ packageId, version, manifestCid }` pin and a retryable intent UUID.
|
|
631
631
|
Use `--private` for source resources that should remain private; private Packages cannot open a public offer.
|
|
632
|
+
For a Prop (`--package-type asset`) the CLI also compiles its distance LODs locally while the upload runs and prints `⚠ distance LODs: ...` to stderr if the platform would not get them (for example a skinned mesh); the Package still publishes and draws at full detail at every range, and `--json` output is unchanged.
|
|
632
633
|
|
|
633
634
|
To make a Prop or Character claimable or saleable, explicitly request the first Marketplace or World offer:
|
|
634
635
|
|
package/dist/index.js
CHANGED
|
@@ -5585,6 +5585,10 @@ continuum
|
|
|
5585
5585
|
if (mismatch)
|
|
5586
5586
|
throw new Error(`Refusing to publish:\n${mismatch}`);
|
|
5587
5587
|
const { publishGlb } = await Promise.resolve().then(() => __importStar(require('./publications')));
|
|
5588
|
+
// A prop's distance LODs are compiled by the platform after the seal; tell the creator now, in parallel with the upload, if they would not compile.
|
|
5589
|
+
const lodCheck = opts.packageType === 'asset'
|
|
5590
|
+
? Promise.resolve().then(() => __importStar(require('./itemLod/publishWarning'))).then(({ itemLodPublishWarningsIsolated }) => itemLodPublishWarningsIsolated((0, node_path_1.resolve)(mesh))).catch(() => [])
|
|
5591
|
+
: Promise.resolve([]);
|
|
5588
5592
|
const receipt = await publishGlb({
|
|
5589
5593
|
mesh: (0, node_path_1.resolve)(mesh), title: opts.title, intentId: opts.intentId, packageType: opts.packageType,
|
|
5590
5594
|
visibility: opts.private ? 'private' : 'public',
|
|
@@ -5595,6 +5599,8 @@ continuum
|
|
|
5595
5599
|
collectibleSupply: opts.collectibleSupply ? parsePositiveInt(opts.collectibleSupply, '--collectible-supply') : undefined,
|
|
5596
5600
|
category: opts.category, description: opts.description, tags: opts.tags ? (0, lib_1.parseTags)(opts.tags) : undefined,
|
|
5597
5601
|
}, creds);
|
|
5602
|
+
for (const line of await lodCheck)
|
|
5603
|
+
console.error(`⚠ ${line}`);
|
|
5598
5604
|
if (opts.json)
|
|
5599
5605
|
console.log(JSON.stringify(receipt, null, 2));
|
|
5600
5606
|
else {
|