@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.
Files changed (244) hide show
  1. package/README.md +40 -40
  2. package/dist/codebase/index.d.ts +25 -0
  3. package/dist/compiler/index.d.ts +82 -0
  4. package/dist/constants.d.ts +4 -0
  5. package/dist/coordinators/index.d.ts +189 -0
  6. package/dist/entries/interop.d.ts +9 -0
  7. package/dist/entries/scripting.d.ts +7 -0
  8. package/dist/index.d.ts +520 -19
  9. package/dist/paper-0c-spike/index.d.ts +29 -0
  10. package/dist/reconstruction/index.d.ts +78 -0
  11. package/dist/self-improvement/index.d.ts +0 -48
  12. package/dist/storage/index.d.ts +24 -0
  13. package/dist/tools/index.d.ts +33 -0
  14. package/dist/traitDocs/traitDocs.d.ts +69 -0
  15. package/dist/traits/index.d.ts +61 -0
  16. package/package.json +102 -19
  17. package/dist/GLTFPipeline-3KLWWUQO.cjs +0 -34
  18. package/dist/GLTFPipeline-LYII2ZVQ.js +0 -13
  19. package/dist/HoloScriptPlusParser-BZR5DELQ.js +0 -692
  20. package/dist/HoloScriptPlusParser-SBMYDNXO.cjs +0 -697
  21. package/dist/USDZExporter-MHEHXZB4.cjs +0 -709
  22. package/dist/USDZExporter-YA55ZS35.js +0 -707
  23. package/dist/chunk-26TLYBFD.js +0 -309
  24. package/dist/chunk-27LWW5FU.cjs +0 -410
  25. package/dist/chunk-2UX5LRAP.cjs +0 -833
  26. package/dist/chunk-32TWR3HE.js +0 -70
  27. package/dist/chunk-3FXV5S25.cjs +0 -633
  28. package/dist/chunk-3FYZOR7S.cjs +0 -69
  29. package/dist/chunk-3KEU5QYY.cjs +0 -175
  30. package/dist/chunk-4FCZDTD5.js +0 -610
  31. package/dist/chunk-4KJ2R7VP.cjs +0 -507
  32. package/dist/chunk-4SMUJFHL.js +0 -1213
  33. package/dist/chunk-54FHG2MX.js +0 -655
  34. package/dist/chunk-56IF4NTA.js +0 -56
  35. package/dist/chunk-5GLCTO44.js +0 -161
  36. package/dist/chunk-5TOFIR6L.js +0 -407
  37. package/dist/chunk-65RFOWZI.js +0 -765
  38. package/dist/chunk-6OQBLABR.js +0 -5240
  39. package/dist/chunk-6WNCRE6F.js +0 -126
  40. package/dist/chunk-74YCHHTE.js +0 -1872
  41. package/dist/chunk-7H5UNJZD.cjs +0 -1973
  42. package/dist/chunk-7KPI4EKH.cjs +0 -701
  43. package/dist/chunk-7LCYLPW2.cjs +0 -663
  44. package/dist/chunk-7N3JIJMT.js +0 -1395
  45. package/dist/chunk-7X2IEJIE.cjs +0 -2526
  46. package/dist/chunk-A6GO3DPZ.cjs +0 -1002
  47. package/dist/chunk-AC4BSHFV.js +0 -765
  48. package/dist/chunk-AIUXRS74.cjs +0 -3681
  49. package/dist/chunk-ARNKA274.cjs +0 -130
  50. package/dist/chunk-AW7WAELW.js +0 -975
  51. package/dist/chunk-BKIGPPVM.js +0 -629
  52. package/dist/chunk-BO2OKHIY.js +0 -6055
  53. package/dist/chunk-BU5ZAFMC.js +0 -115
  54. package/dist/chunk-BY3B7ZYV.cjs +0 -457
  55. package/dist/chunk-C2QHVHZF.js +0 -4066
  56. package/dist/chunk-C7BNX4XJ.js +0 -1043
  57. package/dist/chunk-CLYEIWA5.cjs +0 -408
  58. package/dist/chunk-CMYAWUX3.js +0 -4455
  59. package/dist/chunk-CN4NOESF.cjs +0 -416
  60. package/dist/chunk-CNVM7J3M.js +0 -883
  61. package/dist/chunk-CO2VM2DK.js +0 -1965
  62. package/dist/chunk-CQDOF3G7.cjs +0 -1404
  63. package/dist/chunk-DH5G2JUA.cjs +0 -614
  64. package/dist/chunk-DIEDKX5B.cjs +0 -660
  65. package/dist/chunk-DN7UFU63.cjs +0 -172
  66. package/dist/chunk-DXVCEFZB.js +0 -2027
  67. package/dist/chunk-EGIZHYJP.cjs +0 -85
  68. package/dist/chunk-EJA7G2C4.cjs +0 -428
  69. package/dist/chunk-ELLQPFAF.js +0 -830
  70. package/dist/chunk-EMO7HAKJ.cjs +0 -1875
  71. package/dist/chunk-ENV7K6XA.js +0 -282
  72. package/dist/chunk-EPWRXL6S.js +0 -2522
  73. package/dist/chunk-EUFLX2PI.js +0 -56956
  74. package/dist/chunk-F5LVGHNT.js +0 -449
  75. package/dist/chunk-FEFHPUEM.cjs +0 -6122
  76. package/dist/chunk-FF3Q7ADR.js +0 -380
  77. package/dist/chunk-GC3YU46J.js +0 -762
  78. package/dist/chunk-H6WMMLQK.cjs +0 -4492
  79. package/dist/chunk-H7XMORZI.js +0 -2731
  80. package/dist/chunk-HAN4V3PF.cjs +0 -2037
  81. package/dist/chunk-HBZYCASG.js +0 -4208
  82. package/dist/chunk-HF4OFY25.cjs +0 -4097
  83. package/dist/chunk-HHS6FMOU.cjs +0 -3813
  84. package/dist/chunk-HJJLD366.js +0 -1169
  85. package/dist/chunk-HKCVM6OK.cjs +0 -2237
  86. package/dist/chunk-HUFNKFA6.js +0 -698
  87. package/dist/chunk-I3XGTIHM.cjs +0 -1505
  88. package/dist/chunk-I6XZ5DZF.cjs +0 -488
  89. package/dist/chunk-IHOUYQIA.js +0 -406
  90. package/dist/chunk-ILRBGFVD.cjs +0 -72
  91. package/dist/chunk-KDB6BUMB.js +0 -3666
  92. package/dist/chunk-KUJRR4FJ.js +0 -657
  93. package/dist/chunk-KYM4XRFG.js +0 -421
  94. package/dist/chunk-L3Z2HIWJ.cjs +0 -793
  95. package/dist/chunk-LBPEZQAF.js +0 -2232
  96. package/dist/chunk-LER4WXW5.cjs +0 -286
  97. package/dist/chunk-LK5IAVH6.cjs +0 -1173
  98. package/dist/chunk-M6FU6S22.js +0 -2911
  99. package/dist/chunk-MWEFR6YQ.js +0 -1857
  100. package/dist/chunk-N5FTS757.cjs +0 -415
  101. package/dist/chunk-NCUHGRTZ.js +0 -752
  102. package/dist/chunk-NKRKT6V2.js +0 -69
  103. package/dist/chunk-NLPSZT4C.js +0 -630
  104. package/dist/chunk-NRUB55IT.cjs +0 -771
  105. package/dist/chunk-NTMZSDXM.cjs +0 -633
  106. package/dist/chunk-ODGMVILH.js +0 -9662
  107. package/dist/chunk-PBA6NXCT.cjs +0 -1216
  108. package/dist/chunk-PHENW4MQ.js +0 -65
  109. package/dist/chunk-PJMOXFPR.cjs +0 -1861
  110. package/dist/chunk-PLMYCCA4.js +0 -504
  111. package/dist/chunk-PPULB4GG.cjs +0 -9728
  112. package/dist/chunk-PQLGZKMC.cjs +0 -755
  113. package/dist/chunk-Q56TT7IL.js +0 -483
  114. package/dist/chunk-QHVVVN47.cjs +0 -2033
  115. package/dist/chunk-QWKUKVRE.js +0 -2026
  116. package/dist/chunk-RE3OKSYF.cjs +0 -424
  117. package/dist/chunk-RT7LJRSF.cjs +0 -57378
  118. package/dist/chunk-SPDELRRV.cjs +0 -319
  119. package/dist/chunk-SUCBB66F.js +0 -229
  120. package/dist/chunk-TSWTWZ42.cjs +0 -4214
  121. package/dist/chunk-UITWA6DV.cjs +0 -2829
  122. package/dist/chunk-UQW6SLM5.js +0 -172
  123. package/dist/chunk-V2ILLPHK.cjs +0 -237
  124. package/dist/chunk-V42NTCFH.js +0 -3645
  125. package/dist/chunk-VJ3L7CHT.cjs +0 -169
  126. package/dist/chunk-VJVCD5T5.cjs +0 -769
  127. package/dist/chunk-VK5AXKO3.js +0 -746
  128. package/dist/chunk-VSXOIUCF.cjs +0 -473
  129. package/dist/chunk-VZNKJZTT.cjs +0 -749
  130. package/dist/chunk-W76ETJTI.js +0 -678
  131. package/dist/chunk-WFJIDI2N.cjs +0 -424
  132. package/dist/chunk-WN3YF33G.cjs +0 -118
  133. package/dist/chunk-WUXIRGZP.cjs +0 -2915
  134. package/dist/chunk-WYH4GVZ5.js +0 -1488
  135. package/dist/chunk-X4YVN7H3.cjs +0 -888
  136. package/dist/chunk-X67XRI2T.js +0 -410
  137. package/dist/chunk-XDXZM3ZP.cjs +0 -1046
  138. package/dist/chunk-XH7SE4HH.cjs +0 -72
  139. package/dist/chunk-XNMEH2BI.js +0 -126
  140. package/dist/chunk-XSF76QRU.js +0 -468
  141. package/dist/chunk-XSUZMPVQ.cjs +0 -682
  142. package/dist/chunk-XUILI4KB.cjs +0 -430
  143. package/dist/chunk-Y5MUAYTO.js +0 -167
  144. package/dist/chunk-Y7VK5TH3.cjs +0 -129
  145. package/dist/chunk-YCMQQQ5U.cjs +0 -5244
  146. package/dist/chunk-YYXH45E2.js +0 -426
  147. package/dist/chunk-ZGTGVSTZ.js +0 -422
  148. package/dist/chunk-ZL6VJ6SN.js +0 -421
  149. package/dist/cli/holoscript-runner.cjs +0 -2258
  150. package/dist/cli/holoscript-runner.js +0 -2233
  151. package/dist/codebase/index.cjs +0 -336
  152. package/dist/codebase/index.js +0 -331
  153. package/dist/compiler/agent-inference.cjs +0 -29
  154. package/dist/compiler/agent-inference.js +0 -6
  155. package/dist/compiler/android-xr.cjs +0 -20
  156. package/dist/compiler/android-xr.js +0 -10
  157. package/dist/compiler/android.cjs +0 -21
  158. package/dist/compiler/android.js +0 -11
  159. package/dist/compiler/ar.cjs +0 -21
  160. package/dist/compiler/ar.js +0 -9
  161. package/dist/compiler/babylon.cjs +0 -18
  162. package/dist/compiler/babylon.js +0 -12
  163. package/dist/compiler/coco.cjs +0 -27
  164. package/dist/compiler/coco.js +0 -4
  165. package/dist/compiler/domain-block-utils.cjs +0 -595
  166. package/dist/compiler/domain-block-utils.js +0 -9
  167. package/dist/compiler/dtdl.cjs +0 -25
  168. package/dist/compiler/dtdl.js +0 -9
  169. package/dist/compiler/gltf-pipeline.cjs +0 -39
  170. package/dist/compiler/gltf-pipeline.js +0 -4
  171. package/dist/compiler/godot.cjs +0 -16
  172. package/dist/compiler/godot.js +0 -10
  173. package/dist/compiler/incremental.cjs +0 -30
  174. package/dist/compiler/incremental.js +0 -5
  175. package/dist/compiler/index.cjs +0 -1522
  176. package/dist/compiler/index.js +0 -1321
  177. package/dist/compiler/ios.cjs +0 -21
  178. package/dist/compiler/ios.js +0 -11
  179. package/dist/compiler/multi-layer.cjs +0 -27
  180. package/dist/compiler/multi-layer.js +0 -12
  181. package/dist/compiler/nodetoy.cjs +0 -23
  182. package/dist/compiler/nodetoy.js +0 -4
  183. package/dist/compiler/openxr.cjs +0 -16
  184. package/dist/compiler/openxr.js +0 -10
  185. package/dist/compiler/playcanvas.cjs +0 -17
  186. package/dist/compiler/playcanvas.js +0 -11
  187. package/dist/compiler/r3f.cjs +0 -35
  188. package/dist/compiler/r3f.js +0 -13
  189. package/dist/compiler/remotion.cjs +0 -23
  190. package/dist/compiler/remotion.js +0 -4
  191. package/dist/compiler/reproducibility.cjs +0 -39
  192. package/dist/compiler/reproducibility.js +0 -4
  193. package/dist/compiler/sdf.cjs +0 -22
  194. package/dist/compiler/sdf.js +0 -10
  195. package/dist/compiler/semantic-scene.cjs +0 -31
  196. package/dist/compiler/semantic-scene.js +0 -4
  197. package/dist/compiler/state.cjs +0 -18
  198. package/dist/compiler/state.js +0 -8
  199. package/dist/compiler/trait-composition.cjs +0 -27
  200. package/dist/compiler/trait-composition.js +0 -6
  201. package/dist/compiler/unity.cjs +0 -16
  202. package/dist/compiler/unity.js +0 -10
  203. package/dist/compiler/unreal.cjs +0 -20
  204. package/dist/compiler/unreal.js +0 -10
  205. package/dist/compiler/urdf.cjs +0 -46
  206. package/dist/compiler/urdf.js +0 -10
  207. package/dist/compiler/usd-physics.cjs +0 -24
  208. package/dist/compiler/usd-physics.js +0 -7
  209. package/dist/compiler/visionos.cjs +0 -16
  210. package/dist/compiler/visionos.js +0 -10
  211. package/dist/compiler/vrchat.cjs +0 -20
  212. package/dist/compiler/vrchat.js +0 -10
  213. package/dist/compiler/vrr.cjs +0 -22
  214. package/dist/compiler/vrr.js +0 -10
  215. package/dist/compiler/wasm.cjs +0 -34
  216. package/dist/compiler/wasm.js +0 -10
  217. package/dist/compiler/webgpu.cjs +0 -16
  218. package/dist/compiler/webgpu.js +0 -10
  219. package/dist/debugger.cjs +0 -21
  220. package/dist/debugger.js +0 -8
  221. package/dist/entries/interop.cjs +0 -62
  222. package/dist/entries/interop.js +0 -5
  223. package/dist/entries/scripting.cjs +0 -67
  224. package/dist/entries/scripting.js +0 -10
  225. package/dist/index.cjs +0 -61703
  226. package/dist/index.js +0 -58652
  227. package/dist/math/vec3.cjs +0 -57
  228. package/dist/math/vec3.js +0 -4
  229. package/dist/parser.cjs +0 -26
  230. package/dist/parser.js +0 -9
  231. package/dist/playwright-7DTEQCBD.cjs +0 -98673
  232. package/dist/playwright-BIZXMLD2.js +0 -98660
  233. package/dist/post-quantum-JTTAAGO3.cjs +0 -6
  234. package/dist/post-quantum-RVPVDEPI.js +0 -4
  235. package/dist/runtime.cjs +0 -16
  236. package/dist/runtime.js +0 -7
  237. package/dist/storage/index.cjs +0 -37
  238. package/dist/storage/index.js +0 -4
  239. package/dist/traits/index.cjs +0 -14331
  240. package/dist/traits/index.js +0 -12126
  241. package/dist/type-checker.cjs +0 -18
  242. package/dist/type-checker.js +0 -5
  243. package/dist/wot/index.cjs +0 -29
  244. package/dist/wot/index.js +0 -4
