gps-plus-slam-app-framework 1.0.0 → 1.0.6

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 (131) hide show
  1. package/dist/{app-selectors-DyMzxCEC.d.ts → app-selectors-CHt7DLuq.d.ts} +9 -8
  2. package/dist/ar/depth-sampler.js +1 -1
  3. package/dist/ar/tracking-state.js +1 -1
  4. package/dist/ar/webxr-session.js +1 -1
  5. package/dist/combined-root-state-B3SvPNjU.d.ts +6 -0
  6. package/dist/core/index.d.ts +2 -0
  7. package/dist/core/index.js +2 -0
  8. package/dist/create-slam-app-store-DBm7g2Zd.d.ts +85 -0
  9. package/dist/file-system-DD5TczSO.d.ts +84 -0
  10. package/dist/geo/h3-proximity.d.ts +2 -0
  11. package/dist/{ref-points/h3-ref-point.js → geo/h3-proximity.js} +16 -12
  12. package/dist/geo/index.d.ts +2 -0
  13. package/dist/geo/index.js +2 -0
  14. package/dist/gps-anchored-mesh-manager-CovAFK4g.d.ts +56 -0
  15. package/dist/gps-ar-pose-sampler-D_Zso40V.d.ts +43 -0
  16. package/dist/{recording-coordinator-DzflP07_.d.ts → gps-event-coordinator-fwvmVfku.d.ts} +6 -5
  17. package/dist/{h3-ref-point-CFhayNSZ.d.ts → h3-proximity-GwesPTFT.d.ts} +16 -12
  18. package/dist/index.d.ts +31 -34
  19. package/dist/index.js +14 -19
  20. package/dist/{leaflet-map-overlay-CvfQXTye.d.ts → leaflet-map-overlay-CQZcnxbc.d.ts} +10 -6
  21. package/dist/licensing/index.d.ts +1 -1
  22. package/dist/licensing/index.js +1 -1
  23. package/dist/{null-storage-backend-CsWvQwN8.d.ts → null-storage-backend-C0TiwwzQ.d.ts} +4 -2
  24. package/dist/{opfs-storage-ChOzF_Wp.d.ts → opfs-storage-Dlq1I_Gb.d.ts} +54 -51
  25. package/dist/opfs-storage-backend-Gt3rd76D.d.ts +13 -0
  26. package/dist/{persistence-middleware-DrptY02i.d.ts → persistence-middleware-z-75iisb.d.ts} +4 -4
  27. package/dist/{recording-replayer-oOzPITrd.d.ts → recording-replayer-BFhFs7Mc.d.ts} +2 -2
  28. package/dist/recording-slice-BiktUIWF.d.ts +28 -0
  29. package/dist/{replay-engine-DuX316ae.d.ts → replay-engine-B88Va62x.d.ts} +4 -1
  30. package/dist/sensors/gps-error-handler.d.ts +1 -1
  31. package/dist/sensors/gps.d.ts +1 -1
  32. package/dist/sensors/index.d.ts +3 -3
  33. package/dist/sensors/index.js +1 -1
  34. package/dist/sensors/permission-checker.d.ts +1 -1
  35. package/dist/state/app-selectors.d.ts +1 -1
  36. package/dist/state/create-slam-app-store.d.ts +2 -0
  37. package/dist/state/create-slam-app-store.js +61 -0
  38. package/dist/state/gps-ar-pose-sampler.d.ts +4 -0
  39. package/dist/state/gps-ar-pose-sampler.js +19 -0
  40. package/dist/state/{recording-coordinator.d.ts → gps-event-coordinator.d.ts} +1 -1
  41. package/dist/state/{recording-coordinator.js → gps-event-coordinator.js} +3 -4
  42. package/dist/state/index.d.ts +15 -16
  43. package/dist/state/index.js +7 -7
  44. package/dist/state/persistence-middleware.d.ts +1 -1
  45. package/dist/state/persistence-middleware.js +8 -8
  46. package/dist/state/recording-replayer.d.ts +3 -2
  47. package/dist/state/recording-replayer.js +2 -2
  48. package/dist/state/recording-slice.d.ts +2 -0
  49. package/dist/state/{recorder-slice.js → recording-slice.js} +7 -15
  50. package/dist/state/replay-engine.d.ts +1 -1
  51. package/dist/state/replay-engine.js +3 -3
  52. package/dist/state/store-subscribers.d.ts +2 -2
  53. package/dist/state/store-subscribers.js +1 -9
  54. package/dist/state/subscribe-to-selector.d.ts +1 -1
  55. package/dist/storage/file-system-utils.d.ts +1 -1
  56. package/dist/storage/file-system.d.ts +2 -2
  57. package/dist/storage/file-system.js +103 -94
  58. package/dist/storage/index.d.ts +9 -11
  59. package/dist/storage/index.js +5 -7
  60. package/dist/storage/null-storage-backend.d.ts +1 -1
  61. package/dist/storage/null-storage-backend.js +7 -0
  62. package/dist/storage/opfs-storage-backend.d.ts +1 -1
  63. package/dist/storage/opfs-storage-backend.js +7 -1
  64. package/dist/storage/opfs-storage.d.ts +2 -2
  65. package/dist/storage/opfs-storage.js +69 -85
  66. package/dist/storage/storage-backend.d.ts +2 -2
  67. package/dist/storage/zip-export.d.ts +2 -2
  68. package/dist/storage/zip-export.js +55 -62
  69. package/dist/storage/zip-reader.d.ts +2 -2
  70. package/dist/storage/zip-reader.js +24 -1
  71. package/dist/storage-backend-yVnuWGTr.d.ts +28 -0
  72. package/dist/{store-subscribers-CuoIzB5T.d.ts → store-subscribers-DKKHld49.d.ts} +1 -2
  73. package/dist/{subscribe-to-selector-UTZ0KkAc.d.ts → subscribe-to-selector-ghDKYtap.d.ts} +1 -1
  74. package/dist/test-utils/zip-round-trip-helpers.d.ts +1 -1
  75. package/dist/test-utils/zip-round-trip-helpers.js +4 -4
  76. package/dist/visualization/gps-anchored-mesh-manager.d.ts +2 -0
  77. package/dist/visualization/gps-anchored-mesh-manager.js +128 -0
  78. package/dist/visualization/gps-compass-cubes.d.ts +1 -1
  79. package/dist/visualization/gps-event-markers.d.ts +1 -1
  80. package/dist/visualization/index.d.ts +9 -9
  81. package/dist/visualization/index.js +2 -2
  82. package/dist/visualization/leaflet-map-overlay.d.ts +1 -1
  83. package/dist/visualization/leaflet-map-overlay.js +23 -19
  84. package/dist/visualization/lerp-utils.d.ts +1 -1
  85. package/dist/visualization/map-overlay.d.ts +1 -1
  86. package/dist/visualization/three-dispose.d.ts +1 -1
  87. package/dist/visualization/vis-colors.d.ts +1 -1
  88. package/dist/{zip-export-Rtpi75JJ.d.ts → zip-export-BjrQPv0X.d.ts} +58 -7
  89. package/dist/{zip-reader-D7pkpX8K.d.ts → zip-reader-KgJEXbca.d.ts} +33 -1
  90. package/package.json +15 -4
  91. package/dist/community-license-key-ChZLCJyO.d.ts +0 -21
  92. package/dist/file-system-BsQgYCU3.d.ts +0 -128
  93. package/dist/licensing/community-license-key.d.ts +0 -2
  94. package/dist/licensing/community-license-key.js +0 -21
  95. package/dist/opfs-storage-backend-CVcmfJHN.d.ts +0 -11
  96. package/dist/recorder-slice-fcwAXrsh.d.ts +0 -35
  97. package/dist/ref-point-importer-B_wn5ABk.d.ts +0 -62
  98. package/dist/ref-point-loader-Pt1smgHS.d.ts +0 -117
  99. package/dist/ref-points/h3-ref-point.d.ts +0 -2
  100. package/dist/ref-points/index.d.ts +0 -2
  101. package/dist/ref-points/index.js +0 -2
  102. package/dist/ref-points-slice-tC-Wd6XJ.d.ts +0 -48
  103. package/dist/reference-points-CFWy8_wj.d.ts +0 -68
  104. package/dist/routing-slice-BlHTM8eh.d.ts +0 -23
  105. package/dist/state/recorder-slice.d.ts +0 -2
  106. package/dist/state/ref-points-slice.d.ts +0 -2
  107. package/dist/state/ref-points-slice.js +0 -44
  108. package/dist/state/routing-slice.d.ts +0 -2
  109. package/dist/state/routing-slice.js +0 -13
  110. package/dist/state/store.d.ts +0 -9
  111. package/dist/state/store.js +0 -71
  112. package/dist/storage/ref-point-importer.d.ts +0 -2
  113. package/dist/storage/ref-point-importer.js +0 -163
  114. package/dist/storage/ref-point-loader.d.ts +0 -2
  115. package/dist/storage/ref-point-loader.js +0 -248
  116. package/dist/storage/ref-point-recovery.d.ts +0 -28
  117. package/dist/storage/ref-point-recovery.js +0 -159
  118. package/dist/storage-backend-BcEItnFr.d.ts +0 -20
  119. package/dist/store-C7PKOj8S.d.ts +0 -96
  120. package/dist/visualization/reference-points.d.ts +0 -2
  121. package/dist/visualization/reference-points.js +0 -160
  122. /package/dist/{file-system-utils-5cWO8Xyv.d.ts → file-system-utils-BH8FdyIu.d.ts} +0 -0
  123. /package/dist/{gps-Ddzr2KlX.d.ts → gps-GKc6_Cly.d.ts} +0 -0
  124. /package/dist/{gps-compass-cubes-C-6JEnpR.d.ts → gps-compass-cubes-jRIJMOuh.d.ts} +0 -0
  125. /package/dist/{gps-error-handler-VPuNOuf8.d.ts → gps-error-handler-CH1S528z.d.ts} +0 -0
  126. /package/dist/{gps-event-markers-DpEy2qRd.d.ts → gps-event-markers-sVyO9utS.d.ts} +0 -0
  127. /package/dist/{lerp-utils-87NWjUOD.d.ts → lerp-utils-CZgQlrmu.d.ts} +0 -0
  128. /package/dist/{map-overlay-DuiZuCTx.d.ts → map-overlay-C9ifl_4-.d.ts} +0 -0
  129. /package/dist/{permission-checker-jO2ziCWC.d.ts → permission-checker-Cu3nbH1S.d.ts} +0 -0
  130. /package/dist/{three-dispose-CCBHjE_a.d.ts → three-dispose-qt_r5wR1.d.ts} +0 -0
  131. /package/dist/{vis-colors-Qi2vlRGt.d.ts → vis-colors-BKkdTIKb.d.ts} +0 -0
