@hypersoniclabs/helix-cli 0.1.7 → 0.1.24-helix3.438
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 +631 -8
- package/assets/bridge/metahuman-eye-baked.png +0 -0
- package/assets/item-def-sounds/Common/A_DryShot.ogg +0 -0
- package/assets/item-def-sounds/Common/A_LMG_CloseCoverA.ogg +0 -0
- package/assets/item-def-sounds/Common/A_LMG_CloseCoverB.ogg +0 -0
- package/assets/item-def-sounds/Common/A_LMG_InsertMag.ogg +0 -0
- package/assets/item-def-sounds/Common/A_LMG_RemoveMag.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_InsertMag_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_InsertMag_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_InsertMag_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_RemoveMag_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_RemoveMag_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Pistol_RemoveMag_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_ChargingHandle_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_ChargingHandle_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_ChargingHandle_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_InsertMag_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_InsertMag_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_InsertMag_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_RemoveMag_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_RemoveMag_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Rifle_RemoveMag_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_SMG_ChargingHandle_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_SMG_ChargingHandle_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_SMG_ChargingHandle_003.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Sniper_ChargingHandle.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Sniper_RemoveMag_001.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Sniper_RemoveMag_002.ogg +0 -0
- package/assets/item-def-sounds/Common/A_Sniper_RemoveMag_003.ogg +0 -0
- package/assets/item-def-sounds/Explosions/Explosions_Grenade_Punch-Close_01.ogg +0 -0
- package/assets/item-def-sounds/Explosions/Explosions_Grenade_Punch-Close_02.ogg +0 -0
- package/assets/item-def-sounds/Explosions/Explosions_Grenade_Punch-Close_03.ogg +0 -0
- package/assets/item-def-sounds/LMG/A_LWS-32_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/LMG/A_LWS-32_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/LMG/A_LWS-32_Shot_003.ogg +0 -0
- package/assets/item-def-sounds/Pistol/A_Gaston_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/Pistol/A_Gaston_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/Pistol/A_Gaston_Shot_003.ogg +0 -0
- package/assets/item-def-sounds/Rifle/A_KAL_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/Rifle/A_KAL_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/Rifle/A_KAL_Shot_003.ogg +0 -0
- package/assets/item-def-sounds/SMG/A_Bison_InsertMag.ogg +0 -0
- package/assets/item-def-sounds/SMG/A_Bison_RemoveMag.ogg +0 -0
- package/assets/item-def-sounds/SMG/A_Bison_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/SMG/A_Bison_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/SMG/A_Bison_Shot_003.ogg +0 -0
- package/assets/item-def-sounds/Shotgun/A_DB-12_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/Shotgun/A_DB-12_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/Shotgun/A_DB-12_Shot_003.ogg +0 -0
- package/assets/item-def-sounds/Sniper/A_CS-446_Shot_001.ogg +0 -0
- package/assets/item-def-sounds/Sniper/A_CS-446_Shot_002.ogg +0 -0
- package/assets/item-def-sounds/Sniper/A_CS-446_Shot_003.ogg +0 -0
- package/bridge-plugins/helix.bridge.unreal/bin/unreal-skeletal-mesh-extract.js +812 -0
- package/bridge-plugins/helix.bridge.unreal/bridge-plugin.json +40 -0
- package/bridge-plugins/helix.bridge.unreal/test/exporter.test.js +418 -0
- package/bridge-plugins/helix.bridge.unreal/test/handler.test.js +417 -0
- package/bridge-plugins/helix.bridge.unreal/unreal/export_skeletal_mesh.py +384 -0
- package/bridge-recipes/cyberpunk/cyberpunk-female-bone-map.json +476 -0
- package/bridge-recipes/sims4/README.md +43 -0
- package/bridge-recipes/sims4/sims4-female-bone-map.json +65 -0
- package/bridge-recipes/unreal/character-customizer/README.md +58 -0
- package/bridge-recipes/unreal/character-customizer/all.json +13 -0
- package/bridge-recipes/unreal/character-customizer/base-male-body.json +6 -0
- package/bridge-recipes/unreal/character-customizer/base-male-head.json +6 -0
- package/bridge-recipes/unreal/character-customizer/beard.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/beard.json +6 -0
- package/bridge-recipes/unreal/character-customizer/bottom.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/bottom.json +6 -0
- package/bridge-recipes/unreal/character-customizer/eyewear.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/eyewear.json +6 -0
- package/bridge-recipes/unreal/character-customizer/footwear.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/footwear.json +6 -0
- package/bridge-recipes/unreal/character-customizer/hair.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/hair.json +6 -0
- package/bridge-recipes/unreal/character-customizer/test/recipes.test.js +74 -0
- package/bridge-recipes/unreal/character-customizer/top.addon.json +1 -0
- package/bridge-recipes/unreal/character-customizer/top.json +6 -0
- package/bridge-recipes/unreal/helix-character-creator-female/README.md +57 -0
- package/bridge-recipes/unreal/helix-character-creator-female/all.json +18 -0
- package/bridge-recipes/unreal/helix-character-creator-female/back.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/back.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/base-female-face.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/base-female.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/bottom.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/bottom.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/eyewear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/eyewear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-basic-t-shirt.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-basic-t-shirt.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch-hair.json +23 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch-nebula-urbanghost.json +7 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch-singles.json +19 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch5.json +19 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch6.json +19 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-batch7.json +11 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cap-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cap-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cap.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cap.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cargo-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-cargo-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-carnival-mask-3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-carnival-mask-3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-chain.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-chain.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-shoes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-shoes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-clare-top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-compression-bodysuit-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-compression-bodysuit-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-compression-bodysuit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-compression-bodysuit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-eye-hole-mask-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-eye-hole-mask-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-eye-patch.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-eye-patch.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-firefight-outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-firefight-outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-sneakers.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-sneakers.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-fruity-top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-gamer-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-gamer-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-guy-fawkes-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-guy-fawkes-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a1.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a1.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a10.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a10.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a11.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a11.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a12.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a12.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a13.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a13.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a14.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a14.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a15.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a15.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a16.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a16.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a17.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a17.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a18.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a18.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a19.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a19.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a20.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a20.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a21.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a21.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a4.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a4.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a5.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a5.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a6.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a6.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a7.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a7.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a8.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a8.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a9.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hair-a9.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-high-waist-tailored-trousers.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-high-waist-tailored-trousers.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hogwarts-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hogwarts-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hoody.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-hoody.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-jacket-6.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-jacket-6.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-joker-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-joker-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-kombes-brown.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-kombes-brown.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-kombes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-kombes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-marshmallow-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-marshmallow-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-maska.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-maska.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-nebula-executive-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-nebula-executive-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-nebula-executive-shoes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-nebula-executive-shoes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-ninza-costume.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-ninza-costume.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-orange-kombes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-orange-kombes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-panama.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-panama.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-panda-bag-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-panda-bag-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-pantslow.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-pantslow.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-paper-bag-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-paper-bag-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-pig-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-pig-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-police-uniform.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-police-uniform.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-prison-outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-prison-outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-short-b4low.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-short-b4low.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-short-swimming.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-short-swimming.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-shortlow.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-shortlow.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-shorts-b3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-shorts-b3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-sterile-gloves.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-sterile-gloves.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-surgeon-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-surgeon-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-swat.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-swat.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-topx1.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-topx1.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-hoodie.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-hoodie.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-urban-ghost-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-warehouse-uniform.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-warehouse-uniform.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-wide-top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-wide-top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-wolf-set.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-wolf-set.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-woman-mask-3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-woman-mask-3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-women-out-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/female-women-out-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/footwear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/footwear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/gloves.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/gloves.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/hair.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/hair.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/headwear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/headwear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/neck.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/neck.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-female/top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/README.md +15 -0
- package/bridge-recipes/unreal/helix-character-creator-male/all.json +18 -0
- package/bridge-recipes/unreal/helix-character-creator-male/back.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/back.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/base-male-face.json +6 -0
- package/bridge-recipes/unreal/helix-character-creator-male/base-male.json +6 -0
- package/bridge-recipes/unreal/helix-character-creator-male/bottom.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/bottom.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/eyewear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/eyewear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/footwear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/footwear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/gloves.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/gloves.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/hair.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/hair.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/headwear.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/headwear.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch-hair.json +23 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch-nebula-urbanghost.json +7 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch-uniforms.json +10 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch6-slot2.json +7 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch7-slot3.json +6 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-batch8-combined.json +11 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-boots-25.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-cargo-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-cargo-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-carnival-mask-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-carnival-mask-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-carnival-mask-3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-carnival-mask-3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-shoes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-shoes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-clare-top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-diamond-hands.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-diamond-hands.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-doctor-outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-doctor-outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-hole-mask-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-hole-mask-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-hole-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-hole-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-patch.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-eye-patch.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-fb-cargo-pants-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-fb-cargo-pants-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-fb-cargo-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-fb-puffy.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-fb-puffy.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-firefight-outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-firefight-outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-gamer-mask-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-gamer-mask-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a1.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a1.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a10.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a10.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a11.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a11.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a12.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a12.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a13.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a13.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a14.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a14.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a15.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a15.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a16.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a16.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a17.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a17.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a18.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a18.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a19.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a19.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a20.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a20.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a21.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a21.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a3.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a4.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a4.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a5.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a5.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a6.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a6.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a7.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a7.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a8.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a8.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a9.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-hair-a9.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-kombes-brown-v2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-kombes-brown-v2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-kombes-brown.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-man-mask-3.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-marshmallow-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-marshmallow-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-mikejack-jacket.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-coat.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-coat.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-shoes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-nebula-executive-shoes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-gloves.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-gloves.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-mantle.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-mantle.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-tunic.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-neo-arcane-heir-tunic.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-orangekombes.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-orangekombes.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-out2-boots.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-out2-boots.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-panda-bag-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-panda-bag-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pants-2.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pants-2.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-paper-bag-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-paper-bag-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pig-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pig-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-police-uniform.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-police-uniform.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-prison-outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-prison-outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-puffer-jacket.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-puffer-jacket.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pullover-hoodie.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-pullover-hoodie.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-robber-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-robber-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-short-swimming.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-short-swimming.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-sinth-ascetic-jacket.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-sinth-ascetic-jacket.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-sip-cap.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-sip-cap.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-socks.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-socks.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-surgeon-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-surgeon-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-tech-hoodie.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-tech-hoodie.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-hoodie.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-hoodie.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-pants.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-urban-ghost-pants.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-warehouse-uniform.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/male-warehouse-uniform.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/mask.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/mask.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/neck.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/neck.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/outfit.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/outfit.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/palette-pilot.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/test/recipes.test.js +122 -0
- package/bridge-recipes/unreal/helix-character-creator-male/top.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/top.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/variants/bottom-nopalette.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/variants/headwear-nopalette.addon.json +1 -0
- package/bridge-recipes/unreal/helix-character-creator-male/variants/neck-nopalette.addon.json +1 -0
- package/dist/ability.d.ts +2 -2
- package/dist/ability.js +6 -5
- package/dist/ability.js.map +1 -1
- package/dist/achievement.d.ts +123 -0
- package/dist/achievement.js +400 -0
- package/dist/achievement.js.map +1 -0
- package/dist/api.d.ts +19 -1
- package/dist/api.js +80 -6
- package/dist/api.js.map +1 -1
- package/dist/assets.d.ts +595 -0
- package/dist/assets.js +1121 -0
- package/dist/assets.js.map +1 -0
- package/dist/audioCommand.d.ts +65 -0
- package/dist/audioCommand.js +181 -0
- package/dist/audioCommand.js.map +1 -0
- package/dist/bakeBodyRegionsCli.d.ts +19 -0
- package/dist/bakeBodyRegionsCli.js +25 -0
- package/dist/bakeBodyRegionsCli.js.map +1 -0
- package/dist/bakeLighting.d.ts +173 -0
- package/dist/bakeLighting.js +452 -0
- package/dist/bakeLighting.js.map +1 -0
- package/dist/bridge/bridge.testutil.d.ts +105 -0
- package/dist/bridge/bridge.testutil.js +259 -0
- package/dist/bridge/bridge.testutil.js.map +1 -0
- package/dist/bridge/characterAddon.d.ts +47 -0
- package/dist/bridge/characterAddon.js +146 -0
- package/dist/bridge/characterAddon.js.map +1 -0
- package/dist/bridge/detect.d.ts +4 -0
- package/dist/bridge/detect.js +154 -0
- package/dist/bridge/detect.js.map +1 -0
- package/dist/bridge/execute.d.ts +3 -0
- package/dist/bridge/execute.js +206 -0
- package/dist/bridge/execute.js.map +1 -0
- package/dist/bridge/glb.d.ts +60 -0
- package/dist/bridge/glb.js +81 -0
- package/dist/bridge/glb.js.map +1 -0
- package/dist/bridge/hash.d.ts +6 -0
- package/dist/bridge/hash.js +40 -0
- package/dist/bridge/hash.js.map +1 -0
- package/dist/bridge/index.d.ts +11 -0
- package/dist/bridge/index.js +28 -0
- package/dist/bridge/index.js.map +1 -0
- package/dist/bridge/internal/artifacts.d.ts +5 -0
- package/dist/bridge/internal/artifacts.js +31 -0
- package/dist/bridge/internal/artifacts.js.map +1 -0
- package/dist/bridge/internal/builtInExecution.d.ts +4 -0
- package/dist/bridge/internal/builtInExecution.js +514 -0
- package/dist/bridge/internal/builtInExecution.js.map +1 -0
- package/dist/bridge/internal/externalExecution.d.ts +12 -0
- package/dist/bridge/internal/externalExecution.js +261 -0
- package/dist/bridge/internal/externalExecution.js.map +1 -0
- package/dist/bridge/internal/outputReservation.d.ts +13 -0
- package/dist/bridge/internal/outputReservation.js +151 -0
- package/dist/bridge/internal/outputReservation.js.map +1 -0
- package/dist/bridge/internal/snapshots.d.ts +32 -0
- package/dist/bridge/internal/snapshots.js +562 -0
- package/dist/bridge/internal/snapshots.js.map +1 -0
- package/dist/bridge/management.d.ts +40 -0
- package/dist/bridge/management.js +333 -0
- package/dist/bridge/management.js.map +1 -0
- package/dist/bridge/manifest.d.ts +8 -0
- package/dist/bridge/manifest.js +192 -0
- package/dist/bridge/manifest.js.map +1 -0
- package/dist/bridge/metahuman.d.ts +26 -0
- package/dist/bridge/metahuman.js +332 -0
- package/dist/bridge/metahuman.js.map +1 -0
- package/dist/bridge/planner.d.ts +9 -0
- package/dist/bridge/planner.js +246 -0
- package/dist/bridge/planner.js.map +1 -0
- package/dist/bridge/plugins.d.ts +17 -0
- package/dist/bridge/plugins.js +307 -0
- package/dist/bridge/plugins.js.map +1 -0
- package/dist/bridge/resolution.d.ts +8 -0
- package/dist/bridge/resolution.js +55 -0
- package/dist/bridge/resolution.js.map +1 -0
- package/dist/bridge/types.d.ts +247 -0
- package/dist/bridge/types.js +60 -0
- package/dist/bridge/types.js.map +1 -0
- package/dist/bridge/validate.d.ts +12 -0
- package/dist/bridge/validate.js +370 -0
- package/dist/bridge/validate.js.map +1 -0
- package/dist/bridge/zipSource.d.ts +27 -0
- package/dist/bridge/zipSource.js +90 -0
- package/dist/bridge/zipSource.js.map +1 -0
- package/dist/browser/hostSlots.d.ts +57 -0
- package/dist/browser/hostSlots.js +371 -0
- package/dist/browser/hostSlots.js.map +1 -0
- package/dist/browser/launch.d.ts +25 -0
- package/dist/browser/launch.js +74 -0
- package/dist/browser/launch.js.map +1 -0
- package/dist/browser/nonSystemChrome.d.ts +15 -0
- package/dist/browser/nonSystemChrome.js +91 -0
- package/dist/browser/nonSystemChrome.js.map +1 -0
- package/dist/builds/index.d.ts +54 -0
- package/dist/builds/index.js +215 -0
- package/dist/builds/index.js.map +1 -0
- package/dist/bundle.d.ts +35 -2
- package/dist/bundle.js +437 -20
- package/dist/bundle.js.map +1 -1
- package/dist/canary/cli.d.ts +17 -0
- package/dist/canary/cli.js +95 -0
- package/dist/canary/cli.js.map +1 -0
- package/dist/canary/index.d.ts +4 -0
- package/dist/canary/index.js +21 -0
- package/dist/canary/index.js.map +1 -0
- package/dist/canary/inventory.d.ts +46 -0
- package/dist/canary/inventory.js +499 -0
- package/dist/canary/inventory.js.map +1 -0
- package/dist/canary/pacifica.d.ts +51 -0
- package/dist/canary/pacifica.js +247 -0
- package/dist/canary/pacifica.js.map +1 -0
- package/dist/canary/plan.d.ts +115 -0
- package/dist/canary/plan.js +479 -0
- package/dist/canary/plan.js.map +1 -0
- package/dist/character/addonPushOut.d.ts +66 -0
- package/dist/character/addonPushOut.js +211 -0
- package/dist/character/addonPushOut.js.map +1 -0
- package/dist/character/avatarPreflight.d.ts +92 -0
- package/dist/character/avatarPreflight.js +261 -0
- package/dist/character/avatarPreflight.js.map +1 -0
- package/dist/character/bakeBodyRegions.d.ts +80 -0
- package/dist/character/bakeBodyRegions.js +190 -0
- package/dist/character/bakeBodyRegions.js.map +1 -0
- package/dist/character/baseColorGuard.d.ts +62 -0
- package/dist/character/baseColorGuard.js +141 -0
- package/dist/character/baseColorGuard.js.map +1 -0
- package/dist/character/bodyGeometryGuard.d.ts +243 -0
- package/dist/character/bodyGeometryGuard.js +417 -0
- package/dist/character/bodyGeometryGuard.js.map +1 -0
- package/dist/character/bodyRegionHide.d.ts +57 -0
- package/dist/character/bodyRegionHide.js +97 -0
- package/dist/character/bodyRegionHide.js.map +1 -0
- package/dist/character/composeBaseMale.d.ts +25 -0
- package/dist/character/composeBaseMale.js +712 -0
- package/dist/character/composeBaseMale.js.map +1 -0
- package/dist/character/esm.js +3 -1
- package/dist/character/esm.js.map +1 -1
- package/dist/character/faceManifest.d.ts +53 -0
- package/dist/character/faceManifest.js +256 -0
- package/dist/character/faceManifest.js.map +1 -0
- package/dist/character/fbx.d.ts +70 -0
- package/dist/character/fbx.js +396 -0
- package/dist/character/fbx.js.map +1 -0
- package/dist/character/fitGarmentFile.d.ts +39 -0
- package/dist/character/fitGarmentFile.js +53 -0
- package/dist/character/fitGarmentFile.js.map +1 -0
- package/dist/character/helixPalette.d.ts +68 -0
- package/dist/character/helixPalette.js +183 -0
- package/dist/character/helixPalette.js.map +1 -0
- package/dist/character/hideCoverage.d.ts +135 -0
- package/dist/character/hideCoverage.js +450 -0
- package/dist/character/hideCoverage.js.map +1 -0
- package/dist/character/imageLimits.d.ts +3 -0
- package/dist/character/imageLimits.js +7 -0
- package/dist/character/imageLimits.js.map +1 -0
- package/dist/character/importCharacter.d.ts +188 -10
- package/dist/character/importCharacter.js +854 -76
- package/dist/character/importCharacter.js.map +1 -1
- package/dist/character/importTrust.d.ts +11 -0
- package/dist/character/importTrust.js +56 -0
- package/dist/character/importTrust.js.map +1 -0
- package/dist/character/ktx2Decode.d.ts +11 -0
- package/dist/character/ktx2Decode.js +87 -0
- package/dist/character/ktx2Decode.js.map +1 -0
- package/dist/character/mat4.d.ts +7 -0
- package/dist/character/mat4.js +25 -2
- package/dist/character/mat4.js.map +1 -1
- package/dist/character/meshyToHelixMap.d.ts +14 -0
- package/dist/character/meshyToHelixMap.js +155 -3
- package/dist/character/meshyToHelixMap.js.map +1 -1
- package/dist/character/metahumanToHelixMap.d.ts +2 -0
- package/dist/character/metahumanToHelixMap.js +34 -0
- package/dist/character/metahumanToHelixMap.js.map +1 -0
- package/dist/character/normalMapGuard.d.ts +59 -0
- package/dist/character/normalMapGuard.js +139 -0
- package/dist/character/normalMapGuard.js.map +1 -0
- package/dist/character/quat.js +2 -2
- package/dist/character/quat.js.map +1 -1
- package/dist/character/reframeSkeletonFile.d.ts +19 -0
- package/dist/character/reframeSkeletonFile.js +45 -0
- package/dist/character/reframeSkeletonFile.js.map +1 -0
- package/dist/character/repairLodSkeletonsFile.d.ts +25 -0
- package/dist/character/repairLodSkeletonsFile.js +49 -0
- package/dist/character/repairLodSkeletonsFile.js.map +1 -0
- package/dist/character/restFrameGuard.d.ts +52 -0
- package/dist/character/restFrameGuard.js +90 -0
- package/dist/character/restFrameGuard.js.map +1 -0
- package/dist/character/slotBudgets.d.ts +37 -0
- package/dist/character/slotBudgets.generated.d.ts +15 -0
- package/dist/character/slotBudgets.generated.js +110 -0
- package/dist/character/slotBudgets.generated.js.map +1 -0
- package/dist/character/slotBudgets.js +45 -0
- package/dist/character/slotBudgets.js.map +1 -0
- package/dist/character/stages/atlasMaterials.d.ts +53 -0
- package/dist/character/stages/atlasMaterials.js +246 -0
- package/dist/character/stages/atlasMaterials.js.map +1 -0
- package/dist/character/stages/bakeTexture.d.ts +28 -7
- package/dist/character/stages/bakeTexture.js +586 -108
- package/dist/character/stages/bakeTexture.js.map +1 -1
- package/dist/character/stages/conform.d.ts +54 -9
- package/dist/character/stages/conform.js +686 -113
- package/dist/character/stages/conform.js.map +1 -1
- package/dist/character/stages/earClearance.d.ts +105 -0
- package/dist/character/stages/earClearance.js +480 -0
- package/dist/character/stages/earClearance.js.map +1 -0
- package/dist/character/stages/faceRegion.d.ts +55 -0
- package/dist/character/stages/faceRegion.js +183 -0
- package/dist/character/stages/faceRegion.js.map +1 -0
- package/dist/character/stages/firstPersonHide.d.ts +42 -0
- package/dist/character/stages/firstPersonHide.js +140 -0
- package/dist/character/stages/firstPersonHide.js.map +1 -0
- package/dist/character/stages/joinPerMesh.d.ts +18 -0
- package/dist/character/stages/joinPerMesh.js +46 -0
- package/dist/character/stages/joinPerMesh.js.map +1 -0
- package/dist/character/stages/ktx2.d.ts +6 -4
- package/dist/character/stages/ktx2.js +81 -29
- package/dist/character/stages/ktx2.js.map +1 -1
- package/dist/character/stages/limbBridge.d.ts +114 -0
- package/dist/character/stages/limbBridge.js +1286 -0
- package/dist/character/stages/limbBridge.js.map +1 -0
- package/dist/character/stages/mergeLods.d.ts +19 -0
- package/dist/character/stages/mergeLods.js +58 -2
- package/dist/character/stages/mergeLods.js.map +1 -1
- package/dist/character/stages/poseAwareFit.d.ts +192 -0
- package/dist/character/stages/poseAwareFit.js +417 -0
- package/dist/character/stages/poseAwareFit.js.map +1 -0
- package/dist/character/stages/poseFit/math.d.ts +141 -0
- package/dist/character/stages/poseFit/math.js +514 -0
- package/dist/character/stages/poseFit/math.js.map +1 -0
- package/dist/character/stages/poseFit/measure.d.ts +88 -0
- package/dist/character/stages/poseFit/measure.js +148 -0
- package/dist/character/stages/poseFit/measure.js.map +1 -0
- package/dist/character/stages/poseFit/model.d.ts +46 -0
- package/dist/character/stages/poseFit/model.js +147 -0
- package/dist/character/stages/poseFit/model.js.map +1 -0
- package/dist/character/stages/poseFit/offsetField.d.ts +76 -0
- package/dist/character/stages/poseFit/offsetField.js +249 -0
- package/dist/character/stages/poseFit/offsetField.js.map +1 -0
- package/dist/character/stages/poseFit/posing.d.ts +52 -0
- package/dist/character/stages/poseFit/posing.js +330 -0
- package/dist/character/stages/poseFit/posing.js.map +1 -0
- package/dist/character/stages/poseFit/testRig.d.ts +31 -0
- package/dist/character/stages/poseFit/testRig.js +85 -0
- package/dist/character/stages/poseFit/testRig.js.map +1 -0
- package/dist/character/stages/reframeSkeletonToHost.d.ts +35 -0
- package/dist/character/stages/reframeSkeletonToHost.js +111 -0
- package/dist/character/stages/reframeSkeletonToHost.js.map +1 -0
- package/dist/character/stages/report.js +0 -2
- package/dist/character/stages/report.js.map +1 -1
- package/dist/character/stages/resizeTextures.js +4 -4
- package/dist/character/stages/resizeTextures.js.map +1 -1
- package/dist/character/stages/retarget.d.ts +26 -2
- package/dist/character/stages/retarget.js +52 -4
- package/dist/character/stages/retarget.js.map +1 -1
- package/dist/character/stages/retargetClip.d.ts +6 -2
- package/dist/character/stages/retargetClip.js +109 -17
- package/dist/character/stages/retargetClip.js.map +1 -1
- package/dist/character/stages/sanitizeMaterials.d.ts +39 -0
- package/dist/character/stages/sanitizeMaterials.js +136 -0
- package/dist/character/stages/sanitizeMaterials.js.map +1 -0
- package/dist/character/stages/simplifyMesh.js +6 -3
- package/dist/character/stages/simplifyMesh.js.map +1 -1
- package/dist/character/stages/splitFacePrimitive.js +0 -2
- package/dist/character/stages/splitFacePrimitive.js.map +1 -1
- package/dist/character/stages/splitSharedLodSkeletons.d.ts +31 -0
- package/dist/character/stages/splitSharedLodSkeletons.js +104 -0
- package/dist/character/stages/splitSharedLodSkeletons.js.map +1 -0
- package/dist/character/stages/unifyMaterial.d.ts +66 -0
- package/dist/character/stages/unifyMaterial.js +136 -0
- package/dist/character/stages/unifyMaterial.js.map +1 -0
- package/dist/character/stages/vrmDynamics.d.ts +144 -0
- package/dist/character/stages/vrmDynamics.js +421 -0
- package/dist/character/stages/vrmDynamics.js.map +1 -0
- package/dist/character/stages/vrmFace.d.ts +82 -0
- package/dist/character/stages/vrmFace.js +280 -0
- package/dist/character/stages/vrmFace.js.map +1 -0
- package/dist/character/stages/weldedSimplify.d.ts +15 -1
- package/dist/character/stages/weldedSimplify.js +90 -9
- package/dist/character/stages/weldedSimplify.js.map +1 -1
- package/dist/character/testutil/meshyBridgeFixture.d.ts +33 -0
- package/dist/character/testutil/meshyBridgeFixture.js +219 -0
- package/dist/character/testutil/meshyBridgeFixture.js.map +1 -0
- package/dist/character/testutil/meshyHead.d.ts +19 -0
- package/dist/character/testutil/meshyHead.js +99 -0
- package/dist/character/testutil/meshyHead.js.map +1 -0
- package/dist/character/testutil/meshyRig.d.ts +17 -0
- package/dist/character/testutil/meshyRig.js +117 -0
- package/dist/character/testutil/meshyRig.js.map +1 -0
- package/dist/character/testutil/slotBudgetExpectations.d.ts +11 -0
- package/dist/character/testutil/slotBudgetExpectations.js +21 -0
- package/dist/character/testutil/slotBudgetExpectations.js.map +1 -0
- package/dist/character/testutil/syntheticRig.d.ts +12 -1
- package/dist/character/testutil/syntheticRig.js +88 -3
- package/dist/character/testutil/syntheticRig.js.map +1 -1
- package/dist/character/unrealMaterialSidecar.d.ts +94 -0
- package/dist/character/unrealMaterialSidecar.js +879 -0
- package/dist/character/unrealMaterialSidecar.js.map +1 -0
- package/dist/character/untrustedSource.d.ts +54 -0
- package/dist/character/untrustedSource.js +181 -0
- package/dist/character/untrustedSource.js.map +1 -0
- package/dist/character/vrmCharacter.d.ts +156 -0
- package/dist/character/vrmCharacter.js +678 -0
- package/dist/character/vrmCharacter.js.map +1 -0
- package/dist/config.d.ts +5 -0
- package/dist/config.js +72 -24
- package/dist/config.js.map +1 -1
- package/dist/continuum/adminPackagePinCommand.d.ts +14 -0
- package/dist/continuum/adminPackagePinCommand.js +46 -0
- package/dist/continuum/adminPackagePinCommand.js.map +1 -0
- package/dist/continuum/adminPackagePublishCommand.d.ts +13 -0
- package/dist/continuum/adminPackagePublishCommand.js +22 -0
- package/dist/continuum/adminPackagePublishCommand.js.map +1 -0
- package/dist/continuum/authoring.d.ts +52 -0
- package/dist/continuum/authoring.js +143 -0
- package/dist/continuum/authoring.js.map +1 -0
- package/dist/continuum/characterMigrationGenerator.d.ts +17 -0
- package/dist/continuum/characterMigrationGenerator.js +242 -0
- package/dist/continuum/characterMigrationGenerator.js.map +1 -0
- package/dist/continuum/cli.d.ts +69 -0
- package/dist/continuum/cli.js +145 -0
- package/dist/continuum/cli.js.map +1 -0
- package/dist/continuum/cliAuthority.d.ts +17 -0
- package/dist/continuum/cliAuthority.js +28 -0
- package/dist/continuum/cliAuthority.js.map +1 -0
- package/dist/continuum/client.d.ts +103 -0
- package/dist/continuum/client.js +190 -0
- package/dist/continuum/client.js.map +1 -0
- package/dist/continuum/homeScenePackage.d.ts +159 -0
- package/dist/continuum/homeScenePackage.js +267 -0
- package/dist/continuum/homeScenePackage.js.map +1 -0
- package/dist/continuum/homeScenePackageCommand.d.ts +44 -0
- package/dist/continuum/homeScenePackageCommand.js +107 -0
- package/dist/continuum/homeScenePackageCommand.js.map +1 -0
- package/dist/continuum/identity.d.ts +4 -0
- package/dist/continuum/identity.js +20 -0
- package/dist/continuum/identity.js.map +1 -0
- package/dist/continuum/index.d.ts +11 -0
- package/dist/continuum/index.js +28 -0
- package/dist/continuum/index.js.map +1 -0
- package/dist/continuum/missingNormals.d.ts +48 -0
- package/dist/continuum/missingNormals.js +99 -0
- package/dist/continuum/missingNormals.js.map +1 -0
- package/dist/continuum/objectUpload.d.ts +64 -0
- package/dist/continuum/objectUpload.js +375 -0
- package/dist/continuum/objectUpload.js.map +1 -0
- package/dist/continuum/pull.d.ts +22 -0
- package/dist/continuum/pull.js +47 -0
- package/dist/continuum/pull.js.map +1 -0
- package/dist/continuum/sourceBundle.d.ts +18 -0
- package/dist/continuum/sourceBundle.js +160 -0
- package/dist/continuum/sourceBundle.js.map +1 -0
- package/dist/continuum/state.d.ts +41 -0
- package/dist/continuum/state.js +198 -0
- package/dist/continuum/state.js.map +1 -0
- package/dist/continuum/types.d.ts +156 -0
- package/dist/continuum/types.js +6 -0
- package/dist/continuum/types.js.map +1 -0
- package/dist/continuum/workflow.d.ts +62 -0
- package/dist/continuum/workflow.js +592 -0
- package/dist/continuum/workflow.js.map +1 -0
- package/dist/cs2/areas.d.ts +41 -0
- package/dist/cs2/areas.js +82 -0
- package/dist/cs2/areas.js.map +1 -0
- package/dist/cs2/binary.d.ts +10 -0
- package/dist/cs2/binary.js +59 -0
- package/dist/cs2/binary.js.map +1 -0
- package/dist/cs2/cityLegacy.d.ts +29 -0
- package/dist/cs2/cityLegacy.js +48 -0
- package/dist/cs2/cityLegacy.js.map +1 -0
- package/dist/cs2/convert/areas.d.ts +32 -0
- package/dist/cs2/convert/areas.js +96 -0
- package/dist/cs2/convert/areas.js.map +1 -0
- package/dist/cs2/convert/glb.d.ts +48 -0
- package/dist/cs2/convert/glb.js +178 -0
- package/dist/cs2/convert/glb.js.map +1 -0
- package/dist/cs2/convert/markings.d.ts +96 -0
- package/dist/cs2/convert/markings.js +329 -0
- package/dist/cs2/convert/markings.js.map +1 -0
- package/dist/cs2/convert/nodeSeams.d.ts +20 -0
- package/dist/cs2/convert/nodeSeams.js +164 -0
- package/dist/cs2/convert/nodeSeams.js.map +1 -0
- package/dist/cs2/convert/roadBake.d.ts +112 -0
- package/dist/cs2/convert/roadBake.js +290 -0
- package/dist/cs2/convert/roadBake.js.map +1 -0
- package/dist/cs2/convert/roads.d.ts +110 -0
- package/dist/cs2/convert/roads.js +419 -0
- package/dist/cs2/convert/roads.js.map +1 -0
- package/dist/cs2/convert/terrain.d.ts +67 -0
- package/dist/cs2/convert/terrain.js +141 -0
- package/dist/cs2/convert/terrain.js.map +1 -0
- package/dist/cs2/convert/terrainConform.d.ts +58 -0
- package/dist/cs2/convert/terrainConform.js +284 -0
- package/dist/cs2/convert/terrainConform.js.map +1 -0
- package/dist/cs2/convert/treeRoadClearance.d.ts +17 -0
- package/dist/cs2/convert/treeRoadClearance.js +78 -0
- package/dist/cs2/convert/treeRoadClearance.js.map +1 -0
- package/dist/cs2/convert/trees.d.ts +33 -0
- package/dist/cs2/convert/trees.js +68 -0
- package/dist/cs2/convert/trees.js.map +1 -0
- package/dist/cs2/csm2.d.ts +58 -0
- package/dist/cs2/csm2.js +188 -0
- package/dist/cs2/csm2.js.map +1 -0
- package/dist/cs2/fixtures.d.ts +5 -0
- package/dist/cs2/fixtures.js +15 -0
- package/dist/cs2/fixtures.js.map +1 -0
- package/dist/cs2/impostors.d.ts +31 -0
- package/dist/cs2/impostors.js +42 -0
- package/dist/cs2/impostors.js.map +1 -0
- package/dist/cs2/index.d.ts +22 -0
- package/dist/cs2/index.js +191 -0
- package/dist/cs2/index.js.map +1 -0
- package/dist/cs2/inspect.d.ts +81 -0
- package/dist/cs2/inspect.js +181 -0
- package/dist/cs2/inspect.js.map +1 -0
- package/dist/cs2/lods.d.ts +22 -0
- package/dist/cs2/lods.js +136 -0
- package/dist/cs2/lods.js.map +1 -0
- package/dist/cs2/materials.d.ts +43 -0
- package/dist/cs2/materials.js +137 -0
- package/dist/cs2/materials.js.map +1 -0
- package/dist/cs2/placements.d.ts +57 -0
- package/dist/cs2/placements.js +116 -0
- package/dist/cs2/placements.js.map +1 -0
- package/dist/cs2/roadPieces.d.ts +79 -0
- package/dist/cs2/roadPieces.js +263 -0
- package/dist/cs2/roadPieces.js.map +1 -0
- package/dist/cs2/roads.d.ts +92 -0
- package/dist/cs2/roads.js +329 -0
- package/dist/cs2/roads.js.map +1 -0
- package/dist/cs2/terrain.d.ts +37 -0
- package/dist/cs2/terrain.js +91 -0
- package/dist/cs2/terrain.js.map +1 -0
- package/dist/cs2/types.d.ts +444 -0
- package/dist/cs2/types.js +22 -0
- package/dist/cs2/types.js.map +1 -0
- package/dist/cs2/water.d.ts +26 -0
- package/dist/cs2/water.js +58 -0
- package/dist/cs2/water.js.map +1 -0
- package/dist/currency.d.ts +94 -0
- package/dist/currency.js +425 -0
- package/dist/currency.js.map +1 -0
- package/dist/dev/devServer.d.ts +53 -0
- package/dist/dev/devServer.js +228 -0
- package/dist/dev/devServer.js.map +1 -0
- package/dist/dev/shellPage.d.ts +3 -0
- package/dist/dev/shellPage.js +297 -0
- package/dist/dev/shellPage.js.map +1 -0
- package/dist/dev/state.d.ts +84 -0
- package/dist/dev/state.js +265 -0
- package/dist/dev/state.js.map +1 -0
- package/dist/device.d.ts +104 -0
- package/dist/device.js +2744 -0
- package/dist/device.js.map +1 -0
- package/dist/deviceActionValidation.d.ts +21 -0
- package/dist/deviceActionValidation.js +460 -0
- package/dist/deviceActionValidation.js.map +1 -0
- package/dist/distribution.d.ts +69 -0
- package/dist/distribution.js +138 -0
- package/dist/distribution.js.map +1 -0
- package/dist/enginePins.d.ts +45 -0
- package/dist/enginePins.js +134 -0
- package/dist/enginePins.js.map +1 -0
- package/dist/gesture/axisReference.d.ts +22 -0
- package/dist/gesture/axisReference.js +32 -0
- package/dist/gesture/axisReference.js.map +1 -0
- package/dist/gesture/capture.d.ts +84 -0
- package/dist/gesture/capture.js +303 -0
- package/dist/gesture/capture.js.map +1 -0
- package/dist/gesture/harnessPage.d.ts +23 -0
- package/dist/gesture/harnessPage.js +153 -0
- package/dist/gesture/harnessPage.js.map +1 -0
- package/dist/gesture/inspect.d.ts +189 -0
- package/dist/gesture/inspect.js +678 -0
- package/dist/gesture/inspect.js.map +1 -0
- package/dist/gesture/rig.d.ts +12 -0
- package/dist/gesture/rig.js +111 -0
- package/dist/gesture/rig.js.map +1 -0
- package/dist/gesture/worldRuntime.d.ts +65 -0
- package/dist/gesture/worldRuntime.js +110 -0
- package/dist/gesture/worldRuntime.js.map +1 -0
- package/dist/glb/draw-calls.d.ts +60 -0
- package/dist/glb/draw-calls.js +160 -0
- package/dist/glb/draw-calls.js.map +1 -0
- package/dist/glb/glb-summary.d.ts +68 -0
- package/dist/glb/glb-summary.js +450 -0
- package/dist/glb/glb-summary.js.map +1 -0
- package/dist/glb/index.d.ts +12 -0
- package/dist/glb/index.js +24 -0
- package/dist/glb/index.js.map +1 -0
- package/dist/glb/smooth-normals.d.ts +98 -0
- package/dist/glb/smooth-normals.js +395 -0
- package/dist/glb/smooth-normals.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6786 -128
- package/dist/index.js.map +1 -1
- package/dist/init.d.ts +35 -1
- package/dist/init.js +1115 -47
- package/dist/init.js.map +1 -1
- package/dist/install.d.ts +16 -5
- package/dist/install.js +123 -23
- package/dist/install.js.map +1 -1
- package/dist/interactable.d.ts +154 -0
- package/dist/interactable.js +1219 -0
- package/dist/interactable.js.map +1 -0
- package/dist/item.d.ts +217 -0
- package/dist/item.js +892 -0
- package/dist/item.js.map +1 -0
- package/dist/itemDef/distribute.d.ts +17 -0
- package/dist/itemDef/distribute.js +29 -0
- package/dist/itemDef/distribute.js.map +1 -0
- package/dist/itemDef/emoteRules.d.ts +85 -0
- package/dist/itemDef/emoteRules.js +368 -0
- package/dist/itemDef/emoteRules.js.map +1 -0
- package/dist/itemDef/gunConfigRules.d.ts +24 -0
- package/dist/itemDef/gunConfigRules.js +300 -0
- package/dist/itemDef/gunConfigRules.js.map +1 -0
- package/dist/itemDef/inspect.d.ts +19 -0
- package/dist/itemDef/inspect.js +144 -0
- package/dist/itemDef/inspect.js.map +1 -0
- package/dist/itemDef/scaffold.d.ts +41 -0
- package/dist/itemDef/scaffold.js +303 -0
- package/dist/itemDef/scaffold.js.map +1 -0
- package/dist/itemDef/tables.d.ts +81 -0
- package/dist/itemDef/tables.js +226 -0
- package/dist/itemDef/tables.js.map +1 -0
- package/dist/itemDef/validate.d.ts +30 -0
- package/dist/itemDef/validate.js +175 -0
- package/dist/itemDef/validate.js.map +1 -0
- package/dist/itemPublishVersion.d.ts +46 -0
- package/dist/itemPublishVersion.js +242 -0
- package/dist/itemPublishVersion.js.map +1 -0
- package/dist/itemSearch.d.ts +128 -0
- package/dist/itemSearch.js +140 -0
- package/dist/itemSearch.js.map +1 -0
- package/dist/itemSetVersion.d.ts +77 -0
- package/dist/itemSetVersion.js +170 -0
- package/dist/itemSetVersion.js.map +1 -0
- package/dist/itemThumbnail.d.ts +40 -0
- package/dist/itemThumbnail.js +116 -0
- package/dist/itemThumbnail.js.map +1 -0
- package/dist/lib.d.ts +571 -7
- package/dist/lib.js +1178 -15
- package/dist/lib.js.map +1 -1
- package/dist/looks.d.ts +103 -0
- package/dist/looks.js +102 -0
- package/dist/looks.js.map +1 -0
- package/dist/materials/availability.d.ts +8 -0
- package/dist/materials/availability.js +22 -0
- package/dist/materials/availability.js.map +1 -0
- package/dist/materials/identity.d.ts +30 -0
- package/dist/materials/identity.js +68 -0
- package/dist/materials/identity.js.map +1 -0
- package/dist/materials/pins.d.ts +23 -0
- package/dist/materials/pins.js +93 -0
- package/dist/materials/pins.js.map +1 -0
- package/dist/mesh/surfaceBvh.d.ts +13 -0
- package/dist/mesh/surfaceBvh.js +197 -0
- package/dist/mesh/surfaceBvh.js.map +1 -0
- package/dist/module-validation.d.ts +2 -0
- package/dist/module-validation.js +24 -0
- package/dist/module-validation.js.map +1 -0
- package/dist/money.d.ts +183 -0
- package/dist/money.js +299 -0
- package/dist/money.js.map +1 -0
- package/dist/npc/capture.d.ts +41 -0
- package/dist/npc/capture.js +99 -0
- package/dist/npc/capture.js.map +1 -0
- package/dist/npc/format.d.ts +2 -0
- package/dist/npc/format.js +102 -0
- package/dist/npc/format.js.map +1 -0
- package/dist/npc/inspect.d.ts +23 -0
- package/dist/npc/inspect.js +54 -0
- package/dist/npc/inspect.js.map +1 -0
- package/dist/npc/metrics.d.ts +132 -0
- package/dist/npc/metrics.js +214 -0
- package/dist/npc/metrics.js.map +1 -0
- package/dist/npc/session.d.ts +35 -0
- package/dist/npc/session.js +172 -0
- package/dist/npc/session.js.map +1 -0
- package/dist/pack/locomotionReference.d.ts +40 -0
- package/dist/pack/locomotionReference.js +132 -0
- package/dist/pack/locomotionReference.js.map +1 -0
- package/dist/pack/scaffold.d.ts +15 -0
- package/dist/pack/scaffold.js +144 -0
- package/dist/pack/scaffold.js.map +1 -0
- package/dist/pack/validate.d.ts +67 -0
- package/dist/pack/validate.js +317 -0
- package/dist/pack/validate.js.map +1 -0
- package/dist/package.d.ts +14 -1
- package/dist/package.js +106 -7
- package/dist/package.js.map +1 -1
- package/dist/paletteShowcase.d.ts +183 -0
- package/dist/paletteShowcase.js +454 -0
- package/dist/paletteShowcase.js.map +1 -0
- package/dist/paletteShowcaseProfiles.d.ts +112 -0
- package/dist/paletteShowcaseProfiles.js +121 -0
- package/dist/paletteShowcaseProfiles.js.map +1 -0
- package/dist/paths.d.ts +4 -0
- package/dist/paths.js +11 -0
- package/dist/paths.js.map +1 -0
- package/dist/placementRequest.d.ts +37 -0
- package/dist/placementRequest.js +220 -0
- package/dist/placementRequest.js.map +1 -0
- package/dist/placements/assets.d.ts +7 -0
- package/dist/placements/assets.js +114 -0
- package/dist/placements/assets.js.map +1 -0
- package/dist/placements/attachFoliageLods.d.ts +4 -0
- package/dist/placements/attachFoliageLods.js +70 -0
- package/dist/placements/attachFoliageLods.js.map +1 -0
- package/dist/placements/attachImpostors.d.ts +3 -0
- package/dist/placements/attachImpostors.js +51 -0
- package/dist/placements/attachImpostors.js.map +1 -0
- package/dist/placements/authored.d.ts +11 -0
- package/dist/placements/authored.js +65 -0
- package/dist/placements/authored.js.map +1 -0
- package/dist/placements/bake.d.ts +2 -0
- package/dist/placements/bake.js +235 -0
- package/dist/placements/bake.js.map +1 -0
- package/dist/placements/captureHost.d.ts +4 -0
- package/dist/placements/captureHost.js +125 -0
- package/dist/placements/captureHost.js.map +1 -0
- package/dist/placements/foliageCapture.d.ts +2 -0
- package/dist/placements/foliageCapture.js +98 -0
- package/dist/placements/foliageCapture.js.map +1 -0
- package/dist/placements/foliageCards.d.ts +17 -0
- package/dist/placements/foliageCards.js +120 -0
- package/dist/placements/foliageCards.js.map +1 -0
- package/dist/placements/foliageLods.d.ts +8 -0
- package/dist/placements/foliageLods.js +240 -0
- package/dist/placements/foliageLods.js.map +1 -0
- package/dist/placements/foliageTexture.d.ts +4 -0
- package/dist/placements/foliageTexture.js +91 -0
- package/dist/placements/foliageTexture.js.map +1 -0
- package/dist/placements/impostorCapture.d.ts +2 -0
- package/dist/placements/impostorCapture.js +111 -0
- package/dist/placements/impostorCapture.js.map +1 -0
- package/dist/placements/impostors.d.ts +18 -0
- package/dist/placements/impostors.js +279 -0
- package/dist/placements/impostors.js.map +1 -0
- package/dist/placements/source.d.ts +53 -0
- package/dist/placements/source.js +111 -0
- package/dist/placements/source.js.map +1 -0
- package/dist/product.d.ts +84 -0
- package/dist/product.js +285 -0
- package/dist/product.js.map +1 -0
- package/dist/publications.d.ts +116 -0
- package/dist/publications.js +180 -0
- package/dist/publications.js.map +1 -0
- package/dist/publishDuplicateGuard.d.ts +92 -0
- package/dist/publishDuplicateGuard.js +128 -0
- package/dist/publishDuplicateGuard.js.map +1 -0
- package/dist/realizability.d.ts +36 -0
- package/dist/realizability.js +269 -0
- package/dist/realizability.js.map +1 -0
- package/dist/resolve.d.ts +7 -1
- package/dist/resolve.js +77 -11
- package/dist/resolve.js.map +1 -1
- package/dist/sceneElements/compiler.d.ts +21 -0
- package/dist/sceneElements/compiler.js +976 -0
- package/dist/sceneElements/compiler.js.map +1 -0
- package/dist/sceneElements/continuum.d.ts +54 -0
- package/dist/sceneElements/continuum.js +451 -0
- package/dist/sceneElements/continuum.js.map +1 -0
- package/dist/sceneElements/devices.d.ts +12 -0
- package/dist/sceneElements/devices.js +212 -0
- package/dist/sceneElements/devices.js.map +1 -0
- package/dist/sceneElements/meshCells.d.ts +49 -0
- package/dist/sceneElements/meshCells.js +174 -0
- package/dist/sceneElements/meshCells.js.map +1 -0
- package/dist/sceneElements/types.d.ts +261 -0
- package/dist/sceneElements/types.js +3 -0
- package/dist/sceneElements/types.js.map +1 -0
- package/dist/sceneHlod/approximate.d.ts +23 -0
- package/dist/sceneHlod/approximate.js +171 -0
- package/dist/sceneHlod/approximate.js.map +1 -0
- package/dist/sceneHlod/artifact.d.ts +3 -0
- package/dist/sceneHlod/artifact.js +29 -0
- package/dist/sceneHlod/artifact.js.map +1 -0
- package/dist/sceneHlod/bakeSurface.d.ts +2 -0
- package/dist/sceneHlod/bakeSurface.js +59 -0
- package/dist/sceneHlod/bakeSurface.js.map +1 -0
- package/dist/sceneHlod/basisEncoder.d.ts +3 -0
- package/dist/sceneHlod/basisEncoder.js +68 -0
- package/dist/sceneHlod/basisEncoder.js.map +1 -0
- package/dist/sceneHlod/cellArtifact.d.ts +17 -0
- package/dist/sceneHlod/cellArtifact.js +78 -0
- package/dist/sceneHlod/cellArtifact.js.map +1 -0
- package/dist/sceneHlod/commands.d.ts +2 -0
- package/dist/sceneHlod/commands.js +114 -0
- package/dist/sceneHlod/commands.js.map +1 -0
- package/dist/sceneHlod/complete.d.ts +78 -0
- package/dist/sceneHlod/complete.js +261 -0
- package/dist/sceneHlod/complete.js.map +1 -0
- package/dist/sceneHlod/completePrototype.d.ts +39 -0
- package/dist/sceneHlod/completePrototype.js +121 -0
- package/dist/sceneHlod/completePrototype.js.map +1 -0
- package/dist/sceneHlod/geometry.d.ts +6 -0
- package/dist/sceneHlod/geometry.js +101 -0
- package/dist/sceneHlod/geometry.js.map +1 -0
- package/dist/sceneHlod/imageSampling.d.ts +11 -0
- package/dist/sceneHlod/imageSampling.js +100 -0
- package/dist/sceneHlod/imageSampling.js.map +1 -0
- package/dist/sceneHlod/refinement.d.ts +46 -0
- package/dist/sceneHlod/refinement.js +204 -0
- package/dist/sceneHlod/refinement.js.map +1 -0
- package/dist/sceneHlod/scene.d.ts +80 -0
- package/dist/sceneHlod/scene.js +264 -0
- package/dist/sceneHlod/scene.js.map +1 -0
- package/dist/sceneHlod/sharedAtlas.d.ts +37 -0
- package/dist/sceneHlod/sharedAtlas.js +84 -0
- package/dist/sceneHlod/sharedAtlas.js.map +1 -0
- package/dist/sceneHlod/source.d.ts +17 -0
- package/dist/sceneHlod/source.js +241 -0
- package/dist/sceneHlod/source.js.map +1 -0
- package/dist/sceneHlod/textureCodec.d.ts +4 -0
- package/dist/sceneHlod/textureCodec.js +66 -0
- package/dist/sceneHlod/textureCodec.js.map +1 -0
- package/dist/sceneHlod/transfer.d.ts +8 -0
- package/dist/sceneHlod/transfer.js +147 -0
- package/dist/sceneHlod/transfer.js.map +1 -0
- package/dist/sceneHlod/types.d.ts +69 -0
- package/dist/sceneHlod/types.js +3 -0
- package/dist/sceneHlod/types.js.map +1 -0
- package/dist/sceneImport/archive.d.ts +30 -0
- package/dist/sceneImport/archive.js +336 -0
- package/dist/sceneImport/archive.js.map +1 -0
- package/dist/sceneImport/bistroMaterialBake.d.ts +20 -0
- package/dist/sceneImport/bistroMaterialBake.js +169 -0
- package/dist/sceneImport/bistroMaterialBake.js.map +1 -0
- package/dist/sceneImport/bistroTexturePlan.d.ts +6 -0
- package/dist/sceneImport/bistroTexturePlan.js +23 -0
- package/dist/sceneImport/bistroTexturePlan.js.map +1 -0
- package/dist/sceneImport/compiler.d.ts +36 -0
- package/dist/sceneImport/compiler.js +251 -0
- package/dist/sceneImport/compiler.js.map +1 -0
- package/dist/sceneImport/composeMounts.d.ts +159 -0
- package/dist/sceneImport/composeMounts.js +687 -0
- package/dist/sceneImport/composeMounts.js.map +1 -0
- package/dist/sceneImport/defaultMaterials.d.ts +45 -0
- package/dist/sceneImport/defaultMaterials.js +121 -0
- package/dist/sceneImport/defaultMaterials.js.map +1 -0
- package/dist/sceneImport/externalTextures.d.ts +44 -0
- package/dist/sceneImport/externalTextures.js +146 -0
- package/dist/sceneImport/externalTextures.js.map +1 -0
- package/dist/sceneImport/fbx.d.ts +101 -0
- package/dist/sceneImport/fbx.js +307 -0
- package/dist/sceneImport/fbx.js.map +1 -0
- package/dist/sceneImport/glbSplit.d.ts +24 -0
- package/dist/sceneImport/glbSplit.js +95 -0
- package/dist/sceneImport/glbSplit.js.map +1 -0
- package/dist/sceneImport/gltfIo.d.ts +32 -0
- package/dist/sceneImport/gltfIo.js +39 -0
- package/dist/sceneImport/gltfIo.js.map +1 -0
- package/dist/sceneImport/helsinkiTiles.d.ts +31 -0
- package/dist/sceneImport/helsinkiTiles.js +52 -0
- package/dist/sceneImport/helsinkiTiles.js.map +1 -0
- package/dist/sceneImport/materials/binding.d.ts +16 -0
- package/dist/sceneImport/materials/binding.js +42 -0
- package/dist/sceneImport/materials/binding.js.map +1 -0
- package/dist/sceneImport/materials/catalog.d.ts +36 -0
- package/dist/sceneImport/materials/catalog.js +233 -0
- package/dist/sceneImport/materials/catalog.js.map +1 -0
- package/dist/sceneImport/materials/index.d.ts +4 -0
- package/dist/sceneImport/materials/index.js +21 -0
- package/dist/sceneImport/materials/index.js.map +1 -0
- package/dist/sceneImport/materials/matcher.d.ts +33 -0
- package/dist/sceneImport/materials/matcher.js +127 -0
- package/dist/sceneImport/materials/matcher.js.map +1 -0
- package/dist/sceneImport/materials/recipe.d.ts +30 -0
- package/dist/sceneImport/materials/recipe.js +134 -0
- package/dist/sceneImport/materials/recipe.js.map +1 -0
- package/dist/sceneImport/multiAsset.d.ts +79 -0
- package/dist/sceneImport/multiAsset.js +535 -0
- package/dist/sceneImport/multiAsset.js.map +1 -0
- package/dist/sceneImport/multiAssetSpawn.d.ts +40 -0
- package/dist/sceneImport/multiAssetSpawn.js +98 -0
- package/dist/sceneImport/multiAssetSpawn.js.map +1 -0
- package/dist/sceneImport/obj.d.ts +41 -0
- package/dist/sceneImport/obj.js +276 -0
- package/dist/sceneImport/obj.js.map +1 -0
- package/dist/sceneImport/package.d.ts +104 -0
- package/dist/sceneImport/package.js +1004 -0
- package/dist/sceneImport/package.js.map +1 -0
- package/dist/sceneImport/packageReader.d.ts +10 -0
- package/dist/sceneImport/packageReader.js +250 -0
- package/dist/sceneImport/packageReader.js.map +1 -0
- package/dist/sceneImport/proxy.d.ts +100 -0
- package/dist/sceneImport/proxy.js +334 -0
- package/dist/sceneImport/proxy.js.map +1 -0
- package/dist/sceneImport/publish.d.ts +47 -0
- package/dist/sceneImport/publish.js +98 -0
- package/dist/sceneImport/publish.js.map +1 -0
- package/dist/sceneImport/semantic.d.ts +75 -0
- package/dist/sceneImport/semantic.js +296 -0
- package/dist/sceneImport/semantic.js.map +1 -0
- package/dist/sceneImport/spawnProbe.d.ts +55 -0
- package/dist/sceneImport/spawnProbe.js +159 -0
- package/dist/sceneImport/spawnProbe.js.map +1 -0
- package/dist/sceneImport/streamLayout.d.ts +96 -0
- package/dist/sceneImport/streamLayout.js +203 -0
- package/dist/sceneImport/streamLayout.js.map +1 -0
- package/dist/sceneImport/textureDecode.d.ts +21 -0
- package/dist/sceneImport/textureDecode.js +292 -0
- package/dist/sceneImport/textureDecode.js.map +1 -0
- package/dist/sceneImport/types.d.ts +84 -0
- package/dist/sceneImport/types.js +58 -0
- package/dist/sceneImport/types.js.map +1 -0
- package/dist/scenePerformance.d.ts +162 -0
- package/dist/scenePerformance.js +905 -0
- package/dist/scenePerformance.js.map +1 -0
- package/dist/screenshot/captureScreenshots.d.ts +36 -0
- package/dist/screenshot/captureScreenshots.js +229 -0
- package/dist/screenshot/captureScreenshots.js.map +1 -0
- package/dist/screenshot/encodeImagePreview.d.ts +5 -0
- package/dist/screenshot/encodeImagePreview.js +42 -0
- package/dist/screenshot/encodeImagePreview.js.map +1 -0
- package/dist/screenshot/publishThumbnail.d.ts +4 -0
- package/dist/screenshot/publishThumbnail.js +56 -0
- package/dist/screenshot/publishThumbnail.js.map +1 -0
- package/dist/screenshot/staticServe.d.ts +14 -0
- package/dist/screenshot/staticServe.js +120 -0
- package/dist/screenshot/staticServe.js.map +1 -0
- package/dist/source-archive.d.ts +101 -0
- package/dist/source-archive.js +309 -0
- package/dist/source-archive.js.map +1 -0
- package/dist/stdioBlocking.d.ts +1 -0
- package/dist/stdioBlocking.js +9 -0
- package/dist/stdioBlocking.js.map +1 -0
- package/dist/terrain/bake.d.ts +40 -0
- package/dist/terrain/bake.js +318 -0
- package/dist/terrain/bake.js.map +1 -0
- package/dist/terrain/generate.d.ts +21 -0
- package/dist/terrain/generate.js +239 -0
- package/dist/terrain/generate.js.map +1 -0
- package/dist/terrain/grid.d.ts +48 -0
- package/dist/terrain/grid.js +133 -0
- package/dist/terrain/grid.js.map +1 -0
- package/dist/terrain/import.d.ts +40 -0
- package/dist/terrain/import.js +252 -0
- package/dist/terrain/import.js.map +1 -0
- package/dist/terrain/index.d.ts +11 -0
- package/dist/terrain/index.js +88 -0
- package/dist/terrain/index.js.map +1 -0
- package/dist/terrain/inspect.d.ts +35 -0
- package/dist/terrain/inspect.js +115 -0
- package/dist/terrain/inspect.js.map +1 -0
- package/dist/terrain/island.d.ts +31 -0
- package/dist/terrain/island.js +128 -0
- package/dist/terrain/island.js.map +1 -0
- package/dist/terrain/noise.d.ts +79 -0
- package/dist/terrain/noise.js +162 -0
- package/dist/terrain/noise.js.map +1 -0
- package/dist/terrain/normals.d.ts +21 -0
- package/dist/terrain/normals.js +55 -0
- package/dist/terrain/normals.js.map +1 -0
- package/dist/terrain/presets/alpine.json +20 -0
- package/dist/terrain/presets/coast.json +20 -0
- package/dist/terrain/presets/desert.json +22 -0
- package/dist/terrain/presets/forest.json +20 -0
- package/dist/terrain/presets/meadow.json +20 -0
- package/dist/terrain/presets/volcanic.json +22 -0
- package/dist/terrain/presets.d.ts +29 -0
- package/dist/terrain/presets.js +128 -0
- package/dist/terrain/presets.js.map +1 -0
- package/dist/terrain/source.d.ts +42 -0
- package/dist/terrain/source.js +241 -0
- package/dist/terrain/source.js.map +1 -0
- package/dist/terrain/tile.d.ts +92 -0
- package/dist/terrain/tile.js +268 -0
- package/dist/terrain/tile.js.map +1 -0
- package/dist/textureAudit.d.ts +23 -0
- package/dist/textureAudit.js +192 -0
- package/dist/textureAudit.js.map +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/unreal/avatarMode.d.ts +21 -0
- package/dist/unreal/avatarMode.js +33 -0
- package/dist/unreal/avatarMode.js.map +1 -0
- package/dist/unreal/delivery.d.ts +46 -0
- package/dist/unreal/delivery.js +89 -0
- package/dist/unreal/delivery.js.map +1 -0
- package/dist/unreal/doctor.d.ts +50 -0
- package/dist/unreal/doctor.js +102 -0
- package/dist/unreal/doctor.js.map +1 -0
- package/dist/unreal/package.d.ts +80 -0
- package/dist/unreal/package.js +273 -0
- package/dist/unreal/package.js.map +1 -0
- package/dist/unreal/release.d.ts +41 -0
- package/dist/unreal/release.js +122 -0
- package/dist/unreal/release.js.map +1 -0
- package/dist/unreal.d.ts +30 -0
- package/dist/unreal.js +362 -0
- package/dist/unreal.js.map +1 -0
- package/dist/unrealCandidate.d.ts +213 -0
- package/dist/unrealCandidate.js +765 -0
- package/dist/unrealCandidate.js.map +1 -0
- package/dist/unrealManifest.d.ts +74 -0
- package/dist/unrealManifest.js +354 -0
- package/dist/unrealManifest.js.map +1 -0
- package/dist/unrealPublish.d.ts +111 -0
- package/dist/unrealPublish.js +331 -0
- package/dist/unrealPublish.js.map +1 -0
- package/dist/vault.d.ts +121 -0
- package/dist/vault.js +136 -0
- package/dist/vault.js.map +1 -0
- package/dist/vehicle/addOnDefinition.d.ts +19 -0
- package/dist/vehicle/addOnDefinition.js +21 -0
- package/dist/vehicle/addOnDefinition.js.map +1 -0
- package/dist/vehicle/addon.d.ts +158 -0
- package/dist/vehicle/addon.js +441 -0
- package/dist/vehicle/addon.js.map +1 -0
- package/dist/vehicle/addonDefinitionGuard.d.ts +53 -0
- package/dist/vehicle/addonDefinitionGuard.js +206 -0
- package/dist/vehicle/addonDefinitionGuard.js.map +1 -0
- package/dist/vehicle/addonPublished.d.ts +80 -0
- package/dist/vehicle/addonPublished.js +221 -0
- package/dist/vehicle/addonPublished.js.map +1 -0
- package/dist/vehicle/audio.d.ts +259 -0
- package/dist/vehicle/audio.js +1069 -0
- package/dist/vehicle/audio.js.map +1 -0
- package/dist/vehicle/audioDefects.d.ts +125 -0
- package/dist/vehicle/audioDefects.js +591 -0
- package/dist/vehicle/audioDefects.js.map +1 -0
- package/dist/vehicle/audioDistinct.d.ts +62 -0
- package/dist/vehicle/audioDistinct.js +479 -0
- package/dist/vehicle/audioDistinct.js.map +1 -0
- package/dist/vehicle/audioImport.d.ts +217 -0
- package/dist/vehicle/audioImport.js +610 -0
- package/dist/vehicle/audioImport.js.map +1 -0
- package/dist/vehicle/audioProvenance.d.ts +47 -0
- package/dist/vehicle/audioProvenance.js +364 -0
- package/dist/vehicle/audioProvenance.js.map +1 -0
- package/dist/vehicle/audioReference.d.ts +36 -0
- package/dist/vehicle/audioReference.js +176 -0
- package/dist/vehicle/audioReference.js.map +1 -0
- package/dist/vehicle/audioSlots.d.ts +27 -0
- package/dist/vehicle/audioSlots.js +43 -0
- package/dist/vehicle/audioSlots.js.map +1 -0
- package/dist/vehicle/audioSpectral.d.ts +71 -0
- package/dist/vehicle/audioSpectral.js +534 -0
- package/dist/vehicle/audioSpectral.js.map +1 -0
- package/dist/vehicle/cabinCheck.d.ts +209 -0
- package/dist/vehicle/cabinCheck.js +799 -0
- package/dist/vehicle/cabinCheck.js.map +1 -0
- package/dist/vehicle/drive.d.ts +66 -0
- package/dist/vehicle/drive.js +228 -0
- package/dist/vehicle/drive.js.map +1 -0
- package/dist/vehicle/enginePolicy.d.ts +68 -0
- package/dist/vehicle/enginePolicy.js +209 -0
- package/dist/vehicle/enginePolicy.js.map +1 -0
- package/dist/vehicle/hostFrame.d.ts +78 -0
- package/dist/vehicle/hostFrame.js +136 -0
- package/dist/vehicle/hostFrame.js.map +1 -0
- package/dist/vehicle/inspectionSheets.d.ts +42 -0
- package/dist/vehicle/inspectionSheets.js +173 -0
- package/dist/vehicle/inspectionSheets.js.map +1 -0
- package/dist/vehicle/keyboardLaunch.d.ts +189 -0
- package/dist/vehicle/keyboardLaunch.js +340 -0
- package/dist/vehicle/keyboardLaunch.js.map +1 -0
- package/dist/vehicle/lampCoverage.d.ts +49 -0
- package/dist/vehicle/lampCoverage.js +252 -0
- package/dist/vehicle/lampCoverage.js.map +1 -0
- package/dist/vehicle/mintAddOn.d.ts +110 -0
- package/dist/vehicle/mintAddOn.js +321 -0
- package/dist/vehicle/mintAddOn.js.map +1 -0
- package/dist/vehicle/mintVehicle.d.ts +189 -0
- package/dist/vehicle/mintVehicle.js +417 -0
- package/dist/vehicle/mintVehicle.js.map +1 -0
- package/dist/vehicle/paintHue.d.ts +89 -0
- package/dist/vehicle/paintHue.js +248 -0
- package/dist/vehicle/paintHue.js.map +1 -0
- package/dist/vehicle/panelCoverage.d.ts +37 -0
- package/dist/vehicle/panelCoverage.js +93 -0
- package/dist/vehicle/panelCoverage.js.map +1 -0
- package/dist/vehicle/platform.d.ts +71 -0
- package/dist/vehicle/platform.js +144 -0
- package/dist/vehicle/platform.js.map +1 -0
- package/dist/vehicle/preview.d.ts +339 -0
- package/dist/vehicle/preview.js +854 -0
- package/dist/vehicle/preview.js.map +1 -0
- package/dist/vehicle/previewAddon.d.ts +197 -0
- package/dist/vehicle/previewAddon.js +520 -0
- package/dist/vehicle/previewAddon.js.map +1 -0
- package/dist/vehicle/previewSeats.d.ts +102 -0
- package/dist/vehicle/previewSeats.js +190 -0
- package/dist/vehicle/previewSeats.js.map +1 -0
- package/dist/vehicle/publish.d.ts +78 -0
- package/dist/vehicle/publish.js +111 -0
- package/dist/vehicle/publish.js.map +1 -0
- package/dist/vehicle/recheckListed.d.ts +87 -0
- package/dist/vehicle/recheckListed.js +200 -0
- package/dist/vehicle/recheckListed.js.map +1 -0
- package/dist/vehicle/renditionManifest.d.ts +10 -0
- package/dist/vehicle/renditionManifest.js +56 -0
- package/dist/vehicle/renditionManifest.js.map +1 -0
- package/dist/vehicle/sealCheck.d.ts +30 -0
- package/dist/vehicle/sealCheck.js +59 -0
- package/dist/vehicle/sealCheck.js.map +1 -0
- package/dist/vehicle/simulate.d.ts +219 -0
- package/dist/vehicle/simulate.js +536 -0
- package/dist/vehicle/simulate.js.map +1 -0
- package/dist/vehicle/simulateRuntime.d.ts +76 -0
- package/dist/vehicle/simulateRuntime.js +252 -0
- package/dist/vehicle/simulateRuntime.js.map +1 -0
- package/dist/vehicle/testutil/sourcedAudio.d.ts +13 -0
- package/dist/vehicle/testutil/sourcedAudio.js +96 -0
- package/dist/vehicle/testutil/sourcedAudio.js.map +1 -0
- package/dist/vehicle/validate.d.ts +225 -0
- package/dist/vehicle/validate.js +956 -0
- package/dist/vehicle/validate.js.map +1 -0
- package/dist/vehicle/wheelDesign.d.ts +98 -0
- package/dist/vehicle/wheelDesign.js +276 -0
- package/dist/vehicle/wheelDesign.js.map +1 -0
- package/dist/verifySubPath.d.ts +69 -0
- package/dist/verifySubPath.js +458 -0
- package/dist/verifySubPath.js.map +1 -0
- package/dist/visualQa/animation.d.ts +57 -0
- package/dist/visualQa/animation.js +503 -0
- package/dist/visualQa/animation.js.map +1 -0
- package/dist/visualQa/avatar.d.ts +3 -0
- package/dist/visualQa/avatar.js +443 -0
- package/dist/visualQa/avatar.js.map +1 -0
- package/dist/visualQa/avatarMath.d.ts +180 -0
- package/dist/visualQa/avatarMath.js +318 -0
- package/dist/visualQa/avatarMath.js.map +1 -0
- package/dist/visualQa/avatarPreview.d.ts +26 -0
- package/dist/visualQa/avatarPreview.js +167 -0
- package/dist/visualQa/avatarPreview.js.map +1 -0
- package/dist/visualQa/avatarPreviewMath.d.ts +189 -0
- package/dist/visualQa/avatarPreviewMath.js +696 -0
- package/dist/visualQa/avatarPreviewMath.js.map +1 -0
- package/dist/visualQa/avatarPreviewProbe.d.ts +7 -0
- package/dist/visualQa/avatarPreviewProbe.js +181 -0
- package/dist/visualQa/avatarPreviewProbe.js.map +1 -0
- package/dist/visualQa/avatarProbe.d.ts +1 -0
- package/dist/visualQa/avatarProbe.js +264 -0
- package/dist/visualQa/avatarProbe.js.map +1 -0
- package/dist/visualQa/browser.d.ts +116 -0
- package/dist/visualQa/browser.js +817 -0
- package/dist/visualQa/browser.js.map +1 -0
- package/dist/visualQa/candidate.d.ts +116 -0
- package/dist/visualQa/candidate.js +265 -0
- package/dist/visualQa/candidate.js.map +1 -0
- package/dist/visualQa/checklists.d.ts +31 -0
- package/dist/visualQa/checklists.js +160 -0
- package/dist/visualQa/checklists.js.map +1 -0
- package/dist/visualQa/command.d.ts +110 -0
- package/dist/visualQa/command.js +521 -0
- package/dist/visualQa/command.js.map +1 -0
- package/dist/visualQa/commonAsserts.d.ts +68 -0
- package/dist/visualQa/commonAsserts.js +239 -0
- package/dist/visualQa/commonAsserts.js.map +1 -0
- package/dist/visualQa/contactSheet.d.ts +32 -0
- package/dist/visualQa/contactSheet.js +153 -0
- package/dist/visualQa/contactSheet.js.map +1 -0
- package/dist/visualQa/critic.d.ts +18 -0
- package/dist/visualQa/critic.js +179 -0
- package/dist/visualQa/critic.js.map +1 -0
- package/dist/visualQa/emotePage.d.ts +10 -0
- package/dist/visualQa/emotePage.js +249 -0
- package/dist/visualQa/emotePage.js.map +1 -0
- package/dist/visualQa/evidenceOverlay.d.ts +74 -0
- package/dist/visualQa/evidenceOverlay.js +268 -0
- package/dist/visualQa/evidenceOverlay.js.map +1 -0
- package/dist/visualQa/harness.d.ts +57 -0
- package/dist/visualQa/harness.js +3 -0
- package/dist/visualQa/harness.js.map +1 -0
- package/dist/visualQa/hosted.d.ts +152 -0
- package/dist/visualQa/hosted.js +367 -0
- package/dist/visualQa/hosted.js.map +1 -0
- package/dist/visualQa/labelLimit.d.ts +12 -0
- package/dist/visualQa/labelLimit.js +31 -0
- package/dist/visualQa/labelLimit.js.map +1 -0
- package/dist/visualQa/mirror.d.ts +36 -0
- package/dist/visualQa/mirror.js +98 -0
- package/dist/visualQa/mirror.js.map +1 -0
- package/dist/visualQa/moveUx.d.ts +44 -0
- package/dist/visualQa/moveUx.js +103 -0
- package/dist/visualQa/moveUx.js.map +1 -0
- package/dist/visualQa/pinnedChrome.d.ts +63 -0
- package/dist/visualQa/pinnedChrome.js +214 -0
- package/dist/visualQa/pinnedChrome.js.map +1 -0
- package/dist/visualQa/resolve.d.ts +88 -0
- package/dist/visualQa/resolve.js +248 -0
- package/dist/visualQa/resolve.js.map +1 -0
- package/dist/visualQa/scene.d.ts +14 -0
- package/dist/visualQa/scene.js +688 -0
- package/dist/visualQa/scene.js.map +1 -0
- package/dist/visualQa/shot.d.ts +2 -0
- package/dist/visualQa/shot.js +27 -0
- package/dist/visualQa/shot.js.map +1 -0
- package/dist/visualQa/signIn.d.ts +35 -0
- package/dist/visualQa/signIn.js +144 -0
- package/dist/visualQa/signIn.js.map +1 -0
- package/dist/visualQa/submitBudget.d.ts +25 -0
- package/dist/visualQa/submitBudget.js +82 -0
- package/dist/visualQa/submitBudget.js.map +1 -0
- package/dist/visualQa/types.d.ts +195 -0
- package/dist/visualQa/types.js +12 -0
- package/dist/visualQa/types.js.map +1 -0
- package/dist/visualQa/vehicle.d.ts +130 -0
- package/dist/visualQa/vehicle.js +2002 -0
- package/dist/visualQa/vehicle.js.map +1 -0
- package/dist/visualQa/vehicleAddonProbe.d.ts +1 -0
- package/dist/visualQa/vehicleAddonProbe.js +115 -0
- package/dist/visualQa/vehicleAddonProbe.js.map +1 -0
- package/dist/visualQa/vehicleCabinFit.d.ts +78 -0
- package/dist/visualQa/vehicleCabinFit.js +55 -0
- package/dist/visualQa/vehicleCabinFit.js.map +1 -0
- package/dist/visualQa/vehicleClearance.d.ts +135 -0
- package/dist/visualQa/vehicleClearance.js +299 -0
- package/dist/visualQa/vehicleClearance.js.map +1 -0
- package/dist/visualQa/vehicleDriveAlive.d.ts +55 -0
- package/dist/visualQa/vehicleDriveAlive.js +103 -0
- package/dist/visualQa/vehicleDriveAlive.js.map +1 -0
- package/dist/visualQa/vehicleGrip.d.ts +156 -0
- package/dist/visualQa/vehicleGrip.js +439 -0
- package/dist/visualQa/vehicleGrip.js.map +1 -0
- package/dist/visualQa/vehicleInspection.d.ts +70 -0
- package/dist/visualQa/vehicleInspection.js +318 -0
- package/dist/visualQa/vehicleInspection.js.map +1 -0
- package/dist/visualQa/vehicleLamps.d.ts +120 -0
- package/dist/visualQa/vehicleLamps.js +377 -0
- package/dist/visualQa/vehicleLamps.js.map +1 -0
- package/dist/visualQa/vehicleMath.d.ts +440 -0
- package/dist/visualQa/vehicleMath.js +967 -0
- package/dist/visualQa/vehicleMath.js.map +1 -0
- package/dist/visualQa/vehicleOccupants.d.ts +66 -0
- package/dist/visualQa/vehicleOccupants.js +448 -0
- package/dist/visualQa/vehicleOccupants.js.map +1 -0
- package/dist/visualQa/vehiclePenetration.d.ts +172 -0
- package/dist/visualQa/vehiclePenetration.js +1157 -0
- package/dist/visualQa/vehiclePenetration.js.map +1 -0
- package/dist/visualQa/vehiclePoses.d.ts +25 -0
- package/dist/visualQa/vehiclePoses.js +56 -0
- package/dist/visualQa/vehiclePoses.js.map +1 -0
- package/dist/visualQa/vehiclePosture.d.ts +78 -0
- package/dist/visualQa/vehiclePosture.js +263 -0
- package/dist/visualQa/vehiclePosture.js.map +1 -0
- package/dist/visualQa/vehiclePreview.d.ts +103 -0
- package/dist/visualQa/vehiclePreview.js +312 -0
- package/dist/visualQa/vehiclePreview.js.map +1 -0
- package/dist/visualQa/vehicleProbe.d.ts +3 -0
- package/dist/visualQa/vehicleProbe.js +670 -0
- package/dist/visualQa/vehicleProbe.js.map +1 -0
- package/dist/visualQa/vehicleStance.d.ts +108 -0
- package/dist/visualQa/vehicleStance.js +200 -0
- package/dist/visualQa/vehicleStance.js.map +1 -0
- package/dist/visualQa/viewer.d.ts +6 -0
- package/dist/visualQa/viewer.js +750 -0
- package/dist/visualQa/viewer.js.map +1 -0
- package/dist/visualQa/viewerGeometry.d.ts +116 -0
- package/dist/visualQa/viewerGeometry.js +476 -0
- package/dist/visualQa/viewerGeometry.js.map +1 -0
- package/dist/visualQa/viewerPage.d.ts +11 -0
- package/dist/visualQa/viewerPage.js +414 -0
- package/dist/visualQa/viewerPage.js.map +1 -0
- package/dist/visualQa/webgpuSelfTest.d.ts +52 -0
- package/dist/visualQa/webgpuSelfTest.js +113 -0
- package/dist/visualQa/webgpuSelfTest.js.map +1 -0
- package/dist/visualQa/winChrome.d.ts +92 -0
- package/dist/visualQa/winChrome.js +445 -0
- package/dist/visualQa/winChrome.js.map +1 -0
- package/dist/visualQa/worldWalk.d.ts +59 -0
- package/dist/visualQa/worldWalk.js +523 -0
- package/dist/visualQa/worldWalk.js.map +1 -0
- package/dist/visualQa/worldWalkMath.d.ts +263 -0
- package/dist/visualQa/worldWalkMath.js +873 -0
- package/dist/visualQa/worldWalkMath.js.map +1 -0
- package/dist/visualQa/worldWalkProbe.d.ts +1 -0
- package/dist/visualQa/worldWalkProbe.js +206 -0
- package/dist/visualQa/worldWalkProbe.js.map +1 -0
- package/dist/visualsConfig.d.ts +65 -0
- package/dist/visualsConfig.js +1333 -0
- package/dist/visualsConfig.js.map +1 -0
- package/dist/voiceCommand.d.ts +11 -0
- package/dist/voiceCommand.js +101 -0
- package/dist/voiceCommand.js.map +1 -0
- package/dist/world/analyze.d.ts +51 -0
- package/dist/world/analyze.js +767 -0
- package/dist/world/analyze.js.map +1 -0
- package/dist/world/baseline.d.ts +33 -0
- package/dist/world/baseline.js +111 -0
- package/dist/world/baseline.js.map +1 -0
- package/dist/world/canonicalize.d.ts +7 -0
- package/dist/world/canonicalize.js +110 -0
- package/dist/world/canonicalize.js.map +1 -0
- package/dist/world/diff.d.ts +18 -0
- package/dist/world/diff.js +58 -0
- package/dist/world/diff.js.map +1 -0
- package/dist/world/focus.d.ts +11 -0
- package/dist/world/focus.js +161 -0
- package/dist/world/focus.js.map +1 -0
- package/dist/world/format.d.ts +6 -0
- package/dist/world/format.js +125 -0
- package/dist/world/format.js.map +1 -0
- package/dist/world/readWorldMetrics.d.ts +10 -0
- package/dist/world/readWorldMetrics.js +31 -0
- package/dist/world/readWorldMetrics.js.map +1 -0
- package/dist/world/snapshotTypes.d.ts +59 -0
- package/dist/world/snapshotTypes.js +8 -0
- package/dist/world/snapshotTypes.js.map +1 -0
- package/dist/world/snapshotWorld.d.ts +16 -0
- package/dist/world/snapshotWorld.js +142 -0
- package/dist/world/snapshotWorld.js.map +1 -0
- package/dist/world/wiring.d.ts +21 -0
- package/dist/world/wiring.js +73 -0
- package/dist/world/wiring.js.map +1 -0
- package/dist/world/zones.d.ts +23 -0
- package/dist/world/zones.js +134 -0
- package/dist/world/zones.js.map +1 -0
- package/docs/bridge.md +304 -0
- package/docs/device-hand-reach.md +44 -0
- package/docs/scene-hlod.md +139 -0
- package/docs/vehicle-audio-import.md +299 -0
- package/docs/vehicle-simulate.md +165 -0
- package/docs/visual-qa-candidate-versions.md +71 -0
- package/docs/visual-qa.md +462 -0
- package/package.json +69 -4
- package/plugins/beamng-vehicle/README.md +129 -0
- 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/plugins/beamng-vehicle/bin/beamng-vehicle.mjs +1295 -0
- package/plugins/beamng-vehicle/bin/beamng_abs.py +408 -0
- package/plugins/beamng-vehicle/bin/beamng_audio.py +394 -0
- package/plugins/beamng-vehicle/bin/beamng_engine.py +184 -0
- package/plugins/beamng-vehicle/bin/beamng_expression.py +373 -0
- package/plugins/beamng-vehicle/bin/beamng_jbeam.py +858 -0
- package/plugins/beamng-vehicle/bin/beamng_materials.py +261 -0
- package/plugins/beamng-vehicle/bin/beamng_stock_events.py +171 -0
- package/plugins/beamng-vehicle/bin/convert-beamng.py +1563 -0
- package/plugins/beamng-vehicle/bin/fmod_studio.py +524 -0
- package/plugins/beamng-vehicle/bin/fsb5.py +304 -0
- package/plugins/beamng-vehicle/bin/index-beamng-common.mjs +16 -0
- package/plugins/beamng-vehicle/bin/index-beamng.py +69 -0
- package/plugins/beamng-vehicle/bin/lower-beamng.py +2399 -0
- package/plugins/beamng-vehicle/bin/sim_audio.py +250 -0
- package/plugins/beamng-vehicle/bin/sim_audio_ac.py +378 -0
- package/plugins/beamng-vehicle/bin/sim_audio_beamng.py +878 -0
- package/plugins/beamng-vehicle/bin/sim_audio_fixtures.py +287 -0
- package/plugins/beamng-vehicle/bin/sim_audio_import.py +135 -0
- package/plugins/beamng-vehicle/bin/test_beamng_engine.py +124 -0
- package/plugins/beamng-vehicle/bin/test_beamng_jbeam.py +383 -0
- package/plugins/beamng-vehicle/bin/test_beamng_precedence.py +134 -0
- package/plugins/beamng-vehicle/bin/test_sim_audio.py +249 -0
- package/plugins/beamng-vehicle/bridge-plugin.json +55 -0
- package/plugins/beamng-vehicle/controller-adapters/beamng-0.39.4-abs.json +52 -0
- package/plugins/beamng-vehicle/lib/common-dependency.mjs +357 -0
- package/plugins/beamng-vehicle/lib/dae-scan.mjs +40 -0
- package/plugins/beamng-vehicle/lib/file-identity.mjs +46 -0
- package/plugins/beamng-vehicle/lib/material-semantics.mjs +312 -0
- package/plugins/beamng-vehicle/lib/palette-contract.mjs +6 -0
- package/plugins/beamng-vehicle/lib/vehicle-qa.mjs +567 -0
- package/plugins/beamng-vehicle/lib/vehicle-source.mjs +247 -0
- package/plugins/beamng-vehicle/profiles/source-compatibility.json +14 -0
- package/plugins/beamng-vehicle/vendor/vehicle-package-v2.mjs +6451 -0
- package/vendor/README.md +63 -0
- package/vendor/ability-manifest.mjs +527 -6
- package/vendor/audits/asset-credits.mjs +96 -0
- package/vendor/audits/check-loaders.mjs +80 -0
- package/vendor/audits/perf-gate.mjs +759 -0
- package/vendor/audits/prove-live.mjs +307 -0
- package/vendor/audits/source-audit.mjs +530 -0
- package/vendor/audits/world-audit.mjs +439 -0
- package/vendor/capture-body.glb +0 -0
- package/vendor/capture-face.glb +0 -0
- package/vendor/installed-index.mjs +1 -1
- package/vendor/vehicle-package-v2.mjs +6451 -0
|
@@ -0,0 +1,854 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
36
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
37
|
+
};
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.PreviewInputError = exports.OCCUPANT_THRESHOLD_TEXT = exports.DEFAULT_PROXY_ITEM_ID = void 0;
|
|
40
|
+
exports.pickGlb = pickGlb;
|
|
41
|
+
exports.locateCandidate = locateCandidate;
|
|
42
|
+
exports.parseCandidatePackage = parseCandidatePackage;
|
|
43
|
+
exports.describeGlb = describeGlb;
|
|
44
|
+
exports.previewVerdict = previewVerdict;
|
|
45
|
+
exports.assertStatus = assertStatus;
|
|
46
|
+
exports.buildPreviewSummary = buildPreviewSummary;
|
|
47
|
+
exports.renderAddOnPreviewText = renderAddOnPreviewText;
|
|
48
|
+
exports.renderPreviewText = renderPreviewText;
|
|
49
|
+
exports.candidateResolved = candidateResolved;
|
|
50
|
+
exports.hostBindPreflight = hostBindPreflight;
|
|
51
|
+
exports.serveLocalAudio = serveLocalAudio;
|
|
52
|
+
exports.runVehiclePreview = runVehiclePreview;
|
|
53
|
+
/**
|
|
54
|
+
* `helix vehicle preview <dir-or-package.json>` — see and measure a vehicle that is not published yet, in the real HELIX
|
|
55
|
+
* runtime, BEFORE the first mint locks `physics.chassis.groundToBodyOrigin` for good.
|
|
56
|
+
*
|
|
57
|
+
* The candidate (a vehicle package JSON + a GLB, both on disk) is rendered through the same harness `helix item visual-qa`
|
|
58
|
+
* uses for a published car: the hosted test-grounds world, Try Now, a QA sign-in, boarding with the real E key, and
|
|
59
|
+
* measurements taken from the DRAWN geometry against the live physics. The one difference is that a published PROXY vehicle
|
|
60
|
+
* is tried, and the Try Now session response and the model request are replaced with the candidate's package and GLB (the
|
|
61
|
+
* GLB is served from disk; nothing is uploaded). The engine is the real one, headless, with its own scratch profile.
|
|
62
|
+
* Nothing is submitted and nothing is recorded on the backend.
|
|
63
|
+
*
|
|
64
|
+
* Vehicle Package source layout: `vehicle-package.json`, `model.glb` or the one `*.glb`,
|
|
65
|
+
* optional `thumbnail.{png,jpg,webp}`.
|
|
66
|
+
*
|
|
67
|
+
* `--addon <dir>` (repeatable) previews UNPUBLISHED vehicle add-ons instead (see ./previewAddon.ts): each add-on directory (the layout
|
|
68
|
+
* `helix vehicle addon check` reads) is fitted to the candidate car, or to a published car (`--item <id>`, no car
|
|
69
|
+
* directory), by rebuilding the Try Now session's frozen runtime recipe — the engine's own fold and mount do the fitting — and the
|
|
70
|
+
* DRAWN geometry is measured in world space against its anchor (hubs, mount socket, car bounds, car origin). A tune-only
|
|
71
|
+
* add-on is judged by reading its ops back out of the live tuning.
|
|
72
|
+
*
|
|
73
|
+
* Exit: 0 every blocking check passed, 1 a check failed, 2 the harness could not measure (bad input, sign-in, no world).
|
|
74
|
+
*/
|
|
75
|
+
const node_fs_1 = __importDefault(require("node:fs"));
|
|
76
|
+
const node_os_1 = __importDefault(require("node:os"));
|
|
77
|
+
const node_path_1 = __importDefault(require("node:path"));
|
|
78
|
+
const types_1 = require("../visualQa/types");
|
|
79
|
+
const vehicleStance_1 = require("../visualQa/vehicleStance");
|
|
80
|
+
const vehiclePreview_1 = require("../visualQa/vehiclePreview");
|
|
81
|
+
const previewAddon_1 = require("./previewAddon");
|
|
82
|
+
const previewSeats_1 = require("./previewSeats");
|
|
83
|
+
const validate_1 = require("./validate");
|
|
84
|
+
const hostFrame_1 = require("./hostFrame");
|
|
85
|
+
const vehicleCabinFit_1 = require("../visualQa/vehicleCabinFit");
|
|
86
|
+
const vehicleMath_1 = require("../visualQa/vehicleMath");
|
|
87
|
+
const vehiclePenetration_1 = require("../visualQa/vehiclePenetration");
|
|
88
|
+
const vehiclePosture_1 = require("../visualQa/vehiclePosture");
|
|
89
|
+
const vehicleGrip_1 = require("../visualQa/vehicleGrip");
|
|
90
|
+
const vehiclePoses_1 = require("../visualQa/vehiclePoses");
|
|
91
|
+
const wheelDesign_1 = require("./wheelDesign");
|
|
92
|
+
/** A published, Try-Now-able vehicle the preview rides on. Any published vehicle works; this one is long-lived. */
|
|
93
|
+
exports.DEFAULT_PROXY_ITEM_ID = '280e49b0-39e9-40cd-9d41-4cc4d9ef7ab5';
|
|
94
|
+
const isRecord = (v) => !!v && typeof v === 'object' && !Array.isArray(v);
|
|
95
|
+
const PACKAGE_NAMES = ['vehicle-package.json', 'vehicle.package.json', 'package.vehicle.json'];
|
|
96
|
+
const THUMBNAIL_NAMES = ['thumbnail.png', 'thumbnail.jpg', 'thumbnail.jpeg', 'thumbnail.webp'];
|
|
97
|
+
/** Pick the one `.glb` of a directory: `model.glb`, else the only `*.glb`. Pure over the listing. */
|
|
98
|
+
function pickGlb(files) {
|
|
99
|
+
const glbs = files.filter((f) => f.toLowerCase().endsWith('.glb'));
|
|
100
|
+
if (glbs.includes('model.glb'))
|
|
101
|
+
return { glb: 'model.glb' };
|
|
102
|
+
if (glbs.length === 1)
|
|
103
|
+
return { glb: glbs[0] };
|
|
104
|
+
return { problem: glbs.length === 0 ? 'has no .glb model' : `has ${glbs.length} .glb files; name the drawn one model.glb or pass --glb` };
|
|
105
|
+
}
|
|
106
|
+
/** Resolve `<dir-or-package.json>` (+ `--glb`) to the files to render. Throws a one-line, actionable message. */
|
|
107
|
+
function locateCandidate(target, glbOption) {
|
|
108
|
+
const abs = node_path_1.default.resolve(target);
|
|
109
|
+
let st;
|
|
110
|
+
try {
|
|
111
|
+
st = node_fs_1.default.statSync(abs);
|
|
112
|
+
}
|
|
113
|
+
catch {
|
|
114
|
+
throw new Error(`${target} does not exist`);
|
|
115
|
+
}
|
|
116
|
+
const dir = st.isDirectory() ? abs : node_path_1.default.dirname(abs);
|
|
117
|
+
let packageFile;
|
|
118
|
+
if (st.isDirectory()) {
|
|
119
|
+
packageFile = PACKAGE_NAMES.map((n) => node_path_1.default.join(dir, n)).find((f) => node_fs_1.default.existsSync(f));
|
|
120
|
+
if (!packageFile)
|
|
121
|
+
throw new Error(`${dir} has no vehicle-package.json (the helix.vehicle-package/2 JSON)`);
|
|
122
|
+
}
|
|
123
|
+
else
|
|
124
|
+
packageFile = abs;
|
|
125
|
+
let glbFile;
|
|
126
|
+
if (glbOption) {
|
|
127
|
+
glbFile = node_path_1.default.resolve(glbOption);
|
|
128
|
+
if (!node_fs_1.default.existsSync(glbFile))
|
|
129
|
+
throw new Error(`--glb ${glbOption} does not exist`);
|
|
130
|
+
}
|
|
131
|
+
else {
|
|
132
|
+
const pick = pickGlb(node_fs_1.default.readdirSync(dir));
|
|
133
|
+
if (!pick.glb)
|
|
134
|
+
throw new Error(`${dir} ${pick.problem}`);
|
|
135
|
+
glbFile = node_path_1.default.join(dir, pick.glb);
|
|
136
|
+
}
|
|
137
|
+
const thumbnailFile = THUMBNAIL_NAMES.map((n) => node_path_1.default.join(dir, n)).find((f) => node_fs_1.default.existsSync(f));
|
|
138
|
+
return { dir, packageFile, glbFile, ...(thumbnailFile ? { thumbnailFile } : {}) };
|
|
139
|
+
}
|
|
140
|
+
/** Parse the package file. Accepts the bare package, `{ vehiclePackage }` (a publish body) and `{ package }` (the runtime's identity wrapper). */
|
|
141
|
+
function parseCandidatePackage(text, file) {
|
|
142
|
+
let parsed;
|
|
143
|
+
try {
|
|
144
|
+
parsed = JSON.parse(text);
|
|
145
|
+
}
|
|
146
|
+
catch (e) {
|
|
147
|
+
throw new Error(`${file} is not JSON: ${e.message}`);
|
|
148
|
+
}
|
|
149
|
+
if (!isRecord(parsed))
|
|
150
|
+
throw new Error(`${file} must hold a JSON object (the vehicle package)`);
|
|
151
|
+
if (isRecord(parsed.vehiclePackage))
|
|
152
|
+
return parsed.vehiclePackage;
|
|
153
|
+
if (isRecord(parsed.package) && parsed.schemaVersion === undefined && (parsed.format !== undefined || parsed.checksumSha256 !== undefined))
|
|
154
|
+
return parsed.package;
|
|
155
|
+
return parsed;
|
|
156
|
+
}
|
|
157
|
+
/** `glTF` magic + version 2 + a sane declared length. Throws when the bytes are not a binary glTF. */
|
|
158
|
+
function describeGlb(bytes, file) {
|
|
159
|
+
if (bytes.length < 20 || String.fromCharCode(bytes[0], bytes[1], bytes[2], bytes[3]) !== 'glTF')
|
|
160
|
+
throw new Error(`${file} is not a binary glTF (.glb): bad magic`);
|
|
161
|
+
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength);
|
|
162
|
+
if (view.getUint32(4, true) !== 2)
|
|
163
|
+
throw new Error(`${file} is glTF version ${view.getUint32(4, true)}, not 2`);
|
|
164
|
+
if (view.getUint32(8, true) > bytes.length)
|
|
165
|
+
throw new Error(`${file} is truncated: its header declares ${view.getUint32(8, true)} bytes, the file has ${bytes.length}`);
|
|
166
|
+
return { file, sha256: (0, vehiclePreview_1.sha256Hex)(bytes), bytes: bytes.length };
|
|
167
|
+
}
|
|
168
|
+
/** pass: no harness error, every blocking assert passed. fail: a blocking assert failed. error: the harness could not measure. */
|
|
169
|
+
function previewVerdict(asserts, errors, frames) {
|
|
170
|
+
if (errors.length)
|
|
171
|
+
return { verdict: 'error', exitCode: 2, reasons: errors.map((e) => `harness: ${e}`) };
|
|
172
|
+
if (frames === 0)
|
|
173
|
+
return { verdict: 'error', exitCode: 2, reasons: ['harness: the render produced no frames'] };
|
|
174
|
+
const failed = asserts.filter((a) => !a.pass && a.severity === 'block');
|
|
175
|
+
if (failed.length)
|
|
176
|
+
return { verdict: 'fail', exitCode: 1, reasons: failed.map((a) => `${a.id}: ${a.detail}`) };
|
|
177
|
+
return { verdict: 'pass', exitCode: 0, reasons: [] };
|
|
178
|
+
}
|
|
179
|
+
const mmT = (m) => `${Math.round(m * 1000)} mm`;
|
|
180
|
+
/** The thresholds behind each occupant assert, in words. Read from the same constants the judges use. */
|
|
181
|
+
exports.OCCUPANT_THRESHOLD_TEXT = {
|
|
182
|
+
'vehicle.occupants.engine_current': `rendered on engine >= ${vehicleMath_1.OCCUPANT_MIN_ENGINE} (older engines do not seat on the authored H-point)`,
|
|
183
|
+
'vehicle.occupants.boarded': 'an occupant seated (real E key) and measured in every declared seat',
|
|
184
|
+
'vehicle.occupants.head_clearance': `crown >= ${mmT(vehicleMath_1.OCCUPANT_QA_THRESHOLDS.headGapMinM)} below the first roof/lining surface above it (open roof passes)`,
|
|
185
|
+
'vehicle.occupants.hips_on_seat': `lowest buttock vertex <= ${mmT(vehicleMath_1.OCCUPANT_QA_THRESHOLDS.hipFloatMaxM)} above the cushion and no more than ${mmT(vehicleMath_1.OCCUPANT_QA_THRESHOLDS.hipThroughBaseMaxM)} through the seat base`,
|
|
186
|
+
'vehicle.occupants.hips_sink_depth': `warn: buttocks sunk more than ${mmT(vehicleMath_1.OCCUPANT_QA_THRESHOLDS.hipSinkWarnM)} into the cushion`,
|
|
187
|
+
'vehicle.occupants.feet_on_floor': `each sole between ${mmT(-vehicleMath_1.OCCUPANT_QA_THRESHOLDS.footSinkMaxM)} (through) and +${mmT(vehicleMath_1.OCCUPANT_QA_THRESHOLDS.footFloatMaxM)} (hovering) of the floor/pedal under it`,
|
|
188
|
+
'vehicle.occupants.hands_on_wheel': `driver: nearest finger/hand bone of each hand <= ${mmT(vehicleMath_1.OCCUPANT_QA_THRESHOLDS.handToRimMaxM)} from the steering rim`,
|
|
189
|
+
'vehicle.occupants.penetration': `no skinned surface through the cabin deeper than ${mmT(vehiclePenetration_1.PENETRATION_THRESHOLDS.failDepthM)} over >= ${(vehiclePenetration_1.PENETRATION_THRESHOLDS.failAreaM2 * 1e4).toFixed(1)} cm², or deeper than ${mmT(vehiclePenetration_1.PENETRATION_THRESHOLDS.swallowDepthM)} over >= ${(vehiclePenetration_1.PENETRATION_THRESHOLDS.swallowAreaM2 * 1e4).toFixed(1)} cm² (>= ${vehiclePenetration_1.PENETRATION_THRESHOLDS.failMinPoints} points; hand-on-rim and sole-on-pedal only beyond ${mmT(vehiclePenetration_1.PENETRATION_THRESHOLDS.contactPairDepthM)})`,
|
|
190
|
+
'vehicle.occupants.near_contact': `warn: any contact deeper than ${mmT(vehiclePenetration_1.PENETRATION_THRESHOLDS.contactMinM)} under the fail threshold`,
|
|
191
|
+
...vehiclePosture_1.POSTURE_THRESHOLD_TEXT,
|
|
192
|
+
...vehicleGrip_1.GRIP_THRESHOLD_TEXT,
|
|
193
|
+
'preview.inspection.complete': 'every frame of the fixed inspection set rendered: 8 angles day and night, every wheel, every seat from first person, side glass, over the shoulder and windscreen, the driver steering left/centre/right, the stillness frames',
|
|
194
|
+
'preview.occupants.cabin_fit': `the runtime's cabin fit moved no seat more than ${mmT(vehicleCabinFit_1.CABIN_FIT_THRESHOLDS.maxMoveM)} from its authored H-point, and refused none`,
|
|
195
|
+
};
|
|
196
|
+
const cm = (m) => (m === null || m === undefined ? null : Math.round(m * 1000) / 10);
|
|
197
|
+
function assertStatus(a) {
|
|
198
|
+
if (/^not measured/i.test(a.detail))
|
|
199
|
+
return 'NOT_MEASURED';
|
|
200
|
+
return a.pass ? 'PASS' : a.severity === 'warn' ? 'WARN' : 'FAIL';
|
|
201
|
+
}
|
|
202
|
+
/** Turn what the route measured into the numbers an author acts on. Pure: everything it reads is in `facts`. */
|
|
203
|
+
function buildPreviewSummary(input) {
|
|
204
|
+
const { result } = input;
|
|
205
|
+
const facts = result.facts;
|
|
206
|
+
const st = facts.stance;
|
|
207
|
+
const declared = st?.declared ?? (0, vehicleStance_1.declaredStance)(input.pkg);
|
|
208
|
+
const m = st?.measured;
|
|
209
|
+
const drawn = m?.drawnGroundToBodyOriginM ?? null;
|
|
210
|
+
const phys = m?.physicsGroundToBodyOriginM ?? null;
|
|
211
|
+
const verdict = previewVerdict(result.asserts, result.errors, result.frames.length);
|
|
212
|
+
const wheels = (m?.wheels ?? []).map((w) => {
|
|
213
|
+
const row = facts.wheels?.find((r) => r.id === w.id);
|
|
214
|
+
const roll = facts.rollingRadius?.find((r) => r.id === w.id);
|
|
215
|
+
return {
|
|
216
|
+
id: w.id,
|
|
217
|
+
hub: row?.hub ?? null,
|
|
218
|
+
drawn: row?.drawnCentre ?? null,
|
|
219
|
+
deltaCm: row?.delta ? row.delta.map((v) => cm(v)) : null,
|
|
220
|
+
drawnRadiusM: w.drawnRadiusM,
|
|
221
|
+
declaredRadiusM: w.physicsRadiusM,
|
|
222
|
+
originAboveDrawnGroundM: w.drawnGroundBelowOriginM,
|
|
223
|
+
originAbovePhysicsGroundM: w.physicsGroundBelowOriginM,
|
|
224
|
+
bodyClearanceM: w.bodyClearanceM,
|
|
225
|
+
rollingRadiusM: roll?.rollingRadiusM ?? null,
|
|
226
|
+
};
|
|
227
|
+
});
|
|
228
|
+
const dDrawn = drawn !== null && declared.groundToBodyOriginM !== null ? drawn - declared.groundToBodyOriginM : null;
|
|
229
|
+
const dPhys = phys !== null && declared.groundToBodyOriginM !== null ? phys - declared.groundToBodyOriginM : null;
|
|
230
|
+
const frames = result.frames.map((f) => node_path_1.default.join(input.out, f.file));
|
|
231
|
+
const fittedRows = facts.preview?.addOns ?? [];
|
|
232
|
+
const addOnSummaries = (input.addOns ?? []).map((a, index) => {
|
|
233
|
+
const row = fittedRows.find((r) => r.itemId === a.itemId);
|
|
234
|
+
const mine = result.asserts.filter((x) => x.id.startsWith(`preview.addon.${index}.`));
|
|
235
|
+
const opsAssert = mine.find((x) => x.id.endsWith('.ops_applied'));
|
|
236
|
+
const m = opsAssert?.measured;
|
|
237
|
+
return {
|
|
238
|
+
index, dir: a.dir, title: a.title, itemId: a.itemId, slotType: a.slotType, kind: a.kind,
|
|
239
|
+
slotId: row?.slotId ?? null, fill: row?.fill ?? null, mountSocket: row?.mountSocket ?? [],
|
|
240
|
+
glb: a.glb ? { file: a.glb.file, sha256: a.glb.sha256, bytes: a.glb.bytes, servedFromDisk: facts.preview?.addOnGlbServedFromDisk?.[a.itemId] ?? 0 } : null,
|
|
241
|
+
drawn: (facts.addOn?.probe?.attach ?? []).filter((x) => x.itemId === a.itemId).map((x) => ({ name: x.name, socketNode: x.socketNode, centre: x.centre, min: x.min, max: x.max, triangles: x.triangles })),
|
|
242
|
+
tuning: m?.ops ? { ops: m.ops.length, applied: m.ops.filter((o) => o.applied).length, changedLeaves: m.changedLeaves ?? 0 } : null,
|
|
243
|
+
notes: row?.finesse ?? [],
|
|
244
|
+
pass: mine.length > 0 && mine.every((x) => x.pass || x.severity === 'warn'),
|
|
245
|
+
};
|
|
246
|
+
});
|
|
247
|
+
const carMode = !(input.addOns ?? []).length;
|
|
248
|
+
const poses = carMode ? vehiclePoses_1.POSE_IDS.map((id) => {
|
|
249
|
+
const p = facts.poses?.find((x) => x.id === id);
|
|
250
|
+
return p ? { id, label: p.label, file: p.file ? node_path_1.default.join(input.out, p.file) : null, why: p.file ? null : (p.why ?? 'not made') } : { id, label: id, file: null, why: 'the render never reached the pose phase (see errors)' };
|
|
251
|
+
}) : [];
|
|
252
|
+
const occAsserts = result.asserts.filter((a) => a.id.startsWith('vehicle.occupants.') || a.id === 'preview.occupants.cabin_fit');
|
|
253
|
+
const occupants = occAsserts.length ? occAsserts.map((a) => ({ id: a.id, status: assertStatus(a), threshold: exports.OCCUPANT_THRESHOLD_TEXT[a.id] ?? '', detail: a.detail })) : null;
|
|
254
|
+
const cfr = facts.cabinFit?.report ?? null;
|
|
255
|
+
const cabinFit = facts.cabinFit ? {
|
|
256
|
+
maxMoveM: vehicleCabinFit_1.CABIN_FIT_THRESHOLDS.maxMoveM,
|
|
257
|
+
rows: facts.cabinFit.rows,
|
|
258
|
+
steering: cfr?.steering ?? null,
|
|
259
|
+
pedals: cfr?.pedals ?? [],
|
|
260
|
+
driverFit: cfr?.driverFit ?? null,
|
|
261
|
+
warnings: cfr?.warnings ?? [],
|
|
262
|
+
} : null;
|
|
263
|
+
const sb = facts.seatBridge;
|
|
264
|
+
const rep = sb?.report ?? null;
|
|
265
|
+
const seated = facts.board?.seated ?? null;
|
|
266
|
+
const boarding = addOnSummaries.length ? null : {
|
|
267
|
+
boarded: facts.board?.ok === true,
|
|
268
|
+
seatId: seated?.seatId ?? null,
|
|
269
|
+
role: seated?.role ?? null,
|
|
270
|
+
seatKey: seated?.seatId && rep ? rep.table.candidateKeyForCabin[seated.seatId] ?? null : null,
|
|
271
|
+
candidate: rep ? { keys: rep.candidate.keys, driverKey: rep.candidate.driverKey, cabinSeats: rep.candidate.declaredCabinSeats, glbSeatNodes: rep.candidate.glbSeatNodes, platformDefault: rep.candidate.platformDefault } : null,
|
|
272
|
+
standIn: rep ? { keys: rep.proxy.keys, driverKey: rep.proxy.driverKey, cabinSeats: rep.proxy.cabinSeats, platformDefault: rep.proxy.platformDefault } : null,
|
|
273
|
+
vocabulariesIdentical: rep ? rep.table.identical : null,
|
|
274
|
+
unmappedSeats: rep?.table.unmapped ?? [],
|
|
275
|
+
bridgeInstalled: sb?.installed ? sb.installed.ok === true : null,
|
|
276
|
+
sends: sb?.log ?? [],
|
|
277
|
+
problems: rep?.table.problems ?? [],
|
|
278
|
+
};
|
|
279
|
+
return {
|
|
280
|
+
verdict: verdict.verdict,
|
|
281
|
+
exitCode: verdict.exitCode,
|
|
282
|
+
reasons: verdict.reasons,
|
|
283
|
+
mode: addOnSummaries.length ? 'addon' : 'car',
|
|
284
|
+
addOns: addOnSummaries,
|
|
285
|
+
boarding,
|
|
286
|
+
candidate: {
|
|
287
|
+
package: input.files.packageFile,
|
|
288
|
+
glb: input.glb.file,
|
|
289
|
+
glbSha256: input.glb.sha256,
|
|
290
|
+
glbBytes: input.glb.bytes,
|
|
291
|
+
thumbnail: input.files.thumbnailFile ?? null,
|
|
292
|
+
displayName: typeof input.pkg.displayName === 'string' ? input.pkg.displayName : null,
|
|
293
|
+
packageChecksumSha256: (result.facts.packageIdentity?.runtimeChecksum) ?? null,
|
|
294
|
+
},
|
|
295
|
+
proxyItem: input.proxy,
|
|
296
|
+
runtime: { renderer: result.renderer, engineVersion: result.engineVersion, world: result.url },
|
|
297
|
+
stance: {
|
|
298
|
+
declared,
|
|
299
|
+
measuredDrawnM: drawn,
|
|
300
|
+
measuredPhysicsM: phys,
|
|
301
|
+
deltaDrawnCm: cm(dDrawn),
|
|
302
|
+
deltaPhysicsCm: cm(dPhys),
|
|
303
|
+
toleranceCm: vehicleStance_1.STANCE_THRESHOLDS.groundToBodyOriginTolM * 100,
|
|
304
|
+
pitchDeg: m?.pitchDeg ?? null,
|
|
305
|
+
rollDeg: m?.rollDeg ?? null,
|
|
306
|
+
groundClearanceM: m?.lowestBodyPointM ?? null,
|
|
307
|
+
groundClearanceMesh: m?.lowestBodyMesh ?? null,
|
|
308
|
+
suggestedGroundToBodyOriginM: drawn,
|
|
309
|
+
},
|
|
310
|
+
wheels,
|
|
311
|
+
poses,
|
|
312
|
+
cabinFit,
|
|
313
|
+
occupants,
|
|
314
|
+
asserts: result.asserts.map((a) => ({ id: a.id, status: assertStatus(a), severity: a.severity, detail: a.detail })),
|
|
315
|
+
proof: {
|
|
316
|
+
sessionsRewritten: facts.preview?.sessionsRewritten ?? 0,
|
|
317
|
+
candidateGlbServedFromDisk: facts.preview?.candidateGlbServedFromDisk ?? 0,
|
|
318
|
+
candidateAudioServedFromDisk: facts.preview?.candidateAudioServedFromDisk ?? 0,
|
|
319
|
+
proxyModelFetched: facts.preview?.proxyModelFetched ?? [],
|
|
320
|
+
packageIdentityMatch: facts.packageIdentity?.match ?? null,
|
|
321
|
+
renderedBytesFetched: (facts.modelFetchedFrom?.length ?? 0) > 0,
|
|
322
|
+
},
|
|
323
|
+
files: {
|
|
324
|
+
out: input.out,
|
|
325
|
+
bundle: node_path_1.default.join(input.out, 'bundle.json'),
|
|
326
|
+
summary: node_path_1.default.join(input.out, 'preview.json'),
|
|
327
|
+
contactSheet: input.contactSheet,
|
|
328
|
+
posesSheet: input.posesSheet ?? null,
|
|
329
|
+
frames,
|
|
330
|
+
},
|
|
331
|
+
errors: result.errors,
|
|
332
|
+
timings: { totalMs: input.totalMs },
|
|
333
|
+
};
|
|
334
|
+
}
|
|
335
|
+
const m3 = (v) => (v === null || v === undefined ? '?' : v.toFixed(3));
|
|
336
|
+
const signed = (v) => (v === null ? '?' : `${v >= 0 ? '+' : ''}${v.toFixed(1)}`);
|
|
337
|
+
/** The human summary: the stance verdict first, because that is the number that locks at mint. */
|
|
338
|
+
function renderAddOnPreviewText(s) {
|
|
339
|
+
const mark = s.verdict === 'pass' ? '✔' : '✖';
|
|
340
|
+
const L = [];
|
|
341
|
+
const car = s.candidate.glb ? `${s.candidate.displayName ?? node_path_1.default.basename(s.candidate.package)} (candidate car, unpublished)` : `${s.proxyItem.title} (published ${s.proxyItem.id})`;
|
|
342
|
+
L.push(`${mark} add-on preview ${s.verdict.toUpperCase()} — ${s.addOns.length} unpublished add-on${s.addOns.length === 1 ? '' : 's'} on ${car}`);
|
|
343
|
+
L.push(` real runtime: engine ${s.runtime.engineVersion ?? '?'}; renderer ${s.runtime.renderer ?? '?'}; ${s.proof.sessionsRewritten} Try Now session rebuilt (composition fitted with the add-ons); nothing uploaded or recorded`);
|
|
344
|
+
L.push('');
|
|
345
|
+
for (const a of s.addOns) {
|
|
346
|
+
L.push(`${a.pass ? '✔' : '✖'} [${a.index}] ${a.title} ${a.slotType} (${a.kind})${a.slotId ? ` slot ${a.slotId}${a.fill === 'all' ? ' (fills every sibling)' : ''}` : ''}`);
|
|
347
|
+
if (a.glb)
|
|
348
|
+
L.push(` model ${node_path_1.default.basename(a.glb.file)} ${(a.glb.bytes / 1024).toFixed(0)} KB, served from disk ${a.glb.servedFromDisk}x; drawn copies ${a.drawn.length}`);
|
|
349
|
+
for (const d of a.drawn)
|
|
350
|
+
L.push(` ${d.name.replace(/^helix-attach:/, '').slice(-34).padEnd(34)} on ${(d.socketNode ?? '?').padEnd(10)} centre ${d.centre ? d.centre.map((v) => v.toFixed(3)).join(', ') : '?'}`);
|
|
351
|
+
if (a.tuning)
|
|
352
|
+
L.push(` tuning: ${a.tuning.applied}/${a.tuning.ops} tune ops read back from the live tuning (${a.tuning.changedLeaves} leaves differ from stock)`);
|
|
353
|
+
for (const n of a.notes)
|
|
354
|
+
L.push(` note: ${n}`);
|
|
355
|
+
}
|
|
356
|
+
L.push('');
|
|
357
|
+
L.push('CHECKS');
|
|
358
|
+
for (const a of s.asserts)
|
|
359
|
+
L.push(` ${a.status.padEnd(12)} ${a.id} — ${a.detail}`);
|
|
360
|
+
for (const e of s.errors)
|
|
361
|
+
L.push(` ERROR ${e}`);
|
|
362
|
+
L.push('');
|
|
363
|
+
if (s.files.contactSheet)
|
|
364
|
+
L.push(`contact sheet: ${s.files.contactSheet}`);
|
|
365
|
+
L.push(`frames (${s.files.frames.length}) and bundle.json, preview.json: ${s.files.out}`);
|
|
366
|
+
L.push(`${(s.timings.totalMs / 1000).toFixed(1)} s`);
|
|
367
|
+
return L.join('\n');
|
|
368
|
+
}
|
|
369
|
+
function renderPreviewText(s) {
|
|
370
|
+
if (s.mode === 'addon')
|
|
371
|
+
return renderAddOnPreviewText(s);
|
|
372
|
+
const mark = s.verdict === 'pass' ? '✔' : '✖';
|
|
373
|
+
const L = [];
|
|
374
|
+
L.push(`${mark} vehicle preview ${s.verdict.toUpperCase()} — ${s.candidate.displayName ?? node_path_1.default.basename(s.candidate.package)}`);
|
|
375
|
+
L.push(` rendered ${node_path_1.default.basename(s.candidate.glb)} (${(s.candidate.glbBytes / 1048576).toFixed(2)} MB, sha256 ${s.candidate.glbSha256.slice(0, 12)}…) with ${node_path_1.default.basename(s.candidate.package)} in the real runtime`);
|
|
376
|
+
L.push(` via proxy item ${s.proxyItem.id} (${s.proxyItem.title}); engine ${s.runtime.engineVersion ?? '?'}; renderer ${s.runtime.renderer ?? '?'}`);
|
|
377
|
+
L.push(` proof: ${s.proof.sessionsRewritten} session rewritten, candidate GLB served from disk ${s.proof.candidateGlbServedFromDisk}x, local audio ${s.proof.candidateAudioServedFromDisk}x, proxy model fetched ${s.proof.proxyModelFetched.length}x, package identity ${s.proof.packageIdentityMatch === null ? '?' : s.proof.packageIdentityMatch ? 'matches' : 'MISMATCH'}`);
|
|
378
|
+
L.push('');
|
|
379
|
+
const d = s.stance.declared;
|
|
380
|
+
L.push('STANCE (physics.chassis.groundToBodyOrigin cannot change after the first mint)');
|
|
381
|
+
L.push(` declared groundToBodyOrigin ${m3(d.groundToBodyOriginM)} m = wheelRadius ${m3(d.wheelRadiusM)} + staticRideHeight ${m3(d.staticRideHeightM)}${d.impliedGroundToBodyOriginM !== null ? ` (= ${m3(d.impliedGroundToBodyOriginM)})` : ''}`);
|
|
382
|
+
L.push(` measured body origin ${m3(s.stance.measuredDrawnM)} m above the drawn tyre bottoms (${signed(s.stance.deltaDrawnCm)} cm), ${m3(s.stance.measuredPhysicsM)} m above the physics ground (${signed(s.stance.deltaPhysicsCm)} cm); tolerance ±${s.stance.toleranceCm} cm`);
|
|
383
|
+
L.push(` attitude pitch ${s.stance.pitchDeg ?? '?'}° roll ${s.stance.rollDeg ?? '?'}° ground clearance ${s.stance.groundClearanceM === null ? '?' : `${(s.stance.groundClearanceM * 100).toFixed(1)} cm`}${s.stance.groundClearanceMesh ? ` (${s.stance.groundClearanceMesh})` : ''}`);
|
|
384
|
+
const stanceAssert = s.asserts.find((a) => a.id === 'preview.stance.ride_height');
|
|
385
|
+
if (stanceAssert)
|
|
386
|
+
L.push(` ${stanceAssert.status === 'PASS' ? '✔' : '✖'} ${stanceAssert.detail}`);
|
|
387
|
+
if (s.boarding) {
|
|
388
|
+
const b = s.boarding;
|
|
389
|
+
L.push('');
|
|
390
|
+
L.push('BOARDING (with the candidate\'s own seat ids)');
|
|
391
|
+
L.push(` ${b.boarded ? `seated in ${b.seatId} as ${b.role ?? '?'}${b.seatKey ? ` (candidate manifest key "${b.seatKey}")` : ''}` : 'NOT BOARDED'}`);
|
|
392
|
+
if (b.candidate)
|
|
393
|
+
L.push(` candidate seats ${b.candidate.glbSeatNodes.join(', ') || 'none in the GLB'}; manifest keys ${b.candidate.keys.join(', ') || 'none'}${b.candidate.driverKey ? ` (driver "${b.candidate.driverKey}")` : ''}`);
|
|
394
|
+
if (b.standIn)
|
|
395
|
+
L.push(` stand-in room seats: keys ${b.standIn.keys.join(', ') || 'none'}; ${b.vocabulariesIdentical ? 'the vocabularies agree, nothing was rewritten' : `${b.sends.filter((x) => x.translated).length} of ${b.sends.length} seat send(s) translated into the stand-in's`}`);
|
|
396
|
+
if (b.unmappedSeats.length) {
|
|
397
|
+
const granted = b.sends.filter((x) => x.synthetic?.enter && x.synthetic.ok).map((x) => x.synthetic.key);
|
|
398
|
+
L.push(` seats the stand-in room has none of (${b.unmappedSeats.join(', ')}): granted in this page's room state, so the avatar sits in the candidate's own seat${granted.length ? ` (${[...new Set(granted)].join(', ')} boarded this way)` : ''}; the room is not told, so this preview is single-client`);
|
|
399
|
+
}
|
|
400
|
+
for (const p of b.problems)
|
|
401
|
+
L.push(` note: ${p}`);
|
|
402
|
+
}
|
|
403
|
+
L.push('');
|
|
404
|
+
L.push('WHEELS (body frame, metres; Δ = drawn centre − physics hub, cm)');
|
|
405
|
+
L.push(' id origin→drawn ground origin→physics ground Δ x/y/z cm drawn r declared r rolling r body clearance');
|
|
406
|
+
for (const w of s.wheels) {
|
|
407
|
+
L.push(` ${w.id.padEnd(11)} ${m3(w.originAboveDrawnGroundM).padEnd(20)} ${m3(w.originAbovePhysicsGroundM).padEnd(22)} ${(w.deltaCm ? w.deltaCm.map((v) => signed(v)).join(' / ') : '?').padEnd(19)} ${m3(w.drawnRadiusM).padEnd(8)} ${m3(w.declaredRadiusM).padEnd(11)} ${m3(w.rollingRadiusM).padEnd(10)} ${w.bodyClearanceM === null ? '?' : `${(w.bodyClearanceM * 100).toFixed(1)} cm`}`);
|
|
408
|
+
}
|
|
409
|
+
if (s.cabinFit) {
|
|
410
|
+
const cf = s.cabinFit;
|
|
411
|
+
L.push('');
|
|
412
|
+
L.push(`CABIN FIT (where the runtime seats each occupant vs the authored seat H-point; FAIL above ${mmT(cf.maxMoveM)} or a refused seat)`);
|
|
413
|
+
L.push(' seat status authored H-point runtime H-point move aft lowered headroom crown');
|
|
414
|
+
const v = (x) => (x ? `[${x.map((n) => (Math.abs(n) < 5e-4 ? 0 : n).toFixed(3)).join(', ')}]` : '?');
|
|
415
|
+
const m = (x) => (x === null ? '?' : mmT(x));
|
|
416
|
+
for (const r of cf.rows) {
|
|
417
|
+
L.push(` ${r.key.padEnd(14)} ${r.status.padEnd(13)} ${v(r.authoredHPoint).padEnd(25)} ${v(r.runtimeHPoint).padEnd(25)} ${m(r.moveM).padEnd(8)} ${m(r.movedAftM).padEnd(8)} ${m(r.loweredM).padEnd(8)} ${(r.headroomM === null ? 'open' : m(r.headroomM)).padEnd(9)} ${m(r.crownClearanceM)}`);
|
|
418
|
+
if (r.status === 'FAIL')
|
|
419
|
+
L.push(` ✖ ${r.detail}`);
|
|
420
|
+
else if (r.status === 'NOT_MEASURED')
|
|
421
|
+
L.push(` ? ${r.detail}`);
|
|
422
|
+
}
|
|
423
|
+
if (cf.steering)
|
|
424
|
+
L.push(` steering wheel: moved ${mmT(cf.steering.movedAft)} aft, ${mmT(cf.steering.lowered)} down, radius ${mmT(cf.steering.radiusBefore)} -> ${mmT(cf.steering.radiusAfter)}, worst rim-to-skin ${cf.steering.worstClearance === null ? '?' : mmT(cf.steering.worstClearance)}${cf.steering.fullLockReachable === false ? ', full lock NOT reachable' : ''}`);
|
|
425
|
+
if (cf.pedals.length)
|
|
426
|
+
L.push(` pedals raised: ${cf.pedals.map((p) => `${p.id} ${mmT(p.raised)}`).join(', ')}`);
|
|
427
|
+
if (cf.driverFit)
|
|
428
|
+
L.push(` driver fit: ${cf.driverFit.status}${cf.driverFit.reason ? ` (${cf.driverFit.reason})` : ''}`);
|
|
429
|
+
for (const w of cf.warnings)
|
|
430
|
+
L.push(` runtime warning: ${w}`);
|
|
431
|
+
}
|
|
432
|
+
if (s.occupants) {
|
|
433
|
+
L.push('');
|
|
434
|
+
L.push('OCCUPANTS (each seat occupied by a real avatar — the platform default avatar unless HELIX_VQA_OWN_AVATAR=1; the threshold each check is judged against)');
|
|
435
|
+
for (const o of s.occupants) {
|
|
436
|
+
L.push(` ${o.status.padEnd(12)} ${o.id} — ${o.detail}`);
|
|
437
|
+
if (o.threshold)
|
|
438
|
+
L.push(` threshold: ${o.threshold}`);
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
L.push('');
|
|
442
|
+
L.push('CHECKS');
|
|
443
|
+
for (const a of s.asserts)
|
|
444
|
+
L.push(` ${a.status.padEnd(12)} ${a.id} — ${a.detail}`);
|
|
445
|
+
for (const e of s.errors)
|
|
446
|
+
L.push(` ERROR ${e}`);
|
|
447
|
+
L.push('');
|
|
448
|
+
if (s.poses.length) {
|
|
449
|
+
L.push('POSES (fixed views to put beside the reference photos)');
|
|
450
|
+
for (const p of s.poses)
|
|
451
|
+
L.push(` ${p.id.padEnd(13)} ${p.file ?? `not made: ${p.why}`}`);
|
|
452
|
+
if (s.files.posesSheet)
|
|
453
|
+
L.push(` sheet: ${s.files.posesSheet}`);
|
|
454
|
+
L.push('');
|
|
455
|
+
}
|
|
456
|
+
if (s.inspection) {
|
|
457
|
+
L.push(`INSPECTION ${s.inspection.verdict.toUpperCase()} (the gauntlet inspection set: OPEN EVERY SHEET AND LOOK; each line is the question that sheet answers. A defect you can see is a FAIL even when every number passes.)`);
|
|
458
|
+
for (const sh of s.inspection.sheets)
|
|
459
|
+
L.push(` ${sh.file}${sh.missing ? ` [${sh.missing} frame(s) NOT RENDERED]` : ''}\n LOOK: ${sh.look}`);
|
|
460
|
+
L.push(` index: ${s.inspection.index}`);
|
|
461
|
+
L.push('');
|
|
462
|
+
}
|
|
463
|
+
if (s.files.contactSheet)
|
|
464
|
+
L.push(`contact sheet: ${s.files.contactSheet}`);
|
|
465
|
+
L.push(`frames (${s.files.frames.length}) and bundle.json, preview.json: ${s.files.out}`);
|
|
466
|
+
L.push(`${(s.timings.totalMs / 1000).toFixed(1)} s`);
|
|
467
|
+
return L.join('\n');
|
|
468
|
+
}
|
|
469
|
+
/** The minimal ResolvedItem the vehicle route needs for a candidate that has no published record. */
|
|
470
|
+
function candidateResolved(o) {
|
|
471
|
+
return {
|
|
472
|
+
identity: {
|
|
473
|
+
itemId: o.proxyId,
|
|
474
|
+
title: typeof o.pkg.displayName === 'string' ? o.pkg.displayName : o.proxyTitle,
|
|
475
|
+
category: 'vehicle',
|
|
476
|
+
itemType: 'vehicle',
|
|
477
|
+
packageVersionId: null,
|
|
478
|
+
manifestCid: null,
|
|
479
|
+
packageId: null,
|
|
480
|
+
packageVersion: 'candidate (unpublished)',
|
|
481
|
+
vehicleChecksum: null,
|
|
482
|
+
},
|
|
483
|
+
item: { id: o.proxyId, title: o.proxyTitle },
|
|
484
|
+
root: o.pkg,
|
|
485
|
+
rootRole: 'vehicle-definition',
|
|
486
|
+
modelCid: `sha256:${o.glb.sha256}`,
|
|
487
|
+
hostIds: [],
|
|
488
|
+
meshless: false,
|
|
489
|
+
candidate: null,
|
|
490
|
+
};
|
|
491
|
+
}
|
|
492
|
+
async function fetchProxy(apiBase, id) {
|
|
493
|
+
const res = await fetch(`${apiBase.replace(/\/$/, '')}/api/v1/universal-items/${encodeURIComponent(id)}`, { headers: { accept: 'application/json' }, signal: AbortSignal.timeout(30_000) });
|
|
494
|
+
if (!res.ok)
|
|
495
|
+
throw new Error(`proxy item ${id}: HTTP ${res.status} (pass --proxy-item <a published vehicle id the QA account can try>)`);
|
|
496
|
+
const body = (await res.json());
|
|
497
|
+
const item = body.item;
|
|
498
|
+
if (!item)
|
|
499
|
+
throw new Error(`proxy item ${id}: no item in the response`);
|
|
500
|
+
if (item.itemType !== 'vehicle' && item.kind !== 'vehicle')
|
|
501
|
+
throw new Error(`proxy item ${id} is a ${item.itemType ?? item.kind ?? 'non-vehicle'}, not a vehicle`);
|
|
502
|
+
return { id, title: String(item.title ?? id) };
|
|
503
|
+
}
|
|
504
|
+
class PreviewInputError extends Error {
|
|
505
|
+
}
|
|
506
|
+
exports.PreviewInputError = PreviewInputError;
|
|
507
|
+
/**
|
|
508
|
+
* Before any browser: every host-frame add-on's bind (socket, root) must resolve against the car's own nodes. The runtime
|
|
509
|
+
* throws while composing the car when it does not, the car is never presented, and the page reports no error — so a
|
|
510
|
+
* preview would sit out its whole presentation timeout. Returns the findings (errors refuse the preview).
|
|
511
|
+
*/
|
|
512
|
+
async function hostBindPreflight(addOns, hostGlb, hostLabel) {
|
|
513
|
+
const bound = addOns.filter((a) => (0, hostFrame_1.declaredHostBind)({ helixMeshFrame: a.frame }) !== undefined);
|
|
514
|
+
if (!bound.length)
|
|
515
|
+
return [];
|
|
516
|
+
const index = (0, validate_1.hostFrameIndexOfGlb)(hostGlb, await (0, validate_1.loadVehicleValidator)());
|
|
517
|
+
return bound.flatMap((a) => (0, hostFrame_1.checkBindAgainstHost)((0, hostFrame_1.declaredHostBind)({ helixMeshFrame: a.frame }), index, {
|
|
518
|
+
label: `add-on "${a.title.replace(/ \(unpublished preview copy\)$/, '')}" (${a.slotType})`, path: `${a.dir}/model.glb:scene.extras.helixMeshFrame.bind`, hostLabel,
|
|
519
|
+
}));
|
|
520
|
+
}
|
|
521
|
+
/**
|
|
522
|
+
* Give every audio row backed by a local WAV (`{ name, file }`, the way an unpublished package is authored and the way
|
|
523
|
+
* the BeamNG importer emits it) a content URL on PREVIEW_AUDIO_ORIGIN plus its checksum/bytes/cid, and return the
|
|
524
|
+
* files to serve. Rows that already carry a url are left alone. Without this the engine's validator rejects the
|
|
525
|
+
* package and the car never spawns.
|
|
526
|
+
*/
|
|
527
|
+
function serveLocalAudio(pkg, dir) {
|
|
528
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports
|
|
529
|
+
const { collectAudioRows, localFileFor } = require('./audio');
|
|
530
|
+
const out = JSON.parse(JSON.stringify(pkg));
|
|
531
|
+
const served = new Map();
|
|
532
|
+
// Every slot asset, consumed today or not: the engine's validator requires each closure member's url.
|
|
533
|
+
for (const r of collectAudioRows(out, { includeUnconsumed: true }).rows) {
|
|
534
|
+
if (typeof r.row.url === 'string' && r.row.url)
|
|
535
|
+
continue;
|
|
536
|
+
const file = localFileFor(r.row, dir);
|
|
537
|
+
if (!file)
|
|
538
|
+
continue;
|
|
539
|
+
const bytes = node_fs_1.default.readFileSync(file);
|
|
540
|
+
const sha = (0, vehiclePreview_1.sha256Hex)(bytes);
|
|
541
|
+
served.set(sha, { file, sha256: sha, bytes: bytes.length });
|
|
542
|
+
Object.assign(r.row, {
|
|
543
|
+
url: `${vehiclePreview_1.PREVIEW_AUDIO_ORIGIN}/content/sha256/${sha.slice(0, 2)}/${sha}`,
|
|
544
|
+
checksumSha256: sha, bytes: bytes.length, cid: `cid:sha256:${sha}`, mediaType: 'audio/wav',
|
|
545
|
+
});
|
|
546
|
+
}
|
|
547
|
+
return { pkg: out, audio: [...served.values()] };
|
|
548
|
+
}
|
|
549
|
+
async function runVehiclePreview(opts) {
|
|
550
|
+
if (opts.referenceWheel) {
|
|
551
|
+
const w = opts.referenceWheel;
|
|
552
|
+
if (opts.addOns?.length)
|
|
553
|
+
throw new PreviewInputError('--reference-wheel judges a candidate car; it does not apply to an --addon preview');
|
|
554
|
+
if (!node_fs_1.default.existsSync(w.image))
|
|
555
|
+
throw new PreviewInputError(`--reference-wheel image not found: ${w.image}`);
|
|
556
|
+
if (w.spokeCount !== undefined && !(Number.isInteger(w.spokeCount) && w.spokeCount >= 3 && w.spokeCount <= 24))
|
|
557
|
+
throw new PreviewInputError('--reference-wheel-spokes must be a whole number from 3 to 24');
|
|
558
|
+
if (w.finish !== undefined && !wheelDesign_1.WHEEL_FINISHES.includes(w.finish))
|
|
559
|
+
throw new PreviewInputError(`--reference-wheel-finish must be one of ${wheelDesign_1.WHEEL_FINISHES.join(', ')}`);
|
|
560
|
+
if (w.crop && !(w.crop.cx > 0 && w.crop.cx < 1 && w.crop.cy > 0 && w.crop.cy < 1 && w.crop.radius > 0.05 && w.crop.radius <= 0.7))
|
|
561
|
+
throw new PreviewInputError('--reference-wheel-crop is cx,cy,radius as fractions: centre x of the width, centre y of the height, tyre radius of the shorter side (0.05 to 0.7)');
|
|
562
|
+
}
|
|
563
|
+
const t0 = Date.now();
|
|
564
|
+
const log = (k, v) => { if (!opts.quiet)
|
|
565
|
+
console.error(`[vehicle-preview] ${k} ${typeof v === 'string' ? v : JSON.stringify(v).slice(0, 300)}`); };
|
|
566
|
+
let files;
|
|
567
|
+
let pkg;
|
|
568
|
+
let glb;
|
|
569
|
+
let audio = [];
|
|
570
|
+
let addOns = [];
|
|
571
|
+
let seatNodes = [];
|
|
572
|
+
const keepCar = !opts.target;
|
|
573
|
+
// `--item <id>` alone: inspect a PUBLISHED car exactly as the runtime serves it (re-checking a listed car against the
|
|
574
|
+
// current gates). Its real package is resolved below and drives the seats, panels and lamps the route exercises.
|
|
575
|
+
const publishedCar = !opts.target && !opts.addOns?.length && !!opts.item;
|
|
576
|
+
try {
|
|
577
|
+
if (opts.addOns?.length)
|
|
578
|
+
addOns = (0, previewAddon_1.loadPreviewAddOns)(opts.addOns);
|
|
579
|
+
else if (!opts.target && !opts.item)
|
|
580
|
+
throw new Error('give a candidate car directory, --item <published vehicle id> to inspect a published car, or one or more --addon <dir>');
|
|
581
|
+
if (opts.target) {
|
|
582
|
+
files = locateCandidate(opts.target, opts.glb);
|
|
583
|
+
pkg = parseCandidatePackage(node_fs_1.default.readFileSync(files.packageFile, 'utf8'), files.packageFile);
|
|
584
|
+
const glbFileBytes = node_fs_1.default.readFileSync(files.glbFile);
|
|
585
|
+
glb = describeGlb(glbFileBytes, files.glbFile);
|
|
586
|
+
({ pkg, audio } = serveLocalAudio(pkg, node_path_1.default.dirname(files.packageFile)));
|
|
587
|
+
try {
|
|
588
|
+
seatNodes = (0, previewSeats_1.glbSeatNodes)((0, validate_1.glbSceneFacts)(glbFileBytes).nodeNames);
|
|
589
|
+
}
|
|
590
|
+
catch {
|
|
591
|
+
seatNodes = [];
|
|
592
|
+
}
|
|
593
|
+
}
|
|
594
|
+
else {
|
|
595
|
+
// a published car: its package and model are the session's own, so these are placeholders that are never read
|
|
596
|
+
files = { dir: addOns[0]?.dir ?? process.cwd(), packageFile: '', glbFile: '' };
|
|
597
|
+
pkg = {};
|
|
598
|
+
glb = { file: '', sha256: '', bytes: 0 };
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
catch (e) {
|
|
602
|
+
throw new PreviewInputError(String(e?.message ?? e));
|
|
603
|
+
}
|
|
604
|
+
// Preflight the host-frame bind contract (no browser yet): a bind the car cannot satisfy fails here, in a second, not after
|
|
605
|
+
// a 120 s presentation timeout. A candidate car's GLB is on disk; a published car's is its pinned Package model.
|
|
606
|
+
if (addOns.some((a) => a.kind === 'host')) {
|
|
607
|
+
let hostGlb;
|
|
608
|
+
let hostLabel = 'the candidate car';
|
|
609
|
+
if (opts.target)
|
|
610
|
+
hostGlb = node_fs_1.default.readFileSync(files.glbFile);
|
|
611
|
+
else {
|
|
612
|
+
try {
|
|
613
|
+
const { getItem, defaultBytesFetch } = await Promise.resolve().then(() => __importStar(require('./platform')));
|
|
614
|
+
const { hostModel } = await Promise.resolve().then(() => __importStar(require('./addon')));
|
|
615
|
+
const { publicRequester } = await Promise.resolve().then(() => __importStar(require('./addonPublished')));
|
|
616
|
+
const api = publicRequester(opts.apiBase);
|
|
617
|
+
const carId = opts.item ?? opts.proxyItem ?? exports.DEFAULT_PROXY_ITEM_ID;
|
|
618
|
+
const item = await getItem(api, carId);
|
|
619
|
+
hostLabel = `the published car "${item.title}"`;
|
|
620
|
+
hostGlb = (await hostModel(api, item, defaultBytesFetch, opts.apiBase.replace(/\/$/, ''))).glb;
|
|
621
|
+
}
|
|
622
|
+
catch (e) {
|
|
623
|
+
log('warning', `the published car's model could not be read for the host-frame bind preflight (${String(e?.message ?? e).slice(0, 160)})`);
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
if (hostGlb) {
|
|
627
|
+
const found = await hostBindPreflight(addOns, hostGlb, hostLabel);
|
|
628
|
+
for (const i of found.filter((x) => x.level === 'warn'))
|
|
629
|
+
log('warning', `${i.code}: ${i.message}`);
|
|
630
|
+
const errors = found.filter((x) => x.level === 'error');
|
|
631
|
+
if (errors.length)
|
|
632
|
+
throw new PreviewInputError(`host-frame bind refused before launching the browser:\n${errors.map((i) => ` ${i.code}: ${i.message}\n fix: ${i.fix}`).join('\n')}`);
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
if (opts.target) {
|
|
636
|
+
const declared = (0, vehicleStance_1.declaredStance)(pkg);
|
|
637
|
+
if (declared.groundToBodyOriginM === null)
|
|
638
|
+
log('warning', 'the package declares no physics.chassis.groundToBodyOrigin; the stance check will report what it measures');
|
|
639
|
+
}
|
|
640
|
+
const proxy = await fetchProxy(opts.apiBase, (keepCar ? opts.item : undefined) ?? opts.proxyItem ?? exports.DEFAULT_PROXY_ITEM_ID);
|
|
641
|
+
const out = node_path_1.default.resolve(opts.out ?? node_path_1.default.join(files.dir, publishedCar ? `.helix-preview-${opts.item.slice(0, 8)}` : '.helix-preview'));
|
|
642
|
+
node_fs_1.default.rmSync(node_path_1.default.join(out, 'frames'), { recursive: true, force: true });
|
|
643
|
+
node_fs_1.default.rmSync(node_path_1.default.join(out, 'poses'), { recursive: true, force: true });
|
|
644
|
+
node_fs_1.default.rmSync(node_path_1.default.join(out, 'poses.jpg'), { force: true });
|
|
645
|
+
node_fs_1.default.mkdirSync(out, { recursive: true });
|
|
646
|
+
log('candidate', { package: files.packageFile || `(published car ${proxy.id})`, glb: files.glbFile || undefined, sha256: glb.sha256.slice(0, 16), proxy: proxy.id, addOns: addOns.map((a) => `${a.kind}:${a.slotType}`), out });
|
|
647
|
+
const { mintStorageState } = await Promise.resolve().then(() => __importStar(require('../visualQa/browser')));
|
|
648
|
+
const { mintStorageStateOverHttp } = await Promise.resolve().then(() => __importStar(require('../visualQa/signIn')));
|
|
649
|
+
let storageState = opts.storageState;
|
|
650
|
+
let minted;
|
|
651
|
+
if (!storageState) {
|
|
652
|
+
if (!opts.token)
|
|
653
|
+
throw new PreviewInputError('no QA sign-in: run `helix login`, or pass --storage-state <file> / set HELIX_VQA_STORAGE_STATE');
|
|
654
|
+
minted = node_path_1.default.join(node_fs_1.default.mkdtempSync(node_path_1.default.join(node_os_1.default.tmpdir(), 'helix-preview-')), 'session.json');
|
|
655
|
+
// Over plain HTTPS first (no browser, so no admission slot on a busy host); a real browser only if the website refuses that.
|
|
656
|
+
let who;
|
|
657
|
+
try {
|
|
658
|
+
who = await mintStorageStateOverHttp(opts.webBase, opts.token, minted);
|
|
659
|
+
}
|
|
660
|
+
catch (e) {
|
|
661
|
+
log('session', `HTTP sign-in refused (${String(e?.message ?? e).slice(0, 120)}); signing in through a browser`);
|
|
662
|
+
who = await mintStorageState(opts.webBase, opts.token, minted, opts.chrome);
|
|
663
|
+
}
|
|
664
|
+
storageState = minted;
|
|
665
|
+
log('session', `signed in as ${who}`);
|
|
666
|
+
}
|
|
667
|
+
// A fresh QA account would sit on the blocking "Claim your name" modal, which swallows every key the harness sends.
|
|
668
|
+
if (opts.token && !opts.storageState) {
|
|
669
|
+
try {
|
|
670
|
+
const { completeEntryFlow } = await Promise.resolve().then(() => __importStar(require('../visualQa/signIn')));
|
|
671
|
+
const entry = await completeEntryFlow(opts.apiBase, opts.token);
|
|
672
|
+
if (!entry.alreadyDone)
|
|
673
|
+
log('session', `completed the account's first-run entry flow (${entry.steps.join(', ') || 'nothing to send'}); done=${entry.done}`);
|
|
674
|
+
}
|
|
675
|
+
catch (e) {
|
|
676
|
+
log('warning', `could not check the account's first-run entry flow (${String(e?.message ?? e).slice(0, 120)}); a fresh account will sit on the Claim-your-name modal and never board`);
|
|
677
|
+
}
|
|
678
|
+
}
|
|
679
|
+
let resolved = candidateResolved({ proxyId: proxy.id, proxyTitle: proxy.title, pkg, glb });
|
|
680
|
+
if (publishedCar) {
|
|
681
|
+
const { resolveItem } = await Promise.resolve().then(() => __importStar(require('../visualQa/resolve')));
|
|
682
|
+
try {
|
|
683
|
+
resolved = await resolveItem(opts.apiBase, proxy.id, opts.token ?? null);
|
|
684
|
+
}
|
|
685
|
+
catch (e) {
|
|
686
|
+
throw new PreviewInputError(`the published car ${proxy.id} could not be resolved: ${String(e?.message ?? e).slice(0, 300)}`);
|
|
687
|
+
}
|
|
688
|
+
pkg = (resolved.root ?? {});
|
|
689
|
+
log('published', { item: proxy.id, title: resolved.identity.title, version: resolved.identity.packageVersion });
|
|
690
|
+
}
|
|
691
|
+
const { renderVehicle } = await Promise.resolve().then(() => __importStar(require('../visualQa/vehicle')));
|
|
692
|
+
const failed = (msg) => ({ route: 'test-grounds', url: '', frames: [], asserts: [], subjects: [], facts: {}, errors: [msg], renderer: null, engineVersion: null, fetchedAssets: [] });
|
|
693
|
+
let result;
|
|
694
|
+
try {
|
|
695
|
+
// A tune-only add-on is judged against the stock car: read the stock tuning first (a second, frameless load of the same world).
|
|
696
|
+
let stockTuning = null;
|
|
697
|
+
if (addOns.some((a) => a.ops.some((o) => o.v === 'tune'))) {
|
|
698
|
+
log('baseline', 'reading the stock car\'s tuning (a frameless load) to compare the tune ops against');
|
|
699
|
+
const baseDir = node_path_1.default.join(out, 'baseline');
|
|
700
|
+
node_fs_1.default.mkdirSync(baseDir, { recursive: true });
|
|
701
|
+
try {
|
|
702
|
+
const base = await renderVehicle({
|
|
703
|
+
resolved, apiBase: opts.apiBase, webBase: opts.webBase, outDir: baseDir, storageState, executablePath: opts.chrome, log,
|
|
704
|
+
preview: { candidate: { pkg, glb, audio, addOns: [], keepCar }, baselineOnly: true },
|
|
705
|
+
});
|
|
706
|
+
stockTuning = (base.facts.addOn?.tuning) ?? null;
|
|
707
|
+
if (!stockTuning || Object.keys(stockTuning).length < 3)
|
|
708
|
+
log('warning', `the stock tuning could not be read (${base.errors.join('; ').slice(0, 200)})`);
|
|
709
|
+
node_fs_1.default.writeFileSync(node_path_1.default.join(baseDir, 'stock-tuning.json'), JSON.stringify(stockTuning, null, 2));
|
|
710
|
+
}
|
|
711
|
+
catch (e) {
|
|
712
|
+
log('warning', `the stock tuning pass failed: ${String(e?.message ?? e).slice(0, 200)}`);
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
const ctx = {
|
|
716
|
+
resolved, apiBase: opts.apiBase, webBase: opts.webBase, outDir: out, storageState, executablePath: opts.chrome, log,
|
|
717
|
+
preview: {
|
|
718
|
+
candidate: { pkg, glb, audio, seatNodes, ...(addOns.length ? { addOns } : {}), ...(keepCar ? { keepCar: true } : {}) },
|
|
719
|
+
...(addOns.length ? { stockTuning, toleranceCm: opts.toleranceCm } : {}),
|
|
720
|
+
...(!addOns.length && opts.referencePaint ? { paint: true } : {}),
|
|
721
|
+
...(!addOns.length && opts.referenceWheel ? { wheelFace: true } : {}),
|
|
722
|
+
// occupants and the inspection set are ON unless explicitly switched off (a quick iteration loop, never a gate result)
|
|
723
|
+
...(!addOns.length ? { phases: ['exterior', 'poses', 'articulation', 'steering', 'cabin', 'drive', ...(opts.inspection !== false ? ['inspection'] : []), ...(opts.occupants !== false ? ['occupants'] : [])] } : {}),
|
|
724
|
+
},
|
|
725
|
+
};
|
|
726
|
+
try {
|
|
727
|
+
result = await renderVehicle(ctx);
|
|
728
|
+
}
|
|
729
|
+
catch (e) {
|
|
730
|
+
result = failed(`render route threw: ${String(e?.stack ?? e).slice(0, 800)}`);
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
finally {
|
|
734
|
+
// the minted session is a live login cookie: never leave it behind
|
|
735
|
+
if (minted)
|
|
736
|
+
node_fs_1.default.rmSync(node_path_1.default.dirname(minted), { recursive: true, force: true });
|
|
737
|
+
}
|
|
738
|
+
const carName = typeof pkg.displayName === 'string' ? pkg.displayName : (keepCar ? proxy.title : 'candidate');
|
|
739
|
+
// The route labels everything with the proxy item's id (the runtime's item); to the reader this is the candidate.
|
|
740
|
+
result = {
|
|
741
|
+
...result,
|
|
742
|
+
asserts: result.asserts.map((a) => ({ ...a, subject: 'candidate' })),
|
|
743
|
+
frames: result.frames.map((f) => ({ ...f, subject: 'candidate' })),
|
|
744
|
+
subjects: [{ id: proxy.id, title: keepCar ? proxy.title : `${carName} (via proxy ${proxy.title})`, role: 'host' }],
|
|
745
|
+
};
|
|
746
|
+
const bundle = {
|
|
747
|
+
schema: types_1.VISUAL_QA_BUNDLE_SCHEMA,
|
|
748
|
+
item: { ...resolved.identity },
|
|
749
|
+
harness: { version: 'helix-cli vehicle preview', route: result.route, url: result.url, host: node_os_1.default.hostname(), renderer: result.renderer, engineVersion: result.engineVersion, startedAt: new Date(t0).toISOString(), durationMs: Date.now() - t0, fetchedAssets: result.fetchedAssets },
|
|
750
|
+
frames: result.frames, asserts: result.asserts, facts: result.facts, subjects: result.subjects, errors: result.errors,
|
|
751
|
+
};
|
|
752
|
+
node_fs_1.default.writeFileSync(node_path_1.default.join(out, 'bundle.json'), JSON.stringify(bundle, null, 2));
|
|
753
|
+
let contactSheet = null;
|
|
754
|
+
const verdict = previewVerdict(result.asserts, result.errors, result.frames.length);
|
|
755
|
+
if (result.frames.length) {
|
|
756
|
+
const { renderContactSheet } = await Promise.resolve().then(() => __importStar(require('../visualQa/contactSheet')));
|
|
757
|
+
const sheet = await renderContactSheet({
|
|
758
|
+
title: addOns.length ? `PREVIEW — ${addOns.map((a) => a.title.replace(/ \(unpublished preview copy\)$/, '')).join(' + ').slice(0, 90)} on ${carName}` : `PREVIEW — ${typeof pkg.displayName === 'string' ? pkg.displayName : node_path_1.default.basename(files.packageFile)}`,
|
|
759
|
+
subtitle: addOns.length
|
|
760
|
+
? `unpublished add-on${addOns.length > 1 ? 's' : ''} · ${keepCar ? `published car ${proxy.id.slice(0, 8)}` : `candidate car glb ${glb.sha256.slice(0, 12)}… via proxy ${proxy.id.slice(0, 8)}`} · ${result.renderer ?? 'renderer ?'} · engine ${result.engineVersion ?? '?'}`
|
|
761
|
+
: `unpublished candidate · glb ${glb.sha256.slice(0, 12)}… · via proxy ${proxy.id.slice(0, 8)} · ${result.renderer ?? 'renderer ?'} · engine ${result.engineVersion ?? '?'}`,
|
|
762
|
+
verdict: verdict.verdict,
|
|
763
|
+
reasons: [],
|
|
764
|
+
frames: result.frames.map((f) => ({ label: f.label, bytes: node_fs_1.default.readFileSync(node_path_1.default.join(out, f.file)) })),
|
|
765
|
+
asserts: result.asserts,
|
|
766
|
+
critic: null,
|
|
767
|
+
});
|
|
768
|
+
contactSheet = node_path_1.default.join(out, 'contact-sheet.jpg');
|
|
769
|
+
node_fs_1.default.writeFileSync(contactSheet, sheet);
|
|
770
|
+
}
|
|
771
|
+
let posesSheet = null;
|
|
772
|
+
if (!addOns.length) {
|
|
773
|
+
// the fixed appearance poses, all seven in their fixed order: a pose that could not be made keeps its tile and says why
|
|
774
|
+
const made = result.facts.poses ?? [];
|
|
775
|
+
const { renderPoseSheet } = await Promise.resolve().then(() => __importStar(require('../visualQa/contactSheet')));
|
|
776
|
+
const sheet = await renderPoseSheet({
|
|
777
|
+
title: `POSES — ${typeof pkg.displayName === 'string' ? pkg.displayName : node_path_1.default.basename(files.packageFile)}`,
|
|
778
|
+
subtitle: `fixed views, car framed by its own bounds, plain backdrop, sun and environment light only, every lamp off · glb ${glb.sha256.slice(0, 12)}… · engine ${result.engineVersion ?? '?'}`,
|
|
779
|
+
poses: vehiclePoses_1.POSE_IDS.map((id) => {
|
|
780
|
+
const p = made.find((x) => x.id === id);
|
|
781
|
+
const file = p?.file ? node_path_1.default.join(out, p.file) : null;
|
|
782
|
+
return { id, label: p?.label ?? id, bytes: file && node_fs_1.default.existsSync(file) ? node_fs_1.default.readFileSync(file) : null, why: p?.file ? null : (p?.why ?? 'the render never reached the pose phase') };
|
|
783
|
+
}),
|
|
784
|
+
});
|
|
785
|
+
posesSheet = node_path_1.default.join(out, 'poses.jpg');
|
|
786
|
+
node_fs_1.default.writeFileSync(posesSheet, sheet);
|
|
787
|
+
}
|
|
788
|
+
// Body-paint gate: with `--reference-paint`, judge the body paint as the Try Now daylight draws it (vehicle.ts `paint`
|
|
789
|
+
// phase: paint alone, six cameras, the world's own lights) on hue, saturation, lightness and highlight wash. Rounds 3, 5
|
|
790
|
+
// and 8 shipped red-authored paint that rendered salmon with a white bonnet hotspot; the old side-pose hue check passed it.
|
|
791
|
+
if (opts.referencePaint && !addOns.length) {
|
|
792
|
+
const { judgePaint, paintReference, samplePaintView, PAINT_LIMITS } = await Promise.resolve().then(() => __importStar(require('./paintHue')));
|
|
793
|
+
const paintFacts = result.facts.paint;
|
|
794
|
+
let paintAsserts;
|
|
795
|
+
try {
|
|
796
|
+
const ref = paintReference(opts.referencePaint);
|
|
797
|
+
const pairs = (paintFacts?.views ?? []).filter((v) => v.file && v.emptyFile && node_fs_1.default.existsSync(node_path_1.default.join(out, v.file)) && node_fs_1.default.existsSync(node_path_1.default.join(out, v.emptyFile)));
|
|
798
|
+
if (!pairs.length)
|
|
799
|
+
throw new Error('the daylight paint views were not rendered (see the run errors)');
|
|
800
|
+
const stats = [];
|
|
801
|
+
for (const v of pairs)
|
|
802
|
+
stats.push(await samplePaintView({ id: v.id, paint: node_fs_1.default.readFileSync(node_path_1.default.join(out, v.file)), empty: node_fs_1.default.readFileSync(node_path_1.default.join(out, v.emptyFile)) }, ref));
|
|
803
|
+
const judged = judgePaint(opts.referencePaint, stats, (paintFacts?.materials ?? null), opts.paintToleranceDeg ?? PAINT_LIMITS.defaultHueToleranceDeg);
|
|
804
|
+
paintAsserts = judged.map((a) => ({ id: a.id, pass: a.pass, severity: 'block', detail: a.detail, measured: a.measured }));
|
|
805
|
+
}
|
|
806
|
+
catch (error) {
|
|
807
|
+
paintAsserts = [{ id: 'vehicle.paint.saturation', pass: false, severity: 'block', detail: `paint could not be sampled: ${error.message}`, measured: { referencePaint: opts.referencePaint } }];
|
|
808
|
+
}
|
|
809
|
+
result.asserts = [...result.asserts, ...paintAsserts];
|
|
810
|
+
}
|
|
811
|
+
// Wheel-design gate: with `--reference-wheel`, judge the candidate's wheel face (front left, square-on, the tyre centred) on spoke
|
|
812
|
+
// count, finish and centre cap against the reference close-up (vehicle/wheelDesign.ts). Declared values override the photo's.
|
|
813
|
+
if (opts.referenceWheel && !addOns.length) {
|
|
814
|
+
const { judgeWheelDesign, measureCandidateWheel, measureReferenceWheel } = await Promise.resolve().then(() => __importStar(require('./wheelDesign')));
|
|
815
|
+
const wf = result.facts.wheelFace;
|
|
816
|
+
let wheelAsserts;
|
|
817
|
+
try {
|
|
818
|
+
if (!wf?.file || !node_fs_1.default.existsSync(node_path_1.default.join(out, wf.file)))
|
|
819
|
+
throw new Error('the wheel face was not rendered (see the run errors)');
|
|
820
|
+
if (!node_fs_1.default.existsSync(opts.referenceWheel.image))
|
|
821
|
+
throw new PreviewInputError(`--reference-wheel image not found: ${opts.referenceWheel.image}`);
|
|
822
|
+
const cand = await measureCandidateWheel(node_path_1.default.join(out, wf.file));
|
|
823
|
+
const ref = await measureReferenceWheel(opts.referenceWheel);
|
|
824
|
+
result.facts.wheelDesign = { candidate: cand, reference: ref, declared: { spokeCount: opts.referenceWheel.spokeCount ?? null, finish: opts.referenceWheel.finish ?? null, centreCap: opts.referenceWheel.centreCap ?? null }, candidateFrame: wf.file };
|
|
825
|
+
wheelAsserts = judgeWheelDesign(cand, ref, opts.referenceWheel).map((a) => ({ id: a.id, pass: a.pass, severity: a.severity, detail: a.detail, measured: a.measured }));
|
|
826
|
+
}
|
|
827
|
+
catch (error) {
|
|
828
|
+
if (error instanceof PreviewInputError)
|
|
829
|
+
throw error;
|
|
830
|
+
wheelAsserts = [{ id: 'vehicle.wheels.design.spokes', pass: false, severity: 'block', detail: `the wheel design could not be measured: ${error.message}`, measured: { referenceWheel: opts.referenceWheel.image } }];
|
|
831
|
+
}
|
|
832
|
+
result.asserts = [...result.asserts, ...wheelAsserts];
|
|
833
|
+
}
|
|
834
|
+
// The gauntlet inspection sheets: every frame of the fixed inspection set, one question per sheet (inspectionSheets.ts).
|
|
835
|
+
// Written whenever the inspection or the occupants ran; an inspection with a hole in it fails preview.inspection.complete.
|
|
836
|
+
let inspection = null;
|
|
837
|
+
if (!addOns.length && (opts.inspection !== false || opts.occupants !== false)) {
|
|
838
|
+
try {
|
|
839
|
+
const { writeInspectionSheets } = await Promise.resolve().then(() => __importStar(require('./inspectionSheets')));
|
|
840
|
+
const w = await writeInspectionSheets({ out, carName, engineVersion: result.engineVersion, frames: result.frames, facts: result.facts, asserts: result.asserts });
|
|
841
|
+
if (opts.inspection !== false && opts.occupants !== false)
|
|
842
|
+
result.asserts = [...result.asserts, w.complete];
|
|
843
|
+
inspection = { dir: w.dir, index: node_path_1.default.join(w.dir, 'index.json'), verdict: w.index.verdict, sheets: w.index.sheets.map((s) => ({ id: s.id, file: node_path_1.default.join(w.dir, s.file), look: s.look[0] ?? '', missing: s.missing.length })) };
|
|
844
|
+
}
|
|
845
|
+
catch (e) {
|
|
846
|
+
result.asserts = [...result.asserts, { id: 'preview.inspection.complete', pass: false, severity: 'block', detail: `the inspection sheets could not be written: ${String(e?.message ?? e).slice(0, 200)}` }];
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
const summary = buildPreviewSummary({ files, glb, pkg, proxy, result, out, contactSheet, posesSheet, totalMs: Date.now() - t0, addOns });
|
|
850
|
+
summary.inspection = inspection;
|
|
851
|
+
node_fs_1.default.writeFileSync(summary.files.summary, JSON.stringify(summary, null, 2));
|
|
852
|
+
return summary;
|
|
853
|
+
}
|
|
854
|
+
//# sourceMappingURL=preview.js.map
|