@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/compiler/index.js
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
1
|
export { createReproducibilityContext, parseReproducibilityFlags } from '../chunk-5GLCTO44.js';
|
|
2
|
-
export { ContextCompileError, ContextCompiler, createContextCompiler } from '../chunk-
|
|
3
|
-
export { LLMCapabilityCompileError, LLMProviderCapabilitiesCompiler, createLLMProviderCapabilitiesCompiler } from '../chunk-
|
|
4
|
-
export { GLTF_PIPELINE_TOOLS, registerGLTFTools } from '../chunk-
|
|
5
|
-
export { BUSINESS_QUEST_TOOLS, buildVRRCompositionFromDraft, businessVRRDraftSchema, draftToHoloPreview, handleBusinessQuestToolCall, registerBusinessQuestTools, validateBusinessVRRDraft } from '../chunk-
|
|
2
|
+
export { ContextCompileError, ContextCompiler, createContextCompiler } from '../chunk-TEVX443G.js';
|
|
3
|
+
export { LLMCapabilityCompileError, LLMProviderCapabilitiesCompiler, createLLMProviderCapabilitiesCompiler } from '../chunk-PABONWKI.js';
|
|
4
|
+
export { GLTF_PIPELINE_TOOLS, registerGLTFTools } from '../chunk-SSSN7VAM.js';
|
|
5
|
+
export { BUSINESS_QUEST_TOOLS, buildVRRCompositionFromDraft, businessVRRDraftSchema, draftToHoloPreview, handleBusinessQuestToolCall, registerBusinessQuestTools, validateBusinessVRRDraft } from '../chunk-YFWRJW4B.js';
|
|
6
6
|
export { NodeToyMapper, mapNodeToyToShader } from '../chunk-TG7O4WBC.js';
|
|
7
|
-
export { QuantumCircuitCompiler } from '../chunk-
|
|
8
|
-
import { init_Native2DCompiler, init_ThreeJSCompiler, ThreeJSCompiler_exports, init_A2AAgentCardCompiler, A2AAgentCardCompiler_exports, init_NIRCompiler, NIRCompiler_exports, Native2DCompiler_exports, Native2DCompiler } from '../chunk-
|
|
9
|
-
export { CodeEditorCompiler, CompilerBridge, GaussianSplattingCompiler, Native2DCompiler, SHARED_SORT_SHADER_PATH, SpatialPartitionPass, USDZPipeline, bestCategoryForTraits, compilePipelineSource, compilePipelineSourceToNode, compilePipelineSourceToPython, compilePipelineToNode, compilePipelineToPython, createGaussianSplattingCompiler, detectMultiUserSharedSort, quickSafetyCheck, runSafetyPass, selectModality, selectModalityForAll, spatialPartition } from '../chunk-
|
|
10
|
-
export { generateHullGeometry, generateMembraneGeometry, generateSplineGeometry } from '../chunk-
|
|
7
|
+
export { QuantumCircuitCompiler } from '../chunk-FGMDMJM7.js';
|
|
8
|
+
import { init_Native2DCompiler, init_ThreeJSCompiler, ThreeJSCompiler_exports, init_A2AAgentCardCompiler, A2AAgentCardCompiler_exports, init_NIRCompiler, NIRCompiler_exports, Native2DCompiler_exports, Native2DCompiler } from '../chunk-F2G6CWFT.js';
|
|
9
|
+
export { CodeEditorCompiler, CompilerBridge, GaussianSplattingCompiler, Native2DCompiler, SHARED_SORT_SHADER_PATH, SpatialPartitionPass, USDZPipeline, bestCategoryForTraits, compilePipelineSource, compilePipelineSourceToNode, compilePipelineSourceToPython, compilePipelineToNode, compilePipelineToPython, createGaussianSplattingCompiler, detectMultiUserSharedSort, quickSafetyCheck, runSafetyPass, selectModality, selectModalityForAll, spatialPartition } from '../chunk-F2G6CWFT.js';
|
|
10
|
+
export { generateHullGeometry, generateMembraneGeometry, generateSplineGeometry } from '../chunk-UDE4OZMR.js';
|
|
11
11
|
export { SemanticSceneGraph } from '../chunk-HYNTS5CP.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import { assertHoloMapManifestContract } from '../chunk-
|
|
12
|
+
import '../chunk-22Q5A6RV.js';
|
|
13
|
+
import { assertHoloMapManifestContract } from '../chunk-YFVQWSNJ.js';
|
|
14
14
|
export { COCOExporterImpl as COCOExporter } from '../chunk-Q56TT7IL.js';
|
|
15
15
|
export { RemotionBridgeImpl as RemotionBridge } from '../chunk-YYXH45E2.js';
|
|
16
|
-
import { vrTraitRegistry } from '../chunk-
|
|
17
|
-
import '../chunk-
|
|
18
|
-
import { isWebGpuEnvironmentPresent } from '../chunk-
|
|
16
|
+
import { vrTraitRegistry } from '../chunk-YN6IETRZ.js';
|
|
17
|
+
import '../chunk-GTA4Q3A3.js';
|
|
18
|
+
import { isWebGpuEnvironmentPresent } from '../chunk-47RUFYKR.js';
|
|
19
19
|
import '../chunk-TDCNJHWO.js';
|
|
20
20
|
import '../chunk-YQELFNJV.js';
|
|
21
|
-
import '../chunk-
|
|
22
|
-
export { IncrementalCompiler, createIncrementalCompiler } from '../chunk-
|
|
21
|
+
import '../chunk-7E7GCQCK.js';
|
|
22
|
+
export { IncrementalCompiler, createIncrementalCompiler } from '../chunk-3GWWJT7L.js';
|
|
23
23
|
import '../chunk-2M2DPHKB.js';
|
|
24
24
|
import '../chunk-4R6SBXDB.js';
|
|
25
|
-
import { init_WASMCompiler, WASMCompiler_exports } from '../chunk-
|
|
26
|
-
export { WASMCompiler } from '../chunk-
|
|
27
|
-
import { init_WebGPUCompiler, WebGPUCompiler_exports, WebGPUCompiler } from '../chunk-
|
|
28
|
-
export { WebGPUCompiler } from '../chunk-
|
|
29
|
-
import { init_DTDLCompiler, DTDLCompiler_exports } from '../chunk-
|
|
30
|
-
export { DTDLCompiler } from '../chunk-
|
|
31
|
-
import { init_URDFCompiler, URDFCompiler_exports } from '../chunk-
|
|
32
|
-
export { URDFCompiler, createURDFCompiler } from '../chunk-
|
|
33
|
-
export { USDPhysicsCompiler } from '../chunk-
|
|
34
|
-
import { init_SDFCompiler, SDFCompiler_exports } from '../chunk-
|
|
35
|
-
export { SDFCompiler } from '../chunk-
|
|
36
|
-
import { init_StateCompiler, StateCompiler_exports } from '../chunk-
|
|
37
|
-
export { StateCompiler } from '../chunk-
|
|
38
|
-
export { TraitCompositionCompiler } from '../chunk-
|
|
39
|
-
import { init_UnrealCompiler, UnrealCompiler_exports } from '../chunk-
|
|
40
|
-
import { init_GodotCompiler, GodotCompiler_exports } from '../chunk-
|
|
41
|
-
export { GodotCompiler } from '../chunk-
|
|
42
|
-
import { init_R3FCompiler, R3FCompiler_exports } from '../chunk-
|
|
43
|
-
export { ENVIRONMENT_PRESETS, R3FCompiler } from '../chunk-
|
|
25
|
+
import { init_WASMCompiler, WASMCompiler_exports } from '../chunk-FHQFPYV4.js';
|
|
26
|
+
export { WASMCompiler } from '../chunk-FHQFPYV4.js';
|
|
27
|
+
import { init_WebGPUCompiler, WebGPUCompiler_exports, WebGPUCompiler } from '../chunk-3NGDZZR4.js';
|
|
28
|
+
export { WebGPUCompiler } from '../chunk-3NGDZZR4.js';
|
|
29
|
+
import { init_DTDLCompiler, DTDLCompiler_exports } from '../chunk-WXQ57LAO.js';
|
|
30
|
+
export { DTDLCompiler } from '../chunk-WXQ57LAO.js';
|
|
31
|
+
import { init_URDFCompiler, URDFCompiler_exports } from '../chunk-KCPHASCO.js';
|
|
32
|
+
export { URDFCompiler, createURDFCompiler } from '../chunk-KCPHASCO.js';
|
|
33
|
+
export { USDPhysicsCompiler } from '../chunk-4JGRWHZJ.js';
|
|
34
|
+
import { init_SDFCompiler, SDFCompiler_exports } from '../chunk-QBWNJXNR.js';
|
|
35
|
+
export { SDFCompiler } from '../chunk-QBWNJXNR.js';
|
|
36
|
+
import { init_StateCompiler, StateCompiler_exports } from '../chunk-DY72BMU5.js';
|
|
37
|
+
export { StateCompiler } from '../chunk-DY72BMU5.js';
|
|
38
|
+
export { TraitCompositionCompiler } from '../chunk-QFU53KRH.js';
|
|
39
|
+
import { init_UnrealCompiler, UnrealCompiler_exports } from '../chunk-BTKZGHAV.js';
|
|
40
|
+
import { init_GodotCompiler, GodotCompiler_exports } from '../chunk-LWUOUCYL.js';
|
|
41
|
+
export { GodotCompiler } from '../chunk-LWUOUCYL.js';
|
|
42
|
+
import { init_R3FCompiler, R3FCompiler_exports } from '../chunk-MSYSQ2AJ.js';
|
|
43
|
+
export { ENVIRONMENT_PRESETS, R3FCompiler } from '../chunk-MSYSQ2AJ.js';
|
|
44
44
|
import '../chunk-XT6JY5W5.js';
|
|
45
|
-
import '../chunk-
|
|
46
|
-
import { init_PlayCanvasCompiler, PlayCanvasCompiler_exports } from '../chunk-
|
|
47
|
-
export { PlayCanvasCompiler } from '../chunk-
|
|
48
|
-
import { init_AndroidCompiler, AndroidCompiler_exports } from '../chunk-
|
|
49
|
-
export { AndroidCompiler } from '../chunk-
|
|
50
|
-
import { init_AndroidXRCompiler, init_AndroidXRTraitMap, AndroidXRCompiler_exports, AndroidXRCompiler, getTraitMapping, ANDROIDXR_TRAIT_MAP } from '../chunk-
|
|
51
|
-
export { AndroidXRCompiler } from '../chunk-
|
|
45
|
+
import '../chunk-B4EKV6HQ.js';
|
|
46
|
+
import { init_PlayCanvasCompiler, PlayCanvasCompiler_exports } from '../chunk-XQ5MWMP2.js';
|
|
47
|
+
export { PlayCanvasCompiler } from '../chunk-XQ5MWMP2.js';
|
|
48
|
+
import { init_AndroidCompiler, AndroidCompiler_exports } from '../chunk-GSOUNWEL.js';
|
|
49
|
+
export { AndroidCompiler } from '../chunk-GSOUNWEL.js';
|
|
50
|
+
import { init_AndroidXRCompiler, init_AndroidXRTraitMap, AndroidXRCompiler_exports, AndroidXRCompiler, getTraitMapping, ANDROIDXR_TRAIT_MAP } from '../chunk-7VMGP2FW.js';
|
|
51
|
+
export { AndroidXRCompiler } from '../chunk-7VMGP2FW.js';
|
|
52
52
|
import '../chunk-FDSGHPAK.js';
|
|
53
|
-
import { init_IOSCompiler, IOSCompiler_exports } from '../chunk-
|
|
54
|
-
export { IOSCompiler } from '../chunk-
|
|
55
|
-
import { init_VisionOSCompiler, init_VisionOSTraitMap, VisionOSCompiler_exports, getTraitMapping as getTraitMapping$1, listAllTraits, generateTraitCode } from '../chunk-
|
|
56
|
-
export { VisionOSCompiler } from '../chunk-
|
|
57
|
-
export { MultiLayerCompiler } from '../chunk-
|
|
58
|
-
import { init_VRRCompiler, VRRCompiler_exports } from '../chunk-
|
|
59
|
-
export { VRRCompiler } from '../chunk-
|
|
60
|
-
import { init_ARCompiler, ARCompiler_exports } from '../chunk-
|
|
61
|
-
export { ARCompiler } from '../chunk-
|
|
62
|
-
import { init_OpenXRCompiler, OpenXRCompiler_exports } from '../chunk-
|
|
63
|
-
export { OpenXRCompiler } from '../chunk-
|
|
64
|
-
import { init_VRChatCompiler, VRChatCompiler_exports } from '../chunk-
|
|
65
|
-
export { VRChatCompiler } from '../chunk-
|
|
66
|
-
import { init_BabylonCompiler, BabylonCompiler_exports } from '../chunk-
|
|
67
|
-
export { BabylonCompiler } from '../chunk-
|
|
68
|
-
import '../chunk-
|
|
53
|
+
import { init_IOSCompiler, IOSCompiler_exports } from '../chunk-Q2Q34NF3.js';
|
|
54
|
+
export { IOSCompiler } from '../chunk-Q2Q34NF3.js';
|
|
55
|
+
import { init_VisionOSCompiler, init_VisionOSTraitMap, VisionOSCompiler_exports, getTraitMapping as getTraitMapping$1, listAllTraits, generateTraitCode } from '../chunk-BRNUPDHJ.js';
|
|
56
|
+
export { VisionOSCompiler } from '../chunk-BRNUPDHJ.js';
|
|
57
|
+
export { MultiLayerCompiler } from '../chunk-NHJLP37F.js';
|
|
58
|
+
import { init_VRRCompiler, VRRCompiler_exports } from '../chunk-YRRAUB35.js';
|
|
59
|
+
export { VRRCompiler } from '../chunk-YRRAUB35.js';
|
|
60
|
+
import { init_ARCompiler, ARCompiler_exports } from '../chunk-5ET6L4NS.js';
|
|
61
|
+
export { ARCompiler } from '../chunk-5ET6L4NS.js';
|
|
62
|
+
import { init_OpenXRCompiler, OpenXRCompiler_exports } from '../chunk-S762UEV5.js';
|
|
63
|
+
export { OpenXRCompiler } from '../chunk-S762UEV5.js';
|
|
64
|
+
import { init_VRChatCompiler, VRChatCompiler_exports } from '../chunk-VF257YKO.js';
|
|
65
|
+
export { VRChatCompiler } from '../chunk-VF257YKO.js';
|
|
66
|
+
import { init_BabylonCompiler, BabylonCompiler_exports } from '../chunk-VEPGBETF.js';
|
|
67
|
+
export { BabylonCompiler } from '../chunk-VEPGBETF.js';
|
|
68
|
+
import '../chunk-SLHLXUMO.js';
|
|
69
69
|
import '../chunk-4C57PR42.js';
|
|
70
|
-
import { init_UnityCompiler, UnityCompiler_exports } from '../chunk-
|
|
71
|
-
export { UnityCompiler } from '../chunk-
|
|
72
|
-
import { init_PlatformConditionalCompilerMixin } from '../chunk-
|
|
73
|
-
export { PlatformConditionalCompilerMixin, createPlatformTarget, filterCompositionForPlatform, matchesPlatformConstraint, normalizePlatformName } from '../chunk-
|
|
74
|
-
import '../chunk-
|
|
75
|
-
import { init_CompilerBase, CompilerBase, init_ANSNamespace, ANSCapabilityPath, init_CompilerDocumentationGenerator } from '../chunk-
|
|
76
|
-
export { CompilerBase, CompilerDocumentationGenerator, UnauthorizedCompilerAccessError, createTestCompilerToken, isCapabilityTokenCredential } from '../chunk-
|
|
70
|
+
import { init_UnityCompiler, UnityCompiler_exports } from '../chunk-2OWDB4FB.js';
|
|
71
|
+
export { UnityCompiler } from '../chunk-2OWDB4FB.js';
|
|
72
|
+
import { init_PlatformConditionalCompilerMixin } from '../chunk-GW3LKD5C.js';
|
|
73
|
+
export { PlatformConditionalCompilerMixin, createPlatformTarget, filterCompositionForPlatform, matchesPlatformConstraint, normalizePlatformName } from '../chunk-GW3LKD5C.js';
|
|
74
|
+
import '../chunk-ZA34AN3R.js';
|
|
75
|
+
import { init_CompilerBase, CompilerBase, init_ANSNamespace, ANSCapabilityPath, init_CompilerDocumentationGenerator } from '../chunk-C7ZBSV2Q.js';
|
|
76
|
+
export { CompilerBase, CompilerDocumentationGenerator, UnauthorizedCompilerAccessError, createTestCompilerToken, isCapabilityTokenCredential } from '../chunk-C7ZBSV2Q.js';
|
|
77
77
|
import { init_traitDocs, getTraitDoc, getAllTraitNames } from '../chunk-THCK6ECW.js';
|
|
78
|
-
import '../chunk-
|
|
79
|
-
import '../chunk-
|
|
80
|
-
import '../chunk-
|
|
81
|
-
import { init_constants, CONNECTOR_PACKAGES, CONNECTOR_ENV_REQUIREMENTS, KNOWN_CONNECTORS } from '../chunk-
|
|
78
|
+
import '../chunk-2Y3V22SG.js';
|
|
79
|
+
import '../chunk-33YHE7HX.js';
|
|
80
|
+
import '../chunk-SYTRBGDS.js';
|
|
81
|
+
import { init_constants, CONNECTOR_PACKAGES, CONNECTOR_ENV_REQUIREMENTS, KNOWN_CONNECTORS } from '../chunk-GASCWJK5.js';
|
|
82
82
|
import '../chunk-WRNEH5MO.js';
|
|
83
83
|
import '../chunk-WKX5AMOY.js';
|
|
84
84
|
import '../chunk-SIEXCILW.js';
|
|
85
85
|
import '../chunk-CBJY23VL.js';
|
|
86
86
|
import { ExpressionEvaluator } from '../chunk-XL6INWKT.js';
|
|
87
|
-
import '../chunk-
|
|
87
|
+
import '../chunk-TVANHNJ7.js';
|
|
88
88
|
import '../chunk-PHENW4MQ.js';
|
|
89
89
|
import '../chunk-VVKVQZI6.js';
|
|
90
90
|
import { __export, __esm, __toCommonJS } from '../chunk-OL46QLBJ.js';
|
|
@@ -204,9 +204,13 @@ function emitHandler(handler, meta, opts) {
|
|
|
204
204
|
lines.push(` try {`);
|
|
205
205
|
lines.push(` body = await _request.json();`);
|
|
206
206
|
lines.push(` } catch {`);
|
|
207
|
-
lines.push(
|
|
207
|
+
lines.push(
|
|
208
|
+
` return NextResponse.json({ ok: false, error: 'Invalid JSON body' }, { status: 400 });`
|
|
209
|
+
);
|
|
208
210
|
lines.push(` }`);
|
|
209
|
-
lines.push(
|
|
211
|
+
lines.push(
|
|
212
|
+
` const record = typeof body === 'object' && body !== null ? (body as Record<string, unknown>) : null;`
|
|
213
|
+
);
|
|
210
214
|
lines.push(` if (!record) {`);
|
|
211
215
|
lines.push(
|
|
212
216
|
` return NextResponse.json({ ok: false, error: 'JSON body must be an object' }, { status: 400 });`
|
|
@@ -285,21 +289,29 @@ function compileToNextJSAPI(composition, options = {}) {
|
|
|
285
289
|
lines.push(``);
|
|
286
290
|
if (includeValidation && hasBodyHandlers) {
|
|
287
291
|
lines.push(`function isTuple3(value: unknown): value is [number, number, number] {`);
|
|
288
|
-
lines.push(
|
|
292
|
+
lines.push(
|
|
293
|
+
` return Array.isArray(value) && value.length === 3 && value.every((n) => typeof n === 'number');`
|
|
294
|
+
);
|
|
289
295
|
lines.push(`}`);
|
|
290
296
|
lines.push(``);
|
|
291
297
|
lines.push(`function isTuple4(value: unknown): value is [number, number, number, number] {`);
|
|
292
|
-
lines.push(
|
|
298
|
+
lines.push(
|
|
299
|
+
` return Array.isArray(value) && value.length === 4 && value.every((n) => typeof n === 'number');`
|
|
300
|
+
);
|
|
293
301
|
lines.push(`}`);
|
|
294
302
|
lines.push(``);
|
|
295
303
|
lines.push(
|
|
296
304
|
`function validateSpatialRequestBody(record: Record<string, unknown>): { valid: true } | { valid: false; error: string; field: string } {`
|
|
297
305
|
);
|
|
298
306
|
lines.push(` if ('position' in record && !isTuple3(record.position)) {`);
|
|
299
|
-
lines.push(
|
|
307
|
+
lines.push(
|
|
308
|
+
` return { valid: false, error: 'position must be [x, y, z] numeric tuple', field: 'position' };`
|
|
309
|
+
);
|
|
300
310
|
lines.push(` }`);
|
|
301
311
|
lines.push(` if ('scale' in record && !isTuple3(record.scale)) {`);
|
|
302
|
-
lines.push(
|
|
312
|
+
lines.push(
|
|
313
|
+
` return { valid: false, error: 'scale must be [x, y, z] numeric tuple', field: 'scale' };`
|
|
314
|
+
);
|
|
303
315
|
lines.push(` }`);
|
|
304
316
|
lines.push(` if ('rotation' in record) {`);
|
|
305
317
|
lines.push(` const rotation = record.rotation;`);
|
|
@@ -538,7 +550,9 @@ var init_NodeServiceCompiler = __esm({
|
|
|
538
550
|
const handlerTrait = this.findTrait(traitObjects, "handler");
|
|
539
551
|
const method = this.resolveString(propMap.get("method"))?.toUpperCase() || "GET";
|
|
540
552
|
const path = this.resolveString(propMap.get("path")) || `/${this.toKebab(obj.name)}`;
|
|
541
|
-
const handlerName = this.resolveString(propMap.get("handler")) || this.resolveString(
|
|
553
|
+
const handlerName = this.resolveString(propMap.get("handler")) || this.resolveString(
|
|
554
|
+
this.readTraitConfig(handlerTrait, "name", "handler")
|
|
555
|
+
) || this.resolveString(this.readTraitConfig(handlerTrait, "_arg0")) || this.toCamelCase(obj.name);
|
|
542
556
|
const hasHttpInfo = propMap.has("method") || propMap.has("path") || traits.includes("http") || traits.includes("route");
|
|
543
557
|
if (!hasHttpInfo) return null;
|
|
544
558
|
return {
|
|
@@ -2087,7 +2101,9 @@ var MCPConfigCompiler = class extends CompilerBase {
|
|
|
2087
2101
|
let transport = "http";
|
|
2088
2102
|
const connectorTrait = traits.find((t) => t.name === "connector");
|
|
2089
2103
|
if (connectorTrait?.config) {
|
|
2090
|
-
const t = this.resolveString(
|
|
2104
|
+
const t = this.resolveString(
|
|
2105
|
+
connectorTrait.config["transport"] || connectorTrait.config["_arg1"]
|
|
2106
|
+
);
|
|
2091
2107
|
if (t === "stdio" || t === "sse" || t === "http") transport = t;
|
|
2092
2108
|
}
|
|
2093
2109
|
const envVars = [];
|
|
@@ -2386,15 +2402,10 @@ var EDGE_KEY = (e) => `${e.source}\0${e.target}\0${e.relation}`;
|
|
|
2386
2402
|
function mergeSocialCausalModels(agentDags, options = {}) {
|
|
2387
2403
|
const threshold = options.consensusThreshold ?? DEFAULT_THRESHOLD;
|
|
2388
2404
|
if (threshold <= 0 || threshold > 1) {
|
|
2389
|
-
throw new RangeError(
|
|
2390
|
-
`consensusThreshold must be in (0, 1]; got ${threshold}`
|
|
2391
|
-
);
|
|
2405
|
+
throw new RangeError(`consensusThreshold must be in (0, 1]; got ${threshold}`);
|
|
2392
2406
|
}
|
|
2393
2407
|
const agentCount = agentDags.length;
|
|
2394
|
-
const minObservers = Math.min(
|
|
2395
|
-
agentCount,
|
|
2396
|
-
Math.floor(threshold * agentCount) + 1
|
|
2397
|
-
);
|
|
2408
|
+
const minObservers = Math.min(agentCount, Math.floor(threshold * agentCount) + 1);
|
|
2398
2409
|
if (agentCount === 0) {
|
|
2399
2410
|
return {
|
|
2400
2411
|
dag: emptyDag(options.modelName),
|
|
@@ -2587,14 +2598,10 @@ function byzantineResilientMerge(agentDags, ledger, options = {}) {
|
|
|
2587
2598
|
throw new RangeError(`decayPerEpoch must be in [0, 1]; got ${decay}`);
|
|
2588
2599
|
}
|
|
2589
2600
|
if (dropThreshold < 0 || dropThreshold > 1) {
|
|
2590
|
-
throw new RangeError(
|
|
2591
|
-
`dropThreshold must be in [0, 1]; got ${dropThreshold}`
|
|
2592
|
-
);
|
|
2601
|
+
throw new RangeError(`dropThreshold must be in [0, 1]; got ${dropThreshold}`);
|
|
2593
2602
|
}
|
|
2594
2603
|
if (minCluster < 2 || !Number.isInteger(minCluster)) {
|
|
2595
|
-
throw new RangeError(
|
|
2596
|
-
`minClusterAgents must be an integer >= 2; got ${minCluster}`
|
|
2597
|
-
);
|
|
2604
|
+
throw new RangeError(`minClusterAgents must be an integer >= 2; got ${minCluster}`);
|
|
2598
2605
|
}
|
|
2599
2606
|
const agentIds = /* @__PURE__ */ new Map();
|
|
2600
2607
|
const seenIds = /* @__PURE__ */ new Set();
|
|
@@ -2979,17 +2986,10 @@ var DispatchPolicy = class {
|
|
|
2979
2986
|
}
|
|
2980
2987
|
const emulator = await this.runTier1WasmEmulator(op, runtime);
|
|
2981
2988
|
const reason = emulator.accepted ? void 0 : emulator.reason ?? "compiler-wasm SNN emulator rejected dispatch";
|
|
2982
|
-
return this.buildDecision(
|
|
2983
|
-
|
|
2984
|
-
emulator
|
|
2985
|
-
|
|
2986
|
-
reason,
|
|
2987
|
-
void 0,
|
|
2988
|
-
{
|
|
2989
|
-
wasmProbe: runtime,
|
|
2990
|
-
wasmEmulator: emulator
|
|
2991
|
-
}
|
|
2992
|
-
);
|
|
2989
|
+
return this.buildDecision("tier-1-wasm" /* TIER_1_WASM */, emulator.accepted, op, reason, void 0, {
|
|
2990
|
+
wasmProbe: runtime,
|
|
2991
|
+
wasmEmulator: emulator
|
|
2992
|
+
});
|
|
2993
2993
|
}
|
|
2994
2994
|
async tryTier2(op) {
|
|
2995
2995
|
const provider = this.config.llmProposalProvider;
|
|
@@ -3307,16 +3307,7 @@ async function sha256Hex(input) {
|
|
|
3307
3307
|
function bytesToHex(bytes) {
|
|
3308
3308
|
return Array.from(bytes, (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
3309
3309
|
}
|
|
3310
|
-
var MINIMAL_WASM_MODULE = new Uint8Array([
|
|
3311
|
-
0,
|
|
3312
|
-
97,
|
|
3313
|
-
115,
|
|
3314
|
-
109,
|
|
3315
|
-
1,
|
|
3316
|
-
0,
|
|
3317
|
-
0,
|
|
3318
|
-
0
|
|
3319
|
-
]);
|
|
3310
|
+
var MINIMAL_WASM_MODULE = new Uint8Array([0, 97, 115, 109, 1, 0, 0, 0]);
|
|
3320
3311
|
function emulateLifSteps(input, steps) {
|
|
3321
3312
|
const vRest = -65;
|
|
3322
3313
|
const vReset = -65;
|
|
@@ -3500,7 +3491,9 @@ async function runDispatchPolicyLatencyBenchmark(options = {}) {
|
|
|
3500
3491
|
}
|
|
3501
3492
|
const samples = [];
|
|
3502
3493
|
for (let i = 0; i < iterations; i += 1) {
|
|
3503
|
-
samples.push(
|
|
3494
|
+
samples.push(
|
|
3495
|
+
await measureDispatchSample(policy, scenario, scenarioOperation, i, options.now)
|
|
3496
|
+
);
|
|
3504
3497
|
}
|
|
3505
3498
|
summaries.push(summarizeDispatchSamples(scenario, samples));
|
|
3506
3499
|
}
|
|
@@ -3513,8 +3506,12 @@ async function runDispatchPolicyLatencyBenchmark(options = {}) {
|
|
|
3513
3506
|
};
|
|
3514
3507
|
}
|
|
3515
3508
|
function recommendDispatchPolicyDefaults(summaries) {
|
|
3516
|
-
const tier2 = summaries.find(
|
|
3517
|
-
|
|
3509
|
+
const tier2 = summaries.find(
|
|
3510
|
+
(summary) => summary.requestedTier === "tier-2-speculative" /* TIER_2_SPECULATIVE */
|
|
3511
|
+
);
|
|
3512
|
+
const tier3 = summaries.find(
|
|
3513
|
+
(summary) => summary.requestedTier === "tier-3-cpu-direct" /* TIER_3_CPU_DIRECT */
|
|
3514
|
+
);
|
|
3518
3515
|
if (!tier2) {
|
|
3519
3516
|
return {
|
|
3520
3517
|
tier2DefaultEnabled: false,
|
|
@@ -3683,22 +3680,11 @@ function parseOBJExtended(text) {
|
|
|
3683
3680
|
const parts = line.split(/\s+/);
|
|
3684
3681
|
const cmd = parts[0];
|
|
3685
3682
|
if (cmd === "v" && parts.length >= 4) {
|
|
3686
|
-
allVertices.push(
|
|
3687
|
-
parseFloat(parts[1]),
|
|
3688
|
-
parseFloat(parts[2]),
|
|
3689
|
-
parseFloat(parts[3])
|
|
3690
|
-
);
|
|
3683
|
+
allVertices.push(parseFloat(parts[1]), parseFloat(parts[2]), parseFloat(parts[3]));
|
|
3691
3684
|
} else if (cmd === "vn" && parts.length >= 4) {
|
|
3692
|
-
allNormals.push(
|
|
3693
|
-
parseFloat(parts[1]),
|
|
3694
|
-
parseFloat(parts[2]),
|
|
3695
|
-
parseFloat(parts[3])
|
|
3696
|
-
);
|
|
3685
|
+
allNormals.push(parseFloat(parts[1]), parseFloat(parts[2]), parseFloat(parts[3]));
|
|
3697
3686
|
} else if (cmd === "vt" && parts.length >= 3) {
|
|
3698
|
-
allUVs.push(
|
|
3699
|
-
parseFloat(parts[1]),
|
|
3700
|
-
parseFloat(parts[2])
|
|
3701
|
-
);
|
|
3687
|
+
allUVs.push(parseFloat(parts[1]), parseFloat(parts[2]));
|
|
3702
3688
|
} else if (cmd === "g" || cmd === "o") {
|
|
3703
3689
|
const name = parts.slice(1).join(" ") || `group_${groups.length}`;
|
|
3704
3690
|
startGroup(name);
|
|
@@ -3718,7 +3704,12 @@ function parseOBJExtended(text) {
|
|
|
3718
3704
|
return vIdx > 0 ? vIdx - 1 : allVertices.length / 3 + vIdx;
|
|
3719
3705
|
});
|
|
3720
3706
|
for (let t = 1; t < indices.length - 1; t++) {
|
|
3721
|
-
currentGroup.triangles = appendTri(
|
|
3707
|
+
currentGroup.triangles = appendTri(
|
|
3708
|
+
currentGroup.triangles,
|
|
3709
|
+
indices[0],
|
|
3710
|
+
indices[t],
|
|
3711
|
+
indices[t + 1]
|
|
3712
|
+
);
|
|
3722
3713
|
}
|
|
3723
3714
|
}
|
|
3724
3715
|
}
|
|
@@ -3733,25 +3724,23 @@ function parseOBJExtended(text) {
|
|
|
3733
3724
|
const verts = [];
|
|
3734
3725
|
for (const idx of usedVerts) {
|
|
3735
3726
|
remap.set(idx, next++);
|
|
3736
|
-
verts.push(
|
|
3737
|
-
allVertices[idx * 3],
|
|
3738
|
-
allVertices[idx * 3 + 1],
|
|
3739
|
-
allVertices[idx * 3 + 2]
|
|
3740
|
-
);
|
|
3727
|
+
verts.push(allVertices[idx * 3], allVertices[idx * 3 + 1], allVertices[idx * 3 + 2]);
|
|
3741
3728
|
}
|
|
3742
3729
|
g.vertices = new Float64Array(verts);
|
|
3743
3730
|
for (let i = 0; i < g.triangles.length; i++) {
|
|
3744
3731
|
g.triangles[i] = remap.get(g.triangles[i]);
|
|
3745
3732
|
}
|
|
3746
3733
|
}
|
|
3747
|
-
return groups.length > 0 ? groups : [
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3734
|
+
return groups.length > 0 ? groups : [
|
|
3735
|
+
{
|
|
3736
|
+
name: "default",
|
|
3737
|
+
vertices: new Float64Array(allVertices),
|
|
3738
|
+
normals: new Float64Array(allNormals),
|
|
3739
|
+
uvs: new Float64Array(allUVs),
|
|
3740
|
+
triangles: new Uint32Array(0),
|
|
3741
|
+
materialName: currentMaterial
|
|
3742
|
+
}
|
|
3743
|
+
];
|
|
3755
3744
|
}
|
|
3756
3745
|
function appendTri(arr, a, b, c) {
|
|
3757
3746
|
const next = new Uint32Array(arr.length + 3);
|
|
@@ -3780,11 +3769,7 @@ function parseMTL(text) {
|
|
|
3780
3769
|
} else if (current) {
|
|
3781
3770
|
const mat = materials.get(current);
|
|
3782
3771
|
if (cmd === "Kd" && parts.length >= 4) {
|
|
3783
|
-
mat.baseColor = [
|
|
3784
|
-
parseFloat(parts[1]),
|
|
3785
|
-
parseFloat(parts[2]),
|
|
3786
|
-
parseFloat(parts[3])
|
|
3787
|
-
];
|
|
3772
|
+
mat.baseColor = [parseFloat(parts[1]), parseFloat(parts[2]), parseFloat(parts[3])];
|
|
3788
3773
|
} else if (cmd === "map_Kd" && parts.length >= 2) {
|
|
3789
3774
|
mat.textureMap = parts.slice(1).join(" ");
|
|
3790
3775
|
} else if (cmd === "map_Bump" && parts.length >= 2) {
|
|
@@ -3808,17 +3793,9 @@ function parseXYZ(text) {
|
|
|
3808
3793
|
if (line.length === 0 || line.startsWith("#")) continue;
|
|
3809
3794
|
const parts = line.split(/\s+/);
|
|
3810
3795
|
if (parts.length < 3) continue;
|
|
3811
|
-
points.push(
|
|
3812
|
-
parseFloat(parts[0]),
|
|
3813
|
-
parseFloat(parts[1]),
|
|
3814
|
-
parseFloat(parts[2])
|
|
3815
|
-
);
|
|
3796
|
+
points.push(parseFloat(parts[0]), parseFloat(parts[1]), parseFloat(parts[2]));
|
|
3816
3797
|
if (parts.length >= 6) {
|
|
3817
|
-
colors.push(
|
|
3818
|
-
parseInt(parts[3], 10),
|
|
3819
|
-
parseInt(parts[4], 10),
|
|
3820
|
-
parseInt(parts[5], 10)
|
|
3821
|
-
);
|
|
3798
|
+
colors.push(parseInt(parts[3], 10), parseInt(parts[4], 10), parseInt(parts[5], 10));
|
|
3822
3799
|
} else {
|
|
3823
3800
|
hasColor = false;
|
|
3824
3801
|
}
|
|
@@ -3909,7 +3886,9 @@ var MatterpakCompiler = class extends CompilerBase {
|
|
|
3909
3886
|
if (e57Cloud.count > 0) {
|
|
3910
3887
|
stats.pointCount += e57Cloud.count;
|
|
3911
3888
|
} else {
|
|
3912
|
-
warnings.push(
|
|
3889
|
+
warnings.push(
|
|
3890
|
+
"E57 parsing produced zero points (header-only or unsupported format variant)"
|
|
3891
|
+
);
|
|
3913
3892
|
}
|
|
3914
3893
|
}
|
|
3915
3894
|
const objects = [];
|
|
@@ -3999,15 +3978,17 @@ var MatterpakCompiler = class extends CompilerBase {
|
|
|
3999
3978
|
stats.rooms = spatialGroups.length;
|
|
4000
3979
|
} else {
|
|
4001
3980
|
for (const g of objGroups) {
|
|
4002
|
-
const traits = [
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
3981
|
+
const traits = [
|
|
3982
|
+
{
|
|
3983
|
+
type: "ObjectTrait",
|
|
3984
|
+
name: "geometry",
|
|
3985
|
+
config: {
|
|
3986
|
+
primitive: "mesh",
|
|
3987
|
+
vertices: Array.from(g.vertices),
|
|
3988
|
+
indices: Array.from(g.triangles)
|
|
3989
|
+
}
|
|
4009
3990
|
}
|
|
4010
|
-
|
|
3991
|
+
];
|
|
4011
3992
|
const matName = g.materialName;
|
|
4012
3993
|
if (matName && mtl.materials.has(matName)) {
|
|
4013
3994
|
const mat = mtl.materials.get(matName);
|
|
@@ -4061,11 +4042,7 @@ var MatterpakCompiler = class extends CompilerBase {
|
|
|
4061
4042
|
const x = pc.points[i * 3];
|
|
4062
4043
|
const y = pc.points[i * 3 + 1];
|
|
4063
4044
|
const z = pc.points[i * 3 + 2];
|
|
4064
|
-
particles.push(
|
|
4065
|
-
(x - cx) * scale,
|
|
4066
|
-
(y - cy) * scale,
|
|
4067
|
-
(z - cz) * scale
|
|
4068
|
-
);
|
|
4045
|
+
particles.push((x - cx) * scale, (y - cy) * scale, (z - cz) * scale);
|
|
4069
4046
|
if (pc.colors) {
|
|
4070
4047
|
particleColors.push(
|
|
4071
4048
|
pc.colors[i * 3] / 255,
|
|
@@ -4082,17 +4059,19 @@ var MatterpakCompiler = class extends CompilerBase {
|
|
|
4082
4059
|
position: { x: 0, y: 0, z: 0 },
|
|
4083
4060
|
scale: { x: 1, y: 1, z: 1 },
|
|
4084
4061
|
rotation: { x: 0, y: 0, z: 0 },
|
|
4085
|
-
traits: [
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4062
|
+
traits: [
|
|
4063
|
+
{
|
|
4064
|
+
type: "ObjectTrait",
|
|
4065
|
+
name: "particleSystem",
|
|
4066
|
+
config: {
|
|
4067
|
+
count: particles.length / 3,
|
|
4068
|
+
positions: particles,
|
|
4069
|
+
...particleColors.length > 0 ? { colors: particleColors } : {},
|
|
4070
|
+
size: 0.02 * scale,
|
|
4071
|
+
billboard: true
|
|
4072
|
+
}
|
|
4094
4073
|
}
|
|
4095
|
-
|
|
4074
|
+
]
|
|
4096
4075
|
});
|
|
4097
4076
|
systemIndex++;
|
|
4098
4077
|
}
|
|
@@ -4156,22 +4135,24 @@ var MatterpakCompiler = class extends CompilerBase {
|
|
|
4156
4135
|
timelines: [],
|
|
4157
4136
|
audio: [],
|
|
4158
4137
|
zones: [],
|
|
4159
|
-
worlds: [
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4138
|
+
worlds: [
|
|
4139
|
+
{
|
|
4140
|
+
type: "World",
|
|
4141
|
+
id: "property_world",
|
|
4142
|
+
name: "Imported Property",
|
|
4143
|
+
properties: [
|
|
4144
|
+
{ type: "WorldProperty", key: "gravityX", value: 0 },
|
|
4145
|
+
{ type: "WorldProperty", key: "gravityY", value: -9.81 },
|
|
4146
|
+
{ type: "WorldProperty", key: "gravityZ", value: 0 },
|
|
4147
|
+
{ type: "WorldProperty", key: "boundsMinX", value: (minX - cx) * scale },
|
|
4148
|
+
{ type: "WorldProperty", key: "boundsMinY", value: (minY - cy) * scale },
|
|
4149
|
+
{ type: "WorldProperty", key: "boundsMinZ", value: (minZ - cz) * scale },
|
|
4150
|
+
{ type: "WorldProperty", key: "boundsMaxX", value: (maxX - cx) * scale },
|
|
4151
|
+
{ type: "WorldProperty", key: "boundsMaxY", value: (maxY - cy) * scale },
|
|
4152
|
+
{ type: "WorldProperty", key: "boundsMaxZ", value: (maxZ - cz) * scale }
|
|
4153
|
+
]
|
|
4154
|
+
}
|
|
4155
|
+
],
|
|
4175
4156
|
ui: {
|
|
4176
4157
|
type: "UI",
|
|
4177
4158
|
elements: []
|
|
@@ -4474,7 +4455,9 @@ var HoloGramMLSCompiler = class extends CompilerBase {
|
|
|
4474
4455
|
type: "SpatialGroup",
|
|
4475
4456
|
id: `room_${roomName.replace(/\s+/g, "_")}`,
|
|
4476
4457
|
name: roomName,
|
|
4477
|
-
objects: objects.filter(
|
|
4458
|
+
objects: objects.filter(
|
|
4459
|
+
(o) => o.id?.startsWith(`floor_${roomName.replace(/\s+/g, "_")}`) || o.id?.startsWith(`label_${roomName.replace(/\s+/g, "_")}`) || o.traits?.some((t) => t.name === "image") && Math.abs((o.position?.x ?? 0) - pos.x) < roomSize && Math.abs((o.position?.z ?? 0) - pos.z) < roomSize
|
|
4460
|
+
),
|
|
4478
4461
|
properties: []
|
|
4479
4462
|
});
|
|
4480
4463
|
wpPoints.push([pos.x, 0.1, pos.z]);
|
|
@@ -4529,18 +4512,20 @@ var HoloGramMLSCompiler = class extends CompilerBase {
|
|
|
4529
4512
|
lights,
|
|
4530
4513
|
camera,
|
|
4531
4514
|
waypointSets: waypoints,
|
|
4532
|
-
worlds: [
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4515
|
+
worlds: [
|
|
4516
|
+
{
|
|
4517
|
+
type: "World",
|
|
4518
|
+
name: "gallery_world",
|
|
4519
|
+
bounds: {
|
|
4520
|
+
minX: -this.options.roomSpacing * 2,
|
|
4521
|
+
minY: 0,
|
|
4522
|
+
minZ: -this.options.roomSpacing * 2,
|
|
4523
|
+
maxX: this.options.roomSpacing * 2,
|
|
4524
|
+
maxY: 10,
|
|
4525
|
+
maxZ: this.options.roomSpacing * 2
|
|
4526
|
+
}
|
|
4542
4527
|
}
|
|
4543
|
-
|
|
4528
|
+
],
|
|
4544
4529
|
templates: [],
|
|
4545
4530
|
imports: [],
|
|
4546
4531
|
transitions: [],
|
|
@@ -5138,8 +5123,8 @@ var SOVEREIGN_ENGINES = [
|
|
|
5138
5123
|
kind: "renderer",
|
|
5139
5124
|
maturity: "real",
|
|
5140
5125
|
tests: false,
|
|
5141
|
-
promoted:
|
|
5142
|
-
note: "Sovereign GPU renderer \u2014 owns device/pipelines/shaders/buffers + WebXR; no Three.js/Babylon.
|
|
5126
|
+
promoted: true,
|
|
5127
|
+
note: "Sovereign GPU renderer \u2014 owns device/pipelines/shaders/buffers + WebXR; no Three.js/Babylon. Wired into preview/deploy path (2026-06-08): compile_to_webgpu returns previewHtml, POST /api/compile/webgpu-preview serves sovereign HTML, /scene/:id?renderer=webgpu and /embed/:id?renderer=webgpu compile+serve on the native path."
|
|
5143
5128
|
},
|
|
5144
5129
|
{
|
|
5145
5130
|
id: "spatial-engine",
|
|
@@ -5197,9 +5182,9 @@ var SOVEREIGN_ENGINES = [
|
|
|
5197
5182
|
file: "packages/core/src/compiler/Native2DCompiler.ts",
|
|
5198
5183
|
kind: "compiler",
|
|
5199
5184
|
maturity: "real",
|
|
5200
|
-
tests:
|
|
5185
|
+
tests: true,
|
|
5201
5186
|
promoted: false,
|
|
5202
|
-
note: 'HS UI traits \u2192 flat DOM/Tailwind/React. The D.080 HS-native console base. Emits an "@generated by HoloScript" header.
|
|
5187
|
+
note: 'HS UI traits \u2192 flat DOM/Tailwind/React. The D.080 HS-native console base. Emits an "@generated by HoloScript" header.'
|
|
5203
5188
|
},
|
|
5204
5189
|
{
|
|
5205
5190
|
id: "canvas2d-game",
|
|
@@ -5207,9 +5192,9 @@ var SOVEREIGN_ENGINES = [
|
|
|
5207
5192
|
file: "packages/core/src/compiler/Canvas2DGameCompiler.ts",
|
|
5208
5193
|
kind: "compiler",
|
|
5209
5194
|
maturity: "real",
|
|
5210
|
-
tests:
|
|
5195
|
+
tests: true,
|
|
5211
5196
|
promoted: false,
|
|
5212
|
-
note: 'I.017 "2D-game compiler COMPLETE". Trait\u2192self-contained offline HTML canvas game.
|
|
5197
|
+
note: 'I.017 "2D-game compiler COMPLETE". Trait\u2192self-contained offline HTML canvas game.'
|
|
5213
5198
|
},
|
|
5214
5199
|
{
|
|
5215
5200
|
id: "webgpu-compiler",
|