@helix3/helix-cli 0.1.21-helix3.402 → 0.1.21-helix3.404
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 +3 -0
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/vehicle/addon.js +13 -0
- package/dist/vehicle/addon.js.map +1 -1
- package/dist/vehicle/audio.d.ts +17 -0
- package/dist/vehicle/audio.js +126 -9
- package/dist/vehicle/audio.js.map +1 -1
- package/dist/vehicle/audioSpectral.d.ts +44 -0
- package/dist/vehicle/audioSpectral.js +481 -0
- package/dist/vehicle/audioSpectral.js.map +1 -0
- package/dist/vehicle/paintHue.d.ts +24 -0
- package/dist/vehicle/paintHue.js +98 -0
- package/dist/vehicle/paintHue.js.map +1 -0
- package/dist/vehicle/preview.d.ts +4 -0
- package/dist/vehicle/preview.js +37 -0
- package/dist/vehicle/preview.js.map +1 -1
- package/dist/vehicle/simulate.d.ts +12 -0
- package/dist/vehicle/simulate.js +16 -1
- package/dist/vehicle/simulate.js.map +1 -1
- package/docs/vehicle-simulate.md +9 -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__/test_beamng_engine.cpython-312.pyc +0 -0
package/dist/index.js
CHANGED
|
@@ -653,6 +653,8 @@ vehicleCommand
|
|
|
653
653
|
.option('--out <dir>', 'frames, contact-sheet.jpg, bundle.json and preview.json go here (default: <dir>/.helix-preview)')
|
|
654
654
|
.option('--proxy-item <id>', 'a published vehicle the QA account can Try Now; the runtime loads it and the candidate replaces its car (and its slot board is what --addon fits to)')
|
|
655
655
|
.option('--occupants', 'also seat an avatar in every seat, judge the cabin, and report where the runtime\'s cabin fit put each seat vs where it was authored (slow)')
|
|
656
|
+
.option('--reference-paint <#rrggbb>', 'the reference body paint colour, sampled from the reference photo: sample the rendered body from the side pose and fail if its hue is off (default tolerance 15°)')
|
|
657
|
+
.option('--paint-tolerance <deg>', 'maximum circular hue distance (degrees) the rendered body may sit from --reference-paint (default 15)', (v) => Number(v))
|
|
656
658
|
.option('--storage-state <file>', 'Playwright storageState of a signed-in QA account (default: sign in with `helix login`, or $HELIX_VQA_STORAGE_STATE)')
|
|
657
659
|
.option('--chrome <path>', 'Chromium executable (default: Playwright Chromium / Chrome for Testing, headless; the macOS system Chrome is refused)')
|
|
658
660
|
.option('--api-url <url>', 'platform API base URL')
|
|
@@ -669,6 +671,7 @@ vehicleCommand
|
|
|
669
671
|
summary = await runVehiclePreview({
|
|
670
672
|
target, addOns: opts.addon, item: opts.item, toleranceCm: Number.isFinite(opts.toleranceCm) ? opts.toleranceCm : undefined,
|
|
671
673
|
glb: opts.glb, out: opts.out, proxyItem: opts.proxyItem, occupants: opts.occupants, apiBase, webBase,
|
|
674
|
+
referencePaint: opts.referencePaint, paintToleranceDeg: Number.isFinite(opts.paintTolerance) ? opts.paintTolerance : undefined,
|
|
672
675
|
token: creds?.token ?? null, storageState: opts.storageState ?? process.env.HELIX_VQA_STORAGE_STATE, chrome: opts.chrome, quiet: opts.json,
|
|
673
676
|
});
|
|
674
677
|
}
|