@holoscript/core 8.0.2 → 8.0.3
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/bin/holoscript.cjs +0 -0
- package/dist/{GLTFPipeline-ES5YMBGT.js → GLTFPipeline-PN3DN6FO.js} +4 -4
- package/dist/{GLTFPipeline-76QTLF4Z.cjs → GLTFPipeline-W45UOCNY.cjs} +8 -8
- package/dist/{HoloScriptRuntime-2DDYOPOR.js → HoloScriptRuntime-ACDFKVVH.js} +3 -3
- package/dist/{HoloScriptRuntime-ZGRR5EB3.cjs → HoloScriptRuntime-ON2OQVEF.cjs} +4 -4
- package/dist/{chunk-RMTPN3G4.cjs → chunk-33AZRKKQ.cjs} +5 -5
- package/dist/{chunk-FS7BFHFN.js → chunk-37ZNYWWW.js} +19 -2
- package/dist/{chunk-U7IUS5HJ.cjs → chunk-5PLWAEQQ.cjs} +8 -8
- package/dist/{chunk-DAKRKDZV.cjs → chunk-6DO5IZ5N.cjs} +16 -8
- package/dist/{chunk-O7WLJ53D.cjs → chunk-6S5VS7BF.cjs} +3 -3
- package/dist/{chunk-E47Z63DF.js → chunk-DHXLCJJN.js} +3 -3
- package/dist/{chunk-FXIO6GHT.cjs → chunk-ELEHNDDS.cjs} +5 -5
- package/dist/{chunk-LCEXRE5Z.js → chunk-JYTTPNKK.js} +3 -3
- package/dist/{chunk-NNFA2C3Y.js → chunk-MVPBWHAC.js} +3 -3
- package/dist/{chunk-KFIXE2MB.js → chunk-QACVP4PM.js} +12 -4
- package/dist/{chunk-3OYVN53V.js → chunk-QSCGZ4DW.js} +3 -3
- package/dist/{chunk-ZPYP4RBA.js → chunk-RLLNOI3T.js} +3 -3
- package/dist/{chunk-LKBTCABN.cjs → chunk-U5GLSXSD.cjs} +6 -6
- package/dist/{chunk-IMGDUSTT.cjs → chunk-UWXE23BT.cjs} +4 -4
- package/dist/{chunk-3OZACAFQ.cjs → chunk-VDDJUO4G.cjs} +19 -2
- package/dist/{chunk-LOGP3JWH.js → chunk-XF3AATZJ.js} +5 -5
- package/dist/compiler/gltf-pipeline.cjs +8 -8
- package/dist/compiler/gltf-pipeline.js +1 -1
- package/dist/compiler/index.cjs +35 -35
- package/dist/compiler/index.js +5 -5
- package/dist/compiler/r3f.cjs +7 -7
- package/dist/compiler/r3f.js +2 -2
- package/dist/debugger.cjs +4 -4
- package/dist/debugger.js +2 -2
- package/dist/index.cjs +118 -118
- package/dist/index.js +8 -8
- package/dist/reconstruction/index.cjs +31 -31
- package/dist/reconstruction/index.js +2 -2
- package/dist/runtime.cjs +6 -6
- package/dist/runtime.js +2 -2
- package/dist/traits/index.cjs +4 -4
- package/dist/traits/index.js +1 -1
- package/package.json +66 -65
- package/LICENSE +0 -21
package/bin/holoscript.cjs
CHANGED
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-
|
|
1
|
+
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-RLLNOI3T.js';
|
|
2
2
|
import './chunk-EKBKLK7P.js';
|
|
3
|
-
import './chunk-
|
|
3
|
+
import './chunk-37ZNYWWW.js';
|
|
4
4
|
import './chunk-XT6JY5W5.js';
|
|
5
5
|
import './chunk-QRPRIJ2W.js';
|
|
6
6
|
import './chunk-TJHVSBP2.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-PN3DN6FO.js.map
|
|
17
|
+
//# sourceMappingURL=GLTFPipeline-PN3DN6FO.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk5PLWAEQQ_cjs = require('./chunk-5PLWAEQQ.cjs');
|
|
4
4
|
require('./chunk-EXUP2BUM.cjs');
|
|
5
|
-
require('./chunk-
|
|
5
|
+
require('./chunk-VDDJUO4G.cjs');
|
|
6
6
|
require('./chunk-UOIGFQXC.cjs');
|
|
7
7
|
require('./chunk-UPXIY52O.cjs');
|
|
8
8
|
require('./chunk-5S7RKFGR.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 chunk5PLWAEQQ_cjs.GLTFPipeline; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "createGLTFPipeline", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk5PLWAEQQ_cjs.createGLTFPipeline; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "generateScaleNormalMap", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk5PLWAEQQ_cjs.generateScaleNormalMap; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "generateScaleTexture", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk5PLWAEQQ_cjs.generateScaleTexture; }
|
|
36
36
|
});
|
|
37
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
38
|
-
//# sourceMappingURL=GLTFPipeline-
|
|
37
|
+
//# sourceMappingURL=GLTFPipeline-W45UOCNY.cjs.map
|
|
38
|
+
//# sourceMappingURL=GLTFPipeline-W45UOCNY.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { HoloScriptRuntime } from './chunk-
|
|
1
|
+
export { HoloScriptRuntime } from './chunk-QACVP4PM.js';
|
|
2
2
|
import './chunk-XL6INWKT.js';
|
|
3
3
|
import './chunk-IELX2OKI.js';
|
|
4
4
|
import './chunk-URG2SJLK.js';
|
|
@@ -6,5 +6,5 @@ import './chunk-H652NHX5.js';
|
|
|
6
6
|
import './chunk-PHENW4MQ.js';
|
|
7
7
|
import './chunk-VVKVQZI6.js';
|
|
8
8
|
import './chunk-OL46QLBJ.js';
|
|
9
|
-
//# sourceMappingURL=HoloScriptRuntime-
|
|
10
|
-
//# sourceMappingURL=HoloScriptRuntime-
|
|
9
|
+
//# sourceMappingURL=HoloScriptRuntime-ACDFKVVH.js.map
|
|
10
|
+
//# sourceMappingURL=HoloScriptRuntime-ACDFKVVH.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6DO5IZ5N_cjs = require('./chunk-6DO5IZ5N.cjs');
|
|
4
4
|
require('./chunk-GJNCFRJU.cjs');
|
|
5
5
|
require('./chunk-YDPEHCCI.cjs');
|
|
6
6
|
require('./chunk-JIYN45TV.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 chunk6DO5IZ5N_cjs.HoloScriptRuntime; }
|
|
17
17
|
});
|
|
18
|
-
//# sourceMappingURL=HoloScriptRuntime-
|
|
19
|
-
//# sourceMappingURL=HoloScriptRuntime-
|
|
18
|
+
//# sourceMappingURL=HoloScriptRuntime-ON2OQVEF.cjs.map
|
|
19
|
+
//# sourceMappingURL=HoloScriptRuntime-ON2OQVEF.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkELEHNDDS_cjs = require('./chunk-ELEHNDDS.cjs');
|
|
4
4
|
|
|
5
5
|
// src/reconstruction/FusedAttentionKernel.ts
|
|
6
6
|
var FUSED_ATTENTION_WGSL = `
|
|
@@ -585,9 +585,9 @@ function mobileSensorBundleToFrames(bundle) {
|
|
|
585
585
|
}
|
|
586
586
|
async function replayMobileSensorBundle(bundle, config = {}) {
|
|
587
587
|
const frames = mobileSensorBundleToFrames(bundle);
|
|
588
|
-
const runtime =
|
|
588
|
+
const runtime = chunkELEHNDDS_cjs.createHoloMapRuntime();
|
|
589
589
|
await runtime.init({
|
|
590
|
-
...
|
|
590
|
+
...chunkELEHNDDS_cjs.HOLOMAP_DEFAULTS,
|
|
591
591
|
seed: 0,
|
|
592
592
|
modelHash: bundle.bundleId,
|
|
593
593
|
videoHash: bundle.bundleId,
|
|
@@ -635,5 +635,5 @@ exports.mergeAnchoredProvenance = mergeAnchoredProvenance;
|
|
|
635
635
|
exports.mobileSensorBundleToFrames = mobileSensorBundleToFrames;
|
|
636
636
|
exports.replayMobileSensorBundle = replayMobileSensorBundle;
|
|
637
637
|
exports.validateMobileSensorBundle = validateMobileSensorBundle;
|
|
638
|
-
//# sourceMappingURL=chunk-
|
|
639
|
-
//# sourceMappingURL=chunk-
|
|
638
|
+
//# sourceMappingURL=chunk-33AZRKKQ.cjs.map
|
|
639
|
+
//# sourceMappingURL=chunk-33AZRKKQ.cjs.map
|
|
@@ -2938,6 +2938,23 @@ var init_R3FCompiler = __esm({
|
|
|
2938
2938
|
lotusPetalGeometryParamsFromProfile(profile)
|
|
2939
2939
|
);
|
|
2940
2940
|
props.__petalPlacements = buildLotusFlowerPlacements(profile);
|
|
2941
|
+
props.__lotusScene = {
|
|
2942
|
+
stemHeight: 2.4,
|
|
2943
|
+
colors: {
|
|
2944
|
+
water: profile.colors.water,
|
|
2945
|
+
leaf: profile.colors.leaf,
|
|
2946
|
+
leafDark: profile.colors.leaf_dark
|
|
2947
|
+
},
|
|
2948
|
+
// The flower CENTRE: the seed pod (receptacle) ringed by stamen filaments —
|
|
2949
|
+
// the iconic lotus centre, colours + count from the profile.
|
|
2950
|
+
center: {
|
|
2951
|
+
seedPod: profile.colors.seed_pod,
|
|
2952
|
+
seedPodRim: profile.colors.seed_pod_rim,
|
|
2953
|
+
stamen: profile.colors.stamen,
|
|
2954
|
+
stamenTip: profile.colors.stamen_tip,
|
|
2955
|
+
stamenCount: profile.stamen_filament_count
|
|
2956
|
+
}
|
|
2957
|
+
};
|
|
2941
2958
|
}
|
|
2942
2959
|
compileNode(node) {
|
|
2943
2960
|
if (node.type === "system") {
|
|
@@ -4396,5 +4413,5 @@ var init_R3FCompiler = __esm({
|
|
|
4396
4413
|
});
|
|
4397
4414
|
|
|
4398
4415
|
export { ASTNodePool, ENVIRONMENT_PRESETS, MATERIAL_PRESETS, QUALITY_TIER_SCALES, R3FCompiler, R3FCompiler_exports, UI_COMPONENT_PRESETS, init_ObjectPool, init_R3FCompiler, init_visual, registerAllPresets };
|
|
4399
|
-
//# sourceMappingURL=chunk-
|
|
4400
|
-
//# sourceMappingURL=chunk-
|
|
4416
|
+
//# sourceMappingURL=chunk-37ZNYWWW.js.map
|
|
4417
|
+
//# sourceMappingURL=chunk-37ZNYWWW.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkEXUP2BUM_cjs = require('./chunk-EXUP2BUM.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkVDDJUO4G_cjs = require('./chunk-VDDJUO4G.cjs');
|
|
5
5
|
var chunkOIQYIIO3_cjs = require('./chunk-OIQYIIO3.cjs');
|
|
6
6
|
var chunkHKEXJUWS_cjs = require('./chunk-HKEXJUWS.cjs');
|
|
7
7
|
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
@@ -9,7 +9,7 @@ var ans = require('@holoscript/core-types/ans');
|
|
|
9
9
|
|
|
10
10
|
// src/compiler/GLTFPipeline.ts
|
|
11
11
|
chunkOIQYIIO3_cjs.init_TraitCompositor();
|
|
12
|
-
|
|
12
|
+
chunkVDDJUO4G_cjs.init_R3FCompiler();
|
|
13
13
|
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
14
14
|
chunkHKEXJUWS_cjs.init_DomainBlockCompilerMixin();
|
|
15
15
|
|
|
@@ -120,8 +120,8 @@ function declareExtensions(gltf) {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
// src/compiler/GLTFPipeline.ts
|
|
123
|
-
|
|
124
|
-
var gltfNodePool = new
|
|
123
|
+
chunkVDDJUO4G_cjs.init_ObjectPool();
|
|
124
|
+
var gltfNodePool = new chunkVDDJUO4G_cjs.ASTNodePool(
|
|
125
125
|
() => ({ name: "" }),
|
|
126
126
|
(node) => {
|
|
127
127
|
node.name = "";
|
|
@@ -1601,8 +1601,8 @@ var GLTFPipeline = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
1601
1601
|
let attenuationColor;
|
|
1602
1602
|
let attenuationDistance;
|
|
1603
1603
|
const namedMat = this.findProp(object, "material");
|
|
1604
|
-
if (typeof namedMat === "string" &&
|
|
1605
|
-
const preset =
|
|
1604
|
+
if (typeof namedMat === "string" && chunkVDDJUO4G_cjs.MATERIAL_PRESETS[namedMat]) {
|
|
1605
|
+
const preset = chunkVDDJUO4G_cjs.MATERIAL_PRESETS[namedMat];
|
|
1606
1606
|
if (preset.color) color = this.parseColorString(preset.color);
|
|
1607
1607
|
if (preset.metalness !== void 0) metallic = preset.metalness;
|
|
1608
1608
|
if (preset.roughness !== void 0) roughness = preset.roughness;
|
|
@@ -2253,5 +2253,5 @@ exports.GLTFPipeline = GLTFPipeline;
|
|
|
2253
2253
|
exports.createGLTFPipeline = createGLTFPipeline;
|
|
2254
2254
|
exports.generateScaleNormalMap = generateScaleNormalMap;
|
|
2255
2255
|
exports.generateScaleTexture = generateScaleTexture;
|
|
2256
|
-
//# sourceMappingURL=chunk-
|
|
2257
|
-
//# sourceMappingURL=chunk-
|
|
2256
|
+
//# sourceMappingURL=chunk-5PLWAEQQ.cjs.map
|
|
2257
|
+
//# sourceMappingURL=chunk-5PLWAEQQ.cjs.map
|
|
@@ -7,8 +7,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 mesh = require('@holoscript/mesh');
|
|
11
|
-
var learning = require('@holoscript/framework/learning');
|
|
12
10
|
|
|
13
11
|
// src/HoloScriptRuntime.ts
|
|
14
12
|
chunkE7JP3BS3_cjs.init_safeJsonParse();
|
|
@@ -2391,6 +2389,12 @@ async function evaluateHoloExpression(expr, scopeOverride, ctx) {
|
|
|
2391
2389
|
return void 0;
|
|
2392
2390
|
}
|
|
2393
2391
|
}
|
|
2392
|
+
|
|
2393
|
+
// src/HoloScriptAgentRuntime.ts
|
|
2394
|
+
var MemoryConsolidator = chunkYDPEHCCI_cjs.lazyPeerSymbol(
|
|
2395
|
+
"@holoscript/framework/learning",
|
|
2396
|
+
"MemoryConsolidator"
|
|
2397
|
+
);
|
|
2394
2398
|
function stringProperty(value) {
|
|
2395
2399
|
return typeof value === "string" ? value : void 0;
|
|
2396
2400
|
}
|
|
@@ -2582,12 +2586,12 @@ var HoloScriptAgentRuntime = class _HoloScriptAgentRuntime {
|
|
|
2582
2586
|
*/
|
|
2583
2587
|
consolidateMemory() {
|
|
2584
2588
|
if (this.isDestroyed || this.rawEpisodes.length < 5) return;
|
|
2585
|
-
const { newFacts, prunedEpisodes } =
|
|
2589
|
+
const { newFacts, prunedEpisodes } = MemoryConsolidator.compressEpisodes(this.rawEpisodes);
|
|
2586
2590
|
if (newFacts.length > 0) {
|
|
2587
2591
|
this.semanticFacts.push(...newFacts);
|
|
2588
2592
|
this.rawEpisodes = this.rawEpisodes.filter((e) => !prunedEpisodes.includes(e.id));
|
|
2589
2593
|
}
|
|
2590
|
-
this.semanticFacts =
|
|
2594
|
+
this.semanticFacts = MemoryConsolidator.pruneStaleFacts(this.semanticFacts);
|
|
2591
2595
|
}
|
|
2592
2596
|
/**
|
|
2593
2597
|
* Lazily attach the JEPAObjective trait on first use so constructor stays fast.
|
|
@@ -3014,6 +3018,10 @@ var AttentionEngine = chunkYDPEHCCI_cjs.lazyPeerSymbol(
|
|
|
3014
3018
|
"@holoscript/engine/orbital",
|
|
3015
3019
|
"AttentionEngine"
|
|
3016
3020
|
);
|
|
3021
|
+
var StateSynchronizer = chunkYDPEHCCI_cjs.lazyPeerSymbol(
|
|
3022
|
+
"@holoscript/mesh",
|
|
3023
|
+
"StateSynchronizer"
|
|
3024
|
+
);
|
|
3017
3025
|
var engineRuntime = chunkYDPEHCCI_cjs.definePeerNamespace(
|
|
3018
3026
|
"@holoscript/engine/runtime"
|
|
3019
3027
|
);
|
|
@@ -4174,7 +4182,7 @@ var HoloScriptRuntime = class {
|
|
|
4174
4182
|
loadSkill(skill) {
|
|
4175
4183
|
loadSkill(skill, {
|
|
4176
4184
|
proceduralSkills: this.proceduralSkills,
|
|
4177
|
-
broadcastSkill: (s) =>
|
|
4185
|
+
broadcastSkill: (s) => StateSynchronizer.getInstance().broadcastSkill(s)
|
|
4178
4186
|
});
|
|
4179
4187
|
}
|
|
4180
4188
|
async executeSkill(skillId, contextVariables = {}) {
|
|
@@ -4196,7 +4204,7 @@ var HoloScriptRuntime = class {
|
|
|
4196
4204
|
} else {
|
|
4197
4205
|
skill.successRate = Math.max(0, skill.successRate - 1);
|
|
4198
4206
|
}
|
|
4199
|
-
|
|
4207
|
+
StateSynchronizer.getInstance().broadcastSkill(skill);
|
|
4200
4208
|
return {
|
|
4201
4209
|
...result,
|
|
4202
4210
|
executionTime: Date.now() - startTime
|
|
@@ -4295,5 +4303,5 @@ var HoloScriptRuntime = class {
|
|
|
4295
4303
|
|
|
4296
4304
|
exports.HoloScriptAgentRuntime = HoloScriptAgentRuntime;
|
|
4297
4305
|
exports.HoloScriptRuntime = HoloScriptRuntime;
|
|
4298
|
-
//# sourceMappingURL=chunk-
|
|
4299
|
-
//# sourceMappingURL=chunk-
|
|
4306
|
+
//# sourceMappingURL=chunk-6DO5IZ5N.cjs.map
|
|
4307
|
+
//# sourceMappingURL=chunk-6DO5IZ5N.cjs.map
|
|
@@ -437,7 +437,7 @@ function uint8ArrayToBase64(data) {
|
|
|
437
437
|
return btoa(binary);
|
|
438
438
|
}
|
|
439
439
|
async function importGLTFPipeline() {
|
|
440
|
-
return import('./GLTFPipeline-
|
|
440
|
+
return import('./GLTFPipeline-W45UOCNY.cjs');
|
|
441
441
|
}
|
|
442
442
|
function registerGLTFTools(server) {
|
|
443
443
|
for (const tool of GLTF_PIPELINE_TOOLS) {
|
|
@@ -453,5 +453,5 @@ exports.handleGLTFToolCall = handleGLTFToolCall;
|
|
|
453
453
|
exports.inspectComposition = inspectComposition;
|
|
454
454
|
exports.registerGLTFTools = registerGLTFTools;
|
|
455
455
|
exports.validateForGLTF = validateForGLTF;
|
|
456
|
-
//# sourceMappingURL=chunk-
|
|
457
|
-
//# sourceMappingURL=chunk-
|
|
456
|
+
//# sourceMappingURL=chunk-6S5VS7BF.cjs.map
|
|
457
|
+
//# sourceMappingURL=chunk-6S5VS7BF.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createHoloMapRuntime, HOLOMAP_DEFAULTS } from './chunk-
|
|
1
|
+
import { createHoloMapRuntime, HOLOMAP_DEFAULTS } from './chunk-XF3AATZJ.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-DHXLCJJN.js.map
|
|
623
|
+
//# sourceMappingURL=chunk-DHXLCJJN.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.3" ;
|
|
8
|
+
var GIT_COMMIT_SHA = "b806c07bf" ;
|
|
9
|
+
var BUILD_TIMESTAMP = "2026-06-05T00:05:33.792Z" ;
|
|
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-ELEHNDDS.cjs.map
|
|
2196
|
+
//# sourceMappingURL=chunk-ELEHNDDS.cjs.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-PN3DN6FO.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-JYTTPNKK.js.map
|
|
449
|
+
//# sourceMappingURL=chunk-JYTTPNKK.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { HoloScriptRuntime } from './chunk-
|
|
1
|
+
import { HoloScriptRuntime } from './chunk-QACVP4PM.js';
|
|
2
2
|
import { HoloScriptCodeParser } from './chunk-URG2SJLK.js';
|
|
3
3
|
|
|
4
4
|
// src/HoloScriptDebugger.ts
|
|
@@ -417,5 +417,5 @@ function createDebugger(runtime) {
|
|
|
417
417
|
}
|
|
418
418
|
|
|
419
419
|
export { HoloScriptDebugger, createDebugger };
|
|
420
|
-
//# sourceMappingURL=chunk-
|
|
421
|
-
//# sourceMappingURL=chunk-
|
|
420
|
+
//# sourceMappingURL=chunk-MVPBWHAC.js.map
|
|
421
|
+
//# sourceMappingURL=chunk-MVPBWHAC.js.map
|
|
@@ -5,8 +5,6 @@ import { JEPAPredictor, jepObjectiveHandler, mitosisHandler, orbitalHandler } fr
|
|
|
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 { StateSynchronizer } from '@holoscript/mesh';
|
|
9
|
-
import { MemoryConsolidator } from '@holoscript/framework/learning';
|
|
10
8
|
|
|
11
9
|
// src/HoloScriptRuntime.ts
|
|
12
10
|
init_safeJsonParse();
|
|
@@ -2389,6 +2387,12 @@ async function evaluateHoloExpression(expr, scopeOverride, ctx) {
|
|
|
2389
2387
|
return void 0;
|
|
2390
2388
|
}
|
|
2391
2389
|
}
|
|
2390
|
+
|
|
2391
|
+
// src/HoloScriptAgentRuntime.ts
|
|
2392
|
+
var MemoryConsolidator = lazyPeerSymbol(
|
|
2393
|
+
"@holoscript/framework/learning",
|
|
2394
|
+
"MemoryConsolidator"
|
|
2395
|
+
);
|
|
2392
2396
|
function stringProperty(value) {
|
|
2393
2397
|
return typeof value === "string" ? value : void 0;
|
|
2394
2398
|
}
|
|
@@ -3012,6 +3016,10 @@ var AttentionEngine = lazyPeerSymbol(
|
|
|
3012
3016
|
"@holoscript/engine/orbital",
|
|
3013
3017
|
"AttentionEngine"
|
|
3014
3018
|
);
|
|
3019
|
+
var StateSynchronizer = lazyPeerSymbol(
|
|
3020
|
+
"@holoscript/mesh",
|
|
3021
|
+
"StateSynchronizer"
|
|
3022
|
+
);
|
|
3015
3023
|
var engineRuntime = definePeerNamespace(
|
|
3016
3024
|
"@holoscript/engine/runtime"
|
|
3017
3025
|
);
|
|
@@ -4292,5 +4300,5 @@ var HoloScriptRuntime = class {
|
|
|
4292
4300
|
};
|
|
4293
4301
|
|
|
4294
4302
|
export { HoloScriptAgentRuntime, HoloScriptRuntime };
|
|
4295
|
-
//# sourceMappingURL=chunk-
|
|
4296
|
-
//# sourceMappingURL=chunk-
|
|
4303
|
+
//# sourceMappingURL=chunk-QACVP4PM.js.map
|
|
4304
|
+
//# sourceMappingURL=chunk-QACVP4PM.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_R3FCompiler, MATERIAL_PRESETS } from './chunk-
|
|
1
|
+
import { init_R3FCompiler, MATERIAL_PRESETS } from './chunk-37ZNYWWW.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-QSCGZ4DW.js.map
|
|
6884
|
+
//# sourceMappingURL=chunk-QSCGZ4DW.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { generateHullGeometry, generateMembraneGeometry, generateSplineGeometry } from './chunk-EKBKLK7P.js';
|
|
2
|
-
import { init_R3FCompiler, init_ObjectPool, ASTNodePool, MATERIAL_PRESETS } from './chunk-
|
|
2
|
+
import { init_R3FCompiler, init_ObjectPool, ASTNodePool, MATERIAL_PRESETS } from './chunk-37ZNYWWW.js';
|
|
3
3
|
import { init_TraitCompositor, TraitCompositor } from './chunk-4C57PR42.js';
|
|
4
4
|
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock, materialToGLTF } from './chunk-BOVPWH4H.js';
|
|
5
5
|
import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
@@ -2248,5 +2248,5 @@ function createGLTFPipeline(options) {
|
|
|
2248
2248
|
}
|
|
2249
2249
|
|
|
2250
2250
|
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture };
|
|
2251
|
-
//# sourceMappingURL=chunk-
|
|
2252
|
-
//# sourceMappingURL=chunk-
|
|
2251
|
+
//# sourceMappingURL=chunk-RLLNOI3T.js.map
|
|
2252
|
+
//# sourceMappingURL=chunk-RLLNOI3T.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkVDDJUO4G_cjs = require('./chunk-VDDJUO4G.cjs');
|
|
4
4
|
var chunk5S7RKFGR_cjs = require('./chunk-5S7RKFGR.cjs');
|
|
5
5
|
var chunkOIQYIIO3_cjs = require('./chunk-OIQYIIO3.cjs');
|
|
6
6
|
var chunkAIA52I7T_cjs = require('./chunk-AIA52I7T.cjs');
|
|
@@ -2564,7 +2564,7 @@ var init_NIRCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2564
2564
|
|
|
2565
2565
|
// src/compiler/USDZPipeline.ts
|
|
2566
2566
|
chunkHKEXJUWS_cjs.init_DomainBlockCompilerMixin();
|
|
2567
|
-
|
|
2567
|
+
chunkVDDJUO4G_cjs.init_R3FCompiler();
|
|
2568
2568
|
function presetString(p, k) {
|
|
2569
2569
|
const v = p[k];
|
|
2570
2570
|
return typeof v === "string" ? v : void 0;
|
|
@@ -2795,8 +2795,8 @@ ${domainBlocksOutput}` : materials,
|
|
|
2795
2795
|
const matName = `Material_${this.sanitizeName(obj.name)}`;
|
|
2796
2796
|
const mat = { name: matName };
|
|
2797
2797
|
const presetName = typeof material === "string" ? material : typeof materialPreset === "string" ? materialPreset : void 0;
|
|
2798
|
-
if (presetName &&
|
|
2799
|
-
const preset =
|
|
2798
|
+
if (presetName && chunkVDDJUO4G_cjs.MATERIAL_PRESETS[presetName]) {
|
|
2799
|
+
const preset = chunkVDDJUO4G_cjs.MATERIAL_PRESETS[presetName];
|
|
2800
2800
|
const colorStr = presetString(preset, "color");
|
|
2801
2801
|
if (colorStr) mat.baseColor = this.hexToRGB(colorStr);
|
|
2802
2802
|
const metal = presetNumber(preset, "metalness");
|
|
@@ -6943,5 +6943,5 @@ exports.runSafetyPass = runSafetyPass;
|
|
|
6943
6943
|
exports.selectModality = selectModality;
|
|
6944
6944
|
exports.selectModalityForAll = selectModalityForAll;
|
|
6945
6945
|
exports.spatialPartition = spatialPartition;
|
|
6946
|
-
//# sourceMappingURL=chunk-
|
|
6947
|
-
//# sourceMappingURL=chunk-
|
|
6946
|
+
//# sourceMappingURL=chunk-U5GLSXSD.cjs.map
|
|
6947
|
+
//# sourceMappingURL=chunk-U5GLSXSD.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk6DO5IZ5N_cjs = require('./chunk-6DO5IZ5N.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 chunk6DO5IZ5N_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-UWXE23BT.cjs.map
|
|
424
|
+
//# sourceMappingURL=chunk-UWXE23BT.cjs.map
|
|
@@ -2940,6 +2940,23 @@ var init_R3FCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
2940
2940
|
chunkUPXIY52O_cjs.lotusPetalGeometryParamsFromProfile(profile)
|
|
2941
2941
|
);
|
|
2942
2942
|
props.__petalPlacements = chunkUPXIY52O_cjs.buildLotusFlowerPlacements(profile);
|
|
2943
|
+
props.__lotusScene = {
|
|
2944
|
+
stemHeight: 2.4,
|
|
2945
|
+
colors: {
|
|
2946
|
+
water: profile.colors.water,
|
|
2947
|
+
leaf: profile.colors.leaf,
|
|
2948
|
+
leafDark: profile.colors.leaf_dark
|
|
2949
|
+
},
|
|
2950
|
+
// The flower CENTRE: the seed pod (receptacle) ringed by stamen filaments —
|
|
2951
|
+
// the iconic lotus centre, colours + count from the profile.
|
|
2952
|
+
center: {
|
|
2953
|
+
seedPod: profile.colors.seed_pod,
|
|
2954
|
+
seedPodRim: profile.colors.seed_pod_rim,
|
|
2955
|
+
stamen: profile.colors.stamen,
|
|
2956
|
+
stamenTip: profile.colors.stamen_tip,
|
|
2957
|
+
stamenCount: profile.stamen_filament_count
|
|
2958
|
+
}
|
|
2959
|
+
};
|
|
2943
2960
|
}
|
|
2944
2961
|
compileNode(node) {
|
|
2945
2962
|
if (node.type === "system") {
|
|
@@ -4402,5 +4419,5 @@ exports.init_ObjectPool = init_ObjectPool;
|
|
|
4402
4419
|
exports.init_R3FCompiler = init_R3FCompiler;
|
|
4403
4420
|
exports.init_visual = init_visual;
|
|
4404
4421
|
exports.registerAllPresets = registerAllPresets;
|
|
4405
|
-
//# sourceMappingURL=chunk-
|
|
4406
|
-
//# sourceMappingURL=chunk-
|
|
4422
|
+
//# sourceMappingURL=chunk-VDDJUO4G.cjs.map
|
|
4423
|
+
//# sourceMappingURL=chunk-VDDJUO4G.cjs.map
|
|
@@ -2,9 +2,9 @@ import { computeHoloMapReplayFingerprint } from './chunk-WNNE3PO3.js';
|
|
|
2
2
|
import { isWebGpuEnvironmentPresent, HOLOMAP_SIMULATION_CONTRACT_KIND } from './chunk-YF2I3MV3.js';
|
|
3
3
|
|
|
4
4
|
// src/version.ts
|
|
5
|
-
var HOLOSCRIPT_VERSION = "8.0.
|
|
6
|
-
var GIT_COMMIT_SHA = "
|
|
7
|
-
var BUILD_TIMESTAMP = "2026-06-
|
|
5
|
+
var HOLOSCRIPT_VERSION = "8.0.3" ;
|
|
6
|
+
var GIT_COMMIT_SHA = "b806c07bf" ;
|
|
7
|
+
var BUILD_TIMESTAMP = "2026-06-05T00:05:33.792Z" ;
|
|
8
8
|
function getVersionString() {
|
|
9
9
|
const sha = `+${GIT_COMMIT_SHA}` ;
|
|
10
10
|
return `${HOLOSCRIPT_VERSION}${sha}`;
|
|
@@ -2172,5 +2172,5 @@ function createHoloMapRuntime(_config) {
|
|
|
2172
2172
|
}
|
|
2173
2173
|
|
|
2174
2174
|
export { BUILD_TIMESTAMP, GIT_COMMIT_SHA, HOLOMAP_DEFAULTS, HOLOSCRIPT_VERSION, assertWeightCid, createHoloMapMicroEncoder, createHoloMapRunId, createHoloMapRuntime, frameToMicroImage, getCachedWeightBlob, getVersionInfo, getVersionString, loadHoloMapWeightBlob, logHoloMapEvent, normalizeWeightCidDigest, putCachedWeightBlob, resetHoloMapTelemetryForTests, runHoloMapMicroEncoderCpu, tryCreateHoloMapEncoderDevice };
|
|
2175
|
-
//# sourceMappingURL=chunk-
|
|
2176
|
-
//# sourceMappingURL=chunk-
|
|
2175
|
+
//# sourceMappingURL=chunk-XF3AATZJ.js.map
|
|
2176
|
+
//# sourceMappingURL=chunk-XF3AATZJ.js.map
|
|
@@ -2,38 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var chunk6S5VS7BF_cjs = require('../chunk-6S5VS7BF.cjs');
|
|
6
6
|
require('../chunk-HCCQLAA4.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "GLTF_PIPELINE_TOOLS", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk6S5VS7BF_cjs.GLTF_PIPELINE_TOOLS; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "analyzeOptimizations", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk6S5VS7BF_cjs.analyzeOptimizations; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "default", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk6S5VS7BF_cjs.GLTFPipelineMCPTool_default; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "handleGLTFToolCall", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk6S5VS7BF_cjs.handleGLTFToolCall; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "inspectComposition", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunk6S5VS7BF_cjs.inspectComposition; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "registerGLTFTools", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunk6S5VS7BF_cjs.registerGLTFTools; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "validateForGLTF", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunk6S5VS7BF_cjs.validateForGLTF; }
|
|
37
37
|
});
|
|
38
38
|
//# sourceMappingURL=gltf-pipeline.cjs.map
|
|
39
39
|
//# sourceMappingURL=gltf-pipeline.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { GLTF_PIPELINE_TOOLS, analyzeOptimizations, GLTFPipelineMCPTool_default as default, handleGLTFToolCall, inspectComposition, registerGLTFTools, validateForGLTF } from '../chunk-
|
|
1
|
+
export { GLTF_PIPELINE_TOOLS, analyzeOptimizations, GLTFPipelineMCPTool_default as default, handleGLTFToolCall, inspectComposition, registerGLTFTools, validateForGLTF } from '../chunk-JYTTPNKK.js';
|
|
2
2
|
import '../chunk-OL46QLBJ.js';
|
|
3
3
|
//# sourceMappingURL=gltf-pipeline.js.map
|
|
4
4
|
//# sourceMappingURL=gltf-pipeline.js.map
|