@holoscript/core 6.0.3 → 7.0.0
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/README.md +40 -40
- package/dist/codebase/index.d.ts +25 -0
- package/dist/compiler/index.d.ts +82 -0
- package/dist/constants.d.ts +4 -0
- package/dist/coordinators/index.d.ts +189 -0
- package/dist/entries/interop.d.ts +9 -0
- package/dist/entries/scripting.d.ts +7 -0
- package/dist/index.d.ts +520 -19
- package/dist/paper-0c-spike/index.d.ts +29 -0
- package/dist/reconstruction/index.d.ts +78 -0
- package/dist/self-improvement/index.d.ts +0 -48
- package/dist/storage/index.d.ts +24 -0
- package/dist/tools/index.d.ts +33 -0
- package/dist/traitDocs/traitDocs.d.ts +69 -0
- package/dist/traits/index.d.ts +61 -0
- package/package.json +102 -19
- package/dist/GLTFPipeline-3KLWWUQO.cjs +0 -34
- package/dist/GLTFPipeline-LYII2ZVQ.js +0 -13
- package/dist/HoloScriptPlusParser-BZR5DELQ.js +0 -692
- package/dist/HoloScriptPlusParser-SBMYDNXO.cjs +0 -697
- package/dist/USDZExporter-MHEHXZB4.cjs +0 -709
- package/dist/USDZExporter-YA55ZS35.js +0 -707
- package/dist/chunk-26TLYBFD.js +0 -309
- package/dist/chunk-27LWW5FU.cjs +0 -410
- package/dist/chunk-2UX5LRAP.cjs +0 -833
- package/dist/chunk-32TWR3HE.js +0 -70
- package/dist/chunk-3FXV5S25.cjs +0 -633
- package/dist/chunk-3FYZOR7S.cjs +0 -69
- package/dist/chunk-3KEU5QYY.cjs +0 -175
- package/dist/chunk-4FCZDTD5.js +0 -610
- package/dist/chunk-4KJ2R7VP.cjs +0 -507
- package/dist/chunk-4SMUJFHL.js +0 -1213
- package/dist/chunk-54FHG2MX.js +0 -655
- package/dist/chunk-56IF4NTA.js +0 -56
- package/dist/chunk-5GLCTO44.js +0 -161
- package/dist/chunk-5TOFIR6L.js +0 -407
- package/dist/chunk-65RFOWZI.js +0 -765
- package/dist/chunk-6OQBLABR.js +0 -5240
- package/dist/chunk-6WNCRE6F.js +0 -126
- package/dist/chunk-74YCHHTE.js +0 -1872
- package/dist/chunk-7H5UNJZD.cjs +0 -1973
- package/dist/chunk-7KPI4EKH.cjs +0 -701
- package/dist/chunk-7LCYLPW2.cjs +0 -663
- package/dist/chunk-7N3JIJMT.js +0 -1395
- package/dist/chunk-7X2IEJIE.cjs +0 -2526
- package/dist/chunk-A6GO3DPZ.cjs +0 -1002
- package/dist/chunk-AC4BSHFV.js +0 -765
- package/dist/chunk-AIUXRS74.cjs +0 -3681
- package/dist/chunk-ARNKA274.cjs +0 -130
- package/dist/chunk-AW7WAELW.js +0 -975
- package/dist/chunk-BKIGPPVM.js +0 -629
- package/dist/chunk-BO2OKHIY.js +0 -6055
- package/dist/chunk-BU5ZAFMC.js +0 -115
- package/dist/chunk-BY3B7ZYV.cjs +0 -457
- package/dist/chunk-C2QHVHZF.js +0 -4066
- package/dist/chunk-C7BNX4XJ.js +0 -1043
- package/dist/chunk-CLYEIWA5.cjs +0 -408
- package/dist/chunk-CMYAWUX3.js +0 -4455
- package/dist/chunk-CN4NOESF.cjs +0 -416
- package/dist/chunk-CNVM7J3M.js +0 -883
- package/dist/chunk-CO2VM2DK.js +0 -1965
- package/dist/chunk-CQDOF3G7.cjs +0 -1404
- package/dist/chunk-DH5G2JUA.cjs +0 -614
- package/dist/chunk-DIEDKX5B.cjs +0 -660
- package/dist/chunk-DN7UFU63.cjs +0 -172
- package/dist/chunk-DXVCEFZB.js +0 -2027
- package/dist/chunk-EGIZHYJP.cjs +0 -85
- package/dist/chunk-EJA7G2C4.cjs +0 -428
- package/dist/chunk-ELLQPFAF.js +0 -830
- package/dist/chunk-EMO7HAKJ.cjs +0 -1875
- package/dist/chunk-ENV7K6XA.js +0 -282
- package/dist/chunk-EPWRXL6S.js +0 -2522
- package/dist/chunk-EUFLX2PI.js +0 -56956
- package/dist/chunk-F5LVGHNT.js +0 -449
- package/dist/chunk-FEFHPUEM.cjs +0 -6122
- package/dist/chunk-FF3Q7ADR.js +0 -380
- package/dist/chunk-GC3YU46J.js +0 -762
- package/dist/chunk-H6WMMLQK.cjs +0 -4492
- package/dist/chunk-H7XMORZI.js +0 -2731
- package/dist/chunk-HAN4V3PF.cjs +0 -2037
- package/dist/chunk-HBZYCASG.js +0 -4208
- package/dist/chunk-HF4OFY25.cjs +0 -4097
- package/dist/chunk-HHS6FMOU.cjs +0 -3813
- package/dist/chunk-HJJLD366.js +0 -1169
- package/dist/chunk-HKCVM6OK.cjs +0 -2237
- package/dist/chunk-HUFNKFA6.js +0 -698
- package/dist/chunk-I3XGTIHM.cjs +0 -1505
- package/dist/chunk-I6XZ5DZF.cjs +0 -488
- package/dist/chunk-IHOUYQIA.js +0 -406
- package/dist/chunk-ILRBGFVD.cjs +0 -72
- package/dist/chunk-KDB6BUMB.js +0 -3666
- package/dist/chunk-KUJRR4FJ.js +0 -657
- package/dist/chunk-KYM4XRFG.js +0 -421
- package/dist/chunk-L3Z2HIWJ.cjs +0 -793
- package/dist/chunk-LBPEZQAF.js +0 -2232
- package/dist/chunk-LER4WXW5.cjs +0 -286
- package/dist/chunk-LK5IAVH6.cjs +0 -1173
- package/dist/chunk-M6FU6S22.js +0 -2911
- package/dist/chunk-MWEFR6YQ.js +0 -1857
- package/dist/chunk-N5FTS757.cjs +0 -415
- package/dist/chunk-NCUHGRTZ.js +0 -752
- package/dist/chunk-NKRKT6V2.js +0 -69
- package/dist/chunk-NLPSZT4C.js +0 -630
- package/dist/chunk-NRUB55IT.cjs +0 -771
- package/dist/chunk-NTMZSDXM.cjs +0 -633
- package/dist/chunk-ODGMVILH.js +0 -9662
- package/dist/chunk-PBA6NXCT.cjs +0 -1216
- package/dist/chunk-PHENW4MQ.js +0 -65
- package/dist/chunk-PJMOXFPR.cjs +0 -1861
- package/dist/chunk-PLMYCCA4.js +0 -504
- package/dist/chunk-PPULB4GG.cjs +0 -9728
- package/dist/chunk-PQLGZKMC.cjs +0 -755
- package/dist/chunk-Q56TT7IL.js +0 -483
- package/dist/chunk-QHVVVN47.cjs +0 -2033
- package/dist/chunk-QWKUKVRE.js +0 -2026
- package/dist/chunk-RE3OKSYF.cjs +0 -424
- package/dist/chunk-RT7LJRSF.cjs +0 -57378
- package/dist/chunk-SPDELRRV.cjs +0 -319
- package/dist/chunk-SUCBB66F.js +0 -229
- package/dist/chunk-TSWTWZ42.cjs +0 -4214
- package/dist/chunk-UITWA6DV.cjs +0 -2829
- package/dist/chunk-UQW6SLM5.js +0 -172
- package/dist/chunk-V2ILLPHK.cjs +0 -237
- package/dist/chunk-V42NTCFH.js +0 -3645
- package/dist/chunk-VJ3L7CHT.cjs +0 -169
- package/dist/chunk-VJVCD5T5.cjs +0 -769
- package/dist/chunk-VK5AXKO3.js +0 -746
- package/dist/chunk-VSXOIUCF.cjs +0 -473
- package/dist/chunk-VZNKJZTT.cjs +0 -749
- package/dist/chunk-W76ETJTI.js +0 -678
- package/dist/chunk-WFJIDI2N.cjs +0 -424
- package/dist/chunk-WN3YF33G.cjs +0 -118
- package/dist/chunk-WUXIRGZP.cjs +0 -2915
- package/dist/chunk-WYH4GVZ5.js +0 -1488
- package/dist/chunk-X4YVN7H3.cjs +0 -888
- package/dist/chunk-X67XRI2T.js +0 -410
- package/dist/chunk-XDXZM3ZP.cjs +0 -1046
- package/dist/chunk-XH7SE4HH.cjs +0 -72
- package/dist/chunk-XNMEH2BI.js +0 -126
- package/dist/chunk-XSF76QRU.js +0 -468
- package/dist/chunk-XSUZMPVQ.cjs +0 -682
- package/dist/chunk-XUILI4KB.cjs +0 -430
- package/dist/chunk-Y5MUAYTO.js +0 -167
- package/dist/chunk-Y7VK5TH3.cjs +0 -129
- package/dist/chunk-YCMQQQ5U.cjs +0 -5244
- package/dist/chunk-YYXH45E2.js +0 -426
- package/dist/chunk-ZGTGVSTZ.js +0 -422
- package/dist/chunk-ZL6VJ6SN.js +0 -421
- package/dist/cli/holoscript-runner.cjs +0 -2258
- package/dist/cli/holoscript-runner.js +0 -2233
- package/dist/codebase/index.cjs +0 -336
- package/dist/codebase/index.js +0 -331
- package/dist/compiler/agent-inference.cjs +0 -29
- package/dist/compiler/agent-inference.js +0 -6
- package/dist/compiler/android-xr.cjs +0 -20
- package/dist/compiler/android-xr.js +0 -10
- package/dist/compiler/android.cjs +0 -21
- package/dist/compiler/android.js +0 -11
- package/dist/compiler/ar.cjs +0 -21
- package/dist/compiler/ar.js +0 -9
- package/dist/compiler/babylon.cjs +0 -18
- package/dist/compiler/babylon.js +0 -12
- package/dist/compiler/coco.cjs +0 -27
- package/dist/compiler/coco.js +0 -4
- package/dist/compiler/domain-block-utils.cjs +0 -595
- package/dist/compiler/domain-block-utils.js +0 -9
- package/dist/compiler/dtdl.cjs +0 -25
- package/dist/compiler/dtdl.js +0 -9
- package/dist/compiler/gltf-pipeline.cjs +0 -39
- package/dist/compiler/gltf-pipeline.js +0 -4
- package/dist/compiler/godot.cjs +0 -16
- package/dist/compiler/godot.js +0 -10
- package/dist/compiler/incremental.cjs +0 -30
- package/dist/compiler/incremental.js +0 -5
- package/dist/compiler/index.cjs +0 -1522
- package/dist/compiler/index.js +0 -1321
- package/dist/compiler/ios.cjs +0 -21
- package/dist/compiler/ios.js +0 -11
- package/dist/compiler/multi-layer.cjs +0 -27
- package/dist/compiler/multi-layer.js +0 -12
- package/dist/compiler/nodetoy.cjs +0 -23
- package/dist/compiler/nodetoy.js +0 -4
- package/dist/compiler/openxr.cjs +0 -16
- package/dist/compiler/openxr.js +0 -10
- package/dist/compiler/playcanvas.cjs +0 -17
- package/dist/compiler/playcanvas.js +0 -11
- package/dist/compiler/r3f.cjs +0 -35
- package/dist/compiler/r3f.js +0 -13
- package/dist/compiler/remotion.cjs +0 -23
- package/dist/compiler/remotion.js +0 -4
- package/dist/compiler/reproducibility.cjs +0 -39
- package/dist/compiler/reproducibility.js +0 -4
- package/dist/compiler/sdf.cjs +0 -22
- package/dist/compiler/sdf.js +0 -10
- package/dist/compiler/semantic-scene.cjs +0 -31
- package/dist/compiler/semantic-scene.js +0 -4
- package/dist/compiler/state.cjs +0 -18
- package/dist/compiler/state.js +0 -8
- package/dist/compiler/trait-composition.cjs +0 -27
- package/dist/compiler/trait-composition.js +0 -6
- package/dist/compiler/unity.cjs +0 -16
- package/dist/compiler/unity.js +0 -10
- package/dist/compiler/unreal.cjs +0 -20
- package/dist/compiler/unreal.js +0 -10
- package/dist/compiler/urdf.cjs +0 -46
- package/dist/compiler/urdf.js +0 -10
- package/dist/compiler/usd-physics.cjs +0 -24
- package/dist/compiler/usd-physics.js +0 -7
- package/dist/compiler/visionos.cjs +0 -16
- package/dist/compiler/visionos.js +0 -10
- package/dist/compiler/vrchat.cjs +0 -20
- package/dist/compiler/vrchat.js +0 -10
- package/dist/compiler/vrr.cjs +0 -22
- package/dist/compiler/vrr.js +0 -10
- package/dist/compiler/wasm.cjs +0 -34
- package/dist/compiler/wasm.js +0 -10
- package/dist/compiler/webgpu.cjs +0 -16
- package/dist/compiler/webgpu.js +0 -10
- package/dist/debugger.cjs +0 -21
- package/dist/debugger.js +0 -8
- package/dist/entries/interop.cjs +0 -62
- package/dist/entries/interop.js +0 -5
- package/dist/entries/scripting.cjs +0 -67
- package/dist/entries/scripting.js +0 -10
- package/dist/index.cjs +0 -61703
- package/dist/index.js +0 -58652
- package/dist/math/vec3.cjs +0 -57
- package/dist/math/vec3.js +0 -4
- package/dist/parser.cjs +0 -26
- package/dist/parser.js +0 -9
- package/dist/playwright-7DTEQCBD.cjs +0 -98673
- package/dist/playwright-BIZXMLD2.js +0 -98660
- package/dist/post-quantum-JTTAAGO3.cjs +0 -6
- package/dist/post-quantum-RVPVDEPI.js +0 -4
- package/dist/runtime.cjs +0 -16
- package/dist/runtime.js +0 -7
- package/dist/storage/index.cjs +0 -37
- package/dist/storage/index.js +0 -4
- package/dist/traits/index.cjs +0 -14331
- package/dist/traits/index.js +0 -12126
- package/dist/type-checker.cjs +0 -18
- package/dist/type-checker.js +0 -5
- package/dist/wot/index.cjs +0 -29
- package/dist/wot/index.js +0 -4
package/dist/chunk-SPDELRRV.cjs
DELETED
|
@@ -1,319 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var chunkEGIZHYJP_cjs = require('./chunk-EGIZHYJP.cjs');
|
|
4
|
-
|
|
5
|
-
// src/traits/constants/mobile/geospatial.ts
|
|
6
|
-
exports.GEOSPATIAL_ARCORE_TRAITS = void 0; exports.GEOSPATIAL_DEFAULTS = void 0;
|
|
7
|
-
var init_geospatial = chunkEGIZHYJP_cjs.__esm({
|
|
8
|
-
"src/traits/constants/mobile/geospatial.ts"() {
|
|
9
|
-
exports.GEOSPATIAL_ARCORE_TRAITS = [
|
|
10
|
-
// --- VPS Core ---
|
|
11
|
-
"geospatial_vps",
|
|
12
|
-
// enables ARCore GeospatialMode.ENABLED on session
|
|
13
|
-
"geospatial_heading",
|
|
14
|
-
// heading/orientation alignment from VPS compass data
|
|
15
|
-
// --- Anchoring ---
|
|
16
|
-
"geospatial_anchor",
|
|
17
|
-
// lat/lng/alt/heading anchor via Earth.createAnchor
|
|
18
|
-
"geospatial_terrain_anchor",
|
|
19
|
-
// resolveAnchorOnTerrain — snaps to terrain surface
|
|
20
|
-
"geospatial_rooftop_anchor",
|
|
21
|
-
// resolveAnchorOnRooftop — snaps to building rooftops
|
|
22
|
-
// --- Streetscape ---
|
|
23
|
-
"geospatial_streetscape"
|
|
24
|
-
// Streetscape Geometry mesh access for buildings/terrain
|
|
25
|
-
];
|
|
26
|
-
exports.GEOSPATIAL_DEFAULTS = {
|
|
27
|
-
vps: {
|
|
28
|
-
accuracyThreshold: 25,
|
|
29
|
-
headingAccuracyThreshold: 25,
|
|
30
|
-
localizationTimeout: 3e4
|
|
31
|
-
},
|
|
32
|
-
anchor: {
|
|
33
|
-
latitude: 0,
|
|
34
|
-
longitude: 0,
|
|
35
|
-
altitude: 0,
|
|
36
|
-
heading: 0,
|
|
37
|
-
resolveTimeout: 1e4
|
|
38
|
-
},
|
|
39
|
-
terrainAnchor: {
|
|
40
|
-
latitude: 0,
|
|
41
|
-
longitude: 0,
|
|
42
|
-
altitudeOffset: 0,
|
|
43
|
-
heading: 0,
|
|
44
|
-
resolveTimeout: 1e4
|
|
45
|
-
},
|
|
46
|
-
rooftopAnchor: {
|
|
47
|
-
latitude: 0,
|
|
48
|
-
longitude: 0,
|
|
49
|
-
altitudeOffset: 0,
|
|
50
|
-
heading: 0,
|
|
51
|
-
resolveTimeout: 1e4
|
|
52
|
-
},
|
|
53
|
-
streetscape: {
|
|
54
|
-
enableTerrain: true,
|
|
55
|
-
enableBuildings: true
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
// src/traits/constants/mobile/spatial-authoring.ts
|
|
62
|
-
exports.SPATIAL_AUTHORING_TRAITS = void 0; exports.SPATIAL_AUTHORING_DEFAULTS = void 0;
|
|
63
|
-
var init_spatial_authoring = chunkEGIZHYJP_cjs.__esm({
|
|
64
|
-
"src/traits/constants/mobile/spatial-authoring.ts"() {
|
|
65
|
-
exports.SPATIAL_AUTHORING_TRAITS = [
|
|
66
|
-
// --- Gyro Placement ---
|
|
67
|
-
"author_gyro_place",
|
|
68
|
-
// gyroscope-stabilised AR object placement
|
|
69
|
-
// --- Pinch Scale ---
|
|
70
|
-
"author_pinch_scale",
|
|
71
|
-
// pinch-to-scale selected entity
|
|
72
|
-
// --- Swipe Browse ---
|
|
73
|
-
"author_swipe_browse",
|
|
74
|
-
// horizontal swipe to browse trait palette
|
|
75
|
-
// --- Voice Commands ---
|
|
76
|
-
"author_voice_cmd",
|
|
77
|
-
// speech recognition → parse and execute commands
|
|
78
|
-
// --- Shake Undo ---
|
|
79
|
-
"author_shake_undo"
|
|
80
|
-
// shake device to undo last action
|
|
81
|
-
];
|
|
82
|
-
exports.SPATIAL_AUTHORING_DEFAULTS = {
|
|
83
|
-
/** Gyro low-pass filter alpha (0-1, lower = smoother) */
|
|
84
|
-
gyroFilterAlpha: 0.15,
|
|
85
|
-
/** Minimum pinch scale factor */
|
|
86
|
-
pinchScaleMin: 0.1,
|
|
87
|
-
/** Maximum pinch scale factor */
|
|
88
|
-
pinchScaleMax: 10,
|
|
89
|
-
/** Shake acceleration threshold (m/s^2) to trigger undo */
|
|
90
|
-
shakeThreshold: 12,
|
|
91
|
-
/** Speech recognition locale */
|
|
92
|
-
speechLocale: "en-US",
|
|
93
|
-
/** Maximum undo stack depth */
|
|
94
|
-
undoStackDepth: 50
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
});
|
|
98
|
-
|
|
99
|
-
// src/traits/constants/mobile/haptic-feedback.ts
|
|
100
|
-
exports.HAPTIC_FEEDBACK_TRAITS = void 0;
|
|
101
|
-
var init_haptic_feedback = chunkEGIZHYJP_cjs.__esm({
|
|
102
|
-
"src/traits/constants/mobile/haptic-feedback.ts"() {
|
|
103
|
-
exports.HAPTIC_FEEDBACK_TRAITS = [
|
|
104
|
-
// --- Interaction ---
|
|
105
|
-
"haptic_touch",
|
|
106
|
-
// vibration on hologram touch
|
|
107
|
-
"haptic_grab",
|
|
108
|
-
// resistance pulse when grabbing
|
|
109
|
-
"haptic_throw",
|
|
110
|
-
// release burst when throwing
|
|
111
|
-
"haptic_impact",
|
|
112
|
-
// impact feedback on collision
|
|
113
|
-
"haptic_select",
|
|
114
|
-
// click feedback on selection
|
|
115
|
-
// --- Ambient ---
|
|
116
|
-
"haptic_proximity",
|
|
117
|
-
// increasing vibration as hand nears hologram
|
|
118
|
-
"haptic_texture",
|
|
119
|
-
// surface texture simulation (rough, smooth, bumpy)
|
|
120
|
-
"haptic_resistance",
|
|
121
|
-
// force feedback simulation via vibration patterns
|
|
122
|
-
// --- System ---
|
|
123
|
-
"haptic_enable",
|
|
124
|
-
// enable haptic feedback engine
|
|
125
|
-
"haptic_intensity",
|
|
126
|
-
// global intensity multiplier (0.0-1.0)
|
|
127
|
-
"haptic_pattern_library"
|
|
128
|
-
// load custom haptic patterns (AHAP on iOS, VibrationEffect on Android)
|
|
129
|
-
];
|
|
130
|
-
}
|
|
131
|
-
});
|
|
132
|
-
|
|
133
|
-
// src/traits/constants/mobile/nearby-connections.ts
|
|
134
|
-
exports.NEARBY_CONNECTIONS_TRAITS = void 0;
|
|
135
|
-
var init_nearby_connections = chunkEGIZHYJP_cjs.__esm({
|
|
136
|
-
"src/traits/constants/mobile/nearby-connections.ts"() {
|
|
137
|
-
exports.NEARBY_CONNECTIONS_TRAITS = [
|
|
138
|
-
// --- Discovery ---
|
|
139
|
-
"nearby_discover",
|
|
140
|
-
// discover nearby devices running same .holo scene
|
|
141
|
-
"nearby_advertise",
|
|
142
|
-
// advertise this device as joinable
|
|
143
|
-
"nearby_auto_connect",
|
|
144
|
-
// automatically connect when same scene detected
|
|
145
|
-
// --- Mesh ---
|
|
146
|
-
"nearby_mesh",
|
|
147
|
-
// form local mesh network (star or mesh topology)
|
|
148
|
-
"nearby_max_peers",
|
|
149
|
-
// maximum number of connected peers
|
|
150
|
-
"nearby_bandwidth",
|
|
151
|
-
// connection strategy: HIGH_BANDWIDTH or LOW_POWER
|
|
152
|
-
// --- Sync ---
|
|
153
|
-
"nearby_p2p_sync",
|
|
154
|
-
// sync .holo scene state P2P via Loro CRDT
|
|
155
|
-
"nearby_broadcast",
|
|
156
|
-
// broadcast events to all connected peers
|
|
157
|
-
"nearby_spatial_anchor_share"
|
|
158
|
-
// share spatial anchors between nearby devices
|
|
159
|
-
];
|
|
160
|
-
}
|
|
161
|
-
});
|
|
162
|
-
|
|
163
|
-
// src/traits/constants/mobile/foldable-display.ts
|
|
164
|
-
exports.FOLDABLE_DISPLAY_TRAITS = void 0;
|
|
165
|
-
var init_foldable_display = chunkEGIZHYJP_cjs.__esm({
|
|
166
|
-
"src/traits/constants/mobile/foldable-display.ts"() {
|
|
167
|
-
exports.FOLDABLE_DISPLAY_TRAITS = [
|
|
168
|
-
"foldable_detect",
|
|
169
|
-
// detect foldable device and fold state
|
|
170
|
-
"foldable_split_view",
|
|
171
|
-
// AR viewfinder on one panel, controls on other
|
|
172
|
-
"foldable_flex_mode",
|
|
173
|
-
// Flip flex mode: top AR, bottom controls
|
|
174
|
-
"foldable_tabletop",
|
|
175
|
-
// tabletop mode: phone stands up, AR projects forward
|
|
176
|
-
"foldable_hinge_angle",
|
|
177
|
-
// expose hinge angle as input parameter
|
|
178
|
-
"foldable_continuity"
|
|
179
|
-
// seamless transition between fold states
|
|
180
|
-
];
|
|
181
|
-
}
|
|
182
|
-
});
|
|
183
|
-
|
|
184
|
-
// src/traits/constants/mobile/samsung-dex.ts
|
|
185
|
-
exports.SAMSUNG_DEX_TRAITS = void 0;
|
|
186
|
-
var init_samsung_dex = chunkEGIZHYJP_cjs.__esm({
|
|
187
|
-
"src/traits/constants/mobile/samsung-dex.ts"() {
|
|
188
|
-
exports.SAMSUNG_DEX_TRAITS = [
|
|
189
|
-
"dex_detect",
|
|
190
|
-
// detect Samsung DeX connection
|
|
191
|
-
"dex_handoff",
|
|
192
|
-
// hand off .holo scene from mobile AR to desktop view
|
|
193
|
-
"dex_desktop_controls",
|
|
194
|
-
// enable mouse/keyboard controls in DeX mode
|
|
195
|
-
"dex_multi_window",
|
|
196
|
-
// support multi-window layout in DeX
|
|
197
|
-
"dex_resolution_adapt"
|
|
198
|
-
// adapt rendering resolution to external display
|
|
199
|
-
];
|
|
200
|
-
}
|
|
201
|
-
});
|
|
202
|
-
|
|
203
|
-
// src/traits/constants/mobile/webxr.ts
|
|
204
|
-
exports.WEBXR_TRAITS = void 0;
|
|
205
|
-
var init_webxr = chunkEGIZHYJP_cjs.__esm({
|
|
206
|
-
"src/traits/constants/mobile/webxr.ts"() {
|
|
207
|
-
exports.WEBXR_TRAITS = [
|
|
208
|
-
// --- Session ---
|
|
209
|
-
"webxr_session",
|
|
210
|
-
// request immersive-ar or immersive-vr session
|
|
211
|
-
"webxr_inline",
|
|
212
|
-
// inline XR (non-immersive, preview mode)
|
|
213
|
-
// --- Features ---
|
|
214
|
-
"webxr_hit_test",
|
|
215
|
-
// ray-surface hit testing for placement
|
|
216
|
-
"webxr_anchors",
|
|
217
|
-
// persistent anchors across frames
|
|
218
|
-
"webxr_light_estimation",
|
|
219
|
-
// real-world lighting probe for hologram shading
|
|
220
|
-
"webxr_dom_overlay",
|
|
221
|
-
// HTML DOM overlay on top of XR scene
|
|
222
|
-
"webxr_depth_sensing",
|
|
223
|
-
// depth buffer access for occlusion
|
|
224
|
-
"webxr_hand_tracking",
|
|
225
|
-
// WebXR hand tracking API (where supported)
|
|
226
|
-
// --- Rendering ---
|
|
227
|
-
"webxr_layers",
|
|
228
|
-
// XR composition layers (projection, quad, cylinder)
|
|
229
|
-
"webxr_framebuffer",
|
|
230
|
-
// direct framebuffer access for custom rendering
|
|
231
|
-
"webxr_reference_space"
|
|
232
|
-
// reference space type (local, local-floor, bounded-floor)
|
|
233
|
-
];
|
|
234
|
-
}
|
|
235
|
-
});
|
|
236
|
-
|
|
237
|
-
// src/traits/constants/mobile/google-lens.ts
|
|
238
|
-
exports.GOOGLE_LENS_TRAITS = void 0;
|
|
239
|
-
var init_google_lens = chunkEGIZHYJP_cjs.__esm({
|
|
240
|
-
"src/traits/constants/mobile/google-lens.ts"() {
|
|
241
|
-
exports.GOOGLE_LENS_TRAITS = [
|
|
242
|
-
"lens_recognize",
|
|
243
|
-
// enable object/scene recognition
|
|
244
|
-
"lens_text_overlay",
|
|
245
|
-
// OCR text as holographic overlay
|
|
246
|
-
"lens_product_id",
|
|
247
|
-
// product identification and info overlay
|
|
248
|
-
"lens_translate",
|
|
249
|
-
// real-time text translation overlay
|
|
250
|
-
"lens_entity_pipe",
|
|
251
|
-
// pipe recognized entities into .holo scene graph
|
|
252
|
-
"lens_plant_animal_id",
|
|
253
|
-
// plant/animal species identification
|
|
254
|
-
"lens_landmark_info"
|
|
255
|
-
// landmark/building information overlay
|
|
256
|
-
];
|
|
257
|
-
}
|
|
258
|
-
});
|
|
259
|
-
|
|
260
|
-
// src/traits/constants/mobile/depth-scanner.ts
|
|
261
|
-
exports.DEPTH_SCANNER_TRAITS = void 0; exports.DEPTH_SCANNER_DEFAULTS = void 0;
|
|
262
|
-
var init_depth_scanner = chunkEGIZHYJP_cjs.__esm({
|
|
263
|
-
"src/traits/constants/mobile/depth-scanner.ts"() {
|
|
264
|
-
exports.DEPTH_SCANNER_TRAITS = [
|
|
265
|
-
// --- Core ---
|
|
266
|
-
"depth_scan",
|
|
267
|
-
// enables depth scanning pipeline
|
|
268
|
-
"depth_auto_select",
|
|
269
|
-
// runtime picks best source: ToF > ARCore ML > stereo
|
|
270
|
-
// --- Backends ---
|
|
271
|
-
"depth_ml_arcore",
|
|
272
|
-
// ARCore Depth API — ML-based monocular depth (200+ devices)
|
|
273
|
-
"depth_tof",
|
|
274
|
-
// Time-of-Flight sensor path (hardware ToF required)
|
|
275
|
-
"depth_stereo",
|
|
276
|
-
// dual-camera stereo depth estimation
|
|
277
|
-
// --- Processing ---
|
|
278
|
-
"depth_confidence_map",
|
|
279
|
-
// per-pixel confidence image (0-255)
|
|
280
|
-
"depth_mesh_generate",
|
|
281
|
-
// convert depth map to triangle mesh
|
|
282
|
-
"depth_mesh_to_holo",
|
|
283
|
-
// convert reconstructed mesh to .holo scene graph
|
|
284
|
-
// --- Output ---
|
|
285
|
-
"depth_realtime",
|
|
286
|
-
// live depth updates every frame
|
|
287
|
-
"depth_export"
|
|
288
|
-
// export mesh as OBJ/GLB
|
|
289
|
-
];
|
|
290
|
-
exports.DEPTH_SCANNER_DEFAULTS = {
|
|
291
|
-
scan: {
|
|
292
|
-
confidenceThreshold: 128,
|
|
293
|
-
maxDepthMeters: 5,
|
|
294
|
-
meshDecimation: 0.5
|
|
295
|
-
},
|
|
296
|
-
export: {
|
|
297
|
-
format: "glb",
|
|
298
|
-
includeColor: true,
|
|
299
|
-
includeNormals: true
|
|
300
|
-
},
|
|
301
|
-
realtime: {
|
|
302
|
-
targetFps: 30,
|
|
303
|
-
temporalSmoothing: true
|
|
304
|
-
}
|
|
305
|
-
};
|
|
306
|
-
}
|
|
307
|
-
});
|
|
308
|
-
|
|
309
|
-
exports.init_depth_scanner = init_depth_scanner;
|
|
310
|
-
exports.init_foldable_display = init_foldable_display;
|
|
311
|
-
exports.init_geospatial = init_geospatial;
|
|
312
|
-
exports.init_google_lens = init_google_lens;
|
|
313
|
-
exports.init_haptic_feedback = init_haptic_feedback;
|
|
314
|
-
exports.init_nearby_connections = init_nearby_connections;
|
|
315
|
-
exports.init_samsung_dex = init_samsung_dex;
|
|
316
|
-
exports.init_spatial_authoring = init_spatial_authoring;
|
|
317
|
-
exports.init_webxr = init_webxr;
|
|
318
|
-
//# sourceMappingURL=chunk-SPDELRRV.cjs.map
|
|
319
|
-
//# sourceMappingURL=chunk-SPDELRRV.cjs.map
|
package/dist/chunk-SUCBB66F.js
DELETED
|
@@ -1,229 +0,0 @@
|
|
|
1
|
-
import { __esm } from './chunk-32TWR3HE.js';
|
|
2
|
-
|
|
3
|
-
// src/traits/constants/mobile/ios-object-capture.ts
|
|
4
|
-
var IOS_OBJECT_CAPTURE_TRAITS;
|
|
5
|
-
var init_ios_object_capture = __esm({
|
|
6
|
-
"src/traits/constants/mobile/ios-object-capture.ts"() {
|
|
7
|
-
IOS_OBJECT_CAPTURE_TRAITS = [
|
|
8
|
-
"object_capture",
|
|
9
|
-
// enable Object Capture session
|
|
10
|
-
"object_capture_guide",
|
|
11
|
-
// guided capture overlay (orbit path, coverage indicator)
|
|
12
|
-
"object_capture_feedback",
|
|
13
|
-
// real-time quality feedback during scan
|
|
14
|
-
"photogrammetry_scan",
|
|
15
|
-
// photogrammetry reconstruction pipeline
|
|
16
|
-
"pbr_texture_extract",
|
|
17
|
-
// extract PBR materials (diffuse, normal, roughness, metallic)
|
|
18
|
-
"object_capture_lod",
|
|
19
|
-
// generate LOD levels (preview, reduced, medium, full, raw)
|
|
20
|
-
"object_capture_to_holo",
|
|
21
|
-
// convert captured object to .holo asset
|
|
22
|
-
"object_capture_export_usdz"
|
|
23
|
-
// export as USDZ for Quick Look
|
|
24
|
-
];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
// src/traits/constants/mobile/airpods-spatial-audio.ts
|
|
29
|
-
var AIRPODS_SPATIAL_AUDIO_TRAITS;
|
|
30
|
-
var init_airpods_spatial_audio = __esm({
|
|
31
|
-
"src/traits/constants/mobile/airpods-spatial-audio.ts"() {
|
|
32
|
-
AIRPODS_SPATIAL_AUDIO_TRAITS = [
|
|
33
|
-
"spatial_audio_airpods",
|
|
34
|
-
// enable AirPods spatial audio
|
|
35
|
-
"audio_head_track",
|
|
36
|
-
// head-tracked audio stays pinned in space
|
|
37
|
-
"audio_source_3d",
|
|
38
|
-
// define 3D audio source position on .holo entity
|
|
39
|
-
"audio_falloff",
|
|
40
|
-
// distance-based volume falloff model
|
|
41
|
-
"audio_directivity",
|
|
42
|
-
// directional audio cone (inner/outer angle)
|
|
43
|
-
"audio_reverb_match",
|
|
44
|
-
// match reverb to physical room acoustics
|
|
45
|
-
"audio_occlusion"
|
|
46
|
-
// audio occluded by physical/holographic objects
|
|
47
|
-
];
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
// src/traits/constants/mobile/shareplay.ts
|
|
52
|
-
var SHAREPLAY_TRAITS;
|
|
53
|
-
var init_shareplay = __esm({
|
|
54
|
-
"src/traits/constants/mobile/shareplay.ts"() {
|
|
55
|
-
SHAREPLAY_TRAITS = [
|
|
56
|
-
// --- Session ---
|
|
57
|
-
"shareplay_session",
|
|
58
|
-
// enable SharePlay session for .holo scene
|
|
59
|
-
"shareplay_host",
|
|
60
|
-
// designate host who controls scene state
|
|
61
|
-
"shareplay_join",
|
|
62
|
-
// join existing SharePlay session
|
|
63
|
-
// --- Sync ---
|
|
64
|
-
"shareplay_sync",
|
|
65
|
-
// sync scene state across participants (Loro CRDT)
|
|
66
|
-
"shareplay_anchor_local",
|
|
67
|
-
// each participant anchors scene to their own space
|
|
68
|
-
"shareplay_entity_ownership",
|
|
69
|
-
// per-entity ownership for conflict resolution
|
|
70
|
-
"shareplay_late_join",
|
|
71
|
-
// full state sync for late-joining participants
|
|
72
|
-
// --- Audio ---
|
|
73
|
-
"shareplay_voice_spatial",
|
|
74
|
-
// spatial audio for participant voices in shared scene
|
|
75
|
-
"shareplay_mute_zone"
|
|
76
|
-
// define zones where spatial audio is attenuated
|
|
77
|
-
];
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
|
|
81
|
-
// src/traits/constants/mobile/uwb-positioning.ts
|
|
82
|
-
var UWB_POSITIONING_TRAITS;
|
|
83
|
-
var init_uwb_positioning = __esm({
|
|
84
|
-
"src/traits/constants/mobile/uwb-positioning.ts"() {
|
|
85
|
-
UWB_POSITIONING_TRAITS = [
|
|
86
|
-
"uwb_discover",
|
|
87
|
-
// discover nearby UWB-capable devices
|
|
88
|
-
"uwb_range",
|
|
89
|
-
// measure distance to peer device (cm precision)
|
|
90
|
-
"uwb_direction",
|
|
91
|
-
// determine direction to peer device (azimuth + elevation)
|
|
92
|
-
"uwb_handoff",
|
|
93
|
-
// hand off .holo entity to nearby device by pointing
|
|
94
|
-
"uwb_anchor_peer",
|
|
95
|
-
// use peer device position as spatial anchor
|
|
96
|
-
"uwb_controller"
|
|
97
|
-
// use second device as spatial controller/wand
|
|
98
|
-
];
|
|
99
|
-
}
|
|
100
|
-
});
|
|
101
|
-
|
|
102
|
-
// src/traits/constants/mobile/face-tracking.ts
|
|
103
|
-
var FACE_TRACKING_TRAITS;
|
|
104
|
-
var init_face_tracking = __esm({
|
|
105
|
-
"src/traits/constants/mobile/face-tracking.ts"() {
|
|
106
|
-
FACE_TRACKING_TRAITS = [
|
|
107
|
-
// --- Tracking ---
|
|
108
|
-
"face_track_truedepth",
|
|
109
|
-
// enable TrueDepth face tracking (ARFaceAnchor)
|
|
110
|
-
"face_blendshapes",
|
|
111
|
-
// 52 ARKit blendshape coefficients
|
|
112
|
-
"face_mesh",
|
|
113
|
-
// face topology mesh (1220 vertices)
|
|
114
|
-
"face_transform",
|
|
115
|
-
// head position and orientation in world space
|
|
116
|
-
// --- Avatar ---
|
|
117
|
-
"face_avatar_drive",
|
|
118
|
-
// drive .holo avatar with face blendshapes
|
|
119
|
-
"face_blendshape_mirror",
|
|
120
|
-
// mirror blendshapes to avatar (1:1 mapping)
|
|
121
|
-
"face_puppet",
|
|
122
|
-
// face-driven holographic puppet mode
|
|
123
|
-
"face_retarget",
|
|
124
|
-
// retarget blendshapes to non-human avatar topology
|
|
125
|
-
// --- Analysis ---
|
|
126
|
-
"face_emotion_detect",
|
|
127
|
-
// derive emotion from blendshape combinations
|
|
128
|
-
"face_gaze_direction",
|
|
129
|
-
// eye gaze vector from lookAtPoint
|
|
130
|
-
"face_tongue_detect"
|
|
131
|
-
// tongue out detection (blendshape tongueOut)
|
|
132
|
-
];
|
|
133
|
-
}
|
|
134
|
-
});
|
|
135
|
-
|
|
136
|
-
// src/traits/constants/mobile/lidar-scanner.ts
|
|
137
|
-
var LIDAR_SCANNER_TRAITS;
|
|
138
|
-
var init_lidar_scanner = __esm({
|
|
139
|
-
"src/traits/constants/mobile/lidar-scanner.ts"() {
|
|
140
|
-
LIDAR_SCANNER_TRAITS = [
|
|
141
|
-
// --- Scanning ---
|
|
142
|
-
"lidar_scan",
|
|
143
|
-
// enable LiDAR scanning session
|
|
144
|
-
"lidar_mesh_capture",
|
|
145
|
-
// capture raw triangle mesh from LiDAR
|
|
146
|
-
"lidar_realtime_mesh",
|
|
147
|
-
// live-updating mesh during scan (ARMeshAnchor stream)
|
|
148
|
-
// --- Mesh Processing ---
|
|
149
|
-
"lidar_mesh_classification",
|
|
150
|
-
// ARKit mesh classification (floor, wall, ceiling, table, seat, window, door)
|
|
151
|
-
"lidar_point_cloud",
|
|
152
|
-
// raw point cloud access (ARPointCloud)
|
|
153
|
-
"lidar_mesh_simplify",
|
|
154
|
-
// reduce mesh complexity for performance
|
|
155
|
-
"lidar_mesh_smooth",
|
|
156
|
-
// smooth captured mesh normals
|
|
157
|
-
// --- Output ---
|
|
158
|
-
"lidar_mesh_to_holo",
|
|
159
|
-
// convert mesh to .holo scene graph with semantic labels
|
|
160
|
-
"lidar_mesh_export",
|
|
161
|
-
// export mesh as USDZ/OBJ/GLB
|
|
162
|
-
// --- Depth ---
|
|
163
|
-
"lidar_depth_map",
|
|
164
|
-
// per-frame depth buffer (ARFrame.sceneDepth)
|
|
165
|
-
"lidar_depth_confidence"
|
|
166
|
-
// per-pixel confidence map for depth data
|
|
167
|
-
];
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
|
|
171
|
-
// src/traits/constants/mobile/roomplan.ts
|
|
172
|
-
var ROOMPLAN_TRAITS;
|
|
173
|
-
var init_roomplan = __esm({
|
|
174
|
-
"src/traits/constants/mobile/roomplan.ts"() {
|
|
175
|
-
ROOMPLAN_TRAITS = [
|
|
176
|
-
// --- Scanning ---
|
|
177
|
-
"roomplan_scan",
|
|
178
|
-
// marks scene as a RoomPlan capture target (iOS 16+)
|
|
179
|
-
"roomplan_realtime_preview",
|
|
180
|
-
// show live mesh preview during scan
|
|
181
|
-
"roomplan_scan_quality",
|
|
182
|
-
// scan quality level: quick | standard | detailed
|
|
183
|
-
// --- Structural Surfaces ---
|
|
184
|
-
"roomplan_wall",
|
|
185
|
-
// detected wall surface
|
|
186
|
-
"roomplan_floor",
|
|
187
|
-
// detected floor surface
|
|
188
|
-
"roomplan_ceiling",
|
|
189
|
-
// detected ceiling surface
|
|
190
|
-
// --- Openings ---
|
|
191
|
-
"roomplan_door",
|
|
192
|
-
// detected door opening
|
|
193
|
-
"roomplan_window",
|
|
194
|
-
// detected window opening
|
|
195
|
-
"roomplan_opening",
|
|
196
|
-
// generic opening (archway, pass-through)
|
|
197
|
-
// --- Furniture & Fixtures ---
|
|
198
|
-
"roomplan_furniture",
|
|
199
|
-
// generic detected furniture item
|
|
200
|
-
"roomplan_table",
|
|
201
|
-
// classified table
|
|
202
|
-
"roomplan_chair",
|
|
203
|
-
// classified chair / seating
|
|
204
|
-
"roomplan_sofa",
|
|
205
|
-
// classified sofa / couch
|
|
206
|
-
"roomplan_bed",
|
|
207
|
-
// classified bed
|
|
208
|
-
"roomplan_storage",
|
|
209
|
-
// classified storage (cabinet, shelf, dresser)
|
|
210
|
-
"roomplan_appliance",
|
|
211
|
-
// classified appliance (oven, fridge, washer)
|
|
212
|
-
"roomplan_fixture",
|
|
213
|
-
// classified fixture (sink, toilet, bathtub)
|
|
214
|
-
"roomplan_screen",
|
|
215
|
-
// classified screen (TV, monitor)
|
|
216
|
-
"roomplan_fireplace",
|
|
217
|
-
// classified fireplace
|
|
218
|
-
// --- Output ---
|
|
219
|
-
"roomplan_scene_export",
|
|
220
|
-
// export captured room as .holo scene graph
|
|
221
|
-
"roomplan_coordinate_map"
|
|
222
|
-
// map RoomPlan world coordinates to HoloScript space
|
|
223
|
-
];
|
|
224
|
-
}
|
|
225
|
-
});
|
|
226
|
-
|
|
227
|
-
export { AIRPODS_SPATIAL_AUDIO_TRAITS, FACE_TRACKING_TRAITS, IOS_OBJECT_CAPTURE_TRAITS, LIDAR_SCANNER_TRAITS, ROOMPLAN_TRAITS, SHAREPLAY_TRAITS, UWB_POSITIONING_TRAITS, init_airpods_spatial_audio, init_face_tracking, init_ios_object_capture, init_lidar_scanner, init_roomplan, init_shareplay, init_uwb_positioning };
|
|
228
|
-
//# sourceMappingURL=chunk-SUCBB66F.js.map
|
|
229
|
-
//# sourceMappingURL=chunk-SUCBB66F.js.map
|