@m1kad0/hannah-proto 3.7.1 → 3.7.2
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.js +1330 -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/activity_log.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/activity_log.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -62,88 +62,98 @@ exports.ActivityLogEntry = {
|
|
|
62
62
|
},
|
|
63
63
|
decode(input, length) {
|
|
64
64
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
65
|
-
const
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
65
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
66
|
+
if (previousRecursionDepth >= 100) {
|
|
67
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
68
|
+
}
|
|
69
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
70
|
+
try {
|
|
71
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
72
|
+
const message = createBaseActivityLogEntry();
|
|
73
|
+
while (reader.pos < end) {
|
|
74
|
+
const tag = reader.uint32();
|
|
75
|
+
switch (tag >>> 3) {
|
|
76
|
+
case 1: {
|
|
77
|
+
if (tag !== 8) {
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
message.id = reader.int64();
|
|
81
|
+
continue;
|
|
73
82
|
}
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
83
|
+
case 2: {
|
|
84
|
+
if (tag !== 18) {
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
message.ts = reader.string();
|
|
88
|
+
continue;
|
|
80
89
|
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
90
|
+
case 3: {
|
|
91
|
+
if (tag !== 26) {
|
|
92
|
+
break;
|
|
93
|
+
}
|
|
94
|
+
message.channelType = reader.string();
|
|
95
|
+
continue;
|
|
87
96
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
97
|
+
case 4: {
|
|
98
|
+
if (tag !== 34) {
|
|
99
|
+
break;
|
|
100
|
+
}
|
|
101
|
+
message.channelId = reader.string();
|
|
102
|
+
continue;
|
|
94
103
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
104
|
+
case 5: {
|
|
105
|
+
if (tag !== 40) {
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
message.userId = reader.int32();
|
|
109
|
+
continue;
|
|
101
110
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
111
|
+
case 6: {
|
|
112
|
+
if (tag !== 50) {
|
|
113
|
+
break;
|
|
114
|
+
}
|
|
115
|
+
message.rawText = reader.string();
|
|
116
|
+
continue;
|
|
108
117
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
118
|
+
case 7: {
|
|
119
|
+
if (tag !== 58) {
|
|
120
|
+
break;
|
|
121
|
+
}
|
|
122
|
+
message.intentName = reader.string();
|
|
123
|
+
continue;
|
|
115
124
|
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
125
|
+
case 8: {
|
|
126
|
+
if (tag !== 66) {
|
|
127
|
+
break;
|
|
128
|
+
}
|
|
129
|
+
message.intentMetaJson = reader.string();
|
|
130
|
+
continue;
|
|
122
131
|
}
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
132
|
+
case 9: {
|
|
133
|
+
if (tag !== 74) {
|
|
134
|
+
break;
|
|
135
|
+
}
|
|
136
|
+
message.answerText = reader.string();
|
|
137
|
+
continue;
|
|
129
138
|
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
139
|
+
case 10: {
|
|
140
|
+
if (tag !== 80) {
|
|
141
|
+
break;
|
|
142
|
+
}
|
|
143
|
+
message.hasAudio = reader.bool();
|
|
144
|
+
continue;
|
|
136
145
|
}
|
|
137
|
-
message.hasAudio = reader.bool();
|
|
138
|
-
continue;
|
|
139
146
|
}
|
|
147
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
148
|
+
break;
|
|
149
|
+
}
|
|
150
|
+
reader.skip(tag & 7);
|
|
140
151
|
}
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
reader.
|
|
152
|
+
return message;
|
|
153
|
+
}
|
|
154
|
+
finally {
|
|
155
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
145
156
|
}
|
|
146
|
-
return message;
|
|
147
157
|
},
|
|
148
158
|
create(base) {
|
|
149
159
|
return exports.ActivityLogEntry.fromPartial(base ?? {});
|
|
@@ -187,46 +197,56 @@ exports.ListActivityLogRequest = {
|
|
|
187
197
|
},
|
|
188
198
|
decode(input, length) {
|
|
189
199
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
190
|
-
const
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
200
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
201
|
+
if (previousRecursionDepth >= 100) {
|
|
202
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
203
|
+
}
|
|
204
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
205
|
+
try {
|
|
206
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
207
|
+
const message = createBaseListActivityLogRequest();
|
|
208
|
+
while (reader.pos < end) {
|
|
209
|
+
const tag = reader.uint32();
|
|
210
|
+
switch (tag >>> 3) {
|
|
211
|
+
case 1: {
|
|
212
|
+
if (tag !== 8) {
|
|
213
|
+
break;
|
|
214
|
+
}
|
|
215
|
+
message.requestorId = reader.int32();
|
|
216
|
+
continue;
|
|
198
217
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
218
|
+
case 2: {
|
|
219
|
+
if (tag !== 16) {
|
|
220
|
+
break;
|
|
221
|
+
}
|
|
222
|
+
message.filterUserId = reader.int32();
|
|
223
|
+
continue;
|
|
205
224
|
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
225
|
+
case 3: {
|
|
226
|
+
if (tag !== 24) {
|
|
227
|
+
break;
|
|
228
|
+
}
|
|
229
|
+
message.pageSize = reader.int32();
|
|
230
|
+
continue;
|
|
212
231
|
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
232
|
+
case 4: {
|
|
233
|
+
if (tag !== 32) {
|
|
234
|
+
break;
|
|
235
|
+
}
|
|
236
|
+
message.beforeId = reader.int64();
|
|
237
|
+
continue;
|
|
219
238
|
}
|
|
220
|
-
message.beforeId = reader.int64();
|
|
221
|
-
continue;
|
|
222
239
|
}
|
|
240
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
241
|
+
break;
|
|
242
|
+
}
|
|
243
|
+
reader.skip(tag & 7);
|
|
223
244
|
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
reader.
|
|
245
|
+
return message;
|
|
246
|
+
}
|
|
247
|
+
finally {
|
|
248
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
228
249
|
}
|
|
229
|
-
return message;
|
|
230
250
|
},
|
|
231
251
|
create(base) {
|
|
232
252
|
return exports.ListActivityLogRequest.fromPartial(base ?? {});
|
|
@@ -255,32 +275,42 @@ exports.ListActivityLogResponse = {
|
|
|
255
275
|
},
|
|
256
276
|
decode(input, length) {
|
|
257
277
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
258
|
-
const
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
278
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
279
|
+
if (previousRecursionDepth >= 100) {
|
|
280
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
281
|
+
}
|
|
282
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
283
|
+
try {
|
|
284
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
285
|
+
const message = createBaseListActivityLogResponse();
|
|
286
|
+
while (reader.pos < end) {
|
|
287
|
+
const tag = reader.uint32();
|
|
288
|
+
switch (tag >>> 3) {
|
|
289
|
+
case 1: {
|
|
290
|
+
if (tag !== 10) {
|
|
291
|
+
break;
|
|
292
|
+
}
|
|
293
|
+
message.entries.push(exports.ActivityLogEntry.decode(reader, reader.uint32()));
|
|
294
|
+
continue;
|
|
266
295
|
}
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
296
|
+
case 2: {
|
|
297
|
+
if (tag !== 16) {
|
|
298
|
+
break;
|
|
299
|
+
}
|
|
300
|
+
message.hasMore = reader.bool();
|
|
301
|
+
continue;
|
|
273
302
|
}
|
|
274
|
-
message.hasMore = reader.bool();
|
|
275
|
-
continue;
|
|
276
303
|
}
|
|
304
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
305
|
+
break;
|
|
306
|
+
}
|
|
307
|
+
reader.skip(tag & 7);
|
|
277
308
|
}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
reader.
|
|
309
|
+
return message;
|
|
310
|
+
}
|
|
311
|
+
finally {
|
|
312
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
282
313
|
}
|
|
283
|
-
return message;
|
|
284
314
|
},
|
|
285
315
|
create(base) {
|
|
286
316
|
return exports.ListActivityLogResponse.fromPartial(base ?? {});
|
|
@@ -310,32 +340,42 @@ exports.StreamActivityAudioRequest = {
|
|
|
310
340
|
},
|
|
311
341
|
decode(input, length) {
|
|
312
342
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
313
|
-
const
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
343
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
344
|
+
if (previousRecursionDepth >= 100) {
|
|
345
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
346
|
+
}
|
|
347
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
348
|
+
try {
|
|
349
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
350
|
+
const message = createBaseStreamActivityAudioRequest();
|
|
351
|
+
while (reader.pos < end) {
|
|
352
|
+
const tag = reader.uint32();
|
|
353
|
+
switch (tag >>> 3) {
|
|
354
|
+
case 1: {
|
|
355
|
+
if (tag !== 8) {
|
|
356
|
+
break;
|
|
357
|
+
}
|
|
358
|
+
message.requestorId = reader.int32();
|
|
359
|
+
continue;
|
|
321
360
|
}
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
361
|
+
case 2: {
|
|
362
|
+
if (tag !== 16) {
|
|
363
|
+
break;
|
|
364
|
+
}
|
|
365
|
+
message.activityLogId = reader.int64();
|
|
366
|
+
continue;
|
|
328
367
|
}
|
|
329
|
-
message.activityLogId = reader.int64();
|
|
330
|
-
continue;
|
|
331
368
|
}
|
|
369
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
370
|
+
break;
|
|
371
|
+
}
|
|
372
|
+
reader.skip(tag & 7);
|
|
332
373
|
}
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
reader.
|
|
374
|
+
return message;
|
|
375
|
+
}
|
|
376
|
+
finally {
|
|
377
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
337
378
|
}
|
|
338
|
-
return message;
|
|
339
379
|
},
|
|
340
380
|
create(base) {
|
|
341
381
|
return exports.StreamActivityAudioRequest.fromPartial(base ?? {});
|
|
@@ -364,32 +404,42 @@ exports.ActivityAudioChunk = {
|
|
|
364
404
|
},
|
|
365
405
|
decode(input, length) {
|
|
366
406
|
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
367
|
-
const
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
407
|
+
const previousRecursionDepth = reader.__tsProtoDecodeDepth ?? 0;
|
|
408
|
+
if (previousRecursionDepth >= 100) {
|
|
409
|
+
throw new globalThis.Error("protobuf decode recursion limit exceeded");
|
|
410
|
+
}
|
|
411
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth + 1;
|
|
412
|
+
try {
|
|
413
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
414
|
+
const message = createBaseActivityAudioChunk();
|
|
415
|
+
while (reader.pos < end) {
|
|
416
|
+
const tag = reader.uint32();
|
|
417
|
+
switch (tag >>> 3) {
|
|
418
|
+
case 1: {
|
|
419
|
+
if (tag !== 10) {
|
|
420
|
+
break;
|
|
421
|
+
}
|
|
422
|
+
message.pcm = reader.bytes();
|
|
423
|
+
continue;
|
|
375
424
|
}
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
425
|
+
case 2: {
|
|
426
|
+
if (tag !== 16) {
|
|
427
|
+
break;
|
|
428
|
+
}
|
|
429
|
+
message.sampleRate = reader.int32();
|
|
430
|
+
continue;
|
|
382
431
|
}
|
|
383
|
-
message.sampleRate = reader.int32();
|
|
384
|
-
continue;
|
|
385
432
|
}
|
|
433
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
434
|
+
break;
|
|
435
|
+
}
|
|
436
|
+
reader.skip(tag & 7);
|
|
386
437
|
}
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
reader.
|
|
438
|
+
return message;
|
|
439
|
+
}
|
|
440
|
+
finally {
|
|
441
|
+
reader.__tsProtoDecodeDepth = previousRecursionDepth;
|
|
391
442
|
}
|
|
392
|
-
return message;
|
|
393
443
|
},
|
|
394
444
|
create(base) {
|
|
395
445
|
return exports.ActivityAudioChunk.fromPartial(base ?? {});
|