@m1kad0/hannah-proto 3.7.1 → 3.8.0
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/dist/activity_log.js +216 -166
- package/dist/agent.d.ts +17 -0
- package/dist/agent.js +1354 -1050
- package/dist/automation.js +142 -92
- package/dist/car_state.js +245 -195
- package/dist/compat_versions.js +1 -1
- package/dist/control.js +1675 -1255
- package/dist/descriptor.binpb +0 -0
- package/dist/device_control_menu.js +302 -222
- package/dist/event_stream.js +236 -166
- package/dist/google/protobuf/descriptor.js +1721 -1381
- package/dist/hannah.js +1 -1
- package/dist/messages.js +198 -148
- package/dist/options.js +1 -1
- package/dist/satellite.js +314 -244
- package/dist/satellite_provisioning.js +38 -28
- package/dist/satellite_proxy.d.ts +5 -2
- package/dist/satellite_proxy.js +278 -208
- package/dist/shared.js +111 -71
- package/dist/speaker_enrollment.js +38 -28
- package/dist/timer_admin.js +131 -91
- package/dist/timer_service.js +467 -327
- package/dist/user_registry.js +724 -534
- package/dist/wakeword_capture.js +295 -195
- package/dist/weather.js +172 -142
- package/package.json +2 -2
package/dist/car_state.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v2.12.
|
|
4
|
+
// protoc-gen-ts_proto v2.12.1
|
|
5
5
|
// protoc unknown
|
|
6
6
|
// source: hannah/car_state.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -24,32 +24,42 @@ exports.CarStateResponse = {
|
|
|
24
24
|
},
|
|
25
25
|
decode(input, length) {
|
|
26
26
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
27
|
-
const
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
27
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
28
|
+
if (previousRecursionDepth >= 100) {
|
|
29
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
30
|
+
}
|
|
31
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
32
|
+
try {
|
|
33
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
34
|
+
const message = createBaseCarStateResponse();
|
|
35
|
+
while (reader.pos < end) {
|
|
36
|
+
const tag = reader.uint32();
|
|
37
|
+
switch (tag >>> 3) {
|
|
38
|
+
case 1: {
|
|
39
|
+
if (tag !== 8) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
message.available = reader.bool();
|
|
43
|
+
continue;
|
|
35
44
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
45
|
+
case 2: {
|
|
46
|
+
if (tag !== 18) {
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
message.state = exports.CarStateProto.decode(reader, reader.uint32());
|
|
50
|
+
continue;
|
|
42
51
|
}
|
|
43
|
-
message.state = exports.CarStateProto.decode(reader, reader.uint32());
|
|
44
|
-
continue;
|
|
45
52
|
}
|
|
53
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
reader.skip(tag & 7);
|
|
46
57
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
reader.
|
|
58
|
+
return message;
|
|
59
|
+
}
|
|
60
|
+
finally {
|
|
61
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
51
62
|
}
|
|
52
|
-
return message;
|
|
53
63
|
},
|
|
54
64
|
create(base) {
|
|
55
65
|
return exports.CarStateResponse.fromPartial(base ?? {});
|
|
@@ -75,25 +85,35 @@ exports.GetAllCarStatesResponse = {
|
|
|
75
85
|
},
|
|
76
86
|
decode(input, length) {
|
|
77
87
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
78
|
-
const
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
88
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
89
|
+
if (previousRecursionDepth >= 100) {
|
|
90
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
91
|
+
}
|
|
92
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
93
|
+
try {
|
|
94
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
95
|
+
const message = createBaseGetAllCarStatesResponse();
|
|
96
|
+
while (reader.pos < end) {
|
|
97
|
+
const tag = reader.uint32();
|
|
98
|
+
switch (tag >>> 3) {
|
|
99
|
+
case 1: {
|
|
100
|
+
if (tag !== 10) {
|
|
101
|
+
break;
|
|
102
|
+
}
|
|
103
|
+
message.states.push(exports.CarStateProto.decode(reader, reader.uint32()));
|
|
104
|
+
continue;
|
|
86
105
|
}
|
|
87
|
-
message.states.push(exports.CarStateProto.decode(reader, reader.uint32()));
|
|
88
|
-
continue;
|
|
89
106
|
}
|
|
107
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
108
|
+
break;
|
|
109
|
+
}
|
|
110
|
+
reader.skip(tag & 7);
|
|
90
111
|
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
reader.
|
|
112
|
+
return message;
|
|
113
|
+
}
|
|
114
|
+
finally {
|
|
115
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
95
116
|
}
|
|
96
|
-
return message;
|
|
97
117
|
},
|
|
98
118
|
create(base) {
|
|
99
119
|
return exports.GetAllCarStatesResponse.fromPartial(base ?? {});
|
|
@@ -185,143 +205,153 @@ exports.CarStateProto = {
|
|
|
185
205
|
},
|
|
186
206
|
decode(input, length) {
|
|
187
207
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
188
|
-
const
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
208
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
209
|
+
if (previousRecursionDepth >= 100) {
|
|
210
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
211
|
+
}
|
|
212
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
213
|
+
try {
|
|
214
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
215
|
+
const message = createBaseCarStateProto();
|
|
216
|
+
while (reader.pos < end) {
|
|
217
|
+
const tag = reader.uint32();
|
|
218
|
+
switch (tag >>> 3) {
|
|
219
|
+
case 1: {
|
|
220
|
+
if (tag !== 13) {
|
|
221
|
+
break;
|
|
222
|
+
}
|
|
223
|
+
message.latitude = reader.float();
|
|
224
|
+
continue;
|
|
196
225
|
}
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
226
|
+
case 2: {
|
|
227
|
+
if (tag !== 21) {
|
|
228
|
+
break;
|
|
229
|
+
}
|
|
230
|
+
message.longitude = reader.float();
|
|
231
|
+
continue;
|
|
203
232
|
}
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
233
|
+
case 3: {
|
|
234
|
+
if (tag !== 26) {
|
|
235
|
+
break;
|
|
236
|
+
}
|
|
237
|
+
message.address = reader.string();
|
|
238
|
+
continue;
|
|
210
239
|
}
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
240
|
+
case 4: {
|
|
241
|
+
if (tag !== 32) {
|
|
242
|
+
break;
|
|
243
|
+
}
|
|
244
|
+
message.isMoving = reader.bool();
|
|
245
|
+
continue;
|
|
217
246
|
}
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
247
|
+
case 5: {
|
|
248
|
+
if (tag !== 40) {
|
|
249
|
+
break;
|
|
250
|
+
}
|
|
251
|
+
message.positionDate = reader.int64();
|
|
252
|
+
continue;
|
|
224
253
|
}
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
254
|
+
case 6: {
|
|
255
|
+
if (tag !== 48) {
|
|
256
|
+
break;
|
|
257
|
+
}
|
|
258
|
+
message.odometer = reader.int32();
|
|
259
|
+
continue;
|
|
231
260
|
}
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
261
|
+
case 7: {
|
|
262
|
+
if (tag !== 56) {
|
|
263
|
+
break;
|
|
264
|
+
}
|
|
265
|
+
message.totalRange = reader.int32();
|
|
266
|
+
continue;
|
|
238
267
|
}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
268
|
+
case 8: {
|
|
269
|
+
if (tag !== 64) {
|
|
270
|
+
break;
|
|
271
|
+
}
|
|
272
|
+
message.isCarLocked = reader.bool();
|
|
273
|
+
continue;
|
|
245
274
|
}
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
275
|
+
case 9: {
|
|
276
|
+
if (tag !== 74) {
|
|
277
|
+
break;
|
|
278
|
+
}
|
|
279
|
+
message.doorLockStatus = reader.string();
|
|
280
|
+
continue;
|
|
252
281
|
}
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
282
|
+
case 10: {
|
|
283
|
+
if (tag !== 82) {
|
|
284
|
+
break;
|
|
285
|
+
}
|
|
286
|
+
message.overallStatus = reader.string();
|
|
287
|
+
continue;
|
|
259
288
|
}
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
289
|
+
case 11: {
|
|
290
|
+
if (tag !== 90) {
|
|
291
|
+
break;
|
|
292
|
+
}
|
|
293
|
+
const entry11 = exports.CarStateProto_DoorsEntry.decode(reader, reader.uint32());
|
|
294
|
+
if (entry11.value !== undefined) {
|
|
295
|
+
message.doors[entry11.key] = entry11.value;
|
|
296
|
+
}
|
|
297
|
+
continue;
|
|
266
298
|
}
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
299
|
+
case 12: {
|
|
300
|
+
if (tag !== 98) {
|
|
301
|
+
break;
|
|
302
|
+
}
|
|
303
|
+
const entry12 = exports.CarStateProto_WindowsEntry.decode(reader, reader.uint32());
|
|
304
|
+
if (entry12.value !== undefined) {
|
|
305
|
+
message.windows[entry12.key] = entry12.value;
|
|
306
|
+
}
|
|
307
|
+
continue;
|
|
270
308
|
}
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
const entry12 = exports.CarStateProto_WindowsEntry.decode(reader, reader.uint32());
|
|
278
|
-
if (entry12.value !== undefined) {
|
|
279
|
-
message.windows[entry12.key] = entry12.value;
|
|
309
|
+
case 13: {
|
|
310
|
+
if (tag !== 106) {
|
|
311
|
+
break;
|
|
312
|
+
}
|
|
313
|
+
message.ownerRoomie = reader.string();
|
|
314
|
+
continue;
|
|
280
315
|
}
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
316
|
+
case 14: {
|
|
317
|
+
if (tag !== 114) {
|
|
318
|
+
break;
|
|
319
|
+
}
|
|
320
|
+
message.displayName = reader.string();
|
|
321
|
+
continue;
|
|
286
322
|
}
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
323
|
+
case 15: {
|
|
324
|
+
if (tag !== 122) {
|
|
325
|
+
break;
|
|
326
|
+
}
|
|
327
|
+
message.plate = reader.string();
|
|
328
|
+
continue;
|
|
293
329
|
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
330
|
+
case 16: {
|
|
331
|
+
if (tag !== 130) {
|
|
332
|
+
break;
|
|
333
|
+
}
|
|
334
|
+
message.vin = reader.string();
|
|
335
|
+
continue;
|
|
300
336
|
}
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
337
|
+
case 17: {
|
|
338
|
+
if (tag !== 138) {
|
|
339
|
+
break;
|
|
340
|
+
}
|
|
341
|
+
message.homeAddress = reader.string();
|
|
342
|
+
continue;
|
|
307
343
|
}
|
|
308
|
-
message.vin = reader.string();
|
|
309
|
-
continue;
|
|
310
344
|
}
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
break;
|
|
314
|
-
}
|
|
315
|
-
message.homeAddress = reader.string();
|
|
316
|
-
continue;
|
|
345
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
346
|
+
break;
|
|
317
347
|
}
|
|
348
|
+
reader.skip(tag & 7);
|
|
318
349
|
}
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
reader.
|
|
350
|
+
return message;
|
|
351
|
+
}
|
|
352
|
+
finally {
|
|
353
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
323
354
|
}
|
|
324
|
-
return message;
|
|
325
355
|
},
|
|
326
356
|
create(base) {
|
|
327
357
|
return exports.CarStateProto.fromPartial(base ?? {});
|
|
@@ -375,32 +405,42 @@ exports.CarStateProto_DoorsEntry = {
|
|
|
375
405
|
},
|
|
376
406
|
decode(input, length) {
|
|
377
407
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
378
|
-
const
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
408
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
409
|
+
if (previousRecursionDepth >= 100) {
|
|
410
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
411
|
+
}
|
|
412
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
413
|
+
try {
|
|
414
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
415
|
+
const message = createBaseCarStateProto_DoorsEntry();
|
|
416
|
+
while (reader.pos < end) {
|
|
417
|
+
const tag = reader.uint32();
|
|
418
|
+
switch (tag >>> 3) {
|
|
419
|
+
case 1: {
|
|
420
|
+
if (tag !== 10) {
|
|
421
|
+
break;
|
|
422
|
+
}
|
|
423
|
+
message.key = reader.string();
|
|
424
|
+
continue;
|
|
386
425
|
}
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
426
|
+
case 2: {
|
|
427
|
+
if (tag !== 16) {
|
|
428
|
+
break;
|
|
429
|
+
}
|
|
430
|
+
message.value = reader.bool();
|
|
431
|
+
continue;
|
|
393
432
|
}
|
|
394
|
-
message.value = reader.bool();
|
|
395
|
-
continue;
|
|
396
433
|
}
|
|
434
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
435
|
+
break;
|
|
436
|
+
}
|
|
437
|
+
reader.skip(tag & 7);
|
|
397
438
|
}
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
reader.
|
|
439
|
+
return message;
|
|
440
|
+
}
|
|
441
|
+
finally {
|
|
442
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
402
443
|
}
|
|
403
|
-
return message;
|
|
404
444
|
},
|
|
405
445
|
create(base) {
|
|
406
446
|
return exports.CarStateProto_DoorsEntry.fromPartial(base ?? {});
|
|
@@ -427,32 +467,42 @@ exports.CarStateProto_WindowsEntry = {
|
|
|
427
467
|
},
|
|
428
468
|
decode(input, length) {
|
|
429
469
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
430
|
-
const
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
470
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
471
|
+
if (previousRecursionDepth >= 100) {
|
|
472
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
473
|
+
}
|
|
474
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
475
|
+
try {
|
|
476
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
477
|
+
const message = createBaseCarStateProto_WindowsEntry();
|
|
478
|
+
while (reader.pos < end) {
|
|
479
|
+
const tag = reader.uint32();
|
|
480
|
+
switch (tag >>> 3) {
|
|
481
|
+
case 1: {
|
|
482
|
+
if (tag !== 10) {
|
|
483
|
+
break;
|
|
484
|
+
}
|
|
485
|
+
message.key = reader.string();
|
|
486
|
+
continue;
|
|
438
487
|
}
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
488
|
+
case 2: {
|
|
489
|
+
if (tag !== 16) {
|
|
490
|
+
break;
|
|
491
|
+
}
|
|
492
|
+
message.value = reader.bool();
|
|
493
|
+
continue;
|
|
445
494
|
}
|
|
446
|
-
message.value = reader.bool();
|
|
447
|
-
continue;
|
|
448
495
|
}
|
|
496
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
497
|
+
break;
|
|
498
|
+
}
|
|
499
|
+
reader.skip(tag & 7);
|
|
449
500
|
}
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
reader.
|
|
501
|
+
return message;
|
|
502
|
+
}
|
|
503
|
+
finally {
|
|
504
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
454
505
|
}
|
|
455
|
-
return message;
|
|
456
506
|
},
|
|
457
507
|
create(base) {
|
|
458
508
|
return exports.CarStateProto_WindowsEntry.fromPartial(base ?? {});
|
package/dist/compat_versions.js
CHANGED
|
@@ -64,7 +64,7 @@ exports.REQUIRED_COMPAT_VERSIONS = {
|
|
|
64
64
|
"CollectorConnect": 1,
|
|
65
65
|
"TriggerCollectorCapture": 1,
|
|
66
66
|
"RegisterProxy": 1,
|
|
67
|
-
"SubmitSatelliteAudio":
|
|
67
|
+
"SubmitSatelliteAudio": 2,
|
|
68
68
|
"NotifySatelliteRegistered": 1,
|
|
69
69
|
"NotifySatelliteGone": 1,
|
|
70
70
|
"ProvisionSatellite": 1,
|