@holoscript/core 6.0.2 → 6.0.4
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 +38 -38
- package/dist/GLTFPipeline-DEN36VNK.js +12 -0
- package/dist/GLTFPipeline-YPCAK236.cjs +33 -0
- package/dist/{HoloScriptPlusParser-BZR5DELQ.js → HoloScriptPlusParser-BN6KVRCM.js} +5 -5
- package/dist/{HoloScriptPlusParser-SBMYDNXO.cjs → HoloScriptPlusParser-NC5FE6AL.cjs} +16 -16
- package/dist/{USDZExporter-YA55ZS35.js → USDZExporter-NTMBNTDB.js} +3 -3
- package/dist/{USDZExporter-MHEHXZB4.cjs → USDZExporter-UWGWNMMD.cjs} +3 -3
- package/dist/{chunk-32TWR3HE.js → chunk-2CWOLHTE.js} +3 -4
- package/dist/{chunk-2UX5LRAP.cjs → chunk-33LSUQDD.cjs} +33 -31
- package/dist/{chunk-LBPEZQAF.js → chunk-3FJCK5XA.js} +7 -7
- package/dist/{chunk-EGIZHYJP.cjs → chunk-3SAK5KFL.cjs} +2 -4
- package/dist/{chunk-PJMOXFPR.cjs → chunk-4XSNJCLC.cjs} +25 -27
- package/dist/{chunk-HKCVM6OK.cjs → chunk-5BGSECRJ.cjs} +21 -21
- package/dist/{chunk-EMO7HAKJ.cjs → chunk-5O6TQC6M.cjs} +26 -30
- package/dist/{chunk-XSUZMPVQ.cjs → chunk-5OEOHAAW.cjs} +26 -26
- package/dist/{chunk-EJA7G2C4.cjs → chunk-5WUNN6ZN.cjs} +2 -2
- package/dist/{chunk-CQDOF3G7.cjs → chunk-6TZPZCOJ.cjs} +18 -18
- package/dist/{chunk-NRUB55IT.cjs → chunk-6UEHYZ7V.cjs} +18 -16
- package/dist/{chunk-V42NTCFH.js → chunk-6XSERL6L.js} +4230 -2197
- package/dist/{chunk-X4YVN7H3.cjs → chunk-72EQECGT.cjs} +37 -17
- package/dist/{chunk-4KJ2R7VP.cjs → chunk-7AGYRWKW.cjs} +19 -19
- package/dist/{chunk-UQW6SLM5.js → chunk-A7PIMZGU.js} +110 -19
- package/dist/{chunk-RT7LJRSF.cjs → chunk-ATSKSYVE.cjs} +1013 -6708
- package/dist/{chunk-WN3YF33G.cjs → chunk-B5TCIAPQ.cjs} +9 -10
- package/dist/{chunk-AIUXRS74.cjs → chunk-BF2235SI.cjs} +4275 -2242
- package/dist/{chunk-DIEDKX5B.cjs → chunk-BND3ST2K.cjs} +18 -16
- package/dist/{chunk-EPWRXL6S.js → chunk-BU7VWW2K.js} +29 -29
- package/dist/{chunk-6OQBLABR.js → chunk-BWFJEM5A.js} +368 -189
- package/dist/{chunk-ARNKA274.cjs → chunk-CAUCGUEA.cjs} +6 -6
- package/dist/{chunk-YCMQQQ5U.cjs → chunk-CBJSLA2E.cjs} +398 -219
- package/dist/{chunk-BU5ZAFMC.js → chunk-CDPGV4DN.js} +6 -7
- package/dist/{chunk-CO2VM2DK.js → chunk-CS2EMTGF.js} +10 -9
- package/dist/{chunk-AW7WAELW.js → chunk-DMG7C4H2.js} +4 -4
- package/dist/{chunk-XSF76QRU.js → chunk-DXJQDCFL.js} +3 -3
- package/dist/{chunk-4FCZDTD5.js → chunk-E3FWRT3Z.js} +7 -9
- package/dist/{chunk-KYM4XRFG.js → chunk-E3UALNFA.js} +4 -4
- package/dist/{chunk-GC3YU46J.js → chunk-EONILVMF.js} +2 -2
- package/dist/{chunk-VJVCD5T5.cjs → chunk-EQV4R3EV.cjs} +22 -22
- package/dist/{chunk-FEFHPUEM.cjs → chunk-F3HH56EB.cjs} +74 -658
- package/dist/{chunk-WYH4GVZ5.js → chunk-F4IULT7N.js} +2 -2
- package/dist/{chunk-XDXZM3ZP.cjs → chunk-FFKU7BTK.cjs} +19 -19
- package/dist/{chunk-NKRKT6V2.js → chunk-FHQVYCH2.js} +11 -10
- package/dist/{chunk-7H5UNJZD.cjs → chunk-FSF7EQVA.cjs} +11 -10
- package/dist/{chunk-KUJRR4FJ.js → chunk-G4VZTCIB.js} +9 -7
- package/dist/{chunk-A6GO3DPZ.cjs → chunk-G7CT3EMP.cjs} +4 -4
- package/dist/{chunk-EUFLX2PI.js → chunk-GGHSW2NN.js} +989 -6611
- package/dist/chunk-GVUR45UF.cjs +777 -0
- package/dist/{chunk-ODGMVILH.js → chunk-H5Z7NASB.js} +3 -3
- package/dist/{chunk-7KPI4EKH.cjs → chunk-HE7ULERA.cjs} +45 -49
- package/dist/{chunk-26TLYBFD.js → chunk-HPS76H7Q.js} +3 -3
- package/dist/{chunk-RE3OKSYF.cjs → chunk-HQUEA5R6.cjs} +6 -6
- package/dist/{chunk-ZGTGVSTZ.js → chunk-HYNTS5CP.js} +2 -2
- package/dist/{chunk-PBA6NXCT.cjs → chunk-IBDG74G2.cjs} +6 -3
- package/dist/chunk-IFNQFCTM.js +3098 -0
- package/dist/{chunk-ZL6VJ6SN.js → chunk-IWI6J7FX.js} +5 -5
- package/dist/{chunk-3KEU5QYY.cjs → chunk-K3JDKWGI.cjs} +118 -23
- package/dist/{chunk-NLPSZT4C.js → chunk-K6EKD26I.js} +6 -6
- package/dist/chunk-KCQ5NDYC.cjs +3172 -0
- package/dist/{chunk-ELLQPFAF.js → chunk-KED34ILP.js} +11 -9
- package/dist/{chunk-BY3B7ZYV.cjs → chunk-KSGXLT74.cjs} +3 -3
- package/dist/{chunk-65RFOWZI.js → chunk-L4G4RLXX.js} +9 -7
- package/dist/{chunk-4SMUJFHL.js → chunk-LDP5OK6G.js} +6 -3
- package/dist/{chunk-VZNKJZTT.cjs → chunk-LGGRPKTV.cjs} +82 -96
- package/dist/{chunk-C2QHVHZF.js → chunk-LSW7P7ML.js} +23 -414
- package/dist/{chunk-HHS6FMOU.cjs → chunk-LXJ4667L.cjs} +83 -22
- package/dist/{chunk-H6WMMLQK.cjs → chunk-LZ266PCM.cjs} +20 -13
- package/dist/{chunk-V2ILLPHK.cjs → chunk-MD6KDHVE.cjs} +10 -10
- package/dist/{chunk-6WNCRE6F.js → chunk-MEASWI2Y.js} +5 -5
- package/dist/chunk-MPXBVFHQ.js +768 -0
- package/dist/{chunk-WUXIRGZP.cjs → chunk-NCUKG4SK.cjs} +304 -144
- package/dist/chunk-NDQNIJEH.js +1715 -0
- package/dist/{chunk-Y5MUAYTO.js → chunk-NOZZ46QU.js} +9 -8
- package/dist/{chunk-F5LVGHNT.js → chunk-OFKWH2IP.js} +3 -3
- package/dist/{chunk-SPDELRRV.cjs → chunk-PMGODDJA.cjs} +12 -12
- package/dist/{chunk-I3XGTIHM.cjs → chunk-Q4QX3AET.cjs} +2 -2
- package/dist/{chunk-Y7VK5TH3.cjs → chunk-Q5JT3YML.cjs} +10 -10
- package/dist/{chunk-TSWTWZ42.cjs → chunk-Q5SJOGHQ.cjs} +247 -205
- package/dist/{chunk-M6FU6S22.js → chunk-QGKNANZ3.js} +251 -91
- package/dist/{chunk-WFJIDI2N.cjs → chunk-QLEAOI3Q.cjs} +10 -10
- package/dist/{chunk-VK5AXKO3.js → chunk-R7MA7QWV.js} +70 -84
- package/dist/{chunk-W76ETJTI.js → chunk-RVYPEYPX.js} +6 -6
- package/dist/{chunk-MWEFR6YQ.js → chunk-S2N5TNMA.js} +7 -9
- package/dist/{chunk-NCUHGRTZ.js → chunk-S565K7NK.js} +7 -7
- package/dist/{chunk-AC4BSHFV.js → chunk-SDAMZIRE.js} +5 -5
- package/dist/{chunk-HBZYCASG.js → chunk-T36DDXSF.js} +75 -33
- package/dist/{chunk-BO2OKHIY.js → chunk-T4NKMBDL.js} +30 -611
- package/dist/{chunk-7X2IEJIE.cjs → chunk-T7LEXZUZ.cjs} +29 -29
- package/dist/{chunk-HUFNKFA6.js → chunk-TEWCN33Y.js} +8 -12
- package/dist/{chunk-L3Z2HIWJ.cjs → chunk-TQSZUOW5.cjs} +2 -2
- package/dist/chunk-TSH3MSQU.cjs +129 -0
- package/dist/{chunk-PLMYCCA4.js → chunk-UERJ3YJV.js} +6 -6
- package/dist/{chunk-7N3JIJMT.js → chunk-UPJBDCVF.js} +6 -6
- package/dist/{chunk-CMYAWUX3.js → chunk-V3NN3HPP.js} +12 -5
- package/dist/{chunk-SUCBB66F.js → chunk-WB4Z63GG.js} +3 -3
- package/dist/{chunk-PPULB4GG.cjs → chunk-WDW67DZB.cjs} +68 -68
- package/dist/chunk-WGMEAYBG.js +126 -0
- package/dist/{chunk-VSXOIUCF.cjs → chunk-X4ZF6CNE.cjs} +7 -7
- package/dist/{chunk-HF4OFY25.cjs → chunk-X6SEAXAX.cjs} +29 -445
- package/dist/{chunk-C7BNX4XJ.js → chunk-XCWFGZAA.js} +6 -6
- package/dist/{chunk-CNVM7J3M.js → chunk-XD6IYDUX.js} +34 -14
- package/dist/chunk-XG23EUQX.cjs +1717 -0
- package/dist/{chunk-DN7UFU63.cjs → chunk-XRKWN5PL.cjs} +12 -11
- package/dist/{chunk-XNMEH2BI.js → chunk-XUTX5CBW.js} +3 -3
- package/dist/{chunk-PQLGZKMC.cjs → chunk-XWPNTWDN.cjs} +26 -26
- package/dist/{chunk-NTMZSDXM.cjs → chunk-XXINBTZK.cjs} +43 -43
- package/dist/{chunk-74YCHHTE.js → chunk-YCXFCXDS.js} +8 -12
- package/dist/{chunk-KDB6BUMB.js → chunk-YQK5JNFK.js} +77 -18
- package/dist/{chunk-DH5G2JUA.cjs → chunk-Z34RLXRA.cjs} +44 -46
- package/dist/{chunk-XH7SE4HH.cjs → chunk-ZP4D3CSX.cjs} +19 -19
- package/dist/cli/holoscript-runner.cjs +33 -32
- package/dist/cli/holoscript-runner.js +13 -12
- package/dist/codebase/index.cjs +1 -1
- package/dist/codebase/index.d.ts +25 -0
- package/dist/codebase/index.js +1 -1
- package/dist/compiler/agent-inference.cjs +7 -8
- package/dist/compiler/agent-inference.js +3 -4
- package/dist/compiler/android-xr.cjs +7 -8
- package/dist/compiler/android-xr.js +5 -6
- package/dist/compiler/android.cjs +8 -9
- package/dist/compiler/android.js +6 -7
- package/dist/compiler/ar.cjs +6 -7
- package/dist/compiler/ar.js +4 -5
- package/dist/compiler/babylon.cjs +8 -9
- package/dist/compiler/babylon.js +7 -8
- package/dist/compiler/coco.cjs +1 -1
- package/dist/compiler/coco.js +1 -1
- package/dist/compiler/domain-block-utils.cjs +158 -151
- package/dist/compiler/domain-block-utils.js +4 -5
- package/dist/compiler/dtdl.cjs +7 -8
- package/dist/compiler/dtdl.js +4 -5
- package/dist/compiler/gltf-pipeline.cjs +9 -9
- package/dist/compiler/gltf-pipeline.js +2 -2
- package/dist/compiler/godot.cjs +6 -7
- package/dist/compiler/godot.js +5 -6
- package/dist/compiler/incremental.cjs +7 -8
- package/dist/compiler/incremental.js +2 -3
- package/dist/compiler/index.cjs +1934 -878
- package/dist/compiler/index.js +1904 -842
- package/dist/compiler/ios.cjs +8 -9
- package/dist/compiler/ios.js +6 -7
- package/dist/compiler/multi-layer.cjs +10 -17
- package/dist/compiler/multi-layer.js +9 -10
- package/dist/compiler/nodetoy.cjs +1 -1
- package/dist/compiler/nodetoy.js +1 -1
- package/dist/compiler/openxr.cjs +6 -7
- package/dist/compiler/openxr.js +5 -6
- package/dist/compiler/playcanvas.cjs +7 -8
- package/dist/compiler/playcanvas.js +6 -7
- package/dist/compiler/r3f.cjs +13 -14
- package/dist/compiler/r3f.js +8 -9
- package/dist/compiler/remotion.cjs +1 -1
- package/dist/compiler/remotion.js +1 -1
- package/dist/compiler/reproducibility.cjs +1 -1
- package/dist/compiler/reproducibility.js +1 -1
- package/dist/compiler/sdf.cjs +7 -8
- package/dist/compiler/sdf.js +5 -6
- package/dist/compiler/semantic-scene.cjs +7 -7
- package/dist/compiler/semantic-scene.js +2 -2
- package/dist/compiler/state.cjs +5 -6
- package/dist/compiler/state.js +3 -4
- package/dist/compiler/trait-composition.cjs +7 -8
- package/dist/compiler/trait-composition.js +3 -4
- package/dist/compiler/unity.cjs +6 -7
- package/dist/compiler/unity.js +5 -6
- package/dist/compiler/unreal.cjs +7 -8
- package/dist/compiler/unreal.js +5 -6
- package/dist/compiler/urdf.cjs +13 -14
- package/dist/compiler/urdf.js +5 -6
- package/dist/compiler/usd-physics.cjs +7 -8
- package/dist/compiler/usd-physics.js +4 -5
- package/dist/compiler/visionos.cjs +6 -7
- package/dist/compiler/visionos.js +5 -6
- package/dist/compiler/vrchat.cjs +7 -8
- package/dist/compiler/vrchat.js +5 -6
- package/dist/compiler/vrr.cjs +7 -8
- package/dist/compiler/vrr.js +5 -6
- package/dist/compiler/wasm.cjs +10 -11
- package/dist/compiler/wasm.js +5 -6
- package/dist/compiler/webgpu.cjs +6 -7
- package/dist/compiler/webgpu.js +5 -6
- package/dist/constants.d.ts +3 -0
- package/dist/debugger.cjs +7 -7
- package/dist/debugger.js +5 -5
- package/dist/entries/interop.cjs +1 -1
- package/dist/entries/interop.d.ts +9 -0
- package/dist/entries/interop.js +1 -1
- package/dist/entries/scripting.cjs +18 -17
- package/dist/entries/scripting.d.ts +7 -0
- package/dist/entries/scripting.js +8 -7
- package/dist/index.cjs +6773 -27555
- package/dist/index.d.ts +19 -0
- package/dist/index.js +5212 -26101
- package/dist/math/vec3.cjs +1 -1
- package/dist/math/vec3.js +1 -1
- package/dist/ml-dsa-PHCWUBPX.cjs +1178 -0
- package/dist/ml-dsa-WYLJHJO6.js +1178 -0
- package/dist/parser.cjs +11 -10
- package/dist/parser.js +8 -7
- package/dist/{playwright-BIZXMLD2.js → playwright-5OSAPTNH.js} +3 -3
- package/dist/{playwright-7DTEQCBD.cjs → playwright-RL6GY4F7.cjs} +1985 -1985
- package/dist/runtime.cjs +5 -5
- package/dist/runtime.js +4 -4
- package/dist/self-improvement/index.d.ts +0 -48
- package/dist/storage/index.cjs +1 -1
- package/dist/storage/index.d.ts +24 -0
- package/dist/storage/index.js +1 -1
- package/dist/tools/index.d.ts +12 -0
- package/dist/traits/index.cjs +925 -607
- package/dist/traits/index.js +137 -20
- package/dist/type-checker.cjs +4 -4
- package/dist/type-checker.js +2 -2
- package/package.json +54 -19
- package/LICENSE +0 -21
- package/dist/GLTFPipeline-3KLWWUQO.cjs +0 -34
- package/dist/GLTFPipeline-LYII2ZVQ.js +0 -13
- package/dist/chunk-CN4NOESF.cjs +0 -416
- package/dist/chunk-DXVCEFZB.js +0 -2027
- package/dist/chunk-ENV7K6XA.js +0 -282
- package/dist/chunk-H7XMORZI.js +0 -2731
- package/dist/chunk-HAN4V3PF.cjs +0 -2037
- package/dist/chunk-LER4WXW5.cjs +0 -286
- package/dist/chunk-QHVVVN47.cjs +0 -2033
- package/dist/chunk-QWKUKVRE.js +0 -2026
- package/dist/chunk-UITWA6DV.cjs +0 -2829
- package/dist/chunk-X67XRI2T.js +0 -410
- package/dist/post-quantum-JTTAAGO3.cjs +0 -6
- package/dist/post-quantum-RVPVDEPI.js +0 -4
- package/dist/wot/index.cjs +0 -29
- package/dist/wot/index.js +0 -4
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkLXJ4667L_cjs = require('./chunk-LXJ4667L.cjs');
|
|
4
|
+
var chunkBF2235SI_cjs = require('./chunk-BF2235SI.cjs');
|
|
5
|
+
var chunk3SAK5KFL_cjs = require('./chunk-3SAK5KFL.cjs');
|
|
6
|
+
var platform = require('@holoscript/platform');
|
|
6
7
|
|
|
7
8
|
// src/compiler/VRChatCompiler.ts
|
|
8
9
|
var VRChatCompiler_exports = {};
|
|
9
|
-
|
|
10
|
+
chunk3SAK5KFL_cjs.__export(VRChatCompiler_exports, {
|
|
10
11
|
VRChatCompiler: () => exports.VRChatCompiler,
|
|
11
12
|
compileToVRChat: () => compileToVRChat
|
|
12
13
|
});
|
|
@@ -15,12 +16,11 @@ function compileToVRChat(composition, options) {
|
|
|
15
16
|
return Promise.resolve(compiler.compile(composition, ""));
|
|
16
17
|
}
|
|
17
18
|
exports.VRChatCompiler = void 0;
|
|
18
|
-
var init_VRChatCompiler =
|
|
19
|
+
var init_VRChatCompiler = chunk3SAK5KFL_cjs.__esm({
|
|
19
20
|
"src/compiler/VRChatCompiler.ts"() {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
exports.VRChatCompiler = class extends chunkQHVVVN47_cjs.CompilerBase {
|
|
21
|
+
chunkBF2235SI_cjs.init_CompilerBase();
|
|
22
|
+
chunkLXJ4667L_cjs.init_DomainBlockCompilerMixin();
|
|
23
|
+
exports.VRChatCompiler = class extends chunkBF2235SI_cjs.CompilerBase {
|
|
24
24
|
constructor(options = {}) {
|
|
25
25
|
super();
|
|
26
26
|
this.compilerName = "VRChatCompiler";
|
|
@@ -38,7 +38,7 @@ var init_VRChatCompiler = chunkEGIZHYJP_cjs.__esm({
|
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
40
|
getRequiredCapability() {
|
|
41
|
-
return
|
|
41
|
+
return platform.ANSCapabilityPath.VRCHAT;
|
|
42
42
|
}
|
|
43
43
|
compile(composition, agentToken, outputPath) {
|
|
44
44
|
this.validateCompilerAccess(agentToken, outputPath);
|
|
@@ -167,59 +167,59 @@ var init_VRChatCompiler = chunkEGIZHYJP_cjs.__esm({
|
|
|
167
167
|
this.emit("");
|
|
168
168
|
this.emit("// === v4.2 Domain Blocks (VRChat/Unity) ===");
|
|
169
169
|
let blockIdx = 0;
|
|
170
|
-
const compiled =
|
|
170
|
+
const compiled = chunkLXJ4667L_cjs.compileDomainBlocks(
|
|
171
171
|
domainBlocks,
|
|
172
172
|
{
|
|
173
173
|
material: (block) => {
|
|
174
|
-
const mat =
|
|
175
|
-
return
|
|
174
|
+
const mat = chunkLXJ4667L_cjs.compileMaterialBlock(block);
|
|
175
|
+
return chunkLXJ4667L_cjs.materialToVRChat(mat, `db${blockIdx++}`);
|
|
176
176
|
},
|
|
177
177
|
physics: (block) => {
|
|
178
|
-
const phys =
|
|
179
|
-
return
|
|
178
|
+
const phys = chunkLXJ4667L_cjs.compilePhysicsBlock(block);
|
|
179
|
+
return chunkLXJ4667L_cjs.physicsToUnity(phys, `db${blockIdx++}`);
|
|
180
180
|
},
|
|
181
181
|
vfx: (block) => {
|
|
182
|
-
const ps =
|
|
183
|
-
return
|
|
182
|
+
const ps = chunkLXJ4667L_cjs.compileParticleBlock(block);
|
|
183
|
+
return chunkLXJ4667L_cjs.particlesToUnity(ps, `db${blockIdx++}`);
|
|
184
184
|
},
|
|
185
185
|
postfx: (block) => {
|
|
186
|
-
const pp =
|
|
187
|
-
return
|
|
186
|
+
const pp = chunkLXJ4667L_cjs.compilePostProcessingBlock(block);
|
|
187
|
+
return chunkLXJ4667L_cjs.postProcessingToUnity(pp);
|
|
188
188
|
},
|
|
189
189
|
audio: (block) => {
|
|
190
|
-
const audio =
|
|
191
|
-
return
|
|
190
|
+
const audio = chunkLXJ4667L_cjs.compileAudioSourceBlock(block);
|
|
191
|
+
return chunkLXJ4667L_cjs.audioSourceToUnity(audio, `db${blockIdx++}`);
|
|
192
192
|
},
|
|
193
193
|
weather: (block) => {
|
|
194
|
-
const weather =
|
|
195
|
-
return
|
|
194
|
+
const weather = chunkLXJ4667L_cjs.compileWeatherBlock(block);
|
|
195
|
+
return chunkLXJ4667L_cjs.weatherToUnity(weather);
|
|
196
196
|
},
|
|
197
197
|
narrative: (block) => {
|
|
198
|
-
const narr =
|
|
199
|
-
return
|
|
198
|
+
const narr = chunkLXJ4667L_cjs.compileNarrativeBlock(block);
|
|
199
|
+
return chunkLXJ4667L_cjs.narrativeToVRChat(narr);
|
|
200
200
|
},
|
|
201
201
|
payment: (block) => {
|
|
202
|
-
const pay =
|
|
203
|
-
return
|
|
202
|
+
const pay = chunkLXJ4667L_cjs.compilePaymentBlock(block);
|
|
203
|
+
return chunkLXJ4667L_cjs.paymentToVRChat(pay);
|
|
204
204
|
},
|
|
205
205
|
healthcare: (block) => {
|
|
206
|
-
const h =
|
|
207
|
-
return
|
|
206
|
+
const h = chunkLXJ4667L_cjs.compileHealthcareBlock(block);
|
|
207
|
+
return chunkLXJ4667L_cjs.healthcareToVRChat(h);
|
|
208
208
|
},
|
|
209
209
|
robotics: (block) => {
|
|
210
|
-
const r =
|
|
211
|
-
return
|
|
210
|
+
const r = chunkLXJ4667L_cjs.compileRoboticsBlock(block);
|
|
211
|
+
return chunkLXJ4667L_cjs.roboticsToVRChat(r);
|
|
212
212
|
},
|
|
213
|
-
iot: (block) =>
|
|
214
|
-
dataviz: (block) =>
|
|
215
|
-
education: (block) =>
|
|
216
|
-
music: (block) =>
|
|
217
|
-
architecture: (block) =>
|
|
218
|
-
web3: (block) =>
|
|
219
|
-
procedural: (block) =>
|
|
220
|
-
rendering: (block) =>
|
|
221
|
-
navigation: (block) =>
|
|
222
|
-
input: (block) =>
|
|
213
|
+
iot: (block) => chunkLXJ4667L_cjs.iotToVRChat(chunkLXJ4667L_cjs.compileIoTBlock(block)),
|
|
214
|
+
dataviz: (block) => chunkLXJ4667L_cjs.datavizToVRChat(chunkLXJ4667L_cjs.compileDataVizBlock(block)),
|
|
215
|
+
education: (block) => chunkLXJ4667L_cjs.educationToVRChat(chunkLXJ4667L_cjs.compileEducationBlock(block)),
|
|
216
|
+
music: (block) => chunkLXJ4667L_cjs.musicToVRChat(chunkLXJ4667L_cjs.compileMusicBlock(block)),
|
|
217
|
+
architecture: (block) => chunkLXJ4667L_cjs.architectureToVRChat(chunkLXJ4667L_cjs.compileArchitectureBlock(block)),
|
|
218
|
+
web3: (block) => chunkLXJ4667L_cjs.web3ToVRChat(chunkLXJ4667L_cjs.compileWeb3Block(block)),
|
|
219
|
+
procedural: (block) => chunkLXJ4667L_cjs.proceduralToVRChat(chunkLXJ4667L_cjs.compileProceduralBlock(block)),
|
|
220
|
+
rendering: (block) => chunkLXJ4667L_cjs.renderingToVRChat(chunkLXJ4667L_cjs.compileRenderingBlock(block)),
|
|
221
|
+
navigation: (block) => chunkLXJ4667L_cjs.navigationToVRChat(chunkLXJ4667L_cjs.compileNavigationBlock(block)),
|
|
222
|
+
input: (block) => chunkLXJ4667L_cjs.inputToVRChat(chunkLXJ4667L_cjs.compileInputBlock(block))
|
|
223
223
|
},
|
|
224
224
|
(block) => `// Domain block: ${block.domain}/${block.keyword} "${this.escapeStringValue(block.name, "CSharp")}"`
|
|
225
225
|
);
|
|
@@ -375,9 +375,7 @@ var init_VRChatCompiler = chunkEGIZHYJP_cjs.__esm({
|
|
|
375
375
|
`\xE2\u201D\u0153\xE2\u201D\u20AC\xE2\u201D\u20AC ${this.escapeStringValue(group.name, "CSharp")} (SpatialGroup)`
|
|
376
376
|
);
|
|
377
377
|
for (const child of group.objects || []) {
|
|
378
|
-
lines.push(
|
|
379
|
-
`\xE2\u201D\u201A \xE2\u201D\u201D\xE2\u201D\u20AC\xE2\u201D\u20AC ${this.escapeStringValue(child.name, "CSharp")}`
|
|
380
|
-
);
|
|
378
|
+
lines.push(`\xE2\u201D\u201A \xE2\u201D\u201D\xE2\u201D\u20AC\xE2\u201D\u20AC ${this.escapeStringValue(child.name, "CSharp")}`);
|
|
381
379
|
}
|
|
382
380
|
}
|
|
383
381
|
}
|
|
@@ -610,5 +608,5 @@ var init_VRChatCompiler = chunkEGIZHYJP_cjs.__esm({
|
|
|
610
608
|
exports.VRChatCompiler_exports = VRChatCompiler_exports;
|
|
611
609
|
exports.compileToVRChat = compileToVRChat;
|
|
612
610
|
exports.init_VRChatCompiler = init_VRChatCompiler;
|
|
613
|
-
//# sourceMappingURL=chunk-
|
|
614
|
-
//# sourceMappingURL=chunk-
|
|
611
|
+
//# sourceMappingURL=chunk-Z34RLXRA.cjs.map
|
|
612
|
+
//# sourceMappingURL=chunk-Z34RLXRA.cjs.map
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
3
|
+
var chunkQ5JT3YML_cjs = require('./chunk-Q5JT3YML.cjs');
|
|
4
|
+
var chunk33LSUQDD_cjs = require('./chunk-33LSUQDD.cjs');
|
|
5
|
+
var chunkLGGRPKTV_cjs = require('./chunk-LGGRPKTV.cjs');
|
|
6
|
+
var chunkBF2235SI_cjs = require('./chunk-BF2235SI.cjs');
|
|
7
|
+
var platform = require('@holoscript/platform');
|
|
7
8
|
|
|
8
9
|
// src/compiler/MultiLayerCompiler.ts
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
var MultiLayerCompiler = class extends chunkQHVVVN47_cjs.CompilerBase {
|
|
10
|
+
chunkLGGRPKTV_cjs.init_VRRCompiler();
|
|
11
|
+
chunkQ5JT3YML_cjs.init_ARCompiler();
|
|
12
|
+
chunk33LSUQDD_cjs.init_BabylonCompiler();
|
|
13
|
+
chunkBF2235SI_cjs.init_CompilerBase();
|
|
14
|
+
var MultiLayerCompiler = class extends chunkBF2235SI_cjs.CompilerBase {
|
|
15
15
|
constructor(options) {
|
|
16
16
|
super();
|
|
17
17
|
this.compilerName = "MultiLayerCompiler";
|
|
18
18
|
this.options = options;
|
|
19
19
|
}
|
|
20
20
|
getRequiredCapability() {
|
|
21
|
-
return
|
|
21
|
+
return platform.ANSCapabilityPath.MULTI_LAYER;
|
|
22
22
|
}
|
|
23
23
|
compile(composition, agentToken, outputPath) {
|
|
24
24
|
this.validateCompilerAccess(agentToken, outputPath);
|
|
@@ -28,7 +28,7 @@ var MultiLayerCompiler = class extends chunkQHVVVN47_cjs.CompilerBase {
|
|
|
28
28
|
errors: []
|
|
29
29
|
};
|
|
30
30
|
if (this.options.targets.includes("ar")) {
|
|
31
|
-
const arCompiler = new
|
|
31
|
+
const arCompiler = new chunkQ5JT3YML_cjs.ARCompiler({
|
|
32
32
|
target: "webxr",
|
|
33
33
|
minify: this.options.minify,
|
|
34
34
|
source_maps: this.options.source_maps,
|
|
@@ -39,7 +39,7 @@ var MultiLayerCompiler = class extends chunkQHVVVN47_cjs.CompilerBase {
|
|
|
39
39
|
if (!arResult.success) result.success = false;
|
|
40
40
|
}
|
|
41
41
|
if (this.options.targets.includes("vrr")) {
|
|
42
|
-
const vrrCompiler = new
|
|
42
|
+
const vrrCompiler = new chunkLGGRPKTV_cjs.VRRCompiler({
|
|
43
43
|
target: "threejs",
|
|
44
44
|
minify: this.options.minify,
|
|
45
45
|
source_maps: this.options.source_maps,
|
|
@@ -52,21 +52,21 @@ var MultiLayerCompiler = class extends chunkQHVVVN47_cjs.CompilerBase {
|
|
|
52
52
|
if (!vrrResult.success) result.success = false;
|
|
53
53
|
}
|
|
54
54
|
if (this.options.targets.includes("vr")) {
|
|
55
|
-
const vrCompiler = new
|
|
55
|
+
const vrCompiler = new chunk33LSUQDD_cjs.BabylonCompiler({});
|
|
56
56
|
try {
|
|
57
57
|
const vrResult = vrCompiler.compile(composition, agentToken);
|
|
58
58
|
result.vr = vrResult;
|
|
59
59
|
} catch (err) {
|
|
60
60
|
result.success = false;
|
|
61
|
-
result.errors.push(
|
|
61
|
+
result.errors.push(
|
|
62
|
+
`VR Compilation Error: ${err instanceof Error ? err.message : String(err)}`
|
|
63
|
+
);
|
|
62
64
|
}
|
|
63
65
|
}
|
|
64
66
|
return result;
|
|
65
67
|
}
|
|
66
68
|
};
|
|
67
|
-
var MultiLayerCompiler_default = MultiLayerCompiler;
|
|
68
69
|
|
|
69
70
|
exports.MultiLayerCompiler = MultiLayerCompiler;
|
|
70
|
-
|
|
71
|
-
//# sourceMappingURL=chunk-
|
|
72
|
-
//# sourceMappingURL=chunk-XH7SE4HH.cjs.map
|
|
71
|
+
//# sourceMappingURL=chunk-ZP4D3CSX.cjs.map
|
|
72
|
+
//# sourceMappingURL=chunk-ZP4D3CSX.cjs.map
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkG7CT3EMP_cjs = require('../chunk-G7CT3EMP.cjs');
|
|
5
|
+
var chunkTQSZUOW5_cjs = require('../chunk-TQSZUOW5.cjs');
|
|
6
6
|
var chunkCLYEIWA5_cjs = require('../chunk-CLYEIWA5.cjs');
|
|
7
|
-
var
|
|
8
|
-
require('../chunk-
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
11
|
-
require('../chunk-
|
|
12
|
-
require('../chunk-
|
|
13
|
-
require('../chunk-
|
|
7
|
+
var chunkLZ266PCM_cjs = require('../chunk-LZ266PCM.cjs');
|
|
8
|
+
require('../chunk-GVUR45UF.cjs');
|
|
9
|
+
require('../chunk-XG23EUQX.cjs');
|
|
10
|
+
require('../chunk-KCQ5NDYC.cjs');
|
|
11
|
+
require('../chunk-PMGODDJA.cjs');
|
|
12
|
+
require('../chunk-MD6KDHVE.cjs');
|
|
13
|
+
require('../chunk-CAUCGUEA.cjs');
|
|
14
|
+
require('../chunk-3SAK5KFL.cjs');
|
|
14
15
|
require('dotenv/config');
|
|
15
16
|
var fs = require('fs');
|
|
16
17
|
var path = require('path');
|
|
@@ -692,7 +693,7 @@ async function runScript(opts) {
|
|
|
692
693
|
const source = fs__namespace.readFileSync(filePath, "utf-8");
|
|
693
694
|
const ext = path__namespace.extname(filePath);
|
|
694
695
|
console.log(`[holoscript] Running ${path__namespace.basename(filePath)} (target: ${opts.target})`);
|
|
695
|
-
const parseResult =
|
|
696
|
+
const parseResult = chunkLZ266PCM_cjs.parse(source);
|
|
696
697
|
const ast = parseResult.ast;
|
|
697
698
|
if (opts.debug) {
|
|
698
699
|
console.log(`[holoscript] Parsed ${ast.body?.length || 0} top-level nodes`);
|
|
@@ -705,7 +706,7 @@ async function runScript(opts) {
|
|
|
705
706
|
debug: opts.debug,
|
|
706
707
|
hostCapabilities: createNodeHostCapabilities(path__namespace.dirname(filePath))
|
|
707
708
|
});
|
|
708
|
-
|
|
709
|
+
chunkG7CT3EMP_cjs.registerStdlib(
|
|
709
710
|
runtime$1,
|
|
710
711
|
{
|
|
711
712
|
policy: {
|
|
@@ -743,7 +744,7 @@ async function runScript(opts) {
|
|
|
743
744
|
);
|
|
744
745
|
if (opts.watch) {
|
|
745
746
|
console.log(`[holoscript] Watching for changes... (Ctrl+C to stop)`);
|
|
746
|
-
const watcher = new
|
|
747
|
+
const watcher = new chunkTQSZUOW5_cjs.HotReloadWatcher({
|
|
747
748
|
watchPaths: [path__namespace.dirname(filePath)],
|
|
748
749
|
extensions: [".hs", ".hsplus", ".holo"],
|
|
749
750
|
debounceMs: 300,
|
|
@@ -755,7 +756,7 @@ async function runScript(opts) {
|
|
|
755
756
|
console.log(`[holoscript] Re-running ${path__namespace.basename(filePath)}...`);
|
|
756
757
|
try {
|
|
757
758
|
const newSource = fs__namespace.readFileSync(filePath, "utf-8");
|
|
758
|
-
const newParseResult =
|
|
759
|
+
const newParseResult = chunkLZ266PCM_cjs.parse(newSource);
|
|
759
760
|
const newAst = newParseResult.ast;
|
|
760
761
|
const newRuntime = runtime.createHeadlessRuntime(newAst, {
|
|
761
762
|
profile: opts.profile === "headless" ? runtime.HEADLESS_PROFILE : runtime.getProfile(opts.profile),
|
|
@@ -791,21 +792,21 @@ async function testScript(opts) {
|
|
|
791
792
|
}
|
|
792
793
|
const source = fs__namespace.readFileSync(filePath, "utf-8");
|
|
793
794
|
console.log(`[holoscript test] Running tests in ${path__namespace.basename(filePath)}`);
|
|
794
|
-
const parseResult =
|
|
795
|
+
const parseResult = chunkLZ266PCM_cjs.parse(source);
|
|
795
796
|
const ast = parseResult.ast;
|
|
796
797
|
const profile = runtime.HEADLESS_PROFILE;
|
|
797
798
|
const runtime$1 = runtime.createHeadlessRuntime(ast, { profile, tickRate: 10, debug: opts.debug });
|
|
798
799
|
runtime$1.start();
|
|
799
800
|
for (let i = 0; i < 50; i++) runtime$1.tick();
|
|
800
|
-
const runner = new
|
|
801
|
+
const runner = new chunkTQSZUOW5_cjs.ScriptTestRunner({
|
|
801
802
|
debug: opts.debug,
|
|
802
803
|
runtimeState: runtime$1.getState()
|
|
803
804
|
});
|
|
804
805
|
const scriptResults = runner.runTestsFromSource(source, filePath);
|
|
805
806
|
const runtimeState = runtime$1.getState();
|
|
806
|
-
const compositionState = Object.keys(runtimeState).length > 0 ? runtimeState :
|
|
807
|
-
const computedDefs =
|
|
808
|
-
const compositionRunner = new
|
|
807
|
+
const compositionState = Object.keys(runtimeState).length > 0 ? runtimeState : chunkG7CT3EMP_cjs.CompositionTestRunner.extractStateFromSource(source);
|
|
808
|
+
const computedDefs = chunkG7CT3EMP_cjs.CompositionTestRunner.extractComputedFromSource(source);
|
|
809
|
+
const compositionRunner = new chunkG7CT3EMP_cjs.CompositionTestRunner(compositionState, computedDefs, {
|
|
809
810
|
debug: opts.debug
|
|
810
811
|
});
|
|
811
812
|
const compositionResults = compositionRunner.runTestsFromSource(source);
|
|
@@ -868,7 +869,7 @@ function compileScript(opts) {
|
|
|
868
869
|
}
|
|
869
870
|
console.log(`[holoscript compile] @gotcha check passed (no critical violations)`);
|
|
870
871
|
}
|
|
871
|
-
const compileResult =
|
|
872
|
+
const compileResult = chunkLZ266PCM_cjs.parse(source);
|
|
872
873
|
if (!compileResult.success) {
|
|
873
874
|
console.error(`[holoscript compile] Failed to parse: ${compileResult.errors?.[0]?.message}`);
|
|
874
875
|
process.exit(1);
|
|
@@ -947,7 +948,7 @@ async function deployScript(opts) {
|
|
|
947
948
|
const fileName = path__namespace.basename(filePath);
|
|
948
949
|
const title = path__namespace.basename(filePath, path__namespace.extname(filePath));
|
|
949
950
|
console.log(`Parsing ${fileName}...`);
|
|
950
|
-
const ast =
|
|
951
|
+
const ast = chunkLZ266PCM_cjs.parse(source);
|
|
951
952
|
if (ast.errors && ast.errors.length > 0) {
|
|
952
953
|
console.error("Parse errors:");
|
|
953
954
|
for (const err of ast.errors) {
|
|
@@ -956,7 +957,7 @@ async function deployScript(opts) {
|
|
|
956
957
|
process.exit(1);
|
|
957
958
|
}
|
|
958
959
|
const license = opts.license || "free";
|
|
959
|
-
const provenance =
|
|
960
|
+
const provenance = chunkG7CT3EMP_cjs.generateProvenance(source, ast, {
|
|
960
961
|
author: opts.author || "anonymous",
|
|
961
962
|
license
|
|
962
963
|
});
|
|
@@ -968,7 +969,7 @@ async function deployScript(opts) {
|
|
|
968
969
|
path: imp.path,
|
|
969
970
|
license: "free"
|
|
970
971
|
}));
|
|
971
|
-
const licenseCheck =
|
|
972
|
+
const licenseCheck = chunkG7CT3EMP_cjs.checkLicenseCompatibility(license, importedLicenses);
|
|
972
973
|
if (licenseCheck.warnings.length > 0) {
|
|
973
974
|
for (const w of licenseCheck.warnings) {
|
|
974
975
|
console.log(` Warning: ${w}`);
|
|
@@ -987,20 +988,20 @@ async function deployScript(opts) {
|
|
|
987
988
|
}
|
|
988
989
|
const serverUrl = opts.serverUrl.replace(/\/$/, "");
|
|
989
990
|
if (opts.publish) {
|
|
990
|
-
const priceWei =
|
|
991
|
+
const priceWei = chunkG7CT3EMP_cjs.ethToWei(opts.price || "0");
|
|
991
992
|
const importChain = provenance.imports.map((imp, i) => ({
|
|
992
993
|
contentHash: imp.hash || `import-${i}`,
|
|
993
994
|
author: imp.author || imp.path,
|
|
994
995
|
depth: 1,
|
|
995
996
|
children: []
|
|
996
997
|
}));
|
|
997
|
-
const revenuePreview =
|
|
998
|
+
const revenuePreview = chunkG7CT3EMP_cjs.calculateRevenueDistribution(
|
|
998
999
|
priceWei,
|
|
999
1000
|
provenance.author || "anonymous",
|
|
1000
1001
|
importChain
|
|
1001
1002
|
);
|
|
1002
1003
|
console.log("\nRevenue distribution:");
|
|
1003
|
-
for (const line of
|
|
1004
|
+
for (const line of chunkG7CT3EMP_cjs.formatRevenueDistribution(revenuePreview)) {
|
|
1004
1005
|
console.log(` ${line}`);
|
|
1005
1006
|
}
|
|
1006
1007
|
console.log(`
|
|
@@ -1039,7 +1040,7 @@ Publishing to protocol at ${serverUrl}...`);
|
|
|
1039
1040
|
license: provenance.license,
|
|
1040
1041
|
publishMode: provenance.publishMode,
|
|
1041
1042
|
price: opts.price || "0",
|
|
1042
|
-
referralBps:
|
|
1043
|
+
referralBps: chunkG7CT3EMP_cjs.PROTOCOL_CONSTANTS.DEFAULT_REFERRAL_BPS,
|
|
1043
1044
|
metadataURI: `${serverUrl}/metadata/${provenance.hash}`,
|
|
1044
1045
|
mintAsNFT: opts.mintNft,
|
|
1045
1046
|
// Include scene data for CDN deploy
|
|
@@ -1167,7 +1168,7 @@ function absorbScript(opts) {
|
|
|
1167
1168
|
console.log(
|
|
1168
1169
|
`[holoscript absorb] ${path__namespace.basename(filePath)} (${language}) \u2192 ${path__namespace.basename(outputPath)}`
|
|
1169
1170
|
);
|
|
1170
|
-
const processor = new
|
|
1171
|
+
const processor = new chunkTQSZUOW5_cjs.AbsorbProcessor();
|
|
1171
1172
|
const result = processor.absorb({ language, filePath, content });
|
|
1172
1173
|
fs__namespace.writeFileSync(outputPath, result.generatedHSPlus, "utf-8");
|
|
1173
1174
|
console.log(`[holoscript absorb] Extracted:`);
|
|
@@ -1309,7 +1310,7 @@ async function daemonScript(opts) {
|
|
|
1309
1310
|
const { createDaemonActions, getDaemonFileState } = await import('@holoscript/absorb-service/daemon');
|
|
1310
1311
|
const repoRoot = findGitRoot(path__namespace.dirname(filePath));
|
|
1311
1312
|
const source = fs__namespace.readFileSync(filePath, "utf-8");
|
|
1312
|
-
const parseResult =
|
|
1313
|
+
const parseResult = chunkLZ266PCM_cjs.parse(source);
|
|
1313
1314
|
if (!parseResult.success || !parseResult.ast) {
|
|
1314
1315
|
const errors = parseResult.errors?.map((e) => e.message).join(", ") || "unknown";
|
|
1315
1316
|
console.error(`[daemon] Parse failed: ${errors}`);
|
|
@@ -1854,13 +1855,13 @@ async function holoMeshDaemonScript(opts) {
|
|
|
1854
1855
|
console.error(`Error: File not found: ${filePath}`);
|
|
1855
1856
|
process.exit(1);
|
|
1856
1857
|
}
|
|
1857
|
-
if (!process.env.
|
|
1858
|
-
console.error("[holomesh-daemon]
|
|
1858
|
+
if (!process.env.HOLOSCRIPT_API_KEY) {
|
|
1859
|
+
console.error("[holomesh-daemon] HOLOSCRIPT_API_KEY environment variable is required");
|
|
1859
1860
|
process.exit(1);
|
|
1860
1861
|
}
|
|
1861
1862
|
const rawSource = fs__namespace.readFileSync(filePath, "utf-8");
|
|
1862
1863
|
const source = rawSource.replace(/^#(version|target|mode)\s+.*/gm, "");
|
|
1863
|
-
const parseResult =
|
|
1864
|
+
const parseResult = chunkLZ266PCM_cjs.parse(source);
|
|
1864
1865
|
if (!parseResult.success || !parseResult.ast) {
|
|
1865
1866
|
const errors = parseResult.errors?.map((e) => e.message).join(", ") || "unknown";
|
|
1866
1867
|
console.error(`[holomesh-daemon] Parse failed: ${errors}`);
|
|
@@ -1927,7 +1928,7 @@ async function holoMeshDaemonScript(opts) {
|
|
|
1927
1928
|
}
|
|
1928
1929
|
const meshConfig = {
|
|
1929
1930
|
orchestratorUrl: process.env.MCP_ORCHESTRATOR_URL || "https://mcp-orchestrator-production-45f9.up.railway.app",
|
|
1930
|
-
apiKey: process.env.
|
|
1931
|
+
apiKey: process.env.HOLOSCRIPT_API_KEY,
|
|
1931
1932
|
workspace: process.env.HOLOMESH_WORKSPACE || "ai-ecosystem",
|
|
1932
1933
|
agentName: process.env.HOLOMESH_AGENT_NAME || "holomesh-agent",
|
|
1933
1934
|
discoveryIntervalMs: 5 * 60 * 1e3,
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { generateProvenance, checkLicenseCompatibility, ethToWei, calculateRevenueDistribution, formatRevenueDistribution, PROTOCOL_CONSTANTS, CompositionTestRunner, registerStdlib } from '../chunk-
|
|
3
|
-
import { AbsorbProcessor, ScriptTestRunner, HotReloadWatcher } from '../chunk-
|
|
2
|
+
import { generateProvenance, checkLicenseCompatibility, ethToWei, calculateRevenueDistribution, formatRevenueDistribution, PROTOCOL_CONSTANTS, CompositionTestRunner, registerStdlib } from '../chunk-DMG7C4H2.js';
|
|
3
|
+
import { AbsorbProcessor, ScriptTestRunner, HotReloadWatcher } from '../chunk-EONILVMF.js';
|
|
4
4
|
import { InteropContext } from '../chunk-FF3Q7ADR.js';
|
|
5
|
-
import { parse } from '../chunk-
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
11
|
-
import '../chunk-
|
|
5
|
+
import { parse } from '../chunk-V3NN3HPP.js';
|
|
6
|
+
import '../chunk-MPXBVFHQ.js';
|
|
7
|
+
import '../chunk-NDQNIJEH.js';
|
|
8
|
+
import '../chunk-IFNQFCTM.js';
|
|
9
|
+
import '../chunk-HPS76H7Q.js';
|
|
10
|
+
import '../chunk-WB4Z63GG.js';
|
|
11
|
+
import '../chunk-XUTX5CBW.js';
|
|
12
|
+
import '../chunk-2CWOLHTE.js';
|
|
12
13
|
import 'dotenv/config';
|
|
13
14
|
import * as fs from 'fs';
|
|
14
15
|
import * as path from 'path';
|
|
@@ -1830,8 +1831,8 @@ async function holoMeshDaemonScript(opts) {
|
|
|
1830
1831
|
console.error(`Error: File not found: ${filePath}`);
|
|
1831
1832
|
process.exit(1);
|
|
1832
1833
|
}
|
|
1833
|
-
if (!process.env.
|
|
1834
|
-
console.error("[holomesh-daemon]
|
|
1834
|
+
if (!process.env.HOLOSCRIPT_API_KEY) {
|
|
1835
|
+
console.error("[holomesh-daemon] HOLOSCRIPT_API_KEY environment variable is required");
|
|
1835
1836
|
process.exit(1);
|
|
1836
1837
|
}
|
|
1837
1838
|
const rawSource = fs.readFileSync(filePath, "utf-8");
|
|
@@ -1903,7 +1904,7 @@ async function holoMeshDaemonScript(opts) {
|
|
|
1903
1904
|
}
|
|
1904
1905
|
const meshConfig = {
|
|
1905
1906
|
orchestratorUrl: process.env.MCP_ORCHESTRATOR_URL || "https://mcp-orchestrator-production-45f9.up.railway.app",
|
|
1906
|
-
apiKey: process.env.
|
|
1907
|
+
apiKey: process.env.HOLOSCRIPT_API_KEY,
|
|
1907
1908
|
workspace: process.env.HOLOMESH_WORKSPACE || "ai-ecosystem",
|
|
1908
1909
|
agentName: process.env.HOLOMESH_AGENT_NAME || "holomesh-agent",
|
|
1909
1910
|
discoveryIntervalMs: 5 * 60 * 1e3,
|
package/dist/codebase/index.cjs
CHANGED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @holoscript/core/codebase — local dedup + god-file detection utilities
|
|
2
|
+
export declare class DedupFilter {
|
|
3
|
+
constructor(config?: { hashFn?: (item: unknown) => string; [key: string]: unknown });
|
|
4
|
+
add(item: unknown): boolean;
|
|
5
|
+
has(item: unknown): boolean;
|
|
6
|
+
report(): { duplicates: unknown[]; removals: unknown[] };
|
|
7
|
+
[key: string]: unknown;
|
|
8
|
+
}
|
|
9
|
+
export declare function createDedupFilter(config?: unknown): DedupFilter;
|
|
10
|
+
export declare class GodFileDetector {
|
|
11
|
+
constructor(thresholds?: unknown);
|
|
12
|
+
analyze(path: string, content: string): unknown;
|
|
13
|
+
[key: string]: unknown;
|
|
14
|
+
}
|
|
15
|
+
export declare function createGodFileDetector(thresholds?: unknown): GodFileDetector;
|
|
16
|
+
export type Dedupable = unknown;
|
|
17
|
+
export type DedupReport = { duplicates: unknown[]; removals: unknown[] };
|
|
18
|
+
export type DedupRemoval = unknown;
|
|
19
|
+
export type DedupConfig = unknown;
|
|
20
|
+
export type FileMetrics = unknown;
|
|
21
|
+
export type GodFileClassification = unknown;
|
|
22
|
+
export type GodFileReport = unknown;
|
|
23
|
+
export type VirtualSplitPlan = unknown;
|
|
24
|
+
export type SplitSegment = unknown;
|
|
25
|
+
export type GodFileThresholds = unknown;
|
package/dist/codebase/index.js
CHANGED
|
@@ -2,28 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-EGIZHYJP.cjs');
|
|
5
|
+
var chunk72EQECGT_cjs = require('../chunk-72EQECGT.cjs');
|
|
6
|
+
require('../chunk-BF2235SI.cjs');
|
|
7
|
+
require('../chunk-3SAK5KFL.cjs');
|
|
9
8
|
|
|
10
9
|
|
|
11
10
|
|
|
12
11
|
Object.defineProperty(exports, "AgentInferenceCompiler", {
|
|
13
12
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk72EQECGT_cjs.AgentInferenceCompiler; }
|
|
15
14
|
});
|
|
16
15
|
Object.defineProperty(exports, "createAgentInferenceCompiler", {
|
|
17
16
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk72EQECGT_cjs.createAgentInferenceCompiler; }
|
|
19
18
|
});
|
|
20
19
|
Object.defineProperty(exports, "createPythonAgentInferenceCompiler", {
|
|
21
20
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk72EQECGT_cjs.createPythonAgentInferenceCompiler; }
|
|
23
22
|
});
|
|
24
23
|
Object.defineProperty(exports, "default", {
|
|
25
24
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk72EQECGT_cjs.AgentInferenceExportTarget_default; }
|
|
27
26
|
});
|
|
28
27
|
//# sourceMappingURL=agent-inference.cjs.map
|
|
29
28
|
//# sourceMappingURL=agent-inference.cjs.map
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
export { AgentInferenceCompiler, createAgentInferenceCompiler, createPythonAgentInferenceCompiler, AgentInferenceExportTarget_default as default } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-32TWR3HE.js';
|
|
1
|
+
export { AgentInferenceCompiler, createAgentInferenceCompiler, createPythonAgentInferenceCompiler, AgentInferenceExportTarget_default as default } from '../chunk-XD6IYDUX.js';
|
|
2
|
+
import '../chunk-6XSERL6L.js';
|
|
3
|
+
import '../chunk-2CWOLHTE.js';
|
|
5
4
|
//# sourceMappingURL=agent-inference.js.map
|
|
6
5
|
//# sourceMappingURL=agent-inference.js.map
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-EGIZHYJP.cjs');
|
|
3
|
+
var chunk4XSNJCLC_cjs = require('../chunk-4XSNJCLC.cjs');
|
|
4
|
+
require('../chunk-LXJ4667L.cjs');
|
|
5
|
+
require('../chunk-BF2235SI.cjs');
|
|
6
|
+
require('../chunk-3SAK5KFL.cjs');
|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
chunk4XSNJCLC_cjs.init_AndroidXRCompiler();
|
|
10
9
|
|
|
11
10
|
Object.defineProperty(exports, "AndroidXRCompiler", {
|
|
12
11
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk4XSNJCLC_cjs.AndroidXRCompiler; }
|
|
14
13
|
});
|
|
15
14
|
Object.defineProperty(exports, "compileToAndroidXR", {
|
|
16
15
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk4XSNJCLC_cjs.compileToAndroidXR; }
|
|
18
17
|
});
|
|
19
18
|
//# sourceMappingURL=android-xr.cjs.map
|
|
20
19
|
//# sourceMappingURL=android-xr.cjs.map
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { init_AndroidXRCompiler } from '../chunk-
|
|
2
|
-
export { AndroidXRCompiler, compileToAndroidXR } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-32TWR3HE.js';
|
|
1
|
+
import { init_AndroidXRCompiler } from '../chunk-S2N5TNMA.js';
|
|
2
|
+
export { AndroidXRCompiler, compileToAndroidXR } from '../chunk-S2N5TNMA.js';
|
|
3
|
+
import '../chunk-YQK5JNFK.js';
|
|
4
|
+
import '../chunk-6XSERL6L.js';
|
|
5
|
+
import '../chunk-2CWOLHTE.js';
|
|
7
6
|
|
|
8
7
|
init_AndroidXRCompiler();
|
|
9
8
|
//# sourceMappingURL=android-xr.js.map
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
6
|
-
require('../chunk-
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-EGIZHYJP.cjs');
|
|
3
|
+
var chunkNCUKG4SK_cjs = require('../chunk-NCUKG4SK.cjs');
|
|
4
|
+
require('../chunk-PMGODDJA.cjs');
|
|
5
|
+
require('../chunk-CAUCGUEA.cjs');
|
|
6
|
+
require('../chunk-BF2235SI.cjs');
|
|
7
|
+
require('../chunk-3SAK5KFL.cjs');
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
chunkNCUKG4SK_cjs.init_AndroidCompiler();
|
|
11
10
|
|
|
12
11
|
Object.defineProperty(exports, "AndroidCompiler", {
|
|
13
12
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkNCUKG4SK_cjs.AndroidCompiler; }
|
|
15
14
|
});
|
|
16
15
|
Object.defineProperty(exports, "compileToAndroid", {
|
|
17
16
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkNCUKG4SK_cjs.compileToAndroid; }
|
|
19
18
|
});
|
|
20
19
|
//# sourceMappingURL=android.cjs.map
|
|
21
20
|
//# sourceMappingURL=android.cjs.map
|