@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/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-
|
|
2
|
-
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 } from './chunk-
|
|
1
|
+
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-RLLNOI3T.js';
|
|
2
|
+
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 } from './chunk-DHXLCJJN.js';
|
|
3
3
|
export { InteropBindingGenerator, MCPCircuitBreaker, getMCPCircuitBreaker } from './chunk-FGGJQRLZ.js';
|
|
4
4
|
export { SkeletonTrait as SkeletonAnimationTrait, createSkeletonTrait } from './chunk-M56JSP4A.js';
|
|
5
|
-
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 } from './chunk-
|
|
5
|
+
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 } from './chunk-XF3AATZJ.js';
|
|
6
6
|
export { computeHoloMapReplayFingerprint, fnv1a32Hex } from './chunk-WNNE3PO3.js';
|
|
7
7
|
export { CircuitBreakerState, CircuitBreaker as ResilienceCircuitBreaker, retryWithBackoff, withTimeout } from './chunk-A6KINLZJ.js';
|
|
8
|
-
import { init_ThreeJSCompiler, init_Native2DCompiler, init_A2AAgentCardCompiler, init_NIRCompiler, Native2DCompiler, GaussianSplattingCompiler, NIRCompiler, A2AAgentCardCompiler, USDZPipeline } from './chunk-
|
|
9
|
-
export { BUILTIN_RESOURCES, CAPABILITY_HIERARCHY, CATEGORY_DEFAULT_EMBODIMENT, CompilerBridge, CrossRealityTraitRegistry, EFFECTS_BY_CATEGORY, EFFECT_TO_CAPABILITY, EffectChecker, EffectRow, HANDOFF_PATH_RULES, LinearTypeChecker, MVC_BUDGET_CONSTRAINTS, PLATFORM_BUDGETS, PLATFORM_EMBODIMENT_OVERRIDES, ResourceBudgetAnalyzer, SpatialPartitionPass, TRAIT_EFFECTS, TRAIT_RESOURCE_COSTS, TRAIT_RESOURCE_MAP, TRUST_LEVEL_CAPABILITIES, ThreeJSCompiler, USDZPipeline, bestCategoryForTraits, buildSafetyReport, checkCapabilities, compilePipelineSource, compilePipelineSourceToNode, compilePipelineSourceToPython, compilePipelineToNode, compilePipelineToPython, createCrossRealityTraitRegistry, createEffectChecker, dangerLevel, deriveRequirements, effectCategory, expandCapabilities, formatReport, generateCertificate, getCompilerBridge, getCrossRealityTraitRegistry, inferFromBuiltins, inferFromTraits, isSafeTraitSet, knownBuiltins, knownTraits, quickSafetyCheck, resetCrossRealityTraitRegistry, runSafetyPass, selectModality, selectModalityForAll, spatialPartition } from './chunk-
|
|
8
|
+
import { init_ThreeJSCompiler, init_Native2DCompiler, init_A2AAgentCardCompiler, init_NIRCompiler, Native2DCompiler, GaussianSplattingCompiler, NIRCompiler, A2AAgentCardCompiler, USDZPipeline } from './chunk-QSCGZ4DW.js';
|
|
9
|
+
export { BUILTIN_RESOURCES, CAPABILITY_HIERARCHY, CATEGORY_DEFAULT_EMBODIMENT, CompilerBridge, CrossRealityTraitRegistry, EFFECTS_BY_CATEGORY, EFFECT_TO_CAPABILITY, EffectChecker, EffectRow, HANDOFF_PATH_RULES, LinearTypeChecker, MVC_BUDGET_CONSTRAINTS, PLATFORM_BUDGETS, PLATFORM_EMBODIMENT_OVERRIDES, ResourceBudgetAnalyzer, SpatialPartitionPass, TRAIT_EFFECTS, TRAIT_RESOURCE_COSTS, TRAIT_RESOURCE_MAP, TRUST_LEVEL_CAPABILITIES, ThreeJSCompiler, USDZPipeline, bestCategoryForTraits, buildSafetyReport, checkCapabilities, compilePipelineSource, compilePipelineSourceToNode, compilePipelineSourceToPython, compilePipelineToNode, compilePipelineToPython, createCrossRealityTraitRegistry, createEffectChecker, dangerLevel, deriveRequirements, effectCategory, expandCapabilities, formatReport, generateCertificate, getCompilerBridge, getCrossRealityTraitRegistry, inferFromBuiltins, inferFromTraits, isSafeTraitSet, knownBuiltins, knownTraits, quickSafetyCheck, resetCrossRealityTraitRegistry, runSafetyPass, selectModality, selectModalityForAll, spatialPartition } from './chunk-QSCGZ4DW.js';
|
|
10
10
|
export { generateHullGeometry, generateMembraneGeometry, generateSplineGeometry } from './chunk-EKBKLK7P.js';
|
|
11
11
|
import { generateSemanticSceneGraphObject } from './chunk-HYNTS5CP.js';
|
|
12
12
|
export { SemanticSceneGraph } from './chunk-HYNTS5CP.js';
|
|
@@ -47,8 +47,8 @@ import { init_UnrealCompiler, UnrealCompiler } from './chunk-D3STJ56J.js';
|
|
|
47
47
|
export { UnrealCompiler, compileToUnreal } from './chunk-D3STJ56J.js';
|
|
48
48
|
import { init_GodotCompiler, GodotCompiler } from './chunk-PY37LNDP.js';
|
|
49
49
|
export { GodotCompiler } from './chunk-PY37LNDP.js';
|
|
50
|
-
import { init_R3FCompiler, init_visual, MATERIAL_PRESETS, ENVIRONMENT_PRESETS, R3FCompiler } from './chunk-
|
|
51
|
-
export { ENVIRONMENT_PRESETS, R3FCompiler, registerAllPresets } from './chunk-
|
|
50
|
+
import { init_R3FCompiler, init_visual, MATERIAL_PRESETS, ENVIRONMENT_PRESETS, R3FCompiler } from './chunk-37ZNYWWW.js';
|
|
51
|
+
export { ENVIRONMENT_PRESETS, R3FCompiler, registerAllPresets } from './chunk-37ZNYWWW.js';
|
|
52
52
|
import './chunk-XT6JY5W5.js';
|
|
53
53
|
import './chunk-QRPRIJ2W.js';
|
|
54
54
|
import { init_PlayCanvasCompiler, PlayCanvasCompiler } from './chunk-DHO2YRIM.js';
|
|
@@ -24776,7 +24776,7 @@ button refreshBtn {
|
|
|
24776
24776
|
|
|
24777
24777
|
// src/barrel/runtime-env.ts
|
|
24778
24778
|
async function createHoloScriptEnvironment() {
|
|
24779
|
-
const { HoloScriptRuntime } = await import('./HoloScriptRuntime-
|
|
24779
|
+
const { HoloScriptRuntime } = await import('./HoloScriptRuntime-ACDFKVVH.js');
|
|
24780
24780
|
return {
|
|
24781
24781
|
parser: new HoloScriptParser(),
|
|
24782
24782
|
runtime: new HoloScriptRuntime(),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunk33AZRKKQ_cjs = require('../chunk-33AZRKKQ.cjs');
|
|
4
|
+
var chunkELEHNDDS_cjs = require('../chunk-ELEHNDDS.cjs');
|
|
5
5
|
var chunkLM2VU56C_cjs = require('../chunk-LM2VU56C.cjs');
|
|
6
6
|
var chunkBRQJKJGT_cjs = require('../chunk-BRQJKJGT.cjs');
|
|
7
7
|
var chunkCIWWXYHZ_cjs = require('../chunk-CIWWXYHZ.cjs');
|
|
@@ -11,119 +11,119 @@ require('../chunk-HCCQLAA4.cjs');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "ANCHOR_DEFAULTS", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunk33AZRKKQ_cjs.ANCHOR_DEFAULTS; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "ARCORE_DEPTH_RECOMMENDED_RANGE_MILLIMETERS", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunk33AZRKKQ_cjs.ARCORE_DEPTH_RECOMMENDED_RANGE_MILLIMETERS; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "HOLOMAP_MOBILE_SENSOR_BUNDLE_VERSION", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunk33AZRKKQ_cjs.HOLOMAP_MOBILE_SENSOR_BUNDLE_VERSION; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "TRAJECTORY_DEFAULTS", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunk33AZRKKQ_cjs.TRAJECTORY_DEFAULTS; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "arCoreDepthFrameToMobileSensorFrame", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunk33AZRKKQ_cjs.arCoreDepthFrameToMobileSensorFrame; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "cameraPoseFromColumnMajorTransform", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunk33AZRKKQ_cjs.cameraPoseFromColumnMajorTransform; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "createAnchorContext", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunk33AZRKKQ_cjs.createAnchorContext; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "createArCoreDepthMobileSensorBundle", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunk33AZRKKQ_cjs.createArCoreDepthMobileSensorBundle; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "createFusedAttentionBackend", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunk33AZRKKQ_cjs.createFusedAttentionBackend; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "createPagedKVCache", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunk33AZRKKQ_cjs.createPagedKVCache; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "createTrajectoryMemory", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunk33AZRKKQ_cjs.createTrajectoryMemory; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "mergeAnchoredProvenance", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunk33AZRKKQ_cjs.mergeAnchoredProvenance; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "mobileSensorBundleToFrames", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunk33AZRKKQ_cjs.mobileSensorBundleToFrames; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "replayMobileSensorBundle", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunk33AZRKKQ_cjs.replayMobileSensorBundle; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "validateMobileSensorBundle", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunk33AZRKKQ_cjs.validateMobileSensorBundle; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "HOLOMAP_DEFAULTS", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkELEHNDDS_cjs.HOLOMAP_DEFAULTS; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "assertWeightCid", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkELEHNDDS_cjs.assertWeightCid; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "createHoloMapMicroEncoder", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkELEHNDDS_cjs.createHoloMapMicroEncoder; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "createHoloMapRunId", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkELEHNDDS_cjs.createHoloMapRunId; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "createHoloMapRuntime", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkELEHNDDS_cjs.createHoloMapRuntime; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "frameToMicroImage", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkELEHNDDS_cjs.frameToMicroImage; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "getCachedWeightBlob", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkELEHNDDS_cjs.getCachedWeightBlob; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "loadHoloMapWeightBlob", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkELEHNDDS_cjs.loadHoloMapWeightBlob; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "logHoloMapEvent", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkELEHNDDS_cjs.logHoloMapEvent; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "normalizeWeightCidDigest", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkELEHNDDS_cjs.normalizeWeightCidDigest; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "putCachedWeightBlob", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkELEHNDDS_cjs.putCachedWeightBlob; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "resetHoloMapTelemetryForTests", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkELEHNDDS_cjs.resetHoloMapTelemetryForTests; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "runHoloMapMicroEncoderCpu", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkELEHNDDS_cjs.runHoloMapMicroEncoderCpu; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "tryCreateHoloMapEncoderDevice", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkELEHNDDS_cjs.tryCreateHoloMapEncoderDevice; }
|
|
127
127
|
});
|
|
128
128
|
Object.defineProperty(exports, "computeHoloMapReplayFingerprint", {
|
|
129
129
|
enumerable: true,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
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 } from '../chunk-
|
|
2
|
-
export { HOLOMAP_DEFAULTS, assertWeightCid, createHoloMapMicroEncoder, createHoloMapRunId, createHoloMapRuntime, frameToMicroImage, getCachedWeightBlob, loadHoloMapWeightBlob, logHoloMapEvent, normalizeWeightCidDigest, putCachedWeightBlob, resetHoloMapTelemetryForTests, runHoloMapMicroEncoderCpu, tryCreateHoloMapEncoderDevice } from '../chunk-
|
|
1
|
+
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 } from '../chunk-DHXLCJJN.js';
|
|
2
|
+
export { HOLOMAP_DEFAULTS, assertWeightCid, createHoloMapMicroEncoder, createHoloMapRunId, createHoloMapRuntime, frameToMicroImage, getCachedWeightBlob, loadHoloMapWeightBlob, logHoloMapEvent, normalizeWeightCidDigest, putCachedWeightBlob, resetHoloMapTelemetryForTests, runHoloMapMicroEncoderCpu, tryCreateHoloMapEncoderDevice } from '../chunk-XF3AATZJ.js';
|
|
3
3
|
export { computeHoloMapReplayFingerprint, fnv1a32Hex } from '../chunk-WNNE3PO3.js';
|
|
4
4
|
export { assertHoloMapManifestContract } from '../chunk-MBOOR7X4.js';
|
|
5
5
|
export { HOLOMAP_SIMULATION_CONTRACT_KIND, ensureNodeWebGpuSync, isWebGpuEnvironmentPresent } from '../chunk-YF2I3MV3.js';
|
package/dist/runtime.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkUWXE23BT_cjs = require('./chunk-UWXE23BT.cjs');
|
|
4
|
+
var chunk6DO5IZ5N_cjs = require('./chunk-6DO5IZ5N.cjs');
|
|
5
5
|
require('./chunk-GJNCFRJU.cjs');
|
|
6
6
|
var chunkYDPEHCCI_cjs = require('./chunk-YDPEHCCI.cjs');
|
|
7
7
|
require('./chunk-JIYN45TV.cjs');
|
|
@@ -89,19 +89,19 @@ var AgentMessaging = chunkYDPEHCCI_cjs.lazyPeerSymbol("@holoscript/mesh/messagin
|
|
|
89
89
|
|
|
90
90
|
Object.defineProperty(exports, "HoloScriptDebugger", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkUWXE23BT_cjs.HoloScriptDebugger; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "createDebugger", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkUWXE23BT_cjs.createDebugger; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "HoloScriptAgentRuntime", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunk6DO5IZ5N_cjs.HoloScriptAgentRuntime; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "HoloScriptRuntime", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunk6DO5IZ5N_cjs.HoloScriptRuntime; }
|
|
105
105
|
});
|
|
106
106
|
exports.AStarPathfinder = AStarPathfinder;
|
|
107
107
|
exports.ActionNode = ActionNode;
|
package/dist/runtime.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { HoloScriptDebugger, createDebugger } from './chunk-
|
|
2
|
-
export { HoloScriptAgentRuntime, HoloScriptRuntime } from './chunk-
|
|
1
|
+
export { HoloScriptDebugger, createDebugger } from './chunk-MVPBWHAC.js';
|
|
2
|
+
export { HoloScriptAgentRuntime, HoloScriptRuntime } from './chunk-QACVP4PM.js';
|
|
3
3
|
import './chunk-XL6INWKT.js';
|
|
4
4
|
import { lazyPeerSymbol } from './chunk-IELX2OKI.js';
|
|
5
5
|
import './chunk-URG2SJLK.js';
|
package/dist/traits/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var chunkMYY4PMWX_cjs = require('../chunk-MYY4PMWX.cjs');
|
|
4
4
|
var chunkYN6V7R3L_cjs = require('../chunk-YN6V7R3L.cjs');
|
|
5
5
|
var chunkEKYL4PE3_cjs = require('../chunk-EKYL4PE3.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkELEHNDDS_cjs = require('../chunk-ELEHNDDS.cjs');
|
|
7
7
|
require('../chunk-LM2VU56C.cjs');
|
|
8
8
|
var chunkOSYNRVOV_cjs = require('../chunk-OSYNRVOV.cjs');
|
|
9
9
|
var chunkSMRVK6BI_cjs = require('../chunk-SMRVK6BI.cjs');
|
|
@@ -5635,12 +5635,12 @@ var holomapReconstructionHandler = {
|
|
|
5635
5635
|
node.__holomapRuntime;
|
|
5636
5636
|
if (event.type === "holomap:start_session") {
|
|
5637
5637
|
const payload2 = event.payload ?? {};
|
|
5638
|
-
const runtime =
|
|
5638
|
+
const runtime = chunkELEHNDDS_cjs.createHoloMapRuntime();
|
|
5639
5639
|
const sessionId = typeof payload2.sessionId === "string" ? payload2.sessionId : cryptoRandomId();
|
|
5640
5640
|
const runtimeConfig = {
|
|
5641
|
-
...
|
|
5641
|
+
...chunkELEHNDDS_cjs.HOLOMAP_DEFAULTS,
|
|
5642
5642
|
...config.runtime,
|
|
5643
|
-
seed: typeof payload2.seed === "number" ? payload2.seed : config.runtime?.seed ??
|
|
5643
|
+
seed: typeof payload2.seed === "number" ? payload2.seed : config.runtime?.seed ?? chunkELEHNDDS_cjs.HOLOMAP_DEFAULTS.seed,
|
|
5644
5644
|
modelHash: typeof payload2.modelHash === "string" ? payload2.modelHash : config.runtime?.modelHash ?? "holomap-trait-bound"
|
|
5645
5645
|
};
|
|
5646
5646
|
state.runtime = runtime;
|
package/dist/traits/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { MOTION_DATA_SCHEMA_VERSION, NullMotionMatchingEngine, SYNTHETIC_WALK_JOINTS, SyntheticWalkCycleEngine, TRAJECTORY_FRAME_DT, TRAJECTORY_HORIZON_FRAMES, buildSyntheticBipedPose, classifyGait, createNullMotionMatchingEngine, createSyntheticWalkCycleEngine, inferenceFrameToTensor, magnitude, projectLinearTrajectory, validateMotionCapture, validateTrainingCorpus, validateTrainingFrame } from '../chunk-IVY74O6C.js';
|
|
2
2
|
import { QuantumCircuitCompiler } from '../chunk-ZU7NIRT6.js';
|
|
3
3
|
export { SkeletonTrait, createSkeletonTrait, skeletonHandler } from '../chunk-M56JSP4A.js';
|
|
4
|
-
import { createHoloMapRuntime, HOLOMAP_DEFAULTS } from '../chunk-
|
|
4
|
+
import { createHoloMapRuntime, HOLOMAP_DEFAULTS } from '../chunk-XF3AATZJ.js';
|
|
5
5
|
import '../chunk-WNNE3PO3.js';
|
|
6
6
|
import { CircuitBreaker, Bulkhead, withTimeout, retryWithBackoff, fallbackChain } from '../chunk-A6KINLZJ.js';
|
|
7
7
|
import { extractPayload, normalizeCenter, parseCRDTRoomTraitConfig, validateCRDTRoomTraitConfig, resolveCRDTRoomTraitConfig, deriveWalkableNavmesh } from '../chunk-DXWOTOUK.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holoscript/core",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.3",
|
|
4
4
|
"description": "Core parser, AST, compiler infrastructure, trait system, and runtime for HoloScript — the open AI-spatial reality protocol for 3D/XR/IoT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -182,6 +182,24 @@
|
|
|
182
182
|
"bin": {
|
|
183
183
|
"holoscript": "./bin/holoscript.cjs"
|
|
184
184
|
},
|
|
185
|
+
"scripts": {
|
|
186
|
+
"prepublishOnly": "pnpm run build",
|
|
187
|
+
"verify:workspace": "node scripts/verify-internal-workspace-protocol.mjs",
|
|
188
|
+
"build": "node scripts/verify-internal-workspace-protocol.mjs && tsup && node scripts/generate-types.mjs",
|
|
189
|
+
"dev": "tsup --watch",
|
|
190
|
+
"test": "node --max-old-space-size=16384 run-vitest.mjs",
|
|
191
|
+
"test:coverage": "node --max-old-space-size=16384 run-vitest.mjs --coverage",
|
|
192
|
+
"test:watch": "vitest",
|
|
193
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
194
|
+
"typecheck:narrow": "tsc --noEmit -p tsconfig.narrow.json",
|
|
195
|
+
"benchmark:export-targets": "node run-vitest.mjs src/compiler/__tests__/export-manager-all-targets-bench.test.ts",
|
|
196
|
+
"benchmark:paper10:compile-matrix": "node scripts/run-paper10-compile-matrix.mjs",
|
|
197
|
+
"benchmark:paper10:compile-matrix:full": "node scripts/run-paper10-compile-matrix.mjs --full",
|
|
198
|
+
"benchmark:paper10:depth-distribution": "node scripts/run-paper10-depth-distribution.mjs",
|
|
199
|
+
"benchmark:dispatch-policy": "tsx src/compiler/dispatch/DispatchPolicyBenchmark.cli.ts",
|
|
200
|
+
"benchmark:paper6:mecanim-matrix": "node scripts/run-paper6-mecanim-matrix.mjs",
|
|
201
|
+
"benchmark:critic-loop": "node scripts/run-critic-loop-benchmark.mjs"
|
|
202
|
+
},
|
|
185
203
|
"keywords": [
|
|
186
204
|
"holoscript",
|
|
187
205
|
"vr",
|
|
@@ -212,18 +230,51 @@
|
|
|
212
230
|
"directory": "packages/core"
|
|
213
231
|
},
|
|
214
232
|
"dependencies": {
|
|
233
|
+
"@holoscript/agent-protocol": "workspace:^",
|
|
234
|
+
"@holoscript/assimp-plugin": "workspace:^",
|
|
235
|
+
"@holoscript/core-types": "workspace:^",
|
|
236
|
+
"@holoscript/llm-provider": "workspace:^",
|
|
237
|
+
"@holoscript/mesh": "workspace:^",
|
|
238
|
+
"@holoscript/platform": "workspace:^",
|
|
215
239
|
"@mediapipe/tasks-vision": "0.10.17",
|
|
216
240
|
"jose": "^6.2.2",
|
|
217
241
|
"jsonwebtoken": "^9.0.2",
|
|
218
|
-
"zod": "^4.3.6"
|
|
219
|
-
"@holoscript/core-types": "^6.1.0",
|
|
220
|
-
"@holoscript/agent-protocol": "^6.1.0",
|
|
221
|
-
"@holoscript/platform": "^6.1.1",
|
|
222
|
-
"@holoscript/llm-provider": "^1.2.1",
|
|
223
|
-
"@holoscript/assimp-plugin": "^0.1.0",
|
|
224
|
-
"@holoscript/mesh": "^6.1.2"
|
|
242
|
+
"zod": "^4.3.6"
|
|
225
243
|
},
|
|
226
244
|
"optionalDependencies": {
|
|
245
|
+
"@holoscript/alphafold-plugin": "workspace:^",
|
|
246
|
+
"@holoscript/domain-plugin-template": "workspace:^",
|
|
247
|
+
"@holoscript/medical-plugin": "workspace:^",
|
|
248
|
+
"@holoscript/narupa-plugin": "workspace:^",
|
|
249
|
+
"@holoscript/plugin-banking-finance": "workspace:^",
|
|
250
|
+
"@holoscript/plugin-civil-engineering": "workspace:^",
|
|
251
|
+
"@holoscript/plugin-culture-keyword": "workspace:^",
|
|
252
|
+
"@holoscript/plugin-economic-primitives": "workspace:^",
|
|
253
|
+
"@holoscript/plugin-education-lms": "workspace:^",
|
|
254
|
+
"@holoscript/plugin-emergency-response": "workspace:^",
|
|
255
|
+
"@holoscript/plugin-fashion": "workspace:^",
|
|
256
|
+
"@holoscript/plugin-film-vfx": "workspace:^",
|
|
257
|
+
"@holoscript/plugin-film3d-volumetrics": "workspace:^",
|
|
258
|
+
"@holoscript/plugin-fitness-wellness": "workspace:^",
|
|
259
|
+
"@holoscript/plugin-forensics": "workspace:^",
|
|
260
|
+
"@holoscript/plugin-geolocation-gis": "workspace:^",
|
|
261
|
+
"@holoscript/plugin-hardware-invention": "workspace:^",
|
|
262
|
+
"@holoscript/plugin-hr-workforce": "workspace:^",
|
|
263
|
+
"@holoscript/plugin-insurance": "workspace:^",
|
|
264
|
+
"@holoscript/plugin-legal-document": "workspace:^",
|
|
265
|
+
"@holoscript/plugin-manufacturing-qc": "workspace:^",
|
|
266
|
+
"@holoscript/plugin-neuroscience": "workspace:^",
|
|
267
|
+
"@holoscript/plugin-restaurant": "workspace:^",
|
|
268
|
+
"@holoscript/plugin-retail-ecommerce": "workspace:^",
|
|
269
|
+
"@holoscript/plugin-therapy": "workspace:^",
|
|
270
|
+
"@holoscript/plugin-threat-intelligence": "workspace:^",
|
|
271
|
+
"@holoscript/plugin-trait-audit": "workspace:^",
|
|
272
|
+
"@holoscript/plugin-travel-hospitality": "workspace:^",
|
|
273
|
+
"@holoscript/plugin-urban-planning": "workspace:^",
|
|
274
|
+
"@holoscript/plugin-wine-food-beverage": "workspace:^",
|
|
275
|
+
"@holoscript/plugin-wisdom-gotcha": "workspace:^",
|
|
276
|
+
"@holoscript/radio-astronomy-plugin": "workspace:^",
|
|
277
|
+
"@holoscript/robotics-plugin": "workspace:^",
|
|
227
278
|
"@gltf-transform/core": "^3.7.0",
|
|
228
279
|
"@gltf-transform/extensions": "^3.7.0",
|
|
229
280
|
"@gltf-transform/functions": "^3.7.0",
|
|
@@ -245,47 +296,14 @@
|
|
|
245
296
|
"tree-sitter-rust": "^0.24.0",
|
|
246
297
|
"tree-sitter-typescript": "^0.23.2",
|
|
247
298
|
"web-tree-sitter": "^0.24.0",
|
|
248
|
-
"ws": "^8.16.0"
|
|
249
|
-
"@holoscript/domain-plugin-template": "^0.0.1-template",
|
|
250
|
-
"@holoscript/medical-plugin": "^2.0.0",
|
|
251
|
-
"@holoscript/plugin-banking-finance": "^2.0.0",
|
|
252
|
-
"@holoscript/alphafold-plugin": "^2.0.0",
|
|
253
|
-
"@holoscript/plugin-civil-engineering": "^2.0.0",
|
|
254
|
-
"@holoscript/plugin-economic-primitives": "^2.0.0",
|
|
255
|
-
"@holoscript/plugin-culture-keyword": "^2.0.0",
|
|
256
|
-
"@holoscript/plugin-education-lms": "^2.0.0",
|
|
257
|
-
"@holoscript/narupa-plugin": "^2.0.0",
|
|
258
|
-
"@holoscript/plugin-fashion": "^2.0.0",
|
|
259
|
-
"@holoscript/plugin-film3d-volumetrics": "^2.0.1",
|
|
260
|
-
"@holoscript/plugin-emergency-response": "^2.0.0",
|
|
261
|
-
"@holoscript/plugin-film-vfx": "^2.0.0",
|
|
262
|
-
"@holoscript/plugin-hr-workforce": "^2.0.0",
|
|
263
|
-
"@holoscript/plugin-fitness-wellness": "^2.0.0",
|
|
264
|
-
"@holoscript/plugin-legal-document": "^2.0.0",
|
|
265
|
-
"@holoscript/plugin-geolocation-gis": "^2.0.0",
|
|
266
|
-
"@holoscript/plugin-insurance": "^2.0.0",
|
|
267
|
-
"@holoscript/plugin-manufacturing-qc": "^2.0.0",
|
|
268
|
-
"@holoscript/plugin-forensics": "^2.0.0",
|
|
269
|
-
"@holoscript/plugin-neuroscience": "^2.0.0",
|
|
270
|
-
"@holoscript/plugin-restaurant": "^2.0.0",
|
|
271
|
-
"@holoscript/plugin-trait-audit": "^2.0.0",
|
|
272
|
-
"@holoscript/plugin-retail-ecommerce": "^2.0.0",
|
|
273
|
-
"@holoscript/plugin-travel-hospitality": "^2.0.0",
|
|
274
|
-
"@holoscript/plugin-wine-food-beverage": "^2.0.0",
|
|
275
|
-
"@holoscript/plugin-threat-intelligence": "^2.0.0",
|
|
276
|
-
"@holoscript/plugin-therapy": "^2.0.0",
|
|
277
|
-
"@holoscript/plugin-hardware-invention": "^2.0.0",
|
|
278
|
-
"@holoscript/plugin-wisdom-gotcha": "^2.0.0",
|
|
279
|
-
"@holoscript/plugin-urban-planning": "^2.0.0",
|
|
280
|
-
"@holoscript/radio-astronomy-plugin": "^2.0.1",
|
|
281
|
-
"@holoscript/robotics-plugin": "^2.0.0"
|
|
299
|
+
"ws": "^8.16.0"
|
|
282
300
|
},
|
|
283
301
|
"peerDependencies": {
|
|
302
|
+
"@holoscript/engine": "workspace:*",
|
|
284
303
|
"@pixiv/three-vrm": "^2.0.0",
|
|
285
304
|
"ioredis": "^5.3.0",
|
|
286
305
|
"puppeteer": "^23.0.0",
|
|
287
|
-
"react": "^19.2.0"
|
|
288
|
-
"@holoscript/engine": "6.1.2"
|
|
306
|
+
"react": "^19.2.0"
|
|
289
307
|
},
|
|
290
308
|
"peerDependenciesMeta": {
|
|
291
309
|
"@holoscript/engine": {
|
|
@@ -308,6 +326,8 @@
|
|
|
308
326
|
}
|
|
309
327
|
},
|
|
310
328
|
"devDependencies": {
|
|
329
|
+
"@holoscript/engine": "workspace:*",
|
|
330
|
+
"@holoscript/framework": "workspace:*",
|
|
311
331
|
"@types/jsonwebtoken": "^9.0.7",
|
|
312
332
|
"@types/pixelmatch": "^5.2.6",
|
|
313
333
|
"@types/pngjs": "^6.0.5",
|
|
@@ -318,25 +338,6 @@
|
|
|
318
338
|
"tsup": "^8.0.1",
|
|
319
339
|
"typedoc": "^0.28.19",
|
|
320
340
|
"typescript": "~5.9.3",
|
|
321
|
-
"vitest": "^4.1.5"
|
|
322
|
-
"@holoscript/framework": "6.1.1",
|
|
323
|
-
"@holoscript/engine": "6.1.2"
|
|
324
|
-
},
|
|
325
|
-
"scripts": {
|
|
326
|
-
"verify:workspace": "node scripts/verify-internal-workspace-protocol.mjs",
|
|
327
|
-
"build": "node scripts/verify-internal-workspace-protocol.mjs && tsup && node scripts/generate-types.mjs",
|
|
328
|
-
"dev": "tsup --watch",
|
|
329
|
-
"test": "node --max-old-space-size=16384 run-vitest.mjs",
|
|
330
|
-
"test:coverage": "node --max-old-space-size=16384 run-vitest.mjs --coverage",
|
|
331
|
-
"test:watch": "vitest",
|
|
332
|
-
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
333
|
-
"typecheck:narrow": "tsc --noEmit -p tsconfig.narrow.json",
|
|
334
|
-
"benchmark:export-targets": "node run-vitest.mjs src/compiler/__tests__/export-manager-all-targets-bench.test.ts",
|
|
335
|
-
"benchmark:paper10:compile-matrix": "node scripts/run-paper10-compile-matrix.mjs",
|
|
336
|
-
"benchmark:paper10:compile-matrix:full": "node scripts/run-paper10-compile-matrix.mjs --full",
|
|
337
|
-
"benchmark:paper10:depth-distribution": "node scripts/run-paper10-depth-distribution.mjs",
|
|
338
|
-
"benchmark:dispatch-policy": "tsx src/compiler/dispatch/DispatchPolicyBenchmark.cli.ts",
|
|
339
|
-
"benchmark:paper6:mecanim-matrix": "node scripts/run-paper6-mecanim-matrix.mjs",
|
|
340
|
-
"benchmark:critic-loop": "node scripts/run-critic-loop-benchmark.mjs"
|
|
341
|
+
"vitest": "^4.1.5"
|
|
341
342
|
}
|
|
342
|
-
}
|
|
343
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025-2026 HoloScript Contributors
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|