@holoscript/core 8.0.12 → 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-FLBZKFD3.js → HoloCompositionParser-GILABNN3.js} +5 -5
- package/dist/{HoloCompositionParser-3XEC7IJC.cjs → HoloCompositionParser-ZVRYVEA5.cjs} +12 -12
- package/dist/{HoloScriptPlusParser-RNUCHOAJ.cjs → HoloScriptPlusParser-WTPRPRPR.cjs} +8 -8
- package/dist/{HoloScriptPlusParser-55AY4MUF.js → HoloScriptPlusParser-ZP53ECSL.js} +5 -5
- 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-Z4IUBW46.js → chunk-47XZ62KM.js} +112 -55
- 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-3KMANSQJ.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-7NPZZZD7.js → chunk-C73GVAYC.js} +16 -9
- package/dist/{chunk-RMOEL2GD.cjs → chunk-CESMPUEZ.cjs} +3794 -1137
- package/dist/{chunk-SQXAZHDG.js → chunk-CHIZSMWD.js} +3 -3
- package/dist/{chunk-G35CAQ7I.cjs → chunk-D44CEFY4.cjs} +5 -5
- package/dist/chunk-ERYKKPHW.cjs +1884 -0
- package/dist/{chunk-TYNRXRHF.js → chunk-EYHPTJ3F.js} +3695 -1045
- 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-JBYBMBMW.js → chunk-FWKEY4LD.js} +3 -2
- 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-OMNHTCS4.cjs → chunk-LHUDAJQT.cjs} +3 -2
- 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-656IAS7B.cjs → chunk-N7IYRAFG.cjs} +21 -14
- package/dist/chunk-N7MIIDLI.cjs +1605 -0
- package/dist/{chunk-USOUXQYD.js → chunk-NWKARJM2.js} +130 -22
- package/dist/{chunk-VVAAZITA.cjs → chunk-OOP4S3GU.cjs} +5 -5
- package/dist/{chunk-TX6ZBIF4.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-7N63JHUN.cjs → chunk-PZ46WRHX.cjs} +8 -8
- package/dist/{chunk-AATYYLYK.js → chunk-Q4J2K7FI.js} +16 -5
- package/dist/chunk-QLPRI3QW.js +1875 -0
- 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-5H5GFBMG.cjs → chunk-TMNAKNV2.cjs} +112 -55
- 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-VO52AJD5.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-EI5G5JLY.cjs → chunk-YBM34FUJ.cjs} +134 -22
- 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 +11 -11
- package/dist/cli/holoscript-runner.js +4 -4
- 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/constants.cjs +3 -3
- package/dist/constants.js +1 -1
- package/dist/entries/scripting.cjs +6 -6
- package/dist/entries/scripting.js +2 -2
- package/dist/evolution/index.cjs +21 -17
- package/dist/evolution/index.d.ts +9 -0
- package/dist/evolution/index.js +6 -6
- package/dist/index.cjs +930 -703
- package/dist/index.d.ts +70 -5
- package/dist/index.js +192 -109
- package/dist/parser.cjs +19 -19
- package/dist/parser.js +5 -5
- 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 +25 -41
- package/dist/chunk-G3BM3CT4.cjs +0 -639
- package/dist/chunk-KEYG7HGY.js +0 -1062
- package/dist/chunk-QX34ELJ7.js +0 -625
- package/dist/chunk-W2GA3EQB.cjs +0 -1065
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkP65OIMJT_cjs = require('./chunk-P65OIMJT.cjs');
|
|
4
|
+
var chunkSE2Y5BSL_cjs = require('./chunk-SE2Y5BSL.cjs');
|
|
5
5
|
var ans = require('@holoscript/core-types/ans');
|
|
6
6
|
|
|
7
7
|
// src/compiler/USDPhysicsCompiler.ts
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var USDPhysicsCompiler = class extends
|
|
8
|
+
chunkSE2Y5BSL_cjs.init_CompilerBase();
|
|
9
|
+
chunkP65OIMJT_cjs.init_DomainBlockCompilerMixin();
|
|
10
|
+
var USDPhysicsCompiler = class extends chunkSE2Y5BSL_cjs.CompilerBase {
|
|
11
11
|
constructor(options = {}) {
|
|
12
12
|
super();
|
|
13
13
|
this.compilerName = "USDPhysicsCompiler";
|
|
@@ -264,34 +264,34 @@ var USDPhysicsCompiler = class extends chunkZK7KX5CD_cjs.CompilerBase {
|
|
|
264
264
|
if (domainBlocks.length > 0) {
|
|
265
265
|
this.emitBlank();
|
|
266
266
|
this.emit(`# === v4.2 Domain Blocks ===`);
|
|
267
|
-
const compiled =
|
|
267
|
+
const compiled = chunkP65OIMJT_cjs.compileDomainBlocks(
|
|
268
268
|
domainBlocks,
|
|
269
269
|
{
|
|
270
270
|
material: (block) => {
|
|
271
|
-
const mat =
|
|
272
|
-
return
|
|
271
|
+
const mat = chunkP65OIMJT_cjs.compileMaterialBlock(block);
|
|
272
|
+
return chunkP65OIMJT_cjs.materialToUSD(mat);
|
|
273
273
|
},
|
|
274
274
|
physics: (block) => {
|
|
275
|
-
const phys =
|
|
276
|
-
const urdf =
|
|
275
|
+
const phys = chunkP65OIMJT_cjs.compilePhysicsBlock(block);
|
|
276
|
+
const urdf = chunkP65OIMJT_cjs.physicsToURDF(phys);
|
|
277
277
|
return `# Physics: ${phys.keyword} "${phys.name || ""}"
|
|
278
278
|
` + urdf.split("\n").map((l) => `# URDF: ${l}`).join("\n");
|
|
279
279
|
},
|
|
280
280
|
vfx: (block) => {
|
|
281
|
-
const ps =
|
|
282
|
-
return
|
|
281
|
+
const ps = chunkP65OIMJT_cjs.compileParticleBlock(block);
|
|
282
|
+
return chunkP65OIMJT_cjs.particlesToUSD(ps);
|
|
283
283
|
},
|
|
284
284
|
postfx: (block) => {
|
|
285
|
-
const pp =
|
|
286
|
-
return
|
|
285
|
+
const pp = chunkP65OIMJT_cjs.compilePostProcessingBlock(block);
|
|
286
|
+
return chunkP65OIMJT_cjs.postProcessingToUSD(pp);
|
|
287
287
|
},
|
|
288
288
|
audio: (block) => {
|
|
289
|
-
const audio =
|
|
290
|
-
return
|
|
289
|
+
const audio = chunkP65OIMJT_cjs.compileAudioSourceBlock(block);
|
|
290
|
+
return chunkP65OIMJT_cjs.audioSourceToUSD(audio);
|
|
291
291
|
},
|
|
292
292
|
weather: (block) => {
|
|
293
|
-
const weather =
|
|
294
|
-
return
|
|
293
|
+
const weather = chunkP65OIMJT_cjs.compileWeatherBlock(block);
|
|
294
|
+
return chunkP65OIMJT_cjs.weatherToUSD(weather);
|
|
295
295
|
}
|
|
296
296
|
},
|
|
297
297
|
(block) => `# Domain block: ${block.domain}/${block.keyword} "${this.escapeStringValue(block.name, "TypeScript")}"`
|
|
@@ -890,5 +890,5 @@ function compileForIsaacSim(composition, options) {
|
|
|
890
890
|
exports.USDPhysicsCompiler = USDPhysicsCompiler;
|
|
891
891
|
exports.compileForIsaacSim = compileForIsaacSim;
|
|
892
892
|
exports.compileToUSDPhysics = compileToUSDPhysics;
|
|
893
|
-
//# sourceMappingURL=chunk-
|
|
894
|
-
//# sourceMappingURL=chunk-
|
|
893
|
+
//# sourceMappingURL=chunk-5B2AJKA5.cjs.map
|
|
894
|
+
//# sourceMappingURL=chunk-5B2AJKA5.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock } from './chunk-
|
|
2
|
-
import { createTestCompilerToken, init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock } from './chunk-TZQKJOPC.js';
|
|
2
|
+
import { createTestCompilerToken, 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
|
|
|
@@ -1180,5 +1180,5 @@ var init_WASMCompiler = __esm({
|
|
|
1180
1180
|
});
|
|
1181
1181
|
|
|
1182
1182
|
export { WASMCompiler, WASMCompiler_default, WASMCompiler_exports, compileASTToWASM, compileToWASM, createWASMCompiler, init_WASMCompiler };
|
|
1183
|
-
//# sourceMappingURL=chunk-
|
|
1184
|
-
//# sourceMappingURL=chunk-
|
|
1183
|
+
//# sourceMappingURL=chunk-5T6BWIB7.js.map
|
|
1184
|
+
//# sourceMappingURL=chunk-5T6BWIB7.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_AgentRBAC, init_CompilerBase, getRBAC, UnauthorizedCompilerAccessError } from './chunk-
|
|
1
|
+
import { init_AgentRBAC, init_CompilerBase, getRBAC, UnauthorizedCompilerAccessError } from './chunk-YDSNDCV3.js';
|
|
2
2
|
import { __export, __esm } from './chunk-W4GABFCR.js';
|
|
3
3
|
|
|
4
4
|
// src/compiler/StateCompiler.ts
|
|
@@ -109,5 +109,5 @@ var init_StateCompiler = __esm({
|
|
|
109
109
|
});
|
|
110
110
|
|
|
111
111
|
export { StateCompiler, StateCompiler_exports, UnauthorizedStateCompilerAccessError, init_StateCompiler };
|
|
112
|
-
//# sourceMappingURL=chunk-
|
|
113
|
-
//# sourceMappingURL=chunk-
|
|
112
|
+
//# sourceMappingURL=chunk-62OYZT6Q.js.map
|
|
113
|
+
//# sourceMappingURL=chunk-62OYZT6Q.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkN7IYRAFG_cjs = require('./chunk-N7IYRAFG.cjs');
|
|
4
4
|
|
|
5
5
|
// src/parser/HsplusGrammar.ts
|
|
6
6
|
function normalizeHsplusGrammarErrors(errors) {
|
|
@@ -43,7 +43,7 @@ var TypeScriptHsplusGrammar = class {
|
|
|
43
43
|
return "typescript-hsplus";
|
|
44
44
|
}
|
|
45
45
|
parseWithTypeScript(source) {
|
|
46
|
-
const parser = new
|
|
46
|
+
const parser = new chunkN7IYRAFG_cjs.HoloScriptPlusParser(this.options);
|
|
47
47
|
return parser.parse(source);
|
|
48
48
|
}
|
|
49
49
|
};
|
|
@@ -128,5 +128,5 @@ var GrammarModuleRegistry = new GrammarModuleRegistryImpl();
|
|
|
128
128
|
exports.GrammarModuleRegistry = GrammarModuleRegistry;
|
|
129
129
|
exports.TypeScriptHsplusGrammar = TypeScriptHsplusGrammar;
|
|
130
130
|
exports.normalizeHsplusGrammarErrors = normalizeHsplusGrammarErrors;
|
|
131
|
-
//# sourceMappingURL=chunk-
|
|
132
|
-
//# sourceMappingURL=chunk-
|
|
131
|
+
//# sourceMappingURL=chunk-645EWDZW.cjs.map
|
|
132
|
+
//# sourceMappingURL=chunk-645EWDZW.cjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, inputToVRChat, compileInputBlock, navigationToVRChat, compileNavigationBlock, renderingToVRChat, compileRenderingBlock, proceduralToVRChat, compileProceduralBlock, web3ToVRChat, compileWeb3Block, architectureToVRChat, compileArchitectureBlock, musicToVRChat, compileMusicBlock, educationToVRChat, compileEducationBlock, datavizToVRChat, compileDataVizBlock, iotToVRChat, compileIoTBlock, compileRoboticsBlock, roboticsToVRChat, compileHealthcareBlock, healthcareToVRChat, compilePaymentBlock, paymentToVRChat, compileNarrativeBlock, narrativeToVRChat, compileWeatherBlock, weatherToUnity, compileAudioSourceBlock, audioSourceToUnity, compilePostProcessingBlock, postProcessingToUnity, compileParticleBlock, particlesToUnity, compilePhysicsBlock, physicsToUnity, compileMaterialBlock, materialToVRChat } from './chunk-
|
|
2
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, inputToVRChat, compileInputBlock, navigationToVRChat, compileNavigationBlock, renderingToVRChat, compileRenderingBlock, proceduralToVRChat, compileProceduralBlock, web3ToVRChat, compileWeb3Block, architectureToVRChat, compileArchitectureBlock, musicToVRChat, compileMusicBlock, educationToVRChat, compileEducationBlock, datavizToVRChat, compileDataVizBlock, iotToVRChat, compileIoTBlock, compileRoboticsBlock, roboticsToVRChat, compileHealthcareBlock, healthcareToVRChat, compilePaymentBlock, paymentToVRChat, compileNarrativeBlock, narrativeToVRChat, compileWeatherBlock, weatherToUnity, compileAudioSourceBlock, audioSourceToUnity, compilePostProcessingBlock, postProcessingToUnity, compileParticleBlock, particlesToUnity, compilePhysicsBlock, physicsToUnity, compileMaterialBlock, materialToVRChat } from './chunk-TZQKJOPC.js';
|
|
2
|
+
import { init_CompilerBase, CompilerBase } from './chunk-YDSNDCV3.js';
|
|
3
3
|
import { __esm, __export } from './chunk-W4GABFCR.js';
|
|
4
4
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
5
5
|
|
|
@@ -731,5 +731,5 @@ var init_VRChatCompiler = __esm({
|
|
|
731
731
|
});
|
|
732
732
|
|
|
733
733
|
export { VRChatCompiler, VRChatCompiler_exports, compileToVRChat, init_VRChatCompiler };
|
|
734
|
-
//# sourceMappingURL=chunk-
|
|
735
|
-
//# sourceMappingURL=chunk-
|
|
734
|
+
//# sourceMappingURL=chunk-6FCNMTL5.js.map
|
|
735
|
+
//# sourceMappingURL=chunk-6FCNMTL5.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_CompilerBase, CompilerBase, escapeStringValue } from './chunk-
|
|
1
|
+
import { init_CompilerBase, CompilerBase, escapeStringValue } from './chunk-YDSNDCV3.js';
|
|
2
2
|
import { init_roomplan, init_lidar_scanner, init_face_tracking, init_ios_object_capture, init_shareplay, init_uwb_positioning, init_airpods_spatial_audio, ROOMPLAN_TRAITS, LIDAR_SCANNER_TRAITS, IOS_OBJECT_CAPTURE_TRAITS, FACE_TRACKING_TRAITS, SHAREPLAY_TRAITS, UWB_POSITIONING_TRAITS, AIRPODS_SPATIAL_AUDIO_TRAITS } from './chunk-2I3XAGMF.js';
|
|
3
3
|
import { init_npu_scene, init_portal_ar, init_camera_hand_tracking, NPU_SCENE_TRAITS, NPU_SCENE_DEFAULTS, PORTAL_AR_TRAITS, CAMERA_HAND_TRACKING_TRAITS } from './chunk-MD4IVS42.js';
|
|
4
4
|
import { __esm, __export } from './chunk-W4GABFCR.js';
|
|
@@ -5419,5 +5419,5 @@ var init_IOSCompiler = __esm({
|
|
|
5419
5419
|
});
|
|
5420
5420
|
|
|
5421
5421
|
export { IOSCompiler, IOSCompiler_exports, compileToIOS, init_IOSCompiler };
|
|
5422
|
-
//# sourceMappingURL=chunk-
|
|
5423
|
-
//# sourceMappingURL=chunk-
|
|
5422
|
+
//# sourceMappingURL=chunk-73EDVY5D.js.map
|
|
5423
|
+
//# sourceMappingURL=chunk-73EDVY5D.js.map
|
|
@@ -120,6 +120,31 @@ exports.TRAIT_DOCS = void 0;
|
|
|
120
120
|
var init_traitDocs = chunkZHPMP447_cjs.__esm({
|
|
121
121
|
"src/traitDocs/traitDocs.ts"() {
|
|
122
122
|
exports.TRAIT_DOCS = {
|
|
123
|
+
// ============================================================================
|
|
124
|
+
// Governance Traits
|
|
125
|
+
// ============================================================================
|
|
126
|
+
freeze_when: {
|
|
127
|
+
name: "FreezeWhenTrait",
|
|
128
|
+
annotation: "@freeze_when",
|
|
129
|
+
description: 'Declares a self-controlling Freeze RULE: gate `scope` WHEN `signal` trips, and auto-lift the moment it clears. The freeze is DERIVED from a live signal, never a stored "FROZEN" flag, so it cannot go stale. Native/fix/infra work is always exempt. Projected to a freeze-registry.json rule that a controller evaluates on a cadence.',
|
|
130
|
+
category: "utility",
|
|
131
|
+
properties: [
|
|
132
|
+
{ name: "id", type: "string", description: "Stable rule id \u2014 the registry key.", required: true },
|
|
133
|
+
{ name: "scope", type: "string", description: 'The change-class this freeze gates (e.g. "new-feature-work").', required: true },
|
|
134
|
+
{ name: "signal", type: "string", description: 'Live trigger: "required-gate:red" (a gate command fails) or "surface-absent:<path>" (a consume surface is missing).', required: true },
|
|
135
|
+
{ name: "unfreeze", type: "string", description: "Human-readable lift condition; the derived state auto-lifts when the signal clears.", required: true },
|
|
136
|
+
{ name: "exempt", type: "string[]", description: "Labels always allowed even under this freeze \u2014 the native-first guarantee.", default: '["fix", "native-format", "infra-repair"]' },
|
|
137
|
+
{ name: "severity", type: '"advisory" | "blocking"', description: "advisory surfaces the freeze; blocking gates the scope.", default: '"advisory"' },
|
|
138
|
+
{ name: "reason", type: "string", description: "Why the freeze exists (shown only while active).", default: '""' },
|
|
139
|
+
{ name: "repair", type: "string", description: "Optional self-heal repair routed while the freeze is active.", default: '""' }
|
|
140
|
+
],
|
|
141
|
+
methods: [],
|
|
142
|
+
events: [
|
|
143
|
+
{ name: "freeze_declared", description: "Emitted onAttach with the derived rule.", payload: "{ rule, derived: true, nativeExempt: true }" }
|
|
144
|
+
],
|
|
145
|
+
example: '@freeze_when(id: "features-on-red-gate", scope: "new-feature-work", signal: "required-gate:red", unfreeze: "gate passes")',
|
|
146
|
+
since: "6.0"
|
|
147
|
+
},
|
|
123
148
|
// ============================================================================
|
|
124
149
|
// Physics Traits
|
|
125
150
|
// ============================================================================
|
|
@@ -2316,5 +2341,5 @@ exports.getAllTraitNames = getAllTraitNames;
|
|
|
2316
2341
|
exports.getTraitDoc = getTraitDoc;
|
|
2317
2342
|
exports.getTraitsByCategory = getTraitsByCategory;
|
|
2318
2343
|
exports.init_traitDocs = init_traitDocs;
|
|
2319
|
-
//# sourceMappingURL=chunk-
|
|
2320
|
-
//# sourceMappingURL=chunk-
|
|
2344
|
+
//# sourceMappingURL=chunk-7FYSSI3C.cjs.map
|
|
2345
|
+
//# sourceMappingURL=chunk-7FYSSI3C.cjs.map
|
|
@@ -437,7 +437,7 @@ function uint8ArrayToBase64(data) {
|
|
|
437
437
|
return btoa(binary);
|
|
438
438
|
}
|
|
439
439
|
async function importGLTFPipeline() {
|
|
440
|
-
return import('./GLTFPipeline-
|
|
440
|
+
return import('./GLTFPipeline-VTI6PRRQ.cjs');
|
|
441
441
|
}
|
|
442
442
|
function registerGLTFTools(server) {
|
|
443
443
|
for (const tool of GLTF_PIPELINE_TOOLS) {
|
|
@@ -453,5 +453,5 @@ exports.handleGLTFToolCall = handleGLTFToolCall;
|
|
|
453
453
|
exports.inspectComposition = inspectComposition;
|
|
454
454
|
exports.registerGLTFTools = registerGLTFTools;
|
|
455
455
|
exports.validateForGLTF = validateForGLTF;
|
|
456
|
-
//# sourceMappingURL=chunk-
|
|
457
|
-
//# sourceMappingURL=chunk-
|
|
456
|
+
//# sourceMappingURL=chunk-7ITJP33Q.cjs.map
|
|
457
|
+
//# sourceMappingURL=chunk-7ITJP33Q.cjs.map
|