@holoscript/core 6.1.1 → 6.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-MXWNGCRS.js → chunk-4R6HPSHJ.js} +5 -5
- package/dist/{chunk-L4LFINPO.js → chunk-G2LS3RFO.js} +3 -3
- package/dist/{chunk-7OPW2KO7.cjs → chunk-J56PTA46.cjs} +5 -5
- package/dist/{chunk-YSCKYJOB.cjs → chunk-RAXUF5DF.cjs} +5 -5
- package/dist/index.cjs +36 -36
- package/dist/index.js +2 -2
- package/dist/reconstruction/index.cjs +31 -31
- package/dist/reconstruction/index.js +2 -2
- package/dist/traits/index.cjs +4 -4
- package/dist/traits/index.js +1 -1
- package/package.json +43 -43
- package/dist/traits/engines/index.d.ts +0 -111
|
@@ -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 = "6.1.
|
|
6
|
-
var GIT_COMMIT_SHA = "
|
|
7
|
-
var BUILD_TIMESTAMP = "2026-05-
|
|
5
|
+
var HOLOSCRIPT_VERSION = "6.1.2" ;
|
|
6
|
+
var GIT_COMMIT_SHA = "13fb1caf8" ;
|
|
7
|
+
var BUILD_TIMESTAMP = "2026-05-30T22:33:15.746Z" ;
|
|
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-4R6HPSHJ.js.map
|
|
2176
|
+
//# sourceMappingURL=chunk-4R6HPSHJ.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createHoloMapRuntime, HOLOMAP_DEFAULTS } from './chunk-
|
|
1
|
+
import { createHoloMapRuntime, HOLOMAP_DEFAULTS } from './chunk-4R6HPSHJ.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-G2LS3RFO.js.map
|
|
623
|
+
//# sourceMappingURL=chunk-G2LS3RFO.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkRAXUF5DF_cjs = require('./chunk-RAXUF5DF.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 = chunkRAXUF5DF_cjs.createHoloMapRuntime();
|
|
589
589
|
await runtime.init({
|
|
590
|
-
...
|
|
590
|
+
...chunkRAXUF5DF_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-J56PTA46.cjs.map
|
|
639
|
+
//# sourceMappingURL=chunk-J56PTA46.cjs.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 = "6.1.
|
|
8
|
-
var GIT_COMMIT_SHA = "
|
|
9
|
-
var BUILD_TIMESTAMP = "2026-05-
|
|
7
|
+
var HOLOSCRIPT_VERSION = "6.1.2" ;
|
|
8
|
+
var GIT_COMMIT_SHA = "13fb1caf8" ;
|
|
9
|
+
var BUILD_TIMESTAMP = "2026-05-30T22:33:15.746Z" ;
|
|
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-RAXUF5DF.cjs.map
|
|
2196
|
+
//# sourceMappingURL=chunk-RAXUF5DF.cjs.map
|
package/dist/index.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkVSK7W3O5_cjs = require('./chunk-VSK7W3O5.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkJ56PTA46_cjs = require('./chunk-J56PTA46.cjs');
|
|
5
5
|
var chunkEXKSFGSX_cjs = require('./chunk-EXKSFGSX.cjs');
|
|
6
6
|
var chunkEKYL4PE3_cjs = require('./chunk-EKYL4PE3.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunkRAXUF5DF_cjs = require('./chunk-RAXUF5DF.cjs');
|
|
8
8
|
var chunkLM2VU56C_cjs = require('./chunk-LM2VU56C.cjs');
|
|
9
9
|
var chunkOSYNRVOV_cjs = require('./chunk-OSYNRVOV.cjs');
|
|
10
10
|
var chunkQWNQ523V_cjs = require('./chunk-QWNQ523V.cjs');
|
|
@@ -39573,63 +39573,63 @@ Object.defineProperty(exports, "generateScaleTexture", {
|
|
|
39573
39573
|
});
|
|
39574
39574
|
Object.defineProperty(exports, "ANCHOR_DEFAULTS", {
|
|
39575
39575
|
enumerable: true,
|
|
39576
|
-
get: function () { return
|
|
39576
|
+
get: function () { return chunkJ56PTA46_cjs.ANCHOR_DEFAULTS; }
|
|
39577
39577
|
});
|
|
39578
39578
|
Object.defineProperty(exports, "ARCORE_DEPTH_RECOMMENDED_RANGE_MILLIMETERS", {
|
|
39579
39579
|
enumerable: true,
|
|
39580
|
-
get: function () { return
|
|
39580
|
+
get: function () { return chunkJ56PTA46_cjs.ARCORE_DEPTH_RECOMMENDED_RANGE_MILLIMETERS; }
|
|
39581
39581
|
});
|
|
39582
39582
|
Object.defineProperty(exports, "HOLOMAP_MOBILE_SENSOR_BUNDLE_VERSION", {
|
|
39583
39583
|
enumerable: true,
|
|
39584
|
-
get: function () { return
|
|
39584
|
+
get: function () { return chunkJ56PTA46_cjs.HOLOMAP_MOBILE_SENSOR_BUNDLE_VERSION; }
|
|
39585
39585
|
});
|
|
39586
39586
|
Object.defineProperty(exports, "TRAJECTORY_DEFAULTS", {
|
|
39587
39587
|
enumerable: true,
|
|
39588
|
-
get: function () { return
|
|
39588
|
+
get: function () { return chunkJ56PTA46_cjs.TRAJECTORY_DEFAULTS; }
|
|
39589
39589
|
});
|
|
39590
39590
|
Object.defineProperty(exports, "arCoreDepthFrameToMobileSensorFrame", {
|
|
39591
39591
|
enumerable: true,
|
|
39592
|
-
get: function () { return
|
|
39592
|
+
get: function () { return chunkJ56PTA46_cjs.arCoreDepthFrameToMobileSensorFrame; }
|
|
39593
39593
|
});
|
|
39594
39594
|
Object.defineProperty(exports, "cameraPoseFromColumnMajorTransform", {
|
|
39595
39595
|
enumerable: true,
|
|
39596
|
-
get: function () { return
|
|
39596
|
+
get: function () { return chunkJ56PTA46_cjs.cameraPoseFromColumnMajorTransform; }
|
|
39597
39597
|
});
|
|
39598
39598
|
Object.defineProperty(exports, "createAnchorContext", {
|
|
39599
39599
|
enumerable: true,
|
|
39600
|
-
get: function () { return
|
|
39600
|
+
get: function () { return chunkJ56PTA46_cjs.createAnchorContext; }
|
|
39601
39601
|
});
|
|
39602
39602
|
Object.defineProperty(exports, "createArCoreDepthMobileSensorBundle", {
|
|
39603
39603
|
enumerable: true,
|
|
39604
|
-
get: function () { return
|
|
39604
|
+
get: function () { return chunkJ56PTA46_cjs.createArCoreDepthMobileSensorBundle; }
|
|
39605
39605
|
});
|
|
39606
39606
|
Object.defineProperty(exports, "createFusedAttentionBackend", {
|
|
39607
39607
|
enumerable: true,
|
|
39608
|
-
get: function () { return
|
|
39608
|
+
get: function () { return chunkJ56PTA46_cjs.createFusedAttentionBackend; }
|
|
39609
39609
|
});
|
|
39610
39610
|
Object.defineProperty(exports, "createPagedKVCache", {
|
|
39611
39611
|
enumerable: true,
|
|
39612
|
-
get: function () { return
|
|
39612
|
+
get: function () { return chunkJ56PTA46_cjs.createPagedKVCache; }
|
|
39613
39613
|
});
|
|
39614
39614
|
Object.defineProperty(exports, "createTrajectoryMemory", {
|
|
39615
39615
|
enumerable: true,
|
|
39616
|
-
get: function () { return
|
|
39616
|
+
get: function () { return chunkJ56PTA46_cjs.createTrajectoryMemory; }
|
|
39617
39617
|
});
|
|
39618
39618
|
Object.defineProperty(exports, "mergeAnchoredProvenance", {
|
|
39619
39619
|
enumerable: true,
|
|
39620
|
-
get: function () { return
|
|
39620
|
+
get: function () { return chunkJ56PTA46_cjs.mergeAnchoredProvenance; }
|
|
39621
39621
|
});
|
|
39622
39622
|
Object.defineProperty(exports, "mobileSensorBundleToFrames", {
|
|
39623
39623
|
enumerable: true,
|
|
39624
|
-
get: function () { return
|
|
39624
|
+
get: function () { return chunkJ56PTA46_cjs.mobileSensorBundleToFrames; }
|
|
39625
39625
|
});
|
|
39626
39626
|
Object.defineProperty(exports, "replayMobileSensorBundle", {
|
|
39627
39627
|
enumerable: true,
|
|
39628
|
-
get: function () { return
|
|
39628
|
+
get: function () { return chunkJ56PTA46_cjs.replayMobileSensorBundle; }
|
|
39629
39629
|
});
|
|
39630
39630
|
Object.defineProperty(exports, "validateMobileSensorBundle", {
|
|
39631
39631
|
enumerable: true,
|
|
39632
|
-
get: function () { return
|
|
39632
|
+
get: function () { return chunkJ56PTA46_cjs.validateMobileSensorBundle; }
|
|
39633
39633
|
});
|
|
39634
39634
|
Object.defineProperty(exports, "InteropBindingGenerator", {
|
|
39635
39635
|
enumerable: true,
|
|
@@ -39653,79 +39653,79 @@ Object.defineProperty(exports, "createSkeletonTrait", {
|
|
|
39653
39653
|
});
|
|
39654
39654
|
Object.defineProperty(exports, "BUILD_TIMESTAMP", {
|
|
39655
39655
|
enumerable: true,
|
|
39656
|
-
get: function () { return
|
|
39656
|
+
get: function () { return chunkRAXUF5DF_cjs.BUILD_TIMESTAMP; }
|
|
39657
39657
|
});
|
|
39658
39658
|
Object.defineProperty(exports, "GIT_COMMIT_SHA", {
|
|
39659
39659
|
enumerable: true,
|
|
39660
|
-
get: function () { return
|
|
39660
|
+
get: function () { return chunkRAXUF5DF_cjs.GIT_COMMIT_SHA; }
|
|
39661
39661
|
});
|
|
39662
39662
|
Object.defineProperty(exports, "HOLOMAP_DEFAULTS", {
|
|
39663
39663
|
enumerable: true,
|
|
39664
|
-
get: function () { return
|
|
39664
|
+
get: function () { return chunkRAXUF5DF_cjs.HOLOMAP_DEFAULTS; }
|
|
39665
39665
|
});
|
|
39666
39666
|
Object.defineProperty(exports, "HOLOSCRIPT_VERSION", {
|
|
39667
39667
|
enumerable: true,
|
|
39668
|
-
get: function () { return
|
|
39668
|
+
get: function () { return chunkRAXUF5DF_cjs.HOLOSCRIPT_VERSION; }
|
|
39669
39669
|
});
|
|
39670
39670
|
Object.defineProperty(exports, "assertWeightCid", {
|
|
39671
39671
|
enumerable: true,
|
|
39672
|
-
get: function () { return
|
|
39672
|
+
get: function () { return chunkRAXUF5DF_cjs.assertWeightCid; }
|
|
39673
39673
|
});
|
|
39674
39674
|
Object.defineProperty(exports, "createHoloMapMicroEncoder", {
|
|
39675
39675
|
enumerable: true,
|
|
39676
|
-
get: function () { return
|
|
39676
|
+
get: function () { return chunkRAXUF5DF_cjs.createHoloMapMicroEncoder; }
|
|
39677
39677
|
});
|
|
39678
39678
|
Object.defineProperty(exports, "createHoloMapRunId", {
|
|
39679
39679
|
enumerable: true,
|
|
39680
|
-
get: function () { return
|
|
39680
|
+
get: function () { return chunkRAXUF5DF_cjs.createHoloMapRunId; }
|
|
39681
39681
|
});
|
|
39682
39682
|
Object.defineProperty(exports, "createHoloMapRuntime", {
|
|
39683
39683
|
enumerable: true,
|
|
39684
|
-
get: function () { return
|
|
39684
|
+
get: function () { return chunkRAXUF5DF_cjs.createHoloMapRuntime; }
|
|
39685
39685
|
});
|
|
39686
39686
|
Object.defineProperty(exports, "frameToMicroImage", {
|
|
39687
39687
|
enumerable: true,
|
|
39688
|
-
get: function () { return
|
|
39688
|
+
get: function () { return chunkRAXUF5DF_cjs.frameToMicroImage; }
|
|
39689
39689
|
});
|
|
39690
39690
|
Object.defineProperty(exports, "getCachedWeightBlob", {
|
|
39691
39691
|
enumerable: true,
|
|
39692
|
-
get: function () { return
|
|
39692
|
+
get: function () { return chunkRAXUF5DF_cjs.getCachedWeightBlob; }
|
|
39693
39693
|
});
|
|
39694
39694
|
Object.defineProperty(exports, "getVersionInfo", {
|
|
39695
39695
|
enumerable: true,
|
|
39696
|
-
get: function () { return
|
|
39696
|
+
get: function () { return chunkRAXUF5DF_cjs.getVersionInfo; }
|
|
39697
39697
|
});
|
|
39698
39698
|
Object.defineProperty(exports, "getVersionString", {
|
|
39699
39699
|
enumerable: true,
|
|
39700
|
-
get: function () { return
|
|
39700
|
+
get: function () { return chunkRAXUF5DF_cjs.getVersionString; }
|
|
39701
39701
|
});
|
|
39702
39702
|
Object.defineProperty(exports, "loadHoloMapWeightBlob", {
|
|
39703
39703
|
enumerable: true,
|
|
39704
|
-
get: function () { return
|
|
39704
|
+
get: function () { return chunkRAXUF5DF_cjs.loadHoloMapWeightBlob; }
|
|
39705
39705
|
});
|
|
39706
39706
|
Object.defineProperty(exports, "logHoloMapEvent", {
|
|
39707
39707
|
enumerable: true,
|
|
39708
|
-
get: function () { return
|
|
39708
|
+
get: function () { return chunkRAXUF5DF_cjs.logHoloMapEvent; }
|
|
39709
39709
|
});
|
|
39710
39710
|
Object.defineProperty(exports, "normalizeWeightCidDigest", {
|
|
39711
39711
|
enumerable: true,
|
|
39712
|
-
get: function () { return
|
|
39712
|
+
get: function () { return chunkRAXUF5DF_cjs.normalizeWeightCidDigest; }
|
|
39713
39713
|
});
|
|
39714
39714
|
Object.defineProperty(exports, "putCachedWeightBlob", {
|
|
39715
39715
|
enumerable: true,
|
|
39716
|
-
get: function () { return
|
|
39716
|
+
get: function () { return chunkRAXUF5DF_cjs.putCachedWeightBlob; }
|
|
39717
39717
|
});
|
|
39718
39718
|
Object.defineProperty(exports, "resetHoloMapTelemetryForTests", {
|
|
39719
39719
|
enumerable: true,
|
|
39720
|
-
get: function () { return
|
|
39720
|
+
get: function () { return chunkRAXUF5DF_cjs.resetHoloMapTelemetryForTests; }
|
|
39721
39721
|
});
|
|
39722
39722
|
Object.defineProperty(exports, "runHoloMapMicroEncoderCpu", {
|
|
39723
39723
|
enumerable: true,
|
|
39724
|
-
get: function () { return
|
|
39724
|
+
get: function () { return chunkRAXUF5DF_cjs.runHoloMapMicroEncoderCpu; }
|
|
39725
39725
|
});
|
|
39726
39726
|
Object.defineProperty(exports, "tryCreateHoloMapEncoderDevice", {
|
|
39727
39727
|
enumerable: true,
|
|
39728
|
-
get: function () { return
|
|
39728
|
+
get: function () { return chunkRAXUF5DF_cjs.tryCreateHoloMapEncoderDevice; }
|
|
39729
39729
|
});
|
|
39730
39730
|
Object.defineProperty(exports, "computeHoloMapReplayFingerprint", {
|
|
39731
39731
|
enumerable: true,
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { GLTFPipeline, createGLTFPipeline, generateScaleNormalMap, generateScaleTexture } from './chunk-HRODTEEO.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-
|
|
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-G2LS3RFO.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-4R6HPSHJ.js';
|
|
6
6
|
export { computeHoloMapReplayFingerprint, fnv1a32Hex } from './chunk-WNNE3PO3.js';
|
|
7
7
|
export { CircuitBreakerState, CircuitBreaker as ResilienceCircuitBreaker, retryWithBackoff, withTimeout } from './chunk-A6KINLZJ.js';
|
|
8
8
|
import { init_ThreeJSCompiler, init_A2AAgentCardCompiler, init_NIRCompiler, GaussianSplattingCompiler, NIRCompiler, A2AAgentCardCompiler, USDZPipeline } from './chunk-QCCBXSCE.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkJ56PTA46_cjs = require('../chunk-J56PTA46.cjs');
|
|
4
|
+
var chunkRAXUF5DF_cjs = require('../chunk-RAXUF5DF.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 chunkJ56PTA46_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 chunkJ56PTA46_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 chunkJ56PTA46_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 chunkJ56PTA46_cjs.TRAJECTORY_DEFAULTS; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "arCoreDepthFrameToMobileSensorFrame", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkJ56PTA46_cjs.arCoreDepthFrameToMobileSensorFrame; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "cameraPoseFromColumnMajorTransform", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkJ56PTA46_cjs.cameraPoseFromColumnMajorTransform; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "createAnchorContext", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkJ56PTA46_cjs.createAnchorContext; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "createArCoreDepthMobileSensorBundle", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkJ56PTA46_cjs.createArCoreDepthMobileSensorBundle; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "createFusedAttentionBackend", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkJ56PTA46_cjs.createFusedAttentionBackend; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "createPagedKVCache", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkJ56PTA46_cjs.createPagedKVCache; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "createTrajectoryMemory", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkJ56PTA46_cjs.createTrajectoryMemory; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "mergeAnchoredProvenance", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkJ56PTA46_cjs.mergeAnchoredProvenance; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "mobileSensorBundleToFrames", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkJ56PTA46_cjs.mobileSensorBundleToFrames; }
|
|
63
63
|
});
|
|
64
64
|
Object.defineProperty(exports, "replayMobileSensorBundle", {
|
|
65
65
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkJ56PTA46_cjs.replayMobileSensorBundle; }
|
|
67
67
|
});
|
|
68
68
|
Object.defineProperty(exports, "validateMobileSensorBundle", {
|
|
69
69
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkJ56PTA46_cjs.validateMobileSensorBundle; }
|
|
71
71
|
});
|
|
72
72
|
Object.defineProperty(exports, "HOLOMAP_DEFAULTS", {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkRAXUF5DF_cjs.HOLOMAP_DEFAULTS; }
|
|
75
75
|
});
|
|
76
76
|
Object.defineProperty(exports, "assertWeightCid", {
|
|
77
77
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkRAXUF5DF_cjs.assertWeightCid; }
|
|
79
79
|
});
|
|
80
80
|
Object.defineProperty(exports, "createHoloMapMicroEncoder", {
|
|
81
81
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkRAXUF5DF_cjs.createHoloMapMicroEncoder; }
|
|
83
83
|
});
|
|
84
84
|
Object.defineProperty(exports, "createHoloMapRunId", {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkRAXUF5DF_cjs.createHoloMapRunId; }
|
|
87
87
|
});
|
|
88
88
|
Object.defineProperty(exports, "createHoloMapRuntime", {
|
|
89
89
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkRAXUF5DF_cjs.createHoloMapRuntime; }
|
|
91
91
|
});
|
|
92
92
|
Object.defineProperty(exports, "frameToMicroImage", {
|
|
93
93
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkRAXUF5DF_cjs.frameToMicroImage; }
|
|
95
95
|
});
|
|
96
96
|
Object.defineProperty(exports, "getCachedWeightBlob", {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkRAXUF5DF_cjs.getCachedWeightBlob; }
|
|
99
99
|
});
|
|
100
100
|
Object.defineProperty(exports, "loadHoloMapWeightBlob", {
|
|
101
101
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkRAXUF5DF_cjs.loadHoloMapWeightBlob; }
|
|
103
103
|
});
|
|
104
104
|
Object.defineProperty(exports, "logHoloMapEvent", {
|
|
105
105
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkRAXUF5DF_cjs.logHoloMapEvent; }
|
|
107
107
|
});
|
|
108
108
|
Object.defineProperty(exports, "normalizeWeightCidDigest", {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkRAXUF5DF_cjs.normalizeWeightCidDigest; }
|
|
111
111
|
});
|
|
112
112
|
Object.defineProperty(exports, "putCachedWeightBlob", {
|
|
113
113
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkRAXUF5DF_cjs.putCachedWeightBlob; }
|
|
115
115
|
});
|
|
116
116
|
Object.defineProperty(exports, "resetHoloMapTelemetryForTests", {
|
|
117
117
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkRAXUF5DF_cjs.resetHoloMapTelemetryForTests; }
|
|
119
119
|
});
|
|
120
120
|
Object.defineProperty(exports, "runHoloMapMicroEncoderCpu", {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkRAXUF5DF_cjs.runHoloMapMicroEncoderCpu; }
|
|
123
123
|
});
|
|
124
124
|
Object.defineProperty(exports, "tryCreateHoloMapEncoderDevice", {
|
|
125
125
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkRAXUF5DF_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-G2LS3RFO.js';
|
|
2
|
+
export { HOLOMAP_DEFAULTS, assertWeightCid, createHoloMapMicroEncoder, createHoloMapRunId, createHoloMapRuntime, frameToMicroImage, getCachedWeightBlob, loadHoloMapWeightBlob, logHoloMapEvent, normalizeWeightCidDigest, putCachedWeightBlob, resetHoloMapTelemetryForTests, runHoloMapMicroEncoderCpu, tryCreateHoloMapEncoderDevice } from '../chunk-4R6HPSHJ.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/traits/index.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var chunkMYY4PMWX_cjs = require('../chunk-MYY4PMWX.cjs');
|
|
4
4
|
var chunk5N54COB6_cjs = require('../chunk-5N54COB6.cjs');
|
|
5
5
|
var chunkEKYL4PE3_cjs = require('../chunk-EKYL4PE3.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkRAXUF5DF_cjs = require('../chunk-RAXUF5DF.cjs');
|
|
7
7
|
require('../chunk-LM2VU56C.cjs');
|
|
8
8
|
var chunkOSYNRVOV_cjs = require('../chunk-OSYNRVOV.cjs');
|
|
9
9
|
var chunk6S6TKNEA_cjs = require('../chunk-6S6TKNEA.cjs');
|
|
@@ -5631,12 +5631,12 @@ var holomapReconstructionHandler = {
|
|
|
5631
5631
|
node.__holomapRuntime;
|
|
5632
5632
|
if (event.type === "holomap:start_session") {
|
|
5633
5633
|
const payload2 = event.payload ?? {};
|
|
5634
|
-
const runtime =
|
|
5634
|
+
const runtime = chunkRAXUF5DF_cjs.createHoloMapRuntime();
|
|
5635
5635
|
const sessionId = typeof payload2.sessionId === "string" ? payload2.sessionId : cryptoRandomId();
|
|
5636
5636
|
const runtimeConfig = {
|
|
5637
|
-
...
|
|
5637
|
+
...chunkRAXUF5DF_cjs.HOLOMAP_DEFAULTS,
|
|
5638
5638
|
...config.runtime,
|
|
5639
|
-
seed: typeof payload2.seed === "number" ? payload2.seed : config.runtime?.seed ??
|
|
5639
|
+
seed: typeof payload2.seed === "number" ? payload2.seed : config.runtime?.seed ?? chunkRAXUF5DF_cjs.HOLOMAP_DEFAULTS.seed,
|
|
5640
5640
|
modelHash: typeof payload2.modelHash === "string" ? payload2.modelHash : config.runtime?.modelHash ?? "holomap-trait-bound"
|
|
5641
5641
|
};
|
|
5642
5642
|
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-EOFNVCM6.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-4R6HPSHJ.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-EOBB6A4B.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holoscript/core",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.2",
|
|
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",
|
|
@@ -216,12 +216,12 @@
|
|
|
216
216
|
"jose": "^6.2.2",
|
|
217
217
|
"jsonwebtoken": "^9.0.2",
|
|
218
218
|
"zod": "^4.3.6",
|
|
219
|
-
"@holoscript/agent-protocol": "6.1.0",
|
|
220
|
-
"@holoscript/assimp-plugin": "0.1.0",
|
|
221
|
-
"@holoscript/
|
|
222
|
-
"@holoscript/
|
|
223
|
-
"@holoscript/
|
|
224
|
-
"@holoscript/
|
|
219
|
+
"@holoscript/agent-protocol": "^6.1.0",
|
|
220
|
+
"@holoscript/assimp-plugin": "^0.1.0",
|
|
221
|
+
"@holoscript/llm-provider": "^1.2.1",
|
|
222
|
+
"@holoscript/core-types": "^6.1.0",
|
|
223
|
+
"@holoscript/platform": "^6.1.0",
|
|
224
|
+
"@holoscript/mesh": "^6.1.0"
|
|
225
225
|
},
|
|
226
226
|
"optionalDependencies": {
|
|
227
227
|
"@gltf-transform/core": "^3.7.0",
|
|
@@ -246,46 +246,46 @@
|
|
|
246
246
|
"tree-sitter-typescript": "^0.23.2",
|
|
247
247
|
"web-tree-sitter": "^0.24.0",
|
|
248
248
|
"ws": "^8.16.0",
|
|
249
|
-
"@holoscript/alphafold-plugin": "2.0.0",
|
|
250
|
-
"@holoscript/domain-plugin-template": "0.0.1-template",
|
|
251
|
-
"@holoscript/narupa-plugin": "2.0.0",
|
|
252
|
-
"@holoscript/plugin
|
|
253
|
-
"@holoscript/
|
|
254
|
-
"@holoscript/plugin-
|
|
255
|
-
"@holoscript/plugin-
|
|
256
|
-
"@holoscript/plugin-
|
|
257
|
-
"@holoscript/plugin-
|
|
258
|
-
"@holoscript/plugin-
|
|
259
|
-
"@holoscript/plugin-fashion": "2.0.0",
|
|
260
|
-
"@holoscript/plugin-
|
|
261
|
-
"@holoscript/plugin-
|
|
262
|
-
"@holoscript/plugin-fitness-wellness": "2.0.0",
|
|
263
|
-
"@holoscript/plugin-
|
|
264
|
-
"@holoscript/plugin-
|
|
265
|
-
"@holoscript/plugin-
|
|
266
|
-
"@holoscript/plugin-
|
|
267
|
-
"@holoscript/plugin-
|
|
268
|
-
"@holoscript/plugin-
|
|
269
|
-
"@holoscript/plugin-manufacturing-qc": "2.0.0",
|
|
270
|
-
"@holoscript/plugin-legal-document": "2.0.0",
|
|
271
|
-
"@holoscript/plugin-
|
|
272
|
-
"@holoscript/plugin-
|
|
273
|
-
"@holoscript/plugin-
|
|
274
|
-
"@holoscript/plugin-
|
|
275
|
-
"@holoscript/plugin-
|
|
276
|
-
"@holoscript/plugin-
|
|
277
|
-
"@holoscript/plugin-
|
|
278
|
-
"@holoscript/plugin-
|
|
279
|
-
"@holoscript/plugin-
|
|
280
|
-
"@holoscript/robotics-plugin": "2.0.0",
|
|
281
|
-
"@holoscript/radio-astronomy-plugin": "2.0.
|
|
249
|
+
"@holoscript/alphafold-plugin": "^2.0.0",
|
|
250
|
+
"@holoscript/domain-plugin-template": "^0.0.1-template",
|
|
251
|
+
"@holoscript/narupa-plugin": "^2.0.0",
|
|
252
|
+
"@holoscript/medical-plugin": "^2.0.0",
|
|
253
|
+
"@holoscript/plugin-civil-engineering": "^2.0.0",
|
|
254
|
+
"@holoscript/plugin-banking-finance": "^2.0.0",
|
|
255
|
+
"@holoscript/plugin-economic-primitives": "^2.0.0",
|
|
256
|
+
"@holoscript/plugin-culture-keyword": "^2.0.0",
|
|
257
|
+
"@holoscript/plugin-film-vfx": "^2.0.0",
|
|
258
|
+
"@holoscript/plugin-education-lms": "^2.0.0",
|
|
259
|
+
"@holoscript/plugin-fashion": "^2.0.0",
|
|
260
|
+
"@holoscript/plugin-emergency-response": "^2.0.0",
|
|
261
|
+
"@holoscript/plugin-hr-workforce": "^2.0.0",
|
|
262
|
+
"@holoscript/plugin-fitness-wellness": "^2.0.0",
|
|
263
|
+
"@holoscript/plugin-forensics": "^2.0.0",
|
|
264
|
+
"@holoscript/plugin-film3d-volumetrics": "^2.0.1",
|
|
265
|
+
"@holoscript/plugin-hardware-invention": "^2.0.0",
|
|
266
|
+
"@holoscript/plugin-insurance": "^2.0.0",
|
|
267
|
+
"@holoscript/plugin-geolocation-gis": "^2.0.0",
|
|
268
|
+
"@holoscript/plugin-neuroscience": "^2.0.0",
|
|
269
|
+
"@holoscript/plugin-manufacturing-qc": "^2.0.0",
|
|
270
|
+
"@holoscript/plugin-legal-document": "^2.0.0",
|
|
271
|
+
"@holoscript/plugin-retail-ecommerce": "^2.0.0",
|
|
272
|
+
"@holoscript/plugin-restaurant": "^2.0.0",
|
|
273
|
+
"@holoscript/plugin-therapy": "^2.0.0",
|
|
274
|
+
"@holoscript/plugin-urban-planning": "^2.0.0",
|
|
275
|
+
"@holoscript/plugin-trait-audit": "^2.0.0",
|
|
276
|
+
"@holoscript/plugin-threat-intelligence": "^2.0.0",
|
|
277
|
+
"@holoscript/plugin-wisdom-gotcha": "^2.0.0",
|
|
278
|
+
"@holoscript/plugin-wine-food-beverage": "^2.0.0",
|
|
279
|
+
"@holoscript/plugin-travel-hospitality": "^2.0.0",
|
|
280
|
+
"@holoscript/robotics-plugin": "^2.0.0",
|
|
281
|
+
"@holoscript/radio-astronomy-plugin": "^2.0.1"
|
|
282
282
|
},
|
|
283
283
|
"peerDependencies": {
|
|
284
284
|
"@pixiv/three-vrm": "^2.0.0",
|
|
285
285
|
"ioredis": "^5.3.0",
|
|
286
286
|
"puppeteer": "^23.0.0",
|
|
287
287
|
"react": "^19.2.0",
|
|
288
|
-
"@holoscript/engine": "6.1.
|
|
288
|
+
"@holoscript/engine": "6.1.1"
|
|
289
289
|
},
|
|
290
290
|
"peerDependenciesMeta": {
|
|
291
291
|
"@holoscript/engine": {
|
|
@@ -319,8 +319,8 @@
|
|
|
319
319
|
"typedoc": "^0.28.19",
|
|
320
320
|
"typescript": "~5.9.3",
|
|
321
321
|
"vitest": "^4.1.5",
|
|
322
|
-
"@holoscript/
|
|
323
|
-
"@holoscript/
|
|
322
|
+
"@holoscript/engine": "6.1.1",
|
|
323
|
+
"@holoscript/framework": "6.1.1"
|
|
324
324
|
},
|
|
325
325
|
"scripts": {
|
|
326
326
|
"verify:workspace": "node scripts/verify-internal-workspace-protocol.mjs",
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @holoscript/core/traits/engines — motion-matching engine surface type declarations
|
|
3
|
-
* Auto-generated stub — sources in packages/core/src/traits/engines/
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
// motion-matching
|
|
7
|
-
export interface Vec3 { x: number; y: number; z: number; }
|
|
8
|
-
|
|
9
|
-
export interface SkeletonPose {
|
|
10
|
-
joints: Record<string, { position: [number, number, number]; rotation: [number, number, number, number]; }>;
|
|
11
|
-
timestamp: number;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface ContactFeatures {
|
|
15
|
-
leftFoot: boolean;
|
|
16
|
-
rightFoot: boolean;
|
|
17
|
-
[extra: string]: boolean;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export type Gait = 'idle' | 'walk' | 'trot' | 'run' | 'crouch';
|
|
21
|
-
|
|
22
|
-
export interface MotionInferenceInput {
|
|
23
|
-
targetVelocity: Vec3;
|
|
24
|
-
currentPhase: number;
|
|
25
|
-
delta: number;
|
|
26
|
-
terrainNormal?: Vec3;
|
|
27
|
-
energyEfficiency?: number;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface MotionInferenceResult {
|
|
31
|
-
pose: SkeletonPose;
|
|
32
|
-
phase: number;
|
|
33
|
-
trajectory: Array<[number, number, number]>;
|
|
34
|
-
stability: number;
|
|
35
|
-
contactFeatures: ContactFeatures;
|
|
36
|
-
gait: Gait;
|
|
37
|
-
kineticEnergyProxy: number;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export interface MotionMatchingEngine {
|
|
41
|
-
readonly modelId: string;
|
|
42
|
-
readonly loaded: boolean;
|
|
43
|
-
load(): Promise<void>;
|
|
44
|
-
infer(input: MotionInferenceInput): MotionInferenceResult;
|
|
45
|
-
dispose(): void;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
export type MotionMatchingEngineFactory = (modelId: string) => MotionMatchingEngine;
|
|
49
|
-
export declare const TRAJECTORY_HORIZON_FRAMES: number;
|
|
50
|
-
export declare const TRAJECTORY_FRAME_DT: number;
|
|
51
|
-
export declare function magnitude(v: Vec3): number;
|
|
52
|
-
export declare function classifyGait(speed: number, energyEfficiency: number): Gait;
|
|
53
|
-
export declare function projectLinearTrajectory(velocity: Vec3): Array<[number, number, number]>;
|
|
54
|
-
export declare class NullMotionMatchingEngine implements MotionMatchingEngine {
|
|
55
|
-
readonly modelId: string;
|
|
56
|
-
readonly loaded: boolean;
|
|
57
|
-
load(): Promise<void>;
|
|
58
|
-
infer(input: MotionInferenceInput): MotionInferenceResult;
|
|
59
|
-
dispose(): void;
|
|
60
|
-
}
|
|
61
|
-
export declare function createNullMotionMatchingEngine(modelId: string): MotionMatchingEngine;
|
|
62
|
-
|
|
63
|
-
// onnx-adapter
|
|
64
|
-
export type ExecutionProvider = 'webgpu' | 'wasm' | 'cpu' | 'cuda';
|
|
65
|
-
export type TensorShape = readonly number[];
|
|
66
|
-
export interface Float32Tensor { data: Float32Array; shape: TensorShape; }
|
|
67
|
-
export interface InferenceRequest { inputs: Record<string, Float32Tensor>; [key: string]: any; }
|
|
68
|
-
export interface InferenceResponse { outputs: Record<string, Float32Tensor>; [key: string]: any; }
|
|
69
|
-
export interface InferenceAdapter {
|
|
70
|
-
run(req: InferenceRequest): Promise<InferenceResponse>;
|
|
71
|
-
dispose?(): void;
|
|
72
|
-
[key: string]: any;
|
|
73
|
-
}
|
|
74
|
-
export declare class NoOpInferenceAdapter implements InferenceAdapter {
|
|
75
|
-
run(req: InferenceRequest): Promise<InferenceResponse>;
|
|
76
|
-
[key: string]: any;
|
|
77
|
-
}
|
|
78
|
-
export declare function createNoOpInferenceAdapter(): InferenceAdapter;
|
|
79
|
-
|
|
80
|
-
// synthetic-walk-cycle
|
|
81
|
-
export declare const SYNTHETIC_WALK_JOINTS: string[];
|
|
82
|
-
export declare function buildSyntheticBipedPose(phase: number, speed: number): Record<string, { position: [number, number, number]; rotation: [number, number, number, number]; }>;
|
|
83
|
-
export declare class SyntheticWalkCycleEngine implements MotionMatchingEngine {
|
|
84
|
-
readonly modelId: string;
|
|
85
|
-
readonly loaded: boolean;
|
|
86
|
-
load(): Promise<void>;
|
|
87
|
-
infer(input: MotionInferenceInput): MotionInferenceResult;
|
|
88
|
-
dispose(): void;
|
|
89
|
-
}
|
|
90
|
-
export declare function createSyntheticWalkCycleEngine(modelId?: string): MotionMatchingEngine;
|
|
91
|
-
|
|
92
|
-
// motion-data-schema
|
|
93
|
-
export declare const MOTION_DATA_SCHEMA_VERSION: 1;
|
|
94
|
-
export interface TrainingFrame { joints: SkeletonPose['joints']; contacts?: ContactFeatures; timestamp?: number; [key: string]: any; }
|
|
95
|
-
export interface InferenceFrame { targetVelocity: Vec3; currentPhase: number; delta: number; timestamp?: number; [key: string]: any; }
|
|
96
|
-
export interface MotionCapture { frames: TrainingFrame[]; fps: number; [key: string]: any; }
|
|
97
|
-
export interface TrainingCorpus { captures: MotionCapture[]; [key: string]: any; }
|
|
98
|
-
export declare function validateTrainingFrame(frame: TrainingFrame): void;
|
|
99
|
-
export declare function validateMotionCapture(capture: MotionCapture): void;
|
|
100
|
-
export declare function validateTrainingCorpus(corpus: TrainingCorpus): void;
|
|
101
|
-
export declare function inferenceFrameToTensor(frame: InferenceFrame, ...args: any[]): Float32Array;
|
|
102
|
-
|
|
103
|
-
// cloth-verlet
|
|
104
|
-
export interface ClothVerletState { positions: Float32Array; prevPositions: Float32Array; velocities?: Float32Array; [key: string]: any; }
|
|
105
|
-
export interface ClothVerletConfig { gravity?: Vec3; damping?: number; iterations?: number; stiffness?: number; [key: string]: any; }
|
|
106
|
-
export declare function buildClothConstraints(...args: any[]): any;
|
|
107
|
-
export declare function stepClothVerlet(state: ClothVerletState, config?: ClothVerletConfig, ...args: any[]): ClothVerletState;
|
|
108
|
-
|
|
109
|
-
// noise
|
|
110
|
-
export declare function noise(t: number, seed: number): number;
|
|
111
|
-
export declare function smoothNoise(t: number, seed: number): number;
|