package/dist/index.d.ts CHANGED
@@ -10,14 +10,14 @@ import { n as createCss3dRendererManager, t as Css3dRendererManager } from "./cs
10
10
  import { a as getCameraFollower, c as getReplayState, d as updateOrbitTarget, i as getAlignmentLerper, l as initReplayScene, n as ReplaySceneState, o as getCameraMode, r as disposeReplayScene, t as CameraMode, u as toggleCameraMode } from "./replay-scene-DtUm6bsr.js";
11
11
  import { t as SCENE_NODE } from "./scene-node-names-DPsaE2z3.js";
12
12
  import { a as TrackingStateManager, i as TrackingStateCallbacks, r as TrackingState, t as DeviceOrientation } from "./tracking-state-B9QfuZCg.js";
13
- import { _ as validateRecordingOptions, a as IMAGE_CONSTRAINTS, c as RecordingOptionsInput, d as loadRecordingOptions, f as resetRecordingOptions, g as validateImageOptions, h as validateDepthOptions, i as DepthCaptureOptions, l as STORAGE_KEY, n as DEFAULT_RECORDING_OPTIONS, o as ImageCaptureOptions, p as saveRecordingOptions, r as DEPTH_CONSTRAINTS, s as RecordingOptions, u as cloneRecordingOptions } from "./recording-options-BYUFX8iU.js";
13
+ import { _ as validateRecordingOptions, a as IMAGE_CONSTRAINTS, c as RecordingOptionsInput, d as loadRecordingOptions, f as resetRecordingOptions, g as validateImageOptions, h as validateDepthOptions, i as DepthCaptureOptions, l as STORAGE_KEY, n as DEFAULT_RECORDING_OPTIONS, o as ImageCaptureOptions, p as saveRecordingOptions, r as DEPTH_CONSTRAINTS, u as cloneRecordingOptions } from "./recording-options-BYUFX8iU.js";
14
14
  import { i as acquireCameraTexture, n as RendererLike, r as XRCameraLike, t as CameraTextureResult } from "./xr-camera-texture-BbukNE79.js";
15
15
  import { A as setTrackingLostCallback, D as setImageCaptureCallback, E as setFrameCallback, F as stopDepthCapture, I as stopImageCapture, N as startDepthCapture, P as startImageCapture, T as setDepthCaptureCallback, d as getDepthSampleCount, f as getImageCaptureFrameCount, g as initAR, i as endARSession, k as setTrackingCallbacks, p as getLiveCss3dManager } from "./webxr-session-COlSrXdL.js";
16
16
  import { n as XR_ERROR_MESSAGE_UNKNOWN, r as getXrErrorMessage, t as XR_ERROR_MESSAGES } from "./xr-error-handler-DTHfmvrl.js";
17
- import { a as startOrientationWatch, i as startGpsWatch, n as RawDeviceOrientation, o as stopGpsWatch, r as requestOrientationPermission, s as stopOrientationWatch, t as GpsPosition } from "./gps-Ddzr2KlX.js";
18
- import { a as getGpsErrorMessage, i as createGpsErrorHandler, n as GPS_ERROR_MESSAGES, r as GPS_ERROR_MESSAGE_UNKNOWN, t as GPS_ERROR_CODES } from "./gps-error-handler-VPuNOuf8.js";
19
- import { a as checkFileSystemPermission, c as checkWebXRSupport, d as requestGeolocationPermission, f as requestOrientationPermission$1, h as setFileSystemState, i as checkCameraPermission, l as requestAllPermissions, m as resetFileSystemState, n as PermissionStatus, o as checkGeolocationPermission, p as requestWebXRWithDepthPermission, r as checkAllPermissions, s as checkOrientationPermission, t as PermissionCheckResult, u as requestCameraPermission } from "./permission-checker-jO2ziCWC.js";
20
- import { a as gpsToH3, i as findNearbyRefPoint, n as KnownRefPoint, o as h3RefsMatch, r as approxDistanceMetres, s as isH3Index, t as H3_RESOLUTION } from "./h3-ref-point-CFhayNSZ.js";
17
+ import { a as gpsToH3, i as findNearbyGeoAnchor, n as KnownGeoAnchor, o as h3CellsMatch, r as approxDistanceMetres, s as isH3Index, t as H3_RESOLUTION } from "./h3-proximity-GwesPTFT.js";
18
+ import { a as startOrientationWatch, i as startGpsWatch, n as RawDeviceOrientation, o as stopGpsWatch, r as requestOrientationPermission, s as stopOrientationWatch, t as GpsPosition } from "./gps-GKc6_Cly.js";
19
+ import { a as getGpsErrorMessage, i as createGpsErrorHandler, n as GPS_ERROR_MESSAGES, r as GPS_ERROR_MESSAGE_UNKNOWN, t as GPS_ERROR_CODES } from "./gps-error-handler-CH1S528z.js";
20
+ import { a as checkFileSystemPermission, c as checkWebXRSupport, d as requestGeolocationPermission, f as requestOrientationPermission$1, h as setFileSystemState, i as checkCameraPermission, l as requestAllPermissions, m as resetFileSystemState, n as PermissionStatus, o as checkGeolocationPermission, p as requestWebXRWithDepthPermission, r as checkAllPermissions, s as checkOrientationPermission, t as PermissionCheckResult, u as requestCameraPermission } from "./permission-checker-Cu3nbH1S.js";
21
21
  import { a as createLogger, c as setGlobalLogLevel, i as clearLogBuffer, l as subscribeToLogs, n as LogLevel, o as getGlobalLogLevel, r as Logger, s as getLogBuffer, t as LogEntry } from "./logger-B81iwxx0.js";
22
22
  import { n as RefPointMarker, t as GpsCoord } from "./geo-types-Xx-LVcnw.js";
23
23
  import { n as computeFusedPath, r as fusedGpsFromOdom, t as FusedPathInput } from "./fused-path-DtqCSqJh.js";
