@holoscript/core 6.0.4 → 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 (236) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +1 -1
  3. package/dist/compiler/index.d.ts +82 -0
  4. package/dist/constants.d.ts +3 -2
  5. package/dist/coordinators/index.d.ts +189 -0
  6. package/dist/index.d.ts +501 -19
  7. package/dist/paper-0c-spike/index.d.ts +29 -0
  8. package/dist/reconstruction/index.d.ts +78 -0
  9. package/dist/tools/index.d.ts +22 -1
  10. package/dist/traitDocs/traitDocs.d.ts +69 -0
  11. package/dist/traits/index.d.ts +61 -0
  12. package/package.json +105 -57
  13. package/dist/GLTFPipeline-DEN36VNK.js +0 -12
  14. package/dist/GLTFPipeline-YPCAK236.cjs +0 -33
  15. package/dist/HoloScriptPlusParser-BN6KVRCM.js +0 -692
  16. package/dist/HoloScriptPlusParser-NC5FE6AL.cjs +0 -697
  17. package/dist/USDZExporter-NTMBNTDB.js +0 -707
  18. package/dist/USDZExporter-UWGWNMMD.cjs +0 -709
  19. package/dist/chunk-27LWW5FU.cjs +0 -410
  20. package/dist/chunk-2CWOLHTE.js +0 -69
  21. package/dist/chunk-33LSUQDD.cjs +0 -835
  22. package/dist/chunk-3FJCK5XA.js +0 -2232
  23. package/dist/chunk-3FXV5S25.cjs +0 -633
  24. package/dist/chunk-3FYZOR7S.cjs +0 -69
  25. package/dist/chunk-3SAK5KFL.cjs +0 -83
  26. package/dist/chunk-4XSNJCLC.cjs +0 -1859
  27. package/dist/chunk-54FHG2MX.js +0 -655
  28. package/dist/chunk-56IF4NTA.js +0 -56
  29. package/dist/chunk-5BGSECRJ.cjs +0 -2237
  30. package/dist/chunk-5GLCTO44.js +0 -161
  31. package/dist/chunk-5O6TQC6M.cjs +0 -1871
  32. package/dist/chunk-5OEOHAAW.cjs +0 -682
  33. package/dist/chunk-5TOFIR6L.js +0 -407
  34. package/dist/chunk-5WUNN6ZN.cjs +0 -428
  35. package/dist/chunk-6TZPZCOJ.cjs +0 -1404
  36. package/dist/chunk-6UEHYZ7V.cjs +0 -773
  37. package/dist/chunk-6XSERL6L.js +0 -5678
  38. package/dist/chunk-72EQECGT.cjs +0 -908
  39. package/dist/chunk-7AGYRWKW.cjs +0 -507
  40. package/dist/chunk-7LCYLPW2.cjs +0 -663
  41. package/dist/chunk-A7PIMZGU.js +0 -263
  42. package/dist/chunk-ATSKSYVE.cjs +0 -51683
  43. package/dist/chunk-B5TCIAPQ.cjs +0 -117
  44. package/dist/chunk-BF2235SI.cjs +0 -5714
  45. package/dist/chunk-BKIGPPVM.js +0 -629
  46. package/dist/chunk-BND3ST2K.cjs +0 -662
  47. package/dist/chunk-BU7VWW2K.js +0 -2522
  48. package/dist/chunk-BWFJEM5A.js +0 -5419
  49. package/dist/chunk-CAUCGUEA.cjs +0 -130
  50. package/dist/chunk-CBJSLA2E.cjs +0 -5423
  51. package/dist/chunk-CDPGV4DN.js +0 -114
  52. package/dist/chunk-CLYEIWA5.cjs +0 -408
  53. package/dist/chunk-CS2EMTGF.js +0 -1966
  54. package/dist/chunk-DMG7C4H2.js +0 -975
  55. package/dist/chunk-DXJQDCFL.js +0 -468
  56. package/dist/chunk-E3FWRT3Z.js +0 -608
  57. package/dist/chunk-E3UALNFA.js +0 -421
  58. package/dist/chunk-EONILVMF.js +0 -762
  59. package/dist/chunk-EQV4R3EV.cjs +0 -769
  60. package/dist/chunk-F3HH56EB.cjs +0 -5538
  61. package/dist/chunk-F4IULT7N.js +0 -1488
  62. package/dist/chunk-FF3Q7ADR.js +0 -380
  63. package/dist/chunk-FFKU7BTK.cjs +0 -1046
  64. package/dist/chunk-FHQVYCH2.js +0 -70
  65. package/dist/chunk-FSF7EQVA.cjs +0 -1974
  66. package/dist/chunk-G4VZTCIB.js +0 -659
  67. package/dist/chunk-G7CT3EMP.cjs +0 -1002
  68. package/dist/chunk-GGHSW2NN.js +0 -51334
  69. package/dist/chunk-GVUR45UF.cjs +0 -777
  70. package/dist/chunk-H5Z7NASB.js +0 -9662
  71. package/dist/chunk-HE7ULERA.cjs +0 -697
  72. package/dist/chunk-HJJLD366.js +0 -1169
  73. package/dist/chunk-HPS76H7Q.js +0 -309
  74. package/dist/chunk-HQUEA5R6.cjs +0 -424
  75. package/dist/chunk-HYNTS5CP.js +0 -422
  76. package/dist/chunk-I6XZ5DZF.cjs +0 -488
  77. package/dist/chunk-IBDG74G2.cjs +0 -1219
  78. package/dist/chunk-IFNQFCTM.js +0 -3098
  79. package/dist/chunk-IHOUYQIA.js +0 -406
  80. package/dist/chunk-ILRBGFVD.cjs +0 -72
  81. package/dist/chunk-IWI6J7FX.js +0 -421
  82. package/dist/chunk-K3JDKWGI.cjs +0 -270
  83. package/dist/chunk-K6EKD26I.js +0 -630
  84. package/dist/chunk-KCQ5NDYC.cjs +0 -3172
  85. package/dist/chunk-KED34ILP.js +0 -832
  86. package/dist/chunk-KSGXLT74.cjs +0 -457
  87. package/dist/chunk-L4G4RLXX.js +0 -767
  88. package/dist/chunk-LDP5OK6G.js +0 -1216
  89. package/dist/chunk-LGGRPKTV.cjs +0 -735
  90. package/dist/chunk-LK5IAVH6.cjs +0 -1173
  91. package/dist/chunk-LSW7P7ML.js +0 -3675
  92. package/dist/chunk-LXJ4667L.cjs +0 -3874
  93. package/dist/chunk-LZ266PCM.cjs +0 -4499
  94. package/dist/chunk-MD6KDHVE.cjs +0 -237
  95. package/dist/chunk-MEASWI2Y.js +0 -126
  96. package/dist/chunk-MPXBVFHQ.js +0 -768
  97. package/dist/chunk-N5FTS757.cjs +0 -415
  98. package/dist/chunk-NCUKG4SK.cjs +0 -3075
  99. package/dist/chunk-NDQNIJEH.js +0 -1715
  100. package/dist/chunk-NOZZ46QU.js +0 -168
  101. package/dist/chunk-OFKWH2IP.js +0 -449
  102. package/dist/chunk-PHENW4MQ.js +0 -65
  103. package/dist/chunk-PMGODDJA.cjs +0 -319
  104. package/dist/chunk-Q4QX3AET.cjs +0 -1505
  105. package/dist/chunk-Q56TT7IL.js +0 -483
  106. package/dist/chunk-Q5JT3YML.cjs +0 -129
  107. package/dist/chunk-Q5SJOGHQ.cjs +0 -4256
  108. package/dist/chunk-QGKNANZ3.js +0 -3071
  109. package/dist/chunk-QLEAOI3Q.cjs +0 -424
  110. package/dist/chunk-R7MA7QWV.js +0 -732
  111. package/dist/chunk-RVYPEYPX.js +0 -678
  112. package/dist/chunk-S2N5TNMA.js +0 -1855
  113. package/dist/chunk-S565K7NK.js +0 -752
  114. package/dist/chunk-SDAMZIRE.js +0 -765
  115. package/dist/chunk-T36DDXSF.js +0 -4250
  116. package/dist/chunk-T4NKMBDL.js +0 -5474
  117. package/dist/chunk-T7LEXZUZ.cjs +0 -2526
  118. package/dist/chunk-TEWCN33Y.js +0 -694
  119. package/dist/chunk-TQSZUOW5.cjs +0 -793
  120. package/dist/chunk-TSH3MSQU.cjs +0 -129
  121. package/dist/chunk-UERJ3YJV.js +0 -504
  122. package/dist/chunk-UPJBDCVF.js +0 -1395
  123. package/dist/chunk-V3NN3HPP.js +0 -4462
  124. package/dist/chunk-VJ3L7CHT.cjs +0 -169
  125. package/dist/chunk-WB4Z63GG.js +0 -229
  126. package/dist/chunk-WDW67DZB.cjs +0 -9728
  127. package/dist/chunk-WGMEAYBG.js +0 -126
  128. package/dist/chunk-X4ZF6CNE.cjs +0 -473
  129. package/dist/chunk-X6SEAXAX.cjs +0 -3681
  130. package/dist/chunk-XCWFGZAA.js +0 -1043
  131. package/dist/chunk-XD6IYDUX.js +0 -903
  132. package/dist/chunk-XG23EUQX.cjs +0 -1717
  133. package/dist/chunk-XRKWN5PL.cjs +0 -173
  134. package/dist/chunk-XUILI4KB.cjs +0 -430
  135. package/dist/chunk-XUTX5CBW.js +0 -126
  136. package/dist/chunk-XWPNTWDN.cjs +0 -755
  137. package/dist/chunk-XXINBTZK.cjs +0 -633
  138. package/dist/chunk-YCXFCXDS.js +0 -1868
  139. package/dist/chunk-YQK5JNFK.js +0 -3725
  140. package/dist/chunk-YYXH45E2.js +0 -426
  141. package/dist/chunk-Z34RLXRA.cjs +0 -612
  142. package/dist/chunk-ZP4D3CSX.cjs +0 -72
  143. package/dist/cli/holoscript-runner.cjs +0 -2259
  144. package/dist/cli/holoscript-runner.js +0 -2234
  145. package/dist/codebase/index.cjs +0 -336
  146. package/dist/codebase/index.js +0 -331
  147. package/dist/compiler/agent-inference.cjs +0 -28
  148. package/dist/compiler/agent-inference.js +0 -5
  149. package/dist/compiler/android-xr.cjs +0 -19
  150. package/dist/compiler/android-xr.js +0 -9
  151. package/dist/compiler/android.cjs +0 -20
  152. package/dist/compiler/android.js +0 -10
  153. package/dist/compiler/ar.cjs +0 -20
  154. package/dist/compiler/ar.js +0 -8
  155. package/dist/compiler/babylon.cjs +0 -17
  156. package/dist/compiler/babylon.js +0 -11
  157. package/dist/compiler/coco.cjs +0 -27
  158. package/dist/compiler/coco.js +0 -4
  159. package/dist/compiler/domain-block-utils.cjs +0 -602
  160. package/dist/compiler/domain-block-utils.js +0 -8
  161. package/dist/compiler/dtdl.cjs +0 -24
  162. package/dist/compiler/dtdl.js +0 -8
  163. package/dist/compiler/gltf-pipeline.cjs +0 -39
  164. package/dist/compiler/gltf-pipeline.js +0 -4
  165. package/dist/compiler/godot.cjs +0 -15
  166. package/dist/compiler/godot.js +0 -9
  167. package/dist/compiler/incremental.cjs +0 -29
  168. package/dist/compiler/incremental.js +0 -4
  169. package/dist/compiler/index.cjs +0 -2578
  170. package/dist/compiler/index.js +0 -2383
  171. package/dist/compiler/ios.cjs +0 -20
  172. package/dist/compiler/ios.js +0 -10
  173. package/dist/compiler/multi-layer.cjs +0 -20
  174. package/dist/compiler/multi-layer.js +0 -11
  175. package/dist/compiler/nodetoy.cjs +0 -23
  176. package/dist/compiler/nodetoy.js +0 -4
  177. package/dist/compiler/openxr.cjs +0 -15
  178. package/dist/compiler/openxr.js +0 -9
  179. package/dist/compiler/playcanvas.cjs +0 -16
  180. package/dist/compiler/playcanvas.js +0 -10
  181. package/dist/compiler/r3f.cjs +0 -34
  182. package/dist/compiler/r3f.js +0 -12
  183. package/dist/compiler/remotion.cjs +0 -23
  184. package/dist/compiler/remotion.js +0 -4
  185. package/dist/compiler/reproducibility.cjs +0 -39
  186. package/dist/compiler/reproducibility.js +0 -4
  187. package/dist/compiler/sdf.cjs +0 -21
  188. package/dist/compiler/sdf.js +0 -9
  189. package/dist/compiler/semantic-scene.cjs +0 -31
  190. package/dist/compiler/semantic-scene.js +0 -4
  191. package/dist/compiler/state.cjs +0 -17
  192. package/dist/compiler/state.js +0 -7
  193. package/dist/compiler/trait-composition.cjs +0 -26
  194. package/dist/compiler/trait-composition.js +0 -5
  195. package/dist/compiler/unity.cjs +0 -15
  196. package/dist/compiler/unity.js +0 -9
  197. package/dist/compiler/unreal.cjs +0 -19
  198. package/dist/compiler/unreal.js +0 -9
  199. package/dist/compiler/urdf.cjs +0 -45
  200. package/dist/compiler/urdf.js +0 -9
  201. package/dist/compiler/usd-physics.cjs +0 -23
  202. package/dist/compiler/usd-physics.js +0 -6
  203. package/dist/compiler/visionos.cjs +0 -15
  204. package/dist/compiler/visionos.js +0 -9
  205. package/dist/compiler/vrchat.cjs +0 -19
  206. package/dist/compiler/vrchat.js +0 -9
  207. package/dist/compiler/vrr.cjs +0 -21
  208. package/dist/compiler/vrr.js +0 -9
  209. package/dist/compiler/wasm.cjs +0 -33
  210. package/dist/compiler/wasm.js +0 -9
  211. package/dist/compiler/webgpu.cjs +0 -15
  212. package/dist/compiler/webgpu.js +0 -9
  213. package/dist/debugger.cjs +0 -21
  214. package/dist/debugger.js +0 -8
  215. package/dist/entries/interop.cjs +0 -62
  216. package/dist/entries/interop.js +0 -5
  217. package/dist/entries/scripting.cjs +0 -68
  218. package/dist/entries/scripting.js +0 -11
  219. package/dist/index.cjs +0 -40921
  220. package/dist/index.js +0 -37763
  221. package/dist/math/vec3.cjs +0 -57
  222. package/dist/math/vec3.js +0 -4
  223. package/dist/ml-dsa-PHCWUBPX.cjs +0 -1178
  224. package/dist/ml-dsa-WYLJHJO6.js +0 -1178
  225. package/dist/parser.cjs +0 -27
  226. package/dist/parser.js +0 -10
  227. package/dist/playwright-5OSAPTNH.js +0 -98660
  228. package/dist/playwright-RL6GY4F7.cjs +0 -98673
  229. package/dist/runtime.cjs +0 -16
  230. package/dist/runtime.js +0 -7
  231. package/dist/storage/index.cjs +0 -37
  232. package/dist/storage/index.js +0 -4
  233. package/dist/traits/index.cjs +0 -14649
  234. package/dist/traits/index.js +0 -12243
  235. package/dist/type-checker.cjs +0 -18
  236. package/dist/type-checker.js +0 -5
@@ -1,319 +0,0 @@
1
- 'use strict';
2
-
3
- var chunk3SAK5KFL_cjs = require('./chunk-3SAK5KFL.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 = chunk3SAK5KFL_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 = chunk3SAK5KFL_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 = chunk3SAK5KFL_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 = chunk3SAK5KFL_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 = chunk3SAK5KFL_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 = chunk3SAK5KFL_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 = chunk3SAK5KFL_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 = chunk3SAK5KFL_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 = chunk3SAK5KFL_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-PMGODDJA.cjs.map
319
- //# sourceMappingURL=chunk-PMGODDJA.cjs.map