@glassly/engine 0.3.7-dev.974 → 0.3.8-beta.1013
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/build/engine.d.ts +10 -0
- package/build/engine.d.ts.map +1 -1
- package/build/facades/ai.d.ts +3 -0
- package/build/facades/ai.d.ts.map +1 -1
- package/build/facades/ai.js +3 -0
- package/build/facades/ai.js.map +1 -1
- package/build/facades/glasses.d.ts +9 -1
- package/build/facades/glasses.d.ts.map +1 -1
- package/build/facades/glasses.js +13 -0
- package/build/facades/glasses.js.map +1 -1
- package/build/generated/releaseMetadata.js +4 -4
- package/build/generated/releaseMetadata.js.map +1 -1
- package/build/index.d.ts +2 -1
- package/build/index.d.ts.map +1 -1
- package/build/index.js.map +1 -1
- package/build/services/CloudClientService.d.ts +2 -1
- package/build/services/CloudClientService.d.ts.map +1 -1
- package/build/services/CloudClientService.js +8 -0
- package/build/services/CloudClientService.js.map +1 -1
- package/build/services/DeviceEventRouter.d.ts.map +1 -1
- package/build/services/DeviceEventRouter.js +1 -0
- package/build/services/DeviceEventRouter.js.map +1 -1
- package/build/services/DisplayDiagnostics.d.ts.map +1 -1
- package/build/services/DisplayDiagnostics.js +4 -2
- package/build/services/DisplayDiagnostics.js.map +1 -1
- package/build/services/LocalDisplayManager.d.ts.map +1 -1
- package/build/services/LocalDisplayManager.js +5 -2
- package/build/services/LocalDisplayManager.js.map +1 -1
- package/build/services/LocalMiniappRuntime.d.ts.map +1 -1
- package/build/services/LocalMiniappRuntime.js +7 -2
- package/build/services/LocalMiniappRuntime.js.map +1 -1
- package/build/services/LocalSttFallbackCoordinator.d.ts.map +1 -1
- package/build/services/LocalSttFallbackCoordinator.js +2 -0
- package/build/services/LocalSttFallbackCoordinator.js.map +1 -1
- package/build/services/LocalTranslationService.d.ts +2 -0
- package/build/services/LocalTranslationService.d.ts.map +1 -1
- package/build/services/LocalTranslationService.js +22 -0
- package/build/services/LocalTranslationService.js.map +1 -1
- package/build/services/OfflineActivity.d.ts +54 -0
- package/build/services/OfflineActivity.d.ts.map +1 -0
- package/build/services/OfflineActivity.js +86 -0
- package/build/services/OfflineActivity.js.map +1 -0
- package/build/services/STTModelManager.d.ts +1 -0
- package/build/services/STTModelManager.d.ts.map +1 -1
- package/build/services/STTModelManager.js +6 -0
- package/build/services/STTModelManager.js.map +1 -1
- package/build/services/controllers.d.ts.map +1 -1
- package/build/services/controllers.js +2 -0
- package/build/services/controllers.js.map +1 -1
- package/build/services/effectiveCapabilities.js +3 -1
- package/build/services/effectiveCapabilities.js.map +1 -1
- package/build/services/neuralBand/NeuralBandInput.d.ts +12 -1
- package/build/services/neuralBand/NeuralBandInput.d.ts.map +1 -1
- package/build/services/neuralBand/NeuralBandInput.js +27 -0
- package/build/services/neuralBand/NeuralBandInput.js.map +1 -1
- package/build/services/neuralBand/NeuralBandSettingsSync.d.ts.map +1 -1
- package/build/services/neuralBand/NeuralBandSettingsSync.js +6 -0
- package/build/services/neuralBand/NeuralBandSettingsSync.js.map +1 -1
- package/build/stores/appVisibility.d.ts.map +1 -1
- package/build/stores/appVisibility.js +0 -1
- package/build/stores/appVisibility.js.map +1 -1
- package/build/stores/apps.js +9 -9
- package/build/stores/apps.js.map +1 -1
- package/build/stores/settings.d.ts.map +1 -1
- package/build/stores/settings.js +26 -3
- package/build/stores/settings.js.map +1 -1
- package/build/types/capabilities/memomind-one.d.ts.map +1 -1
- package/build/types/capabilities/memomind-one.js +1 -0
- package/build/types/capabilities/memomind-one.js.map +1 -1
- package/build/types/capabilities/rayneo-io.d.ts.map +1 -1
- package/build/types/capabilities/rayneo-io.js +3 -2
- package/build/types/capabilities/rayneo-io.js.map +1 -1
- package/build/types/enums.d.ts +3 -1
- package/build/types/enums.d.ts.map +1 -1
- package/build/types/enums.js +2 -0
- package/build/types/enums.js.map +1 -1
- package/package.json +7 -7
- package/src/facades/ai.ts +4 -0
- package/src/facades/glasses.ts +17 -0
- package/src/generated/releaseMetadata.ts +4 -4
- package/src/index.ts +9 -0
- package/src/services/CloudClientService.ts +8 -0
- package/src/services/DeviceEventRouter.ts +1 -0
- package/src/services/DisplayDiagnostics.ts +4 -2
- package/src/services/LocalDisplayManager.ts +5 -2
- package/src/services/LocalMiniappRuntime.ts +6 -2
- package/src/services/LocalSttFallbackCoordinator.ts +4 -0
- package/src/services/LocalTranslationService.ts +20 -0
- package/src/services/OfflineActivity.ts +131 -0
- package/src/services/STTModelManager.ts +6 -0
- package/src/services/controllers.ts +2 -0
- package/src/services/effectiveCapabilities.ts +3 -1
- package/src/services/neuralBand/NeuralBandInput.ts +37 -1
- package/src/services/neuralBand/NeuralBandSettingsSync.ts +12 -0
- package/src/stores/appVisibility.ts +0 -1
- package/src/stores/apps.ts +11 -11
- package/src/stores/settings.ts +26 -3
- package/src/types/capabilities/memomind-one.ts +1 -0
- package/src/types/capabilities/rayneo-io.ts +3 -2
- package/src/types/enums.ts +2 -0
package/src/stores/apps.ts
CHANGED
|
@@ -388,17 +388,6 @@ export const useAppStatusStore = create<AppStatusState>((set, get) => ({
|
|
|
388
388
|
// owns the settings store).
|
|
389
389
|
useSettingsStore.getState().setSetting(SETTINGS.has_ever_activated_app.key, true)
|
|
390
390
|
|
|
391
|
-
// If the tapped app is already running, this is a re-open: the nav/foreground
|
|
392
|
-
// above already drove the animation, and there's nothing to spawn. Short-
|
|
393
|
-
// circuit before the spawn pipeline. A promoted app keeps its context but
|
|
394
|
-
// still takes the foreground below.
|
|
395
|
-
if (app.running && !app.widgetOnly) {
|
|
396
|
-
saveLastOpenTime(packageName)
|
|
397
|
-
// The running background only knows the source of its spawn.
|
|
398
|
-
if (app.local) miniappLauncher.notifyLaunch(packageName, opts?.launchSource ?? "phone")
|
|
399
|
-
return true
|
|
400
|
-
}
|
|
401
|
-
|
|
402
391
|
// Only-one rules: one standard app in the foreground, one dashboard
|
|
403
392
|
// drawing the overlay. Starting another stops the one running. Widget-only
|
|
404
393
|
// peers hold no foreground, so they stay.
|
|
@@ -411,6 +400,17 @@ export const useAppStatusStore = create<AppStatusState>((set, get) => ({
|
|
|
411
400
|
}
|
|
412
401
|
}
|
|
413
402
|
|
|
403
|
+
// If the tapped app is already running, this is a re-open: the nav/foreground
|
|
404
|
+
// above already drove the animation, and there's nothing to spawn. Short-
|
|
405
|
+
// circuit before the spawn pipeline. A promoted app keeps its context but
|
|
406
|
+
// still takes the foreground below.
|
|
407
|
+
if (app.running && !app.widgetOnly) {
|
|
408
|
+
saveLastOpenTime(packageName)
|
|
409
|
+
// The running background only knows the source of its spawn.
|
|
410
|
+
if (app.local) miniappLauncher.notifyLaunch(packageName, opts?.launchSource ?? "phone")
|
|
411
|
+
return true
|
|
412
|
+
}
|
|
413
|
+
|
|
414
414
|
set((s) => ({
|
|
415
415
|
apps: s.apps.map((a) => (a.packageName === packageName ? {...a, running: true, loading: false} : a)),
|
|
416
416
|
}))
|
package/src/stores/settings.ts
CHANGED
|
@@ -132,6 +132,13 @@ export const SETTINGS: Record<string, Setting> = {
|
|
|
132
132
|
saveOnServer: true,
|
|
133
133
|
persist: true,
|
|
134
134
|
},
|
|
135
|
+
memomind_accessory_picker: {
|
|
136
|
+
key: "memomind_accessory_picker",
|
|
137
|
+
defaultValue: () => false,
|
|
138
|
+
writable: true,
|
|
139
|
+
saveOnServer: false,
|
|
140
|
+
persist: true,
|
|
141
|
+
},
|
|
135
142
|
debug_console: {
|
|
136
143
|
key: "debug_console",
|
|
137
144
|
defaultValue: () => false,
|
|
@@ -803,8 +810,8 @@ export const SETTINGS: Record<string, Setting> = {
|
|
|
803
810
|
// OFF by default: they crowd out everything else in the ten-minute buffer.
|
|
804
811
|
// Synced to the Bluetooth SDK, which keeps counting either way and only
|
|
805
812
|
// logs while this is on. Device-local debug knob, so not saved on the server.
|
|
806
|
-
|
|
807
|
-
key: "
|
|
813
|
+
perf_logs: {
|
|
814
|
+
key: "perf_logs",
|
|
808
815
|
defaultValue: () => false,
|
|
809
816
|
writable: true,
|
|
810
817
|
saveOnServer: false,
|
|
@@ -841,6 +848,14 @@ export const SETTINGS: Record<string, Setting> = {
|
|
|
841
848
|
saveOnServer: false,
|
|
842
849
|
persist: true,
|
|
843
850
|
},
|
|
851
|
+
// The band's own buzz on each gesture (its haptics pattern 1; pattern 2 is silent).
|
|
852
|
+
neural_band_vibration: {
|
|
853
|
+
key: "neural_band_vibration",
|
|
854
|
+
defaultValue: () => true,
|
|
855
|
+
writable: true,
|
|
856
|
+
saveOnServer: false,
|
|
857
|
+
persist: true,
|
|
858
|
+
},
|
|
844
859
|
// Watch (Apple Watch, Wear OS): draw the glasses' current frame behind the watch
|
|
845
860
|
// trackpad. Frames cross the watch link while the watch app is up, so it stays off
|
|
846
861
|
// unless asked for.
|
|
@@ -923,6 +938,13 @@ export const SETTINGS: Record<string, Setting> = {
|
|
|
923
938
|
saveOnServer: false,
|
|
924
939
|
persist: true,
|
|
925
940
|
},
|
|
941
|
+
home_offline_card: {
|
|
942
|
+
key: "home_offline_card",
|
|
943
|
+
defaultValue: () => true,
|
|
944
|
+
writable: true,
|
|
945
|
+
saveOnServer: false,
|
|
946
|
+
persist: true,
|
|
947
|
+
},
|
|
926
948
|
// Gesture-dots debug indicator: flash a glyph on the glasses when a touch
|
|
927
949
|
// gesture is received while the display is empty. Works on any
|
|
928
950
|
// scene-capable device, not only CFW. Device-local debug knob, default off.
|
|
@@ -1231,7 +1253,8 @@ export const BLUETOOTH_SETTING_KEYS: string[] = [
|
|
|
1231
1253
|
SETTINGS.calendar_events.key,
|
|
1232
1254
|
SETTINGS.cfw_scene_renderer.key,
|
|
1233
1255
|
SETTINGS.cfw_fast_ble.key,
|
|
1234
|
-
SETTINGS.
|
|
1256
|
+
SETTINGS.perf_logs.key,
|
|
1257
|
+
SETTINGS.memomind_accessory_picker.key,
|
|
1235
1258
|
SETTINGS.ring_via_glasses.key,
|
|
1236
1259
|
SETTINGS.display_max_fps.key,
|
|
1237
1260
|
SETTINGS.twelve_hour_time.key,
|
|
@@ -19,10 +19,11 @@ export const rayneoIO: Capabilities = {
|
|
|
19
19
|
hasCamera: false,
|
|
20
20
|
camera: null,
|
|
21
21
|
|
|
22
|
-
// Display capabilities -
|
|
22
|
+
// Display capabilities - a monochrome panel per eye; the Glassly CFW keeps
|
|
23
|
+
// a scene per lens, so element depth is a real disparity here
|
|
23
24
|
hasDisplay: true,
|
|
24
25
|
display: {
|
|
25
|
-
count:
|
|
26
|
+
count: 2,
|
|
26
27
|
isColor: false,
|
|
27
28
|
color: "green",
|
|
28
29
|
// Bitmaps and positioned elements need the Glassly CFW; stock firmware
|