@glassly/engine 0.3.6 → 0.3.7-beta.866
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.
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export const ENGINE_RELEASE_METADATA = Object.freeze({
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"familyBaseVersion": "0.3.
|
|
4
|
-
"releaseIdentity": "0.3.
|
|
5
|
-
"releaseSetId": "glassly-0.3.
|
|
6
|
-
"sourceCommit": "
|
|
3
|
+
"familyBaseVersion": "0.3.7",
|
|
4
|
+
"releaseIdentity": "0.3.7-beta.866",
|
|
5
|
+
"releaseSetId": "glassly-0.3.7-beta.866",
|
|
6
|
+
"sourceCommit": "5300a8e751451a44844270581c4fb36e2c37ad0a",
|
|
7
7
|
"otaManifestUrl": null,
|
|
8
8
|
"otaManifestSha256": null
|
|
9
9
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"releaseMetadata.js","sourceRoot":"","sources":["../../src/generated/releaseMetadata.ts"],"names":[],"mappings":"AAWA,MAAM,CAAC,MAAM,uBAAuB,GAAoC,MAAM,CAAC,MAAM,CAAC;IACpF,eAAe,EAAE,CAAC;IAClB,mBAAmB,EAAE,OAAO;IAC5B,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"releaseMetadata.js","sourceRoot":"","sources":["../../src/generated/releaseMetadata.ts"],"names":[],"mappings":"AAWA,MAAM,CAAC,MAAM,uBAAuB,GAAoC,MAAM,CAAC,MAAM,CAAC;IACpF,eAAe,EAAE,CAAC;IAClB,mBAAmB,EAAE,OAAO;IAC5B,iBAAiB,EAAE,gBAAgB;IACnC,cAAc,EAAE,wBAAwB;IACxC,cAAc,EAAE,0CAA0C;IAC1D,gBAAgB,EAAE,IAAI;IACtB,mBAAmB,EAAE,IAAI;CAC1B,CAAC,CAAA","sourcesContent":["/** Generated by release CI. Do not edit in a release checkout. */\nexport interface EngineReleaseMetadata {\n schemaVersion: 1\n familyBaseVersion: string | null\n releaseIdentity: string | null\n releaseSetId: string | null\n sourceCommit: string | null\n otaManifestUrl: string | null\n otaManifestSha256: string | null\n}\n\nexport const ENGINE_RELEASE_METADATA: Readonly<EngineReleaseMetadata> = Object.freeze({\n \"schemaVersion\": 1,\n \"familyBaseVersion\": \"0.3.7\",\n \"releaseIdentity\": \"0.3.7-beta.866\",\n \"releaseSetId\": \"glassly-0.3.7-beta.866\",\n \"sourceCommit\": \"5300a8e751451a44844270581c4fb36e2c37ad0a\",\n \"otaManifestUrl\": null,\n \"otaManifestSha256\": null\n})\n"]}
|
|
@@ -105,12 +105,12 @@ export declare const cloudClientService: {
|
|
|
105
105
|
playback: Record<string, unknown>;
|
|
106
106
|
}>;
|
|
107
107
|
getManagedStreamStatus(streamId: string): Promise<{
|
|
108
|
-
state: string | null;
|
|
109
108
|
streamId: string;
|
|
110
109
|
isConnected: boolean;
|
|
111
|
-
|
|
110
|
+
state: string | null;
|
|
112
111
|
connectedAt?: string | undefined;
|
|
113
112
|
lastSeenAt?: string | undefined;
|
|
113
|
+
reason?: string | undefined;
|
|
114
114
|
}>;
|
|
115
115
|
stopManagedStream(streamId: string): Promise<void>;
|
|
116
116
|
/** Current live-session connection state (handshake completed). */
|
|
@@ -140,13 +140,13 @@ export declare const cloudClientService: {
|
|
|
140
140
|
*/
|
|
141
141
|
complete(req: Parameters<CloudClient["runtime"]["llm"]["complete"]>[0], opts?: Parameters<CloudClient["runtime"]["llm"]["complete"]>[1]): Promise<{
|
|
142
142
|
text: string;
|
|
143
|
-
provider: "anthropic" | "gemini" | "openai" | "deepseek";
|
|
144
|
-
model: string;
|
|
145
143
|
stopReason: "end_turn" | "tool_use" | "max_tokens" | "refusal";
|
|
146
144
|
usage: {
|
|
147
145
|
inputTokens: number;
|
|
148
146
|
outputTokens: number;
|
|
149
147
|
};
|
|
148
|
+
provider: "anthropic" | "gemini" | "openai" | "deepseek";
|
|
149
|
+
model: string;
|
|
150
150
|
billedToUserKey: boolean;
|
|
151
151
|
toolCalls?: {
|
|
152
152
|
id: string;
|
|
@@ -158,8 +158,6 @@ export declare const cloudClientService: {
|
|
|
158
158
|
/** One agentic visual-generation run. Long-running; see cloud-client docs. */
|
|
159
159
|
generate(req: Parameters<CloudClient["runtime"]["llm"]["generate"]>[0], opts?: Parameters<CloudClient["runtime"]["llm"]["generate"]>[1]): Promise<{
|
|
160
160
|
text: string;
|
|
161
|
-
provider: "anthropic" | "gemini" | "openai" | "deepseek";
|
|
162
|
-
model: string;
|
|
163
161
|
images: {
|
|
164
162
|
data: string;
|
|
165
163
|
mimeType: string;
|
|
@@ -172,6 +170,8 @@ export declare const cloudClientService: {
|
|
|
172
170
|
outputTokens: number;
|
|
173
171
|
rounds: number;
|
|
174
172
|
};
|
|
173
|
+
provider: "anthropic" | "gemini" | "openai" | "deepseek";
|
|
174
|
+
model: string;
|
|
175
175
|
billedToUserKey: boolean;
|
|
176
176
|
}>;
|
|
177
177
|
/** Start a pollable generate job (async flavor; 404 on old clouds). */
|
|
@@ -179,14 +179,11 @@ export declare const cloudClientService: {
|
|
|
179
179
|
jobId: string;
|
|
180
180
|
}>;
|
|
181
181
|
generateJobStatus(jobId: string): Promise<{
|
|
182
|
-
state: "cancelled" | "error" | "running" | "done";
|
|
183
182
|
jobId: string;
|
|
184
|
-
error
|
|
183
|
+
state: "cancelled" | "error" | "running" | "done";
|
|
185
184
|
activity?: string | undefined;
|
|
186
185
|
result?: {
|
|
187
186
|
text: string;
|
|
188
|
-
provider: "anthropic" | "gemini" | "openai" | "deepseek";
|
|
189
|
-
model: string;
|
|
190
187
|
images: {
|
|
191
188
|
data: string;
|
|
192
189
|
mimeType: string;
|
|
@@ -199,18 +196,18 @@ export declare const cloudClientService: {
|
|
|
199
196
|
outputTokens: number;
|
|
200
197
|
rounds: number;
|
|
201
198
|
};
|
|
199
|
+
provider: "anthropic" | "gemini" | "openai" | "deepseek";
|
|
200
|
+
model: string;
|
|
202
201
|
billedToUserKey: boolean;
|
|
203
202
|
} | undefined;
|
|
203
|
+
error?: string | undefined;
|
|
204
204
|
}>;
|
|
205
205
|
cancelGenerateJob(jobId: string): Promise<{
|
|
206
|
-
state: "cancelled" | "error" | "running" | "done";
|
|
207
206
|
jobId: string;
|
|
208
|
-
error
|
|
207
|
+
state: "cancelled" | "error" | "running" | "done";
|
|
209
208
|
activity?: string | undefined;
|
|
210
209
|
result?: {
|
|
211
210
|
text: string;
|
|
212
|
-
provider: "anthropic" | "gemini" | "openai" | "deepseek";
|
|
213
|
-
model: string;
|
|
214
211
|
images: {
|
|
215
212
|
data: string;
|
|
216
213
|
mimeType: string;
|
|
@@ -223,8 +220,11 @@ export declare const cloudClientService: {
|
|
|
223
220
|
outputTokens: number;
|
|
224
221
|
rounds: number;
|
|
225
222
|
};
|
|
223
|
+
provider: "anthropic" | "gemini" | "openai" | "deepseek";
|
|
224
|
+
model: string;
|
|
226
225
|
billedToUserKey: boolean;
|
|
227
226
|
} | undefined;
|
|
227
|
+
error?: string | undefined;
|
|
228
228
|
}>;
|
|
229
229
|
};
|
|
230
230
|
maps: {
|
|
@@ -261,11 +261,11 @@ export declare const cloudClientService: {
|
|
|
261
261
|
}[];
|
|
262
262
|
}>;
|
|
263
263
|
placeDetails(req: Parameters<CloudClient["runtime"]["maps"]["placeDetails"]>[0]): Promise<{
|
|
264
|
+
placeId: string;
|
|
264
265
|
name: string;
|
|
266
|
+
address: string;
|
|
265
267
|
lat: number;
|
|
266
268
|
lng: number;
|
|
267
|
-
address: string;
|
|
268
|
-
placeId: string;
|
|
269
269
|
}>;
|
|
270
270
|
/**
|
|
271
271
|
* The deployment's public map render token ({provider, token}) for the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@glassly/engine",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.7-beta.866",
|
|
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.
|
|
101
|
-
"@glassly/cloud-client": "0.3.
|
|
102
|
-
"@glassly/cloud-protocol": "0.3.
|
|
103
|
-
"@glassly/crust": "0.3.
|
|
104
|
-
"@glassly/miniapp": "0.3.
|
|
100
|
+
"@glassly/bluetooth-sdk": "0.3.7-beta.866",
|
|
101
|
+
"@glassly/cloud-client": "0.3.7-beta.866",
|
|
102
|
+
"@glassly/cloud-protocol": "0.3.7-beta.866",
|
|
103
|
+
"@glassly/crust": "0.3.7-beta.866",
|
|
104
|
+
"@glassly/miniapp": "0.3.7-beta.866",
|
|
105
105
|
"buffer": "^6.0.3",
|
|
106
106
|
"events": "^3.3.0",
|
|
107
|
-
"react-native-marked": "8.
|
|
107
|
+
"react-native-marked": "8.3.2",
|
|
108
108
|
"semver": "^7.7.4",
|
|
109
109
|
"typesafe-ts": "^1.7.1",
|
|
110
|
-
"@glassly/llm-providers": "0.3.
|
|
110
|
+
"@glassly/llm-providers": "0.3.7-beta.866",
|
|
111
111
|
"@huggingface/jinja": "^0.5.9",
|
|
112
112
|
"jsonrepair": "^3.12.0"
|
|
113
113
|
},
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
"expo-module-scripts": "^56.0.3",
|
|
118
118
|
"expo-modules-core": "^58.0.23",
|
|
119
119
|
"react-native-nitro-modules": "^0.37.1",
|
|
120
|
-
"typescript": "~
|
|
120
|
+
"typescript": "~6.0.3"
|
|
121
121
|
},
|
|
122
122
|
"peerDependencies": {
|
|
123
123
|
"expo": ">=55.0.0",
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"react-native-worklets": ">=0.7.4 <1",
|
|
136
136
|
"expo-file-system": ">=55.0.0",
|
|
137
137
|
"expo-image-manipulator": ">=55.0.0",
|
|
138
|
-
"react-native-zip-archive": "
|
|
138
|
+
"react-native-zip-archive": "9.5.3",
|
|
139
139
|
"zustand": "*",
|
|
140
140
|
"expo-battery": ">=55.0.0",
|
|
141
141
|
"expo-audio": ">=55.0.0",
|
|
@@ -11,10 +11,10 @@ export interface EngineReleaseMetadata {
|
|
|
11
11
|
|
|
12
12
|
export const ENGINE_RELEASE_METADATA: Readonly<EngineReleaseMetadata> = Object.freeze({
|
|
13
13
|
"schemaVersion": 1,
|
|
14
|
-
"familyBaseVersion": "0.3.
|
|
15
|
-
"releaseIdentity": "0.3.
|
|
16
|
-
"releaseSetId": "glassly-0.3.
|
|
17
|
-
"sourceCommit": "
|
|
14
|
+
"familyBaseVersion": "0.3.7",
|
|
15
|
+
"releaseIdentity": "0.3.7-beta.866",
|
|
16
|
+
"releaseSetId": "glassly-0.3.7-beta.866",
|
|
17
|
+
"sourceCommit": "5300a8e751451a44844270581c4fb36e2c37ad0a",
|
|
18
18
|
"otaManifestUrl": null,
|
|
19
19
|
"otaManifestSha256": null
|
|
20
20
|
})
|