@holoscript/core 8.0.5 → 8.0.7
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-V6MKC2FZ.js → chunk-22Q5A6RV.js} +3 -3
- package/dist/{chunk-IUDGEUDO.cjs → chunk-2BZHWUSR.cjs} +27 -15
- package/dist/{chunk-XJAN7CZG.cjs → chunk-2GCNOI2U.cjs} +2 -2
- package/dist/{chunk-CCATWPXM.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-GYZE55MO.js → chunk-3GWWJT7L.js} +4 -4
- package/dist/{chunk-CMT5NMMS.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-LHAXPADA.js → chunk-4JGRWHZJ.js} +7 -5
- package/dist/{chunk-ROHLEP2W.cjs → chunk-4W5G5QVL.cjs} +26 -26
- package/dist/{chunk-GQHQOPXZ.cjs → chunk-4YNYPHH3.cjs} +186 -17
- package/dist/{chunk-ZMCVKFXI.cjs → chunk-56VOWURB.cjs} +154 -47
- package/dist/{chunk-FXKAW7ZO.cjs → chunk-5A4TCHOC.cjs} +3 -3
- package/dist/{chunk-M56JSP4A.js → chunk-5EDVCNRT.js} +2 -2
- package/dist/{chunk-UJXISJBN.js → chunk-5ET6L4NS.js} +3 -3
- package/dist/{chunk-5NWINHR5.cjs → chunk-63ZGNR2T.cjs} +43 -39
- package/dist/{chunk-NG77ATEW.cjs → chunk-6PRZIHGL.cjs} +6 -6
- package/dist/{chunk-3WZEJHUQ.cjs → chunk-7DMMMBCY.cjs} +7 -7
- package/dist/{chunk-FHP6LXJS.js → chunk-7E7GCQCK.js} +2 -2
- package/dist/{chunk-YN2YWTXW.js → chunk-7VMGP2FW.js} +44 -28
- package/dist/{chunk-OJXHYNXN.js → chunk-7X5PNIQJ.js} +3 -3
- package/dist/{chunk-FYSPZT4V.cjs → chunk-7ZHYEITD.cjs} +11 -11
- package/dist/{chunk-KPJL34Y7.cjs → chunk-ACVWFGBI.cjs} +2 -2
- package/dist/{chunk-UWXE23BT.cjs → chunk-AWB7QYY6.cjs} +6 -6
- package/dist/{chunk-UO4WPSGQ.js → chunk-B4EKV6HQ.js} +154 -48
- package/dist/{chunk-2X7NGX3M.js → chunk-BRNUPDHJ.js} +5 -5
- package/dist/{chunk-D3STJ56J.js → chunk-BTKZGHAV.js} +23 -11
- package/dist/{chunk-I5CDNPPE.cjs → chunk-C4GSLCHE.cjs} +331 -125
- package/dist/{chunk-QPSKHBJP.js → chunk-C7ZBSV2Q.js} +13 -7
- package/dist/{chunk-YN6V7R3L.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-ANXZFVY2.js → chunk-DY72BMU5.js} +3 -3
- package/dist/{chunk-AIA52I7T.cjs → chunk-EBS32AJI.cjs} +6 -4
- package/dist/{chunk-6DO5IZ5N.cjs → chunk-EDPYCLRC.cjs} +85 -65
- package/dist/{chunk-WQKJSGVS.js → chunk-F2G6CWFT.js} +271 -66
- package/dist/{chunk-AVJHHUC5.cjs → chunk-F5LKJ6F5.cjs} +43 -31
- package/dist/{chunk-ZU7NIRT6.js → chunk-FGMDMJM7.js} +10 -5
- package/dist/{chunk-YVD3CSO3.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-XB274MW5.cjs → chunk-G6PNEASF.cjs} +13 -13
- package/dist/{chunk-2BSMSUCE.js → chunk-GASCWJK5.js} +2 -2
- package/dist/{chunk-HKEXJUWS.cjs → chunk-GH6C2QGW.cjs} +12 -21
- package/dist/{chunk-WRKUDAZJ.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-NCWCUZNS.cjs → chunk-HFSVMKM3.cjs} +14 -14
- package/dist/{chunk-IUTY5WQ2.cjs → chunk-HLFDZ35S.cjs} +5 -5
- package/dist/{chunk-IWC5DM2M.cjs → chunk-I76GIKN7.cjs} +20 -16
- package/dist/{chunk-ON5QSY35.cjs → chunk-KAIVDEIG.cjs} +175 -59
- package/dist/{chunk-R24NNAEG.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-MVPBWHAC.js → chunk-L5U4W6JC.js} +4 -4
- package/dist/{chunk-2IWC4FP7.cjs → chunk-LMJ5EBV7.cjs} +10 -10
- package/dist/{chunk-KKP7JKN4.cjs → chunk-LODTHGST.cjs} +18 -12
- package/dist/{chunk-4V2E7U7Q.cjs → chunk-LPS5AMQD.cjs} +8 -8
- package/dist/{chunk-PY37LNDP.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-E4M5OAYO.js → chunk-MSYSQ2AJ.js} +132 -16
- package/dist/{chunk-TWUXUCEW.cjs → chunk-NGBXXZLL.cjs} +50 -62
- package/dist/{chunk-FFAOS5HQ.js → chunk-NHJLP37F.js} +6 -6
- package/dist/{chunk-S3MDHNKB.cjs → chunk-NHYRRAGI.cjs} +5 -5
- package/dist/{chunk-U44IKGG7.cjs → chunk-O3MGZDCT.cjs} +89 -52
- package/dist/{chunk-GIOYPNTH.js → chunk-OABEO6HH.js} +185 -16
- package/dist/{chunk-KQCN6AKJ.cjs → chunk-OS533P33.cjs} +37 -29
- package/dist/{chunk-DAJXW4KX.js → chunk-PABONWKI.js} +24 -11
- package/dist/{chunk-QACVP4PM.js → chunk-PXNZ6TME.js} +77 -59
- package/dist/{chunk-OMXII44L.js → chunk-Q2Q34NF3.js} +63 -26
- package/dist/{chunk-OH2FAIVU.js → chunk-QBWNJXNR.js} +10 -6
- package/dist/{chunk-XKTPFXGA.js → chunk-QFU53KRH.js} +4 -4
- package/dist/{chunk-CR4FMIWL.cjs → chunk-QGMUTVVH.cjs} +17 -17
- package/dist/{chunk-MYY4PMWX.cjs → chunk-RUVBFAF7.cjs} +50 -11
- package/dist/{chunk-QD32ADK6.js → chunk-S762UEV5.js} +5 -5
- package/dist/{chunk-HNDK4IQU.cjs → chunk-SH5PPVK7.cjs} +61 -45
- package/dist/{chunk-JC5YBPSF.cjs → chunk-SKZPC5AG.cjs} +5 -5
- package/dist/{chunk-TJHVSBP2.js → chunk-SLHLXUMO.js} +10 -4
- package/dist/{chunk-5KVXXUD4.js → chunk-SSSN7VAM.js} +3 -3
- package/dist/{chunk-KMC6CQH3.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-QXH7QDSZ.js → chunk-TEVX443G.js} +44 -51
- package/dist/{chunk-UFZZ7TSN.cjs → chunk-TQ377OLB.cjs} +23 -21
- package/dist/{chunk-PJGFU5DN.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-LKWQNUE6.cjs → chunk-UGXHYIWT.cjs} +5 -5
- package/dist/{chunk-JBNDTXXV.cjs → chunk-ULMSSHCJ.cjs} +21 -21
- package/dist/{chunk-YWOBW2PV.cjs → chunk-UOL6Y5TD.cjs} +18 -18
- package/dist/{chunk-5S7RKFGR.cjs → chunk-UVFI7XIR.cjs} +10 -4
- package/dist/{chunk-7M3PNU2M.cjs → chunk-V7AKE5VT.cjs} +10 -10
- package/dist/{chunk-J7XZV333.js → chunk-VEPGBETF.js} +6 -6
- package/dist/{chunk-UWJHCOH2.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-YT5L3B57.cjs → chunk-WFKVS2K4.cjs} +65 -27
- package/dist/{chunk-J6M4FPK5.js → chunk-WXQ57LAO.js} +3 -3
- package/dist/{chunk-5H2G27PK.cjs → chunk-X27QRG4C.cjs} +38 -38
- package/dist/{chunk-TVHSPJ4N.cjs → chunk-X2AVEAZM.cjs} +30 -23
- package/dist/{chunk-DHO2YRIM.js → chunk-XQ5MWMP2.js} +4 -4
- package/dist/{chunk-XIVIE43A.cjs → chunk-XW6IXEQH.cjs} +26 -13
- package/dist/{chunk-YIVFJNYV.js → chunk-Y3ZFVUUU.js} +2 -2
- package/dist/{chunk-7H33U5SM.cjs → chunk-Y57W2CT5.cjs} +2 -2
- package/dist/{chunk-OBIYPYYS.cjs → chunk-YCM6QQRT.cjs} +46 -53
- package/dist/{chunk-MBOOR7X4.js → chunk-YFVQWSNJ.js} +3 -3
- package/dist/{chunk-ADADVMXY.js → chunk-YFWRJW4B.js} +2 -2
- package/dist/{chunk-ONDAWTW4.js → chunk-YN6IETRZ.js} +179 -136
- package/dist/{chunk-4SDKXQ4C.js → chunk-YRRAUB35.js} +4 -4
- package/dist/{chunk-OBP5REIV.js → chunk-Z6PMDS4G.js} +62 -24
- package/dist/{chunk-BOVPWH4H.js → chunk-ZA34AN3R.js} +8 -17
- package/dist/{chunk-EKYL4PE3.cjs → chunk-ZLF4YF3U.cjs} +2 -2
- package/dist/{chunk-6FH72EB2.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 +530 -355
- package/dist/compiler/index.d.ts +20 -0
- package/dist/compiler/index.js +374 -210
- 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 +1080 -2190
- package/dist/index.js +467 -1577
- 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 +280 -74
- 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 +52 -48
- 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 +889 -773
- package/dist/traits/index.js +371 -259
- 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 +75 -69
- package/LICENSE +0 -21
- package/dist/GLTFPipeline-37FPRVPH.js +0 -17
- package/dist/GLTFPipeline-EK3LFJKW.cjs +0 -38
- package/dist/HoloScriptPlusParser-WKHRIH6T.cjs +0 -27
- package/dist/HoloScriptRuntime-ACDFKVVH.js +0 -10
- package/dist/HoloScriptRuntime-ON2OQVEF.cjs +0 -19
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
1
|
+
import { init_CompilerBase, CompilerBase } from './chunk-C7ZBSV2Q.js';
|
|
2
2
|
import { __export, __esm } from './chunk-OL46QLBJ.js';
|
|
3
3
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
4
4
|
|
|
@@ -417,5 +417,5 @@ var init_DTDLCompiler = __esm({
|
|
|
417
417
|
});
|
|
418
418
|
|
|
419
419
|
export { DTDLCompiler, DTDLCompiler_default, DTDLCompiler_exports, DTDL_TRAIT_COMPONENTS, init_DTDLCompiler };
|
|
420
|
-
//# sourceMappingURL=chunk-
|
|
421
|
-
//# sourceMappingURL=chunk-
|
|
420
|
+
//# sourceMappingURL=chunk-WXQ57LAO.js.map
|
|
421
|
+
//# sourceMappingURL=chunk-WXQ57LAO.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkGH6C2QGW_cjs = require('./chunk-GH6C2QGW.cjs');
|
|
4
|
+
var chunkLODTHGST_cjs = require('./chunk-LODTHGST.cjs');
|
|
5
5
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
6
6
|
var ans = require('@holoscript/core-types/ans');
|
|
7
7
|
|
|
@@ -18,9 +18,9 @@ function compileToVRChat(composition, options) {
|
|
|
18
18
|
exports.VRChatCompiler = void 0;
|
|
19
19
|
var init_VRChatCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
20
20
|
"src/compiler/VRChatCompiler.ts"() {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
exports.VRChatCompiler = class extends
|
|
21
|
+
chunkLODTHGST_cjs.init_CompilerBase();
|
|
22
|
+
chunkGH6C2QGW_cjs.init_DomainBlockCompilerMixin();
|
|
23
|
+
exports.VRChatCompiler = class extends chunkLODTHGST_cjs.CompilerBase {
|
|
24
24
|
constructor(options = {}) {
|
|
25
25
|
super();
|
|
26
26
|
this.compilerName = "VRChatCompiler";
|
|
@@ -185,59 +185,59 @@ var init_VRChatCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
185
185
|
this.emit("");
|
|
186
186
|
this.emit("// === v4.2 Domain Blocks (VRChat/Unity) ===");
|
|
187
187
|
let blockIdx = 0;
|
|
188
|
-
const compiled =
|
|
188
|
+
const compiled = chunkGH6C2QGW_cjs.compileDomainBlocks(
|
|
189
189
|
domainBlocks,
|
|
190
190
|
{
|
|
191
191
|
material: (block) => {
|
|
192
|
-
const mat =
|
|
193
|
-
return
|
|
192
|
+
const mat = chunkGH6C2QGW_cjs.compileMaterialBlock(block);
|
|
193
|
+
return chunkGH6C2QGW_cjs.materialToVRChat(mat, `db${blockIdx++}`);
|
|
194
194
|
},
|
|
195
195
|
physics: (block) => {
|
|
196
|
-
const phys =
|
|
197
|
-
return
|
|
196
|
+
const phys = chunkGH6C2QGW_cjs.compilePhysicsBlock(block);
|
|
197
|
+
return chunkGH6C2QGW_cjs.physicsToUnity(phys, `db${blockIdx++}`);
|
|
198
198
|
},
|
|
199
199
|
vfx: (block) => {
|
|
200
|
-
const ps =
|
|
201
|
-
return
|
|
200
|
+
const ps = chunkGH6C2QGW_cjs.compileParticleBlock(block);
|
|
201
|
+
return chunkGH6C2QGW_cjs.particlesToUnity(ps, `db${blockIdx++}`);
|
|
202
202
|
},
|
|
203
203
|
postfx: (block) => {
|
|
204
|
-
const pp =
|
|
205
|
-
return
|
|
204
|
+
const pp = chunkGH6C2QGW_cjs.compilePostProcessingBlock(block);
|
|
205
|
+
return chunkGH6C2QGW_cjs.postProcessingToUnity(pp);
|
|
206
206
|
},
|
|
207
207
|
audio: (block) => {
|
|
208
|
-
const audio =
|
|
209
|
-
return
|
|
208
|
+
const audio = chunkGH6C2QGW_cjs.compileAudioSourceBlock(block);
|
|
209
|
+
return chunkGH6C2QGW_cjs.audioSourceToUnity(audio, `db${blockIdx++}`);
|
|
210
210
|
},
|
|
211
211
|
weather: (block) => {
|
|
212
|
-
const weather =
|
|
213
|
-
return
|
|
212
|
+
const weather = chunkGH6C2QGW_cjs.compileWeatherBlock(block);
|
|
213
|
+
return chunkGH6C2QGW_cjs.weatherToUnity(weather);
|
|
214
214
|
},
|
|
215
215
|
narrative: (block) => {
|
|
216
|
-
const narr =
|
|
217
|
-
return
|
|
216
|
+
const narr = chunkGH6C2QGW_cjs.compileNarrativeBlock(block);
|
|
217
|
+
return chunkGH6C2QGW_cjs.narrativeToVRChat(narr);
|
|
218
218
|
},
|
|
219
219
|
payment: (block) => {
|
|
220
|
-
const pay =
|
|
221
|
-
return
|
|
220
|
+
const pay = chunkGH6C2QGW_cjs.compilePaymentBlock(block);
|
|
221
|
+
return chunkGH6C2QGW_cjs.paymentToVRChat(pay);
|
|
222
222
|
},
|
|
223
223
|
healthcare: (block) => {
|
|
224
|
-
const h =
|
|
225
|
-
return
|
|
224
|
+
const h = chunkGH6C2QGW_cjs.compileHealthcareBlock(block);
|
|
225
|
+
return chunkGH6C2QGW_cjs.healthcareToVRChat(h);
|
|
226
226
|
},
|
|
227
227
|
robotics: (block) => {
|
|
228
|
-
const r =
|
|
229
|
-
return
|
|
228
|
+
const r = chunkGH6C2QGW_cjs.compileRoboticsBlock(block);
|
|
229
|
+
return chunkGH6C2QGW_cjs.roboticsToVRChat(r);
|
|
230
230
|
},
|
|
231
|
-
iot: (block) =>
|
|
232
|
-
dataviz: (block) =>
|
|
233
|
-
education: (block) =>
|
|
234
|
-
music: (block) =>
|
|
235
|
-
architecture: (block) =>
|
|
236
|
-
web3: (block) =>
|
|
237
|
-
procedural: (block) =>
|
|
238
|
-
rendering: (block) =>
|
|
239
|
-
navigation: (block) =>
|
|
240
|
-
input: (block) =>
|
|
231
|
+
iot: (block) => chunkGH6C2QGW_cjs.iotToVRChat(chunkGH6C2QGW_cjs.compileIoTBlock(block)),
|
|
232
|
+
dataviz: (block) => chunkGH6C2QGW_cjs.datavizToVRChat(chunkGH6C2QGW_cjs.compileDataVizBlock(block)),
|
|
233
|
+
education: (block) => chunkGH6C2QGW_cjs.educationToVRChat(chunkGH6C2QGW_cjs.compileEducationBlock(block)),
|
|
234
|
+
music: (block) => chunkGH6C2QGW_cjs.musicToVRChat(chunkGH6C2QGW_cjs.compileMusicBlock(block)),
|
|
235
|
+
architecture: (block) => chunkGH6C2QGW_cjs.architectureToVRChat(chunkGH6C2QGW_cjs.compileArchitectureBlock(block)),
|
|
236
|
+
web3: (block) => chunkGH6C2QGW_cjs.web3ToVRChat(chunkGH6C2QGW_cjs.compileWeb3Block(block)),
|
|
237
|
+
procedural: (block) => chunkGH6C2QGW_cjs.proceduralToVRChat(chunkGH6C2QGW_cjs.compileProceduralBlock(block)),
|
|
238
|
+
rendering: (block) => chunkGH6C2QGW_cjs.renderingToVRChat(chunkGH6C2QGW_cjs.compileRenderingBlock(block)),
|
|
239
|
+
navigation: (block) => chunkGH6C2QGW_cjs.navigationToVRChat(chunkGH6C2QGW_cjs.compileNavigationBlock(block)),
|
|
240
|
+
input: (block) => chunkGH6C2QGW_cjs.inputToVRChat(chunkGH6C2QGW_cjs.compileInputBlock(block))
|
|
241
241
|
},
|
|
242
242
|
(block) => `// Domain block: ${block.domain}/${block.keyword} "${this.escapeStringValue(block.name, "CSharp")}"`
|
|
243
243
|
);
|
|
@@ -623,5 +623,5 @@ var init_VRChatCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
623
623
|
exports.VRChatCompiler_exports = VRChatCompiler_exports;
|
|
624
624
|
exports.compileToVRChat = compileToVRChat;
|
|
625
625
|
exports.init_VRChatCompiler = init_VRChatCompiler;
|
|
626
|
-
//# sourceMappingURL=chunk-
|
|
627
|
-
//# sourceMappingURL=chunk-
|
|
626
|
+
//# sourceMappingURL=chunk-X27QRG4C.cjs.map
|
|
627
|
+
//# sourceMappingURL=chunk-X27QRG4C.cjs.map
|
|
@@ -77,10 +77,14 @@ var mitosisHandler = {
|
|
|
77
77
|
var JEPAPredictor = class {
|
|
78
78
|
constructor(config, weights) {
|
|
79
79
|
if (!Number.isInteger(config.latentDim) || config.latentDim < 1) {
|
|
80
|
-
throw new RangeError(
|
|
80
|
+
throw new RangeError(
|
|
81
|
+
`JEPAPredictor: latentDim must be a positive integer, got ${config.latentDim}`
|
|
82
|
+
);
|
|
81
83
|
}
|
|
82
84
|
if (!Number.isInteger(config.condDim) || config.condDim < 0) {
|
|
83
|
-
throw new RangeError(
|
|
85
|
+
throw new RangeError(
|
|
86
|
+
`JEPAPredictor: condDim must be a non-negative integer, got ${config.condDim}`
|
|
87
|
+
);
|
|
84
88
|
}
|
|
85
89
|
this.latentDim = config.latentDim;
|
|
86
90
|
this.condDim = config.condDim;
|
|
@@ -386,12 +390,20 @@ var jepObjectiveHandler = {
|
|
|
386
390
|
const step = state.step;
|
|
387
391
|
const contextStr = readString(event.context);
|
|
388
392
|
if (!contextStr) {
|
|
389
|
-
emitError(context, {
|
|
393
|
+
emitError(context, {
|
|
394
|
+
code: "JEPA_CONTEXT_REQUIRED",
|
|
395
|
+
message: "jepa:encode_pair requires a non-empty context string",
|
|
396
|
+
step
|
|
397
|
+
});
|
|
390
398
|
return;
|
|
391
399
|
}
|
|
392
400
|
const targetVec = toFloat32Array(event.targetVec);
|
|
393
401
|
if (!targetVec) {
|
|
394
|
-
emitError(context, {
|
|
402
|
+
emitError(context, {
|
|
403
|
+
code: "JEPA_TARGET_VEC_REQUIRED",
|
|
404
|
+
message: "jepa:encode_pair requires targetVec (Float32Array or number[])",
|
|
405
|
+
step
|
|
406
|
+
});
|
|
395
407
|
return;
|
|
396
408
|
}
|
|
397
409
|
if (targetVec.length !== config.latentDim) {
|
|
@@ -404,17 +416,17 @@ var jepObjectiveHandler = {
|
|
|
404
416
|
}
|
|
405
417
|
const contextEmb = encodeContext(state, config, contextStr);
|
|
406
418
|
if (!contextEmb) {
|
|
407
|
-
emitError(context, {
|
|
419
|
+
emitError(context, {
|
|
420
|
+
code: "JEPA_ENCODE_FAILED",
|
|
421
|
+
message: "Context encoding returned null vector",
|
|
422
|
+
step
|
|
423
|
+
});
|
|
408
424
|
return;
|
|
409
425
|
}
|
|
410
426
|
const conditioning = toFloat32ArrayOrNull(event.conditioning);
|
|
411
427
|
const { predicted } = state.predictor.forward(contextEmb, conditioning);
|
|
412
428
|
const predictionLoss = mseLoss(predicted, targetVec);
|
|
413
|
-
const sigregLoss = computeSIGReg(
|
|
414
|
-
predicted,
|
|
415
|
-
config.sigregProjections,
|
|
416
|
-
config.sigregSigma
|
|
417
|
-
);
|
|
429
|
+
const sigregLoss = computeSIGReg(predicted, config.sigregProjections, config.sigregSigma);
|
|
418
430
|
const totalLoss = predictionLoss + config.sigregWeight * sigregLoss;
|
|
419
431
|
context.emit?.("jepa:loss", {
|
|
420
432
|
predictionLoss,
|
|
@@ -448,17 +460,12 @@ function encodeContext(state, config, contextStr) {
|
|
|
448
460
|
};
|
|
449
461
|
const mockNode = {};
|
|
450
462
|
embeddingHandler.onAttach?.(mockNode, state.embeddingConfig, captureContext);
|
|
451
|
-
embeddingHandler.onEvent?.(
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
input: contextStr,
|
|
458
|
-
model: config.embeddingModel,
|
|
459
|
-
dimensions: config.latentDim
|
|
460
|
-
}
|
|
461
|
-
);
|
|
463
|
+
embeddingHandler.onEvent?.(mockNode, state.embeddingConfig, captureContext, {
|
|
464
|
+
type: "embedding:generate",
|
|
465
|
+
input: contextStr,
|
|
466
|
+
model: config.embeddingModel,
|
|
467
|
+
dimensions: config.latentDim
|
|
468
|
+
});
|
|
462
469
|
embeddingHandler.onDetach?.(mockNode, state.embeddingConfig, captureContext);
|
|
463
470
|
return result;
|
|
464
471
|
}
|
|
@@ -602,5 +609,5 @@ exports.embeddingHandler = embeddingHandler;
|
|
|
602
609
|
exports.jepObjectiveHandler = jepObjectiveHandler;
|
|
603
610
|
exports.mitosisHandler = mitosisHandler;
|
|
604
611
|
exports.orbitalHandler = orbitalHandler;
|
|
605
|
-
//# sourceMappingURL=chunk-
|
|
606
|
-
//# sourceMappingURL=chunk-
|
|
612
|
+
//# sourceMappingURL=chunk-X2AVEAZM.cjs.map
|
|
613
|
+
//# sourceMappingURL=chunk-X2AVEAZM.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { init_TraitCompositor, TraitCompositor } from './chunk-4C57PR42.js';
|
|
2
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, audioSourceToPlayCanvas, compilePostProcessingBlock, compileParticleBlock, particlesToPlayCanvas, compilePhysicsBlock, physicsToPlayCanvas, compileMaterialBlock, materialToPlayCanvas } from './chunk-
|
|
3
|
-
import { init_CompilerBase, CompilerBase } from './chunk-
|
|
2
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, audioSourceToPlayCanvas, compilePostProcessingBlock, compileParticleBlock, particlesToPlayCanvas, compilePhysicsBlock, physicsToPlayCanvas, compileMaterialBlock, materialToPlayCanvas } from './chunk-ZA34AN3R.js';
|
|
3
|
+
import { init_CompilerBase, CompilerBase } from './chunk-C7ZBSV2Q.js';
|
|
4
4
|
import { __export, __esm } from './chunk-OL46QLBJ.js';
|
|
5
5
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
6
6
|
|
|
@@ -752,5 +752,5 @@ var init_PlayCanvasCompiler = __esm({
|
|
|
752
752
|
});
|
|
753
753
|
|
|
754
754
|
export { PlayCanvasCompiler, PlayCanvasCompiler_exports, init_PlayCanvasCompiler };
|
|
755
|
-
//# sourceMappingURL=chunk-
|
|
756
|
-
//# sourceMappingURL=chunk-
|
|
755
|
+
//# sourceMappingURL=chunk-XQ5MWMP2.js.map
|
|
756
|
+
//# sourceMappingURL=chunk-XQ5MWMP2.js.map
|
|
@@ -1,14 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLODTHGST_cjs = require('./chunk-LODTHGST.cjs');
|
|
4
4
|
var ans = require('@holoscript/core-types/ans');
|
|
5
5
|
|
|
6
6
|
// src/compiler/LLMProviderCapabilitiesCompiler.ts
|
|
7
|
-
|
|
7
|
+
chunkLODTHGST_cjs.init_CompilerBase();
|
|
8
8
|
var VENDOR_AS_SUBSTRATE_PATTERNS = [
|
|
9
|
-
{
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
{
|
|
10
|
+
pattern: /managed_agents_replaces_holomesh/i,
|
|
11
|
+
rule: "W.GOLD.002 - vendor framework cannot replace HoloMesh"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
pattern: /vector_store_as_source_of_truth/i,
|
|
15
|
+
rule: "docs/LLM_CAPABILITIES.md hard-don'ts - vendor stores never source-of-truth"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
pattern: /api_keys_as_identity/i,
|
|
19
|
+
rule: "W.GOLD.004 - wallets are identity, API keys are sessions"
|
|
20
|
+
}
|
|
12
21
|
];
|
|
13
22
|
var VERIFY_PLACEHOLDER_PATTERN = /\[VERIFY/;
|
|
14
23
|
var STALENESS_DAYS_DEFAULT = 90;
|
|
@@ -62,7 +71,7 @@ var ADAPTER_OPTIONAL_BOOLEAN_FIELDS = ADAPTER_CAPABILITY_FIELD_ORDER.filter(
|
|
|
62
71
|
"bearerTokenAccess"
|
|
63
72
|
].includes(field)
|
|
64
73
|
);
|
|
65
|
-
var LLMProviderCapabilitiesCompiler = class extends
|
|
74
|
+
var LLMProviderCapabilitiesCompiler = class extends chunkLODTHGST_cjs.CompilerBase {
|
|
66
75
|
constructor(options = {}) {
|
|
67
76
|
super();
|
|
68
77
|
this.compilerName = "LLMProviderCapabilitiesCompiler";
|
|
@@ -409,9 +418,7 @@ var LLMProviderCapabilitiesCompiler = class extends chunkKKP7JKN4_cjs.CompilerBa
|
|
|
409
418
|
}
|
|
410
419
|
lines.push("");
|
|
411
420
|
}
|
|
412
|
-
const routing = ast.routingRecommendations.filter(
|
|
413
|
-
(r) => r.provider === provider.name
|
|
414
|
-
);
|
|
421
|
+
const routing = ast.routingRecommendations.filter((r) => r.provider === provider.name);
|
|
415
422
|
if (routing.length > 0) {
|
|
416
423
|
lines.push("### Routing recommendations");
|
|
417
424
|
lines.push("");
|
|
@@ -652,8 +659,14 @@ function buildAdapterCapabilities(models, capabilities) {
|
|
|
652
659
|
byName.set(capability.name, capability);
|
|
653
660
|
}
|
|
654
661
|
const entries = /* @__PURE__ */ new Map();
|
|
655
|
-
entries.set(
|
|
656
|
-
|
|
662
|
+
entries.set(
|
|
663
|
+
"contextWindow",
|
|
664
|
+
numericCapability(byName, "contextWindow") ?? maxModelNumber(models, "contextWindow")
|
|
665
|
+
);
|
|
666
|
+
entries.set(
|
|
667
|
+
"maxOutput",
|
|
668
|
+
numericCapability(byName, "maxOutput") ?? maxModelNumber(models, "maxOutput")
|
|
669
|
+
);
|
|
657
670
|
const costPerMillion = uniformCostPerMillion(models);
|
|
658
671
|
if (costPerMillion) {
|
|
659
672
|
entries.set("costPerMillion", costPerMillion);
|
|
@@ -725,5 +738,5 @@ function daysBetween(earlier, later) {
|
|
|
725
738
|
exports.LLMCapabilityCompileError = LLMCapabilityCompileError;
|
|
726
739
|
exports.LLMProviderCapabilitiesCompiler = LLMProviderCapabilitiesCompiler;
|
|
727
740
|
exports.createLLMProviderCapabilitiesCompiler = createLLMProviderCapabilitiesCompiler;
|
|
728
|
-
//# sourceMappingURL=chunk-
|
|
729
|
-
//# sourceMappingURL=chunk-
|
|
741
|
+
//# sourceMappingURL=chunk-XW6IXEQH.cjs.map
|
|
742
|
+
//# sourceMappingURL=chunk-XW6IXEQH.cjs.map
|
|
@@ -172,5 +172,5 @@ function maxAbsDiff(a, b) {
|
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
export { TROPICAL_INF, barabasiAlbertCsr, csrFromDense, erdosRenyiCsr, layeredNeuralCsr, maxAbsDiff, mulberry32, tropicalMinPlusSpmv, tropicalMinPlusSpmvDense };
|
|
175
|
-
//# sourceMappingURL=chunk-
|
|
176
|
-
//# sourceMappingURL=chunk-
|
|
175
|
+
//# sourceMappingURL=chunk-Y3ZFVUUU.js.map
|
|
176
|
+
//# sourceMappingURL=chunk-Y3ZFVUUU.js.map
|
|
@@ -409,5 +409,5 @@ exports.draftToHoloPreview = draftToHoloPreview;
|
|
|
409
409
|
exports.handleBusinessQuestToolCall = handleBusinessQuestToolCall;
|
|
410
410
|
exports.registerBusinessQuestTools = registerBusinessQuestTools;
|
|
411
411
|
exports.validateBusinessVRRDraft = validateBusinessVRRDraft;
|
|
412
|
-
//# sourceMappingURL=chunk-
|
|
413
|
-
//# sourceMappingURL=chunk-
|
|
412
|
+
//# sourceMappingURL=chunk-Y57W2CT5.cjs.map
|
|
413
|
+
//# sourceMappingURL=chunk-Y57W2CT5.cjs.map
|
|
@@ -1,20 +1,41 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkLODTHGST_cjs = require('./chunk-LODTHGST.cjs');
|
|
4
4
|
var ans = require('@holoscript/core-types/ans');
|
|
5
5
|
|
|
6
6
|
// src/compiler/ContextCompiler.ts
|
|
7
|
-
|
|
7
|
+
chunkLODTHGST_cjs.init_CompilerBase();
|
|
8
8
|
var BANNED_DEFAULT_PATTERNS = [
|
|
9
|
-
{
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
9
|
+
{
|
|
10
|
+
pattern: /\bgit\s+add\s+(?:-A|--all|\.)(?=\s|$)/i,
|
|
11
|
+
rule: "F.001/F.011 - git add -A leaked .env twice"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
pattern: /:\s*any\b|\bas\s+any\b|<any>/i,
|
|
15
|
+
rule: "global CLAUDE.md - no `any` in TypeScript, use `unknown`"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
pattern: /\bregex\b.+\.(?:hs|hsplus|holo)\b/i,
|
|
19
|
+
rule: "F.014 - no regex on .hs/.hsplus/.holo, use @holoscript/core"
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
pattern: /\bmock\s+(?:the\s+)?(?:db|database)\b/i,
|
|
23
|
+
rule: "founder-default - real DB in tests, mock-vs-prod divergence"
|
|
24
|
+
}
|
|
13
25
|
];
|
|
14
26
|
var VENDOR_AS_SUBSTRATE_PATTERNS = [
|
|
15
|
-
{
|
|
16
|
-
|
|
17
|
-
|
|
27
|
+
{
|
|
28
|
+
pattern: /managed_agents_replaces_holomesh/i,
|
|
29
|
+
rule: "W.GOLD.002 - vendor framework cannot replace HoloMesh"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
pattern: /vector_store_as_source_of_truth/i,
|
|
33
|
+
rule: "docs/LLM_CAPABILITIES.md hard-don'ts - vendor stores never source-of-truth"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
pattern: /api_keys_as_identity/i,
|
|
37
|
+
rule: "W.GOLD.004 - wallets are identity, API keys are sessions"
|
|
38
|
+
}
|
|
18
39
|
];
|
|
19
40
|
var KNOWN_DIAMOND_IDS = /* @__PURE__ */ new Set([
|
|
20
41
|
"W.GOLD.001",
|
|
@@ -28,7 +49,7 @@ var KNOWN_DIAMOND_IDS = /* @__PURE__ */ new Set([
|
|
|
28
49
|
// Add more as graduate.py promotes - verify against D:/GOLD/INDEX.md.
|
|
29
50
|
]);
|
|
30
51
|
var DEFAULT_FLUENT_PROSE_CHARS = 150;
|
|
31
|
-
var ContextCompiler = class extends
|
|
52
|
+
var ContextCompiler = class extends chunkLODTHGST_cjs.CompilerBase {
|
|
32
53
|
constructor(options = {}) {
|
|
33
54
|
super();
|
|
34
55
|
this.compilerName = "ContextCompiler";
|
|
@@ -316,11 +337,7 @@ var ContextCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
316
337
|
target: stringField(cfg, "target", ""),
|
|
317
338
|
actionType: stringField(cfg, "action_type", ""),
|
|
318
339
|
requires: stringListField(cfg, "requires"),
|
|
319
|
-
founderRatificationRequired: boolField(
|
|
320
|
-
cfg,
|
|
321
|
-
"founder_ratification_required",
|
|
322
|
-
false
|
|
323
|
-
),
|
|
340
|
+
founderRatificationRequired: boolField(cfg, "founder_ratification_required", false),
|
|
324
341
|
notes: stringFieldOrUndef(cfg, "notes")
|
|
325
342
|
});
|
|
326
343
|
break;
|
|
@@ -518,9 +535,7 @@ var ContextCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
518
535
|
lines.push(`| Name | Reason | Alternative |`);
|
|
519
536
|
lines.push(`|---|---|---|`);
|
|
520
537
|
for (const dont of ast.hardDonts) {
|
|
521
|
-
lines.push(
|
|
522
|
-
`| **${dont.name}** | ${dont.reason} | ${dont.alternative ?? "*(none)*"} |`
|
|
523
|
-
);
|
|
538
|
+
lines.push(`| **${dont.name}** | ${dont.reason} | ${dont.alternative ?? "*(none)*"} |`);
|
|
524
539
|
}
|
|
525
540
|
lines.push("");
|
|
526
541
|
this.appendProseAfter(lines, ast, "hard_dont");
|
|
@@ -531,9 +546,7 @@ var ContextCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
531
546
|
lines.push(`| When | Answer | Reason |`);
|
|
532
547
|
lines.push(`|---|---|---|`);
|
|
533
548
|
for (const def of ast.defaults) {
|
|
534
|
-
lines.push(
|
|
535
|
-
`| ${def.when} | **${def.do}** | ${def.reason ?? "*(no citation)*"} |`
|
|
536
|
-
);
|
|
549
|
+
lines.push(`| ${def.when} | **${def.do}** | ${def.reason ?? "*(no citation)*"} |`);
|
|
537
550
|
}
|
|
538
551
|
lines.push("");
|
|
539
552
|
this.appendProseAfter(lines, ast, "default");
|
|
@@ -655,9 +668,7 @@ var ContextCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
655
668
|
lines.push(` - **Action**: ${esc.doAction}`);
|
|
656
669
|
lines.push(` - **Recipient**: ${esc.recipient}`);
|
|
657
670
|
if (esc.refuseToEscalateWhen.length > 0) {
|
|
658
|
-
lines.push(
|
|
659
|
-
` - **Refuse to escalate when**: ${esc.refuseToEscalateWhen.join(", ")}`
|
|
660
|
-
);
|
|
671
|
+
lines.push(` - **Refuse to escalate when**: ${esc.refuseToEscalateWhen.join(", ")}`);
|
|
661
672
|
}
|
|
662
673
|
}
|
|
663
674
|
lines.push("");
|
|
@@ -820,9 +831,7 @@ var ContextCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
820
831
|
if (ast.refusals.length > 0 || ast.hardDonts.length > 0) {
|
|
821
832
|
lines.push("## Hard rules (The Four Refusals + cross-provider red lines)");
|
|
822
833
|
lines.push("");
|
|
823
|
-
lines.push(
|
|
824
|
-
"Rules below are non-negotiable. Each names what to do, what NOT to do, and why."
|
|
825
|
-
);
|
|
834
|
+
lines.push("Rules below are non-negotiable. Each names what to do, what NOT to do, and why.");
|
|
826
835
|
lines.push("");
|
|
827
836
|
for (const refusal of ast.refusals) {
|
|
828
837
|
lines.push(`### ${refusal.name}`);
|
|
@@ -858,9 +867,7 @@ var ContextCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
858
867
|
lines.push("| When | Do | Reason |");
|
|
859
868
|
lines.push("|---|---|---|");
|
|
860
869
|
for (const def of ast.defaults) {
|
|
861
|
-
lines.push(
|
|
862
|
-
`| ${def.when} | **${def.do}** | ${def.reason ?? "*(no citation)*"} |`
|
|
863
|
-
);
|
|
870
|
+
lines.push(`| ${def.when} | **${def.do}** | ${def.reason ?? "*(no citation)*"} |`);
|
|
864
871
|
}
|
|
865
872
|
lines.push("");
|
|
866
873
|
this.appendProseAfter(lines, ast, "default");
|
|
@@ -980,9 +987,7 @@ var ContextCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
980
987
|
lines.push(` - **Action**: ${esc.doAction}`);
|
|
981
988
|
lines.push(` - **Recipient**: ${esc.recipient}`);
|
|
982
989
|
if (esc.refuseToEscalateWhen.length > 0) {
|
|
983
|
-
lines.push(
|
|
984
|
-
` - **Refuse to escalate when**: ${esc.refuseToEscalateWhen.join(", ")}`
|
|
985
|
-
);
|
|
990
|
+
lines.push(` - **Refuse to escalate when**: ${esc.refuseToEscalateWhen.join(", ")}`);
|
|
986
991
|
}
|
|
987
992
|
}
|
|
988
993
|
lines.push("");
|
|
@@ -1103,9 +1108,7 @@ var ContextCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
1103
1108
|
for (const refusal of ast.refusals) {
|
|
1104
1109
|
const slug = toCursorSlug(refusal.name);
|
|
1105
1110
|
const filename = `.cursor/rules/refusal-${slug}.mdc`;
|
|
1106
|
-
const description = oneLine(
|
|
1107
|
-
`Refusal: ${refusal.name} - ${refusal.reason ?? refusal.when}`
|
|
1108
|
-
);
|
|
1111
|
+
const description = oneLine(`Refusal: ${refusal.name} - ${refusal.reason ?? refusal.when}`);
|
|
1109
1112
|
const body = [];
|
|
1110
1113
|
body.push(`# Refusal: ${refusal.name}`);
|
|
1111
1114
|
body.push("");
|
|
@@ -1318,9 +1321,7 @@ var ContextCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
1318
1321
|
idx.push(` - **Action**: ${esc.doAction}`);
|
|
1319
1322
|
idx.push(` - **Recipient**: ${esc.recipient}`);
|
|
1320
1323
|
if (esc.refuseToEscalateWhen.length > 0) {
|
|
1321
|
-
idx.push(
|
|
1322
|
-
` - **Refuse to escalate when**: ${esc.refuseToEscalateWhen.join(", ")}`
|
|
1323
|
-
);
|
|
1324
|
+
idx.push(` - **Refuse to escalate when**: ${esc.refuseToEscalateWhen.join(", ")}`);
|
|
1324
1325
|
}
|
|
1325
1326
|
}
|
|
1326
1327
|
idx.push("");
|
|
@@ -1547,9 +1548,7 @@ var ContextCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
1547
1548
|
lines.push(`| Name | Reason | Alternative |`);
|
|
1548
1549
|
lines.push(`|---|---|---|`);
|
|
1549
1550
|
for (const dont of ast.hardDonts) {
|
|
1550
|
-
lines.push(
|
|
1551
|
-
`| **${dont.name}** | ${dont.reason} | ${dont.alternative ?? "*(none)*"} |`
|
|
1552
|
-
);
|
|
1551
|
+
lines.push(`| **${dont.name}** | ${dont.reason} | ${dont.alternative ?? "*(none)*"} |`);
|
|
1553
1552
|
}
|
|
1554
1553
|
lines.push("");
|
|
1555
1554
|
this.appendProseAfter(lines, ast, "hard_dont");
|
|
@@ -1560,9 +1559,7 @@ var ContextCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
1560
1559
|
lines.push(`| When | Answer | Reason |`);
|
|
1561
1560
|
lines.push(`|---|---|---|`);
|
|
1562
1561
|
for (const def of ast.defaults) {
|
|
1563
|
-
lines.push(
|
|
1564
|
-
`| ${def.when} | **${def.do}** | ${def.reason ?? "*(no citation)*"} |`
|
|
1565
|
-
);
|
|
1562
|
+
lines.push(`| ${def.when} | **${def.do}** | ${def.reason ?? "*(no citation)*"} |`);
|
|
1566
1563
|
}
|
|
1567
1564
|
lines.push("");
|
|
1568
1565
|
this.appendProseAfter(lines, ast, "default");
|
|
@@ -1684,9 +1681,7 @@ var ContextCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
1684
1681
|
lines.push(` - **Action**: ${esc.doAction}`);
|
|
1685
1682
|
lines.push(` - **Recipient**: ${esc.recipient}`);
|
|
1686
1683
|
if (esc.refuseToEscalateWhen.length > 0) {
|
|
1687
|
-
lines.push(
|
|
1688
|
-
` - **Refuse to escalate when**: ${esc.refuseToEscalateWhen.join(", ")}`
|
|
1689
|
-
);
|
|
1684
|
+
lines.push(` - **Refuse to escalate when**: ${esc.refuseToEscalateWhen.join(", ")}`);
|
|
1690
1685
|
}
|
|
1691
1686
|
}
|
|
1692
1687
|
lines.push("");
|
|
@@ -1822,9 +1817,7 @@ var ContextCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
1822
1817
|
}
|
|
1823
1818
|
lines.push("");
|
|
1824
1819
|
};
|
|
1825
|
-
const mutableTargets = ast.trackBAuthorities.filter(
|
|
1826
|
-
(row) => !row.founderRatificationRequired
|
|
1827
|
-
);
|
|
1820
|
+
const mutableTargets = ast.trackBAuthorities.filter((row) => !row.founderRatificationRequired);
|
|
1828
1821
|
const founderRatifiedTargets = ast.trackBAuthorities.filter(
|
|
1829
1822
|
(row) => row.founderRatificationRequired
|
|
1830
1823
|
);
|
|
@@ -1989,5 +1982,5 @@ function toCursorSlug(name) {
|
|
|
1989
1982
|
exports.ContextCompileError = ContextCompileError;
|
|
1990
1983
|
exports.ContextCompiler = ContextCompiler;
|
|
1991
1984
|
exports.createContextCompiler = createContextCompiler;
|
|
1992
|
-
//# sourceMappingURL=chunk-
|
|
1993
|
-
//# sourceMappingURL=chunk-
|
|
1985
|
+
//# sourceMappingURL=chunk-YCM6QQRT.cjs.map
|
|
1986
|
+
//# sourceMappingURL=chunk-YCM6QQRT.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HOLOMAP_SIMULATION_CONTRACT_KIND } from './chunk-
|
|
1
|
+
import { HOLOMAP_SIMULATION_CONTRACT_KIND } from './chunk-47RUFYKR.js';
|
|
2
2
|
|
|
3
3
|
// src/reconstruction/simulationContractBinding.ts
|
|
4
4
|
function assertHoloMapManifestContract(m) {
|
|
@@ -14,5 +14,5 @@ function assertHoloMapManifestContract(m) {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
export { assertHoloMapManifestContract };
|
|
17
|
-
//# sourceMappingURL=chunk-
|
|
18
|
-
//# sourceMappingURL=chunk-
|
|
17
|
+
//# sourceMappingURL=chunk-YFVQWSNJ.js.map
|
|
18
|
+
//# sourceMappingURL=chunk-YFVQWSNJ.js.map
|
|
@@ -400,5 +400,5 @@ function registerBusinessQuestTools(server) {
|
|
|
400
400
|
var BusinessQuestTools_default = handleBusinessQuestToolCall;
|
|
401
401
|
|
|
402
402
|
export { BUSINESS_QUEST_TOOLS, BusinessQuestTools_default, buildVRRCompositionFromDraft, businessVRRDraftSchema, draftToHoloPreview, handleBusinessQuestToolCall, registerBusinessQuestTools, validateBusinessVRRDraft };
|
|
403
|
-
//# sourceMappingURL=chunk-
|
|
404
|
-
//# sourceMappingURL=chunk-
|
|
403
|
+
//# sourceMappingURL=chunk-YFWRJW4B.js.map
|
|
404
|
+
//# sourceMappingURL=chunk-YFWRJW4B.js.map
|