@glassly/engine 0.1.0-dev.1 → 0.1.0-dev.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +53 -19
- package/build/bluetooth-sdk/debug.d.ts +2 -0
- package/build/bluetooth-sdk/debug.d.ts.map +1 -0
- package/build/bluetooth-sdk/debug.js +2 -0
- package/build/bluetooth-sdk/debug.js.map +1 -0
- package/build/bluetooth-sdk/index.d.ts +3 -0
- package/build/bluetooth-sdk/index.d.ts.map +1 -0
- package/build/bluetooth-sdk/index.js +3 -0
- package/build/bluetooth-sdk/index.js.map +1 -0
- package/build/bluetooth-sdk/ota-transport.d.ts +2 -0
- package/build/bluetooth-sdk/ota-transport.d.ts.map +1 -0
- package/build/bluetooth-sdk/ota-transport.js +2 -0
- package/build/bluetooth-sdk/ota-transport.js.map +1 -0
- package/build/bluetooth-sdk/photo-receiver.d.ts +3 -0
- package/build/bluetooth-sdk/photo-receiver.d.ts.map +1 -0
- package/build/bluetooth-sdk/photo-receiver.js +3 -0
- package/build/bluetooth-sdk/photo-receiver.js.map +1 -0
- package/build/bluetooth-sdk/react.d.ts +2 -0
- package/build/bluetooth-sdk/react.d.ts.map +1 -0
- package/build/bluetooth-sdk/react.js +2 -0
- package/build/bluetooth-sdk/react.js.map +1 -0
- package/build/bluetooth-sdk/types.d.ts +2 -0
- package/build/bluetooth-sdk/types.d.ts.map +1 -0
- package/build/bluetooth-sdk/types.js +2 -0
- package/build/bluetooth-sdk/types.js.map +1 -0
- package/build/engine.d.ts +23 -16
- package/build/engine.d.ts.map +1 -1
- package/build/engine.js +9 -3
- package/build/engine.js.map +1 -1
- package/build/facades/dev.d.ts +1 -1
- package/build/facades/display.d.ts +1 -1
- package/build/facades/display.d.ts.map +1 -1
- package/build/facades/display.js +1 -1
- package/build/facades/display.js.map +1 -1
- package/build/facades/glasses.d.ts +5 -13
- package/build/facades/glasses.d.ts.map +1 -1
- package/build/facades/glasses.js +5 -3
- package/build/facades/glasses.js.map +1 -1
- package/build/facades/ota.d.ts +19 -21
- package/build/facades/ota.d.ts.map +1 -1
- package/build/facades/ota.js +23 -9
- package/build/facades/ota.js.map +1 -1
- package/build/facades/pairing.d.ts +11 -5
- package/build/facades/pairing.d.ts.map +1 -1
- package/build/facades/pairing.js +93 -17
- package/build/facades/pairing.js.map +1 -1
- package/build/facades/speakers.d.ts +1 -1
- package/build/facades/speakers.d.ts.map +1 -1
- package/build/facades/speakers.js.map +1 -1
- package/build/facades/speech.d.ts +7 -6
- package/build/facades/speech.d.ts.map +1 -1
- package/build/facades/speech.js +1 -1
- package/build/facades/speech.js.map +1 -1
- package/build/generated/releaseMetadata.d.ts +12 -0
- package/build/generated/releaseMetadata.d.ts.map +1 -0
- package/build/generated/releaseMetadata.js +10 -0
- package/build/generated/releaseMetadata.js.map +1 -0
- package/build/index.d.ts +7 -4
- package/build/index.d.ts.map +1 -1
- package/build/index.js +5 -3
- package/build/index.js.map +1 -1
- package/build/react/MentraLiveOtaFlow.d.ts +39 -0
- package/build/react/MentraLiveOtaFlow.d.ts.map +1 -0
- package/build/react/MentraLiveOtaFlow.js +200 -0
- package/build/react/MentraLiveOtaFlow.js.map +1 -0
- package/build/react/index.d.ts +3 -0
- package/build/react/index.d.ts.map +1 -0
- package/build/react/index.js +3 -0
- package/build/react/index.js.map +1 -0
- package/build/react/useEngineSnapshot.d.ts +2 -0
- package/build/react/useEngineSnapshot.d.ts.map +1 -0
- package/build/react/useEngineSnapshot.js +14 -0
- package/build/react/useEngineSnapshot.js.map +1 -0
- package/build/react/useMentraLiveOta.d.ts +80 -0
- package/build/react/useMentraLiveOta.d.ts.map +1 -0
- package/build/react/useMentraLiveOta.js +550 -0
- package/build/react/useMentraLiveOta.js.map +1 -0
- package/build/services/AppRegistry.d.ts +8 -0
- package/build/services/AppRegistry.d.ts.map +1 -1
- package/build/services/AppRegistry.js +15 -0
- package/build/services/AppRegistry.js.map +1 -1
- package/build/services/BlobStore.d.ts +2 -0
- package/build/services/BlobStore.d.ts.map +1 -1
- package/build/services/BlobStore.js +63 -10
- package/build/services/BlobStore.js.map +1 -1
- package/build/services/CustomDashboardModel.d.ts +48 -0
- package/build/services/CustomDashboardModel.d.ts.map +1 -0
- package/build/services/CustomDashboardModel.js +73 -0
- package/build/services/CustomDashboardModel.js.map +1 -0
- package/build/services/CustomDashboardService.d.ts +61 -0
- package/build/services/CustomDashboardService.d.ts.map +1 -0
- package/build/services/CustomDashboardService.js +552 -0
- package/build/services/CustomDashboardService.js.map +1 -0
- package/build/services/DeviceEventRouter.d.ts.map +1 -1
- package/build/services/DeviceEventRouter.js +44 -3
- package/build/services/DeviceEventRouter.js.map +1 -1
- package/build/services/GestureDotsService.d.ts +35 -0
- package/build/services/GestureDotsService.d.ts.map +1 -0
- package/build/services/GestureDotsService.js +149 -0
- package/build/services/GestureDotsService.js.map +1 -0
- package/build/services/GlassesStatusProjection.d.ts +15 -1
- package/build/services/GlassesStatusProjection.d.ts.map +1 -1
- package/build/services/GlassesStatusProjection.js +18 -11
- package/build/services/GlassesStatusProjection.js.map +1 -1
- package/build/services/HotspotOtaTransport.d.ts.map +1 -1
- package/build/services/HotspotOtaTransport.js +8 -7
- package/build/services/HotspotOtaTransport.js.map +1 -1
- package/build/services/LocalDisplayManager.d.ts +43 -1
- package/build/services/LocalDisplayManager.d.ts.map +1 -1
- package/build/services/LocalDisplayManager.js +128 -2
- package/build/services/LocalDisplayManager.js.map +1 -1
- package/build/services/LocalMiniappRuntime.d.ts +13 -0
- package/build/services/LocalMiniappRuntime.d.ts.map +1 -1
- package/build/services/LocalMiniappRuntime.js +32 -0
- package/build/services/LocalMiniappRuntime.js.map +1 -1
- package/build/services/MiniappExitGesture.d.ts +33 -0
- package/build/services/MiniappExitGesture.d.ts.map +1 -0
- package/build/services/MiniappExitGesture.js +54 -0
- package/build/services/MiniappExitGesture.js.map +1 -0
- package/build/services/OtaAutoChain.d.ts +41 -0
- package/build/services/OtaAutoChain.d.ts.map +1 -0
- package/build/services/OtaAutoChain.js +91 -0
- package/build/services/OtaAutoChain.js.map +1 -0
- package/build/services/OtaErrorMapping.d.ts +18 -0
- package/build/services/OtaErrorMapping.d.ts.map +1 -0
- package/build/services/OtaErrorMapping.js +63 -0
- package/build/services/OtaErrorMapping.js.map +1 -0
- package/build/services/OtaInstallCoordinator.d.ts +24 -3
- package/build/services/OtaInstallCoordinator.d.ts.map +1 -1
- package/build/services/OtaInstallCoordinator.js +17 -12
- package/build/services/OtaInstallCoordinator.js.map +1 -1
- package/build/services/OtaService.d.ts.map +1 -1
- package/build/services/OtaService.js +1 -1
- package/build/services/OtaService.js.map +1 -1
- package/build/services/OtaUpdateCheckService.d.ts +4 -1
- package/build/services/OtaUpdateCheckService.d.ts.map +1 -1
- package/build/services/OtaUpdateCheckService.js +28 -16
- package/build/services/OtaUpdateCheckService.js.map +1 -1
- package/build/services/asg/localNetworkTransport.d.ts.map +1 -1
- package/build/services/asg/localNetworkTransport.js +13 -12
- package/build/services/asg/localNetworkTransport.js.map +1 -1
- package/build/services/gestureClaims.d.ts +18 -0
- package/build/services/gestureClaims.d.ts.map +1 -0
- package/build/services/gestureClaims.js +24 -0
- package/build/services/gestureClaims.js.map +1 -0
- package/build/services/gestureDotGlyphs.d.ts +8 -0
- package/build/services/gestureDotGlyphs.d.ts.map +1 -0
- package/build/services/gestureDotGlyphs.js +12 -0
- package/build/services/gestureDotGlyphs.js.map +1 -0
- package/build/services/glassesClockSync.d.ts.map +1 -1
- package/build/services/glassesClockSync.js +5 -1
- package/build/services/glassesClockSync.js.map +1 -1
- package/build/services/otaDisplayState.d.ts +1 -1
- package/build/services/otaDisplayState.d.ts.map +1 -1
- package/build/services/otaDisplayState.js.map +1 -1
- package/build/services/otaInstallPolicy.d.ts +1 -1
- package/build/services/otaInstallPolicy.d.ts.map +1 -1
- package/build/services/otaInstallPolicy.js.map +1 -1
- package/build/services/otaLegacyMapping.d.ts +1 -1
- package/build/services/otaLegacyMapping.d.ts.map +1 -1
- package/build/services/otaLegacyMapping.js.map +1 -1
- package/build/services/otaManifestPolicy.d.ts +14 -0
- package/build/services/otaManifestPolicy.d.ts.map +1 -0
- package/build/services/otaManifestPolicy.js +20 -0
- package/build/services/otaManifestPolicy.js.map +1 -0
- package/build/services/otaManifestUrl.d.ts +2 -1
- package/build/services/otaManifestUrl.d.ts.map +1 -1
- package/build/services/otaManifestUrl.js +24 -32
- package/build/services/otaManifestUrl.js.map +1 -1
- package/build/services/otaReleaseVersion.d.ts +10 -0
- package/build/services/otaReleaseVersion.d.ts.map +1 -0
- package/build/services/otaReleaseVersion.js +14 -0
- package/build/services/otaReleaseVersion.js.map +1 -0
- package/build/stores/appVisibility.d.ts +3 -0
- package/build/stores/appVisibility.d.ts.map +1 -0
- package/build/stores/appVisibility.js +3 -0
- package/build/stores/appVisibility.js.map +1 -0
- package/build/stores/apps.d.ts.map +1 -1
- package/build/stores/apps.js +7 -1
- package/build/stores/apps.js.map +1 -1
- package/build/stores/core.d.ts +3 -3
- package/build/stores/core.d.ts.map +1 -1
- package/build/stores/core.js.map +1 -1
- package/build/stores/glasses.d.ts +10 -4
- package/build/stores/glasses.d.ts.map +1 -1
- package/build/stores/glasses.js.map +1 -1
- package/build/stores/settings.d.ts.map +1 -1
- package/build/stores/settings.js +87 -3
- package/build/stores/settings.js.map +1 -1
- package/build/types/applet.d.ts +2 -0
- package/build/types/applet.d.ts.map +1 -1
- package/build/types/applet.js +0 -3
- package/build/types/applet.js.map +1 -1
- package/build/types/enums.d.ts +1 -5
- package/build/types/enums.d.ts.map +1 -1
- package/build/types/enums.js +1 -8
- package/build/types/enums.js.map +1 -1
- package/build/types/hardware.d.ts +1 -1
- package/build/types/hardware.d.ts.map +1 -1
- package/build/types/hardware.js.map +1 -1
- package/build/types/index.d.ts +2 -6
- package/build/types/index.d.ts.map +1 -1
- package/build/types/index.js +2 -6
- package/build/types/index.js.map +1 -1
- package/build/utils/display/scene/process.d.ts.map +1 -1
- package/build/utils/display/scene/process.js +4 -3
- package/build/utils/display/scene/process.js.map +1 -1
- package/build/utils/display/scene/types.d.ts +6 -2
- package/build/utils/display/scene/types.d.ts.map +1 -1
- package/build/utils/display/scene/types.js.map +1 -1
- package/package.json +65 -33
- package/src/bluetooth-sdk/debug.ts +1 -0
- package/src/bluetooth-sdk/index.ts +2 -0
- package/src/bluetooth-sdk/ota-transport.ts +1 -0
- package/src/bluetooth-sdk/photo-receiver.ts +2 -0
- package/src/bluetooth-sdk/react.ts +1 -0
- package/src/bluetooth-sdk/types.ts +1 -0
- package/src/engine.ts +9 -3
- package/src/facades/display.ts +1 -1
- package/src/facades/glasses.ts +6 -4
- package/src/facades/ota.ts +33 -10
- package/src/facades/pairing.ts +103 -23
- package/src/facades/speakers.ts +1 -1
- package/src/facades/speech.ts +21 -7
- package/src/generated/releaseMetadata.ts +20 -0
- package/src/index.ts +29 -4
- package/src/react/MentraLiveOtaFlow.tsx +569 -0
- package/src/react/index.ts +21 -0
- package/src/react/useEngineSnapshot.ts +16 -0
- package/src/react/useMentraLiveOta.ts +707 -0
- package/src/services/AppRegistry.ts +16 -0
- package/src/services/BlobStore.ts +57 -10
- package/src/services/CustomDashboardModel.ts +83 -0
- package/src/services/CustomDashboardService.ts +575 -0
- package/src/services/DeviceEventRouter.ts +47 -5
- package/src/services/GestureDotsService.ts +147 -0
- package/src/services/GlassesStatusProjection.ts +20 -11
- package/src/services/HotspotOtaTransport.ts +8 -7
- package/src/services/LocalDisplayManager.ts +130 -2
- package/src/services/LocalMiniappRuntime.ts +37 -0
- package/src/services/MiniappExitGesture.ts +76 -0
- package/src/services/OtaAutoChain.ts +130 -0
- package/src/services/OtaErrorMapping.ts +80 -0
- package/src/services/OtaInstallCoordinator.ts +19 -13
- package/src/services/OtaService.ts +1 -2
- package/src/services/OtaUpdateCheckService.ts +33 -19
- package/src/services/asg/localNetworkTransport.ts +20 -19
- package/src/services/gestureClaims.ts +28 -0
- package/src/services/gestureDotGlyphs.ts +14 -0
- package/src/services/glassesClockSync.ts +5 -1
- package/src/services/otaDisplayState.ts +1 -1
- package/src/services/otaInstallPolicy.ts +1 -1
- package/src/services/otaLegacyMapping.ts +1 -1
- package/src/services/otaManifestPolicy.ts +43 -0
- package/src/services/otaManifestUrl.ts +27 -36
- package/src/services/otaReleaseVersion.ts +22 -0
- package/src/stores/appVisibility.ts +3 -0
- package/src/stores/apps.ts +7 -1
- package/src/stores/core.ts +4 -4
- package/src/stores/glasses.ts +13 -6
- package/src/stores/settings.ts +87 -3
- package/src/types/applet.ts +2 -0
- package/src/types/enums.ts +1 -9
- package/src/types/hardware.ts +1 -1
- package/src/types/index.ts +2 -6
- package/src/utils/display/scene/process.ts +4 -3
- package/src/utils/display/scene/types.ts +0 -0
- package/build/devtools.d.ts +0 -11
- package/build/devtools.d.ts.map +0 -1
- package/build/devtools.js +0 -13
- package/build/devtools.js.map +0 -1
- package/build/internal.d.ts +0 -67
- package/build/internal.d.ts.map +0 -1
- package/build/internal.js +0 -90
- package/build/internal.js.map +0 -1
- package/src/devtools.ts +0 -13
- package/src/internal.ts +0 -155
package/build/internal.js
DELETED
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `@glassly/engine/internal` — the migration-era runtime surface.
|
|
3
|
-
*
|
|
4
|
-
* Raw zustand stores and service singletons that the Glassly app's host-side
|
|
5
|
-
* services (and the `@/stores/*` / `@/utils/*` shims) still reach into while
|
|
6
|
-
* the typed `engine` facades grow. Everything here either mutates runtime
|
|
7
|
-
* state or exposes a store/service directly, so none of it belongs on the
|
|
8
|
-
* OEM-facing `@glassly/engine` main entry: new host code should read/act
|
|
9
|
-
* through `engine.*` instead.
|
|
10
|
-
*
|
|
11
|
-
* Every `/internal` import in mobile/src is counted (report-only) by
|
|
12
|
-
* scripts/check-mobile-runtime-boundary.sh; the burn-down plan is
|
|
13
|
-
* cloud-v2/docs/issues/020-glasses-status-boundary/integration-review.md §D.
|
|
14
|
-
* Types that only describe these internal surfaces live here with them;
|
|
15
|
-
* types host UI renders with stay on the main entry.
|
|
16
|
-
*/
|
|
17
|
-
// Miniapp runtime plumbing: WebView bridge, registry, launcher, engine.
|
|
18
|
-
export { default as webviewBridge } from "./services/WebviewBridge";
|
|
19
|
-
export { default as appRegistry, normalizeManifestPermissions, normalizeManifestActions, buildHardwareRequirements, saveLocalAppRunningState, deriveDevPackageId, registerDevApp, unregisterDevApp, getDevAppRecords, getDevAppSourcePackage, getDevAppAttestation, DEV_APP_PACKAGE_NAME, } from "./services/AppRegistry";
|
|
20
|
-
export { default as displayProcessor } from "./services/DisplayProcessor";
|
|
21
|
-
export { default as localDisplayManager } from "./services/LocalDisplayManager";
|
|
22
|
-
export { default as localMiniappRuntime } from "./services/LocalMiniappRuntime";
|
|
23
|
-
export { miniappLauncher } from "./services/MiniappLauncher";
|
|
24
|
-
export { JSRouter, } from "./services/JSRouter";
|
|
25
|
-
export { buildUiShim } from "./services/uiShim";
|
|
26
|
-
export { UIRouter } from "./services/UIRouter";
|
|
27
|
-
export { JSCrashController, } from "./services/JSCrashController";
|
|
28
|
-
export { ensureMiniappEngine, getMiniappEngine } from "./services/MiniappEngine";
|
|
29
|
-
export { redactSecrets, JSLogThrottle, JSLogRingBuffer } from "./services/JSLogPipeline";
|
|
30
|
-
// WebView-injection script builders (miniapp globals + glassly-ui shim).
|
|
31
|
-
export { buildMiniappGlobalsScript, getCapsuleMenuRect, } from "./utils/miniappGlobals";
|
|
32
|
-
// Speech/audio coordinators and model managers.
|
|
33
|
-
export { default as localSttFallbackCoordinator } from "./services/LocalSttFallbackCoordinator";
|
|
34
|
-
export { default as micStateCoordinator } from "./services/MicStateCoordinator";
|
|
35
|
-
export { default as audioPlaybackService } from "./services/AudioPlaybackService";
|
|
36
|
-
export { default as sttModelManager, STTModelManager, } from "./services/STTModelManager";
|
|
37
|
-
export { default as ttsModelManager, TTSModelManager } from "./services/TTSModelManager";
|
|
38
|
-
export { default as offlineSpeechModelService, } from "./services/OfflineSpeechModelService";
|
|
39
|
-
export { default as navigationService } from "./services/NavigationService";
|
|
40
|
-
// Phone GPS — the background location task + tier control. Importing this
|
|
41
|
-
// module registers the background task, so the entry that MantleManager loads
|
|
42
|
-
// must keep re-exporting it (was: the main barrel).
|
|
43
|
-
export { phoneLocationService, stopPhoneLocation } from "./services/PhoneLocationService";
|
|
44
|
-
// Clock-skew fix commands (BLE writes) used by OTA + gallery sync.
|
|
45
|
-
export { fixGlassesClockIfSkewed, maybeFixGlassesClockFromVersionInfo } from "./services/glassesClockSync";
|
|
46
|
-
// OTA manifest-URL resolution (dev-override/legacy-build/env/prod).
|
|
47
|
-
export { resolveOtaManifestUrl } from "./services/otaManifestUrl";
|
|
48
|
-
// Flat OTA check helpers (network + BLE state). Host usage is a tracked
|
|
49
|
-
// burn-down surface (§F); the sanctioned path is engine.ota.checkForUpdates().
|
|
50
|
-
export { fetchVersionInfo, checkVersionUpdateAvailable, getLatestVersionInfo, findMatchingMtkPatch, checkBesUpdate, checkForOtaUpdate, checkCurrentGlassesForUpdate, } from "./services/OtaUpdateCheckService";
|
|
51
|
-
// Gallery cluster — sync orchestrator, glasses-camera HTTP API, media/storage,
|
|
52
|
-
// settings, validation and the service-to-service notice bus. Host gallery UI
|
|
53
|
-
// renders engine.gallery; these are the underlying services.
|
|
54
|
-
export { detectClockSkew, isSyncManifestEmpty, CLOCK_SKEW_TOLERANCE_MS } from "./services/gallerySyncClock";
|
|
55
|
-
export { gallerySyncService } from "./services/asg/gallerySyncService";
|
|
56
|
-
export { asgCameraApi } from "./services/asg/asgCameraApi";
|
|
57
|
-
export { localStorageService } from "./services/asg/localStorageService";
|
|
58
|
-
export { mediaProcessingQueue } from "./services/asg/mediaProcessingQueue";
|
|
59
|
-
export { gallerySettingsService } from "./services/asg/gallerySettingsService";
|
|
60
|
-
export { cameraRollExportCoordinator } from "./services/asg/cameraRollExportCoordinator";
|
|
61
|
-
export { INVALID_DOWNLOADED_MEDIA, validateCaptureMetadataForDownload, validateDownloadedMediaFile, } from "./services/asg/galleryMediaValidation";
|
|
62
|
-
export { emitGalleryNotice, onGalleryNotice } from "./services/asg/galleryNotices";
|
|
63
|
-
// Phone-side capture coordinators.
|
|
64
|
-
export { phonePhotoCoordinator } from "./services/PhonePhotoCoordinator";
|
|
65
|
-
export { phoneStreamCoordinator } from "./services/PhoneStreamCoordinator";
|
|
66
|
-
// Raw runtime stores (re-exported via the host @/stores/* shims). Read models
|
|
67
|
-
// live on the engine facades; these are the migration escape hatch.
|
|
68
|
-
export { useDisplayStore, flushDisplayCoalesceForTests } from "./stores/display";
|
|
69
|
-
export { useCoreStore } from "./stores/core";
|
|
70
|
-
export { useConnectionStore } from "./stores/connection";
|
|
71
|
-
export { useCloudClientStatusStore } from "./stores/cloudClientStatus";
|
|
72
|
-
export { SETTINGS, OFFLINE_APPLETS, useSettingsStore, useSetting } from "./stores/settings";
|
|
73
|
-
export { MENTRA_LIVE_SETTING_KEYS, getBluetoothSettingKeysForDevice } from "./stores/bluetoothSettingKeys";
|
|
74
|
-
export { useAppStatusStore, installAppStoreHooks } from "./stores/apps";
|
|
75
|
-
// Cloud client + credentials + v1 comms.
|
|
76
|
-
export { cloudSecureStore } from "./utils/cloudClient/cloudSecureStore";
|
|
77
|
-
export { cloudClientService } from "./services/CloudClientService";
|
|
78
|
-
export { createCloudUdpSocket } from "./utils/cloudClient/RnUdpAdapter";
|
|
79
|
-
// Log ring buffer + console interception (bug-report attachments).
|
|
80
|
-
export { logBuffer } from "./utils/devLogging";
|
|
81
|
-
// Bluetooth SDK internal compatibility passthrough. Prefer an engine facade
|
|
82
|
-
// when one exists; this remains an escape hatch for app-only compatibility
|
|
83
|
-
// needs (its event TYPES stay on the main entry).
|
|
84
|
-
export { default as BluetoothSdk } from "@glassly/bluetooth-sdk/internal";
|
|
85
|
-
// Engine-owned MMKV instance + debug helper.
|
|
86
|
-
export { storage, printDirectory } from "./utils/storage";
|
|
87
|
-
// Process-wide event bus — one shared instance for engine services + host
|
|
88
|
-
// (re-exported via the @/utils/GlobalEventEmitter shim).
|
|
89
|
-
export { default as GlobalEventEmitter } from "./utils/GlobalEventEmitter";
|
|
90
|
-
//# sourceMappingURL=internal.js.map
|
package/build/internal.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"","sources":["../src/internal.ts"],"names":[],"mappings":"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","sourcesContent":["/**\n * `@glassly/engine/internal` — the migration-era runtime surface.\n *\n * Raw zustand stores and service singletons that the Glassly app's host-side\n * services (and the `@/stores/*` / `@/utils/*` shims) still reach into while\n * the typed `engine` facades grow. Everything here either mutates runtime\n * state or exposes a store/service directly, so none of it belongs on the\n * OEM-facing `@glassly/engine` main entry: new host code should read/act\n * through `engine.*` instead.\n *\n * Every `/internal` import in mobile/src is counted (report-only) by\n * scripts/check-mobile-runtime-boundary.sh; the burn-down plan is\n * cloud-v2/docs/issues/020-glasses-status-boundary/integration-review.md §D.\n * Types that only describe these internal surfaces live here with them;\n * types host UI renders with stay on the main entry.\n */\n\n// Miniapp runtime plumbing: WebView bridge, registry, launcher, engine.\nexport {default as webviewBridge} from \"./services/WebviewBridge\"\nexport {\n default as appRegistry,\n normalizeManifestPermissions,\n normalizeManifestActions,\n buildHardwareRequirements,\n saveLocalAppRunningState,\n deriveDevPackageId,\n registerDevApp,\n unregisterDevApp,\n getDevAppRecords,\n getDevAppSourcePackage,\n getDevAppAttestation,\n DEV_APP_PACKAGE_NAME,\n type DevAppRecord,\n type MiniappReleaseIdentity,\n} from \"./services/AppRegistry\"\nexport {default as displayProcessor} from \"./services/DisplayProcessor\"\nexport {default as localDisplayManager, type DisplayPayload} from \"./services/LocalDisplayManager\"\nexport {default as localMiniappRuntime, type InstalledMiniappManifest} from \"./services/LocalMiniappRuntime\"\nexport {miniappLauncher, type LaunchHints, type LaunchResult, type ResolvedBundle} from \"./services/MiniappLauncher\"\nexport {\n JSRouter,\n type JSCrustBinding,\n type OutboundMessagePayload as JSOutboundMessage,\n type RouterLogger as JSRouterLogger,\n} from \"./services/JSRouter\"\nexport {buildUiShim, type UiShimOptions} from \"./services/uiShim\"\nexport {UIRouter, type UICrustBinding} from \"./services/UIRouter\"\nexport {\n JSCrashController,\n type CrashState,\n type CrashOutcome,\n type CrashControllerOptions,\n} from \"./services/JSCrashController\"\nexport {ensureMiniappEngine, getMiniappEngine, type MiniappEngine} from \"./services/MiniappEngine\"\nexport {redactSecrets, JSLogThrottle, JSLogRingBuffer, type ThrottleOptions} from \"./services/JSLogPipeline\"\n// WebView-injection script builders (miniapp globals + glassly-ui shim).\nexport {\n buildMiniappGlobalsScript,\n getCapsuleMenuRect,\n type BuildMiniappGlobalsOptions,\n type CapsuleMenuRect,\n type MiniappColorScheme,\n type MiniappSafeArea,\n} from \"./utils/miniappGlobals\"\n\n// Speech/audio coordinators and model managers.\nexport {default as localSttFallbackCoordinator} from \"./services/LocalSttFallbackCoordinator\"\nexport {default as micStateCoordinator} from \"./services/MicStateCoordinator\"\nexport {default as audioPlaybackService} from \"./services/AudioPlaybackService\"\nexport {\n default as sttModelManager,\n STTModelManager,\n type LanguageInfo as SttLanguageInfo,\n type LanguageConfig as SttLanguageConfig,\n type DownloadProgress as SttDownloadProgress,\n type ExtractionProgress as SttExtractionProgress,\n} from \"./services/STTModelManager\"\nexport {default as ttsModelManager, TTSModelManager} from \"./services/TTSModelManager\"\nexport {\n default as offlineSpeechModelService,\n type DownloadStatus as OfflineModelDownloadStatus,\n type DownloadStage as OfflineModelDownloadStage,\n} from \"./services/OfflineSpeechModelService\"\n\nexport {default as navigationService} from \"./services/NavigationService\"\n// Phone GPS — the background location task + tier control. Importing this\n// module registers the background task, so the entry that MantleManager loads\n// must keep re-exporting it (was: the main barrel).\nexport {phoneLocationService, stopPhoneLocation} from \"./services/PhoneLocationService\"\n// Clock-skew fix commands (BLE writes) used by OTA + gallery sync.\nexport {fixGlassesClockIfSkewed, maybeFixGlassesClockFromVersionInfo} from \"./services/glassesClockSync\"\n// OTA manifest-URL resolution (dev-override/legacy-build/env/prod).\nexport {resolveOtaManifestUrl} from \"./services/otaManifestUrl\"\n// Flat OTA check helpers (network + BLE state). Host usage is a tracked\n// burn-down surface (§F); the sanctioned path is engine.ota.checkForUpdates().\nexport {\n fetchVersionInfo,\n checkVersionUpdateAvailable,\n getLatestVersionInfo,\n findMatchingMtkPatch,\n checkBesUpdate,\n checkForOtaUpdate,\n checkCurrentGlassesForUpdate,\n} from \"./services/OtaUpdateCheckService\"\n\n// Gallery cluster — sync orchestrator, glasses-camera HTTP API, media/storage,\n// settings, validation and the service-to-service notice bus. Host gallery UI\n// renders engine.gallery; these are the underlying services.\nexport {detectClockSkew, isSyncManifestEmpty, CLOCK_SKEW_TOLERANCE_MS} from \"./services/gallerySyncClock\"\nexport {gallerySyncService} from \"./services/asg/gallerySyncService\"\nexport {asgCameraApi} from \"./services/asg/asgCameraApi\"\nexport {localStorageService} from \"./services/asg/localStorageService\"\nexport {mediaProcessingQueue} from \"./services/asg/mediaProcessingQueue\"\nexport {gallerySettingsService} from \"./services/asg/gallerySettingsService\"\nexport {cameraRollExportCoordinator, type CameraRollExportSummary} from \"./services/asg/cameraRollExportCoordinator\"\nexport {\n INVALID_DOWNLOADED_MEDIA,\n validateCaptureMetadataForDownload,\n validateDownloadedMediaFile,\n} from \"./services/asg/galleryMediaValidation\"\nexport {emitGalleryNotice, onGalleryNotice} from \"./services/asg/galleryNotices\"\n\n// Phone-side capture coordinators.\nexport {phonePhotoCoordinator} from \"./services/PhonePhotoCoordinator\"\nexport {phoneStreamCoordinator} from \"./services/PhoneStreamCoordinator\"\n\n// Raw runtime stores (re-exported via the host @/stores/* shims). Read models\n// live on the engine facades; these are the migration escape hatch.\nexport {useDisplayStore, flushDisplayCoalesceForTests} from \"./stores/display\"\nexport {useCoreStore} from \"./stores/core\"\nexport {useConnectionStore} from \"./stores/connection\"\nexport {useCloudClientStatusStore} from \"./stores/cloudClientStatus\"\nexport type {RuntimeAudioTransport, RuntimeSnapshot, RuntimeStatus} from \"./stores/cloudClientStatus\"\nexport {SETTINGS, OFFLINE_APPLETS, useSettingsStore, useSetting} from \"./stores/settings\"\nexport {MENTRA_LIVE_SETTING_KEYS, getBluetoothSettingKeysForDevice} from \"./stores/bluetoothSettingKeys\"\nexport {useAppStatusStore, installAppStoreHooks, type AppStoreHooks} from \"./stores/apps\"\n\n// Cloud client + credentials + v1 comms.\nexport {cloudSecureStore} from \"./utils/cloudClient/cloudSecureStore\"\nexport {cloudClientService} from \"./services/CloudClientService\"\nexport {createCloudUdpSocket} from \"./utils/cloudClient/RnUdpAdapter\"\n\n// Log ring buffer + console interception (bug-report attachments).\nexport {logBuffer, type LogEntry} from \"./utils/devLogging\"\n\n// Bluetooth SDK internal compatibility passthrough. Prefer an engine facade\n// when one exists; this remains an escape hatch for app-only compatibility\n// needs (its event TYPES stay on the main entry).\nexport {default as BluetoothSdk} from \"@glassly/bluetooth-sdk/internal\"\n\n// Engine-owned MMKV instance + debug helper.\nexport {storage, printDirectory} from \"./utils/storage\"\n// Process-wide event bus — one shared instance for engine services + host\n// (re-exported via the @/utils/GlobalEventEmitter shim).\nexport {default as GlobalEventEmitter} from \"./utils/GlobalEventEmitter\"\n"]}
|
package/src/devtools.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `@glassly/engine/devtools` — the devtools-only surface.
|
|
3
|
-
*
|
|
4
|
-
* Debug/diagnostic singletons consumed by the Glassly app's internal dev
|
|
5
|
-
* screens (stress test, miniapp dev-server tooling). Never import this from
|
|
6
|
-
* product UI or host services; every `/devtools` import in mobile/src is
|
|
7
|
-
* counted (report-only) by scripts/check-mobile-runtime-boundary.sh.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
// Which miniapps the local runtime currently has running (stress-test screen).
|
|
11
|
-
export {miniappRunningRegistry} from "./services/MiniappRunningRegistry"
|
|
12
|
-
// Dev-server connection bridge for live-reloading local miniapps.
|
|
13
|
-
export {default as devServerBridge} from "./services/DevServerBridge"
|
package/src/internal.ts
DELETED
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* `@glassly/engine/internal` — the migration-era runtime surface.
|
|
3
|
-
*
|
|
4
|
-
* Raw zustand stores and service singletons that the Glassly app's host-side
|
|
5
|
-
* services (and the `@/stores/*` / `@/utils/*` shims) still reach into while
|
|
6
|
-
* the typed `engine` facades grow. Everything here either mutates runtime
|
|
7
|
-
* state or exposes a store/service directly, so none of it belongs on the
|
|
8
|
-
* OEM-facing `@glassly/engine` main entry: new host code should read/act
|
|
9
|
-
* through `engine.*` instead.
|
|
10
|
-
*
|
|
11
|
-
* Every `/internal` import in mobile/src is counted (report-only) by
|
|
12
|
-
* scripts/check-mobile-runtime-boundary.sh; the burn-down plan is
|
|
13
|
-
* cloud-v2/docs/issues/020-glasses-status-boundary/integration-review.md §D.
|
|
14
|
-
* Types that only describe these internal surfaces live here with them;
|
|
15
|
-
* types host UI renders with stay on the main entry.
|
|
16
|
-
*/
|
|
17
|
-
|
|
18
|
-
// Miniapp runtime plumbing: WebView bridge, registry, launcher, engine.
|
|
19
|
-
export {default as webviewBridge} from "./services/WebviewBridge"
|
|
20
|
-
export {
|
|
21
|
-
default as appRegistry,
|
|
22
|
-
normalizeManifestPermissions,
|
|
23
|
-
normalizeManifestActions,
|
|
24
|
-
buildHardwareRequirements,
|
|
25
|
-
saveLocalAppRunningState,
|
|
26
|
-
deriveDevPackageId,
|
|
27
|
-
registerDevApp,
|
|
28
|
-
unregisterDevApp,
|
|
29
|
-
getDevAppRecords,
|
|
30
|
-
getDevAppSourcePackage,
|
|
31
|
-
getDevAppAttestation,
|
|
32
|
-
DEV_APP_PACKAGE_NAME,
|
|
33
|
-
type DevAppRecord,
|
|
34
|
-
type MiniappReleaseIdentity,
|
|
35
|
-
} from "./services/AppRegistry"
|
|
36
|
-
export {default as displayProcessor} from "./services/DisplayProcessor"
|
|
37
|
-
export {default as localDisplayManager, type DisplayPayload} from "./services/LocalDisplayManager"
|
|
38
|
-
export {default as localMiniappRuntime, type InstalledMiniappManifest} from "./services/LocalMiniappRuntime"
|
|
39
|
-
export {miniappLauncher, type LaunchHints, type LaunchResult, type ResolvedBundle} from "./services/MiniappLauncher"
|
|
40
|
-
export {
|
|
41
|
-
JSRouter,
|
|
42
|
-
type JSCrustBinding,
|
|
43
|
-
type OutboundMessagePayload as JSOutboundMessage,
|
|
44
|
-
type RouterLogger as JSRouterLogger,
|
|
45
|
-
} from "./services/JSRouter"
|
|
46
|
-
export {buildUiShim, type UiShimOptions} from "./services/uiShim"
|
|
47
|
-
export {UIRouter, type UICrustBinding} from "./services/UIRouter"
|
|
48
|
-
export {
|
|
49
|
-
JSCrashController,
|
|
50
|
-
type CrashState,
|
|
51
|
-
type CrashOutcome,
|
|
52
|
-
type CrashControllerOptions,
|
|
53
|
-
} from "./services/JSCrashController"
|
|
54
|
-
export {ensureMiniappEngine, getMiniappEngine, type MiniappEngine} from "./services/MiniappEngine"
|
|
55
|
-
export {redactSecrets, JSLogThrottle, JSLogRingBuffer, type ThrottleOptions} from "./services/JSLogPipeline"
|
|
56
|
-
// WebView-injection script builders (miniapp globals + glassly-ui shim).
|
|
57
|
-
export {
|
|
58
|
-
buildMiniappGlobalsScript,
|
|
59
|
-
getCapsuleMenuRect,
|
|
60
|
-
type BuildMiniappGlobalsOptions,
|
|
61
|
-
type CapsuleMenuRect,
|
|
62
|
-
type MiniappColorScheme,
|
|
63
|
-
type MiniappSafeArea,
|
|
64
|
-
} from "./utils/miniappGlobals"
|
|
65
|
-
|
|
66
|
-
// Speech/audio coordinators and model managers.
|
|
67
|
-
export {default as localSttFallbackCoordinator} from "./services/LocalSttFallbackCoordinator"
|
|
68
|
-
export {default as micStateCoordinator} from "./services/MicStateCoordinator"
|
|
69
|
-
export {default as audioPlaybackService} from "./services/AudioPlaybackService"
|
|
70
|
-
export {
|
|
71
|
-
default as sttModelManager,
|
|
72
|
-
STTModelManager,
|
|
73
|
-
type LanguageInfo as SttLanguageInfo,
|
|
74
|
-
type LanguageConfig as SttLanguageConfig,
|
|
75
|
-
type DownloadProgress as SttDownloadProgress,
|
|
76
|
-
type ExtractionProgress as SttExtractionProgress,
|
|
77
|
-
} from "./services/STTModelManager"
|
|
78
|
-
export {default as ttsModelManager, TTSModelManager} from "./services/TTSModelManager"
|
|
79
|
-
export {
|
|
80
|
-
default as offlineSpeechModelService,
|
|
81
|
-
type DownloadStatus as OfflineModelDownloadStatus,
|
|
82
|
-
type DownloadStage as OfflineModelDownloadStage,
|
|
83
|
-
} from "./services/OfflineSpeechModelService"
|
|
84
|
-
|
|
85
|
-
export {default as navigationService} from "./services/NavigationService"
|
|
86
|
-
// Phone GPS — the background location task + tier control. Importing this
|
|
87
|
-
// module registers the background task, so the entry that MantleManager loads
|
|
88
|
-
// must keep re-exporting it (was: the main barrel).
|
|
89
|
-
export {phoneLocationService, stopPhoneLocation} from "./services/PhoneLocationService"
|
|
90
|
-
// Clock-skew fix commands (BLE writes) used by OTA + gallery sync.
|
|
91
|
-
export {fixGlassesClockIfSkewed, maybeFixGlassesClockFromVersionInfo} from "./services/glassesClockSync"
|
|
92
|
-
// OTA manifest-URL resolution (dev-override/legacy-build/env/prod).
|
|
93
|
-
export {resolveOtaManifestUrl} from "./services/otaManifestUrl"
|
|
94
|
-
// Flat OTA check helpers (network + BLE state). Host usage is a tracked
|
|
95
|
-
// burn-down surface (§F); the sanctioned path is engine.ota.checkForUpdates().
|
|
96
|
-
export {
|
|
97
|
-
fetchVersionInfo,
|
|
98
|
-
checkVersionUpdateAvailable,
|
|
99
|
-
getLatestVersionInfo,
|
|
100
|
-
findMatchingMtkPatch,
|
|
101
|
-
checkBesUpdate,
|
|
102
|
-
checkForOtaUpdate,
|
|
103
|
-
checkCurrentGlassesForUpdate,
|
|
104
|
-
} from "./services/OtaUpdateCheckService"
|
|
105
|
-
|
|
106
|
-
// Gallery cluster — sync orchestrator, glasses-camera HTTP API, media/storage,
|
|
107
|
-
// settings, validation and the service-to-service notice bus. Host gallery UI
|
|
108
|
-
// renders engine.gallery; these are the underlying services.
|
|
109
|
-
export {detectClockSkew, isSyncManifestEmpty, CLOCK_SKEW_TOLERANCE_MS} from "./services/gallerySyncClock"
|
|
110
|
-
export {gallerySyncService} from "./services/asg/gallerySyncService"
|
|
111
|
-
export {asgCameraApi} from "./services/asg/asgCameraApi"
|
|
112
|
-
export {localStorageService} from "./services/asg/localStorageService"
|
|
113
|
-
export {mediaProcessingQueue} from "./services/asg/mediaProcessingQueue"
|
|
114
|
-
export {gallerySettingsService} from "./services/asg/gallerySettingsService"
|
|
115
|
-
export {cameraRollExportCoordinator, type CameraRollExportSummary} from "./services/asg/cameraRollExportCoordinator"
|
|
116
|
-
export {
|
|
117
|
-
INVALID_DOWNLOADED_MEDIA,
|
|
118
|
-
validateCaptureMetadataForDownload,
|
|
119
|
-
validateDownloadedMediaFile,
|
|
120
|
-
} from "./services/asg/galleryMediaValidation"
|
|
121
|
-
export {emitGalleryNotice, onGalleryNotice} from "./services/asg/galleryNotices"
|
|
122
|
-
|
|
123
|
-
// Phone-side capture coordinators.
|
|
124
|
-
export {phonePhotoCoordinator} from "./services/PhonePhotoCoordinator"
|
|
125
|
-
export {phoneStreamCoordinator} from "./services/PhoneStreamCoordinator"
|
|
126
|
-
|
|
127
|
-
// Raw runtime stores (re-exported via the host @/stores/* shims). Read models
|
|
128
|
-
// live on the engine facades; these are the migration escape hatch.
|
|
129
|
-
export {useDisplayStore, flushDisplayCoalesceForTests} from "./stores/display"
|
|
130
|
-
export {useCoreStore} from "./stores/core"
|
|
131
|
-
export {useConnectionStore} from "./stores/connection"
|
|
132
|
-
export {useCloudClientStatusStore} from "./stores/cloudClientStatus"
|
|
133
|
-
export type {RuntimeAudioTransport, RuntimeSnapshot, RuntimeStatus} from "./stores/cloudClientStatus"
|
|
134
|
-
export {SETTINGS, OFFLINE_APPLETS, useSettingsStore, useSetting} from "./stores/settings"
|
|
135
|
-
export {MENTRA_LIVE_SETTING_KEYS, getBluetoothSettingKeysForDevice} from "./stores/bluetoothSettingKeys"
|
|
136
|
-
export {useAppStatusStore, installAppStoreHooks, type AppStoreHooks} from "./stores/apps"
|
|
137
|
-
|
|
138
|
-
// Cloud client + credentials + v1 comms.
|
|
139
|
-
export {cloudSecureStore} from "./utils/cloudClient/cloudSecureStore"
|
|
140
|
-
export {cloudClientService} from "./services/CloudClientService"
|
|
141
|
-
export {createCloudUdpSocket} from "./utils/cloudClient/RnUdpAdapter"
|
|
142
|
-
|
|
143
|
-
// Log ring buffer + console interception (bug-report attachments).
|
|
144
|
-
export {logBuffer, type LogEntry} from "./utils/devLogging"
|
|
145
|
-
|
|
146
|
-
// Bluetooth SDK internal compatibility passthrough. Prefer an engine facade
|
|
147
|
-
// when one exists; this remains an escape hatch for app-only compatibility
|
|
148
|
-
// needs (its event TYPES stay on the main entry).
|
|
149
|
-
export {default as BluetoothSdk} from "@glassly/bluetooth-sdk/internal"
|
|
150
|
-
|
|
151
|
-
// Engine-owned MMKV instance + debug helper.
|
|
152
|
-
export {storage, printDirectory} from "./utils/storage"
|
|
153
|
-
// Process-wide event bus — one shared instance for engine services + host
|
|
154
|
-
// (re-exported via the @/utils/GlobalEventEmitter shim).
|
|
155
|
-
export {default as GlobalEventEmitter} from "./utils/GlobalEventEmitter"
|