@holoscript/core 8.0.1 → 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-P3WMNYCN.js → GLTFPipeline-PN3DN6FO.js} +5 -5
- package/dist/{GLTFPipeline-N6B6PJ6G.cjs → GLTFPipeline-W45UOCNY.cjs} +9 -9
- package/dist/HoloScriptRuntime-ACDFKVVH.js +10 -0
- package/dist/{HoloScriptRuntime-VJ374RER.cjs → HoloScriptRuntime-ON2OQVEF.cjs} +5 -5
- package/dist/{chunk-CR7XRXRN.cjs → chunk-33AZRKKQ.cjs} +5 -5
- package/dist/{chunk-BGY3SDG3.js → chunk-37ZNYWWW.js} +24 -3
- package/dist/{chunk-X3UVCWNL.cjs → chunk-5PLWAEQQ.cjs} +8 -8
- package/dist/{chunk-MQWAT42R.cjs → chunk-6DO5IZ5N.cjs} +41 -44
- package/dist/{chunk-K574J76X.cjs → chunk-6S5VS7BF.cjs} +3 -3
- package/dist/{chunk-YVOAF4ML.js → chunk-DHXLCJJN.js} +3 -3
- package/dist/{chunk-HR2OSYVQ.js → chunk-DXWOTOUK.js} +3 -3
- package/dist/{chunk-KHDZJE5D.cjs → chunk-ELEHNDDS.cjs} +5 -5
- package/dist/{chunk-SMIWS6DE.cjs → chunk-IELX2OKI.js} +118 -7
- package/dist/{chunk-7T25IEZ2.js → chunk-JYTTPNKK.js} +3 -3
- package/dist/{chunk-FL33V6U7.js → chunk-MVPBWHAC.js} +3 -3
- package/dist/{chunk-JIBL5LRK.js → chunk-QACVP4PM.js} +24 -7
- package/dist/{chunk-4GU5GCIY.js → chunk-QRPRIJ2W.js} +145 -4
- package/dist/{chunk-J52VSAQ7.js → chunk-QSCGZ4DW.js} +3 -3
- package/dist/{chunk-E6XXE66V.js → chunk-RLLNOI3T.js} +3 -3
- package/dist/{chunk-AOVGZ25K.cjs → chunk-SMRVK6BI.cjs} +5 -5
- package/dist/{chunk-7V4JI5TB.cjs → chunk-U5GLSXSD.cjs} +6 -6
- package/dist/{chunk-6Q7RC2MK.cjs → chunk-UPXIY52O.cjs} +147 -3
- package/dist/{chunk-L5LKKENW.cjs → chunk-UWXE23BT.cjs} +4 -4
- package/dist/{chunk-ALC6K7GL.cjs → chunk-VDDJUO4G.cjs} +28 -7
- package/dist/{chunk-CSD27UNQ.js → chunk-XF3AATZJ.js} +5 -5
- package/dist/{chunk-RARB3MBR.js → chunk-YDPEHCCI.cjs} +127 -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 +66 -65
- package/LICENSE +0 -21
- package/dist/HoloScriptRuntime-CBYJX3LZ.js +0 -10
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';
|
|
@@ -14,7 +14,7 @@ export { AgentInferenceExportTarget_default as AgentInferenceExportTarget } from
|
|
|
14
14
|
export { assertHoloMapManifestContract } from './chunk-MBOOR7X4.js';
|
|
15
15
|
export { COCOExporterImpl as COCOExporter } from './chunk-Q56TT7IL.js';
|
|
16
16
|
export { RemotionBridgeImpl as RemotionBridge } from './chunk-YYXH45E2.js';
|
|
17
|
-
export { AIDriverTrait, ARKIT_MOUTH_SHAPES, AnimationTrait, BehaviorTreeRunner, MorphTrait as BlendShapeTrait, CharacterTrait, ComponentType, DEFAULT_ANIMATION_MAP, DEFAULT_AUTONOMY_GUARD_POLICY, DEFAULT_EXPRESSION_PRESETS, DEFAULT_FREQUENCY_BANDS, DRAFT_DEFAULTS, DRAFT_TRAIT, DialogTrait, DraftManager, ECSWorld, EmotionDirectiveTrait, GOAPPlanner, IKTrait, JointTrait, LipSyncTrait, LobbyTrait, NetworkedTrait, OCULUS_VISEME_MAP, REFUSED_CARE_OPTIMIZATION_TARGETS, RigidbodyTrait, TriggerTrait, VRTraitRegistry, VoiceInputTrait, VoiceOutputTrait, accessibleHandler, aiInpaintingHandler, aiTextureGenHandler, alertHandler, altTextHandler, ambisonicsHandler, anchorHandler, audioMaterialHandler, audioOcclusionHandler, audioPortalHandler, avatarEmbodimentHandler, behaviorTreeHandler, bodyTrackingHandler, buoyancyHandler, chainHandler, clothHandler, coLocatedHandler, computeHandler, controlNetHandler, controllerInputHandler, createAIDriverTrait, createAnimationTrait, createMorphTrait as createBlendShapeTrait, createCareField, createCharacterTrait, createDialogTrait, createEmotionDirectiveTrait, createIKTrait, createJointTrait, createLipSyncTrait, createLobbyTrait, createNetworkedTrait, createRepairLoop, createRigidbodyTrait, createTriggerTrait, createVoiceInputTrait, createVoiceOutputTrait, dataBindingHandler, destructionHandler, dialogueHandler, diffusionRealtimeHandler, digitalTwinHandler, dropTableHandler, effectiveWeight, emotionHandler, emotionalVoiceHandler, encounterHandler, evaluateAutonomyGuard, extractPayload, faceTrackingHandler, factionHandler, fbxHandler, flowFieldHandler, fluidHandler, gaussianSplatHandler, geospatialAnchorHandler, geospatialEnvHandler, getCachedThingDescription, getMQTTSinkClient, getMQTTSinkState, getMQTTSourceClient, getMQTTSourceState, getWoTThingState, gltfHandler, goalOrientedHandler, gpuBufferHandler, gpuParticleHandler, gpuPhysicsHandler, handTrackingHandler, hapticCueHandler, hasMQTTSinkTrait, hasMQTTSourceTrait, hasWoTThingTrait, headTrackedAudioHandler, heatmap3dHandler, highContrastHandler, hrtfHandler, invalidateThingDescription, isMQTTSinkConnected, isMQTTSourceConnected, layerAwareHandler, lightEstimationHandler, llmAgentHandler, luckHandler, magnifiableHandler, marketplaceHandler, materialXHandler, memoryHandler, meshDetectionHandler, motionReducedHandler, mqttSinkHandler, mqttSourceHandler, multiAgentHandler, nerfHandler, neuralLinkHandler, nftHandler, occlusionHandler, patrolHandler, perceptionHandler, persistentAnchorHandler, photogrammetryHandler, pickByWeight, planeDetectionHandler, poiHandler, pointCloudHandler, portableHandler, publishToMQTTSink, rbacHandler, recordGratitude, rememberRelationalContext, remotePresenceHandler, reverbZoneHandler, roleHandler, rooftopAnchorHandler, ropeHandler, sceneGraphHandler, screenReaderHandler, sensorHandler, sharePlayHandler, sharedAnchorHandler, sharedWorldHandler, shouldFire, softBodyHandler, sonificationHandler, spatialAccessoryHandler, spatialAudioCueHandler, spatialPersonaHandler, spectatorHandler, statHandler, subtitleHandler, terrainAnchorHandler, tokenGatedHandler, usdHandler, userMonitorHandler, validateCareField, voiceProximityHandler, volumetricVideoHandler, vpsHandler, vrTraitRegistry, walletHandler, windHandler, wotThingHandler } from './chunk-
|
|
17
|
+
export { AIDriverTrait, ARKIT_MOUTH_SHAPES, AnimationTrait, BehaviorTreeRunner, MorphTrait as BlendShapeTrait, CharacterTrait, ComponentType, DEFAULT_ANIMATION_MAP, DEFAULT_AUTONOMY_GUARD_POLICY, DEFAULT_EXPRESSION_PRESETS, DEFAULT_FREQUENCY_BANDS, DRAFT_DEFAULTS, DRAFT_TRAIT, DialogTrait, DraftManager, ECSWorld, EmotionDirectiveTrait, GOAPPlanner, IKTrait, JointTrait, LipSyncTrait, LobbyTrait, NetworkedTrait, OCULUS_VISEME_MAP, REFUSED_CARE_OPTIMIZATION_TARGETS, RigidbodyTrait, TriggerTrait, VRTraitRegistry, VoiceInputTrait, VoiceOutputTrait, accessibleHandler, aiInpaintingHandler, aiTextureGenHandler, alertHandler, altTextHandler, ambisonicsHandler, anchorHandler, audioMaterialHandler, audioOcclusionHandler, audioPortalHandler, avatarEmbodimentHandler, behaviorTreeHandler, bodyTrackingHandler, buoyancyHandler, chainHandler, clothHandler, coLocatedHandler, computeHandler, controlNetHandler, controllerInputHandler, createAIDriverTrait, createAnimationTrait, createMorphTrait as createBlendShapeTrait, createCareField, createCharacterTrait, createDialogTrait, createEmotionDirectiveTrait, createIKTrait, createJointTrait, createLipSyncTrait, createLobbyTrait, createNetworkedTrait, createRepairLoop, createRigidbodyTrait, createTriggerTrait, createVoiceInputTrait, createVoiceOutputTrait, dataBindingHandler, destructionHandler, dialogueHandler, diffusionRealtimeHandler, digitalTwinHandler, dropTableHandler, effectiveWeight, emotionHandler, emotionalVoiceHandler, encounterHandler, evaluateAutonomyGuard, extractPayload, faceTrackingHandler, factionHandler, fbxHandler, flowFieldHandler, fluidHandler, gaussianSplatHandler, geospatialAnchorHandler, geospatialEnvHandler, getCachedThingDescription, getMQTTSinkClient, getMQTTSinkState, getMQTTSourceClient, getMQTTSourceState, getWoTThingState, gltfHandler, goalOrientedHandler, gpuBufferHandler, gpuParticleHandler, gpuPhysicsHandler, handTrackingHandler, hapticCueHandler, hasMQTTSinkTrait, hasMQTTSourceTrait, hasWoTThingTrait, headTrackedAudioHandler, heatmap3dHandler, highContrastHandler, hrtfHandler, invalidateThingDescription, isMQTTSinkConnected, isMQTTSourceConnected, layerAwareHandler, lightEstimationHandler, llmAgentHandler, luckHandler, magnifiableHandler, marketplaceHandler, materialXHandler, memoryHandler, meshDetectionHandler, motionReducedHandler, mqttSinkHandler, mqttSourceHandler, multiAgentHandler, nerfHandler, neuralLinkHandler, nftHandler, occlusionHandler, patrolHandler, perceptionHandler, persistentAnchorHandler, photogrammetryHandler, pickByWeight, planeDetectionHandler, poiHandler, pointCloudHandler, portableHandler, publishToMQTTSink, rbacHandler, recordGratitude, rememberRelationalContext, remotePresenceHandler, reverbZoneHandler, roleHandler, rooftopAnchorHandler, ropeHandler, sceneGraphHandler, screenReaderHandler, sensorHandler, sharePlayHandler, sharedAnchorHandler, sharedWorldHandler, shouldFire, softBodyHandler, sonificationHandler, spatialAccessoryHandler, spatialAudioCueHandler, spatialPersonaHandler, spectatorHandler, statHandler, subtitleHandler, terrainAnchorHandler, tokenGatedHandler, usdHandler, userMonitorHandler, validateCareField, voiceProximityHandler, volumetricVideoHandler, vpsHandler, vrTraitRegistry, walletHandler, windHandler, wotThingHandler } from './chunk-DXWOTOUK.js';
|
|
18
18
|
export { LIGHTING_PRESETS, LightingTrait, MATERIAL_PRESETS, MaterialTrait, RenderingTrait, SHADER_CHUNKS, SHADER_PRESETS, ShaderTrait, createLightingTrait, createMaterialTrait, createRenderingTrait, createShaderTrait } from './chunk-QPOQ7VPI.js';
|
|
19
19
|
export { HOLOMAP_SIMULATION_CONTRACT_KIND, ensureNodeWebGpuSync, isWebGpuEnvironmentPresent } from './chunk-YF2I3MV3.js';
|
|
20
20
|
import './chunk-TDCNJHWO.js';
|
|
@@ -47,10 +47,10 @@ 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
|
-
import './chunk-
|
|
53
|
+
import './chunk-QRPRIJ2W.js';
|
|
54
54
|
import { init_PlayCanvasCompiler, PlayCanvasCompiler } from './chunk-DHO2YRIM.js';
|
|
55
55
|
import { init_AndroidCompiler, AndroidCompiler } from './chunk-WRKUDAZJ.js';
|
|
56
56
|
export { AndroidCompiler, compileToAndroid } from './chunk-WRKUDAZJ.js';
|
|
@@ -105,8 +105,8 @@ import './chunk-SIEXCILW.js';
|
|
|
105
105
|
import './chunk-CBJY23VL.js';
|
|
106
106
|
export { HoloScriptTypeChecker, createTypeChecker } from './chunk-VMLKSV26.js';
|
|
107
107
|
export { BUILTIN_CONSTRAINTS } from './chunk-XSFNHP2E.js';
|
|
108
|
-
import { getSharedEventBus } from './chunk-
|
|
109
|
-
export { EventBus, getSharedEventBus, setSharedEventBus, telemetry } from './chunk-
|
|
108
|
+
import { lazyPeerSymbol, getSharedEventBus } from './chunk-IELX2OKI.js';
|
|
109
|
+
export { EventBus, getSharedEventBus, setSharedEventBus, telemetry } from './chunk-IELX2OKI.js';
|
|
110
110
|
import { HoloScriptCodeParser } from './chunk-URG2SJLK.js';
|
|
111
111
|
export { ERROR_CODES, HoloScriptCodeParser, ParserPools } from './chunk-URG2SJLK.js';
|
|
112
112
|
import './chunk-H652NHX5.js';
|
|
@@ -125,7 +125,6 @@ import { inflateSync, deflateSync } from 'zlib';
|
|
|
125
125
|
import { EventEmitter } from 'events';
|
|
126
126
|
import { canonicalizeManifest, verifySignature } from '@holoscript/platform';
|
|
127
127
|
export { canonicalizeManifest, checkRateLimit, createDefaultPolicy, createPackageManifest, createSandbox, createStrictPolicy, decrypt, deriveKey, destroy as destroySandbox, encrypt, execute as executeSandbox, exportKey, generateEncryptionKey, generateKeyPair, hmacSha256, importKey, randomBytes, randomHex, randomUUID, resetRateLimit, sanitizeInput, sha256, sha512, signPackage, validateApiKey, validateUrl, validateWalletAddress, verifyHmacSha256, verifySignature } from '@holoscript/platform';
|
|
128
|
-
import { createRequire } from 'module';
|
|
129
128
|
import { Worker } from 'worker_threads';
|
|
130
129
|
|
|
131
130
|
// ../holo-vm/dist/index.cjs
|
|
@@ -24777,7 +24776,7 @@ button refreshBtn {
|
|
|
24777
24776
|
|
|
24778
24777
|
// src/barrel/runtime-env.ts
|
|
24779
24778
|
async function createHoloScriptEnvironment() {
|
|
24780
|
-
const { HoloScriptRuntime } = await import('./HoloScriptRuntime-
|
|
24779
|
+
const { HoloScriptRuntime } = await import('./HoloScriptRuntime-ACDFKVVH.js');
|
|
24781
24780
|
return {
|
|
24782
24781
|
parser: new HoloScriptParser(),
|
|
24783
24782
|
runtime: new HoloScriptRuntime(),
|
|
@@ -34896,97 +34895,6 @@ function calculateMedian(numbers) {
|
|
|
34896
34895
|
const mid = Math.floor(sorted.length / 2);
|
|
34897
34896
|
return sorted.length % 2 === 0 ? (sorted[mid - 1] + sorted[mid]) / 2 : sorted[mid];
|
|
34898
34897
|
}
|
|
34899
|
-
var _requirePeer;
|
|
34900
|
-
function requirePeer(specifier) {
|
|
34901
|
-
if (!_requirePeer) {
|
|
34902
|
-
if (typeof createRequire !== "function") {
|
|
34903
|
-
throw new Error(
|
|
34904
|
-
"@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."
|
|
34905
|
-
);
|
|
34906
|
-
}
|
|
34907
|
-
_requirePeer = createRequire(import.meta.url);
|
|
34908
|
-
}
|
|
34909
|
-
return _requirePeer(specifier);
|
|
34910
|
-
}
|
|
34911
|
-
var peerCache = /* @__PURE__ */ new Map();
|
|
34912
|
-
function loadPeer(specifier) {
|
|
34913
|
-
const cached = peerCache.get(specifier);
|
|
34914
|
-
if (cached) return cached;
|
|
34915
|
-
let mod;
|
|
34916
|
-
try {
|
|
34917
|
-
mod = requirePeer(specifier);
|
|
34918
|
-
} catch (err) {
|
|
34919
|
-
const e = err;
|
|
34920
|
-
const pkg = specifier.startsWith("@") ? specifier.split("/").slice(0, 2).join("/") : specifier.split("/")[0];
|
|
34921
|
-
if (e && (e.code === "ERR_MODULE_NOT_FOUND" || e.code === "MODULE_NOT_FOUND")) {
|
|
34922
|
-
throw new Error(
|
|
34923
|
-
`@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.`
|
|
34924
|
-
);
|
|
34925
|
-
}
|
|
34926
|
-
throw err;
|
|
34927
|
-
}
|
|
34928
|
-
peerCache.set(specifier, mod);
|
|
34929
|
-
return mod;
|
|
34930
|
-
}
|
|
34931
|
-
function resolveSymbol(specifier, name) {
|
|
34932
|
-
const mod = loadPeer(specifier);
|
|
34933
|
-
if (!(name in mod)) {
|
|
34934
|
-
const pkg = specifier.startsWith("@") ? specifier.split("/").slice(0, 2).join("/") : specifier.split("/")[0];
|
|
34935
|
-
throw new Error(
|
|
34936
|
-
`@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.`
|
|
34937
|
-
);
|
|
34938
|
-
}
|
|
34939
|
-
return mod[name];
|
|
34940
|
-
}
|
|
34941
|
-
function lazyPeerSymbol(specifier, name) {
|
|
34942
|
-
const target = function lazyPeerProxyTarget() {
|
|
34943
|
-
};
|
|
34944
|
-
let resolved;
|
|
34945
|
-
const real = () => {
|
|
34946
|
-
if (resolved === void 0) resolved = resolveSymbol(specifier, name);
|
|
34947
|
-
return resolved;
|
|
34948
|
-
};
|
|
34949
|
-
const tryReal = () => {
|
|
34950
|
-
try {
|
|
34951
|
-
return real();
|
|
34952
|
-
} catch {
|
|
34953
|
-
return void 0;
|
|
34954
|
-
}
|
|
34955
|
-
};
|
|
34956
|
-
return new Proxy(target, {
|
|
34957
|
-
apply(_t, thisArg, args) {
|
|
34958
|
-
return Reflect.apply(real(), thisArg, args);
|
|
34959
|
-
},
|
|
34960
|
-
construct(_t, args, newTarget) {
|
|
34961
|
-
return Reflect.construct(real(), args, newTarget);
|
|
34962
|
-
},
|
|
34963
|
-
get(_t, prop) {
|
|
34964
|
-
const r = tryReal();
|
|
34965
|
-
if (r == null) return Reflect.get(_t, prop);
|
|
34966
|
-
const v = Reflect.get(r, prop, r);
|
|
34967
|
-
return typeof v === "function" ? v.bind(r) : v;
|
|
34968
|
-
},
|
|
34969
|
-
has(_t, prop) {
|
|
34970
|
-
const r = tryReal();
|
|
34971
|
-
return Reflect.has(r ?? _t, prop);
|
|
34972
|
-
},
|
|
34973
|
-
getPrototypeOf(_t) {
|
|
34974
|
-
const r = tryReal();
|
|
34975
|
-
return Reflect.getPrototypeOf(r ?? _t);
|
|
34976
|
-
},
|
|
34977
|
-
// ownKeys / getOwnPropertyDescriptor MUST satisfy Proxy invariants (the
|
|
34978
|
-
// function target has a non-configurable `prototype` key), so on resolution
|
|
34979
|
-
// failure delegate to the TARGET — never return [] / undefined, which throws.
|
|
34980
|
-
ownKeys(_t) {
|
|
34981
|
-
const r = tryReal();
|
|
34982
|
-
return Reflect.ownKeys(r ?? _t);
|
|
34983
|
-
},
|
|
34984
|
-
getOwnPropertyDescriptor(_t, prop) {
|
|
34985
|
-
const r = tryReal();
|
|
34986
|
-
return Reflect.getOwnPropertyDescriptor(r ?? _t, prop);
|
|
34987
|
-
}
|
|
34988
|
-
});
|
|
34989
|
-
}
|
|
34990
34898
|
|
|
34991
34899
|
// src/barrel/compiler-plugins-crypto.ts
|
|
34992
34900
|
init_CompilerBase();
|
|
@@ -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';
|