@@ -25,32 +25,29 @@ import { n as FailureTrackerConfig, r as createFailureTracker, t as FailureTrack
25
25
  import { t as mapWithConcurrencyLimit } from "./concurrency-p6gB30fT.js";
26
26
  import { t as formatFileSize } from "./format-file-size-onGq0k1Q.js";
27
27
  import { t as listFormatter } from "./list-formatter-DKQQVLcl.js";
28
- import { a as getScenarioHandle, c as initOpfsStorage, d as resetOpfsStorage, f as resetSessionHandles, i as createSession, o as getScenariosRootHandle, r as checkStorageQuota, s as getSessionHandle, t as CreateSessionResult, u as listSessions } from "./opfs-storage-ChOzF_Wp.js";
29
- import { t as StorageBackend } from "./storage-backend-BcEItnFr.js";
30
- import { a as recordWriteFailure, c as startSession, i as recordDepthSample, r as endSession, s as setCurrentScenarioName, t as RecorderState } from "./recorder-slice-fcwAXrsh.js";
31
- import { n as RefPointImportResult, r as importRefPointsFromFolder, t as ImportedRefPoint } from "./ref-point-importer-B_wn5ABk.js";
32
- import { a as resetRefPointsState, i as refPointsReducer, n as clearSessionRefPointUsage, o as selectCachedKnownRefPoints, r as incrementRefPointUsage, s as setImportedRefPoints } from "./ref-points-slice-tC-Wd6XJ.js";
33
- import { n as RoutingState, r as navigateTo, t as AppScreen } from "./routing-slice-BlHTM8eh.js";
34
- import { a as flattenRefPointsToMarks, c as loadRefPoint, i as averageGpsPerRefPoint, l as saveRefPointObservation, n as RefPointMark, o as listRefPointIds, r as RefPointObservation, s as loadAllRefPoints, t as RefPointDefinition } from "./ref-point-loader-Pt1smgHS.js";
35
- import { _ as setZeroPos, d as RootState, f as add2dImage, g as recordGpsEvent, h as markReferencePoint, l as RecorderStore, m as createRecorderStore, n as CombinedRootState, p as calcRelativeCoordsInMeters, t as AppDispatch, u as RecorderStoreOptions } from "./store-C7PKOj8S.js";
36
- import { a as eulerToQuaternion, c as getLastDeviceOrientation, i as createGpsPositionHandler, l as resetCoordinatorState, n as buildRawGpsPoint, o as extractOdomPosition, r as buildRecordGpsEventPayload, s as extractOdomRotation, t as RecordingCoordinatorConfig, u as updateDeviceOrientation } from "./recording-coordinator-DzflP07_.js";
37
- import { a as ZipActionEntry, i as RecordedAction, l as loadSessionMetadataFromBlob, n as GpsPathCoord, o as loadActionsFromZip, r as MAX_ACTION_FILE_SIZE, s as loadGpsPathFromBlob, u as readZipEntries } from "./zip-reader-D7pkpX8K.js";
38
- import { n as replayRecording } from "./recording-replayer-oOzPITrd.js";
39
- import { a as ReplayAction, c as computeInterActionDelay, i as ProgressCallback, l as extractActionTimestamp, n as DEFAULT_MAX_DELAY_MS, o as ReplayEngine, r as ErrorCallback, s as ReplayState, t as CompleteCallback } from "./replay-engine-DuX316ae.js";
40
- import { t as SubscribableStore } from "./subscribe-to-selector-UTZ0KkAc.js";
41
- import { n as wireStoreSubscribers, t as StoreSubscriberDeps } from "./store-subscribers-CuoIzB5T.js";
42
- import { t as NullStorageBackend } from "./null-storage-backend-CsWvQwN8.js";
43
- import { t as OpfsStorageBackend } from "./opfs-storage-backend-CVcmfJHN.js";
44
- import { a as initStorage, c as resetForNewSession, d as startSession$1, f as verifyWriteAccess, l as resetStorageState, m as writeFrame, n as WriteAccessResult, p as writeAction } from "./file-system-BsQgYCU3.js";
45
- import { n as formatFrameFilename, r as formatTimestamp, t as formatActionFilename } from "./file-system-utils-5cWO8Xyv.js";
46
- import { a as syncToExternalZip, i as exportSessionAsZip, n as downloadZip, r as exportAndDownloadSession, t as ZipExportResult } from "./zip-export-Rtpi75JJ.js";
47
- import { i as createGpsCompassCubes, n as COMPASS_CUBE_SIZE, r as GpsCompassCubes, t as COMPASS_CUBE_DISTANCE } from "./gps-compass-cubes-C-6JEnpR.js";
48
- import { n as gpsEventVisualizer, t as GpsEventVisualizer } from "./gps-event-markers-DpEy2qRd.js";
49
- import { a as DEFAULT_Z_OFFSET, n as DEFAULT_LEAFLET_MAP_SIZE_PX, o as LeafletMapOverlay, r as DEFAULT_WORLD_SIZE, s as LeafletMapOverlayOptions } from "./leaflet-map-overlay-CvfQXTye.js";
50
- import { n as clampedAlpha, t as DEFAULT_LERP_RATE } from "./lerp-utils-87NWjUOD.js";
51
- import { a as MapOverlayOptions, c as tileXYToLatLon, i as MapOverlay, n as DEFAULT_MAP_SIZE, o as TextureLoaderInterface, r as DEFAULT_ZOOM, s as latLonToTileXY, t as DEFAULT_HEIGHT_OFFSET } from "./map-overlay-DuiZuCTx.js";
52
- import { n as refPointVisualizer, t as RefPointVisualizer } from "./reference-points-CFWy8_wj.js";
53
- import { n as disposeMeshArray, r as disposeObject3D, t as DisposeOptions } from "./three-dispose-CCBHjE_a.js";
54
- import { t as VIS_COLORS } from "./vis-colors-Qi2vlRGt.js";
55
- import { t as COMMUNITY_LICENSE_KEY } from "./community-license-key-ChZLCJyO.js";
56
- export { ARPose, AlignmentLerper, type AppDispatch, type AppScreen, ArPoseTuples, CAPTURE_FAILURE_WARNING, COMMUNITY_LICENSE_KEY, COMPASS_CUBE_DISTANCE, COMPASS_CUBE_SIZE, CameraBlitCapture, CameraBlitCaptureConfig, CameraFollower, CameraMode, CameraTextureResult, CaptureFailureTracker, CaptureFailureTrackerConfig, CapturedImage, ChromiumProjectionLayerWorkaroundResult, type CombinedRootState, type CompleteCallback, type CreateSessionResult, Css3dRendererManager, DEFAULT_BLIT_CONFIG, DEFAULT_CAPTURE_CONFIG, DEFAULT_CAPTURE_TRACKER_CONFIG, DEFAULT_HEIGHT_OFFSET, DEFAULT_LEAFLET_MAP_SIZE_PX, DEFAULT_LERP_RATE, DEFAULT_MAP_SIZE, DEFAULT_MAX_DELAY_MS, DEFAULT_RECORDING_OPTIONS, DEFAULT_WORLD_SIZE, DEFAULT_ZOOM, DEFAULT_Z_OFFSET, DEPTH_CONSTRAINTS, type DepthCaptureOptions, DepthInfo, DepthPoint, DepthSample, DepthSampler, DepthSamplerCallbacks, DepthSamplerConfig, DeviceOrientation, DisposeOptions, type ErrorCallback, FailureTracker, FailureTrackerConfig, FusedPathInput, GPS_ERROR_CODES, GPS_ERROR_MESSAGES, GPS_ERROR_MESSAGE_UNKNOWN, GpsCompassCubes, GpsCoord, GpsEventVisualizer, type GpsPathCoord, GpsPosition, H3_RESOLUTION, IMAGE_CONSTRAINTS, ImageCaptureCallbacks, ImageCaptureConfig, ImageCaptureManager, type ImageCaptureOptions, type ImportedRefPoint, KnownRefPoint, LeafletMapOverlay, LeafletMapOverlayOptions, LogEntry, LogLevel, Logger, MAX_ACTION_FILE_SIZE, MIN_VALID_IMAGE_BYTES, MapOverlay, MapOverlayOptions, NullStorageBackend, OpfsStorageBackend, PermissionCheckResult, PermissionStatus, type ProgressCallback, RawDeviceOrientation, type RecordedAction, type RecorderState, type RecorderStore, type RecorderStoreOptions, type RecordingCoordinatorConfig, type RecordingOptions, type RecordingOptionsInput, type RefPointDefinition, type RefPointImportResult, type RefPointMark, RefPointMarker, type RefPointObservation, RefPointVisualizer, RendererLike, type ReplayAction, ReplayEngine, ReplaySceneState, type ReplayState, type RootState, type RoutingState, SCENE_NODE, STORAGE_KEY, type StorageBackend, type StoreSubscriberDeps, type SubscribableStore, TextureLoaderInterface, TrackingState, TrackingStateCallbacks, TrackingStateManager, VIS_COLORS, WebXRQuaternion, WebXRVec3, type WriteAccessResult, XRCameraLike, XR_ERROR_MESSAGES, XR_ERROR_MESSAGE_UNKNOWN, type ZipActionEntry, type ZipExportResult, acquireCameraTexture, add2dImage, applyChromiumProjectionLayerWorkaround, approxDistanceMetres, averageGpsPerRefPoint, buildRawGpsPoint, buildRecordGpsEventPayload, calcRelativeCoordsInMeters, checkAllPermissions, checkCameraPermission, checkFileSystemPermission, checkGeolocationPermission, checkOrientationPermission, checkStorageQuota, checkWebXRSupport, clampedAlpha, clearLogBuffer, clearSessionRefPointUsage, cloneRecordingOptions, computeCaptureSize, computeFusedPath, computeInterActionDelay, createAlignmentLerper, createCameraFollower, createCaptureFailureTracker, createCss3dRendererManager, createFailureTracker, createGpsCompassCubes, createGpsErrorHandler, createGpsPositionHandler, createLogger, createRecorderStore, createSession, disposeMeshArray, disposeObject3D, disposeReplayScene, downloadZip, endARSession, endSession, eulerToQuaternion, exportAndDownloadSession, exportSessionAsZip, extractActionTimestamp, extractOdomPosition, extractOdomRotation, findNearbyRefPoint, flattenRefPointsToMarks, formatActionFilename, formatFileSize, formatFrameFilename, formatTimestamp, fusedGpsFromOdom, getAlignmentLerper, getCameraFollower, getCameraMode, getDepthSampleCount, getGlobalLogLevel, getGpsErrorMessage, getImageCaptureFrameCount, getLastDeviceOrientation, getLiveCss3dManager, getLogBuffer, getReplayState, getScenarioHandle, getScenariosRootHandle, getSessionHandle, getXrErrorMessage, gpsEventVisualizer, gpsToH3, h3RefsMatch, importRefPointsFromFolder, incrementRefPointUsage, initAR, initOpfsStorage, initReplayScene, initStorage, isH3Index, latLonToTileXY, listFormatter, listRefPointIds, listSessions, loadActionsFromZip, loadAllRefPoints, loadGpsPathFromBlob, loadRecordingOptions, loadRefPoint, loadSessionMetadataFromBlob, mapWithConcurrencyLimit, markReferencePoint, navigateTo, readZipEntries, recordDepthSample, recordGpsEvent, recordWriteFailure, refPointVisualizer, refPointsReducer, replayRecording, requestAllPermissions, requestCameraPermission, requestOrientationPermission as requestDeviceOrientationPermission, requestGeolocationPermission, requestOrientationPermission$1 as requestOrientationPermission, requestWebXRWithDepthPermission, resetCoordinatorState, resetFileSystemState, resetForNewSession, resetOpfsStorage, resetRecordingOptions, resetRefPointsState, resetSessionHandles, resetStorageState, saveRecordingOptions, saveRefPointObservation, selectCachedKnownRefPoints, setCurrentScenarioName, setDepthCaptureCallback, setFileSystemState, setFrameCallback, setGlobalLogLevel, setImageCaptureCallback, setImportedRefPoints, setTrackingCallbacks, setTrackingLostCallback, setZeroPos, startDepthCapture, startGpsWatch, startImageCapture, startOrientationWatch, startSession, startSession$1 as startStorageSession, stopDepthCapture, stopGpsWatch, stopImageCapture, stopOrientationWatch, subscribeToLogs, syncToExternalZip, tileXYToLatLon, toggleCameraMode, updateDeviceOrientation, updateOrbitTarget, validateDepthOptions, validateImageOptions, validateRecordingOptions, verifyWriteAccess, wireStoreSubscribers, writeAction, writeFrame };
28
+ import { a as recordWriteFailure, i as recordDepthSample, o as recordingReducer, r as endSession, s as startSession, t as RecordingState } from "./recording-slice-BiktUIWF.js";
29
+ import { a as getAppRootHandle, c as initOpfsStorage, d as resetSessionHandles, i as createSession, l as listSessions, o as getSessionHandle, r as checkStorageQuota, s as getSessionsRootHandle, u as resetOpfsStorage } from "./opfs-storage-Dlq1I_Gb.js";
30
+ import { n as StorageBackend, t as CreateSessionResult } from "./storage-backend-yVnuWGTr.js";
31
+ import { a as SlamAppStoreOptions, i as SlamAppStore, n as SlamAppMiddleware, o as createSlamAppStore, r as SlamAppRootState, t as SlamAppCombinedState } from "./create-slam-app-store-DBm7g2Zd.js";
32
+ import { a as eulerToQuaternion, c as getLastDeviceOrientation, i as createGpsPositionHandler, l as resetCoordinatorState, n as buildRawGpsPoint, o as extractOdomPosition, r as buildRecordGpsEventPayload, s as extractOdomRotation, t as RecordingCoordinatorConfig, u as updateDeviceOrientation } from "./gps-event-coordinator-fwvmVfku.js";
33
+ import { a as ZipActionEntry, d as loadSessionMetadataFromBlob, f as readZipEntries, i as RecordedAction, l as loadGpsPathFromBlob, n as GpsPathCoord, r as MAX_ACTION_FILE_SIZE, s as loadActionsFromZip } from "./zip-reader-KgJEXbca.js";
34
+ import { n as replayRecording } from "./recording-replayer-BFhFs7Mc.js";
35
+ import { a as ReplayAction, c as computeInterActionDelay, i as ProgressCallback, l as extractActionTimestamp, n as DEFAULT_MAX_DELAY_MS, o as ReplayEngine, r as ErrorCallback, s as ReplayState, t as CompleteCallback } from "./replay-engine-B88Va62x.js";
36
+ import { t as SubscribableStore } from "./subscribe-to-selector-ghDKYtap.js";
37
+ import { n as wireStoreSubscribers, t as StoreSubscriberDeps } from "./store-subscribers-DKKHld49.js";
38
+ import { add2dImage, calcRelativeCoordsInMeters, markReferencePoint, recordGpsEvent, setZeroPos } from "./state/index.js";
39
+ import { t as NullStorageBackend } from "./null-storage-backend-C0TiwwzQ.js";
40
+ import { t as OpfsStorageBackend } from "./opfs-storage-backend-Gt3rd76D.js";
41
+ import { d as writeAction, f as writeFrame, i as initStorage, l as startSession$1, o as resetForNewSession, s as resetStorageState, t as WriteAccessResult, u as verifyWriteAccess } from "./file-system-DD5TczSO.js";
42
+ import { n as formatFrameFilename, r as formatTimestamp, t as formatActionFilename } from "./file-system-utils-BH8FdyIu.js";
43
+ import { a as downloadZip, c as syncToExternalZip, i as ZipExportResult, n as ZipContributorAddFile, o as exportAndDownloadSession, r as ZipExportContributor, s as exportSessionAsZip, t as ExportSessionAsZipOptions } from "./zip-export-BjrQPv0X.js";
44
+ import { i as createGpsCompassCubes, n as COMPASS_CUBE_SIZE, r as GpsCompassCubes, t as COMPASS_CUBE_DISTANCE } from "./gps-compass-cubes-jRIJMOuh.js";
45
+ import { n as gpsEventVisualizer, t as GpsEventVisualizer } from "./gps-event-markers-sVyO9utS.js";
46
+ import { a as DEFAULT_Z_OFFSET, n as DEFAULT_LEAFLET_MAP_SIZE_PX, o as LeafletMapOverlay, r as DEFAULT_WORLD_SIZE, s as LeafletMapOverlayOptions } from "./leaflet-map-overlay-CQZcnxbc.js";
47
+ import { n as clampedAlpha, t as DEFAULT_LERP_RATE } from "./lerp-utils-CZgQlrmu.js";
48
+ import { a as MapOverlayOptions, c as tileXYToLatLon, i as MapOverlay, n as DEFAULT_MAP_SIZE, o as TextureLoaderInterface, r as DEFAULT_ZOOM, s as latLonToTileXY, t as DEFAULT_HEIGHT_OFFSET } from "./map-overlay-C9ifl_4-.js";
49
+ import { n as GpsAnchoredMeshManager, r as GpsAnchoredMeshManagerOptions, t as GpsAnchoredItem } from "./gps-anchored-mesh-manager-CovAFK4g.js";
50
+ import { n as disposeMeshArray, r as disposeObject3D, t as DisposeOptions } from "./three-dispose-qt_r5wR1.js";
51
+ import { t as VIS_COLORS } from "./vis-colors-BKkdTIKb.js";
52
+ import { COMMUNITY_LICENSE_KEY } from "./licensing/index.js";
53
+ export { ARPose, AlignmentLerper, ArPoseTuples, CAPTURE_FAILURE_WARNING, COMMUNITY_LICENSE_KEY, COMPASS_CUBE_DISTANCE, COMPASS_CUBE_SIZE, CameraBlitCapture, CameraBlitCaptureConfig, CameraFollower, CameraMode, CameraTextureResult, CaptureFailureTracker, CaptureFailureTrackerConfig, CapturedImage, ChromiumProjectionLayerWorkaroundResult, type CompleteCallback, type CreateSessionResult, Css3dRendererManager, DEFAULT_BLIT_CONFIG, DEFAULT_CAPTURE_CONFIG, DEFAULT_CAPTURE_TRACKER_CONFIG, DEFAULT_HEIGHT_OFFSET, DEFAULT_LEAFLET_MAP_SIZE_PX, DEFAULT_LERP_RATE, DEFAULT_MAP_SIZE, DEFAULT_MAX_DELAY_MS, DEFAULT_RECORDING_OPTIONS, DEFAULT_WORLD_SIZE, DEFAULT_ZOOM, DEFAULT_Z_OFFSET, DEPTH_CONSTRAINTS, type DepthCaptureOptions, DepthInfo, DepthPoint, DepthSample, DepthSampler, DepthSamplerCallbacks, DepthSamplerConfig, DeviceOrientation, DisposeOptions, type ErrorCallback, type ExportSessionAsZipOptions, FailureTracker, FailureTrackerConfig, FusedPathInput, GPS_ERROR_CODES, GPS_ERROR_MESSAGES, GPS_ERROR_MESSAGE_UNKNOWN, GpsAnchoredItem, GpsAnchoredMeshManager, GpsAnchoredMeshManagerOptions, GpsCompassCubes, GpsCoord, GpsEventVisualizer, type GpsPathCoord, GpsPosition, H3_RESOLUTION, IMAGE_CONSTRAINTS, ImageCaptureCallbacks, ImageCaptureConfig, ImageCaptureManager, type ImageCaptureOptions, KnownGeoAnchor, LeafletMapOverlay, LeafletMapOverlayOptions, LogEntry, LogLevel, Logger, MAX_ACTION_FILE_SIZE, MIN_VALID_IMAGE_BYTES, MapOverlay, MapOverlayOptions, NullStorageBackend, OpfsStorageBackend, PermissionCheckResult, PermissionStatus, type ProgressCallback, RawDeviceOrientation, type RecordedAction, type RecordingCoordinatorConfig, type RecordingOptionsInput, type RecordingState, RefPointMarker, RendererLike, type ReplayAction, ReplayEngine, ReplaySceneState, type ReplayState, SCENE_NODE, STORAGE_KEY, type SlamAppCombinedState, type SlamAppMiddleware, type SlamAppRootState, type SlamAppStore, type SlamAppStoreOptions, type StorageBackend, type StoreSubscriberDeps, type SubscribableStore, TextureLoaderInterface, TrackingState, TrackingStateCallbacks, TrackingStateManager, VIS_COLORS, WebXRQuaternion, WebXRVec3, type WriteAccessResult, XRCameraLike, XR_ERROR_MESSAGES, XR_ERROR_MESSAGE_UNKNOWN, type ZipActionEntry, type ZipContributorAddFile, type ZipExportContributor, type ZipExportResult, acquireCameraTexture, add2dImage, applyChromiumProjectionLayerWorkaround, approxDistanceMetres, buildRawGpsPoint, buildRecordGpsEventPayload, calcRelativeCoordsInMeters, checkAllPermissions, checkCameraPermission, checkFileSystemPermission, checkGeolocationPermission, checkOrientationPermission, checkStorageQuota, checkWebXRSupport, clampedAlpha, clearLogBuffer, cloneRecordingOptions, computeCaptureSize, computeFusedPath, computeInterActionDelay, createAlignmentLerper, createCameraFollower, createCaptureFailureTracker, createCss3dRendererManager, createFailureTracker, createGpsCompassCubes, createGpsErrorHandler, createGpsPositionHandler, createLogger, createSession, createSlamAppStore, disposeMeshArray, disposeObject3D, disposeReplayScene, downloadZip, endARSession, endSession, eulerToQuaternion, exportAndDownloadSession, exportSessionAsZip, extractActionTimestamp, extractOdomPosition, extractOdomRotation, findNearbyGeoAnchor, formatActionFilename, formatFileSize, formatFrameFilename, formatTimestamp, fusedGpsFromOdom, getAlignmentLerper, getAppRootHandle, getCameraFollower, getCameraMode, getDepthSampleCount, getGlobalLogLevel, getGpsErrorMessage, getImageCaptureFrameCount, getLastDeviceOrientation, getLiveCss3dManager, getLogBuffer, getReplayState, getSessionHandle, getSessionsRootHandle, getXrErrorMessage, gpsEventVisualizer, gpsToH3, h3CellsMatch, initAR, initOpfsStorage, initReplayScene, initStorage, isH3Index, latLonToTileXY, listFormatter, listSessions, loadActionsFromZip, loadGpsPathFromBlob, loadRecordingOptions, loadSessionMetadataFromBlob, mapWithConcurrencyLimit, markReferencePoint, readZipEntries, recordDepthSample, recordGpsEvent, recordWriteFailure, recordingReducer, replayRecording, requestAllPermissions, requestCameraPermission, requestOrientationPermission as requestDeviceOrientationPermission, requestGeolocationPermission, requestOrientationPermission$1 as requestOrientationPermission, requestWebXRWithDepthPermission, resetCoordinatorState, resetFileSystemState, resetForNewSession, resetOpfsStorage, resetRecordingOptions, resetSessionHandles, resetStorageState, saveRecordingOptions, setDepthCaptureCallback, setFileSystemState, setFrameCallback, setGlobalLogLevel, setImageCaptureCallback, setTrackingCallbacks, setTrackingLostCallback, setZeroPos, startDepthCapture, startGpsWatch, startImageCapture, startOrientationWatch, startSession, startSession$1 as startStorageSession, stopDepthCapture, stopGpsWatch, stopImageCapture, stopOrientationWatch, subscribeToLogs, syncToExternalZip, tileXYToLatLon, toggleCameraMode, updateDeviceOrientation, updateOrbitTarget, validateDepthOptions, validateImageOptions, validateRecordingOptions, verifyWriteAccess, wireStoreSubscribers, writeAction, writeFrame };
package/dist/index.js CHANGED
@@ -4,18 +4,7 @@ import { CameraBlitCapture, DEFAULT_BLIT_CONFIG, computeCaptureSize } from "./ar
4
4
  import { applyChromiumProjectionLayerWorkaround } from "./ar/chromium-camera-access-workaround.js";
5
5
  import { createFailureTracker } from "./utils/failure-tracker.js";
6
6
  import { CAPTURE_FAILURE_WARNING, DEFAULT_CAPTURE_TRACKER_CONFIG, createCaptureFailureTracker } from "./ar/capture-failure-tracker.js";
7
- import { endSession, recordDepthSample, recordWriteFailure, setCurrentScenarioName, startSession } from "./state/recorder-slice.js";
8
- import { H3_RESOLUTION, approxDistanceMetres, findNearbyRefPoint, gpsToH3, h3RefsMatch, isH3Index } from "./ref-points/h3-ref-point.js";
9
- import { clearSessionRefPointUsage, incrementRefPointUsage, refPointsReducer, resetRefPointsState, selectCachedKnownRefPoints, setImportedRefPoints } from "./state/ref-points-slice.js";
10
- import { navigateTo } from "./state/routing-slice.js";
11
- import { checkAllPermissions, checkCameraPermission, checkFileSystemPermission, checkGeolocationPermission, checkOrientationPermission, checkWebXRSupport, requestAllPermissions, requestCameraPermission, requestGeolocationPermission, requestOrientationPermission as requestOrientationPermission$1, requestWebXRWithDepthPermission, resetFileSystemState, setFileSystemState } from "./sensors/permission-checker.js";
12
- import { formatActionFilename, formatFrameFilename, formatTimestamp } from "./storage/file-system-utils.js";
13
- import { checkStorageQuota, createSession, getScenarioHandle, getScenariosRootHandle, getSessionHandle, initOpfsStorage, listSessions, resetOpfsStorage, resetSessionHandles } from "./storage/opfs-storage.js";
14
- import { initStorage, resetForNewSession, resetStorageState, startSession as startSession$1, verifyWriteAccess, writeAction, writeFrame } from "./storage/file-system.js";
15
- import { OpfsStorageBackend } from "./storage/opfs-storage-backend.js";
16
- import { COMMUNITY_LICENSE_KEY } from "./licensing/community-license-key.js";
17
- import { add2dImage, calcRelativeCoordsInMeters, createRecorderStore, markReferencePoint, recordGpsEvent, setZeroPos } from "./state/store.js";
18
- import { buildRawGpsPoint, buildRecordGpsEventPayload, createGpsPositionHandler, eulerToQuaternion, extractOdomPosition, extractOdomRotation, getLastDeviceOrientation, resetCoordinatorState, updateDeviceOrientation } from "./state/recording-coordinator.js";
7
+ import { buildRawGpsPoint, buildRecordGpsEventPayload, createGpsPositionHandler, eulerToQuaternion, extractOdomPosition, extractOdomRotation, getLastDeviceOrientation, resetCoordinatorState, updateDeviceOrientation } from "./state/gps-event-coordinator.js";
19
8
  import { DepthSampler } from "./ar/depth-sampler.js";
20
9
  import { DEFAULT_CAPTURE_CONFIG, ImageCaptureManager, MIN_VALID_IMAGE_BYTES } from "./ar/image-capture.js";
21
10
  import { TrackingState, TrackingStateManager } from "./ar/tracking-state.js";
@@ -34,28 +23,34 @@ import { XR_ERROR_MESSAGES, XR_ERROR_MESSAGE_UNKNOWN, getXrErrorMessage } from "
34
23
  import "./ar/index.js";
35
24
  import { requestOrientationPermission, startGpsWatch, startOrientationWatch, stopGpsWatch, stopOrientationWatch } from "./sensors/gps.js";
36
25
  import { GPS_ERROR_CODES, GPS_ERROR_MESSAGES, GPS_ERROR_MESSAGE_UNKNOWN, createGpsErrorHandler, getGpsErrorMessage } from "./sensors/gps-error-handler.js";
26
+ import { checkAllPermissions, checkCameraPermission, checkFileSystemPermission, checkGeolocationPermission, checkOrientationPermission, checkWebXRSupport, requestAllPermissions, requestCameraPermission, requestGeolocationPermission, requestOrientationPermission as requestOrientationPermission$1, requestWebXRWithDepthPermission, resetFileSystemState, setFileSystemState } from "./sensors/permission-checker.js";
37
27
  import "./sensors/index.js";
38
- import "./ref-points/index.js";
28
+ import { H3_RESOLUTION, approxDistanceMetres, findNearbyGeoAnchor, gpsToH3, h3CellsMatch, isH3Index } from "./geo/h3-proximity.js";
29
+ import "./geo/index.js";
39
30
  import { computeFusedPath, fusedGpsFromOdom } from "./utils/fused-path.js";
40
31
  import { mapWithConcurrencyLimit } from "./utils/concurrency.js";
41
32
  import { formatFileSize } from "./utils/format-file-size.js";
42
33
  import { listFormatter } from "./utils/list-formatter.js";
43
34
  import "./utils/index.js";
44
35
  import "./types/index.js";
36
+ import { endSession, recordDepthSample, recordWriteFailure, recordingReducer, startSession } from "./state/recording-slice.js";
45
37
  import { MAX_ACTION_FILE_SIZE, loadActionsFromZip, loadGpsPathFromBlob, loadSessionMetadataFromBlob, readZipEntries } from "./storage/zip-reader.js";
38
+ import { formatActionFilename, formatFrameFilename, formatTimestamp } from "./storage/file-system-utils.js";
46
39
  import { NullStorageBackend } from "./storage/null-storage-backend.js";
40
+ import { createSlamAppStore } from "./state/create-slam-app-store.js";
47
41
  import { replayRecording } from "./state/recording-replayer.js";
48
42
  import { DEFAULT_MAX_DELAY_MS, ReplayEngine, computeInterActionDelay, extractActionTimestamp } from "./state/replay-engine.js";
49
43
  import { wireStoreSubscribers } from "./state/store-subscribers.js";
50
- import "./state/index.js";
51
- import { importRefPointsFromFolder } from "./storage/ref-point-importer.js";
52
- import { averageGpsPerRefPoint, flattenRefPointsToMarks, listRefPointIds, loadAllRefPoints, loadRefPoint, saveRefPointObservation } from "./storage/ref-point-loader.js";
44
+ import { add2dImage, calcRelativeCoordsInMeters, markReferencePoint, recordGpsEvent, setZeroPos } from "./state/index.js";
45
+ import { checkStorageQuota, createSession, getAppRootHandle, getSessionHandle, getSessionsRootHandle, initOpfsStorage, listSessions, resetOpfsStorage, resetSessionHandles } from "./storage/opfs-storage.js";
46
+ import { initStorage, resetForNewSession, resetStorageState, startSession as startSession$1, verifyWriteAccess, writeAction, writeFrame } from "./storage/file-system.js";
47
+ import { OpfsStorageBackend } from "./storage/opfs-storage-backend.js";
53
48
  import { downloadZip, exportAndDownloadSession, exportSessionAsZip, syncToExternalZip } from "./storage/zip-export.js";
54
49
  import "./storage/index.js";
55
50
  import { GpsEventVisualizer, gpsEventVisualizer } from "./visualization/gps-event-markers.js";
56
51
  import { DEFAULT_LEAFLET_MAP_SIZE_PX, DEFAULT_WORLD_SIZE, DEFAULT_Z_OFFSET, LeafletMapOverlay } from "./visualization/leaflet-map-overlay.js";
57
52
  import { DEFAULT_HEIGHT_OFFSET, DEFAULT_MAP_SIZE, DEFAULT_ZOOM, MapOverlay, latLonToTileXY, tileXYToLatLon } from "./visualization/map-overlay.js";
58
- import { RefPointVisualizer, refPointVisualizer } from "./visualization/reference-points.js";
53
+ import { GpsAnchoredMeshManager } from "./visualization/gps-anchored-mesh-manager.js";
59
54
  import "./visualization/index.js";
60
- import "./licensing/index.js";
61
- export { CAPTURE_FAILURE_WARNING, COMMUNITY_LICENSE_KEY, COMPASS_CUBE_DISTANCE, COMPASS_CUBE_SIZE, CameraBlitCapture, DEFAULT_BLIT_CONFIG, DEFAULT_CAPTURE_CONFIG, DEFAULT_CAPTURE_TRACKER_CONFIG, DEFAULT_HEIGHT_OFFSET, DEFAULT_LEAFLET_MAP_SIZE_PX, DEFAULT_LERP_RATE, DEFAULT_MAP_SIZE, DEFAULT_MAX_DELAY_MS, DEFAULT_RECORDING_OPTIONS, DEFAULT_WORLD_SIZE, DEFAULT_ZOOM, DEFAULT_Z_OFFSET, DEPTH_CONSTRAINTS, DepthSampler, GPS_ERROR_CODES, GPS_ERROR_MESSAGES, GPS_ERROR_MESSAGE_UNKNOWN, GpsEventVisualizer, H3_RESOLUTION, IMAGE_CONSTRAINTS, ImageCaptureManager, LeafletMapOverlay, LogLevel, MAX_ACTION_FILE_SIZE, MIN_VALID_IMAGE_BYTES, MapOverlay, NullStorageBackend, OpfsStorageBackend, RefPointVisualizer, ReplayEngine, SCENE_NODE, STORAGE_KEY, TrackingState, TrackingStateManager, VIS_COLORS, XR_ERROR_MESSAGES, XR_ERROR_MESSAGE_UNKNOWN, acquireCameraTexture, add2dImage, applyChromiumProjectionLayerWorkaround, approxDistanceMetres, averageGpsPerRefPoint, buildRawGpsPoint, buildRecordGpsEventPayload, calcRelativeCoordsInMeters, checkAllPermissions, checkCameraPermission, checkFileSystemPermission, checkGeolocationPermission, checkOrientationPermission, checkStorageQuota, checkWebXRSupport, clampedAlpha, clearLogBuffer, clearSessionRefPointUsage, cloneRecordingOptions, computeCaptureSize, computeFusedPath, computeInterActionDelay, createAlignmentLerper, createCameraFollower, createCaptureFailureTracker, createCss3dRendererManager, createFailureTracker, createGpsCompassCubes, createGpsErrorHandler, createGpsPositionHandler, createLogger, createRecorderStore, createSession, disposeMeshArray, disposeObject3D, disposeReplayScene, downloadZip, endARSession, endSession, eulerToQuaternion, exportAndDownloadSession, exportSessionAsZip, extractActionTimestamp, extractOdomPosition, extractOdomRotation, findNearbyRefPoint, flattenRefPointsToMarks, formatActionFilename, formatFileSize, formatFrameFilename, formatTimestamp, fusedGpsFromOdom, getAlignmentLerper, getCameraFollower, getCameraMode, getDepthSampleCount, getGlobalLogLevel, getGpsErrorMessage, getImageCaptureFrameCount, getLastDeviceOrientation, getLiveCss3dManager, getLogBuffer, getReplayState, getScenarioHandle, getScenariosRootHandle, getSessionHandle, getXrErrorMessage, gpsEventVisualizer, gpsToH3, h3RefsMatch, importRefPointsFromFolder, incrementRefPointUsage, initAR, initOpfsStorage, initReplayScene, initStorage, isH3Index, latLonToTileXY, listFormatter, listRefPointIds, listSessions, loadActionsFromZip, loadAllRefPoints, loadGpsPathFromBlob, loadRecordingOptions, loadRefPoint, loadSessionMetadataFromBlob, mapWithConcurrencyLimit, markReferencePoint, navigateTo, readZipEntries, recordDepthSample, recordGpsEvent, recordWriteFailure, refPointVisualizer, refPointsReducer, replayRecording, requestAllPermissions, requestCameraPermission, requestOrientationPermission as requestDeviceOrientationPermission, requestGeolocationPermission, requestOrientationPermission$1 as requestOrientationPermission, requestWebXRWithDepthPermission, resetCoordinatorState, resetFileSystemState, resetForNewSession, resetOpfsStorage, resetRecordingOptions, resetRefPointsState, resetSessionHandles, resetStorageState, saveRecordingOptions, saveRefPointObservation, selectCachedKnownRefPoints, setCurrentScenarioName, setDepthCaptureCallback, setFileSystemState, setFrameCallback, setGlobalLogLevel, setImageCaptureCallback, setImportedRefPoints, setTrackingCallbacks, setTrackingLostCallback, setZeroPos, startDepthCapture, startGpsWatch, startImageCapture, startOrientationWatch, startSession, startSession$1 as startStorageSession, stopDepthCapture, stopGpsWatch, stopImageCapture, stopOrientationWatch, subscribeToLogs, syncToExternalZip, tileXYToLatLon, toggleCameraMode, updateDeviceOrientation, updateOrbitTarget, validateDepthOptions, validateImageOptions, validateRecordingOptions, verifyWriteAccess, wireStoreSubscribers, writeAction, writeFrame };
55
+ import { COMMUNITY_LICENSE_KEY } from "./licensing/index.js";
56
+ export { CAPTURE_FAILURE_WARNING, COMMUNITY_LICENSE_KEY, COMPASS_CUBE_DISTANCE, COMPASS_CUBE_SIZE, CameraBlitCapture, DEFAULT_BLIT_CONFIG, DEFAULT_CAPTURE_CONFIG, DEFAULT_CAPTURE_TRACKER_CONFIG, DEFAULT_HEIGHT_OFFSET, DEFAULT_LEAFLET_MAP_SIZE_PX, DEFAULT_LERP_RATE, DEFAULT_MAP_SIZE, DEFAULT_MAX_DELAY_MS, DEFAULT_RECORDING_OPTIONS, DEFAULT_WORLD_SIZE, DEFAULT_ZOOM, DEFAULT_Z_OFFSET, DEPTH_CONSTRAINTS, DepthSampler, GPS_ERROR_CODES, GPS_ERROR_MESSAGES, GPS_ERROR_MESSAGE_UNKNOWN, GpsAnchoredMeshManager, GpsEventVisualizer, H3_RESOLUTION, IMAGE_CONSTRAINTS, ImageCaptureManager, LeafletMapOverlay, LogLevel, MAX_ACTION_FILE_SIZE, MIN_VALID_IMAGE_BYTES, MapOverlay, NullStorageBackend, OpfsStorageBackend, ReplayEngine, SCENE_NODE, STORAGE_KEY, TrackingState, TrackingStateManager, VIS_COLORS, XR_ERROR_MESSAGES, XR_ERROR_MESSAGE_UNKNOWN, acquireCameraTexture, add2dImage, applyChromiumProjectionLayerWorkaround, approxDistanceMetres, buildRawGpsPoint, buildRecordGpsEventPayload, calcRelativeCoordsInMeters, checkAllPermissions, checkCameraPermission, checkFileSystemPermission, checkGeolocationPermission, checkOrientationPermission, checkStorageQuota, checkWebXRSupport, clampedAlpha, clearLogBuffer, cloneRecordingOptions, computeCaptureSize, computeFusedPath, computeInterActionDelay, createAlignmentLerper, createCameraFollower, createCaptureFailureTracker, createCss3dRendererManager, createFailureTracker, createGpsCompassCubes, createGpsErrorHandler, createGpsPositionHandler, createLogger, createSession, createSlamAppStore, disposeMeshArray, disposeObject3D, disposeReplayScene, downloadZip, endARSession, endSession, eulerToQuaternion, exportAndDownloadSession, exportSessionAsZip, extractActionTimestamp, extractOdomPosition, extractOdomRotation, findNearbyGeoAnchor, formatActionFilename, formatFileSize, formatFrameFilename, formatTimestamp, fusedGpsFromOdom, getAlignmentLerper, getAppRootHandle, getCameraFollower, getCameraMode, getDepthSampleCount, getGlobalLogLevel, getGpsErrorMessage, getImageCaptureFrameCount, getLastDeviceOrientation, getLiveCss3dManager, getLogBuffer, getReplayState, getSessionHandle, getSessionsRootHandle, getXrErrorMessage, gpsEventVisualizer, gpsToH3, h3CellsMatch, initAR, initOpfsStorage, initReplayScene, initStorage, isH3Index, latLonToTileXY, listFormatter, listSessions, loadActionsFromZip, loadGpsPathFromBlob, loadRecordingOptions, loadSessionMetadataFromBlob, mapWithConcurrencyLimit, markReferencePoint, readZipEntries, recordDepthSample, recordGpsEvent, recordWriteFailure, recordingReducer, replayRecording, requestAllPermissions, requestCameraPermission, requestOrientationPermission as requestDeviceOrientationPermission, requestGeolocationPermission, requestOrientationPermission$1 as requestOrientationPermission, requestWebXRWithDepthPermission, resetCoordinatorState, resetFileSystemState, resetForNewSession, resetOpfsStorage, resetRecordingOptions, resetSessionHandles, resetStorageState, saveRecordingOptions, setDepthCaptureCallback, setFileSystemState, setFrameCallback, setGlobalLogLevel, setImageCaptureCallback, setTrackingCallbacks, setTrackingLostCallback, setZeroPos, startDepthCapture, startGpsWatch, startImageCapture, startOrientationWatch, startSession, startSession$1 as startStorageSession, stopDepthCapture, stopGpsWatch, stopImageCapture, stopOrientationWatch, subscribeToLogs, syncToExternalZip, tileXYToLatLon, toggleCameraMode, updateDeviceOrientation, updateOrbitTarget, validateDepthOptions, validateImageOptions, validateRecordingOptions, verifyWriteAccess, wireStoreSubscribers, writeAction, writeFrame };
@@ -61,7 +61,7 @@ declare class LeafletMapOverlay {
61
61
  private rawGpsPoints;
62
62
  private fusedPoints;
63
63
  private snapshotPoints;
64
- private refPoints;
64
+ private namedMarkers;
65
65
  private userMarker;
66
66
  private rawGpsPolyline;
67
67
  private fusedPolyline;
@@ -76,14 +76,18 @@ declare class LeafletMapOverlay {
76
76
  addRawGpsPoint(lat: number, lon: number): void;
77
77
  addFusedPoint(lat: number, lon: number): void;
78
78
  addAlignmentSnapshot(lat: number, lon: number): void;
79
- addRefPoint(lat: number, lon: number, name: string): void;
80
- addPriorRefPoint(lat: number, lon: number, name: string): void;
81
- addPriorRefPoints(refPoints: Array<{
79
+ /** Add a "current" named marker (red). Buffered if map is not yet shown. */
80
+ addCurrentMarker(lat: number, lon: number, name: string): void;
81
+ /** Add a "prior" named marker (green, decorated). Buffered if not shown. */
82
+ addPriorMarker(lat: number, lon: number, name: string): void;
83
+ /** Bulk add prior markers. */
84
+ addPriorMarkers(markers: Array<{
82
85
  lat: number;
83
86
  lon: number;
84
87
  name: string;
85
88
  }>): void;
86
- clearPriorRefPoints(): void;
89
+ /** Remove all prior markers; current markers are unaffected. */
90
+ clearPriorMarkers(): void;
87
91
  setZoomLevel(zoom: number): void;
88
92
  getZoomLevel(): number;
89
93
  /** Increment zoom level by 1 (clamped at MAX_ZOOM). */
@@ -108,7 +112,7 @@ declare class LeafletMapOverlay {
108
112
  private removeCssObject;
109
113
  private applyBufferedOverlays;
110
114
  private updateUserMarker;
111
- private createRefPointMarker;
115
+ private createNamedMarker;
112
116
  }
113
117
  //#endregion
114
118
  export { DEFAULT_Z_OFFSET as a, DEFAULT_ZOOM as i, DEFAULT_LEAFLET_MAP_SIZE_PX as n, LeafletMapOverlay as o, DEFAULT_WORLD_SIZE as r, LeafletMapOverlayOptions as s, DEFAULT_HEIGHT_OFFSET as t };
@@ -1,2 +1,2 @@
1
- import { t as COMMUNITY_LICENSE_KEY } from "../community-license-key-ChZLCJyO.js";
1
+ import { COMMUNITY_LICENSE_KEY } from "gps-plus-slam-js/community-license-key";
2
2
  export { COMMUNITY_LICENSE_KEY };
@@ -1,2 +1,2 @@
1
- import { COMMUNITY_LICENSE_KEY } from "./community-license-key.js";
1
+ import { COMMUNITY_LICENSE_KEY } from "gps-plus-slam-js/community-license-key";
2
2
  export { COMMUNITY_LICENSE_KEY };
@@ -1,8 +1,10 @@
1
- import { n as SessionMetadata } from "./opfs-storage-ChOzF_Wp.js";
2
- import { t as StorageBackend } from "./storage-backend-BcEItnFr.js";
1
+ import { n as SessionMetadata } from "./opfs-storage-Dlq1I_Gb.js";
2
+ import { n as StorageBackend, t as CreateSessionResult } from "./storage-backend-yVnuWGTr.js";
3
3
 
4
4
  //#region ../src/storage/null-storage-backend.d.ts
5
5
  declare class NullStorageBackend implements StorageBackend {
6
+ createSession(timestamp: Date, _contextTag?: string): Promise<CreateSessionResult>;
7
+ listSessions(): Promise<string[]>;
6
8
  writeAction(_action: unknown, _index: number): Promise<void>;
7
9
  writeFrame(_blob: Blob, _index: number): Promise<void>;
8
10
  writeSessionMetadata(_metadata: SessionMetadata): Promise<void>;
@@ -6,20 +6,21 @@
6
6
  * OPFS works consistently on Desktop Chrome, Android Chrome, and iOS Safari,
7
7
  * unlike showDirectoryPicker which has write restrictions on Android.
8
8
  *
9
- * Directory structure:
10
- * /gps-recorder/
11
- * └── scenarios/
12
- * ├── {scenario-name}/
13
- * │ ├── recording-YYYY-MM-DD_HH-MM-SSutc/
14
- * │ ├── session.json
15
- * │ │ ├── actions/
16
- * │ │ │ ├── 000001.json
17
- * │ │ │ └── ...
18
- * │ │ └── frames/
19
- * │ ├── frame-000001.jpg
20
- * │ │ └── ...
21
- * │ └── ...
9
+ * Directory structure (flat sessions — no scenario hierarchy):
10
+ * /gps-plus-slam/
11
+ * └── sessions/
12
+ * ├── recording-YYYY-MM-DD_HH-MM-SSutc/
13
+ * │ ├── session.json
14
+ * │ ├── actions/
15
+ * │ │ ├── 000001.json
16
+ * │ │ └── ...
17
+ * │ └── frames/
18
+ * │ ├── frame-000001.jpg
19
+ * │ └── ...
22
20
  * └── ...
21
+ *
22
+ * Scenario grouping (scenarios/{name}/recording-…) is a recorder-only concern,
23
+ * handled by ScenarioWrappingStorageBackend in the recorder app.
23
24
  */
24
25
  /**
25
26
  * Session metadata stored in session.json.
@@ -46,8 +47,12 @@ interface SessionMetadata {
46
47
  startedAt: string;
47
48
  /** ISO 8601 timestamp when recording ended */
48
49
  endedAt: string;
49
- /** Name of the scenario this session belongs to */
50
- scenarioName: string;
50
+ /**
51
+ * Opaque tag the framework does not interpret. Consumers (e.g. the recorder)
52
+ * use it to carry application-specific grouping info such as a scenario name.
53
+ * Replaces the former required `scenarioName` field.
54
+ */
55
+ contextTag?: string;
51
56
  /** Total number of actions recorded */
52
57
  actionCount: number;
53
58
  /** Total number of frames captured */
@@ -69,7 +74,6 @@ interface SessionMetadata {
69
74
  * Result from createSession.
70
75
  */
71
76
  interface CreateSessionResult {
72
- scenarioName: string;
73
77
  sessionName: string;
74
78
  }
75
79
  /**
@@ -80,19 +84,17 @@ declare function resetOpfsStorage(): void;
80
84
  /**
81
85
  * Reset session-level handles only.
82
86
  *
83
- * Preserves opfsRoot/gpsRecorderDir/scenariosDir (OPFS stays initialized)
84
- * but clears current scenario/session/actions/frames handles so a new
85
- * session can be started fresh.
86
- *
87
- * Used during soft reset for new recordings (Issue 4, 2026-02-06 user feedback).
87
+ * Preserves opfsRoot/gpsPlusSlamDir/sessionsDir (OPFS stays initialized)
88
+ * but clears current session/actions/frames handles so a new session can
89
+ * be started fresh.
88
90
  */
89
91
  declare function resetSessionHandles(): void;
90
92
  /**
91
93
  * Initialize OPFS storage by creating the required directory structure.
92
94
  *
93
95
  * Creates:
94
- * - /gps-recorder/
95
- * - /gps-recorder/scenarios/
96
+ * - /gps-plus-slam/
97
+ * - /gps-plus-slam/sessions/
96
98
  *
97
99
  * This is idempotent - calling multiple times is safe.
98
100
  *
@@ -100,34 +102,46 @@ declare function resetSessionHandles(): void;
100
102
  */
101
103
  declare function initOpfsStorage(): Promise<void>;
102
104
  /**
103
- * Create a new recording session within a scenario.
105
+ * Get the sessions root directory handle.
106
+ * Used by consumers that need direct OPFS access (e.g. ZIP export).
107
+ */
108
+ declare function getSessionsRootHandle(): FileSystemDirectoryHandle | null;
109
+ /**
110
+ * Get the app root directory handle (gps-plus-slam/).
111
+ * Used by consumers that need to create additional directories alongside sessions/.
112
+ */
113
+ declare function getAppRootHandle(): FileSystemDirectoryHandle | null;
114
+ /**
115
+ * Create a new recording session.
104
116
  *
105
117
  * Creates the directory structure:
106
- * - /gps-recorder/scenarios/{scenarioName}/recording-{timestamp}/
107
- * - /gps-recorder/scenarios/{scenarioName}/recording-{timestamp}/actions/
108
- * - /gps-recorder/scenarios/{scenarioName}/recording-{timestamp}/frames/
118
+ * - /gps-plus-slam/sessions/recording-{timestamp}/
119
+ * - /gps-plus-slam/sessions/recording-{timestamp}/actions/
120
+ * - /gps-plus-slam/sessions/recording-{timestamp}/frames/
109
121
  *
110
- * @param scenarioName - Name of the scenario (creates if doesn't exist)
111
122
  * @param timestamp - Session start time (used for folder naming)
123
+ * @param _contextTag - Opaque tag; not used by the flat layout but accepted
124
+ * for interface compatibility with wrapping backends
112
125
  * @returns Session information
113
126
  * @throws Error if storage not initialized
114
127
  */
115
- declare function createSession(scenarioName: string, timestamp: Date): Promise<CreateSessionResult>;
128
+ declare function createSession(timestamp: Date, _contextTag?: string): Promise<CreateSessionResult>;
116
129
  /**
117
130
  * Get the current session directory handle.
118
- * Useful for test assertions.
119
131
  * @internal
120
132
  */
121
133
  declare function getSessionHandle(): FileSystemDirectoryHandle | null;
122
134
  /**
123
- * Get the current scenario directory handle.
124
- */
125
- declare function getScenarioHandle(): FileSystemDirectoryHandle | null;
126
- /**
127
- * Get the scenarios root directory handle.
128
- * Used for loading reference points across scenarios.
135
+ * Set the active session handles externally.
136
+ *
137
+ * Used by file-system.ts's scenario-based path to reuse opfs-storage's
138
+ * write infrastructure for sessions created outside the flat layout.
139
+ * This is a temporary bridge until the recorder migrates to
140
+ * ScenarioWrappingStorageBackend.
141
+ *
142
+ * @internal
129
143
  */
130
- declare function getScenariosRootHandle(): FileSystemDirectoryHandle | null;
144
+ declare function setSessionHandles(session: FileSystemDirectoryHandle, actions: FileSystemDirectoryHandle, frames: FileSystemDirectoryHandle): void;
131
145
  /**
132
146
  * Write a Redux action to the current session's actions directory.
133
147
  *
@@ -152,25 +166,14 @@ declare function writeFrame(blob: Blob, index: number): Promise<void>;
152
166
  */
153
167
  declare function writeSessionMetadata(metadata: SessionMetadata): Promise<void>;
154
168
  /**
155
- * List all scenario names in OPFS storage.
169
+ * List all session names in OPFS storage.
156
170
  *
157
- * @returns Array of scenario folder names
158
- */
159
- declare function listScenarios(): Promise<string[]>;
160
- /**
161
- * List all session names within a scenario.
162
- *
163
- * @param scenarioName - Name of the scenario
164
171
  * @returns Array of session folder names
165
172
  */
166
- declare function listSessions(scenarioName: string): Promise<string[]>;
173
+ declare function listSessions(): Promise<string[]>;
167
174
  /**
168
175
  * Check storage quota.
169
176
  *
170
- * Note: Prefer calling `initOpfsStorage()` before this function to ensure
171
- * the Storage API is available. If the Storage Manager API is not supported,
172
- * returns a safe default of `{ available: 0, used: 0 }`.
173
- *
174
177
  * @returns Available and used storage in bytes
175
178
  */
176
179
  declare function checkStorageQuota(): Promise<{
@@ -178,4 +181,4 @@ declare function checkStorageQuota(): Promise<{
178
181
  used: number;
179
182
  }>;
180
183
  //#endregion
181
- export { getScenarioHandle as a, initOpfsStorage as c, resetOpfsStorage as d, resetSessionHandles as f, writeSessionMetadata as h, createSession as i, listScenarios as l, writeFrame as m, SessionMetadata as n, getScenariosRootHandle as o, writeAction as p, checkStorageQuota as r, getSessionHandle as s, CreateSessionResult as t, listSessions as u };
184
+ export { getAppRootHandle as a, initOpfsStorage as c, resetSessionHandles as d, setSessionHandles as f, writeSessionMetadata as h, createSession as i, listSessions as l, writeFrame as m, SessionMetadata as n, getSessionHandle as o, writeAction as p, checkStorageQuota as r, getSessionsRootHandle as s, CreateSessionResult as t, resetOpfsStorage as u };
@@ -0,0 +1,13 @@
1
+ import { n as SessionMetadata } from "./opfs-storage-Dlq1I_Gb.js";
2
+ import { n as StorageBackend, t as CreateSessionResult } from "./storage-backend-yVnuWGTr.js";
3
+
4
+ //#region ../src/storage/opfs-storage-backend.d.ts
5
+ declare class OpfsStorageBackend implements StorageBackend {
6
+ createSession(_timestamp: Date, _contextTag?: string): Promise<CreateSessionResult>;
7
+ listSessions(): Promise<string[]>;
8
+ writeAction(action: unknown, index: number): Promise<void>;
9
+ writeFrame(blob: Blob, index: number): Promise<void>;
10
+ writeSessionMetadata(metadata: SessionMetadata): Promise<void>;
11
+ }
12
+ //#endregion
13
+ export { OpfsStorageBackend as t };
@@ -1,4 +1,4 @@
1
- import { t as StorageBackend } from "./storage-backend-BcEItnFr.js";
1
+ import { n as StorageBackend } from "./storage-backend-yVnuWGTr.js";
2
2
  import { Middleware } from "@reduxjs/toolkit";
3
3
 
4
4
  //#region ../src/state/persistence-middleware.d.ts
@@ -18,10 +18,10 @@ interface PersistenceMiddlewareOptions {
18
18
  * during active recording sessions.
19
19
  *
20
20
  * Persistence rules:
21
- * - Only persists when `state.recorder.isRecording` is true (checked AFTER
21
+ * - Only persists when `state.recording.isRecording` is true (checked AFTER
22
22
  * the action is reduced, so `startSession` itself is included).
23
- * - Persists `gpsData/*` and `recorder/*` actions.
24
- * - Excludes `recorder/recordWriteFailure` to prevent recursive persistence.
23
+ * - Persists `gpsData/*` and `recording/*` actions.
24
+ * - Excludes `recording/recordWriteFailure` to prevent recursive persistence.
25
25
  * - Excludes `routing/*`, `refPoints/*`, and any other non-recording actions.
26
26
  * - Uses 1-based indexing for action files (000001.json, 000002.json, …).
27
27
  * - Each middleware instance maintains its own action index (Bug 10 fix).
@@ -1,5 +1,5 @@
1
- import { n as CombinedRootState } from "./store-C7PKOj8S.js";
2
- import { i as RecordedAction } from "./zip-reader-D7pkpX8K.js";
1
+ import { i as RecordedAction } from "./zip-reader-KgJEXbca.js";
2
+ import { t as CombinedRootState } from "./combined-root-state-B3SvPNjU.js";
3
3
 
4
4
  //#region ../src/state/recording-replayer.d.ts
5
5
  /**
@@ -0,0 +1,28 @@
1
+ import { i as DepthSample } from "./ar-types-B-ORgk6Z.js";
2
+ import { s as RecordingOptions } from "./recording-options-BYUFX8iU.js";
3
+ import * as _$_reduxjs_toolkit0 from "@reduxjs/toolkit";
4
+
5
+ //#region ../src/state/recording-slice.d.ts
6
+ interface SessionMetadata {
7
+ scenarioName: string;
8
+ sessionName: string;
9
+ startTime: number;
10
+ deviceInfo?: string;
11
+ notes?: string;
12
+ /** Recording options used for this session (for replay context) */
13
+ recordingOptions?: RecordingOptions;
14
+ }
15
+ interface RecordingState {
16
+ isRecording: boolean;
17
+ sessionMetadata: SessionMetadata | null;
18
+ actionCount: number;
19
+ /**
20
+ * Count of failed file write operations during this session.
21
+ * User Feedback Issue #1 Part B: Track write failures for visibility.
22
+ */
23
+ failedWriteCount: number;
24
+ }
25
+ declare const startSession: _$_reduxjs_toolkit0.ActionCreatorWithPayload<SessionMetadata, "recording/startSession">, endSession: _$_reduxjs_toolkit0.ActionCreatorWithoutPayload<"recording/endSession">, recordDepthSample: _$_reduxjs_toolkit0.ActionCreatorWithPayload<DepthSample, "recording/recordDepthSample">, recordWriteFailure: _$_reduxjs_toolkit0.ActionCreatorWithPayload<string, "recording/recordWriteFailure">;
26
+ declare const recordingReducer: _$_reduxjs_toolkit0.Reducer<RecordingState>;
27
+ //#endregion
28
+ export { recordWriteFailure as a, recordDepthSample as i, SessionMetadata as n, recordingReducer as o, endSession as r, startSession as s, RecordingState as t };
@@ -1,6 +1,9 @@
1
- import { l as RecorderStore } from "./store-C7PKOj8S.js";
1
+ import { i as SlamAppStore } from "./create-slam-app-store-DBm7g2Zd.js";
2
+ import { ReducersMapObject } from "@reduxjs/toolkit";
2
3
 
3
4
  //#region ../src/state/replay-engine.d.ts
5
+ /** Minimal store contract used by the replay engine: dispatches plain actions. */
6
+ type RecorderStore = SlamAppStore<ReducersMapObject>;
4
7
  /** Default maximum delay between actions in ms (30 seconds real-time) */
5
8
  declare const DEFAULT_MAX_DELAY_MS = 30000;
6
9
  type ReplayState = 'idle' | 'playing' | 'paused' | 'completed';
@@ -1,2 +1,2 @@
1
- import { a as getGpsErrorMessage, i as createGpsErrorHandler, n as GPS_ERROR_MESSAGES, r as GPS_ERROR_MESSAGE_UNKNOWN, t as GPS_ERROR_CODES } from "../gps-error-handler-VPuNOuf8.js";
1
+ import { a as getGpsErrorMessage, i as createGpsErrorHandler, n as GPS_ERROR_MESSAGES, r as GPS_ERROR_MESSAGE_UNKNOWN, t as GPS_ERROR_CODES } from "../gps-error-handler-CH1S528z.js";
2
2
  export { GPS_ERROR_CODES, GPS_ERROR_MESSAGES, GPS_ERROR_MESSAGE_UNKNOWN, createGpsErrorHandler, getGpsErrorMessage };
@@ -1,2 +1,2 @@
1
- import { a as startOrientationWatch, i as startGpsWatch, n as RawDeviceOrientation, o as stopGpsWatch, r as requestOrientationPermission, s as stopOrientationWatch, t as GpsPosition } from "../gps-Ddzr2KlX.js";
1
+ import { a as startOrientationWatch, i as startGpsWatch, n as RawDeviceOrientation, o as stopGpsWatch, r as requestOrientationPermission, s as stopOrientationWatch, t as GpsPosition } from "../gps-GKc6_Cly.js";
2
2
  export { GpsPosition, RawDeviceOrientation, requestOrientationPermission, startGpsWatch, startOrientationWatch, stopGpsWatch, stopOrientationWatch };
@@ -1,4 +1,4 @@
1
- import { a as startOrientationWatch, i as startGpsWatch, n as RawDeviceOrientation, o as stopGpsWatch, r as requestOrientationPermission, s as stopOrientationWatch, t as GpsPosition } from "../gps-Ddzr2KlX.js";
2
- import { a as getGpsErrorMessage, i as createGpsErrorHandler, n as GPS_ERROR_MESSAGES, r as GPS_ERROR_MESSAGE_UNKNOWN, t as GPS_ERROR_CODES } from "../gps-error-handler-VPuNOuf8.js";
3
- import { a as checkFileSystemPermission, c as checkWebXRSupport, d as requestGeolocationPermission, f as requestOrientationPermission$1, h as setFileSystemState, i as checkCameraPermission, l as requestAllPermissions, m as resetFileSystemState, n as PermissionStatus, o as checkGeolocationPermission, p as requestWebXRWithDepthPermission, r as checkAllPermissions, s as checkOrientationPermission, t as PermissionCheckResult, u as requestCameraPermission } from "../permission-checker-jO2ziCWC.js";
1
+ import { a as startOrientationWatch, i as startGpsWatch, n as RawDeviceOrientation, o as stopGpsWatch, r as requestOrientationPermission, s as stopOrientationWatch, t as GpsPosition } from "../gps-GKc6_Cly.js";
2
+ import { a as getGpsErrorMessage, i as createGpsErrorHandler, n as GPS_ERROR_MESSAGES, r as GPS_ERROR_MESSAGE_UNKNOWN, t as GPS_ERROR_CODES } from "../gps-error-handler-CH1S528z.js";
3
+ import { a as checkFileSystemPermission, c as checkWebXRSupport, d as requestGeolocationPermission, f as requestOrientationPermission$1, h as setFileSystemState, i as checkCameraPermission, l as requestAllPermissions, m as resetFileSystemState, n as PermissionStatus, o as checkGeolocationPermission, p as requestWebXRWithDepthPermission, r as checkAllPermissions, s as checkOrientationPermission, t as PermissionCheckResult, u as requestCameraPermission } from "../permission-checker-Cu3nbH1S.js";
4
4
  export { GPS_ERROR_CODES, GPS_ERROR_MESSAGES, GPS_ERROR_MESSAGE_UNKNOWN, type GpsPosition, type PermissionCheckResult, type PermissionStatus, type RawDeviceOrientation, checkAllPermissions, checkCameraPermission, checkFileSystemPermission, checkGeolocationPermission, checkOrientationPermission, checkWebXRSupport, createGpsErrorHandler, getGpsErrorMessage, requestAllPermissions, requestCameraPermission, requestOrientationPermission as requestDeviceOrientationPermission, requestGeolocationPermission, requestOrientationPermission$1 as requestOrientationPermission, requestWebXRWithDepthPermission, resetFileSystemState, setFileSystemState, startGpsWatch, startOrientationWatch, stopGpsWatch, stopOrientationWatch };
@@ -1,4 +1,4 @@
1
- import { checkAllPermissions, checkCameraPermission, checkFileSystemPermission, checkGeolocationPermission, checkOrientationPermission, checkWebXRSupport, requestAllPermissions, requestCameraPermission, requestGeolocationPermission, requestOrientationPermission as requestOrientationPermission$1, requestWebXRWithDepthPermission, resetFileSystemState, setFileSystemState } from "./permission-checker.js";
2
1
  import { requestOrientationPermission, startGpsWatch, startOrientationWatch, stopGpsWatch, stopOrientationWatch } from "./gps.js";
3
2
  import { GPS_ERROR_CODES, GPS_ERROR_MESSAGES, GPS_ERROR_MESSAGE_UNKNOWN, createGpsErrorHandler, getGpsErrorMessage } from "./gps-error-handler.js";
3
+ import { checkAllPermissions, checkCameraPermission, checkFileSystemPermission, checkGeolocationPermission, checkOrientationPermission, checkWebXRSupport, requestAllPermissions, requestCameraPermission, requestGeolocationPermission, requestOrientationPermission as requestOrientationPermission$1, requestWebXRWithDepthPermission, resetFileSystemState, setFileSystemState } from "./permission-checker.js";
4
4
  export { GPS_ERROR_CODES, GPS_ERROR_MESSAGES, GPS_ERROR_MESSAGE_UNKNOWN, checkAllPermissions, checkCameraPermission, checkFileSystemPermission, checkGeolocationPermission, checkOrientationPermission, checkWebXRSupport, createGpsErrorHandler, getGpsErrorMessage, requestAllPermissions, requestCameraPermission, requestOrientationPermission as requestDeviceOrientationPermission, requestGeolocationPermission, requestOrientationPermission$1 as requestOrientationPermission, requestWebXRWithDepthPermission, resetFileSystemState, setFileSystemState, startGpsWatch, startOrientationWatch, stopGpsWatch, stopOrientationWatch };
@@ -1,2 +1,2 @@
1
- import { a as checkFileSystemPermission, c as checkWebXRSupport, d as requestGeolocationPermission, f as requestOrientationPermission, h as setFileSystemState, i as checkCameraPermission, l as requestAllPermissions, m as resetFileSystemState, n as PermissionStatus, o as checkGeolocationPermission, p as requestWebXRWithDepthPermission, r as checkAllPermissions, s as checkOrientationPermission, t as PermissionCheckResult, u as requestCameraPermission } from "../permission-checker-jO2ziCWC.js";
1
+ import { a as checkFileSystemPermission, c as checkWebXRSupport, d as requestGeolocationPermission, f as requestOrientationPermission, h as setFileSystemState, i as checkCameraPermission, l as requestAllPermissions, m as resetFileSystemState, n as PermissionStatus, o as checkGeolocationPermission, p as requestWebXRWithDepthPermission, r as checkAllPermissions, s as checkOrientationPermission, t as PermissionCheckResult, u as requestCameraPermission } from "../permission-checker-Cu3nbH1S.js";
2
2
  export { PermissionCheckResult, PermissionStatus, checkAllPermissions, checkCameraPermission, checkFileSystemPermission, checkGeolocationPermission, checkOrientationPermission, checkWebXRSupport, requestAllPermissions, requestCameraPermission, requestGeolocationPermission, requestOrientationPermission, requestWebXRWithDepthPermission, resetFileSystemState, setFileSystemState };
@@ -1,2 +1,2 @@
1
- import { a as selectReferencePoints, i as selectOdometryRotations, n as selectGpsPositions, o as selectZeroReference, r as selectOdometryPositions, t as selectAlignmentMatrix } from "../app-selectors-DyMzxCEC.js";
1
+ import { a as selectReferencePoints, i as selectOdometryRotations, n as selectGpsPositions, o as selectZeroReference, r as selectOdometryPositions, t as selectAlignmentMatrix } from "../app-selectors-CHt7DLuq.js";
2
2
  export { selectAlignmentMatrix, selectGpsPositions, selectOdometryPositions, selectOdometryRotations, selectReferencePoints, selectZeroReference };
@@ -0,0 +1,2 @@
1
+ import { a as SlamAppStoreOptions, i as SlamAppStore, n as SlamAppMiddleware, o as createSlamAppStore, r as SlamAppRootState, t as SlamAppCombinedState } from "../create-slam-app-store-DBm7g2Zd.js";
2
+ export { SlamAppCombinedState, SlamAppMiddleware, SlamAppRootState, SlamAppStore, SlamAppStoreOptions, createSlamAppStore };