@holoscript/core 8.0.6 → 8.0.8
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 +34 -34
- package/bin/holoscript.cjs +1 -1
- package/dist/GLTFPipeline-3EJLL3TS.cjs +38 -0
- package/dist/GLTFPipeline-3OWJV2VK.js +17 -0
- package/dist/{HoloScriptPlusParser-A2W7OCN2.cjs → HoloScriptPlusParser-ADWRY5OS.cjs} +15 -15
- package/dist/{HoloScriptPlusParser-7FBIFUFC.js → HoloScriptPlusParser-JLJDXHSC.js} +4 -4
- package/dist/HoloScriptPlusParser-QCGFPWIL.cjs +27 -0
- package/dist/{HoloScriptPlusParser-F2Z56FJR.js → HoloScriptPlusParser-WENAFEFV.js} +5 -5
- package/dist/HoloScriptRuntime-GGRVEU4T.cjs +19 -0
- package/dist/HoloScriptRuntime-GJK6VJPH.js +10 -0
- package/dist/{USDZExporter-3FWJ25JI.cjs → USDZExporter-AUHZODOF.cjs} +15 -4
- package/dist/{USDZExporter-D2HQLQYK.js → USDZExporter-GXB4AUSG.js} +15 -4
- package/dist/{chunk-2GQHTXOK.js → chunk-22Q5A6RV.js} +3 -3
- package/dist/{chunk-XHZCF3AS.cjs → chunk-2BZHWUSR.cjs} +27 -15
- package/dist/{chunk-XJAN7CZG.cjs → chunk-2GCNOI2U.cjs} +2 -2
- package/dist/{chunk-DBPGNHFS.js → chunk-2OWDB4FB.js} +13 -25
- package/dist/{chunk-N75IH2HY.js → chunk-2Y3V22SG.js} +5 -14
- package/dist/{chunk-MXFUTKCO.js → chunk-33YHE7HX.js} +3 -7
- package/dist/{chunk-RCZHLCX2.js → chunk-3GWWJT7L.js} +4 -4
- package/dist/{chunk-EK7L4DW7.js → chunk-3NGDZZR4.js} +4 -4
- package/dist/{chunk-WRLUBRKS.cjs → chunk-3SKLAUDD.cjs} +2 -2
- package/dist/{chunk-KKFZ3B6J.cjs → chunk-3VBO3IYQ.cjs} +2 -2
- package/dist/{chunk-YF2I3MV3.js → chunk-47RUFYKR.js} +2 -2
- package/dist/{chunk-VHAONJBY.js → chunk-4JGRWHZJ.js} +7 -5
- package/dist/{chunk-2J5WZLF5.cjs → chunk-4W5G5QVL.cjs} +26 -26
- package/dist/{chunk-GQHQOPXZ.cjs → chunk-4YNYPHH3.cjs} +186 -17
- package/dist/{chunk-H5PUZHJV.cjs → chunk-56VOWURB.cjs} +61 -40
- package/dist/{chunk-DQRQZB33.cjs → chunk-5A4TCHOC.cjs} +3 -3
- package/dist/{chunk-M56JSP4A.js → chunk-5EDVCNRT.js} +2 -2
- package/dist/{chunk-YU5RJQPE.js → chunk-5ET6L4NS.js} +3 -3
- package/dist/{chunk-A3GFOZAF.cjs → chunk-63ZGNR2T.cjs} +43 -39
- package/dist/{chunk-NG77ATEW.cjs → chunk-6PRZIHGL.cjs} +6 -6
- package/dist/{chunk-OXGPGQXN.cjs → chunk-7DMMMBCY.cjs} +7 -7
- package/dist/{chunk-FHP6LXJS.js → chunk-7E7GCQCK.js} +2 -2
- package/dist/{chunk-P4AIF7OQ.js → chunk-7VMGP2FW.js} +44 -28
- package/dist/{chunk-7MVLEZB2.js → chunk-7X5PNIQJ.js} +3 -3
- package/dist/{chunk-X7QB5PL5.cjs → chunk-7ZHYEITD.cjs} +11 -11
- package/dist/{chunk-KPJL34Y7.cjs → chunk-ACVWFGBI.cjs} +2 -2
- package/dist/{chunk-QWSB553J.cjs → chunk-AWB7QYY6.cjs} +6 -6
- package/dist/{chunk-VATGR4EM.js → chunk-B4EKV6HQ.js} +61 -40
- package/dist/{chunk-HBEN5TQR.js → chunk-BRNUPDHJ.js} +5 -5
- package/dist/{chunk-F63LYRVE.js → chunk-BTKZGHAV.js} +23 -11
- package/dist/{chunk-YTR32ZEB.cjs → chunk-C4GSLCHE.cjs} +300 -125
- package/dist/{chunk-CXS3DUKD.js → chunk-C7ZBSV2Q.js} +3 -3
- package/dist/{chunk-WOH6LKYT.cjs → chunk-CCPSNT6B.cjs} +12 -7
- package/dist/{chunk-NW5G5FBQ.js → chunk-DD2JQ7TS.js} +4 -3
- package/dist/{chunk-JD7CIZ33.js → chunk-DUCB6LGL.js} +8 -10
- package/dist/{chunk-D63CGNJU.js → chunk-DY72BMU5.js} +3 -3
- package/dist/{chunk-AIA52I7T.cjs → chunk-EBS32AJI.cjs} +6 -4
- package/dist/{chunk-DCE3LDO3.cjs → chunk-EDPYCLRC.cjs} +52 -62
- package/dist/{chunk-NDUX553L.js → chunk-F2G6CWFT.js} +240 -65
- package/dist/{chunk-X7LYK5TX.cjs → chunk-F5LKJ6F5.cjs} +43 -31
- package/dist/{chunk-LAUFLPB6.js → chunk-FGMDMJM7.js} +10 -5
- package/dist/{chunk-P52PPB5R.js → chunk-FHQFPYV4.js} +4 -4
- package/dist/{chunk-YIMN575O.js → chunk-FNHJRI32.js} +8 -5
- package/dist/{chunk-EXUP2BUM.cjs → chunk-FT6TDR2O.cjs} +27 -27
- package/dist/{chunk-BRQJKJGT.cjs → chunk-FWVYAMNW.cjs} +4 -4
- package/dist/{chunk-PGANYCAG.cjs → chunk-G25QVBA5.cjs} +4 -3
- package/dist/{chunk-5BLWXOIP.cjs → chunk-G6PNEASF.cjs} +13 -13
- package/dist/{chunk-2BSMSUCE.js → chunk-GASCWJK5.js} +2 -2
- package/dist/{chunk-2VL6SJ33.cjs → chunk-GH6C2QGW.cjs} +12 -21
- package/dist/{chunk-JEB5UU3E.js → chunk-GSOUNWEL.js} +35 -27
- package/dist/{chunk-QPOQ7VPI.js → chunk-GTA4Q3A3.js} +2 -2
- package/dist/{chunk-JIYN45TV.cjs → chunk-GVFJ6T4S.cjs} +3 -7
- package/dist/{chunk-IVY74O6C.js → chunk-GVOKJNUN.js} +50 -11
- package/dist/{chunk-GZG4KA4E.js → chunk-GW3LKD5C.js} +6 -4
- package/dist/{chunk-IBXT6UP3.cjs → chunk-HFSVMKM3.cjs} +14 -14
- package/dist/{chunk-E767PVC6.cjs → chunk-HLFDZ35S.cjs} +5 -5
- package/dist/{chunk-ZXZ2AL2J.cjs → chunk-I76GIKN7.cjs} +20 -16
- package/dist/{chunk-4FDL7JLJ.cjs → chunk-KAIVDEIG.cjs} +145 -60
- package/dist/{chunk-X4EBCG4K.js → chunk-KCPHASCO.js} +18 -6
- package/dist/{chunk-T5J7ZKP3.cjs → chunk-KOUAQL2B.cjs} +16 -13
- package/dist/{chunk-GMP623FG.cjs → chunk-KQU64CIX.cjs} +2 -2
- package/dist/{chunk-4DO425P5.js → chunk-L5U4W6JC.js} +4 -4
- package/dist/{chunk-HBLKLLG5.cjs → chunk-LMJ5EBV7.cjs} +10 -10
- package/dist/{chunk-QWAR3GY6.cjs → chunk-LODTHGST.cjs} +8 -8
- package/dist/{chunk-TFUMBR7G.cjs → chunk-LPS5AMQD.cjs} +8 -8
- package/dist/{chunk-ISG3TQ2O.js → chunk-LWUOUCYL.js} +9 -5
- package/dist/{chunk-6CTRH7HT.cjs → chunk-LYJJI7ZK.cjs} +12 -14
- package/dist/{chunk-GTU2Z2WW.cjs → chunk-M7K4LE66.cjs} +5 -14
- package/dist/{chunk-URG2SJLK.js → chunk-MDR235RZ.js} +3 -7
- package/dist/{chunk-ULXWSPCK.js → chunk-MSYSQ2AJ.js} +101 -16
- package/dist/{chunk-TCBJMNXS.cjs → chunk-NGBXXZLL.cjs} +50 -62
- package/dist/{chunk-RXU4PQKA.js → chunk-NHJLP37F.js} +6 -6
- package/dist/{chunk-NTGBEMYL.cjs → chunk-NHYRRAGI.cjs} +5 -5
- package/dist/{chunk-YG3OAHJZ.cjs → chunk-O3MGZDCT.cjs} +89 -52
- package/dist/{chunk-GIOYPNTH.js → chunk-OABEO6HH.js} +185 -16
- package/dist/{chunk-N5YOAFNA.cjs → chunk-OS533P33.cjs} +37 -29
- package/dist/{chunk-IIUFMUTV.js → chunk-PABONWKI.js} +24 -11
- package/dist/{chunk-5BQIJG3O.js → chunk-PXNZ6TME.js} +47 -57
- package/dist/{chunk-KDZRD6EI.js → chunk-Q2Q34NF3.js} +63 -26
- package/dist/{chunk-IS4AEGLU.js → chunk-QBWNJXNR.js} +10 -6
- package/dist/{chunk-5IHG2LGT.js → chunk-QFU53KRH.js} +4 -4
- package/dist/{chunk-NTJZJ5IP.cjs → chunk-QGMUTVVH.cjs} +17 -17
- package/dist/{chunk-MYY4PMWX.cjs → chunk-RUVBFAF7.cjs} +50 -11
- package/dist/{chunk-E64LOLJU.js → chunk-S762UEV5.js} +5 -5
- package/dist/{chunk-3SBVODUP.cjs → chunk-SH5PPVK7.cjs} +61 -45
- package/dist/{chunk-LY4DMQOW.cjs → chunk-SKZPC5AG.cjs} +5 -5
- package/dist/{chunk-TJHVSBP2.js → chunk-SLHLXUMO.js} +10 -4
- package/dist/{chunk-S6OVFUXD.js → chunk-SSSN7VAM.js} +3 -3
- package/dist/{chunk-K5UGRXKR.js → chunk-SXOSDZD6.js} +6 -6
- package/dist/{chunk-J32ZJZJH.js → chunk-SYTRBGDS.js} +2 -2
- package/dist/{chunk-CIWWXYHZ.cjs → chunk-T6W3Z3SH.cjs} +2 -2
- package/dist/{chunk-U36W76U7.js → chunk-TEVX443G.js} +44 -51
- package/dist/{chunk-6DOKCECB.cjs → chunk-TQ377OLB.cjs} +23 -21
- package/dist/{chunk-YAPPQYJH.cjs → chunk-TRCGG42I.cjs} +195 -152
- package/dist/{chunk-H652NHX5.js → chunk-TVANHNJ7.js} +30 -23
- package/dist/{chunk-EKBKLK7P.js → chunk-UDE4OZMR.js} +3 -3
- package/dist/{chunk-3OIZJNVT.cjs → chunk-UGXHYIWT.cjs} +5 -5
- package/dist/{chunk-44GM3P4G.cjs → chunk-ULMSSHCJ.cjs} +21 -21
- package/dist/{chunk-3B5NVDHJ.cjs → chunk-UOL6Y5TD.cjs} +18 -18
- package/dist/{chunk-5S7RKFGR.cjs → chunk-UVFI7XIR.cjs} +10 -4
- package/dist/{chunk-5TIZXMED.cjs → chunk-V7AKE5VT.cjs} +10 -10
- package/dist/{chunk-3B7AY37W.js → chunk-VEPGBETF.js} +6 -6
- package/dist/{chunk-BKCK3IU6.js → chunk-VF257YKO.js} +4 -4
- package/dist/{chunk-4N4SXXWF.js → chunk-VSACG2AR.js} +3 -3
- package/dist/{chunk-ZDSYWBIE.cjs → chunk-VW5CRJBE.cjs} +3 -7
- package/dist/{chunk-PVWNU4QT.cjs → chunk-WFKVS2K4.cjs} +64 -26
- package/dist/{chunk-TDCJ7YPA.js → chunk-WXQ57LAO.js} +3 -3
- package/dist/{chunk-NE5CZ2NC.cjs → chunk-X27QRG4C.cjs} +38 -38
- package/dist/{chunk-TVHSPJ4N.cjs → chunk-X2AVEAZM.cjs} +30 -23
- package/dist/{chunk-C34AJIJO.js → chunk-XQ5MWMP2.js} +4 -4
- package/dist/{chunk-TFWYKOOB.cjs → chunk-XW6IXEQH.cjs} +26 -13
- package/dist/{chunk-YIVFJNYV.js → chunk-Y3ZFVUUU.js} +2 -2
- package/dist/{chunk-TJIMBJ6L.cjs → chunk-Y57W2CT5.cjs} +2 -2
- package/dist/{chunk-BFROVZOF.cjs → chunk-YCM6QQRT.cjs} +46 -53
- package/dist/{chunk-MBOOR7X4.js → chunk-YFVQWSNJ.js} +3 -3
- package/dist/{chunk-ISM4NX6N.js → chunk-YFWRJW4B.js} +2 -2
- package/dist/{chunk-6OTFG3EB.js → chunk-YN6IETRZ.js} +179 -136
- package/dist/{chunk-NPDNFPTU.js → chunk-YRRAUB35.js} +4 -4
- package/dist/{chunk-GCYR3D2K.js → chunk-Z6PMDS4G.js} +61 -23
- package/dist/{chunk-DPZXVDGM.js → chunk-ZA34AN3R.js} +8 -17
- package/dist/{chunk-EKYL4PE3.cjs → chunk-ZLF4YF3U.cjs} +2 -2
- package/dist/{chunk-VFKXK4GR.cjs → chunk-ZPZAVHXL.cjs} +20 -20
- package/dist/cli/holoscript-runner.cjs +39 -22
- package/dist/cli/holoscript-runner.js +32 -15
- package/dist/compiler/GasOptimizationAnalyzer.d.ts +73 -0
- package/dist/compiler/NFTMarketplaceCompiler.d.ts +23 -0
- package/dist/compiler/agent-inference.cjs +7 -7
- package/dist/compiler/agent-inference.js +3 -3
- package/dist/compiler/android-xr.cjs +8 -8
- package/dist/compiler/android-xr.js +6 -6
- package/dist/compiler/android.cjs +6 -6
- package/dist/compiler/android.js +4 -4
- package/dist/compiler/ar.cjs +6 -6
- package/dist/compiler/ar.js +4 -4
- package/dist/compiler/babylon.cjs +8 -8
- package/dist/compiler/babylon.js +7 -7
- package/dist/compiler/business-quest.cjs +9 -9
- package/dist/compiler/business-quest.js +1 -1
- package/dist/compiler/context.cjs +6 -6
- package/dist/compiler/context.js +3 -3
- package/dist/compiler/domain-block-utils.cjs +153 -153
- package/dist/compiler/domain-block-utils.js +4 -4
- package/dist/compiler/dtdl.cjs +7 -7
- package/dist/compiler/dtdl.js +4 -4
- package/dist/compiler/gltf-pipeline.cjs +8 -8
- package/dist/compiler/gltf-pipeline.js +1 -1
- package/dist/compiler/godot.cjs +6 -6
- package/dist/compiler/godot.js +5 -5
- package/dist/compiler/incremental.cjs +8 -8
- package/dist/compiler/incremental.js +3 -3
- package/dist/compiler/index.cjs +347 -362
- package/dist/compiler/index.d.ts +20 -0
- package/dist/compiler/index.js +200 -215
- package/dist/compiler/ios.cjs +6 -6
- package/dist/compiler/ios.js +4 -4
- package/dist/compiler/llm-provider-capabilities.cjs +6 -6
- package/dist/compiler/llm-provider-capabilities.js +3 -3
- package/dist/compiler/multi-layer.cjs +10 -10
- package/dist/compiler/multi-layer.js +9 -9
- package/dist/compiler/openxr.cjs +7 -7
- package/dist/compiler/openxr.js +6 -6
- package/dist/compiler/playcanvas.cjs +6 -6
- package/dist/compiler/playcanvas.js +5 -5
- package/dist/compiler/r3f.cjs +13 -13
- package/dist/compiler/r3f.js +8 -8
- package/dist/compiler/sdf.cjs +7 -7
- package/dist/compiler/sdf.js +5 -5
- package/dist/compiler/state.cjs +6 -6
- package/dist/compiler/state.js +4 -4
- package/dist/compiler/trait-composition.cjs +8 -8
- package/dist/compiler/trait-composition.js +4 -4
- package/dist/compiler/unity.cjs +7 -7
- package/dist/compiler/unity.js +6 -6
- package/dist/compiler/unreal.cjs +8 -8
- package/dist/compiler/unreal.js +6 -6
- package/dist/compiler/urdf.cjs +14 -14
- package/dist/compiler/urdf.js +5 -5
- package/dist/compiler/usd-physics.cjs +7 -7
- package/dist/compiler/usd-physics.js +4 -4
- package/dist/compiler/visionos.cjs +7 -7
- package/dist/compiler/visionos.js +6 -6
- package/dist/compiler/vrchat.cjs +7 -7
- package/dist/compiler/vrchat.js +5 -5
- package/dist/compiler/vrr.cjs +7 -7
- package/dist/compiler/vrr.js +5 -5
- package/dist/compiler/wasm.cjs +10 -10
- package/dist/compiler/wasm.js +5 -5
- package/dist/compiler/webgpu.cjs +6 -6
- package/dist/compiler/webgpu.js +5 -5
- package/dist/coordinators/index.cjs +27 -10
- package/dist/coordinators/index.js +27 -10
- package/dist/debugger.cjs +6 -6
- package/dist/debugger.js +4 -4
- package/dist/entries/scripting.cjs +6 -6
- package/dist/entries/scripting.js +2 -2
- package/dist/hololand/index.cjs +36 -36
- package/dist/hololand/index.js +2 -2
- package/dist/index.cjs +1056 -796
- package/dist/index.js +440 -180
- package/dist/math/tropical-spmv.cjs +10 -10
- package/dist/math/tropical-spmv.js +1 -1
- package/dist/math/vec3.cjs +13 -13
- package/dist/math/vec3.js +1 -1
- package/dist/parser/NFTMarketplaceTypes.d.ts +191 -0
- package/dist/parser.cjs +16 -16
- package/dist/parser.js +5 -5
- package/dist/reconstruction/index.cjs +37 -37
- package/dist/reconstruction/index.js +4 -4
- package/dist/runtime.cjs +274 -76
- package/dist/runtime.d.ts +10 -1
- package/dist/runtime.js +268 -70
- package/dist/self-improvement/index.cjs +12 -4
- package/dist/self-improvement/index.js +12 -4
- package/dist/{src-HCCCSYP7.js → src-J6CM4AUR.js} +91 -33
- package/dist/{src-4ROC227P.cjs → src-PT2FERDV.cjs} +93 -35
- package/dist/testing.cjs +5 -5
- package/dist/testing.js +1 -1
- package/dist/traits/botanical-lotus.cjs +49 -49
- package/dist/traits/botanical-lotus.js +2 -2
- package/dist/traits/engines/index.cjs +39 -39
- package/dist/traits/engines/index.d.ts +279 -0
- package/dist/traits/engines/index.js +4 -4
- package/dist/traits/index.cjs +881 -773
- package/dist/traits/index.js +366 -258
- package/dist/world/index.cjs +21 -18
- package/dist/world/index.js +21 -18
- package/dist/world-model/index.cjs +11 -5
- package/dist/world-model/index.d.ts +8 -0
- package/dist/world-model/index.js +11 -5
- package/package.json +74 -68
- package/LICENSE +0 -21
- package/dist/GLTFPipeline-PVLTKDBD.cjs +0 -38
- package/dist/GLTFPipeline-QPI4I7DL.js +0 -17
- package/dist/HoloScriptPlusParser-WKHRIH6T.cjs +0 -27
- package/dist/HoloScriptRuntime-6ZGLUCFS.js +0 -10
- package/dist/HoloScriptRuntime-ALUASIL2.cjs +0 -19
package/dist/traits/index.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
export { MOTION_DATA_SCHEMA_VERSION, NullMotionMatchingEngine, SYNTHETIC_WALK_JOINTS, SyntheticWalkCycleEngine, TRAJECTORY_FRAME_DT, TRAJECTORY_HORIZON_FRAMES, buildSyntheticBipedPose, classifyGait, createNullMotionMatchingEngine, createSyntheticWalkCycleEngine, inferenceFrameToTensor, magnitude, projectLinearTrajectory, validateMotionCapture, validateTrainingCorpus, validateTrainingFrame } from '../chunk-
|
|
2
|
-
import { QuantumCircuitCompiler } from '../chunk-
|
|
3
|
-
export { SkeletonTrait, createSkeletonTrait, skeletonHandler } from '../chunk-
|
|
4
|
-
import { createHoloMapRuntime, HOLOMAP_DEFAULTS } from '../chunk-
|
|
1
|
+
export { MOTION_DATA_SCHEMA_VERSION, NullMotionMatchingEngine, SYNTHETIC_WALK_JOINTS, SyntheticWalkCycleEngine, TRAJECTORY_FRAME_DT, TRAJECTORY_HORIZON_FRAMES, buildSyntheticBipedPose, classifyGait, createNullMotionMatchingEngine, createSyntheticWalkCycleEngine, inferenceFrameToTensor, magnitude, projectLinearTrajectory, validateMotionCapture, validateTrainingCorpus, validateTrainingFrame } from '../chunk-GVOKJNUN.js';
|
|
2
|
+
import { QuantumCircuitCompiler } from '../chunk-FGMDMJM7.js';
|
|
3
|
+
export { SkeletonTrait, createSkeletonTrait, skeletonHandler } from '../chunk-5EDVCNRT.js';
|
|
4
|
+
import { createHoloMapRuntime, HOLOMAP_DEFAULTS } from '../chunk-Z6PMDS4G.js';
|
|
5
5
|
import '../chunk-WNNE3PO3.js';
|
|
6
6
|
import { CircuitBreaker, Bulkhead, withTimeout, retryWithBackoff, fallbackChain } from '../chunk-A6KINLZJ.js';
|
|
7
|
-
import { extractPayload, normalizeCenter, parseCRDTRoomTraitConfig, validateCRDTRoomTraitConfig, resolveCRDTRoomTraitConfig, deriveWalkableNavmesh } from '../chunk-
|
|
8
|
-
export { AIDriverTrait, ALL_CIRCUITS, ARKIT_MOUTH_SHAPES, AnimationTrait, BUILTIN_CIRCUITS, BarretenbergBackend, BehaviorTreeRunner, CARE_ETHICS_TRAIT, CRDTRoomTraitValidationError, CRDT_ROOM_TRAIT_DEFAULTS, ComponentType, ConsensusTrait, DEFAULT_ANIMATION_MAP, DEFAULT_BEHAVIOR_FACT_TTL_ALERT_RULE, DEFAULT_EXPRESSION_PRESETS, DEFAULT_EXTERNAL_TIMEOUT_MS, DEFAULT_FOVEATED_BLEND, DEFAULT_FREQUENCY_BANDS, DEFAULT_REPUTATION_LEDGER_MAX_FACTS, DEFAULT_REPUTATION_LEDGER_TTL_DAYS, DEFAULT_SYNC_FIELD, DEFAULT_TRAIT_CONFIG, DialogTrait, ECSWorld, EmotionDirectiveTrait, EnvironmentalAudioSystem, GEM_RESONANCE_ELEMENT_FREQUENCIES, GOAPPlanner, GOLDEN_ANGLE_DEG, InteractiveGraphTrait, JobQueuePersistence, LOCAL_WEBCAM_VIEW_ID, LipSyncTrait, LobbyTrait, MAX_EXPERIENCE_LOG_ENTRIES, MorphTrait, MultiviewGaussianRendererTrait, NetworkedTrait, OCULUS_VISEME_MAP, PIDControllerTrait, PressableTrait, TIER_DEFAULTS as QUOTA_TIER_DEFAULTS, REFERENCE_SPACE_CHAIN, SPATIAL_PREDICATE_CIRCUITS, SYNC_PRESETS, SandboxExecutionTrait, SlidableTrait, SpatialAwarenessTrait, SyncTierTrait, TriggerTrait, URDFRobotTrait, VRTraitRegistry, VoiceInputTrait, VoiceOutputTrait, VoronoiFractureSystem, WEATHER_PRESETS, aIDriverHandler, abTestHandler, abstain, accessibleHandler, advancedClothHandler, affinityHandler, agentDiscoveryHandler, agentMemoryHandler, agentMovementSystem, agentPortalHandler, aiTextureGenHandler, aiUpscalingHandler, ainpcBrainHandler, alertHandler, altTextHandler, ambisonicsHandler, analyticsHandler, anchorHandler, applyFBXAxisConversion, applyStatModifiers, applyUSDAxisConversion, approve, audioMaterialHandler, audioOcclusionHandler, audioPortalHandler, auditLogHandler, autoVote, avatarEmbodimentHandler, behaviorTreeHandler, biofeedbackHandler, blackboardHandler, bloomReactiveHandler, bodyTrackingHandler, bufferHandler, buildBehaviorFactDisclosure, buoyancyHandler, cRDTRoomHandler, careEthicsHandler, chainHandler, characterHandler, choreographyHandler, circuitBreakerHandler, clothHandler, coLocatedHandler, compareSemVer, computeHandler, computePhyllotaxisPosition, computerUseHandler, consensusHandler, consentGateHandler, controlNetHandler, controllerInputHandler, controlnetHandler, createAIDriverTrait, createApprovalRequest, createBaseMainnetAccountingAdapter, createBehaviorFactTtlAlertRule, createCRDTRoomTraitConfig, createCanBusAccountingAdapter, createConsensusTrait, createDialogTrait, createEdiX12AccountingAdapter, createEmotionDirectiveTrait, createHl7FhirAccountingAdapter, createLipSyncTrait, createLobbyTrait, createMorphTrait, createRollbackCheckpoint, createSelectiveDisclosure, createSharedSpatialProvider, createSimulatedController, createSpatialAwarenessTrait, createTriggerTrait, createURDFRobotTrait, createVoiceInputTrait, createVoiceOutputTrait, cronHandler, dataBindingHandler, deriveBloomReactiveOutput, deriveLotusCenterPhase, deriveLotusGardenerSchedule, deriveLotusGenesisGate, deriveLotusGenesisSeed, deriveLotusPetalVisual, deriveLotusRootEmissive, deriveLotusStalkPosture, deriveWalkableNavmesh, destructionHandler, deviceProfiles, dialogHandler, dialogueHandler, digitalTwinHandler, dropTableHandler, economyPrimitivesHandler, effectiveWeight, embeddingSearchHandler, emissiveAt, emotionDirectiveHandler, emotionHandler, emotionalVoiceHandler, encounterHandler, environmentalAudioHandler, evaluateAction, evaluateCareEthicsTurn, extractLotusGenesisAnchorHash, extractPayload, eyeTrackedHandler, faceTrackingHandler, factionHandler, fbxHandler, feedbackLoopHandler, findReachablePath, findWalkableNodeAt, flowFieldHandler, fluidHandler, gardenerPulseJitter, gaussianSplatHandler, gemResonanceHandler, geospatialAnchorHandler, geospatialEnvHandler, gestureHandler, getActiveSessions, getAgentId, getAirAbsorption, getAuditLog, getCachedThingDescription, getCapabilities, getCareEthicsState, getEventHistory, getFBXAnimationStacks, getFBXBoneNames, getFBXMorphTargets, getFBXState, getGLTFAnimations, getGLTFMorphTargets, getGLTFState, getMQTTSinkClient, getMQTTSinkState, getMQTTSourceClient, getMQTTSourceState, getMyProposals, getMyVotes, getNegotiationMethods, getPredicateCircuitId, getSession, getUSDActiveVariant, getUSDAnimation, getUSDBlendShapes, getUSDJointNames, getUSDState, getUSDVariantSets, getWoTThingState, gltfHandler, goalOrientedHandler, gpuBufferHandler, gpuParticleHandler, gpuPhysicsHandler, granularMaterialHandler, handMenuHandler, handMeshAIHandler, handTrackingHandler, hapticCueHandler, hapticHandler, hasMQTTSinkTrait, hasMQTTSourceTrait, hasVoted, hasWoTThingTrait, hashGardenerSeed, hashSeed, headTrackedAudioHandler, heatmap3dHandler, highContrastHandler, hitlHandler, hrtfHandler, iKHandler, initiate, invalidateThingDescription, isConsentGranted, isFBXLoaded, isGLTFLoaded, isInSession, isMQTTSinkConnected, isMQTTSourceConnected, isReservedPaperId, isUSDLoaded, isUSDZ, isWalkableAt, jointHandler, layerAwareHandler, leave, lightEstimationHandler, lipSyncHandler, llmAgentHandler, lobbyHandler, localLLMHandler, lodSystem, lotusCenterHandler, lotusGardenerHandler, lotusGenesisTriggerHandler, lotusPetalHandler, lotusRootHandler, lotusStalkHandler, luckHandler, magnifiableHandler, marketplaceHandler, marketplaceIntegrationHandler, matchesCondition, materialXHandler, memoryHandler, meshDetectionHandler, messagingHandler, modifiedThreshold, morphHandler, motionReducedHandler, mqttSinkHandler, mqttSourceHandler, multiAgentHandler, multiviewGaussianRendererHandler, negotiationHandler, nerfHandler, networkedAvatarHandler, networkedHandler, neuralAnimationHandler, neuralForgeHandler, neuralLinkHandler, neuralUpscalingHandler, nftHandler, normalizeCenter, normalizeLotusSeed, normalizePointCloud, npcAIHandler, objectTrackingHandler, occlusionHandler, openXRHALHandler, parseCRDTRoomEntityConfig, parseCRDTRoomTraitConfig, partnerSDKHandler, patrolHandler, perceptionHandler, persistentAnchorHandler, photogrammetryHandler, phyllotaxisHandler, physicsSystem, pickByWeight, planeDetectionHandler, poiHandler, pointCloudHandler, portableHandler, poseEstimationHandler, pressableHandler, propose, publishToMQTTSink, quotaHandler, ragKnowledgeHandler, rateLimiterHandler, rbacHandler, realityKitMeshHandler, remotePresenceHandler, renderNetworkHandler, reputationLedgerHandler, resolveBloomStage, resolveCRDTRoomTraitConfig, resolvePulseHz, resourceAccountingHandler, reverbZoneHandler, rigidbodyHandler, roadmapNodeHandler, roleHandler, rooftopAnchorHandler, roomMeshHandler, ropeHandler, runECSBenchmark, runResourceAccountingAudit, sceneGraphHandler, sceneReconstructionHandler, schedulerHandler, screenReaderHandler, scrollableHandler, seatedHandler, secondsToUSDTimeCode, seededRand01, sensorHandler, setAgentManifest, sharePlayHandler, sharedAnchorHandler, sharedWorldHandler, shouldFire, signRequest, skillRegistryHandler, slidableHandler, softBodyHandler, sonificationHandler, spatialAccessoryHandler, spatialAudioCueHandler, spatialAwarenessHandler, spatialNavigationHandler, spatialPersonaHandler, spectatorHandler, ssoOidcHandler, ssoSamlHandler, stableDiffusionHandler, stableResourceAccountingReceiptHash, statHandler, structuredLoggerHandler, subtitleHandler, syncTierHandler, tenantHandler, terrainAnchorHandler, timeoutGuardHandler, tokenGatedHandler, transformHandler, triggerHandler, urdfRobotHandler, usdHandler, usdTimeCodeToSeconds, userMonitorHandler, validateCRDTRoomTraitConfig, validateSemVer, vectorDBHandler, verifyWebhookSignature, visionHandler, voiceInputHandler, voiceMeshHandler, voiceOutputHandler, voiceProximityHandler, volumetricHandler, volumetricVideoHandler, volumetricWindowHandler, voronoiFractureHandler, vote, vpsHandler, vrTraitRegistry, walletHandler, wasmBridgeHandler, windHandler, withNegotiation, wotThingHandler, zkPrivateHandler } from '../chunk-
|
|
9
|
-
export { LIGHTING_PRESETS, LightingTrait, MATERIAL_PRESETS, MaterialTrait, RenderingTrait, SHADER_CHUNKS, SHADER_PRESETS, ShaderTrait, createLightingTrait, createMaterialTrait, createRenderingTrait, createShaderTrait, lightingHandler, materialHandler, renderingHandler, shaderHandler } from '../chunk-
|
|
10
|
-
import '../chunk-
|
|
7
|
+
import { extractPayload, normalizeCenter, parseCRDTRoomTraitConfig, validateCRDTRoomTraitConfig, resolveCRDTRoomTraitConfig, deriveWalkableNavmesh } from '../chunk-YN6IETRZ.js';
|
|
8
|
+
export { AIDriverTrait, ALL_CIRCUITS, ARKIT_MOUTH_SHAPES, AnimationTrait, BUILTIN_CIRCUITS, BarretenbergBackend, BehaviorTreeRunner, CARE_ETHICS_TRAIT, CRDTRoomTraitValidationError, CRDT_ROOM_TRAIT_DEFAULTS, ComponentType, ConsensusTrait, DEFAULT_ANIMATION_MAP, DEFAULT_BEHAVIOR_FACT_TTL_ALERT_RULE, DEFAULT_EXPRESSION_PRESETS, DEFAULT_EXTERNAL_TIMEOUT_MS, DEFAULT_FOVEATED_BLEND, DEFAULT_FREQUENCY_BANDS, DEFAULT_REPUTATION_LEDGER_MAX_FACTS, DEFAULT_REPUTATION_LEDGER_TTL_DAYS, DEFAULT_SYNC_FIELD, DEFAULT_TRAIT_CONFIG, DialogTrait, ECSWorld, EmotionDirectiveTrait, EnvironmentalAudioSystem, GEM_RESONANCE_ELEMENT_FREQUENCIES, GOAPPlanner, GOLDEN_ANGLE_DEG, InteractiveGraphTrait, JobQueuePersistence, LOCAL_WEBCAM_VIEW_ID, LipSyncTrait, LobbyTrait, MAX_EXPERIENCE_LOG_ENTRIES, MorphTrait, MultiviewGaussianRendererTrait, NetworkedTrait, OCULUS_VISEME_MAP, PIDControllerTrait, PressableTrait, TIER_DEFAULTS as QUOTA_TIER_DEFAULTS, REFERENCE_SPACE_CHAIN, SPATIAL_PREDICATE_CIRCUITS, SYNC_PRESETS, SandboxExecutionTrait, SlidableTrait, SpatialAwarenessTrait, SyncTierTrait, TriggerTrait, URDFRobotTrait, VRTraitRegistry, VoiceInputTrait, VoiceOutputTrait, VoronoiFractureSystem, WEATHER_PRESETS, aIDriverHandler, abTestHandler, abstain, accessibleHandler, advancedClothHandler, affinityHandler, agentDiscoveryHandler, agentMemoryHandler, agentMovementSystem, agentPortalHandler, aiTextureGenHandler, aiUpscalingHandler, ainpcBrainHandler, alertHandler, altTextHandler, ambisonicsHandler, analyticsHandler, anchorHandler, applyFBXAxisConversion, applyStatModifiers, applyUSDAxisConversion, approve, audioMaterialHandler, audioOcclusionHandler, audioPortalHandler, auditLogHandler, autoVote, avatarEmbodimentHandler, behaviorTreeHandler, biofeedbackHandler, blackboardHandler, bloomReactiveHandler, bodyTrackingHandler, bufferHandler, buildBehaviorFactDisclosure, buoyancyHandler, cRDTRoomHandler, careEthicsHandler, chainHandler, characterHandler, choreographyHandler, circuitBreakerHandler, clothHandler, coLocatedHandler, compareSemVer, computeHandler, computePhyllotaxisPosition, computerUseHandler, consensusHandler, consentGateHandler, controlNetHandler, controllerInputHandler, controlnetHandler, createAIDriverTrait, createApprovalRequest, createBaseMainnetAccountingAdapter, createBehaviorFactTtlAlertRule, createCRDTRoomTraitConfig, createCanBusAccountingAdapter, createConsensusTrait, createDialogTrait, createEdiX12AccountingAdapter, createEmotionDirectiveTrait, createHl7FhirAccountingAdapter, createLipSyncTrait, createLobbyTrait, createMorphTrait, createRollbackCheckpoint, createSelectiveDisclosure, createSharedSpatialProvider, createSimulatedController, createSpatialAwarenessTrait, createTriggerTrait, createURDFRobotTrait, createVoiceInputTrait, createVoiceOutputTrait, cronHandler, dataBindingHandler, deriveBloomReactiveOutput, deriveLotusCenterPhase, deriveLotusGardenerSchedule, deriveLotusGenesisGate, deriveLotusGenesisSeed, deriveLotusPetalVisual, deriveLotusRootEmissive, deriveLotusStalkPosture, deriveWalkableNavmesh, destructionHandler, deviceProfiles, dialogHandler, dialogueHandler, digitalTwinHandler, dropTableHandler, economyPrimitivesHandler, effectiveWeight, embeddingSearchHandler, emissiveAt, emotionDirectiveHandler, emotionHandler, emotionalVoiceHandler, encounterHandler, environmentalAudioHandler, evaluateAction, evaluateCareEthicsTurn, extractLotusGenesisAnchorHash, extractPayload, eyeTrackedHandler, faceTrackingHandler, factionHandler, fbxHandler, feedbackLoopHandler, findReachablePath, findWalkableNodeAt, flowFieldHandler, fluidHandler, gardenerPulseJitter, gaussianSplatHandler, gemResonanceHandler, geospatialAnchorHandler, geospatialEnvHandler, gestureHandler, getActiveSessions, getAgentId, getAirAbsorption, getAuditLog, getCachedThingDescription, getCapabilities, getCareEthicsState, getEventHistory, getFBXAnimationStacks, getFBXBoneNames, getFBXMorphTargets, getFBXState, getGLTFAnimations, getGLTFMorphTargets, getGLTFState, getMQTTSinkClient, getMQTTSinkState, getMQTTSourceClient, getMQTTSourceState, getMyProposals, getMyVotes, getNegotiationMethods, getPredicateCircuitId, getSession, getUSDActiveVariant, getUSDAnimation, getUSDBlendShapes, getUSDJointNames, getUSDState, getUSDVariantSets, getWoTThingState, gltfHandler, goalOrientedHandler, gpuBufferHandler, gpuParticleHandler, gpuPhysicsHandler, granularMaterialHandler, handMenuHandler, handMeshAIHandler, handTrackingHandler, hapticCueHandler, hapticHandler, hasMQTTSinkTrait, hasMQTTSourceTrait, hasVoted, hasWoTThingTrait, hashGardenerSeed, hashSeed, headTrackedAudioHandler, heatmap3dHandler, highContrastHandler, hitlHandler, hrtfHandler, iKHandler, initiate, invalidateThingDescription, isConsentGranted, isFBXLoaded, isGLTFLoaded, isInSession, isMQTTSinkConnected, isMQTTSourceConnected, isReservedPaperId, isUSDLoaded, isUSDZ, isWalkableAt, jointHandler, layerAwareHandler, leave, lightEstimationHandler, lipSyncHandler, llmAgentHandler, lobbyHandler, localLLMHandler, lodSystem, lotusCenterHandler, lotusGardenerHandler, lotusGenesisTriggerHandler, lotusPetalHandler, lotusRootHandler, lotusStalkHandler, luckHandler, magnifiableHandler, marketplaceHandler, marketplaceIntegrationHandler, matchesCondition, materialXHandler, memoryHandler, meshDetectionHandler, messagingHandler, modifiedThreshold, morphHandler, motionReducedHandler, mqttSinkHandler, mqttSourceHandler, multiAgentHandler, multiviewGaussianRendererHandler, negotiationHandler, nerfHandler, networkedAvatarHandler, networkedHandler, neuralAnimationHandler, neuralForgeHandler, neuralLinkHandler, neuralUpscalingHandler, nftHandler, normalizeCenter, normalizeLotusSeed, normalizePointCloud, npcAIHandler, objectTrackingHandler, occlusionHandler, openXRHALHandler, parseCRDTRoomEntityConfig, parseCRDTRoomTraitConfig, partnerSDKHandler, patrolHandler, perceptionHandler, persistentAnchorHandler, photogrammetryHandler, phyllotaxisHandler, physicsSystem, pickByWeight, planeDetectionHandler, poiHandler, pointCloudHandler, portableHandler, poseEstimationHandler, pressableHandler, propose, publishToMQTTSink, quotaHandler, ragKnowledgeHandler, rateLimiterHandler, rbacHandler, realityKitMeshHandler, remotePresenceHandler, renderNetworkHandler, reputationLedgerHandler, resolveBloomStage, resolveCRDTRoomTraitConfig, resolvePulseHz, resourceAccountingHandler, reverbZoneHandler, rigidbodyHandler, roadmapNodeHandler, roleHandler, rooftopAnchorHandler, roomMeshHandler, ropeHandler, runECSBenchmark, runResourceAccountingAudit, sceneGraphHandler, sceneReconstructionHandler, schedulerHandler, screenReaderHandler, scrollableHandler, seatedHandler, secondsToUSDTimeCode, seededRand01, sensorHandler, setAgentManifest, sharePlayHandler, sharedAnchorHandler, sharedWorldHandler, shouldFire, signRequest, skillRegistryHandler, slidableHandler, softBodyHandler, sonificationHandler, spatialAccessoryHandler, spatialAudioCueHandler, spatialAwarenessHandler, spatialNavigationHandler, spatialPersonaHandler, spectatorHandler, ssoOidcHandler, ssoSamlHandler, stableDiffusionHandler, stableResourceAccountingReceiptHash, statHandler, structuredLoggerHandler, subtitleHandler, syncTierHandler, tenantHandler, terrainAnchorHandler, timeoutGuardHandler, tokenGatedHandler, transformHandler, triggerHandler, urdfRobotHandler, usdHandler, usdTimeCodeToSeconds, userMonitorHandler, validateCRDTRoomTraitConfig, validateSemVer, vectorDBHandler, verifyWebhookSignature, visionHandler, voiceInputHandler, voiceMeshHandler, voiceOutputHandler, voiceProximityHandler, volumetricHandler, volumetricVideoHandler, volumetricWindowHandler, voronoiFractureHandler, vote, vpsHandler, vrTraitRegistry, walletHandler, wasmBridgeHandler, windHandler, withNegotiation, wotThingHandler, zkPrivateHandler } from '../chunk-YN6IETRZ.js';
|
|
9
|
+
export { LIGHTING_PRESETS, LightingTrait, MATERIAL_PRESETS, MaterialTrait, RenderingTrait, SHADER_CHUNKS, SHADER_PRESETS, ShaderTrait, createLightingTrait, createMaterialTrait, createRenderingTrait, createShaderTrait, lightingHandler, materialHandler, renderingHandler, shaderHandler } from '../chunk-GTA4Q3A3.js';
|
|
10
|
+
import '../chunk-47RUFYKR.js';
|
|
11
11
|
export { DEFAULT_WEBCAM_GAZE_CONFIG, WebcamGazeTracker, estimateWebcamGazeFromLandmarks, webcamGazeHandler, webcamGazeToRay } from '../chunk-TDCNJHWO.js';
|
|
12
12
|
export { SimulationSolverFactory } from '../chunk-YQELFNJV.js';
|
|
13
|
-
export { NoOpInferenceAdapter, OnnxNodeInferenceAdapter, PureJsInferenceAdapter, createNoOpInferenceAdapter, createOnnxNodeInferenceAdapter, createPureJsInferenceAdapter, resolveOnnxModelPath } from '../chunk-
|
|
13
|
+
export { NoOpInferenceAdapter, OnnxNodeInferenceAdapter, PureJsInferenceAdapter, createNoOpInferenceAdapter, createOnnxNodeInferenceAdapter, createPureJsInferenceAdapter, resolveOnnxModelPath } from '../chunk-7E7GCQCK.js';
|
|
14
14
|
import '../chunk-2M2DPHKB.js';
|
|
15
15
|
import { init_accessibility_extended_visual, init_accessibility_visual, init_age_condition_visual, init_animals_visual, init_architecture_realestate_visual, init_audio_visual, init_construction_building_visual, init_containers_storage_visual, init_cooking_food_visual, init_core_vr_interaction_visual, init_creatures_mythical_visual, init_data_visualization_visual, init_education_learning_visual, init_emotion_mood_visual, init_environment_input_visual, init_environmental_biome_visual, init_fabric_cloth_visual, init_furniture_decor_visual, init_game_mechanics_visual, init_gems_minerals_visual, init_geospatial_web3_visual, init_healthcare_medical_visual, init_humanoid_avatar_visual, init_intelligence_behavior_visual, init_interop_copresence_visual, init_iot_autonomous_agents_visual, init_lighting_visual, init_locomotion_movement_visual, init_magic_fantasy_visual, init_maritime_naval_visual, init_material_properties_visual, init_measurement_sensing_visual, init_media_analytics_visual, init_multisensory_haptic_visual, init_music_performance_visual, init_musical_sound_visual, init_narrative_storytelling_visual, init_nature_life_visual, init_networking_ai_visual, init_npc_roles_visual, init_object_interaction_visual, init_parser_core_ui_visual, init_physical_affordances_visual, init_physics_expansion_visual, init_procedural_generation_visual, init_resource_gathering_visual, init_safety_boundaries_visual, init_scifi_technology_visual, init_shape_form_visual, init_signs_communication_visual, init_simple_modifiers_visual, init_size_scale_visual, init_social_commerce_visual, init_social_effects_visual, init_sports_fitness_visual, init_state_persistence_visual, init_surface_texture_visual, init_time_period_visual, init_transportation_vehicles_visual, init_visual_effects_visual, init_volumetric_webgpu_visual, init_water_fluid_visual, init_weather_particles_visual, init_weather_phenomena_visual, init_xr_platform_visual } from '../chunk-XT6JY5W5.js';
|
|
16
16
|
export { ACCESSIBILITY_EXTENDED_VISUALS, ACCESSIBILITY_VISUALS, AGE_CONDITION_VISUALS, ANIMALS_VISUALS, ARCHITECTURE_REALESTATE_VISUALS, AUDIO_VISUALS, CONSTRUCTION_BUILDING_VISUALS, CONTAINERS_STORAGE_VISUALS, COOKING_FOOD_VISUALS, CORE_VR_INTERACTION_VISUALS, CREATURES_MYTHICAL_VISUALS, DATA_VISUALIZATION_VISUALS, EDUCATION_LEARNING_VISUALS, EMOTION_MOOD_VISUALS, ENVIRONMENTAL_BIOME_VISUALS, ENVIRONMENT_INPUT_VISUALS, FABRIC_CLOTH_VISUALS, FURNITURE_DECOR_VISUALS, GAME_MECHANICS_VISUALS, GEMS_MINERALS_VISUALS, GEOSPATIAL_WEB3_VISUALS, HEALTHCARE_MEDICAL_VISUALS, HUMANOID_AVATAR_VISUALS, INTELLIGENCE_BEHAVIOR_VISUALS, INTEROP_COPRESENCE_VISUALS, IOT_AUTONOMOUS_AGENTS_VISUALS, LIGHTING_VISUALS, LOCOMOTION_MOVEMENT_VISUALS, MAGIC_FANTASY_VISUALS, MARITIME_NAVAL_VISUALS, MATERIAL_PROPERTIES_VISUALS, MEASUREMENT_SENSING_VISUALS, MEDIA_ANALYTICS_VISUALS, MULTISENSORY_HAPTIC_VISUALS, MUSICAL_SOUND_VISUALS, MUSIC_PERFORMANCE_VISUALS, NARRATIVE_STORYTELLING_VISUALS, NATURE_LIFE_VISUALS, NETWORKING_AI_VISUALS, NPC_ROLES_VISUALS, OBJECT_INTERACTION_VISUALS, PARSER_CORE_UI_VISUALS, PHYSICAL_AFFORDANCES_VISUALS, PHYSICS_EXPANSION_VISUALS, PROCEDURAL_GENERATION_VISUALS, RESOURCE_GATHERING_VISUALS, SAFETY_BOUNDARIES_VISUALS, SCIFI_TECHNOLOGY_VISUALS, SHAPE_FORM_VISUALS, SIGNS_COMMUNICATION_VISUALS, SIMPLE_MODIFIERS_VISUALS, SIZE_SCALE_VISUALS, SOCIAL_COMMERCE_VISUALS, SOCIAL_EFFECTS_VISUALS, SPORTS_FITNESS_VISUALS, STATE_PERSISTENCE_VISUALS, SURFACE_TEXTURE_VISUALS, TIME_PERIOD_VISUALS, TRANSPORTATION_VEHICLES_VISUALS, VISUAL_EFFECTS_VISUALS, VOLUMETRIC_WEBGPU_VISUALS, WATER_FLUID_VISUALS, WEATHER_PARTICLES_VISUALS, WEATHER_PHENOMENA_VISUALS, XR_PLATFORM_VISUALS } from '../chunk-XT6JY5W5.js';
|
|
17
|
-
import { init_BotanicalLotusTrait } from '../chunk-
|
|
18
|
-
export { DEFAULT_BOTANICAL_LOTUS_CONFIG, DEFAULT_LOTUS_PETAL_GEOMETRY_PARAMS, LOTUS_GENESIS_SEED_PLACEHOLDER, LOTUS_GOLDEN_ANGLE_DEG, LOTUS_GROWTH_SECONDS, LOTUS_OUTER_PETAL_COLOR, LOTUS_PETAL_CHUNK_ENTRIES, LOTUS_PETAL_SHADER_CHUNKS, LOTUS_PETAL_UNIFORM_BINDINGS, LOTUS_RING_SCALING, assertBotanicalLotusConfig, botanicalLotusHandler, buildLotusFlowerPlacements, buildLotusPetalGeometryData, buildLotusPetalMaterialSpec, buildLotusSceneFromComposition, buildLotusSceneScaffold, createBotanicalLotusRenderProfile, createLotusMeristem, createLotusMorphogen, createLotusMorphogen2D, createLotusPetalTurgor, createLotusPond, deriveBotanicalLotusAnchorStatus, deriveLotusBloomFromGlow, disturbLotusPond, generateBotanicalNormalMap, generateBotanicalRoughnessMap, getBotanicalLotusPetalCount, lotusMorphogen2DPeaks, lotusMorphogen2DSampleAt, lotusMorphogenPeaks, lotusPetalGeometryParamsFromProfile, lotusPetalRenderColor, lotusPetalTurgorOpenProgress, lotusPetalTurgorTipDeg, lotusPondSurface, normalizeBotanicalLotusConfig, simulateLotusMorphogenesis, simulateLotusPetalGrowth, simulateLotusPhyllotaxis, stepLotusMeristem, stepLotusMorphogen, stepLotusMorphogen2D, stepLotusPetalTurgor, stepLotusPond, validateBotanicalLotusConfig } from '../chunk-
|
|
19
|
-
import { init_ProvenanceSemiring, ProvenanceSemiring } from '../chunk-
|
|
17
|
+
import { init_BotanicalLotusTrait } from '../chunk-B4EKV6HQ.js';
|
|
18
|
+
export { DEFAULT_BOTANICAL_LOTUS_CONFIG, DEFAULT_LOTUS_PETAL_GEOMETRY_PARAMS, LOTUS_GENESIS_SEED_PLACEHOLDER, LOTUS_GOLDEN_ANGLE_DEG, LOTUS_GROWTH_SECONDS, LOTUS_OUTER_PETAL_COLOR, LOTUS_PETAL_CHUNK_ENTRIES, LOTUS_PETAL_SHADER_CHUNKS, LOTUS_PETAL_UNIFORM_BINDINGS, LOTUS_RING_SCALING, assertBotanicalLotusConfig, botanicalLotusHandler, buildLotusFlowerPlacements, buildLotusPetalGeometryData, buildLotusPetalMaterialSpec, buildLotusSceneFromComposition, buildLotusSceneScaffold, createBotanicalLotusRenderProfile, createLotusMeristem, createLotusMorphogen, createLotusMorphogen2D, createLotusPetalTurgor, createLotusPond, deriveBotanicalLotusAnchorStatus, deriveLotusBloomFromGlow, disturbLotusPond, generateBotanicalNormalMap, generateBotanicalRoughnessMap, getBotanicalLotusPetalCount, lotusMorphogen2DPeaks, lotusMorphogen2DSampleAt, lotusMorphogenPeaks, lotusPetalGeometryParamsFromProfile, lotusPetalRenderColor, lotusPetalTurgorOpenProgress, lotusPetalTurgorTipDeg, lotusPondSurface, normalizeBotanicalLotusConfig, simulateLotusMorphogenesis, simulateLotusPetalGrowth, simulateLotusPhyllotaxis, stepLotusMeristem, stepLotusMorphogen, stepLotusMorphogen2D, stepLotusPetalTurgor, stepLotusPond, validateBotanicalLotusConfig } from '../chunk-B4EKV6HQ.js';
|
|
19
|
+
import { init_ProvenanceSemiring, ProvenanceSemiring } from '../chunk-SLHLXUMO.js';
|
|
20
20
|
import { init_composition_rules, init_TraitCompositor, init_TraitVisualRegistry, init_types } from '../chunk-4C57PR42.js';
|
|
21
21
|
export { COMPOSITION_RULES, TraitCompositor, TraitVisualRegistry, VISUAL_LAYER_PRIORITY } from '../chunk-4C57PR42.js';
|
|
22
|
-
import '../chunk-
|
|
22
|
+
import '../chunk-C7ZBSV2Q.js';
|
|
23
23
|
import '../chunk-THCK6ECW.js';
|
|
24
|
-
import '../chunk-
|
|
24
|
+
import '../chunk-2Y3V22SG.js';
|
|
25
25
|
import { init_accessibility_extended, init_accessibility, init_age_condition, init_analytics_observability, init_animals, init_architecture_realestate, init_audio, init_construction_building, init_containers_storage, init_cooking_food, init_core_vr_interaction, init_creatures_mythical, init_data_visualization, init_education_learning, init_emotion_mood, init_enterprise_multitenancy, init_environment_input, init_environmental_biome, init_fabric_cloth, init_fabrication_devices, init_furniture_decor, init_game_mechanics, init_gems_minerals, init_geospatial_web3, init_healthcare_medical, init_holomap_reconstruction, init_humanoid_avatar, init_intelligence_behavior, init_interop_copresence, init_iot_autonomous_agents, init_lighting, init_locomotion_movement, init_magic_fantasy, init_maritime_naval, init_material_properties, init_measurement_sensing, init_media_analytics, init_multisensory_haptic, init_music_performance, init_musical_sound, init_narrative_storytelling, init_nature_life, init_networking_ai, init_npc_roles, init_object_interaction, init_parser_core_ui, init_physical_affordances, init_physics_expansion, init_procedural_generation, init_rendering, init_resource_gathering, init_robotics_industrial, init_safety_boundaries, init_scientific_computing, init_scifi_technology, init_security_crypto, init_shape_form, init_signs_communication, init_simple_modifiers, init_size_scale, init_social_commerce, init_social_effects, init_sports_fitness, init_state_persistence, init_surface_texture, init_time_period, init_transportation_vehicles, init_v43_ai_xr, init_visual_effects, init_volumetric_webgpu, init_water_fluid, init_weather_particles, init_weather_phenomena, init_xr_platform } from '../chunk-WRNEH5MO.js';
|
|
26
26
|
export { ACCESSIBILITY_EXTENDED_TRAITS, ACCESSIBILITY_TRAITS, AERIAL_AQUATIC_TRAITS, AGE_CONDITION_TRAITS, ANALYTICS_OBSERVABILITY_TRAITS, ANIMALS_TRAITS, ARCHITECTURE_REALESTATE_TRAITS, AUDIO_TRAITS, CONNECTIVITY_TRAITS, CONSTRUCTION_BUILDING_TRAITS, CONTAINERS_STORAGE_TRAITS, CONTROLLER_TRAITS, COOKING_FOOD_TRAITS, CORE_VR_INTERACTION_TRAITS, CREATURES_MYTHICAL_TRAITS, DATA_VISUALIZATION_TRAITS, EDUCATION_LEARNING_TRAITS, EMOTION_MOOD_TRAITS, ENTERPRISE_MULTITENANCY_TRAITS, ENVIRONMENTAL_BIOME_TRAITS, ENVIRONMENTAL_SENSOR_TRAITS, ENVIRONMENT_INPUT_TRAITS, FABRICATION_DEVICES_TRAITS, FABRIC_CLOTH_TRAITS, FORCE_TORQUE_TRAITS, FURNITURE_DECOR_TRAITS, GAME_MECHANICS_TRAITS, GEMS_MINERALS_TRAITS, GEOSPATIAL_WEB3_TRAITS, GRIPPER_TRAITS, HEALTHCARE_MEDICAL_TRAITS, HOLOMAP_RECONSTRUCTION_DECORATORS, HOLOMAP_RECONSTRUCTION_DECORATOR_NAMES, HOLOMAP_RECONSTRUCTION_TRAITS, HUMANOID_AVATAR_TRAITS, INERTIAL_POSITION_TRAITS, INTELLIGENCE_BEHAVIOR_TRAITS, INTEROP_COPRESENCE_TRAITS, IOT_AUTONOMOUS_AGENTS_TRAITS, JOINT_CONTROL_TRAITS, JOINT_PROPERTY_TRAITS, JOINT_TYPE_TRAITS, LEGGED_TRAITS, LIGHTING_TRAITS, LOCOMOTION_MOVEMENT_TRAITS, MAGIC_FANTASY_TRAITS, MARITIME_NAVAL_TRAITS, MATERIAL_PROPERTIES_TRAITS, MEASUREMENT_SENSING_TRAITS, MEDIA_ANALYTICS_TRAITS, MOBILE_BASE_TRAITS, MOTOR_FEEDBACK_TRAITS, MOTOR_TYPE_TRAITS, MULTISENSORY_HAPTIC_TRAITS, MUSICAL_SOUND_TRAITS, MUSIC_PERFORMANCE_TRAITS, NARRATIVE_STORYTELLING_TRAITS, NATURE_LIFE_TRAITS, NETWORKING_AI_TRAITS, NPC_ROLES_TRAITS, OBJECT_INTERACTION_TRAITS, PARSER_CORE_UI_TRAITS, PHYSICAL_AFFORDANCES_TRAITS, PHYSICS_EXPANSION_TRAITS, PLANNING_TRAITS, POWER_TRAITS, PROCEDURAL_GENERATION_TRAITS, PROTOCOL_TRAITS, RANGE_SENSING_TRAITS, RENDERING_TRAITS, RESOURCE_GATHERING_TRAITS, ROBOTICS_INDUSTRIAL_TRAITS, SAFETY_BOUNDARIES_TRAITS, SAFETY_TRAITS, SCIENTIFIC_COMPUTING_TRAITS, SCIFI_TECHNOLOGY_TRAITS, SECURITY_CRYPTO_TRAITS, SHAPE_FORM_TRAITS, SIGNS_COMMUNICATION_TRAITS, SIMPLE_MODIFIER_TRAITS, SIZE_SCALE_TRAITS, SOCIAL_COMMERCE_TRAITS, SOCIAL_EFFECTS_TRAITS, SPORTS_FITNESS_TRAITS, STANDARDS_TRAITS, STATE_PERSISTENCE_TRAITS, SURFACE_TEXTURE_TRAITS, TIME_PERIOD_TRAITS, TOOL_INTERFACE_TRAITS, TOOL_TRAITS, TRANSMISSION_TRAITS, TRANSPORTATION_VEHICLES_TRAITS, V43_AI_XR_TRAITS, VISION_TRAITS, VISUAL_EFFECTS_TRAITS, VOLUMETRIC_WEBGPU_TRAITS, WATER_FLUID_TRAITS, WEATHER_PARTICLES_TRAITS, WEATHER_PHENOMENA_TRAITS, XR_PLATFORM_TRAITS, getReconstructionTraitsFromDecorators, isReconstructionDecorator } from '../chunk-WRNEH5MO.js';
|
|
27
27
|
export { BUILTIN_CONSTRAINTS, loadConstraintsFromConfig, loadConstraintsFromFile } from '../chunk-XSFNHP2E.js';
|
|
28
|
-
import { jepObjectiveHandler } from '../chunk-
|
|
29
|
-
export { JEPAPredictor, jepObjectiveHandler, mitosisHandler, orbitalHandler } from '../chunk-
|
|
28
|
+
import { jepObjectiveHandler } from '../chunk-TVANHNJ7.js';
|
|
29
|
+
export { JEPAPredictor, jepObjectiveHandler, mitosisHandler, orbitalHandler } from '../chunk-TVANHNJ7.js';
|
|
30
30
|
import '../chunk-PHENW4MQ.js';
|
|
31
31
|
import { init_safeJsonParse, readJson } from '../chunk-VVKVQZI6.js';
|
|
32
32
|
import { __export } from '../chunk-OL46QLBJ.js';
|
|
@@ -467,7 +467,9 @@ function compileGodot(config) {
|
|
|
467
467
|
);
|
|
468
468
|
}
|
|
469
469
|
if (config.roughness_map) {
|
|
470
|
-
lines.push(
|
|
470
|
+
lines.push(
|
|
471
|
+
` material.roughness_texture = load(${formatGodotResource(config.roughness_map)})`
|
|
472
|
+
);
|
|
471
473
|
}
|
|
472
474
|
if (config.metallic_map) {
|
|
473
475
|
lines.push(` material.metallic_texture = load(${formatGodotResource(config.metallic_map)})`);
|
|
@@ -1085,7 +1087,10 @@ var autonomousAgendaHandler = {
|
|
|
1085
1087
|
const pending = state2?.items?.filter((i) => !i.completedAt).length ?? 0;
|
|
1086
1088
|
const actionsToday = state2?.actionsToday ?? 0;
|
|
1087
1089
|
const spentToday = state2?.spentToday ?? 0;
|
|
1088
|
-
const actionPriority = Math.min(
|
|
1090
|
+
const actionPriority = Math.min(
|
|
1091
|
+
1,
|
|
1092
|
+
pending * 0.15 + actionsToday / Math.max(1, config.max_actions_per_day) * 0.5
|
|
1093
|
+
);
|
|
1089
1094
|
const budgetPressure = Math.min(1, spentToday / Math.max(1, config.daily_budget_usd));
|
|
1090
1095
|
return {
|
|
1091
1096
|
axis_1_id: "action_priority",
|
|
@@ -1133,7 +1138,10 @@ var autonomousAgendaHandler = {
|
|
|
1133
1138
|
remainingBudget: Math.max(0, config.daily_budget_usd - state.spentToday)
|
|
1134
1139
|
});
|
|
1135
1140
|
const pending = state.items.filter((i) => !i.completedAt).length;
|
|
1136
|
-
const actionPriority = Math.min(
|
|
1141
|
+
const actionPriority = Math.min(
|
|
1142
|
+
1,
|
|
1143
|
+
pending * 0.15 + state.actionsToday / Math.max(1, config.max_actions_per_day) * 0.5
|
|
1144
|
+
);
|
|
1137
1145
|
const budgetPressure = Math.min(1, state.spentToday / Math.max(1, config.daily_budget_usd));
|
|
1138
1146
|
context.emit?.("pillar:slice", {
|
|
1139
1147
|
slice: {
|
|
@@ -1314,12 +1322,8 @@ var avatarIntentHandler = {
|
|
|
1314
1322
|
for (const rule of config.intent_mapping) {
|
|
1315
1323
|
const present = rule.devices.every((d) => state.activeDevices.has(d));
|
|
1316
1324
|
if (!present) continue;
|
|
1317
|
-
const matchingSamples = state.samples.filter(
|
|
1318
|
-
|
|
1319
|
-
);
|
|
1320
|
-
const allMatch = matchingSamples.length > 0 && matchingSamples.every(
|
|
1321
|
-
(s) => evaluatePredicate(s, rule.predicate)
|
|
1322
|
-
);
|
|
1325
|
+
const matchingSamples = state.samples.filter((s) => rule.devices.includes(s.device));
|
|
1326
|
+
const allMatch = matchingSamples.length > 0 && matchingSamples.every((s) => evaluatePredicate(s, rule.predicate));
|
|
1323
1327
|
if (!allMatch) continue;
|
|
1324
1328
|
const params = smoothParams(matchingSamples);
|
|
1325
1329
|
for (const k of Object.keys(params)) {
|
|
@@ -1589,7 +1593,16 @@ async function loadTransformers() {
|
|
|
1589
1593
|
return mod;
|
|
1590
1594
|
} catch {
|
|
1591
1595
|
try {
|
|
1592
|
-
const cdnUrl = [
|
|
1596
|
+
const cdnUrl = [
|
|
1597
|
+
"https:",
|
|
1598
|
+
"",
|
|
1599
|
+
"cdn.jsdelivr.net",
|
|
1600
|
+
"npm",
|
|
1601
|
+
"@xenova",
|
|
1602
|
+
"transformers@2",
|
|
1603
|
+
"dist",
|
|
1604
|
+
"transformers.min.js"
|
|
1605
|
+
].join("/");
|
|
1593
1606
|
const mod = await import(cdnUrl);
|
|
1594
1607
|
return mod;
|
|
1595
1608
|
} catch (e) {
|
|
@@ -2025,9 +2038,21 @@ var emergentSpacetimeHandler = {
|
|
|
2025
2038
|
const p2 = seededRandom() * (1 - p1);
|
|
2026
2039
|
const p3 = 1 - p1 - p2;
|
|
2027
2040
|
const state2 = [
|
|
2028
|
-
[
|
|
2029
|
-
|
|
2030
|
-
|
|
2041
|
+
[
|
|
2042
|
+
{ re: p1, im: 0 },
|
|
2043
|
+
{ re: 0, im: 0 },
|
|
2044
|
+
{ re: 0, im: 0 }
|
|
2045
|
+
],
|
|
2046
|
+
[
|
|
2047
|
+
{ re: 0, im: 0 },
|
|
2048
|
+
{ re: p2, im: 0 },
|
|
2049
|
+
{ re: 0, im: 0 }
|
|
2050
|
+
],
|
|
2051
|
+
[
|
|
2052
|
+
{ re: 0, im: 0 },
|
|
2053
|
+
{ re: 0, im: 0 },
|
|
2054
|
+
{ re: p3, im: 0 }
|
|
2055
|
+
]
|
|
2031
2056
|
];
|
|
2032
2057
|
const position = [
|
|
2033
2058
|
seededRandom() * 2 - 1,
|
|
@@ -2048,7 +2073,8 @@ var emergentSpacetimeHandler = {
|
|
|
2048
2073
|
for (let j = i + 1; j < voxelArray.length; j++) {
|
|
2049
2074
|
const a = voxelArray[i];
|
|
2050
2075
|
const b = voxelArray[j];
|
|
2051
|
-
if ((edgeCount.get(a.id) || 0) >= maxEdgesPerVoxel && (edgeCount.get(b.id) || 0) >= maxEdgesPerVoxel)
|
|
2076
|
+
if ((edgeCount.get(a.id) || 0) >= maxEdgesPerVoxel && (edgeCount.get(b.id) || 0) >= maxEdgesPerVoxel)
|
|
2077
|
+
continue;
|
|
2052
2078
|
const dist = Math.sqrt(
|
|
2053
2079
|
(a.position[0] - b.position[0]) ** 2 + (a.position[1] - b.position[1]) ** 2 + (a.position[2] - b.position[2]) ** 2
|
|
2054
2080
|
);
|
|
@@ -2090,7 +2116,9 @@ var emergentSpacetimeHandler = {
|
|
|
2090
2116
|
frameCount: 0
|
|
2091
2117
|
};
|
|
2092
2118
|
node.__emergentSpacetimeState = state;
|
|
2093
|
-
console.log(
|
|
2119
|
+
console.log(
|
|
2120
|
+
`[EmergentSpacetime] Initialized with ${initialCount} voxels, ${edges.length} edges`
|
|
2121
|
+
);
|
|
2094
2122
|
},
|
|
2095
2123
|
onDetach(node) {
|
|
2096
2124
|
const state = node.__emergentSpacetimeState;
|
|
@@ -3808,8 +3836,7 @@ var GrabbableTrait = class {
|
|
|
3808
3836
|
this.release(n, context, handName, hand);
|
|
3809
3837
|
}
|
|
3810
3838
|
}
|
|
3811
|
-
if (!this.grabbedHands.has("left"))
|
|
3812
|
-
this.checkHandInteraction(n, context, hands.left, "left");
|
|
3839
|
+
if (!this.grabbedHands.has("left")) this.checkHandInteraction(n, context, hands.left, "left");
|
|
3813
3840
|
if (!this.grabbedHands.has("right"))
|
|
3814
3841
|
this.checkHandInteraction(n, context, hands.right, "right");
|
|
3815
3842
|
if (this.grabbedHands.size === 2 && hands.left && hands.right) {
|
|
@@ -5653,97 +5680,108 @@ var holomapReconstructionHandler = {
|
|
|
5653
5680
|
state.isActive = true;
|
|
5654
5681
|
state.lastError = null;
|
|
5655
5682
|
state.sessionId = sessionId;
|
|
5656
|
-
state.operationChain = state.initPromise.then(
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5683
|
+
state.operationChain = state.initPromise.then(
|
|
5684
|
+
() => {
|
|
5685
|
+
state.replayHash = runtime.replayHash();
|
|
5686
|
+
context.emit?.("holomap:session_started", {
|
|
5687
|
+
sessionId,
|
|
5688
|
+
replayHash: state.replayHash
|
|
5689
|
+
});
|
|
5690
|
+
context.emit?.("reconstruction:session_started", {
|
|
5691
|
+
sessionId,
|
|
5692
|
+
replayHash: state.replayHash
|
|
5693
|
+
});
|
|
5694
|
+
},
|
|
5695
|
+
(err) => {
|
|
5696
|
+
state.isActive = false;
|
|
5697
|
+
state.lastError = err instanceof Error ? err.message : String(err);
|
|
5698
|
+
context.emit?.("holomap:error", { message: state.lastError, phase: "init" });
|
|
5699
|
+
}
|
|
5700
|
+
);
|
|
5671
5701
|
return;
|
|
5672
5702
|
}
|
|
5673
5703
|
if (event.type === "holomap:frame") {
|
|
5674
5704
|
if (!state.runtime || !state.initPromise) {
|
|
5675
|
-
context.emit?.("holomap:error", {
|
|
5705
|
+
context.emit?.("holomap:error", {
|
|
5706
|
+
message: "Runtime not ready; send holomap:start_session first"
|
|
5707
|
+
});
|
|
5676
5708
|
return;
|
|
5677
5709
|
}
|
|
5678
5710
|
const payload2 = event.payload ?? {};
|
|
5679
5711
|
const frame = payload2.frame;
|
|
5680
5712
|
if (!frame || !isReconstructionFrame(frame)) {
|
|
5681
|
-
context.emit?.("holomap:error", {
|
|
5713
|
+
context.emit?.("holomap:error", {
|
|
5714
|
+
message: "Invalid or missing ReconstructionFrame in holomap:frame"
|
|
5715
|
+
});
|
|
5682
5716
|
return;
|
|
5683
5717
|
}
|
|
5684
|
-
state.operationChain = state.operationChain.then(
|
|
5685
|
-
() =>
|
|
5686
|
-
|
|
5687
|
-
|
|
5688
|
-
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
|
|
5702
|
-
|
|
5703
|
-
|
|
5704
|
-
|
|
5705
|
-
|
|
5706
|
-
|
|
5707
|
-
|
|
5708
|
-
|
|
5709
|
-
}
|
|
5710
|
-
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5718
|
+
state.operationChain = state.operationChain.then(() => state.initPromise.then(() => state.runtime.step(frame))).then(
|
|
5719
|
+
(step) => {
|
|
5720
|
+
if (!step) return;
|
|
5721
|
+
state.framesProcessed = Math.max(state.framesProcessed, step.frame.index + 1);
|
|
5722
|
+
context.emit?.("holomap:step_result", {
|
|
5723
|
+
frameIndex: step.frame.index,
|
|
5724
|
+
pose: step.pose,
|
|
5725
|
+
points: step.points,
|
|
5726
|
+
trajectory: step.trajectory,
|
|
5727
|
+
anchor: step.anchor
|
|
5728
|
+
});
|
|
5729
|
+
context.emit?.("reconstruction:progress", {
|
|
5730
|
+
framesProcessed: state.framesProcessed
|
|
5731
|
+
});
|
|
5732
|
+
context.emit?.("holomap:drift_update", {
|
|
5733
|
+
estimatedDriftMeters: step.trajectory.estimatedDriftMeters,
|
|
5734
|
+
keyframeCount: step.trajectory.keyframes.length,
|
|
5735
|
+
lastLoopClosureFrame: step.trajectory.lastLoopClosureFrame
|
|
5736
|
+
});
|
|
5737
|
+
context.emit?.("holomap:anchor_update", {
|
|
5738
|
+
anchorFrameIndex: step.anchor.anchorFrameIndex,
|
|
5739
|
+
anchorPose: step.anchor.anchorPose,
|
|
5740
|
+
anchorDescriptor: step.anchor.anchorDescriptor,
|
|
5741
|
+
revision: step.anchor.revision
|
|
5742
|
+
});
|
|
5743
|
+
},
|
|
5744
|
+
(err) => {
|
|
5745
|
+
state.lastError = err instanceof Error ? err.message : String(err);
|
|
5746
|
+
context.emit?.("holomap:error", { message: state.lastError, phase: "feed_frame" });
|
|
5747
|
+
}
|
|
5748
|
+
);
|
|
5714
5749
|
return;
|
|
5715
5750
|
}
|
|
5716
5751
|
if (event.type === "holomap:finalize") {
|
|
5717
5752
|
if (!state.runtime || !state.initPromise) {
|
|
5718
|
-
context.emit?.("holomap:error", {
|
|
5753
|
+
context.emit?.("holomap:error", {
|
|
5754
|
+
message: "Runtime not ready; send holomap:start_session first"
|
|
5755
|
+
});
|
|
5719
5756
|
return;
|
|
5720
5757
|
}
|
|
5721
|
-
state.operationChain = state.operationChain.then(
|
|
5722
|
-
() =>
|
|
5723
|
-
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
manifest,
|
|
5728
|
-
framesProcessed: state.framesProcessed,
|
|
5729
|
-
replayHash: manifest.replayHash
|
|
5730
|
-
});
|
|
5731
|
-
if (config.autoFinalize) {
|
|
5732
|
-
context.emit?.("reconstruction:manifest", {
|
|
5758
|
+
state.operationChain = state.operationChain.then(() => state.initPromise.then(() => state.runtime.finalize())).then(
|
|
5759
|
+
(manifest) => {
|
|
5760
|
+
state.isActive = false;
|
|
5761
|
+
state.lastManifest = manifest;
|
|
5762
|
+
context.emit?.("holomap:finalized", {
|
|
5763
|
+
manifest,
|
|
5733
5764
|
framesProcessed: state.framesProcessed,
|
|
5734
|
-
replayHash: manifest.replayHash
|
|
5735
|
-
manifest
|
|
5765
|
+
replayHash: manifest.replayHash
|
|
5736
5766
|
});
|
|
5767
|
+
if (config.autoFinalize) {
|
|
5768
|
+
context.emit?.("reconstruction:manifest", {
|
|
5769
|
+
framesProcessed: state.framesProcessed,
|
|
5770
|
+
replayHash: manifest.replayHash,
|
|
5771
|
+
manifest
|
|
5772
|
+
});
|
|
5773
|
+
}
|
|
5774
|
+
void state.runtime.dispose().then(() => {
|
|
5775
|
+
state.runtime = null;
|
|
5776
|
+
state.initPromise = null;
|
|
5777
|
+
node.__holomapRuntime = null;
|
|
5778
|
+
});
|
|
5779
|
+
},
|
|
5780
|
+
(err) => {
|
|
5781
|
+
state.lastError = err instanceof Error ? err.message : String(err);
|
|
5782
|
+
context.emit?.("holomap:error", { message: state.lastError, phase: "finalize" });
|
|
5737
5783
|
}
|
|
5738
|
-
|
|
5739
|
-
state.runtime = null;
|
|
5740
|
-
state.initPromise = null;
|
|
5741
|
-
node.__holomapRuntime = null;
|
|
5742
|
-
});
|
|
5743
|
-
}, (err) => {
|
|
5744
|
-
state.lastError = err instanceof Error ? err.message : String(err);
|
|
5745
|
-
context.emit?.("holomap:error", { message: state.lastError, phase: "finalize" });
|
|
5746
|
-
});
|
|
5784
|
+
);
|
|
5747
5785
|
return;
|
|
5748
5786
|
}
|
|
5749
5787
|
const payload = event.payload ?? {};
|
|
@@ -6539,7 +6577,10 @@ var kalmanFilterHandler = {
|
|
|
6539
6577
|
const now = Date.now();
|
|
6540
6578
|
const minStep = 1e3 / config.update_rate_hz;
|
|
6541
6579
|
if (now - internal.lastPredictAt < minStep) return;
|
|
6542
|
-
const dt = Math.min(
|
|
6580
|
+
const dt = Math.min(
|
|
6581
|
+
config.max_dt_seconds,
|
|
6582
|
+
delta > 0 ? delta : (now - internal.lastPredictAt) / 1e3
|
|
6583
|
+
);
|
|
6543
6584
|
const result = predict(internal.state, internal.covariance, dt, config.process_noise);
|
|
6544
6585
|
internal.state = result.state;
|
|
6545
6586
|
internal.covariance = result.covariance;
|
|
@@ -6568,7 +6609,13 @@ var kalmanFilterHandler = {
|
|
|
6568
6609
|
context.emit?.("kalman_initialized", { node, state: internal.state });
|
|
6569
6610
|
return;
|
|
6570
6611
|
}
|
|
6571
|
-
const result = update(
|
|
6612
|
+
const result = update(
|
|
6613
|
+
internal.state,
|
|
6614
|
+
internal.covariance,
|
|
6615
|
+
measurement.pos,
|
|
6616
|
+
config.measurement_noise,
|
|
6617
|
+
clampedDt
|
|
6618
|
+
);
|
|
6572
6619
|
internal.state = result.state;
|
|
6573
6620
|
internal.covariance = result.covariance;
|
|
6574
6621
|
internal.lastMeasurementAt = now;
|
|
@@ -6875,7 +6922,7 @@ async function buildReceipt(result, config, molecule) {
|
|
|
6875
6922
|
async function dispatchVQE(config, moleculeAtoms, onEnergy) {
|
|
6876
6923
|
const t0 = Date.now();
|
|
6877
6924
|
try {
|
|
6878
|
-
const qmBridge = await import('../src-
|
|
6925
|
+
const qmBridge = await import('../src-J6CM4AUR.js').catch(() => null);
|
|
6879
6926
|
if (qmBridge && typeof qmBridge.createIBMQuantumBackend === "function") {
|
|
6880
6927
|
const createBackend = qmBridge.createIBMQuantumBackend;
|
|
6881
6928
|
const backend = createBackend({
|
|
@@ -6979,14 +7026,10 @@ var vqeRunnerHandler = {
|
|
|
6979
7026
|
context.emit?.("vqe:started", { backend: merged.backend, method: merged.method });
|
|
6980
7027
|
void (async () => {
|
|
6981
7028
|
try {
|
|
6982
|
-
const result = await dispatchVQE(
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
6986
|
-
if (state.cancelRequested) return;
|
|
6987
|
-
context.emit?.("vqe:energy", { iteration, energy, unit: "Ha" });
|
|
6988
|
-
}
|
|
6989
|
-
);
|
|
7029
|
+
const result = await dispatchVQE(merged, moleculeAtoms, (iteration, energy) => {
|
|
7030
|
+
if (state.cancelRequested) return;
|
|
7031
|
+
context.emit?.("vqe:energy", { iteration, energy, unit: "Ha" });
|
|
7032
|
+
});
|
|
6990
7033
|
if (state.cancelRequested) {
|
|
6991
7034
|
state.status = "idle";
|
|
6992
7035
|
return;
|
|
@@ -7046,7 +7089,11 @@ function stepTracker(state, detections, frame_index, dt_seconds = 1 / state.conf
|
|
|
7046
7089
|
updatedTracks[trackIdx] = updated;
|
|
7047
7090
|
matchedTrackIds.add(updated.id);
|
|
7048
7091
|
matchedDetectionIdx.add(detIdx);
|
|
7049
|
-
associations.push({
|
|
7092
|
+
associations.push({
|
|
7093
|
+
track_id: updated.id,
|
|
7094
|
+
detection_index: detIdx,
|
|
7095
|
+
cost: cost[activeIdx][detIdx]
|
|
7096
|
+
});
|
|
7050
7097
|
} else {
|
|
7051
7098
|
updatedTracks[trackIdx] = ageOccludedTrack(activeTracks[activeIdx], state.config);
|
|
7052
7099
|
}
|
|
@@ -7183,7 +7230,11 @@ function kalmanUpdate(predicted, detection, config, frame_index) {
|
|
|
7183
7230
|
P_new[i * STATE_DIM + j] = sum;
|
|
7184
7231
|
}
|
|
7185
7232
|
}
|
|
7186
|
-
const reid_normalized = blendEmbedding(
|
|
7233
|
+
const reid_normalized = blendEmbedding(
|
|
7234
|
+
predicted.reid_embedding,
|
|
7235
|
+
embeddingForDetection(detection),
|
|
7236
|
+
0.3
|
|
7237
|
+
);
|
|
7187
7238
|
return {
|
|
7188
7239
|
...predicted,
|
|
7189
7240
|
state: x_new,
|
|
@@ -7615,7 +7666,9 @@ var MultiTargetTrackingTrait = {
|
|
|
7615
7666
|
}
|
|
7616
7667
|
if (config.max_occluded_frames !== void 0) {
|
|
7617
7668
|
if (!Number.isInteger(config.max_occluded_frames) || config.max_occluded_frames < 0) {
|
|
7618
|
-
throw new Error(
|
|
7669
|
+
throw new Error(
|
|
7670
|
+
"MultiTargetTrackingTrait: max_occluded_frames must be a non-negative integer"
|
|
7671
|
+
);
|
|
7619
7672
|
}
|
|
7620
7673
|
}
|
|
7621
7674
|
if (config.reid_embedding_dim !== void 0) {
|
|
@@ -7625,12 +7678,16 @@ var MultiTargetTrackingTrait = {
|
|
|
7625
7678
|
}
|
|
7626
7679
|
if (config.reid_similarity_threshold !== void 0) {
|
|
7627
7680
|
if (!Number.isFinite(config.reid_similarity_threshold) || config.reid_similarity_threshold < -1 || config.reid_similarity_threshold > 1) {
|
|
7628
|
-
throw new Error(
|
|
7681
|
+
throw new Error(
|
|
7682
|
+
"MultiTargetTrackingTrait: reid_similarity_threshold must be in [-1, 1] (cosine)"
|
|
7683
|
+
);
|
|
7629
7684
|
}
|
|
7630
7685
|
}
|
|
7631
7686
|
if (config.reid_features !== void 0) {
|
|
7632
7687
|
if (!Array.isArray(config.reid_features) || config.reid_features.length === 0) {
|
|
7633
|
-
throw new Error(
|
|
7688
|
+
throw new Error(
|
|
7689
|
+
"MultiTargetTrackingTrait: reid_features must be a non-empty array if provided"
|
|
7690
|
+
);
|
|
7634
7691
|
}
|
|
7635
7692
|
for (const feature of config.reid_features) {
|
|
7636
7693
|
if (!ALLOWED_REID_FEATURES.includes(feature)) {
|
|
@@ -8672,24 +8729,12 @@ function enumerateRoomModes(Lx, Ly, Lz, modeOrder, maxFrequencyHz, t60Seconds, s
|
|
|
8672
8729
|
function analyzeRoomModes(config) {
|
|
8673
8730
|
const [Lx, Ly, Lz] = config.room_dimensions;
|
|
8674
8731
|
const t60 = sabineT60(Lx, Ly, Lz, config.materials_absorption);
|
|
8675
|
-
const modes = enumerateRoomModes(
|
|
8676
|
-
Lx,
|
|
8677
|
-
Ly,
|
|
8678
|
-
Lz,
|
|
8679
|
-
config.mode_order,
|
|
8680
|
-
config.max_frequency_hz,
|
|
8681
|
-
t60
|
|
8682
|
-
);
|
|
8732
|
+
const modes = enumerateRoomModes(Lx, Ly, Lz, config.mode_order, config.max_frequency_hz, t60);
|
|
8683
8733
|
return {
|
|
8684
8734
|
modes,
|
|
8685
8735
|
t60_seconds: t60,
|
|
8686
8736
|
volume_m3: Lx > 0 && Ly > 0 && Lz > 0 ? Lx * Ly * Lz : 0,
|
|
8687
|
-
total_absorption_sabin: totalAbsorptionSabin(
|
|
8688
|
-
Lx,
|
|
8689
|
-
Ly,
|
|
8690
|
-
Lz,
|
|
8691
|
-
config.materials_absorption
|
|
8692
|
-
)
|
|
8737
|
+
total_absorption_sabin: totalAbsorptionSabin(Lx, Ly, Lz, config.materials_absorption)
|
|
8693
8738
|
};
|
|
8694
8739
|
}
|
|
8695
8740
|
function clampHeatmapResolution(value) {
|
|
@@ -9171,7 +9216,10 @@ var portalPresenceHandler = {
|
|
|
9171
9216
|
});
|
|
9172
9217
|
break;
|
|
9173
9218
|
}
|
|
9174
|
-
const grantedScopes = validateScopes(
|
|
9219
|
+
const grantedScopes = validateScopes(
|
|
9220
|
+
requestedScopes,
|
|
9221
|
+
config.max_scopes
|
|
9222
|
+
);
|
|
9175
9223
|
if (grantedScopes.length === 0) {
|
|
9176
9224
|
grantedScopes.push("read-only");
|
|
9177
9225
|
}
|
|
@@ -10724,7 +10772,13 @@ var serviceObservabilityHandler = {
|
|
|
10724
10772
|
name: "service_observability",
|
|
10725
10773
|
defaultConfig: {
|
|
10726
10774
|
service_name: "",
|
|
10727
|
-
required_tables: [
|
|
10775
|
+
required_tables: [
|
|
10776
|
+
"system_metrics",
|
|
10777
|
+
"operation_metrics",
|
|
10778
|
+
"alerts",
|
|
10779
|
+
"alert_triggers",
|
|
10780
|
+
"error_logs"
|
|
10781
|
+
],
|
|
10728
10782
|
health_probes: [],
|
|
10729
10783
|
alert_rules: [],
|
|
10730
10784
|
scheduled_jobs: [createMetricsCleanupJob()],
|
|
@@ -11247,22 +11301,17 @@ var spatialAgentHandler = {
|
|
|
11247
11301
|
});
|
|
11248
11302
|
ctx.emit("scene_generation_started", { node, requestId, prompt: payload.prompt });
|
|
11249
11303
|
ctx.emit("scene_generation_progress", { node, requestId, step: "blueprint", pct: 5 });
|
|
11250
|
-
this._runGeneration(
|
|
11251
|
-
|
|
11252
|
-
|
|
11253
|
-
|
|
11254
|
-
|
|
11255
|
-
|
|
11256
|
-
|
|
11257
|
-
|
|
11258
|
-
|
|
11259
|
-
|
|
11260
|
-
|
|
11261
|
-
requestId,
|
|
11262
|
-
error: err.message,
|
|
11263
|
-
step: state.activeGenerations.get(requestId)?.step ?? "unknown"
|
|
11264
|
-
});
|
|
11265
|
-
});
|
|
11304
|
+
this._runGeneration(state, node, config, ctx, requestId, payload.prompt).catch(
|
|
11305
|
+
(err) => {
|
|
11306
|
+
state.activeGenerations.delete(requestId);
|
|
11307
|
+
ctx.emit("scene_generation_failed", {
|
|
11308
|
+
node,
|
|
11309
|
+
requestId,
|
|
11310
|
+
error: err.message,
|
|
11311
|
+
step: state.activeGenerations.get(requestId)?.step ?? "unknown"
|
|
11312
|
+
});
|
|
11313
|
+
}
|
|
11314
|
+
);
|
|
11266
11315
|
},
|
|
11267
11316
|
async _runGeneration(state, node, config, ctx, requestId, prompt) {
|
|
11268
11317
|
ctx.emit("scene_generation_progress", { node, requestId, step: "blueprint", pct: 10 });
|
|
@@ -11534,16 +11583,20 @@ var spatialContainsHandler = {
|
|
|
11534
11583
|
state.violation.requiredValue
|
|
11535
11584
|
);
|
|
11536
11585
|
if (config.enforcement === "correct" && "min" in nodeBounds && "max" in nodeBounds) {
|
|
11537
|
-
const clamped = [
|
|
11538
|
-
|
|
11539
|
-
|
|
11540
|
-
|
|
11541
|
-
|
|
11542
|
-
Math.
|
|
11543
|
-
|
|
11544
|
-
|
|
11545
|
-
|
|
11546
|
-
|
|
11586
|
+
const clamped = [
|
|
11587
|
+
Math.max(
|
|
11588
|
+
nodeBounds.min[0] + margin,
|
|
11589
|
+
Math.min(nodeBounds.max[0] - margin, containedPos[0])
|
|
11590
|
+
),
|
|
11591
|
+
Math.max(
|
|
11592
|
+
nodeBounds.min[1] + margin,
|
|
11593
|
+
Math.min(nodeBounds.max[1] - margin, containedPos[1])
|
|
11594
|
+
),
|
|
11595
|
+
Math.max(
|
|
11596
|
+
nodeBounds.min[2] + margin,
|
|
11597
|
+
Math.min(nodeBounds.max[2] - margin, containedPos[2])
|
|
11598
|
+
)
|
|
11599
|
+
];
|
|
11547
11600
|
context.setState({ [`entity_pos_${containedId}`]: clamped });
|
|
11548
11601
|
}
|
|
11549
11602
|
}
|
|
@@ -11731,7 +11784,11 @@ function smoothJointPose(current, prev, factor) {
|
|
|
11731
11784
|
const [crx, cry, crz, crw] = q4(current.rotation);
|
|
11732
11785
|
const inv = 1 - factor;
|
|
11733
11786
|
return {
|
|
11734
|
-
position: [
|
|
11787
|
+
position: [
|
|
11788
|
+
px * factor + cx * inv,
|
|
11789
|
+
py * factor + cy * inv,
|
|
11790
|
+
pz * factor + cz * inv
|
|
11791
|
+
],
|
|
11735
11792
|
rotation: [
|
|
11736
11793
|
prx * factor + crx * inv,
|
|
11737
11794
|
pry * factor + cry * inv,
|
|
@@ -13599,7 +13656,9 @@ var trackingTopologyHandler = {
|
|
|
13599
13656
|
if (now - internal.lastRefreshAt < config.refresh_rate_ms) return;
|
|
13600
13657
|
internal.lastRefreshAt = now;
|
|
13601
13658
|
internal.stats.active_targets = internal.targets.size;
|
|
13602
|
-
internal.stats.headset_count = Array.from(internal.headsets.values()).filter(
|
|
13659
|
+
internal.stats.headset_count = Array.from(internal.headsets.values()).filter(
|
|
13660
|
+
(h) => h.active
|
|
13661
|
+
).length;
|
|
13603
13662
|
const reidConfidences = [];
|
|
13604
13663
|
for (const target of Array.from(internal.targets.values())) {
|
|
13605
13664
|
if (target.reid_pending) reidConfidences.push(target.confidence);
|
|
@@ -13713,7 +13772,11 @@ var twinActuatorHandler = {
|
|
|
13713
13772
|
onEvent(node, config, context, event) {
|
|
13714
13773
|
if (event.type === "twin_command") {
|
|
13715
13774
|
const action = event.action;
|
|
13716
|
-
const envelopeCheck = validateSafetyEnvelope(
|
|
13775
|
+
const envelopeCheck = validateSafetyEnvelope(
|
|
13776
|
+
config.safety_envelope,
|
|
13777
|
+
action,
|
|
13778
|
+
node.id ?? "<unknown>"
|
|
13779
|
+
);
|
|
13717
13780
|
if (!envelopeCheck.ok) {
|
|
13718
13781
|
context.emit("twin_actuator_error", {
|
|
13719
13782
|
node,
|
|
@@ -14122,8 +14185,16 @@ var DEFAULT_REGISTERS = [
|
|
|
14122
14185
|
description: "High-fantasy register with feudal, arcane, and heraldic terminology.",
|
|
14123
14186
|
toneHint: "Speak as a chronicler of the Age of Kings.",
|
|
14124
14187
|
entries: [
|
|
14125
|
-
{
|
|
14126
|
-
|
|
14188
|
+
{
|
|
14189
|
+
term: "liege",
|
|
14190
|
+
definition: "A lord to whom a vassal owes allegiance.",
|
|
14191
|
+
usageExample: "My liege commands the muster at dawn."
|
|
14192
|
+
},
|
|
14193
|
+
{
|
|
14194
|
+
term: "grimoire",
|
|
14195
|
+
definition: "A book of magic spells and invocations.",
|
|
14196
|
+
usageExample: "The grimoire was bound in dragon hide."
|
|
14197
|
+
}
|
|
14127
14198
|
]
|
|
14128
14199
|
},
|
|
14129
14200
|
{
|
|
@@ -14131,8 +14202,16 @@ var DEFAULT_REGISTERS = [
|
|
|
14131
14202
|
description: "Post-collapse science-fiction register with tech-archaeology flavor.",
|
|
14132
14203
|
toneHint: "Speak as a salvager of the Old Networks.",
|
|
14133
14204
|
entries: [
|
|
14134
|
-
{
|
|
14135
|
-
|
|
14205
|
+
{
|
|
14206
|
+
term: "void-sig",
|
|
14207
|
+
definition: "A faint electromagnetic trace left by faster-than-light transit.",
|
|
14208
|
+
usageExample: "The void-sig decayed before we could triangulate."
|
|
14209
|
+
},
|
|
14210
|
+
{
|
|
14211
|
+
term: "synth-bay",
|
|
14212
|
+
definition: "An automated fabrication chamber.",
|
|
14213
|
+
usageExample: "The synth-bay churned out filters until it seized."
|
|
14214
|
+
}
|
|
14136
14215
|
]
|
|
14137
14216
|
},
|
|
14138
14217
|
{
|
|
@@ -14140,8 +14219,16 @@ var DEFAULT_REGISTERS = [
|
|
|
14140
14219
|
description: "Contemporary business register with metrics and stakeholder vocabulary.",
|
|
14141
14220
|
toneHint: "Speak as a senior operations strategist.",
|
|
14142
14221
|
entries: [
|
|
14143
|
-
{
|
|
14144
|
-
|
|
14222
|
+
{
|
|
14223
|
+
term: "synergy",
|
|
14224
|
+
definition: "The interaction of elements that when combined produce a total effect greater than the sum of individual elements.",
|
|
14225
|
+
usageExample: "We need synergy between marketing and engineering."
|
|
14226
|
+
},
|
|
14227
|
+
{
|
|
14228
|
+
term: "stakeholder alignment",
|
|
14229
|
+
definition: "Ensuring all parties with interest in an outcome share the same goals.",
|
|
14230
|
+
usageExample: "Stakeholder alignment is the first milestone."
|
|
14231
|
+
}
|
|
14145
14232
|
]
|
|
14146
14233
|
},
|
|
14147
14234
|
{
|
|
@@ -14149,8 +14236,16 @@ var DEFAULT_REGISTERS = [
|
|
|
14149
14236
|
description: "Classical register with solemn, ceremonial diction.",
|
|
14150
14237
|
toneHint: "Speak as a priest of the First Temple.",
|
|
14151
14238
|
entries: [
|
|
14152
|
-
{
|
|
14153
|
-
|
|
14239
|
+
{
|
|
14240
|
+
term: "vestal",
|
|
14241
|
+
definition: "A consecrated priestess bound to chastity and service.",
|
|
14242
|
+
usageExample: "The vestal tended the eternal flame."
|
|
14243
|
+
},
|
|
14244
|
+
{
|
|
14245
|
+
term: "oblation",
|
|
14246
|
+
definition: "A offering made to a deity.",
|
|
14247
|
+
usageExample: "The oblation of grain pleased the harvest god."
|
|
14248
|
+
}
|
|
14154
14249
|
]
|
|
14155
14250
|
},
|
|
14156
14251
|
{
|
|
@@ -14158,8 +14253,16 @@ var DEFAULT_REGISTERS = [
|
|
|
14158
14253
|
description: "Register of heist, smuggling, and street-hierarchy slang.",
|
|
14159
14254
|
toneHint: "Speak as a fixer who knows every backroom in the sprawl.",
|
|
14160
14255
|
entries: [
|
|
14161
|
-
{
|
|
14162
|
-
|
|
14256
|
+
{
|
|
14257
|
+
term: "cutter",
|
|
14258
|
+
definition: "A freelance assassin or enforcer.",
|
|
14259
|
+
usageExample: "The cutter only works for verified clients."
|
|
14260
|
+
},
|
|
14261
|
+
{
|
|
14262
|
+
term: "drop-bag",
|
|
14263
|
+
definition: "A secure container left at a blind exchange point.",
|
|
14264
|
+
usageExample: "Check the drop-bag under the north pier."
|
|
14265
|
+
}
|
|
14163
14266
|
]
|
|
14164
14267
|
},
|
|
14165
14268
|
{
|
|
@@ -14167,8 +14270,16 @@ var DEFAULT_REGISTERS = [
|
|
|
14167
14270
|
description: "Academic register with Latinate and Hellenic terminology.",
|
|
14168
14271
|
toneHint: "Speak as a philologian of the Third Academy.",
|
|
14169
14272
|
entries: [
|
|
14170
|
-
{
|
|
14171
|
-
|
|
14273
|
+
{
|
|
14274
|
+
term: "aporia",
|
|
14275
|
+
definition: "An irresolvable internal contradiction in a text or argument.",
|
|
14276
|
+
usageExample: "The aporia in Parmenides haunts metaphysics still."
|
|
14277
|
+
},
|
|
14278
|
+
{
|
|
14279
|
+
term: "palimpsest",
|
|
14280
|
+
definition: "A manuscript on which later writing has been superimposed on earlier writing.",
|
|
14281
|
+
usageExample: "The palimpsest revealed a lost comedy underneath."
|
|
14282
|
+
}
|
|
14172
14283
|
]
|
|
14173
14284
|
}
|
|
14174
14285
|
];
|
|
@@ -18585,7 +18696,10 @@ var MetricAdapter = class {
|
|
|
18585
18696
|
Array.from(this.histograms.entries()).map(([name, vals]) => {
|
|
18586
18697
|
const count = vals.length;
|
|
18587
18698
|
const sum = vals.reduce((a, b) => a + b, 0);
|
|
18588
|
-
return [
|
|
18699
|
+
return [
|
|
18700
|
+
name,
|
|
18701
|
+
{ count, sum, avg: count ? sum / count : 0, max: count ? Math.max(...vals) : 0 }
|
|
18702
|
+
];
|
|
18589
18703
|
})
|
|
18590
18704
|
),
|
|
18591
18705
|
labels: Object.fromEntries(this.labels)
|
|
@@ -18634,7 +18748,11 @@ var traceHandler = {
|
|
|
18634
18748
|
},
|
|
18635
18749
|
onAttach(node, config, context) {
|
|
18636
18750
|
node.__traceState = { config, spans: [] };
|
|
18637
|
-
context.emit?.("trace_attached", {
|
|
18751
|
+
context.emit?.("trace_attached", {
|
|
18752
|
+
nodeId: node.id,
|
|
18753
|
+
service: config.service,
|
|
18754
|
+
sampler: config.sampler
|
|
18755
|
+
});
|
|
18638
18756
|
},
|
|
18639
18757
|
onDetach(node, _config, context) {
|
|
18640
18758
|
const state = node.__traceState;
|
|
@@ -19131,7 +19249,7 @@ function validateMessage(msg, config, state) {
|
|
|
19131
19249
|
return "invalid_pillar_slice";
|
|
19132
19250
|
}
|
|
19133
19251
|
const { mni_x, mni_y, mni_z } = msg.brain_coord ?? {};
|
|
19134
|
-
if (typeof mni_x !== "number" || Math.abs(mni_x) > 90 || typeof mni_y !== "number" ||
|
|
19252
|
+
if (typeof mni_x !== "number" || Math.abs(mni_x) > 90 || typeof mni_y !== "number" || mni_y < -130 || mni_y > 80 || typeof mni_z !== "number" || Math.abs(mni_z) > 90) {
|
|
19135
19253
|
return "invalid_brain_coord";
|
|
19136
19254
|
}
|
|
19137
19255
|
if (state.centroid_n > 5 && msg.pillar_slice.pillar_domain === "truth_approval") {
|
|
@@ -19171,14 +19289,7 @@ function createSemanticMessage(from, to, slice, brainCoord, provenance, confiden
|
|
|
19171
19289
|
var PHYSICS_CONSERVATION_PILLAR = {
|
|
19172
19290
|
id: "physics_conservation",
|
|
19173
19291
|
domain: "physics",
|
|
19174
|
-
axis_vocabulary: [
|
|
19175
|
-
"energy",
|
|
19176
|
-
"momentum",
|
|
19177
|
-
"angular_momentum",
|
|
19178
|
-
"entropy",
|
|
19179
|
-
"charge",
|
|
19180
|
-
"mass"
|
|
19181
|
-
],
|
|
19292
|
+
axis_vocabulary: ["energy", "momentum", "angular_momentum", "entropy", "charge", "mass"],
|
|
19182
19293
|
generate(context) {
|
|
19183
19294
|
const metadata = context.metadata;
|
|
19184
19295
|
return {
|
|
@@ -19669,7 +19780,10 @@ function makeParallelPillar(id, left, right) {
|
|
|
19669
19780
|
generateParallel(context) {
|
|
19670
19781
|
const leftSlice = left.generate(context);
|
|
19671
19782
|
const rightSlice = right.generate(context);
|
|
19672
|
-
const { bounds, box_area, hemisphere_agreement } = computeParallelBounds(
|
|
19783
|
+
const { bounds, box_area, hemisphere_agreement } = computeParallelBounds(
|
|
19784
|
+
leftSlice,
|
|
19785
|
+
rightSlice
|
|
19786
|
+
);
|
|
19673
19787
|
return {
|
|
19674
19788
|
left: leftSlice,
|
|
19675
19789
|
right: rightSlice,
|
|
@@ -19907,18 +20021,14 @@ var pillarJepaHandler = {
|
|
|
19907
20021
|
const registryNode = {};
|
|
19908
20022
|
jepObjectiveHandler.onAttach?.(jepaNode, toJepaConfig(config), context);
|
|
19909
20023
|
pillarRegistryHandler.onAttach?.(registryNode, toRegistryConfig(), context);
|
|
19910
|
-
pillarRegistryHandler.onEvent?.(
|
|
19911
|
-
|
|
19912
|
-
|
|
19913
|
-
|
|
19914
|
-
|
|
19915
|
-
|
|
19916
|
-
|
|
19917
|
-
|
|
19918
|
-
toRegistryConfig(),
|
|
19919
|
-
silentContext(),
|
|
19920
|
-
{ type: "pillar:register", pillar: TEMPORAL_PILLAR }
|
|
19921
|
-
);
|
|
20024
|
+
pillarRegistryHandler.onEvent?.(registryNode, toRegistryConfig(), silentContext(), {
|
|
20025
|
+
type: "pillar:register",
|
|
20026
|
+
pillar: PHYSICS_CONSERVATION_PILLAR
|
|
20027
|
+
});
|
|
20028
|
+
pillarRegistryHandler.onEvent?.(registryNode, toRegistryConfig(), silentContext(), {
|
|
20029
|
+
type: "pillar:register",
|
|
20030
|
+
pillar: TEMPORAL_PILLAR
|
|
20031
|
+
});
|
|
19922
20032
|
const initialState = {
|
|
19923
20033
|
step: 0,
|
|
19924
20034
|
pendingJepaLoss: null,
|
|
@@ -19943,12 +20053,13 @@ var pillarJepaHandler = {
|
|
|
19943
20053
|
if (!state) return;
|
|
19944
20054
|
const eventType = event.type;
|
|
19945
20055
|
if (eventType === "pillarjepa:update_weights") {
|
|
19946
|
-
jepObjectiveHandler.onEvent?.(
|
|
19947
|
-
|
|
19948
|
-
|
|
19949
|
-
|
|
19950
|
-
|
|
19951
|
-
|
|
20056
|
+
jepObjectiveHandler.onEvent?.(state.jepaNode, toJepaConfig(config), context, {
|
|
20057
|
+
type: "jepa:update_weights",
|
|
20058
|
+
W1: event.W1,
|
|
20059
|
+
W2: event.W2,
|
|
20060
|
+
b1: event.b1,
|
|
20061
|
+
b2: event.b2
|
|
20062
|
+
});
|
|
19952
20063
|
return;
|
|
19953
20064
|
}
|
|
19954
20065
|
if (eventType !== "pillarjepa:step") return;
|
|
@@ -19956,12 +20067,20 @@ var pillarJepaHandler = {
|
|
|
19956
20067
|
const step = state.step;
|
|
19957
20068
|
const contextStr = readString(event.context);
|
|
19958
20069
|
if (!contextStr) {
|
|
19959
|
-
emitError(context, {
|
|
20070
|
+
emitError(context, {
|
|
20071
|
+
code: "PJEPA_CONTEXT_REQUIRED",
|
|
20072
|
+
message: "pillarjepa:step requires a non-empty context string",
|
|
20073
|
+
step
|
|
20074
|
+
});
|
|
19960
20075
|
return;
|
|
19961
20076
|
}
|
|
19962
20077
|
const targetVec = toFloat32Array(event.targetVec);
|
|
19963
20078
|
if (!targetVec) {
|
|
19964
|
-
emitError(context, {
|
|
20079
|
+
emitError(context, {
|
|
20080
|
+
code: "PJEPA_TARGET_VEC_REQUIRED",
|
|
20081
|
+
message: "pillarjepa:step requires targetVec (Float32Array or number[])",
|
|
20082
|
+
step
|
|
20083
|
+
});
|
|
19965
20084
|
return;
|
|
19966
20085
|
}
|
|
19967
20086
|
const parallelSlice = event.parallel_slice;
|
|
@@ -19970,17 +20089,12 @@ var pillarJepaHandler = {
|
|
|
19970
20089
|
state.pendingJepaLoss = null;
|
|
19971
20090
|
state.pendingJepaError = null;
|
|
19972
20091
|
const captureCtx = buildCaptureContext(context, state);
|
|
19973
|
-
jepObjectiveHandler.onEvent?.(
|
|
19974
|
-
|
|
19975
|
-
|
|
19976
|
-
|
|
19977
|
-
|
|
19978
|
-
|
|
19979
|
-
context: contextStr,
|
|
19980
|
-
targetVec,
|
|
19981
|
-
conditioning: config.condDim > 0 ? conditioning : void 0
|
|
19982
|
-
}
|
|
19983
|
-
);
|
|
20092
|
+
jepObjectiveHandler.onEvent?.(state.jepaNode, toJepaConfig(config), captureCtx, {
|
|
20093
|
+
type: "jepa:encode_pair",
|
|
20094
|
+
context: contextStr,
|
|
20095
|
+
targetVec,
|
|
20096
|
+
conditioning: config.condDim > 0 ? conditioning : void 0
|
|
20097
|
+
});
|
|
19984
20098
|
const capturedError = state.pendingJepaError;
|
|
19985
20099
|
if (capturedError) {
|
|
19986
20100
|
emitError(context, {
|
|
@@ -20077,16 +20191,11 @@ function generatePhysicsSlice(state, config) {
|
|
|
20077
20191
|
agent_id: "pillar_jepa",
|
|
20078
20192
|
timestamp_ms: Date.now()
|
|
20079
20193
|
};
|
|
20080
|
-
pillarRegistryHandler.onEvent?.(
|
|
20081
|
-
|
|
20082
|
-
|
|
20083
|
-
|
|
20084
|
-
|
|
20085
|
-
type: "pillar:generate",
|
|
20086
|
-
pillar_id: config.physicsPillarId,
|
|
20087
|
-
context: pillarCtx
|
|
20088
|
-
}
|
|
20089
|
-
);
|
|
20194
|
+
pillarRegistryHandler.onEvent?.(state.registryNode, toRegistryConfig(), captureCtx, {
|
|
20195
|
+
type: "pillar:generate",
|
|
20196
|
+
pillar_id: config.physicsPillarId,
|
|
20197
|
+
context: pillarCtx
|
|
20198
|
+
});
|
|
20090
20199
|
return capturedSlice ?? {
|
|
20091
20200
|
axis_1_id: "energy",
|
|
20092
20201
|
axis_2_id: "momentum",
|
|
@@ -20120,16 +20229,11 @@ function generateTemporalSlice(state) {
|
|
|
20120
20229
|
agent_id: "pillar_jepa",
|
|
20121
20230
|
timestamp_ms: Date.now()
|
|
20122
20231
|
};
|
|
20123
|
-
pillarRegistryHandler.onEvent?.(
|
|
20124
|
-
|
|
20125
|
-
|
|
20126
|
-
|
|
20127
|
-
|
|
20128
|
-
type: "pillar:generate",
|
|
20129
|
-
pillar_id: TEMPORAL_PILLAR.id,
|
|
20130
|
-
context: pillarCtx
|
|
20131
|
-
}
|
|
20132
|
-
);
|
|
20232
|
+
pillarRegistryHandler.onEvent?.(state.registryNode, toRegistryConfig(), captureCtx, {
|
|
20233
|
+
type: "pillar:generate",
|
|
20234
|
+
pillar_id: TEMPORAL_PILLAR.id,
|
|
20235
|
+
context: pillarCtx
|
|
20236
|
+
});
|
|
20133
20237
|
return capturedSlice ?? {
|
|
20134
20238
|
axis_1_id: "steady_state",
|
|
20135
20239
|
axis_2_id: "convergence",
|
|
@@ -20494,7 +20598,10 @@ var recursiveLinkHandler = {
|
|
|
20494
20598
|
const receipt = extractField4(event, "receipt");
|
|
20495
20599
|
const metadata = extractField4(event, "metadata");
|
|
20496
20600
|
if (!slice || !to) {
|
|
20497
|
-
context.emit?.("recursive_link:error", {
|
|
20601
|
+
context.emit?.("recursive_link:error", {
|
|
20602
|
+
code: "INVALID_MESSAGE",
|
|
20603
|
+
message: "slice and to are required"
|
|
20604
|
+
});
|
|
20498
20605
|
return;
|
|
20499
20606
|
}
|
|
20500
20607
|
const fullMsg = {
|
|
@@ -20520,7 +20627,12 @@ var recursiveLinkHandler = {
|
|
|
20520
20627
|
const slicePayload = extractField4(event, "slice") ?? event.payload;
|
|
20521
20628
|
const slice = slicePayload?.pillar_id ? slicePayload : slicePayload?.slice;
|
|
20522
20629
|
if (!slice) return;
|
|
20523
|
-
const innerDomains = [
|
|
20630
|
+
const innerDomains = [
|
|
20631
|
+
"physics",
|
|
20632
|
+
"rendering",
|
|
20633
|
+
"solver",
|
|
20634
|
+
"trait"
|
|
20635
|
+
];
|
|
20524
20636
|
const loop = innerDomains.includes(slice.pillar_domain) ? "inner" : "outer";
|
|
20525
20637
|
context.emit?.("recursive_link:send", {
|
|
20526
20638
|
to: "*",
|
|
@@ -20774,11 +20886,10 @@ var cognitiveVMHandler = {
|
|
|
20774
20886
|
};
|
|
20775
20887
|
state.inner_tick++;
|
|
20776
20888
|
state.inner_counter++;
|
|
20777
|
-
const innerParallel = captureParallelSlice(
|
|
20778
|
-
|
|
20779
|
-
|
|
20780
|
-
|
|
20781
|
-
);
|
|
20889
|
+
const innerParallel = captureParallelSlice(state.parallelNode, config.inner_parallel_id, {
|
|
20890
|
+
...pillarCtx,
|
|
20891
|
+
layer: "inner_loop"
|
|
20892
|
+
});
|
|
20782
20893
|
const innerSlice = innerParallel?.left ?? {
|
|
20783
20894
|
axis_1_id: "energy",
|
|
20784
20895
|
axis_2_id: "momentum",
|
|
@@ -21102,12 +21213,10 @@ var uAALComposedAgentHandler = {
|
|
|
21102
21213
|
...context,
|
|
21103
21214
|
emit(name, payload) {
|
|
21104
21215
|
if (name === "pillarjepa:step") {
|
|
21105
|
-
pillarJepaHandler.onEvent?.(
|
|
21106
|
-
|
|
21107
|
-
|
|
21108
|
-
|
|
21109
|
-
{ type: "pillarjepa:step", ...payload }
|
|
21110
|
-
);
|
|
21216
|
+
pillarJepaHandler.onEvent?.(state.jepaNode, jepaConfig, jepaCtx, {
|
|
21217
|
+
type: "pillarjepa:step",
|
|
21218
|
+
...payload
|
|
21219
|
+
});
|
|
21111
21220
|
return;
|
|
21112
21221
|
}
|
|
21113
21222
|
if (name === "recursive_link:send") {
|
|
@@ -21322,10 +21431,7 @@ function lookup(domain) {
|
|
|
21322
21431
|
function resolve(domain) {
|
|
21323
21432
|
if (_overrides.has(domain)) return _overrides.get(domain);
|
|
21324
21433
|
if (domain in SEED_TABLE) return SEED_TABLE[domain];
|
|
21325
|
-
const all = [
|
|
21326
|
-
...Object.values(SEED_TABLE),
|
|
21327
|
-
..._overrides.values()
|
|
21328
|
-
];
|
|
21434
|
+
const all = [...Object.values(SEED_TABLE), ..._overrides.values()];
|
|
21329
21435
|
let best = all[0];
|
|
21330
21436
|
let bestDist = Infinity;
|
|
21331
21437
|
for (const entry of all) {
|
|
@@ -21341,7 +21447,9 @@ function resolve(domain) {
|
|
|
21341
21447
|
return best;
|
|
21342
21448
|
}
|
|
21343
21449
|
function getAllEntries() {
|
|
21344
|
-
return Object.entries(SEED_TABLE).map(
|
|
21450
|
+
return Object.entries(SEED_TABLE).map(
|
|
21451
|
+
([domain, entry]) => ({ domain, entry })
|
|
21452
|
+
);
|
|
21345
21453
|
}
|
|
21346
21454
|
function validateCoord(coord) {
|
|
21347
21455
|
return coord.mni_x >= -90 && coord.mni_x <= 90 && coord.mni_y >= -130 && coord.mni_y <= 80 && coord.mni_z >= -80 && coord.mni_z <= 90 && coord.cortical_depth >= 1 && coord.cortical_depth <= 6;
|