@glassly/engine 0.3.5-beta.781 → 0.3.5-beta.792
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/generated/releaseMetadata.js +3 -3
- package/build/generated/releaseMetadata.js.map +1 -1
- package/build/services/GlassesTouchInput.d.ts.map +1 -1
- package/build/services/GlassesTouchInput.js +5 -4
- package/build/services/GlassesTouchInput.js.map +1 -1
- package/build/services/LocalMiniappRuntime.d.ts.map +1 -1
- package/build/services/LocalMiniappRuntime.js +5 -1
- package/build/services/LocalMiniappRuntime.js.map +1 -1
- package/package.json +7 -7
- package/src/generated/releaseMetadata.ts +3 -3
- package/src/services/GlassesTouchInput.ts +5 -4
- package/src/services/LocalMiniappRuntime.ts +4 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glassly/engine",
|
|
3
|
-
"version": "0.3.5-beta.
|
|
3
|
+
"version": "0.3.5-beta.792",
|
|
4
4
|
"description": "Glassly Engine — miniapp registry, WebView bridge, and miniapp store",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"react-native": "src/index.ts",
|
|
@@ -97,17 +97,17 @@
|
|
|
97
97
|
"registry": "https://registry.npmjs.org/"
|
|
98
98
|
},
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@glassly/bluetooth-sdk": "0.3.5-beta.
|
|
101
|
-
"@glassly/cloud-client": "0.3.5-beta.
|
|
102
|
-
"@glassly/cloud-protocol": "0.3.5-beta.
|
|
103
|
-
"@glassly/crust": "0.3.5-beta.
|
|
104
|
-
"@glassly/miniapp": "0.3.5-beta.
|
|
100
|
+
"@glassly/bluetooth-sdk": "0.3.5-beta.792",
|
|
101
|
+
"@glassly/cloud-client": "0.3.5-beta.792",
|
|
102
|
+
"@glassly/cloud-protocol": "0.3.5-beta.792",
|
|
103
|
+
"@glassly/crust": "0.3.5-beta.792",
|
|
104
|
+
"@glassly/miniapp": "0.3.5-beta.792",
|
|
105
105
|
"buffer": "^6.0.3",
|
|
106
106
|
"events": "^3.3.0",
|
|
107
107
|
"react-native-marked": "8.1.1",
|
|
108
108
|
"semver": "^7.7.4",
|
|
109
109
|
"typesafe-ts": "^1.7.1",
|
|
110
|
-
"@glassly/llm-providers": "0.3.5-beta.
|
|
110
|
+
"@glassly/llm-providers": "0.3.5-beta.792",
|
|
111
111
|
"@huggingface/jinja": "^0.5.9",
|
|
112
112
|
"jsonrepair": "^3.12.0"
|
|
113
113
|
},
|
|
@@ -12,9 +12,9 @@ export interface EngineReleaseMetadata {
|
|
|
12
12
|
export const ENGINE_RELEASE_METADATA: Readonly<EngineReleaseMetadata> = Object.freeze({
|
|
13
13
|
"schemaVersion": 1,
|
|
14
14
|
"familyBaseVersion": "0.3.5",
|
|
15
|
-
"releaseIdentity": "0.3.5-beta.
|
|
16
|
-
"releaseSetId": "glassly-0.3.5-beta.
|
|
17
|
-
"sourceCommit": "
|
|
15
|
+
"releaseIdentity": "0.3.5-beta.792",
|
|
16
|
+
"releaseSetId": "glassly-0.3.5-beta.792",
|
|
17
|
+
"sourceCommit": "650bb1b9e5418ef2b3d8928df39e032a61a043e3",
|
|
18
18
|
"otaManifestUrl": null,
|
|
19
19
|
"otaManifestSha256": null
|
|
20
20
|
})
|
|
@@ -107,12 +107,13 @@ export function dispatchTouchEvent(event: TouchEvent): void {
|
|
|
107
107
|
function routeTouchEvent(event: TouchEvent): void {
|
|
108
108
|
const gesture = event.gestureName
|
|
109
109
|
const claimant = localMiniappRuntime.gestureClaimant(gesture)
|
|
110
|
-
|
|
111
|
-
//
|
|
112
|
-
|
|
110
|
+
const doubleTap = gesture === "double_tap"
|
|
111
|
+
// The Neural Band's middle finger (index 1) shares the tap names. Either
|
|
112
|
+
// finger leaves the app on screen; the firmware dashboard is the index finger's.
|
|
113
|
+
const osDoubleTap = doubleTap && event.index !== 1
|
|
113
114
|
const osHeadUp = gesture === "head_up"
|
|
114
115
|
|
|
115
|
-
if (
|
|
116
|
+
if (doubleTap) {
|
|
116
117
|
// The app being left opts out of OS exit by registering double tap (the
|
|
117
118
|
// terminal's back-to-menu). The latest claimant still receives it. Otherwise
|
|
118
119
|
// the tap means "leave the app". The controller shows the bounded OS
|
|
@@ -6063,6 +6063,8 @@ class LocalMiniappRuntime {
|
|
|
6063
6063
|
private async startInteropApp(packageName: string): Promise<boolean> {
|
|
6064
6064
|
const app = this.interopApps().find((a) => a.packageName === packageName)
|
|
6065
6065
|
if (!app) return false
|
|
6066
|
+
// Running only for its widget: start() promotes it to a normal run, as opening it on the phone does.
|
|
6067
|
+
if (app.widgetOnly) return useAppStatusStore.getState().start(app, {skipNavigation: true})
|
|
6066
6068
|
if (app.local) {
|
|
6067
6069
|
await miniappLauncher.ensureConnected(packageName)
|
|
6068
6070
|
return true
|
|
@@ -6124,7 +6126,8 @@ class LocalMiniappRuntime {
|
|
|
6124
6126
|
packageName: app.packageName,
|
|
6125
6127
|
name: app.name,
|
|
6126
6128
|
version: app.version ?? "",
|
|
6127
|
-
running
|
|
6129
|
+
// A provider running only for a placed widget is not a run the wearer started.
|
|
6130
|
+
running: app.running && !app.widgetOnly,
|
|
6128
6131
|
hidden: app.hidden === true,
|
|
6129
6132
|
system: isSystemMiniapp(app),
|
|
6130
6133
|
compatibility,
|