@holoscript/core 8.0.1 → 8.0.2
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/dist/{GLTFPipeline-N6B6PJ6G.cjs → GLTFPipeline-76QTLF4Z.cjs} +9 -9
- package/dist/{GLTFPipeline-P3WMNYCN.js → GLTFPipeline-ES5YMBGT.js} +5 -5
- package/dist/HoloScriptRuntime-2DDYOPOR.js +10 -0
- package/dist/{HoloScriptRuntime-VJ374RER.cjs → HoloScriptRuntime-ZGRR5EB3.cjs} +5 -5
- package/dist/{chunk-J52VSAQ7.js → chunk-3OYVN53V.js} +3 -3
- package/dist/{chunk-ALC6K7GL.cjs → chunk-3OZACAFQ.cjs} +11 -7
- package/dist/{chunk-MQWAT42R.cjs → chunk-DAKRKDZV.cjs} +27 -38
- package/dist/{chunk-HR2OSYVQ.js → chunk-DXWOTOUK.js} +3 -3
- package/dist/{chunk-YVOAF4ML.js → chunk-E47Z63DF.js} +3 -3
- package/dist/{chunk-BGY3SDG3.js → chunk-FS7BFHFN.js} +7 -3
- package/dist/{chunk-KHDZJE5D.cjs → chunk-FXIO6GHT.cjs} +5 -5
- package/dist/{chunk-SMIWS6DE.cjs → chunk-IELX2OKI.js} +118 -7
- package/dist/{chunk-L5LKKENW.cjs → chunk-IMGDUSTT.cjs} +4 -4
- package/dist/{chunk-JIBL5LRK.js → chunk-KFIXE2MB.js} +14 -5
- package/dist/{chunk-7T25IEZ2.js → chunk-LCEXRE5Z.js} +3 -3
- package/dist/{chunk-7V4JI5TB.cjs → chunk-LKBTCABN.cjs} +6 -6
- package/dist/{chunk-CSD27UNQ.js → chunk-LOGP3JWH.js} +5 -5
- package/dist/{chunk-FL33V6U7.js → chunk-NNFA2C3Y.js} +3 -3
- package/dist/{chunk-K574J76X.cjs → chunk-O7WLJ53D.cjs} +3 -3
- package/dist/{chunk-4GU5GCIY.js → chunk-QRPRIJ2W.js} +145 -4
- package/dist/{chunk-CR7XRXRN.cjs → chunk-RMTPN3G4.cjs} +5 -5
- package/dist/{chunk-AOVGZ25K.cjs → chunk-SMRVK6BI.cjs} +5 -5
- package/dist/{chunk-X3UVCWNL.cjs → chunk-U7IUS5HJ.cjs} +8 -8
- package/dist/{chunk-6Q7RC2MK.cjs → chunk-UPXIY52O.cjs} +147 -3
- package/dist/{chunk-RARB3MBR.js → chunk-YDPEHCCI.cjs} +127 -3
- package/dist/{chunk-E6XXE66V.js → chunk-ZPYP4RBA.js} +3 -3
- package/dist/compiler/gltf-pipeline.cjs +8 -8
- package/dist/compiler/gltf-pipeline.js +1 -1
- package/dist/compiler/index.cjs +41 -41
- package/dist/compiler/index.js +7 -7
- package/dist/compiler/r3f.cjs +8 -8
- package/dist/compiler/r3f.js +3 -3
- package/dist/debugger.cjs +5 -5
- package/dist/debugger.js +3 -3
- package/dist/index.cjs +305 -397
- package/dist/index.js +12 -104
- package/dist/reconstruction/index.cjs +31 -31
- package/dist/reconstruction/index.js +2 -2
- package/dist/runtime.cjs +150 -293
- package/dist/runtime.js +82 -23
- package/dist/traits/botanical-lotus.cjs +60 -44
- package/dist/traits/botanical-lotus.js +2 -2
- package/dist/traits/index.cjs +481 -465
- package/dist/traits/index.js +5 -5
- package/package.json +20 -20
- package/dist/HoloScriptRuntime-CBYJX3LZ.js +0 -10
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkU7IUS5HJ_cjs = require('./chunk-U7IUS5HJ.cjs');
|
|
4
4
|
require('./chunk-EXUP2BUM.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-3OZACAFQ.cjs');
|
|
6
6
|
require('./chunk-UOIGFQXC.cjs');
|
|
7
|
-
require('./chunk-
|
|
7
|
+
require('./chunk-UPXIY52O.cjs');
|
|
8
8
|
require('./chunk-5S7RKFGR.cjs');
|
|
9
9
|
require('./chunk-OIQYIIO3.cjs');
|
|
10
10
|
require('./chunk-AIA52I7T.cjs');
|
|
@@ -20,19 +20,19 @@ require('./chunk-HCCQLAA4.cjs');
|
|
|
20
20
|
|
|
21
21
|
Object.defineProperty(exports, "GLTFPipeline", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkU7IUS5HJ_cjs.GLTFPipeline; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "createGLTFPipeline", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkU7IUS5HJ_cjs.createGLTFPipeline; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "generateScaleNormalMap", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkU7IUS5HJ_cjs.generateScaleNormalMap; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "generateScaleTexture", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkU7IUS5HJ_cjs.generateScaleTexture; }
|
|
36
36
|
});
|
|
37
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
38
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
37
|
+
//# sourceMappingURL=GLTFPipeline-76QTLF4Z.cjs.map
|
|
38
|
+
//# sourceMappingURL=GLTFPipeline-76QTLF4Z.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-
|
|
1
|
+
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-ZPYP4RBA.js';
|
|
2
2
|
import './chunk-EKBKLK7P.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-FS7BFHFN.js';
|
|
4
4
|
import './chunk-XT6JY5W5.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-QRPRIJ2W.js';
|
|
6
6
|
import './chunk-TJHVSBP2.js';
|
|
7
7
|
import './chunk-4C57PR42.js';
|
|
8
8
|
import './chunk-GZG4KA4E.js';
|
|
@@ -13,5 +13,5 @@ import './chunk-N75IH2HY.js';
|
|
|
13
13
|
import './chunk-MXFUTKCO.js';
|
|
14
14
|
import './chunk-VVKVQZI6.js';
|
|
15
15
|
import './chunk-OL46QLBJ.js';
|
|
16
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
17
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
16
|
+
//# sourceMappingURL=GLTFPipeline-ES5YMBGT.js.map
|
|
17
|
+
//# sourceMappingURL=GLTFPipeline-ES5YMBGT.js.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export { HoloScriptRuntime } from './chunk-KFIXE2MB.js';
|
|
2
|
+
import './chunk-XL6INWKT.js';
|
|
3
|
+
import './chunk-IELX2OKI.js';
|
|
4
|
+
import './chunk-URG2SJLK.js';
|
|
5
|
+
import './chunk-H652NHX5.js';
|
|
6
|
+
import './chunk-PHENW4MQ.js';
|
|
7
|
+
import './chunk-VVKVQZI6.js';
|
|
8
|
+
import './chunk-OL46QLBJ.js';
|
|
9
|
+
//# sourceMappingURL=HoloScriptRuntime-2DDYOPOR.js.map
|
|
10
|
+
//# sourceMappingURL=HoloScriptRuntime-2DDYOPOR.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDAKRKDZV_cjs = require('./chunk-DAKRKDZV.cjs');
|
|
4
4
|
require('./chunk-GJNCFRJU.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-YDPEHCCI.cjs');
|
|
6
6
|
require('./chunk-JIYN45TV.cjs');
|
|
7
7
|
require('./chunk-TVHSPJ4N.cjs');
|
|
8
8
|
require('./chunk-ILRBGFVD.cjs');
|
|
@@ -13,7 +13,7 @@ require('./chunk-HCCQLAA4.cjs');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "HoloScriptRuntime", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkDAKRKDZV_cjs.HoloScriptRuntime; }
|
|
17
17
|
});
|
|
18
|
-
//# sourceMappingURL=HoloScriptRuntime-
|
|
19
|
-
//# sourceMappingURL=HoloScriptRuntime-
|
|
18
|
+
//# sourceMappingURL=HoloScriptRuntime-ZGRR5EB3.cjs.map
|
|
19
|
+
//# sourceMappingURL=HoloScriptRuntime-ZGRR5EB3.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_R3FCompiler, MATERIAL_PRESETS } from './chunk-
|
|
1
|
+
import { init_R3FCompiler, MATERIAL_PRESETS } from './chunk-FS7BFHFN.js';
|
|
2
2
|
import { init_ProvenanceSemiring, ProvenanceSemiring } from './chunk-TJHVSBP2.js';
|
|
3
3
|
import { init_TraitCompositor, TraitCompositor } from './chunk-4C57PR42.js';
|
|
4
4
|
import { init_PlatformConditional, platformCategory, PLATFORM_CAPABILITIES, PLATFORM_CATEGORIES } from './chunk-GZG4KA4E.js';
|
|
@@ -6880,5 +6880,5 @@ function compilePipelineSource(source, options = {}) {
|
|
|
6880
6880
|
}
|
|
6881
6881
|
|
|
6882
6882
|
export { A2AAgentCardCompiler, A2AAgentCardCompiler_exports, BUILTIN_RESOURCES, CAPABILITY_HIERARCHY, CATEGORY_DEFAULT_EMBODIMENT, CompilerBridge, CrossRealityTraitRegistry, EFFECTS_BY_CATEGORY, EFFECT_TO_CAPABILITY, EffectChecker, EffectRow, GaussianSplattingCompiler, HANDOFF_PATH_RULES, LinearTypeChecker, MVC_BUDGET_CONSTRAINTS, NIRCompiler, NIRCompiler_exports, Native2DCompiler, Native2DCompiler_exports, PLATFORM_BUDGETS, PLATFORM_EMBODIMENT_OVERRIDES, ResourceBudgetAnalyzer, SHARED_SORT_SHADER_PATH, SpatialPartitionPass, TRAIT_EFFECTS, TRAIT_RESOURCE_COSTS, TRAIT_RESOURCE_MAP, TRUST_LEVEL_CAPABILITIES, ThreeJSCompiler, ThreeJSCompiler_exports, USDZPipeline, bestCategoryForTraits, buildSafetyReport, checkCapabilities, compilePipelineSource, compilePipelineSourceToNode, compilePipelineSourceToPython, compilePipelineToNode, compilePipelineToPython, createCrossRealityTraitRegistry, createEffectChecker, createGaussianSplattingCompiler, dangerLevel, deriveRequirements, detectMultiUserSharedSort, effectCategory, expandCapabilities, formatReport, generateCertificate, getCompilerBridge, getCrossRealityTraitRegistry, inferFromBuiltins, inferFromTraits, init_A2AAgentCardCompiler, init_NIRCompiler, init_Native2DCompiler, init_ThreeJSCompiler, isSafeTraitSet, knownBuiltins, knownTraits, quickSafetyCheck, resetCrossRealityTraitRegistry, runSafetyPass, selectModality, selectModalityForAll, spatialPartition };
|
|
6883
|
-
//# sourceMappingURL=chunk-
|
|
6884
|
-
//# sourceMappingURL=chunk-
|
|
6883
|
+
//# sourceMappingURL=chunk-3OYVN53V.js.map
|
|
6884
|
+
//# sourceMappingURL=chunk-3OYVN53V.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkUOIGFQXC_cjs = require('./chunk-UOIGFQXC.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkUPXIY52O_cjs = require('./chunk-UPXIY52O.cjs');
|
|
5
5
|
var chunk5S7RKFGR_cjs = require('./chunk-5S7RKFGR.cjs');
|
|
6
6
|
var chunkOIQYIIO3_cjs = require('./chunk-OIQYIIO3.cjs');
|
|
7
7
|
var chunkAIA52I7T_cjs = require('./chunk-AIA52I7T.cjs');
|
|
@@ -761,7 +761,7 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
761
761
|
chunkKKP7JKN4_cjs.init_AgentRBAC();
|
|
762
762
|
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
763
763
|
init_ObjectPool();
|
|
764
|
-
|
|
764
|
+
chunkUPXIY52O_cjs.init_BotanicalLotusTrait();
|
|
765
765
|
r3fNodePool = new exports.ASTNodePool(
|
|
766
766
|
() => ({ type: "", props: {} }),
|
|
767
767
|
(node) => {
|
|
@@ -2933,9 +2933,13 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2933
2933
|
* from `.holo` data instead of hand-authoring it.
|
|
2934
2934
|
*/
|
|
2935
2935
|
emitCompiledLotusMaterial(props, config) {
|
|
2936
|
-
const profile =
|
|
2937
|
-
props.__compiledMaterial =
|
|
2938
|
-
props.__uniformBindings =
|
|
2936
|
+
const profile = chunkUPXIY52O_cjs.createBotanicalLotusRenderProfile(config);
|
|
2937
|
+
props.__compiledMaterial = chunkUPXIY52O_cjs.buildLotusPetalMaterialSpec(profile);
|
|
2938
|
+
props.__uniformBindings = chunkUPXIY52O_cjs.LOTUS_PETAL_UNIFORM_BINDINGS;
|
|
2939
|
+
props.__petalGeometry = chunkUPXIY52O_cjs.buildLotusPetalGeometryData(
|
|
2940
|
+
chunkUPXIY52O_cjs.lotusPetalGeometryParamsFromProfile(profile)
|
|
2941
|
+
);
|
|
2942
|
+
props.__petalPlacements = chunkUPXIY52O_cjs.buildLotusFlowerPlacements(profile);
|
|
2939
2943
|
}
|
|
2940
2944
|
compileNode(node) {
|
|
2941
2945
|
if (node.type === "system") {
|
|
@@ -4398,5 +4402,5 @@ exports.init_ObjectPool = init_ObjectPool;
|
|
|
4398
4402
|
exports.init_R3FCompiler = init_R3FCompiler;
|
|
4399
4403
|
exports.init_visual = init_visual;
|
|
4400
4404
|
exports.registerAllPresets = registerAllPresets;
|
|
4401
|
-
//# sourceMappingURL=chunk-
|
|
4402
|
-
//# sourceMappingURL=chunk-
|
|
4405
|
+
//# sourceMappingURL=chunk-3OZACAFQ.cjs.map
|
|
4406
|
+
//# sourceMappingURL=chunk-3OZACAFQ.cjs.map
|
|
@@ -1,37 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkGJNCFRJU_cjs = require('./chunk-GJNCFRJU.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkYDPEHCCI_cjs = require('./chunk-YDPEHCCI.cjs');
|
|
5
5
|
var chunkJIYN45TV_cjs = require('./chunk-JIYN45TV.cjs');
|
|
6
6
|
var chunkTVHSPJ4N_cjs = require('./chunk-TVHSPJ4N.cjs');
|
|
7
7
|
var chunkILRBGFVD_cjs = require('./chunk-ILRBGFVD.cjs');
|
|
8
8
|
var chunkE7JP3BS3_cjs = require('./chunk-E7JP3BS3.cjs');
|
|
9
9
|
var ws = require('ws');
|
|
10
|
-
var orbital = require('@holoscript/engine/orbital');
|
|
11
10
|
var mesh = require('@holoscript/mesh');
|
|
12
|
-
var engineRuntime = require('@holoscript/engine/runtime');
|
|
13
11
|
var learning = require('@holoscript/framework/learning');
|
|
14
12
|
|
|
15
|
-
function _interopNamespace(e) {
|
|
16
|
-
if (e && e.__esModule) return e;
|
|
17
|
-
var n = Object.create(null);
|
|
18
|
-
if (e) {
|
|
19
|
-
Object.keys(e).forEach(function (k) {
|
|
20
|
-
if (k !== 'default') {
|
|
21
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
22
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
23
|
-
enumerable: true,
|
|
24
|
-
get: function () { return e[k]; }
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
}
|
|
29
|
-
n.default = e;
|
|
30
|
-
return Object.freeze(n);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
var engineRuntime__namespace = /*#__PURE__*/_interopNamespace(engineRuntime);
|
|
34
|
-
|
|
35
13
|
// src/HoloScriptRuntime.ts
|
|
36
14
|
chunkE7JP3BS3_cjs.init_safeJsonParse();
|
|
37
15
|
|
|
@@ -3028,6 +3006,17 @@ var ExtensionRegistry = class {
|
|
|
3028
3006
|
};
|
|
3029
3007
|
|
|
3030
3008
|
// src/HoloScriptRuntime.ts
|
|
3009
|
+
var TimeManager = chunkYDPEHCCI_cjs.lazyPeerSymbol(
|
|
3010
|
+
"@holoscript/engine/orbital",
|
|
3011
|
+
"TimeManager"
|
|
3012
|
+
);
|
|
3013
|
+
var AttentionEngine = chunkYDPEHCCI_cjs.lazyPeerSymbol(
|
|
3014
|
+
"@holoscript/engine/orbital",
|
|
3015
|
+
"AttentionEngine"
|
|
3016
|
+
);
|
|
3017
|
+
var engineRuntime = chunkYDPEHCCI_cjs.definePeerNamespace(
|
|
3018
|
+
"@holoscript/engine/runtime"
|
|
3019
|
+
);
|
|
3031
3020
|
var RUNTIME_SECURITY_LIMITS = {
|
|
3032
3021
|
maxExecutionDepth: 50,
|
|
3033
3022
|
maxTotalNodes: 1e3,
|
|
@@ -3054,15 +3043,15 @@ var HoloScriptRuntime = class {
|
|
|
3054
3043
|
this.context = createEmptyContext();
|
|
3055
3044
|
this.currentScope = { variables: this.context.variables };
|
|
3056
3045
|
this.builtinFunctions = this.initBuiltins(customFunctions);
|
|
3057
|
-
this.agentPool = new
|
|
3046
|
+
this.agentPool = new engineRuntime.ObjectPool(
|
|
3058
3047
|
() => new HoloScriptAgentRuntime(),
|
|
3059
3048
|
// Preallocation mode (optional args)
|
|
3060
3049
|
(agent) => agent.destroy(),
|
|
3061
3050
|
50
|
|
3062
3051
|
);
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3052
|
+
engineRuntime.registerVoiceSynthesizer("default", new engineRuntime.BaseVoiceSynthesizer());
|
|
3053
|
+
engineRuntime.registerEmotionDetector("default", new engineRuntime.LocalEmotionDetector());
|
|
3054
|
+
engineRuntime.registerSpeechRecognizer("default", new engineRuntime.MockSpeechRecognizer());
|
|
3066
3055
|
for (const [name, fn] of this.builtinFunctions) {
|
|
3067
3056
|
this.context.functions.set(name, ((...spreadArgs) => fn(spreadArgs)));
|
|
3068
3057
|
}
|
|
@@ -3085,7 +3074,7 @@ var HoloScriptRuntime = class {
|
|
|
3085
3074
|
});
|
|
3086
3075
|
}
|
|
3087
3076
|
});
|
|
3088
|
-
return
|
|
3077
|
+
return AttentionEngine.getTopKEntities(
|
|
3089
3078
|
observerPos,
|
|
3090
3079
|
entities,
|
|
3091
3080
|
topK
|
|
@@ -3094,8 +3083,8 @@ var HoloScriptRuntime = class {
|
|
|
3094
3083
|
this.traitHandlers.set("mitosis", chunkTVHSPJ4N_cjs.mitosisHandler);
|
|
3095
3084
|
this.traitHandlers.set("orbital", chunkTVHSPJ4N_cjs.orbitalHandler);
|
|
3096
3085
|
this.extensionRegistry = new ExtensionRegistry(this);
|
|
3097
|
-
|
|
3098
|
-
|
|
3086
|
+
engineRuntime.stateMachineInterpreter.setHookExecutor((code) => this.evaluateExpression(code));
|
|
3087
|
+
engineRuntime.stateMachineInterpreter.setGuardEvaluator((expr) => this.evaluateExpression(expr));
|
|
3099
3088
|
}
|
|
3100
3089
|
/**
|
|
3101
3090
|
* Initialize built-in functions
|
|
@@ -3557,10 +3546,10 @@ var HoloScriptRuntime = class {
|
|
|
3557
3546
|
// contract requires Promise<void> so trait-side emits can `await`
|
|
3558
3547
|
// through a unified interface. Wrap with Promise.resolve.
|
|
3559
3548
|
globalBusEmit: (event, data) => {
|
|
3560
|
-
|
|
3549
|
+
chunkYDPEHCCI_cjs.getSharedEventBus().emit(event, data);
|
|
3561
3550
|
return Promise.resolve();
|
|
3562
3551
|
},
|
|
3563
|
-
sendStateMachineEvent: (id, event) =>
|
|
3552
|
+
sendStateMachineEvent: (id, event) => engineRuntime.stateMachineInterpreter.sendEvent(id, event)
|
|
3564
3553
|
};
|
|
3565
3554
|
}
|
|
3566
3555
|
/**
|
|
@@ -3713,7 +3702,7 @@ var HoloScriptRuntime = class {
|
|
|
3713
3702
|
try {
|
|
3714
3703
|
this.wss = new ws.WebSocketServer({ port });
|
|
3715
3704
|
chunkILRBGFVD_cjs.logger.info(`[Visualizer] WebSocket server started on port ${port}`);
|
|
3716
|
-
this.timeManager = new
|
|
3705
|
+
this.timeManager = new TimeManager(/* @__PURE__ */ new Date());
|
|
3717
3706
|
this.timeManager.onUpdate((julianDate, date) => {
|
|
3718
3707
|
this.updateTraits(julianDate);
|
|
3719
3708
|
this.broadcast("time_update", {
|
|
@@ -3861,12 +3850,12 @@ var HoloScriptRuntime = class {
|
|
|
3861
3850
|
evaluateHoloExpression: (expr, scopeOverride) => this.evaluateHoloExpression(expr, scopeOverride),
|
|
3862
3851
|
telemetry: {
|
|
3863
3852
|
setGauge: (name, value) => {
|
|
3864
|
-
|
|
3853
|
+
chunkYDPEHCCI_cjs.telemetry.setGauge(name, value);
|
|
3865
3854
|
},
|
|
3866
3855
|
incrementCounter: (name, value, labels) => {
|
|
3867
|
-
|
|
3856
|
+
chunkYDPEHCCI_cjs.telemetry.incrementCounter(name, value, labels);
|
|
3868
3857
|
},
|
|
3869
|
-
measureLatency: (name, fn) =>
|
|
3858
|
+
measureLatency: (name, fn) => chunkYDPEHCCI_cjs.telemetry.measureLatency(name, fn),
|
|
3870
3859
|
executionDepth: () => this.context.executionStack.length
|
|
3871
3860
|
}
|
|
3872
3861
|
};
|
|
@@ -4306,5 +4295,5 @@ var HoloScriptRuntime = class {
|
|
|
4306
4295
|
|
|
4307
4296
|
exports.HoloScriptAgentRuntime = HoloScriptAgentRuntime;
|
|
4308
4297
|
exports.HoloScriptRuntime = HoloScriptRuntime;
|
|
4309
|
-
//# sourceMappingURL=chunk-
|
|
4310
|
-
//# sourceMappingURL=chunk-
|
|
4298
|
+
//# sourceMappingURL=chunk-DAKRKDZV.cjs.map
|
|
4299
|
+
//# sourceMappingURL=chunk-DAKRKDZV.cjs.map
|
|
@@ -3,7 +3,7 @@ import { webcamGazeHandler } from './chunk-TDCNJHWO.js';
|
|
|
3
3
|
import { SimulationSolverFactory } from './chunk-YQELFNJV.js';
|
|
4
4
|
import { createTensor, createNoOpInferenceAdapter, add, matmul } from './chunk-FHP6LXJS.js';
|
|
5
5
|
import { absorbHandler, hotReloadHandler, scriptTestHandler } from './chunk-2M2DPHKB.js';
|
|
6
|
-
import { init_BotanicalLotusTrait, botanicalLotusHandler } from './chunk-
|
|
6
|
+
import { init_BotanicalLotusTrait, botanicalLotusHandler } from './chunk-QRPRIJ2W.js';
|
|
7
7
|
import { mitosisHandler, embeddingHandler, jepObjectiveHandler, orbitalHandler } from './chunk-H652NHX5.js';
|
|
8
8
|
import { logger } from './chunk-PHENW4MQ.js';
|
|
9
9
|
import { init_safeJsonParse, readJson } from './chunk-VVKVQZI6.js';
|
|
@@ -56161,5 +56161,5 @@ var VRTraitRegistry = class {
|
|
|
56161
56161
|
var vrTraitRegistry = new VRTraitRegistry();
|
|
56162
56162
|
|
|
56163
56163
|
export { AIDriverTrait, ALL_CIRCUITS, ARKIT_MOUTH_SHAPES, AnimationTrait, BUILTIN_CIRCUITS, BarretenbergBackend, BehaviorTreeRunner, CARE_ETHICS_TRAIT, CRDTRoomTraitValidationError, CRDT_ROOM_TRAIT_DEFAULTS, CharacterTrait, ComponentType, ConsensusTrait, DEFAULT_ANIMATION_MAP, DEFAULT_AUTONOMY_GUARD_POLICY, DEFAULT_BEHAVIOR_FACT_TTL_ALERT_RULE, DEFAULT_EXPRESSION_PRESETS, DEFAULT_EXTERNAL_TIMEOUT_MS, DEFAULT_FOVEATED_BLEND, DEFAULT_FREQUENCY_BANDS, DEFAULT_REPUTATION_LEDGER_MAX_FACTS, DEFAULT_REPUTATION_LEDGER_TTL_DAYS, DEFAULT_SYNC_FIELD, DEFAULT_TRAIT_CONFIG2 as DEFAULT_TRAIT_CONFIG, DRAFT_DEFAULTS, DRAFT_TRAIT, DialogTrait, DraftManager, ECSWorld, EmotionDirectiveTrait, EnvironmentalAudioSystem, GEM_RESONANCE_ELEMENT_FREQUENCIES, GOAPPlanner, GOLDEN_ANGLE_DEG, IKTrait, InteractiveGraphTrait, JobQueuePersistence, JointTrait, LOCAL_WEBCAM_VIEW_ID, LipSyncTrait, LobbyTrait, MAX_EXPERIENCE_LOG_ENTRIES, MorphTrait, MultiviewGaussianRendererTrait, NetworkedTrait, OCULUS_VISEME_MAP, PIDControllerTrait, PressableTrait, REFERENCE_SPACE_CHAIN, REFUSED_CARE_OPTIMIZATION_TARGETS, RigidbodyTrait, SPATIAL_PREDICATE_CIRCUITS, SYNC_PRESETS, SandboxExecutionTrait, SlidableTrait, SpatialAwarenessTrait, SyncTierTrait, TIER_DEFAULTS, TriggerTrait, URDFRobotTrait, VRTraitRegistry, VoiceInputTrait, VoiceOutputTrait, VoronoiFractureSystem, WEATHER_PRESETS, aIDriverHandler, abTestHandler, abstain, accessibleHandler, advancedClothHandler, affinityHandler, agentDiscoveryHandler, agentMemoryHandler, agentMovementSystem, agentPortalHandler, aiInpaintingHandler, aiTextureGenHandler, aiUpscalingHandler, ainpcBrainHandler, alertHandler, altTextHandler, ambisonicsHandler, analyticsHandler, anchorHandler, applyFBXAxisConversion, applyStatModifiers, applyUSDAxisConversion, approve, audioMaterialHandler, audioOcclusionHandler, audioPortalHandler, auditLogHandler, autoVote, avatarEmbodimentHandler, behaviorTreeHandler, biofeedbackHandler, blackboardHandler, bloomReactiveHandler, bodyTrackingHandler, bufferHandler, buildBehaviorFactDisclosure, buoyancyHandler, cRDTRoomHandler, careEthicsHandler, chainHandler, characterHandler, choreographyHandler, circuitBreakerHandler, clothHandler, coLocatedHandler, compareSemVer, computeHandler, computePhyllotaxisPosition, computerUseHandler, consensusHandler, consentGateHandler, controlNetHandler, controllerInputHandler, controlnetHandler, createAIDriverTrait, createAnimationTrait, createApprovalRequest, createBaseMainnetAccountingAdapter, createBehaviorFactTtlAlertRule, createCRDTRoomTraitConfig, createCanBusAccountingAdapter, createCareField, createCharacterTrait, createConsensusTrait, createDialogTrait, createEdiX12AccountingAdapter, createEmotionDirectiveTrait, createHl7FhirAccountingAdapter, createIKTrait, createJointTrait, createLipSyncTrait, createLobbyTrait, createMorphTrait, createNetworkedTrait, createRepairLoop, createRigidbodyTrait, createRollbackCheckpoint, createSelectiveDisclosure, createSharedSpatialProvider, createSimulatedController, createSpatialAwarenessTrait, createTriggerTrait, createURDFRobotTrait, createVoiceInputTrait, createVoiceOutputTrait, cronHandler, dataBindingHandler, deriveBloomReactiveOutput, deriveLotusCenterPhase, deriveLotusGardenerSchedule, deriveLotusGenesisGate, deriveLotusGenesisSeed, deriveLotusPetalVisual, deriveLotusRootEmissive, deriveLotusStalkPosture, deriveWalkableNavmesh, destructionHandler, deviceProfiles, dialogHandler, dialogueHandler, diffusionRealtimeHandler, digitalTwinHandler, dropTableHandler, economyPrimitivesHandler, effectiveWeight, embeddingSearchHandler, emissiveAt, emotionDirectiveHandler, emotionHandler, emotionalVoiceHandler, encounterHandler, environmentalAudioHandler, evaluateAction, evaluateAutonomyGuard, evaluateCareEthicsTurn, extractLotusGenesisAnchorHash, extractPayload, eyeTrackedHandler, faceTrackingHandler, factionHandler, fbxHandler, feedbackLoopHandler, findReachablePath, findWalkableNodeAt, flowFieldHandler, fluidHandler, gardenerPulseJitter, gaussianSplatHandler, gemResonanceHandler, geospatialAnchorHandler, geospatialEnvHandler, gestureHandler, getActiveSessions, getAgentId, getAirAbsorption, getAuditLog, getCachedThingDescription, getCapabilities, getCareEthicsState, getEventHistory, getFBXAnimationStacks, getFBXBoneNames, getFBXMorphTargets, getFBXState, getGLTFAnimations, getGLTFMorphTargets, getGLTFState, getMQTTSinkClient, getMQTTSinkState, getMQTTSourceClient, getMQTTSourceState, getMyProposals, getMyVotes, getNegotiationMethods, getPredicateCircuitId, getSession, getUSDActiveVariant, getUSDAnimation, getUSDBlendShapes, getUSDJointNames, getUSDState, getUSDVariantSets, getWoTThingState, gltfHandler, goalOrientedHandler, gpuBufferHandler, gpuParticleHandler, gpuPhysicsHandler, granularMaterialHandler, handMenuHandler, handMeshAIHandler, handTrackingHandler, hapticCueHandler, hapticHandler, hasMQTTSinkTrait, hasMQTTSourceTrait, hasVoted, hasWoTThingTrait, hashGardenerSeed, hashSeed, headTrackedAudioHandler, heatmap3dHandler, highContrastHandler, hitlHandler, hrtfHandler, iKHandler, initiate, invalidateThingDescription, isConsentGranted, isFBXLoaded, isGLTFLoaded, isInSession, isMQTTSinkConnected, isMQTTSourceConnected, isReservedPaperId, isUSDLoaded, isUSDZ, isWalkableAt, jointHandler, layerAwareHandler, leave, lightEstimationHandler, lipSyncHandler, llmAgentHandler, lobbyHandler, localLLMHandler, lodSystem, lotusCenterHandler, lotusGardenerHandler, lotusGenesisTriggerHandler, lotusPetalHandler, lotusRootHandler, lotusStalkHandler, luckHandler, magnifiableHandler, marketplaceHandler, marketplaceIntegrationHandler, matchesCondition, materialXHandler, memoryHandler, meshDetectionHandler, messagingHandler, modifiedThreshold, morphHandler, motionReducedHandler, mqttSinkHandler, mqttSourceHandler, multiAgentHandler, multiviewGaussianRendererHandler, negotiationHandler, nerfHandler, networkedAvatarHandler, networkedHandler, neuralAnimationHandler, neuralForgeHandler, neuralLinkHandler, neuralUpscalingHandler, nftHandler, normalizeCenter, normalizeLotusSeed, normalizePointCloud, npcAIHandler, objectTrackingHandler, occlusionHandler, openXRHALHandler, parseCRDTRoomEntityConfig, parseCRDTRoomTraitConfig, partnerSDKHandler, patrolHandler, perceptionHandler, persistentAnchorHandler, photogrammetryHandler, phyllotaxisHandler, physicsSystem, pickByWeight, planeDetectionHandler, poiHandler, pointCloudHandler, portableHandler, poseEstimationHandler, pressableHandler, propose, publishToMQTTSink, quotaHandler, ragKnowledgeHandler, rateLimiterHandler, rbacHandler, realityKitMeshHandler, recordGratitude, rememberRelationalContext, remotePresenceHandler, renderNetworkHandler, reputationLedgerHandler, resolveBloomStage, resolveCRDTRoomTraitConfig, resolvePulseHz, resourceAccountingHandler, reverbZoneHandler, rigidbodyHandler, roadmapNodeHandler, roleHandler, rooftopAnchorHandler, roomMeshHandler, ropeHandler, runECSBenchmark, runResourceAccountingAudit, sceneGraphHandler, sceneReconstructionHandler, schedulerHandler, screenReaderHandler, scrollableHandler, seatedHandler, secondsToUSDTimeCode, seededRand01, sensorHandler, setAgentManifest, sharePlayHandler, sharedAnchorHandler, sharedWorldHandler, shouldFire, signRequest, skillRegistryHandler, slidableHandler, softBodyHandler, sonificationHandler, spatialAccessoryHandler, spatialAudioCueHandler, spatialAwarenessHandler, spatialNavigationHandler, spatialPersonaHandler, spectatorHandler, ssoOidcHandler, ssoSamlHandler, stableDiffusionHandler, stableResourceAccountingReceiptHash, statHandler, structuredLoggerHandler, subtitleHandler, syncTierHandler, tenantHandler, terrainAnchorHandler, timeoutGuardHandler, tokenGatedHandler, transformHandler, triggerHandler, urdfRobotHandler, usdHandler, usdTimeCodeToSeconds, userMonitorHandler, validateCRDTRoomTraitConfig, validateCareField, validateSemVer, vectorDBHandler, verifyWebhookSignature, visionHandler, voiceInputHandler, voiceMeshHandler, voiceOutputHandler, voiceProximityHandler, volumetricHandler, volumetricVideoHandler, volumetricWindowHandler, voronoiFractureHandler, vote, vpsHandler, vrTraitRegistry, walletHandler, wasmBridgeHandler, windHandler, withNegotiation, wotThingHandler, zkPrivateHandler };
|
|
56164
|
-
//# sourceMappingURL=chunk-
|
|
56165
|
-
//# sourceMappingURL=chunk-
|
|
56164
|
+
//# sourceMappingURL=chunk-DXWOTOUK.js.map
|
|
56165
|
+
//# sourceMappingURL=chunk-DXWOTOUK.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createHoloMapRuntime, HOLOMAP_DEFAULTS } from './chunk-
|
|
1
|
+
import { createHoloMapRuntime, HOLOMAP_DEFAULTS } from './chunk-LOGP3JWH.js';
|
|
2
2
|
|
|
3
3
|
// src/reconstruction/FusedAttentionKernel.ts
|
|
4
4
|
var FUSED_ATTENTION_WGSL = `
|
|
@@ -619,5 +619,5 @@ async function replayMobileSensorBundle(bundle, config = {}) {
|
|
|
619
619
|
}
|
|
620
620
|
|
|
621
621
|
export { ANCHOR_DEFAULTS, ARCORE_DEPTH_RECOMMENDED_RANGE_MILLIMETERS, HOLOMAP_MOBILE_SENSOR_BUNDLE_VERSION, TRAJECTORY_DEFAULTS, arCoreDepthFrameToMobileSensorFrame, cameraPoseFromColumnMajorTransform, createAnchorContext, createArCoreDepthMobileSensorBundle, createFusedAttentionBackend, createPagedKVCache, createTrajectoryMemory, mergeAnchoredProvenance, mobileSensorBundleToFrames, replayMobileSensorBundle, validateMobileSensorBundle };
|
|
622
|
-
//# sourceMappingURL=chunk-
|
|
623
|
-
//# sourceMappingURL=chunk-
|
|
622
|
+
//# sourceMappingURL=chunk-E47Z63DF.js.map
|
|
623
|
+
//# sourceMappingURL=chunk-E47Z63DF.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { init_material_properties_visual, init_surface_texture_visual, init_lighting_visual, init_gems_minerals_visual, init_fabric_cloth_visual, init_visual_effects_visual, init_age_condition_visual, init_water_fluid_visual, init_weather_phenomena_visual, init_emotion_mood_visual, init_size_scale_visual, init_environmental_biome_visual, init_magic_fantasy_visual, init_scifi_technology_visual, init_creatures_mythical_visual, init_nature_life_visual, init_furniture_decor_visual, init_construction_building_visual, init_containers_storage_visual, init_shape_form_visual, init_animals_visual, init_maritime_naval_visual, init_time_period_visual, init_accessibility_visual, init_accessibility_extended_visual, init_architecture_realestate_visual, init_audio_visual, init_cooking_food_visual, init_core_vr_interaction_visual, init_data_visualization_visual, init_education_learning_visual, init_environment_input_visual, init_game_mechanics_visual, init_geospatial_web3_visual, init_healthcare_medical_visual, init_humanoid_avatar_visual, init_intelligence_behavior_visual, init_interop_copresence_visual, init_iot_autonomous_agents_visual, init_locomotion_movement_visual, init_measurement_sensing_visual, init_media_analytics_visual, init_multisensory_haptic_visual, init_musical_sound_visual, init_music_performance_visual, init_narrative_storytelling_visual, init_networking_ai_visual, init_npc_roles_visual, init_object_interaction_visual, init_parser_core_ui_visual, init_physical_affordances_visual, init_physics_expansion_visual, init_procedural_generation_visual, init_resource_gathering_visual, init_safety_boundaries_visual, init_signs_communication_visual, init_simple_modifiers_visual, init_social_commerce_visual, init_social_effects_visual, init_sports_fitness_visual, init_state_persistence_visual, init_transportation_vehicles_visual, init_volumetric_webgpu_visual, init_weather_particles_visual, init_xr_platform_visual, MATERIAL_PROPERTIES_VISUALS, SURFACE_TEXTURE_VISUALS, LIGHTING_VISUALS, GEMS_MINERALS_VISUALS, FABRIC_CLOTH_VISUALS, VISUAL_EFFECTS_VISUALS, AGE_CONDITION_VISUALS, WATER_FLUID_VISUALS, WEATHER_PHENOMENA_VISUALS, EMOTION_MOOD_VISUALS, SIZE_SCALE_VISUALS, ENVIRONMENTAL_BIOME_VISUALS, MAGIC_FANTASY_VISUALS, SCIFI_TECHNOLOGY_VISUALS, CREATURES_MYTHICAL_VISUALS, NATURE_LIFE_VISUALS, FURNITURE_DECOR_VISUALS, CONSTRUCTION_BUILDING_VISUALS, CONTAINERS_STORAGE_VISUALS, SHAPE_FORM_VISUALS, ANIMALS_VISUALS, MARITIME_NAVAL_VISUALS, TIME_PERIOD_VISUALS, ACCESSIBILITY_VISUALS, ACCESSIBILITY_EXTENDED_VISUALS, ARCHITECTURE_REALESTATE_VISUALS, AUDIO_VISUALS, COOKING_FOOD_VISUALS, CORE_VR_INTERACTION_VISUALS, DATA_VISUALIZATION_VISUALS, EDUCATION_LEARNING_VISUALS, ENVIRONMENT_INPUT_VISUALS, GAME_MECHANICS_VISUALS, GEOSPATIAL_WEB3_VISUALS, HEALTHCARE_MEDICAL_VISUALS, HUMANOID_AVATAR_VISUALS, INTELLIGENCE_BEHAVIOR_VISUALS, INTEROP_COPRESENCE_VISUALS, IOT_AUTONOMOUS_AGENTS_VISUALS, LOCOMOTION_MOVEMENT_VISUALS, MEASUREMENT_SENSING_VISUALS, MEDIA_ANALYTICS_VISUALS, MULTISENSORY_HAPTIC_VISUALS, MUSICAL_SOUND_VISUALS, MUSIC_PERFORMANCE_VISUALS, NARRATIVE_STORYTELLING_VISUALS, NETWORKING_AI_VISUALS, NPC_ROLES_VISUALS, OBJECT_INTERACTION_VISUALS, PARSER_CORE_UI_VISUALS, PHYSICAL_AFFORDANCES_VISUALS, PHYSICS_EXPANSION_VISUALS, PROCEDURAL_GENERATION_VISUALS, RESOURCE_GATHERING_VISUALS, SAFETY_BOUNDARIES_VISUALS, SIGNS_COMMUNICATION_VISUALS, SIMPLE_MODIFIERS_VISUALS, SOCIAL_COMMERCE_VISUALS, SOCIAL_EFFECTS_VISUALS, SPORTS_FITNESS_VISUALS, STATE_PERSISTENCE_VISUALS, TRANSPORTATION_VEHICLES_VISUALS, VOLUMETRIC_WEBGPU_VISUALS, WEATHER_PARTICLES_VISUALS, XR_PLATFORM_VISUALS } from './chunk-XT6JY5W5.js';
|
|
2
|
-
import { init_BotanicalLotusTrait, createBotanicalLotusRenderProfile, buildLotusPetalMaterialSpec, LOTUS_PETAL_UNIFORM_BINDINGS } from './chunk-
|
|
2
|
+
import { init_BotanicalLotusTrait, createBotanicalLotusRenderProfile, buildLotusPetalMaterialSpec, LOTUS_PETAL_UNIFORM_BINDINGS, buildLotusPetalGeometryData, lotusPetalGeometryParamsFromProfile, buildLotusFlowerPlacements } from './chunk-QRPRIJ2W.js';
|
|
3
3
|
import { init_ProvenanceSemiring, ProvenanceSemiring } from './chunk-TJHVSBP2.js';
|
|
4
4
|
import { init_TraitVisualRegistry, init_types, init_TraitCompositor, TraitCompositor, TraitVisualRegistry } from './chunk-4C57PR42.js';
|
|
5
5
|
import { init_PlatformConditionalCompilerMixin, createPlatformTarget, PlatformConditionalCompilerMixin } from './chunk-GZG4KA4E.js';
|
|
@@ -2934,6 +2934,10 @@ var init_R3FCompiler = __esm({
|
|
|
2934
2934
|
const profile = createBotanicalLotusRenderProfile(config);
|
|
2935
2935
|
props.__compiledMaterial = buildLotusPetalMaterialSpec(profile);
|
|
2936
2936
|
props.__uniformBindings = LOTUS_PETAL_UNIFORM_BINDINGS;
|
|
2937
|
+
props.__petalGeometry = buildLotusPetalGeometryData(
|
|
2938
|
+
lotusPetalGeometryParamsFromProfile(profile)
|
|
2939
|
+
);
|
|
2940
|
+
props.__petalPlacements = buildLotusFlowerPlacements(profile);
|
|
2937
2941
|
}
|
|
2938
2942
|
compileNode(node) {
|
|
2939
2943
|
if (node.type === "system") {
|
|
@@ -4392,5 +4396,5 @@ var init_R3FCompiler = __esm({
|
|
|
4392
4396
|
});
|
|
4393
4397
|
|
|
4394
4398
|
export { ASTNodePool, ENVIRONMENT_PRESETS, MATERIAL_PRESETS, QUALITY_TIER_SCALES, R3FCompiler, R3FCompiler_exports, UI_COMPONENT_PRESETS, init_ObjectPool, init_R3FCompiler, init_visual, registerAllPresets };
|
|
4395
|
-
//# sourceMappingURL=chunk-
|
|
4396
|
-
//# sourceMappingURL=chunk-
|
|
4399
|
+
//# sourceMappingURL=chunk-FS7BFHFN.js.map
|
|
4400
|
+
//# sourceMappingURL=chunk-FS7BFHFN.js.map
|
|
@@ -4,9 +4,9 @@ var chunkLM2VU56C_cjs = require('./chunk-LM2VU56C.cjs');
|
|
|
4
4
|
var chunkCIWWXYHZ_cjs = require('./chunk-CIWWXYHZ.cjs');
|
|
5
5
|
|
|
6
6
|
// src/version.ts
|
|
7
|
-
var HOLOSCRIPT_VERSION = "8.0.
|
|
8
|
-
var GIT_COMMIT_SHA = "
|
|
9
|
-
var BUILD_TIMESTAMP = "2026-06-
|
|
7
|
+
var HOLOSCRIPT_VERSION = "8.0.2" ;
|
|
8
|
+
var GIT_COMMIT_SHA = "9c4778c0c" ;
|
|
9
|
+
var BUILD_TIMESTAMP = "2026-06-04T23:03:35.165Z" ;
|
|
10
10
|
function getVersionString() {
|
|
11
11
|
const sha = `+${GIT_COMMIT_SHA}` ;
|
|
12
12
|
return `${HOLOSCRIPT_VERSION}${sha}`;
|
|
@@ -2192,5 +2192,5 @@ exports.putCachedWeightBlob = putCachedWeightBlob;
|
|
|
2192
2192
|
exports.resetHoloMapTelemetryForTests = resetHoloMapTelemetryForTests;
|
|
2193
2193
|
exports.runHoloMapMicroEncoderCpu = runHoloMapMicroEncoderCpu;
|
|
2194
2194
|
exports.tryCreateHoloMapEncoderDevice = tryCreateHoloMapEncoderDevice;
|
|
2195
|
-
//# sourceMappingURL=chunk-
|
|
2196
|
-
//# sourceMappingURL=chunk-
|
|
2195
|
+
//# sourceMappingURL=chunk-FXIO6GHT.cjs.map
|
|
2196
|
+
//# sourceMappingURL=chunk-FXIO6GHT.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { createRequire } from 'module';
|
|
2
2
|
|
|
3
3
|
// src/events/EventBus.ts
|
|
4
4
|
var EventBus = class {
|
|
@@ -203,10 +203,121 @@ var TelemetryRegistry = class {
|
|
|
203
203
|
}
|
|
204
204
|
};
|
|
205
205
|
var telemetry = new TelemetryRegistry();
|
|
206
|
+
var _requirePeer;
|
|
207
|
+
function requirePeer(specifier) {
|
|
208
|
+
if (!_requirePeer) {
|
|
209
|
+
if (typeof createRequire !== "function") {
|
|
210
|
+
throw new Error(
|
|
211
|
+
"@holoscript/core: optional peer symbols require a Node.js environment (`createRequire` is unavailable in this bundle). The core parser and compiler surface work without the optional peers."
|
|
212
|
+
);
|
|
213
|
+
}
|
|
214
|
+
_requirePeer = createRequire(import.meta.url);
|
|
215
|
+
}
|
|
216
|
+
return _requirePeer(specifier);
|
|
217
|
+
}
|
|
218
|
+
var peerCache = /* @__PURE__ */ new Map();
|
|
219
|
+
function loadPeer(specifier) {
|
|
220
|
+
const cached = peerCache.get(specifier);
|
|
221
|
+
if (cached) return cached;
|
|
222
|
+
let mod;
|
|
223
|
+
try {
|
|
224
|
+
mod = requirePeer(specifier);
|
|
225
|
+
} catch (err) {
|
|
226
|
+
const e = err;
|
|
227
|
+
const pkg = specifier.startsWith("@") ? specifier.split("/").slice(0, 2).join("/") : specifier.split("/")[0];
|
|
228
|
+
if (e && (e.code === "ERR_MODULE_NOT_FOUND" || e.code === "MODULE_NOT_FOUND")) {
|
|
229
|
+
throw new Error(
|
|
230
|
+
`@holoscript/core: optional peer "${pkg}" is required to use this symbol but is not installed. Run \`npm install ${pkg}\` (or your package manager's equivalent) to enable it. The core parser and compiler surface work without it.`
|
|
231
|
+
);
|
|
232
|
+
}
|
|
233
|
+
throw err;
|
|
234
|
+
}
|
|
235
|
+
peerCache.set(specifier, mod);
|
|
236
|
+
return mod;
|
|
237
|
+
}
|
|
238
|
+
function resolveSymbol(specifier, name) {
|
|
239
|
+
const mod = loadPeer(specifier);
|
|
240
|
+
if (!(name in mod)) {
|
|
241
|
+
const pkg = specifier.startsWith("@") ? specifier.split("/").slice(0, 2).join("/") : specifier.split("/")[0];
|
|
242
|
+
throw new Error(
|
|
243
|
+
`@holoscript/core: symbol "${name}" was not found in optional peer "${specifier}" (package "${pkg}"). The installed peer version may be incompatible with this @holoscript/core release.`
|
|
244
|
+
);
|
|
245
|
+
}
|
|
246
|
+
return mod[name];
|
|
247
|
+
}
|
|
248
|
+
function lazyPeerSymbol(specifier, name) {
|
|
249
|
+
const target = function lazyPeerProxyTarget() {
|
|
250
|
+
};
|
|
251
|
+
let resolved;
|
|
252
|
+
const real = () => {
|
|
253
|
+
if (resolved === void 0) resolved = resolveSymbol(specifier, name);
|
|
254
|
+
return resolved;
|
|
255
|
+
};
|
|
256
|
+
const tryReal = () => {
|
|
257
|
+
try {
|
|
258
|
+
return real();
|
|
259
|
+
} catch {
|
|
260
|
+
return void 0;
|
|
261
|
+
}
|
|
262
|
+
};
|
|
263
|
+
return new Proxy(target, {
|
|
264
|
+
apply(_t, thisArg, args) {
|
|
265
|
+
return Reflect.apply(real(), thisArg, args);
|
|
266
|
+
},
|
|
267
|
+
construct(_t, args, newTarget) {
|
|
268
|
+
return Reflect.construct(real(), args, newTarget);
|
|
269
|
+
},
|
|
270
|
+
get(_t, prop) {
|
|
271
|
+
const r = tryReal();
|
|
272
|
+
if (r == null) return Reflect.get(_t, prop);
|
|
273
|
+
const v = Reflect.get(r, prop, r);
|
|
274
|
+
return typeof v === "function" ? v.bind(r) : v;
|
|
275
|
+
},
|
|
276
|
+
has(_t, prop) {
|
|
277
|
+
const r = tryReal();
|
|
278
|
+
return Reflect.has(r ?? _t, prop);
|
|
279
|
+
},
|
|
280
|
+
getPrototypeOf(_t) {
|
|
281
|
+
const r = tryReal();
|
|
282
|
+
return Reflect.getPrototypeOf(r ?? _t);
|
|
283
|
+
},
|
|
284
|
+
// ownKeys / getOwnPropertyDescriptor MUST satisfy Proxy invariants (the
|
|
285
|
+
// function target has a non-configurable `prototype` key), so on resolution
|
|
286
|
+
// failure delegate to the TARGET — never return [] / undefined, which throws.
|
|
287
|
+
ownKeys(_t) {
|
|
288
|
+
const r = tryReal();
|
|
289
|
+
return Reflect.ownKeys(r ?? _t);
|
|
290
|
+
},
|
|
291
|
+
getOwnPropertyDescriptor(_t, prop) {
|
|
292
|
+
const r = tryReal();
|
|
293
|
+
return Reflect.getOwnPropertyDescriptor(r ?? _t, prop);
|
|
294
|
+
}
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
function definePeerNamespace(specifier) {
|
|
298
|
+
return new Proxy(
|
|
299
|
+
{},
|
|
300
|
+
{
|
|
301
|
+
get(_t, prop) {
|
|
302
|
+
if (typeof prop !== "string") return void 0;
|
|
303
|
+
return loadPeer(specifier)[prop];
|
|
304
|
+
},
|
|
305
|
+
has(_t, prop) {
|
|
306
|
+
return typeof prop === "string" && prop in loadPeer(specifier);
|
|
307
|
+
},
|
|
308
|
+
ownKeys() {
|
|
309
|
+
return Reflect.ownKeys(loadPeer(specifier));
|
|
310
|
+
},
|
|
311
|
+
getOwnPropertyDescriptor(_t, prop) {
|
|
312
|
+
if (typeof prop !== "string") return void 0;
|
|
313
|
+
const mod = loadPeer(specifier);
|
|
314
|
+
if (!(prop in mod)) return void 0;
|
|
315
|
+
return { enumerable: true, configurable: true, value: mod[prop] };
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
);
|
|
319
|
+
}
|
|
206
320
|
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
exports.telemetry = telemetry;
|
|
211
|
-
//# sourceMappingURL=chunk-SMIWS6DE.cjs.map
|
|
212
|
-
//# sourceMappingURL=chunk-SMIWS6DE.cjs.map
|
|
321
|
+
export { EventBus, definePeerNamespace, getSharedEventBus, lazyPeerSymbol, setSharedEventBus, telemetry };
|
|
322
|
+
//# sourceMappingURL=chunk-IELX2OKI.js.map
|
|
323
|
+
//# sourceMappingURL=chunk-IELX2OKI.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDAKRKDZV_cjs = require('./chunk-DAKRKDZV.cjs');
|
|
4
4
|
var chunkJIYN45TV_cjs = require('./chunk-JIYN45TV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/HoloScriptDebugger.ts
|
|
@@ -21,7 +21,7 @@ var HoloScriptDebugger = class {
|
|
|
21
21
|
callStack: [],
|
|
22
22
|
breakpoints: []
|
|
23
23
|
};
|
|
24
|
-
this.runtime = runtime || new
|
|
24
|
+
this.runtime = runtime || new chunkDAKRKDZV_cjs.HoloScriptRuntime();
|
|
25
25
|
this.parser = new chunkJIYN45TV_cjs.HoloScriptCodeParser();
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
@@ -420,5 +420,5 @@ function createDebugger(runtime) {
|
|
|
420
420
|
|
|
421
421
|
exports.HoloScriptDebugger = HoloScriptDebugger;
|
|
422
422
|
exports.createDebugger = createDebugger;
|
|
423
|
-
//# sourceMappingURL=chunk-
|
|
424
|
-
//# sourceMappingURL=chunk-
|
|
423
|
+
//# sourceMappingURL=chunk-IMGDUSTT.cjs.map
|
|
424
|
+
//# sourceMappingURL=chunk-IMGDUSTT.cjs.map
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { ReactiveState, ExpressionEvaluator, createState } from './chunk-XL6INWKT.js';
|
|
2
|
-
import { getSharedEventBus, telemetry } from './chunk-
|
|
2
|
+
import { lazyPeerSymbol, definePeerNamespace, getSharedEventBus, telemetry } from './chunk-IELX2OKI.js';
|
|
3
3
|
import { HoloScriptCodeParser } from './chunk-URG2SJLK.js';
|
|
4
4
|
import { JEPAPredictor, jepObjectiveHandler, mitosisHandler, orbitalHandler } from './chunk-H652NHX5.js';
|
|
5
5
|
import { logger } from './chunk-PHENW4MQ.js';
|
|
6
6
|
import { init_safeJsonParse, readJson } from './chunk-VVKVQZI6.js';
|
|
7
7
|
import { WebSocketServer, WebSocket } from 'ws';
|
|
8
|
-
import { AttentionEngine, TimeManager } from '@holoscript/engine/orbital';
|
|
9
8
|
import { StateSynchronizer } from '@holoscript/mesh';
|
|
10
|
-
import * as engineRuntime from '@holoscript/engine/runtime';
|
|
11
9
|
import { MemoryConsolidator } from '@holoscript/framework/learning';
|
|
12
10
|
|
|
13
11
|
// src/HoloScriptRuntime.ts
|
|
@@ -3006,6 +3004,17 @@ var ExtensionRegistry = class {
|
|
|
3006
3004
|
};
|
|
3007
3005
|
|
|
3008
3006
|
// src/HoloScriptRuntime.ts
|
|
3007
|
+
var TimeManager = lazyPeerSymbol(
|
|
3008
|
+
"@holoscript/engine/orbital",
|
|
3009
|
+
"TimeManager"
|
|
3010
|
+
);
|
|
3011
|
+
var AttentionEngine = lazyPeerSymbol(
|
|
3012
|
+
"@holoscript/engine/orbital",
|
|
3013
|
+
"AttentionEngine"
|
|
3014
|
+
);
|
|
3015
|
+
var engineRuntime = definePeerNamespace(
|
|
3016
|
+
"@holoscript/engine/runtime"
|
|
3017
|
+
);
|
|
3009
3018
|
var RUNTIME_SECURITY_LIMITS = {
|
|
3010
3019
|
maxExecutionDepth: 50,
|
|
3011
3020
|
maxTotalNodes: 1e3,
|
|
@@ -4283,5 +4292,5 @@ var HoloScriptRuntime = class {
|
|
|
4283
4292
|
};
|
|
4284
4293
|
|
|
4285
4294
|
export { HoloScriptAgentRuntime, HoloScriptRuntime };
|
|
4286
|
-
//# sourceMappingURL=chunk-
|
|
4287
|
-
//# sourceMappingURL=chunk-
|
|
4295
|
+
//# sourceMappingURL=chunk-KFIXE2MB.js.map
|
|
4296
|
+
//# sourceMappingURL=chunk-KFIXE2MB.js.map
|
|
@@ -435,7 +435,7 @@ function uint8ArrayToBase64(data) {
|
|
|
435
435
|
return btoa(binary);
|
|
436
436
|
}
|
|
437
437
|
async function importGLTFPipeline() {
|
|
438
|
-
return import('./GLTFPipeline-
|
|
438
|
+
return import('./GLTFPipeline-ES5YMBGT.js');
|
|
439
439
|
}
|
|
440
440
|
function registerGLTFTools(server) {
|
|
441
441
|
for (const tool of GLTF_PIPELINE_TOOLS) {
|
|
@@ -445,5 +445,5 @@ function registerGLTFTools(server) {
|
|
|
445
445
|
var GLTFPipelineMCPTool_default = handleGLTFToolCall;
|
|
446
446
|
|
|
447
447
|
export { GLTFPipelineMCPTool_default, GLTF_PIPELINE_TOOLS, analyzeOptimizations, handleGLTFToolCall, inspectComposition, registerGLTFTools, validateForGLTF };
|
|
448
|
-
//# sourceMappingURL=chunk-
|
|
449
|
-
//# sourceMappingURL=chunk-
|
|
448
|
+
//# sourceMappingURL=chunk-LCEXRE5Z.js.map
|
|
449
|
+
//# sourceMappingURL=chunk-LCEXRE5Z.js.map
|