@holoscript/core 8.0.13 → 8.0.14
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 +14 -0
- package/bin/holo-decision.mjs +133 -0
- package/dist/{GLTFPipeline-L76YTXKA.js → GLTFPipeline-6LS3UDYX.js} +6 -6
- package/dist/{GLTFPipeline-ZWJN7GI6.cjs → GLTFPipeline-VTI6PRRQ.cjs} +10 -10
- package/dist/{HoloCompositionParser-P4Y3CXKQ.js → HoloCompositionParser-GILABNN3.js} +4 -4
- package/dist/{HoloCompositionParser-6GW2BZID.cjs → HoloCompositionParser-ZVRYVEA5.cjs} +11 -11
- package/dist/{HoloScriptPlusParser-RFNHRMPE.cjs → HoloScriptPlusParser-WTPRPRPR.cjs} +7 -7
- package/dist/{HoloScriptPlusParser-HQV6IJAH.js → HoloScriptPlusParser-ZP53ECSL.js} +4 -4
- package/dist/{SceneIRCompiler-KWUFHZ4O.cjs → SceneIRCompiler-7KQ5NKAU.cjs} +11 -11
- package/dist/{SceneIRCompiler-63KA3M2F.js → SceneIRCompiler-VX75RB6H.js} +6 -6
- package/dist/{chunk-EM2OGPYE.js → chunk-2GKF7JQ6.js} +3 -3
- package/dist/{chunk-HVX7QQYK.js → chunk-3KHRZTNW.js} +3 -3
- package/dist/{chunk-UTUD6GJI.js → chunk-42Z3SVHQ.js} +3 -3
- package/dist/{chunk-A4OOLBZD.js → chunk-47XZ62KM.js} +5 -5
- package/dist/{chunk-GGR7QUKK.cjs → chunk-4CRMVEON.cjs} +37 -37
- package/dist/{chunk-QBY7LRN2.js → chunk-4NEPHK2K.js} +3 -3
- package/dist/{chunk-65S62L4D.cjs → chunk-5B2AJKA5.cjs} +20 -20
- package/dist/{chunk-PJFTTSKE.js → chunk-5T6BWIB7.js} +4 -4
- package/dist/{chunk-KFVNCW4Q.js → chunk-62OYZT6Q.js} +3 -3
- package/dist/{chunk-Y57AVOM2.cjs → chunk-645EWDZW.cjs} +4 -4
- package/dist/{chunk-BP4KTMLY.js → chunk-6FCNMTL5.js} +4 -4
- package/dist/{chunk-77QI552M.js → chunk-73EDVY5D.js} +3 -3
- package/dist/{chunk-7IDJDMPU.cjs → chunk-7FYSSI3C.cjs} +27 -2
- package/dist/{chunk-WNYXT4TE.cjs → chunk-7ITJP33Q.cjs} +3 -3
- package/dist/chunk-7ZKQ32XK.js +1571 -0
- package/dist/{chunk-P7JEKJTZ.cjs → chunk-B6JHTTMR.cjs} +25 -14
- package/dist/{chunk-FG6PYGIZ.js → chunk-BLCWQ225.js} +4 -4
- package/dist/{chunk-FRSKLX6I.js → chunk-C73GVAYC.js} +10 -7
- package/dist/{chunk-PXVAPGTR.cjs → chunk-CESMPUEZ.cjs} +3774 -1138
- package/dist/{chunk-SQXAZHDG.js → chunk-CHIZSMWD.js} +3 -3
- package/dist/{chunk-G35CAQ7I.cjs → chunk-D44CEFY4.cjs} +5 -5
- package/dist/{chunk-TC7JEO6R.cjs → chunk-ERYKKPHW.cjs} +711 -52
- package/dist/{chunk-DJ5BNRIS.js → chunk-EYHPTJ3F.js} +3675 -1046
- package/dist/{chunk-J3UHV5T4.cjs → chunk-FGXJPJ3W.cjs} +4 -4
- package/dist/{chunk-IJU6AS67.cjs → chunk-FHR2AVMA.cjs} +23 -23
- package/dist/{chunk-LMB555QB.cjs → chunk-FOM36K5I.cjs} +18 -18
- package/dist/{chunk-ZRPALBQB.cjs → chunk-GGH3ZYDB.cjs} +5 -5
- package/dist/{chunk-2BYAUHBO.js → chunk-GI5YYZH6.js} +3 -3
- package/dist/{chunk-VTEXJOSD.cjs → chunk-GYJLP4BO.cjs} +30 -30
- package/dist/{chunk-OC6GV5QH.cjs → chunk-HCONR4J6.cjs} +38 -38
- package/dist/{chunk-B3CWTCK2.js → chunk-IA7FCSRY.js} +27 -2
- package/dist/{chunk-5FYMCVBY.js → chunk-IXFNA5TT.js} +4 -4
- package/dist/{chunk-G6KACNMO.js → chunk-JCVSCKUH.js} +4 -4
- package/dist/{chunk-FHVPN7BN.js → chunk-JQCXLKAU.js} +3 -3
- package/dist/{chunk-F3YT6GUF.cjs → chunk-KLM6QD6D.cjs} +14 -14
- package/dist/{chunk-UGQ3QNV6.js → chunk-KOGPVAP6.js} +24 -8
- package/dist/{chunk-CKV5NYAE.js → chunk-KYJD2UMV.js} +4 -4
- package/dist/{chunk-LB3ZZMKT.cjs → chunk-L4DBUX3N.cjs} +10 -10
- package/dist/{chunk-RXQNRZ5F.js → chunk-LGRKBTPM.js} +3 -3
- package/dist/{chunk-PDXX5UI4.cjs → chunk-LQNL3IYV.cjs} +38 -38
- package/dist/{chunk-WWNCM473.js → chunk-M7XR3F53.js} +4 -4
- package/dist/{chunk-IFW5IW4L.cjs → chunk-ML4V5PVU.cjs} +670 -627
- package/dist/{chunk-Q4K2GEMW.cjs → chunk-N7IYRAFG.cjs} +13 -10
- package/dist/chunk-N7MIIDLI.cjs +1605 -0
- package/dist/{chunk-G6EKZHXY.js → chunk-NWKARJM2.js} +4 -4
- package/dist/{chunk-VVAAZITA.cjs → chunk-OOP4S3GU.cjs} +5 -5
- package/dist/{chunk-U3D4SYQ5.js → chunk-ORBVCOTC.js} +3 -3
- package/dist/{chunk-RRQIAJLQ.cjs → chunk-OSKGCXAQ.cjs} +5 -5
- package/dist/{chunk-QEDMOGF3.cjs → chunk-P65OIMJT.cjs} +7 -7
- package/dist/{chunk-QM7FJB5W.js → chunk-PSWCJQS4.js} +4 -4
- package/dist/{chunk-RZ2EPXO3.cjs → chunk-PZ46WRHX.cjs} +8 -8
- package/dist/{chunk-AATYYLYK.js → chunk-Q4J2K7FI.js} +16 -5
- package/dist/{chunk-ONPVM4IV.js → chunk-QLPRI3QW.js} +698 -45
- package/dist/{chunk-WTH23ISI.js → chunk-R5VKLUMR.js} +4 -4
- package/dist/{chunk-NQN5LFN4.cjs → chunk-REN3LHO6.cjs} +19 -19
- package/dist/{chunk-JEJ7TT54.js → chunk-RVN7OPCP.js} +4 -4
- package/dist/{chunk-ZK7KX5CD.cjs → chunk-SE2Y5BSL.cjs} +6 -6
- package/dist/{chunk-2X3IPCBK.cjs → chunk-SKVBUGMC.cjs} +7 -7
- package/dist/{chunk-GZPUA2TL.cjs → chunk-SNMQUWIO.cjs} +10 -10
- package/dist/{chunk-OIBRWLPY.cjs → chunk-TKDDIE3T.cjs} +54 -3
- package/dist/{chunk-SQAAWO4V.cjs → chunk-TMNAKNV2.cjs} +5 -5
- package/dist/{chunk-5LVFTGKH.js → chunk-TZQKJOPC.js} +3 -3
- package/dist/{chunk-TSTFYGGX.js → chunk-UKEK2NZJ.js} +3 -3
- package/dist/{chunk-3IUHTGDD.cjs → chunk-VA7THINF.cjs} +38 -38
- package/dist/{chunk-Z557DVYN.js → chunk-VMCR5QVI.js} +4 -4
- package/dist/{chunk-IS7NTKY5.cjs → chunk-VTFLKSJL.cjs} +14 -14
- package/dist/{chunk-RVNXBF2M.js → chunk-VXHB6ZHY.js} +4 -4
- package/dist/{chunk-S4O7CFHQ.cjs → chunk-VZI7S7P6.cjs} +7 -7
- package/dist/{chunk-BQJ3YBF3.js → chunk-W4AJMMQR.js} +667 -628
- package/dist/{chunk-2KKOYZYI.cjs → chunk-XZC75AJ4.cjs} +5 -5
- package/dist/{chunk-FWCHPCD4.js → chunk-Y2OCKXVD.js} +4 -4
- package/dist/{chunk-XF63CZ7E.cjs → chunk-YBM34FUJ.cjs} +6 -6
- package/dist/{chunk-DUG3OQAS.js → chunk-YDSNDCV3.js} +3 -3
- package/dist/{chunk-566ZB4LZ.cjs → chunk-YM7UUYR5.cjs} +5 -5
- package/dist/{chunk-BCP4E7MD.cjs → chunk-YMI3ED3B.cjs} +26 -10
- package/dist/{chunk-CP7V3ATL.js → chunk-Z7NUL73U.js} +51 -4
- package/dist/cli/holoscript-runner.cjs +10 -10
- package/dist/cli/holoscript-runner.js +3 -3
- package/dist/compiler/agent-inference.cjs +8 -8
- package/dist/compiler/agent-inference.js +4 -4
- package/dist/compiler/android-xr.cjs +7 -7
- package/dist/compiler/android-xr.js +5 -5
- package/dist/compiler/android.cjs +6 -6
- package/dist/compiler/android.js +4 -4
- package/dist/compiler/context.cjs +6 -6
- package/dist/compiler/context.js +3 -3
- package/dist/compiler/daimon-seed.cjs +9 -9
- package/dist/compiler/daimon-seed.js +4 -4
- package/dist/compiler/domain-block-utils.cjs +165 -165
- 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 +871 -207
- package/dist/compiler/index.d.ts +21 -1
- package/dist/compiler/index.js +696 -60
- 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/openxr.cjs +6 -6
- package/dist/compiler/openxr.js +5 -5
- 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 +7 -7
- package/dist/compiler/trait-composition.js +3 -3
- package/dist/compiler/unity.cjs +6 -6
- package/dist/compiler/unity.js +5 -5
- package/dist/compiler/unreal.cjs +7 -7
- package/dist/compiler/unreal.js +5 -5
- 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 +6 -6
- package/dist/compiler/visionos.js +5 -5
- package/dist/compiler/vrchat.cjs +7 -7
- package/dist/compiler/vrchat.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/entries/scripting.cjs +5 -5
- package/dist/entries/scripting.js +1 -1
- package/dist/evolution/index.cjs +17 -17
- package/dist/evolution/index.js +5 -5
- package/dist/index.cjs +915 -704
- package/dist/index.d.ts +70 -5
- package/dist/index.js +191 -108
- package/dist/parser.cjs +18 -18
- package/dist/parser.js +4 -4
- package/dist/reconstruction/index.cjs +127 -38
- package/dist/reconstruction/index.d.ts +159 -0
- package/dist/reconstruction/index.js +11 -2
- package/dist/runtime.d.ts +1 -0
- package/dist/traitDocs/traitDocs.cjs +8 -8
- package/dist/traitDocs/traitDocs.js +2 -2
- package/dist/traits/index.cjs +566 -471
- package/dist/traits/index.js +93 -11
- package/package.json +20 -16
- package/dist/chunk-DVHZD5HV.cjs +0 -639
- package/dist/chunk-G72754QB.js +0 -625
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { parseHolo } from './chunk-
|
|
2
|
-
import { parse } from './chunk-
|
|
1
|
+
import { parseHolo } from './chunk-JQCXLKAU.js';
|
|
2
|
+
import { parse } from './chunk-C73GVAYC.js';
|
|
3
3
|
|
|
4
4
|
// src/evolution/EvolveProgramBackend.ts
|
|
5
5
|
async function sha256Hex(s) {
|
|
@@ -594,5 +594,5 @@ function makeWasmCompilerFitnessGate(compileCandidate, opts = {}) {
|
|
|
594
594
|
}
|
|
595
595
|
|
|
596
596
|
export { CORPUS_PORTFOLIO, accrueOneStep, dedupRows, extractStateMachine, makeOllamaProposer, makeOpenAICompatibleProposer, makeSeedGate, makeWasmCompilerFitnessGate, parsesClean, runEvolution, scoreWasmCompilerArtifact, stateMachineSemanticCheck, stateMachineWellFormed, toGradedTraceRow, wasmFitnessBaselineFromScenario };
|
|
597
|
-
//# sourceMappingURL=chunk-
|
|
598
|
-
//# sourceMappingURL=chunk-
|
|
597
|
+
//# sourceMappingURL=chunk-NWKARJM2.js.map
|
|
598
|
+
//# sourceMappingURL=chunk-NWKARJM2.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk356N4NPM_cjs = require('./chunk-356N4NPM.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkSE2Y5BSL_cjs = require('./chunk-SE2Y5BSL.cjs');
|
|
5
5
|
var chunkZHPMP447_cjs = require('./chunk-ZHPMP447.cjs');
|
|
6
6
|
var crypto = require('crypto');
|
|
7
7
|
var ans = require('@holoscript/core-types/ans');
|
|
@@ -149,7 +149,7 @@ function createDaimonSeedCompiler(options) {
|
|
|
149
149
|
var SCHEMA_VERSION, DEFAULT_THRESHOLD_FACTS, DEFAULT_THRESHOLD_FN; exports.DaimonSeedCompiler = void 0; exports.DaimonSeedCompiler_default = void 0;
|
|
150
150
|
var init_DaimonSeedCompiler = chunkZHPMP447_cjs.__esm({
|
|
151
151
|
"src/compiler/DaimonSeedCompiler.ts"() {
|
|
152
|
-
|
|
152
|
+
chunkSE2Y5BSL_cjs.init_CompilerBase();
|
|
153
153
|
chunk356N4NPM_cjs.init_jsonLogic();
|
|
154
154
|
SCHEMA_VERSION = "holoscript.daimon-seed.v0.1.0";
|
|
155
155
|
DEFAULT_THRESHOLD_FACTS = {
|
|
@@ -164,7 +164,7 @@ var init_DaimonSeedCompiler = chunkZHPMP447_cjs.__esm({
|
|
|
164
164
|
{ ">=": [{ var: "measuredValueIndependence" }, 0.5] }
|
|
165
165
|
]
|
|
166
166
|
};
|
|
167
|
-
exports.DaimonSeedCompiler = class extends
|
|
167
|
+
exports.DaimonSeedCompiler = class extends chunkSE2Y5BSL_cjs.CompilerBase {
|
|
168
168
|
constructor(options = {}) {
|
|
169
169
|
super();
|
|
170
170
|
this.compilerName = "DaimonSeedCompiler";
|
|
@@ -283,5 +283,5 @@ exports.computeExportFidelity = computeExportFidelity;
|
|
|
283
283
|
exports.createDaimonSeedCompiler = createDaimonSeedCompiler;
|
|
284
284
|
exports.init_DaimonSeedCompiler = init_DaimonSeedCompiler;
|
|
285
285
|
exports.runHysteresisExp2 = runHysteresisExp2;
|
|
286
|
-
//# sourceMappingURL=chunk-
|
|
287
|
-
//# sourceMappingURL=chunk-
|
|
286
|
+
//# sourceMappingURL=chunk-OOP4S3GU.cjs.map
|
|
287
|
+
//# sourceMappingURL=chunk-OOP4S3GU.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HoloScriptPlusParser } from './chunk-
|
|
1
|
+
import { HoloScriptPlusParser } from './chunk-C73GVAYC.js';
|
|
2
2
|
|
|
3
3
|
// src/parser/HsplusGrammar.ts
|
|
4
4
|
function normalizeHsplusGrammarErrors(errors) {
|
|
@@ -124,5 +124,5 @@ var GrammarModuleRegistryImpl = class {
|
|
|
124
124
|
var GrammarModuleRegistry = new GrammarModuleRegistryImpl();
|
|
125
125
|
|
|
126
126
|
export { GrammarModuleRegistry, TypeScriptHsplusGrammar, normalizeHsplusGrammarErrors };
|
|
127
|
-
//# sourceMappingURL=chunk-
|
|
128
|
-
//# sourceMappingURL=chunk-
|
|
127
|
+
//# sourceMappingURL=chunk-ORBVCOTC.js.map
|
|
128
|
+
//# sourceMappingURL=chunk-ORBVCOTC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkSE2Y5BSL_cjs = require('./chunk-SE2Y5BSL.cjs');
|
|
4
4
|
var chunkZHPMP447_cjs = require('./chunk-ZHPMP447.cjs');
|
|
5
5
|
var ans = require('@holoscript/core-types/ans');
|
|
6
6
|
|
|
@@ -14,8 +14,8 @@ chunkZHPMP447_cjs.__export(DTDLCompiler_exports, {
|
|
|
14
14
|
exports.DTDLCompiler = void 0; exports.DTDL_TRAIT_COMPONENTS = void 0; exports.DTDLCompiler_default = void 0;
|
|
15
15
|
var init_DTDLCompiler = chunkZHPMP447_cjs.__esm({
|
|
16
16
|
"src/compiler/DTDLCompiler.ts"() {
|
|
17
|
-
|
|
18
|
-
exports.DTDLCompiler = class extends
|
|
17
|
+
chunkSE2Y5BSL_cjs.init_CompilerBase();
|
|
18
|
+
exports.DTDLCompiler = class extends chunkSE2Y5BSL_cjs.CompilerBase {
|
|
19
19
|
constructor(options = {}) {
|
|
20
20
|
super();
|
|
21
21
|
this.compilerName = "DTDLCompiler";
|
|
@@ -420,5 +420,5 @@ var init_DTDLCompiler = chunkZHPMP447_cjs.__esm({
|
|
|
420
420
|
|
|
421
421
|
exports.DTDLCompiler_exports = DTDLCompiler_exports;
|
|
422
422
|
exports.init_DTDLCompiler = init_DTDLCompiler;
|
|
423
|
-
//# sourceMappingURL=chunk-
|
|
424
|
-
//# sourceMappingURL=chunk-
|
|
423
|
+
//# sourceMappingURL=chunk-OSKGCXAQ.cjs.map
|
|
424
|
+
//# sourceMappingURL=chunk-OSKGCXAQ.cjs.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkVHORVGCG_cjs = require('./chunk-VHORVGCG.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkSE2Y5BSL_cjs = require('./chunk-SE2Y5BSL.cjs');
|
|
5
5
|
var chunkZHPMP447_cjs = require('./chunk-ZHPMP447.cjs');
|
|
6
6
|
|
|
7
7
|
// src/compiler/DomainBlockCompilerMixin.ts
|
|
8
8
|
function esc(value, target) {
|
|
9
|
-
return
|
|
9
|
+
return chunkSE2Y5BSL_cjs.escapeStringValue(value, target);
|
|
10
10
|
}
|
|
11
11
|
function isPhysicalMaterial(mat) {
|
|
12
12
|
return PHYSICAL_MATERIAL_KEYS.some((k) => mat[k] !== void 0);
|
|
@@ -4647,13 +4647,13 @@ function hexToRGBA(hex, alpha) {
|
|
|
4647
4647
|
];
|
|
4648
4648
|
}
|
|
4649
4649
|
function getRequiredCapability() {
|
|
4650
|
-
return
|
|
4650
|
+
return chunkSE2Y5BSL_cjs.ANSCapabilityPath.DOMAIN_BLOCK;
|
|
4651
4651
|
}
|
|
4652
4652
|
var PHYSICAL_MATERIAL_KEYS, mgToVec3, mgToF32; exports.DOMAIN_BLOCK_COMPILER_MIXIN_CAPABILITY = void 0;
|
|
4653
4653
|
var init_DomainBlockCompilerMixin = chunkZHPMP447_cjs.__esm({
|
|
4654
4654
|
"src/compiler/DomainBlockCompilerMixin.ts"() {
|
|
4655
|
-
|
|
4656
|
-
|
|
4655
|
+
chunkSE2Y5BSL_cjs.init_CompilerBase();
|
|
4656
|
+
chunkSE2Y5BSL_cjs.init_ANSNamespace();
|
|
4657
4657
|
chunkVHORVGCG_cjs.init_PerceptualColorPass();
|
|
4658
4658
|
PHYSICAL_MATERIAL_KEYS = [
|
|
4659
4659
|
"clearcoat",
|
|
@@ -4835,5 +4835,5 @@ exports.web3ToR3F = web3ToR3F;
|
|
|
4835
4835
|
exports.web3ToUSDA = web3ToUSDA;
|
|
4836
4836
|
exports.web3ToUnity = web3ToUnity;
|
|
4837
4837
|
exports.web3ToVRChat = web3ToVRChat;
|
|
4838
|
-
//# sourceMappingURL=chunk-
|
|
4839
|
-
//# sourceMappingURL=chunk-
|
|
4838
|
+
//# sourceMappingURL=chunk-P65OIMJT.cjs.map
|
|
4839
|
+
//# sourceMappingURL=chunk-P65OIMJT.cjs.map
|
|
@@ -4,9 +4,9 @@ import { TraitVisualRegistry, TraitCompositor } from './chunk-ZVQMKUGJ.js';
|
|
|
4
4
|
import { createBotanicalLotusRenderProfile, buildLotusPetalMaterialSpec, LOTUS_PETAL_UNIFORM_BINDINGS, buildLotusPetalGeometryData, lotusPetalGeometryParamsFromProfile, buildLotusFlowerPlacements, buildLotusSceneScaffold } from './chunk-VKCTYLDN.js';
|
|
5
5
|
import { ProvenanceSemiring } from './chunk-DQRJ5RJG.js';
|
|
6
6
|
import { init_PlatformConditionalCompilerMixin, createPlatformTarget, PlatformConditionalCompilerMixin } from './chunk-DJNH4HFW.js';
|
|
7
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileSimulationBlock, simulationToR3F, compileWeatherBlock, weatherToR3F, compileAudioSourceBlock, audioSourceToR3F, compilePostProcessingBlock, postProcessingToR3F, compileParticleBlock, particlesToR3F, compilePhysicsBlock, physicsToR3F, compileMaterialBlock, materialToR3F, compileProceduralBlock } from './chunk-
|
|
7
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileSimulationBlock, simulationToR3F, compileWeatherBlock, weatherToR3F, compileAudioSourceBlock, audioSourceToR3F, compilePostProcessingBlock, postProcessingToR3F, compileParticleBlock, particlesToR3F, compilePhysicsBlock, physicsToR3F, compileMaterialBlock, materialToR3F, compileProceduralBlock } from './chunk-TZQKJOPC.js';
|
|
8
8
|
import { init_PerceptualColorPass, applyPerceptualColorPass } from './chunk-UCVZXQ63.js';
|
|
9
|
-
import { init_AgentRBAC, init_CompilerBase, getRBAC, UnauthorizedCompilerAccessError, escapeStringValue } from './chunk-
|
|
9
|
+
import { init_AgentRBAC, init_CompilerBase, getRBAC, UnauthorizedCompilerAccessError, escapeStringValue } from './chunk-YDSNDCV3.js';
|
|
10
10
|
import { mulberry32 } from './chunk-GLEJ2TLS.js';
|
|
11
11
|
|
|
12
12
|
// src/compiler/SceneIRCompiler.ts
|
|
@@ -4713,5 +4713,5 @@ var SceneIRCompiler = class {
|
|
|
4713
4713
|
};
|
|
4714
4714
|
|
|
4715
4715
|
export { ENVIRONMENT_PRESETS, MATERIAL_PRESETS, QUALITY_TIER_SCALES, SceneIRCompiler, UI_COMPONENT_PRESETS, registerAllPresets };
|
|
4716
|
-
//# sourceMappingURL=chunk-
|
|
4717
|
-
//# sourceMappingURL=chunk-
|
|
4716
|
+
//# sourceMappingURL=chunk-PSWCJQS4.js.map
|
|
4717
|
+
//# sourceMappingURL=chunk-PSWCJQS4.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkR75BSDH7_cjs = require('./chunk-R75BSDH7.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkSE2Y5BSL_cjs = require('./chunk-SE2Y5BSL.cjs');
|
|
5
5
|
var chunkQ47JEE2C_cjs = require('./chunk-Q47JEE2C.cjs');
|
|
6
6
|
var crypto = require('crypto');
|
|
7
7
|
|
|
@@ -727,7 +727,7 @@ var ImportResolver = class {
|
|
|
727
727
|
throw new Error(`File not found: '${canonicalPath}' (imported from '${importedBy}')`);
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
|
-
const { HoloScriptPlusParser } = await import('./HoloScriptPlusParser-
|
|
730
|
+
const { HoloScriptPlusParser } = await import('./HoloScriptPlusParser-WTPRPRPR.cjs');
|
|
731
731
|
const parser = new HoloScriptPlusParser({ enableTypeScriptImports: true });
|
|
732
732
|
const result = parser.parse(source);
|
|
733
733
|
if (!result.success && result.errors.length > 0) {
|
|
@@ -1268,8 +1268,8 @@ function createSemanticCache(options) {
|
|
|
1268
1268
|
}
|
|
1269
1269
|
|
|
1270
1270
|
// src/compiler/IncrementalCompiler.ts
|
|
1271
|
-
|
|
1272
|
-
|
|
1271
|
+
chunkSE2Y5BSL_cjs.init_AgentRBAC();
|
|
1272
|
+
chunkSE2Y5BSL_cjs.init_CompilerBase();
|
|
1273
1273
|
chunkQ47JEE2C_cjs.init_safeJsonParse();
|
|
1274
1274
|
function hashContent(content) {
|
|
1275
1275
|
let hash = 0;
|
|
@@ -1772,7 +1772,7 @@ var IncrementalCompiler = class _IncrementalCompiler {
|
|
|
1772
1772
|
*/
|
|
1773
1773
|
validateAccess(agentToken) {
|
|
1774
1774
|
if (!agentToken) return;
|
|
1775
|
-
const rbac =
|
|
1775
|
+
const rbac = chunkSE2Y5BSL_cjs.getRBAC();
|
|
1776
1776
|
const decision = rbac.checkAccess({
|
|
1777
1777
|
token: agentToken,
|
|
1778
1778
|
resourceType: "ast" /* AST */,
|
|
@@ -1997,7 +1997,7 @@ function deserializeCache(json) {
|
|
|
1997
1997
|
}
|
|
1998
1998
|
return compiler;
|
|
1999
1999
|
}
|
|
2000
|
-
var UnauthorizedIncrementalCompilerAccessError = class extends
|
|
2000
|
+
var UnauthorizedIncrementalCompilerAccessError = class extends chunkSE2Y5BSL_cjs.UnauthorizedCompilerAccessError {
|
|
2001
2001
|
constructor(decision, compilerName) {
|
|
2002
2002
|
super(decision, "incremental compilation", compilerName);
|
|
2003
2003
|
this.name = "UnauthorizedIncrementalCompilerAccessError";
|
|
@@ -2011,5 +2011,5 @@ exports.createIncrementalCompiler = createIncrementalCompiler;
|
|
|
2011
2011
|
exports.deserializeCache = deserializeCache;
|
|
2012
2012
|
exports.globalTraitGraph = globalTraitGraph;
|
|
2013
2013
|
exports.serializeCache = serializeCache;
|
|
2014
|
-
//# sourceMappingURL=chunk-
|
|
2015
|
-
//# sourceMappingURL=chunk-
|
|
2014
|
+
//# sourceMappingURL=chunk-PZ46WRHX.cjs.map
|
|
2015
|
+
//# sourceMappingURL=chunk-PZ46WRHX.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePhysicsBlock, physicsToURDF, compileMaterialBlock } from './chunk-
|
|
2
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePhysicsBlock, physicsToURDF, compileMaterialBlock } from './chunk-TZQKJOPC.js';
|
|
2
|
+
import { init_CompilerBase, CompilerBase } from './chunk-YDSNDCV3.js';
|
|
3
3
|
import { __export, __esm } from './chunk-W4GABFCR.js';
|
|
4
4
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
5
5
|
|
|
@@ -775,17 +775,28 @@ var init_URDFCompiler = __esm({
|
|
|
775
775
|
inertia: { ixx: 1e-3, ixy: 0, ixz: 0, iyy: 1e-3, iyz: 0, izz: 1e-3 }
|
|
776
776
|
}
|
|
777
777
|
});
|
|
778
|
+
const groupPos = group.properties?.find((p) => p.key === "position")?.value;
|
|
779
|
+
const [gx, gy, gz] = Array.isArray(groupPos) ? groupPos : [0, 0, 0];
|
|
778
780
|
this.joints.push({
|
|
779
781
|
name: `${parentLink}_to_${groupLinkName}_joint`,
|
|
780
782
|
type: "fixed",
|
|
781
783
|
parent: parentLink,
|
|
782
|
-
child: groupLinkName
|
|
784
|
+
child: groupLinkName,
|
|
785
|
+
origin: {
|
|
786
|
+
xyz: [gx, gy, gz],
|
|
787
|
+
rpy: [0, 0, 0]
|
|
788
|
+
}
|
|
783
789
|
});
|
|
784
790
|
if (group.objects) {
|
|
785
791
|
for (const obj of group.objects) {
|
|
786
792
|
this.processObject(obj, groupLinkName, actuatedJoints);
|
|
787
793
|
}
|
|
788
794
|
}
|
|
795
|
+
if (group.groups) {
|
|
796
|
+
for (const sub of group.groups) {
|
|
797
|
+
this.processSpatialGroup(sub, groupLinkName, actuatedJoints);
|
|
798
|
+
}
|
|
799
|
+
}
|
|
789
800
|
}
|
|
790
801
|
/** Process @sensor trait into sensor definition */
|
|
791
802
|
processSensorTrait(config, parentLink) {
|
|
@@ -1407,5 +1418,5 @@ var init_URDFCompiler = __esm({
|
|
|
1407
1418
|
});
|
|
1408
1419
|
|
|
1409
1420
|
export { URDFCompiler, URDFCompiler_default, URDFCompiler_exports, compileForGazebo, compileForIsaacSim, compileForROS2, compileToURDF, createURDFCompiler, generateControllersYaml, generateROS2LaunchFile, init_URDFCompiler };
|
|
1410
|
-
//# sourceMappingURL=chunk-
|
|
1411
|
-
//# sourceMappingURL=chunk-
|
|
1421
|
+
//# sourceMappingURL=chunk-Q4J2K7FI.js.map
|
|
1422
|
+
//# sourceMappingURL=chunk-Q4J2K7FI.js.map
|