@@ -1,309 +0,0 @@
1
- import { __esm } from './chunk-32TWR3HE.js';
2
-
3
- // src/traits/constants/mobile/geospatial.ts
4
- var GEOSPATIAL_ARCORE_TRAITS, GEOSPATIAL_DEFAULTS;
5
- var init_geospatial = __esm({
6
- "src/traits/constants/mobile/geospatial.ts"() {
7
- GEOSPATIAL_ARCORE_TRAITS = [
8
- // --- VPS Core ---
9
- "geospatial_vps",
10
- // enables ARCore GeospatialMode.ENABLED on session
11
- "geospatial_heading",
12
- // heading/orientation alignment from VPS compass data
13
- // --- Anchoring ---
14
- "geospatial_anchor",
15
- // lat/lng/alt/heading anchor via Earth.createAnchor
16
- "geospatial_terrain_anchor",
17
- // resolveAnchorOnTerrain — snaps to terrain surface
18
- "geospatial_rooftop_anchor",
19
- // resolveAnchorOnRooftop — snaps to building rooftops
20
- // --- Streetscape ---
21
- "geospatial_streetscape"
22
- // Streetscape Geometry mesh access for buildings/terrain
23
- ];
24
- GEOSPATIAL_DEFAULTS = {
25
- vps: {
26
- accuracyThreshold: 25,
27
- headingAccuracyThreshold: 25,
28
- localizationTimeout: 3e4
29
- },
30
- anchor: {
31
- latitude: 0,
32
- longitude: 0,
33
- altitude: 0,
34
- heading: 0,
35
- resolveTimeout: 1e4
36
- },
37
- terrainAnchor: {
38
- latitude: 0,
39
- longitude: 0,
40
- altitudeOffset: 0,
41
- heading: 0,
42
- resolveTimeout: 1e4
43
- },
44
- rooftopAnchor: {
45
- latitude: 0,
46
- longitude: 0,
47
- altitudeOffset: 0,
48
- heading: 0,
49
- resolveTimeout: 1e4
50
- },
51
- streetscape: {
52
- enableTerrain: true,
53
- enableBuildings: true
54
- }
55
- };
56
- }
57
- });
58
-
59
- // src/traits/constants/mobile/spatial-authoring.ts
60
- var SPATIAL_AUTHORING_TRAITS, SPATIAL_AUTHORING_DEFAULTS;
61
- var init_spatial_authoring = __esm({
62
- "src/traits/constants/mobile/spatial-authoring.ts"() {
63
- SPATIAL_AUTHORING_TRAITS = [
64
- // --- Gyro Placement ---
65
- "author_gyro_place",
66
- // gyroscope-stabilised AR object placement
67
- // --- Pinch Scale ---
68
- "author_pinch_scale",
69
- // pinch-to-scale selected entity
70
- // --- Swipe Browse ---
71
- "author_swipe_browse",
72
- // horizontal swipe to browse trait palette
73
- // --- Voice Commands ---
74
- "author_voice_cmd",
75
- // speech recognition → parse and execute commands
76
- // --- Shake Undo ---
77
- "author_shake_undo"
78
- // shake device to undo last action
79
- ];
80
- SPATIAL_AUTHORING_DEFAULTS = {
81
- /** Gyro low-pass filter alpha (0-1, lower = smoother) */
82
- gyroFilterAlpha: 0.15,
83
- /** Minimum pinch scale factor */
84
- pinchScaleMin: 0.1,
85
- /** Maximum pinch scale factor */
86
- pinchScaleMax: 10,
87
- /** Shake acceleration threshold (m/s^2) to trigger undo */
88
- shakeThreshold: 12,
89
- /** Speech recognition locale */
90
- speechLocale: "en-US",
91
- /** Maximum undo stack depth */
92
- undoStackDepth: 50
93
- };
94
- }
95
- });
96
-
97
- // src/traits/constants/mobile/haptic-feedback.ts
98
- var HAPTIC_FEEDBACK_TRAITS;
99
- var init_haptic_feedback = __esm({
100
- "src/traits/constants/mobile/haptic-feedback.ts"() {
101
- HAPTIC_FEEDBACK_TRAITS = [
102
- // --- Interaction ---
103
- "haptic_touch",
104
- // vibration on hologram touch
105
- "haptic_grab",
106
- // resistance pulse when grabbing
107
- "haptic_throw",
108
- // release burst when throwing
109
- "haptic_impact",
110
- // impact feedback on collision
111
- "haptic_select",
112
- // click feedback on selection
113
- // --- Ambient ---
114
- "haptic_proximity",
115
- // increasing vibration as hand nears hologram
116
- "haptic_texture",
117
- // surface texture simulation (rough, smooth, bumpy)
118
- "haptic_resistance",
119
- // force feedback simulation via vibration patterns
120
- // --- System ---
121
- "haptic_enable",
122
- // enable haptic feedback engine
123
- "haptic_intensity",
124
- // global intensity multiplier (0.0-1.0)
125
- "haptic_pattern_library"
126
- // load custom haptic patterns (AHAP on iOS, VibrationEffect on Android)
127
- ];
128
- }
129
- });
130
-
131
- // src/traits/constants/mobile/nearby-connections.ts
132
- var NEARBY_CONNECTIONS_TRAITS;
133
- var init_nearby_connections = __esm({
134
- "src/traits/constants/mobile/nearby-connections.ts"() {
135
- NEARBY_CONNECTIONS_TRAITS = [
136
- // --- Discovery ---
137
- "nearby_discover",
138
- // discover nearby devices running same .holo scene
139
- "nearby_advertise",
140
- // advertise this device as joinable
141
- "nearby_auto_connect",
142
- // automatically connect when same scene detected
143
- // --- Mesh ---
144
- "nearby_mesh",
145
- // form local mesh network (star or mesh topology)
146
- "nearby_max_peers",
147
- // maximum number of connected peers
148
- "nearby_bandwidth",
149
- // connection strategy: HIGH_BANDWIDTH or LOW_POWER
150
- // --- Sync ---
151
- "nearby_p2p_sync",
152
- // sync .holo scene state P2P via Loro CRDT
153
- "nearby_broadcast",
154
- // broadcast events to all connected peers
155
- "nearby_spatial_anchor_share"
156
- // share spatial anchors between nearby devices
157
- ];
158
- }
159
- });
160
-
161
- // src/traits/constants/mobile/foldable-display.ts
162
- var FOLDABLE_DISPLAY_TRAITS;
163
- var init_foldable_display = __esm({
164
- "src/traits/constants/mobile/foldable-display.ts"() {
165
- FOLDABLE_DISPLAY_TRAITS = [
166
- "foldable_detect",
167
- // detect foldable device and fold state
168
- "foldable_split_view",
169
- // AR viewfinder on one panel, controls on other
170
- "foldable_flex_mode",
171
- // Flip flex mode: top AR, bottom controls
172
- "foldable_tabletop",
173
- // tabletop mode: phone stands up, AR projects forward
174
- "foldable_hinge_angle",
175
- // expose hinge angle as input parameter
176
- "foldable_continuity"
177
- // seamless transition between fold states
178
- ];
179
- }
180
- });
181
-
182
- // src/traits/constants/mobile/samsung-dex.ts
183
- var SAMSUNG_DEX_TRAITS;
184
- var init_samsung_dex = __esm({
185
- "src/traits/constants/mobile/samsung-dex.ts"() {
186
- SAMSUNG_DEX_TRAITS = [
187
- "dex_detect",
188
- // detect Samsung DeX connection
189
- "dex_handoff",
190
- // hand off .holo scene from mobile AR to desktop view
191
- "dex_desktop_controls",
192
- // enable mouse/keyboard controls in DeX mode
193
- "dex_multi_window",
194
- // support multi-window layout in DeX
195
- "dex_resolution_adapt"
196
- // adapt rendering resolution to external display
197
- ];
198
- }
199
- });
200
-
201
- // src/traits/constants/mobile/webxr.ts
202
- var WEBXR_TRAITS;
203
- var init_webxr = __esm({
204
- "src/traits/constants/mobile/webxr.ts"() {
205
- WEBXR_TRAITS = [
206
- // --- Session ---
207
- "webxr_session",
208
- // request immersive-ar or immersive-vr session
209
- "webxr_inline",
210
- // inline XR (non-immersive, preview mode)
211
- // --- Features ---
212
- "webxr_hit_test",
213
- // ray-surface hit testing for placement
214
- "webxr_anchors",
215
- // persistent anchors across frames
216
- "webxr_light_estimation",
217
- // real-world lighting probe for hologram shading
218
- "webxr_dom_overlay",
219
- // HTML DOM overlay on top of XR scene
220
- "webxr_depth_sensing",
221
- // depth buffer access for occlusion
222
- "webxr_hand_tracking",
223
- // WebXR hand tracking API (where supported)
224
- // --- Rendering ---
225
- "webxr_layers",
226
- // XR composition layers (projection, quad, cylinder)
227
- "webxr_framebuffer",
228
- // direct framebuffer access for custom rendering
229
- "webxr_reference_space"
230
- // reference space type (local, local-floor, bounded-floor)
231
- ];
232
- }
233
- });
234
-
235
- // src/traits/constants/mobile/google-lens.ts
236
- var GOOGLE_LENS_TRAITS;
237
- var init_google_lens = __esm({
238
- "src/traits/constants/mobile/google-lens.ts"() {
239
- GOOGLE_LENS_TRAITS = [
240
- "lens_recognize",
241
- // enable object/scene recognition
242
- "lens_text_overlay",
243
- // OCR text as holographic overlay
244
- "lens_product_id",
245
- // product identification and info overlay
246
- "lens_translate",
247
- // real-time text translation overlay
248
- "lens_entity_pipe",
249
- // pipe recognized entities into .holo scene graph
250
- "lens_plant_animal_id",
251
- // plant/animal species identification
252
- "lens_landmark_info"
253
- // landmark/building information overlay
254
- ];
255
- }
256
- });
257
-
258
- // src/traits/constants/mobile/depth-scanner.ts
259
- var DEPTH_SCANNER_TRAITS, DEPTH_SCANNER_DEFAULTS;
260
- var init_depth_scanner = __esm({
261
- "src/traits/constants/mobile/depth-scanner.ts"() {
262
- DEPTH_SCANNER_TRAITS = [
263
- // --- Core ---
264
- "depth_scan",
265
- // enables depth scanning pipeline
266
- "depth_auto_select",
267
- // runtime picks best source: ToF > ARCore ML > stereo
268
- // --- Backends ---
269
- "depth_ml_arcore",
270
- // ARCore Depth API — ML-based monocular depth (200+ devices)
271
- "depth_tof",
272
- // Time-of-Flight sensor path (hardware ToF required)
273
- "depth_stereo",
274
- // dual-camera stereo depth estimation
275
- // --- Processing ---
276
- "depth_confidence_map",
277
- // per-pixel confidence image (0-255)
278
- "depth_mesh_generate",
279
- // convert depth map to triangle mesh
280
- "depth_mesh_to_holo",
281
- // convert reconstructed mesh to .holo scene graph
282
- // --- Output ---
283
- "depth_realtime",
284
- // live depth updates every frame
285
- "depth_export"
286
- // export mesh as OBJ/GLB
287
- ];
288
- DEPTH_SCANNER_DEFAULTS = {
289
- scan: {
290
- confidenceThreshold: 128,
291
- maxDepthMeters: 5,
292
- meshDecimation: 0.5
293
- },
294
- export: {
295
- format: "glb",
296
- includeColor: true,
297
- includeNormals: true
298
- },
299
- realtime: {
300
- targetFps: 30,
301
- temporalSmoothing: true
302
- }
303
- };
304
- }
305
- });
306
-
307
- export { DEPTH_SCANNER_DEFAULTS, DEPTH_SCANNER_TRAITS, FOLDABLE_DISPLAY_TRAITS, GEOSPATIAL_ARCORE_TRAITS, GEOSPATIAL_DEFAULTS, GOOGLE_LENS_TRAITS, HAPTIC_FEEDBACK_TRAITS, NEARBY_CONNECTIONS_TRAITS, SAMSUNG_DEX_TRAITS, SPATIAL_AUTHORING_DEFAULTS, SPATIAL_AUTHORING_TRAITS, WEBXR_TRAITS, init_depth_scanner, init_foldable_display, init_geospatial, init_google_lens, init_haptic_feedback, init_nearby_connections, init_samsung_dex, init_spatial_authoring, init_webxr };
308
- //# sourceMappingURL=chunk-26TLYBFD.js.map
309
- //# sourceMappingURL=chunk-26TLYBFD.js.map