@qvac/core 0.1.7 → 0.1.8
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-lib/lib/core/mesh.js +2 -1
- package/dist-lib/schema/content.js +5 -1
- package/dist-lib/spec/hrpc/messages.js +22 -44
- package/dist-lib/spec/hyperschema/index.js +22 -44
- package/dist-lib/spec/hyperschema/schema.json +12 -0
- package/dist-lib/spec/local/hyperdb/messages.js +48 -96
- package/dist-lib/spec/local/hyperschema/index.js +24 -48
- package/dist-lib/spec/local/hyperschema/schema.json +12 -0
- package/dist-lib/spec/mesh/hyperdb/messages.js +141 -282
- package/dist-lib/spec/mesh/hyperdispatch/messages.js +107 -214
- package/dist-lib/spec/mesh/hyperschema/index.js +107 -214
- package/dist-lib/spec/mesh/hyperschema/schema.json +55 -0
- package/package.json +12 -11
|
@@ -326,12 +326,11 @@ const encoding6 = {
|
|
|
326
326
|
if (m.progress) encoding6_5.encode(state, m.progress)
|
|
327
327
|
},
|
|
328
328
|
decode(state) {
|
|
329
|
-
const v = c.uint.decode(state)
|
|
330
329
|
const r0 = encoding1.decode(state)
|
|
331
330
|
const flags = c.uint.decode(state)
|
|
332
331
|
|
|
333
332
|
return {
|
|
334
|
-
version:
|
|
333
|
+
version: 0,
|
|
335
334
|
state: r0,
|
|
336
335
|
model: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
337
336
|
percentage: (flags & 2) !== 0 ? c.uint.decode(state) : 0,
|
|
@@ -369,13 +368,12 @@ const encoding7 = {
|
|
|
369
368
|
}
|
|
370
369
|
},
|
|
371
370
|
decode(state) {
|
|
372
|
-
const start = state.start
|
|
373
371
|
const v = c.uint.decode(state)
|
|
374
|
-
state.start = start
|
|
375
372
|
switch (v) {
|
|
376
373
|
case 0:
|
|
377
374
|
case 1: {
|
|
378
375
|
const decoded = encoding6.decode(state)
|
|
376
|
+
decoded.version = v
|
|
379
377
|
return decoded
|
|
380
378
|
}
|
|
381
379
|
default:
|
|
@@ -410,14 +408,13 @@ const encoding8 = {
|
|
|
410
408
|
if (m.agentId) c.string.encode(state, m.agentId)
|
|
411
409
|
},
|
|
412
410
|
decode(state) {
|
|
413
|
-
const v = c.uint.decode(state)
|
|
414
411
|
const r0 = encoding2.decode(state)
|
|
415
412
|
const r1 = c.string.decode(state)
|
|
416
413
|
const r2 = c.json.decode(state)
|
|
417
414
|
const flags = c.uint.decode(state)
|
|
418
415
|
|
|
419
416
|
return {
|
|
420
|
-
version:
|
|
417
|
+
version: 0,
|
|
421
418
|
status: r0,
|
|
422
419
|
name: r1,
|
|
423
420
|
arguments: r2,
|
|
@@ -454,13 +451,12 @@ const encoding9 = {
|
|
|
454
451
|
}
|
|
455
452
|
},
|
|
456
453
|
decode(state) {
|
|
457
|
-
const start = state.start
|
|
458
454
|
const v = c.uint.decode(state)
|
|
459
|
-
state.start = start
|
|
460
455
|
switch (v) {
|
|
461
456
|
case 0:
|
|
462
457
|
case 1: {
|
|
463
458
|
const decoded = encoding8.decode(state)
|
|
459
|
+
decoded.version = v
|
|
464
460
|
return decoded
|
|
465
461
|
}
|
|
466
462
|
default:
|
|
@@ -478,11 +474,10 @@ const encoding10 = {
|
|
|
478
474
|
c.string.encode(state, m.text)
|
|
479
475
|
},
|
|
480
476
|
decode(state) {
|
|
481
|
-
const v = c.uint.decode(state)
|
|
482
477
|
const r0 = c.string.decode(state)
|
|
483
478
|
|
|
484
479
|
return {
|
|
485
|
-
version:
|
|
480
|
+
version: 0,
|
|
486
481
|
text: r0
|
|
487
482
|
}
|
|
488
483
|
}
|
|
@@ -515,13 +510,12 @@ const encoding11 = {
|
|
|
515
510
|
}
|
|
516
511
|
},
|
|
517
512
|
decode(state) {
|
|
518
|
-
const start = state.start
|
|
519
513
|
const v = c.uint.decode(state)
|
|
520
|
-
state.start = start
|
|
521
514
|
switch (v) {
|
|
522
515
|
case 0:
|
|
523
516
|
case 1: {
|
|
524
517
|
const decoded = encoding10.decode(state)
|
|
518
|
+
decoded.version = v
|
|
525
519
|
return decoded
|
|
526
520
|
}
|
|
527
521
|
default:
|
|
@@ -560,13 +554,12 @@ const encoding13 = {
|
|
|
560
554
|
}
|
|
561
555
|
},
|
|
562
556
|
decode(state) {
|
|
563
|
-
const start = state.start
|
|
564
557
|
const v = c.uint.decode(state)
|
|
565
|
-
state.start = start
|
|
566
558
|
switch (v) {
|
|
567
559
|
case 0:
|
|
568
560
|
case 1: {
|
|
569
561
|
const decoded = encoding12.decode(state)
|
|
562
|
+
decoded.version = v
|
|
570
563
|
return decoded
|
|
571
564
|
}
|
|
572
565
|
default:
|
|
@@ -605,13 +598,12 @@ const encoding15 = {
|
|
|
605
598
|
}
|
|
606
599
|
},
|
|
607
600
|
decode(state) {
|
|
608
|
-
const start = state.start
|
|
609
601
|
const v = c.uint.decode(state)
|
|
610
|
-
state.start = start
|
|
611
602
|
switch (v) {
|
|
612
603
|
case 0:
|
|
613
604
|
case 1: {
|
|
614
605
|
const decoded = encoding14.decode(state)
|
|
606
|
+
decoded.version = v
|
|
615
607
|
return decoded
|
|
616
608
|
}
|
|
617
609
|
default:
|
|
@@ -637,12 +629,11 @@ const encoding16 = {
|
|
|
637
629
|
if (m.arguments) c.json.encode(state, m.arguments)
|
|
638
630
|
},
|
|
639
631
|
decode(state) {
|
|
640
|
-
const v = c.uint.decode(state)
|
|
641
632
|
const r0 = c.string.decode(state)
|
|
642
633
|
const flags = c.uint.decode(state)
|
|
643
634
|
|
|
644
635
|
return {
|
|
645
|
-
version:
|
|
636
|
+
version: 0,
|
|
646
637
|
name: r0,
|
|
647
638
|
arguments: (flags & 1) !== 0 ? c.json.decode(state) : null
|
|
648
639
|
}
|
|
@@ -676,13 +667,12 @@ const encoding17 = {
|
|
|
676
667
|
}
|
|
677
668
|
},
|
|
678
669
|
decode(state) {
|
|
679
|
-
const start = state.start
|
|
680
670
|
const v = c.uint.decode(state)
|
|
681
|
-
state.start = start
|
|
682
671
|
switch (v) {
|
|
683
672
|
case 0:
|
|
684
673
|
case 1: {
|
|
685
674
|
const decoded = encoding16.decode(state)
|
|
675
|
+
decoded.version = v
|
|
686
676
|
return decoded
|
|
687
677
|
}
|
|
688
678
|
default:
|
|
@@ -708,12 +698,11 @@ const encoding18 = {
|
|
|
708
698
|
if (m.result) c.json.encode(state, m.result)
|
|
709
699
|
},
|
|
710
700
|
decode(state) {
|
|
711
|
-
const v = c.uint.decode(state)
|
|
712
701
|
const r0 = c.string.decode(state)
|
|
713
702
|
const flags = c.uint.decode(state)
|
|
714
703
|
|
|
715
704
|
return {
|
|
716
|
-
version:
|
|
705
|
+
version: 0,
|
|
717
706
|
name: r0,
|
|
718
707
|
result: (flags & 1) !== 0 ? c.json.decode(state) : null
|
|
719
708
|
}
|
|
@@ -747,13 +736,12 @@ const encoding19 = {
|
|
|
747
736
|
}
|
|
748
737
|
},
|
|
749
738
|
decode(state) {
|
|
750
|
-
const start = state.start
|
|
751
739
|
const v = c.uint.decode(state)
|
|
752
|
-
state.start = start
|
|
753
740
|
switch (v) {
|
|
754
741
|
case 0:
|
|
755
742
|
case 1: {
|
|
756
743
|
const decoded = encoding18.decode(state)
|
|
744
|
+
decoded.version = v
|
|
757
745
|
return decoded
|
|
758
746
|
}
|
|
759
747
|
default:
|
|
@@ -789,7 +777,6 @@ const encoding20 = {
|
|
|
789
777
|
if (m.deletedAt) c.uint.encode(state, m.deletedAt)
|
|
790
778
|
},
|
|
791
779
|
decode(state) {
|
|
792
|
-
const v = c.uint.decode(state)
|
|
793
780
|
const r0 = c.string.decode(state)
|
|
794
781
|
const r1 = c.string.decode(state)
|
|
795
782
|
const r2 = c.string.decode(state)
|
|
@@ -799,7 +786,7 @@ const encoding20 = {
|
|
|
799
786
|
const flags = c.uint.decode(state)
|
|
800
787
|
|
|
801
788
|
return {
|
|
802
|
-
version:
|
|
789
|
+
version: 0,
|
|
803
790
|
id: r0,
|
|
804
791
|
fileName: r1,
|
|
805
792
|
mimeType: r2,
|
|
@@ -838,13 +825,12 @@ const encoding21 = {
|
|
|
838
825
|
}
|
|
839
826
|
},
|
|
840
827
|
decode(state) {
|
|
841
|
-
const start = state.start
|
|
842
828
|
const v = c.uint.decode(state)
|
|
843
|
-
state.start = start
|
|
844
829
|
switch (v) {
|
|
845
830
|
case 0:
|
|
846
831
|
case 1: {
|
|
847
832
|
const decoded = encoding20.decode(state)
|
|
833
|
+
decoded.version = v
|
|
848
834
|
return decoded
|
|
849
835
|
}
|
|
850
836
|
default:
|
|
@@ -862,11 +848,10 @@ const encoding22 = {
|
|
|
862
848
|
c.string.encode(state, m.agentId)
|
|
863
849
|
},
|
|
864
850
|
decode(state) {
|
|
865
|
-
const v = c.uint.decode(state)
|
|
866
851
|
const r0 = c.string.decode(state)
|
|
867
852
|
|
|
868
853
|
return {
|
|
869
|
-
version:
|
|
854
|
+
version: 0,
|
|
870
855
|
agentId: r0
|
|
871
856
|
}
|
|
872
857
|
}
|
|
@@ -899,13 +884,12 @@ const encoding23 = {
|
|
|
899
884
|
}
|
|
900
885
|
},
|
|
901
886
|
decode(state) {
|
|
902
|
-
const start = state.start
|
|
903
887
|
const v = c.uint.decode(state)
|
|
904
|
-
state.start = start
|
|
905
888
|
switch (v) {
|
|
906
889
|
case 0:
|
|
907
890
|
case 1: {
|
|
908
891
|
const decoded = encoding22.decode(state)
|
|
892
|
+
decoded.version = v
|
|
909
893
|
return decoded
|
|
910
894
|
}
|
|
911
895
|
default:
|
|
@@ -979,12 +963,11 @@ const encoding25 = {
|
|
|
979
963
|
if (m.notice) c.string.encode(state, m.notice)
|
|
980
964
|
},
|
|
981
965
|
decode(state) {
|
|
982
|
-
const v = c.uint.decode(state)
|
|
983
966
|
const r0 = encoding25_0.decode(state)
|
|
984
967
|
const flags = c.uint.decode(state)
|
|
985
968
|
|
|
986
969
|
return {
|
|
987
|
-
version:
|
|
970
|
+
version: 0,
|
|
988
971
|
sources: r0,
|
|
989
972
|
notice: (flags & 1) !== 0 ? c.string.decode(state) : null
|
|
990
973
|
}
|
|
@@ -1018,13 +1001,12 @@ const encoding26 = {
|
|
|
1018
1001
|
}
|
|
1019
1002
|
},
|
|
1020
1003
|
decode(state) {
|
|
1021
|
-
const start = state.start
|
|
1022
1004
|
const v = c.uint.decode(state)
|
|
1023
|
-
state.start = start
|
|
1024
1005
|
switch (v) {
|
|
1025
1006
|
case 0:
|
|
1026
1007
|
case 1: {
|
|
1027
1008
|
const decoded = encoding25.decode(state)
|
|
1009
|
+
decoded.version = v
|
|
1028
1010
|
return decoded
|
|
1029
1011
|
}
|
|
1030
1012
|
default:
|
|
@@ -1132,13 +1114,12 @@ const encoding27 = {
|
|
|
1132
1114
|
if (version >= 5 && m.compaction) encoding126.encode(state, m.compaction)
|
|
1133
1115
|
},
|
|
1134
1116
|
decode(state) {
|
|
1135
|
-
const v = c.uint.decode(state)
|
|
1136
1117
|
const r0 = c.string.decode(state)
|
|
1137
1118
|
const r1 = c.string.decode(state)
|
|
1138
1119
|
const flags = c.uint.decode(state)
|
|
1139
1120
|
|
|
1140
1121
|
return {
|
|
1141
|
-
version:
|
|
1122
|
+
version: 0,
|
|
1142
1123
|
id: r0,
|
|
1143
1124
|
chatId: r1,
|
|
1144
1125
|
runId: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
@@ -1194,13 +1175,12 @@ const encoding28 = {
|
|
|
1194
1175
|
}
|
|
1195
1176
|
},
|
|
1196
1177
|
decode(state) {
|
|
1197
|
-
const start = state.start
|
|
1198
1178
|
const v = c.uint.decode(state)
|
|
1199
|
-
state.start = start
|
|
1200
1179
|
switch (v) {
|
|
1201
1180
|
case 0:
|
|
1202
1181
|
case 1: {
|
|
1203
1182
|
const decoded = encoding27.decode(state)
|
|
1183
|
+
decoded.version = v
|
|
1204
1184
|
return decoded
|
|
1205
1185
|
}
|
|
1206
1186
|
default:
|
|
@@ -1228,13 +1208,12 @@ const encoding29 = {
|
|
|
1228
1208
|
if (version >= 5 && m.lastActivityAt) c.uint.encode(state, m.lastActivityAt)
|
|
1229
1209
|
},
|
|
1230
1210
|
decode(state) {
|
|
1231
|
-
const v = c.uint.decode(state)
|
|
1232
1211
|
const r0 = c.string.decode(state)
|
|
1233
1212
|
const r1 = c.uint.decode(state)
|
|
1234
1213
|
const flags = state.start < state.end ? c.uint.decode(state) : 0
|
|
1235
1214
|
|
|
1236
1215
|
return {
|
|
1237
|
-
version:
|
|
1216
|
+
version: 0,
|
|
1238
1217
|
chatId: r0,
|
|
1239
1218
|
count: r1,
|
|
1240
1219
|
lastActivityAt: (version >= 5 && (flags & 1) !== 0) ? c.uint.decode(state) : 0
|
|
@@ -1269,13 +1248,12 @@ const encoding30 = {
|
|
|
1269
1248
|
}
|
|
1270
1249
|
},
|
|
1271
1250
|
decode(state) {
|
|
1272
|
-
const start = state.start
|
|
1273
1251
|
const v = c.uint.decode(state)
|
|
1274
|
-
state.start = start
|
|
1275
1252
|
switch (v) {
|
|
1276
1253
|
case 0:
|
|
1277
1254
|
case 1: {
|
|
1278
1255
|
const decoded = encoding29.decode(state)
|
|
1256
|
+
decoded.version = v
|
|
1279
1257
|
return decoded
|
|
1280
1258
|
}
|
|
1281
1259
|
default:
|
|
@@ -1377,13 +1355,12 @@ const encoding31 = {
|
|
|
1377
1355
|
if (version >= 5 && m.compaction) encoding126.encode(state, m.compaction)
|
|
1378
1356
|
},
|
|
1379
1357
|
decode(state) {
|
|
1380
|
-
const v = c.uint.decode(state)
|
|
1381
1358
|
const r0 = c.string.decode(state)
|
|
1382
1359
|
const r1 = c.string.decode(state)
|
|
1383
1360
|
const flags = c.uint.decode(state)
|
|
1384
1361
|
|
|
1385
1362
|
return {
|
|
1386
|
-
version:
|
|
1363
|
+
version: 0,
|
|
1387
1364
|
id: r0,
|
|
1388
1365
|
chatId: r1,
|
|
1389
1366
|
runId: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
@@ -1437,13 +1414,12 @@ const encoding32 = {
|
|
|
1437
1414
|
}
|
|
1438
1415
|
},
|
|
1439
1416
|
decode(state) {
|
|
1440
|
-
const start = state.start
|
|
1441
1417
|
const v = c.uint.decode(state)
|
|
1442
|
-
state.start = start
|
|
1443
1418
|
switch (v) {
|
|
1444
1419
|
case 0:
|
|
1445
1420
|
case 1: {
|
|
1446
1421
|
const decoded = encoding31.decode(state)
|
|
1422
|
+
decoded.version = v
|
|
1447
1423
|
return decoded
|
|
1448
1424
|
}
|
|
1449
1425
|
default:
|
|
@@ -1473,13 +1449,12 @@ const encoding33 = {
|
|
|
1473
1449
|
if (m.attachment) encoding21.encode(state, m.attachment)
|
|
1474
1450
|
},
|
|
1475
1451
|
decode(state) {
|
|
1476
|
-
const v = c.uint.decode(state)
|
|
1477
1452
|
const r0 = c.string.decode(state)
|
|
1478
1453
|
const r1 = c.uint.decode(state)
|
|
1479
1454
|
const flags = c.uint.decode(state)
|
|
1480
1455
|
|
|
1481
1456
|
return {
|
|
1482
|
-
version:
|
|
1457
|
+
version: 0,
|
|
1483
1458
|
id: r0,
|
|
1484
1459
|
updatedAt: r1,
|
|
1485
1460
|
runStatus: (flags & 1) !== 0 ? encoding7.decode(state) : null,
|
|
@@ -1515,13 +1490,12 @@ const encoding34 = {
|
|
|
1515
1490
|
}
|
|
1516
1491
|
},
|
|
1517
1492
|
decode(state) {
|
|
1518
|
-
const start = state.start
|
|
1519
1493
|
const v = c.uint.decode(state)
|
|
1520
|
-
state.start = start
|
|
1521
1494
|
switch (v) {
|
|
1522
1495
|
case 0:
|
|
1523
1496
|
case 1: {
|
|
1524
1497
|
const decoded = encoding33.decode(state)
|
|
1498
|
+
decoded.version = v
|
|
1525
1499
|
return decoded
|
|
1526
1500
|
}
|
|
1527
1501
|
default:
|
|
@@ -1545,12 +1519,11 @@ const encoding35 = {
|
|
|
1545
1519
|
c.uint.encode(state, m.resolvedAt)
|
|
1546
1520
|
},
|
|
1547
1521
|
decode(state) {
|
|
1548
|
-
const v = c.uint.decode(state)
|
|
1549
1522
|
const r0 = c.string.decode(state)
|
|
1550
1523
|
const flags = c.uint.decode(state)
|
|
1551
1524
|
|
|
1552
1525
|
return {
|
|
1553
|
-
version:
|
|
1526
|
+
version: 0,
|
|
1554
1527
|
id: r0,
|
|
1555
1528
|
approved: (flags & 1) !== 0,
|
|
1556
1529
|
resolvedAt: c.uint.decode(state)
|
|
@@ -1585,13 +1558,12 @@ const encoding36 = {
|
|
|
1585
1558
|
}
|
|
1586
1559
|
},
|
|
1587
1560
|
decode(state) {
|
|
1588
|
-
const start = state.start
|
|
1589
1561
|
const v = c.uint.decode(state)
|
|
1590
|
-
state.start = start
|
|
1591
1562
|
switch (v) {
|
|
1592
1563
|
case 0:
|
|
1593
1564
|
case 1: {
|
|
1594
1565
|
const decoded = encoding35.decode(state)
|
|
1566
|
+
decoded.version = v
|
|
1595
1567
|
return decoded
|
|
1596
1568
|
}
|
|
1597
1569
|
default:
|
|
@@ -1988,7 +1960,6 @@ const encoding43 = {
|
|
|
1988
1960
|
if (version >= 3 && m.disabledToolsets) encoding43_24.encode(state, m.disabledToolsets)
|
|
1989
1961
|
},
|
|
1990
1962
|
decode(state) {
|
|
1991
|
-
const v = c.uint.decode(state)
|
|
1992
1963
|
const r0 = c.string.decode(state)
|
|
1993
1964
|
const r1 = c.string.decode(state)
|
|
1994
1965
|
const r2 = c.string.decode(state)
|
|
@@ -1998,7 +1969,7 @@ const encoding43 = {
|
|
|
1998
1969
|
const flags = c.uint.decode(state)
|
|
1999
1970
|
|
|
2000
1971
|
return {
|
|
2001
|
-
version:
|
|
1972
|
+
version: 0,
|
|
2002
1973
|
id: r0,
|
|
2003
1974
|
name: r1,
|
|
2004
1975
|
bio: r2,
|
|
@@ -2055,13 +2026,12 @@ const encoding44 = {
|
|
|
2055
2026
|
}
|
|
2056
2027
|
},
|
|
2057
2028
|
decode(state) {
|
|
2058
|
-
const start = state.start
|
|
2059
2029
|
const v = c.uint.decode(state)
|
|
2060
|
-
state.start = start
|
|
2061
2030
|
switch (v) {
|
|
2062
2031
|
case 0:
|
|
2063
2032
|
case 1: {
|
|
2064
2033
|
const decoded = encoding43.decode(state)
|
|
2034
|
+
decoded.version = v
|
|
2065
2035
|
return decoded
|
|
2066
2036
|
}
|
|
2067
2037
|
default:
|
|
@@ -2108,7 +2078,6 @@ const encoding45 = {
|
|
|
2108
2078
|
if (version >= 6 && m.rankedAt) c.uint.encode(state, m.rankedAt)
|
|
2109
2079
|
},
|
|
2110
2080
|
decode(state) {
|
|
2111
|
-
const v = c.uint.decode(state)
|
|
2112
2081
|
const r0 = c.string.decode(state)
|
|
2113
2082
|
const r1 = c.string.decode(state)
|
|
2114
2083
|
const r2 = c.string.decode(state)
|
|
@@ -2116,7 +2085,7 @@ const encoding45 = {
|
|
|
2116
2085
|
const flags = c.uint.decode(state)
|
|
2117
2086
|
|
|
2118
2087
|
return {
|
|
2119
|
-
version:
|
|
2088
|
+
version: 0,
|
|
2120
2089
|
id: r0,
|
|
2121
2090
|
agentId: r1,
|
|
2122
2091
|
title: r2,
|
|
@@ -2159,13 +2128,12 @@ const encoding46 = {
|
|
|
2159
2128
|
}
|
|
2160
2129
|
},
|
|
2161
2130
|
decode(state) {
|
|
2162
|
-
const start = state.start
|
|
2163
2131
|
const v = c.uint.decode(state)
|
|
2164
|
-
state.start = start
|
|
2165
2132
|
switch (v) {
|
|
2166
2133
|
case 0:
|
|
2167
2134
|
case 1: {
|
|
2168
2135
|
const decoded = encoding45.decode(state)
|
|
2136
|
+
decoded.version = v
|
|
2169
2137
|
return decoded
|
|
2170
2138
|
}
|
|
2171
2139
|
default:
|
|
@@ -2276,7 +2244,6 @@ const encoding47 = {
|
|
|
2276
2244
|
if (version >= 4 && m.attestedAt) c.uint.encode(state, m.attestedAt)
|
|
2277
2245
|
},
|
|
2278
2246
|
decode(state) {
|
|
2279
|
-
const v = c.uint.decode(state)
|
|
2280
2247
|
const r0 = c.fixed32.decode(state)
|
|
2281
2248
|
const r1 = c.string.decode(state)
|
|
2282
2249
|
const r2 = c.uint.decode(state)
|
|
@@ -2285,7 +2252,7 @@ const encoding47 = {
|
|
|
2285
2252
|
const flags = c.uint.decode(state)
|
|
2286
2253
|
|
|
2287
2254
|
return {
|
|
2288
|
-
version:
|
|
2255
|
+
version: 0,
|
|
2289
2256
|
id: r0,
|
|
2290
2257
|
name: r1,
|
|
2291
2258
|
joinedAt: r2,
|
|
@@ -2339,13 +2306,12 @@ const encoding48 = {
|
|
|
2339
2306
|
}
|
|
2340
2307
|
},
|
|
2341
2308
|
decode(state) {
|
|
2342
|
-
const start = state.start
|
|
2343
2309
|
const v = c.uint.decode(state)
|
|
2344
|
-
state.start = start
|
|
2345
2310
|
switch (v) {
|
|
2346
2311
|
case 0:
|
|
2347
2312
|
case 1: {
|
|
2348
2313
|
const decoded = encoding47.decode(state)
|
|
2314
|
+
decoded.version = v
|
|
2349
2315
|
return decoded
|
|
2350
2316
|
}
|
|
2351
2317
|
default:
|
|
@@ -2371,12 +2337,11 @@ const encoding49 = {
|
|
|
2371
2337
|
if (m.device) encoding48.encode(state, m.device)
|
|
2372
2338
|
},
|
|
2373
2339
|
decode(state) {
|
|
2374
|
-
const v = c.uint.decode(state)
|
|
2375
2340
|
const r0 = c.buffer.decode(state)
|
|
2376
2341
|
const flags = c.uint.decode(state)
|
|
2377
2342
|
|
|
2378
2343
|
return {
|
|
2379
|
-
version:
|
|
2344
|
+
version: 0,
|
|
2380
2345
|
writerKey: r0,
|
|
2381
2346
|
device: (flags & 1) !== 0 ? encoding48.decode(state) : null
|
|
2382
2347
|
}
|
|
@@ -2410,13 +2375,12 @@ const encoding50 = {
|
|
|
2410
2375
|
}
|
|
2411
2376
|
},
|
|
2412
2377
|
decode(state) {
|
|
2413
|
-
const start = state.start
|
|
2414
2378
|
const v = c.uint.decode(state)
|
|
2415
|
-
state.start = start
|
|
2416
2379
|
switch (v) {
|
|
2417
2380
|
case 0:
|
|
2418
2381
|
case 1: {
|
|
2419
2382
|
const decoded = encoding49.decode(state)
|
|
2383
|
+
decoded.version = v
|
|
2420
2384
|
return decoded
|
|
2421
2385
|
}
|
|
2422
2386
|
default:
|
|
@@ -2444,12 +2408,11 @@ const encoding51 = {
|
|
|
2444
2408
|
if (m.revokedAt) c.uint.encode(state, m.revokedAt)
|
|
2445
2409
|
},
|
|
2446
2410
|
decode(state) {
|
|
2447
|
-
const v = c.uint.decode(state)
|
|
2448
2411
|
const r0 = c.buffer.decode(state)
|
|
2449
2412
|
const flags = c.uint.decode(state)
|
|
2450
2413
|
|
|
2451
2414
|
return {
|
|
2452
|
-
version:
|
|
2415
|
+
version: 0,
|
|
2453
2416
|
writerKey: r0,
|
|
2454
2417
|
deviceId: (flags & 1) !== 0 ? c.fixed32.decode(state) : null,
|
|
2455
2418
|
revokedAt: (flags & 2) !== 0 ? c.uint.decode(state) : 0
|
|
@@ -2484,13 +2447,12 @@ const encoding52 = {
|
|
|
2484
2447
|
}
|
|
2485
2448
|
},
|
|
2486
2449
|
decode(state) {
|
|
2487
|
-
const start = state.start
|
|
2488
2450
|
const v = c.uint.decode(state)
|
|
2489
|
-
state.start = start
|
|
2490
2451
|
switch (v) {
|
|
2491
2452
|
case 0:
|
|
2492
2453
|
case 1: {
|
|
2493
2454
|
const decoded = encoding51.decode(state)
|
|
2455
|
+
decoded.version = v
|
|
2494
2456
|
return decoded
|
|
2495
2457
|
}
|
|
2496
2458
|
default:
|
|
@@ -2518,12 +2480,11 @@ const encoding53 = {
|
|
|
2518
2480
|
if (m.deviceId) c.fixed32.encode(state, m.deviceId)
|
|
2519
2481
|
},
|
|
2520
2482
|
decode(state) {
|
|
2521
|
-
const v = c.uint.decode(state)
|
|
2522
2483
|
const r0 = c.buffer.decode(state)
|
|
2523
2484
|
const flags = c.uint.decode(state)
|
|
2524
2485
|
|
|
2525
2486
|
return {
|
|
2526
|
-
version:
|
|
2487
|
+
version: 0,
|
|
2527
2488
|
signature: r0,
|
|
2528
2489
|
device: (flags & 1) !== 0 ? encoding48.decode(state) : null,
|
|
2529
2490
|
deviceId: (flags & 2) !== 0 ? c.fixed32.decode(state) : null
|
|
@@ -2558,13 +2519,12 @@ const encoding54 = {
|
|
|
2558
2519
|
}
|
|
2559
2520
|
},
|
|
2560
2521
|
decode(state) {
|
|
2561
|
-
const start = state.start
|
|
2562
2522
|
const v = c.uint.decode(state)
|
|
2563
|
-
state.start = start
|
|
2564
2523
|
switch (v) {
|
|
2565
2524
|
case 0:
|
|
2566
2525
|
case 1: {
|
|
2567
2526
|
const decoded = encoding53.decode(state)
|
|
2527
|
+
decoded.version = v
|
|
2568
2528
|
return decoded
|
|
2569
2529
|
}
|
|
2570
2530
|
default:
|
|
@@ -2582,11 +2542,10 @@ const encoding55 = {
|
|
|
2582
2542
|
encoding48.encode(state, m.device)
|
|
2583
2543
|
},
|
|
2584
2544
|
decode(state) {
|
|
2585
|
-
const v = c.uint.decode(state)
|
|
2586
2545
|
const r0 = encoding48.decode(state)
|
|
2587
2546
|
|
|
2588
2547
|
return {
|
|
2589
|
-
version:
|
|
2548
|
+
version: 0,
|
|
2590
2549
|
device: r0
|
|
2591
2550
|
}
|
|
2592
2551
|
}
|
|
@@ -2619,13 +2578,12 @@ const encoding56 = {
|
|
|
2619
2578
|
}
|
|
2620
2579
|
},
|
|
2621
2580
|
decode(state) {
|
|
2622
|
-
const start = state.start
|
|
2623
2581
|
const v = c.uint.decode(state)
|
|
2624
|
-
state.start = start
|
|
2625
2582
|
switch (v) {
|
|
2626
2583
|
case 0:
|
|
2627
2584
|
case 1: {
|
|
2628
2585
|
const decoded = encoding55.decode(state)
|
|
2586
|
+
decoded.version = v
|
|
2629
2587
|
return decoded
|
|
2630
2588
|
}
|
|
2631
2589
|
default:
|
|
@@ -2664,13 +2622,12 @@ const encoding58 = {
|
|
|
2664
2622
|
}
|
|
2665
2623
|
},
|
|
2666
2624
|
decode(state) {
|
|
2667
|
-
const start = state.start
|
|
2668
2625
|
const v = c.uint.decode(state)
|
|
2669
|
-
state.start = start
|
|
2670
2626
|
switch (v) {
|
|
2671
2627
|
case 0:
|
|
2672
2628
|
case 1: {
|
|
2673
2629
|
const decoded = encoding57.decode(state)
|
|
2630
|
+
decoded.version = v
|
|
2674
2631
|
return decoded
|
|
2675
2632
|
}
|
|
2676
2633
|
default:
|
|
@@ -2723,12 +2680,11 @@ const encoding59 = {
|
|
|
2723
2680
|
if (version >= 4 && m.toolCatalog) encoding59_6.encode(state, m.toolCatalog)
|
|
2724
2681
|
},
|
|
2725
2682
|
decode(state) {
|
|
2726
|
-
const v = c.uint.decode(state)
|
|
2727
2683
|
const r0 = c.fixed32.decode(state)
|
|
2728
2684
|
const flags = c.uint.decode(state)
|
|
2729
2685
|
|
|
2730
2686
|
return {
|
|
2731
|
-
version:
|
|
2687
|
+
version: 0,
|
|
2732
2688
|
deviceId: r0,
|
|
2733
2689
|
installedToolNames: (flags & 1) !== 0 ? encoding59_1.decode(state) : null,
|
|
2734
2690
|
installedSkillNames: (flags & 2) !== 0 ? encoding59_2.decode(state) : null,
|
|
@@ -2767,13 +2723,12 @@ const encoding60 = {
|
|
|
2767
2723
|
}
|
|
2768
2724
|
},
|
|
2769
2725
|
decode(state) {
|
|
2770
|
-
const start = state.start
|
|
2771
2726
|
const v = c.uint.decode(state)
|
|
2772
|
-
state.start = start
|
|
2773
2727
|
switch (v) {
|
|
2774
2728
|
case 0:
|
|
2775
2729
|
case 1: {
|
|
2776
2730
|
const decoded = encoding59.decode(state)
|
|
2731
|
+
decoded.version = v
|
|
2777
2732
|
return decoded
|
|
2778
2733
|
}
|
|
2779
2734
|
default:
|
|
@@ -2791,11 +2746,10 @@ const encoding61 = {
|
|
|
2791
2746
|
encoding44.encode(state, m.agent)
|
|
2792
2747
|
},
|
|
2793
2748
|
decode(state) {
|
|
2794
|
-
const v = c.uint.decode(state)
|
|
2795
2749
|
const r0 = encoding44.decode(state)
|
|
2796
2750
|
|
|
2797
2751
|
return {
|
|
2798
|
-
version:
|
|
2752
|
+
version: 0,
|
|
2799
2753
|
agent: r0
|
|
2800
2754
|
}
|
|
2801
2755
|
}
|
|
@@ -2828,13 +2782,12 @@ const encoding62 = {
|
|
|
2828
2782
|
}
|
|
2829
2783
|
},
|
|
2830
2784
|
decode(state) {
|
|
2831
|
-
const start = state.start
|
|
2832
2785
|
const v = c.uint.decode(state)
|
|
2833
|
-
state.start = start
|
|
2834
2786
|
switch (v) {
|
|
2835
2787
|
case 0:
|
|
2836
2788
|
case 1: {
|
|
2837
2789
|
const decoded = encoding61.decode(state)
|
|
2790
|
+
decoded.version = v
|
|
2838
2791
|
return decoded
|
|
2839
2792
|
}
|
|
2840
2793
|
default:
|
|
@@ -2852,11 +2805,10 @@ const encoding63 = {
|
|
|
2852
2805
|
encoding46.encode(state, m.chat)
|
|
2853
2806
|
},
|
|
2854
2807
|
decode(state) {
|
|
2855
|
-
const v = c.uint.decode(state)
|
|
2856
2808
|
const r0 = encoding46.decode(state)
|
|
2857
2809
|
|
|
2858
2810
|
return {
|
|
2859
|
-
version:
|
|
2811
|
+
version: 0,
|
|
2860
2812
|
chat: r0
|
|
2861
2813
|
}
|
|
2862
2814
|
}
|
|
@@ -2889,13 +2841,12 @@ const encoding64 = {
|
|
|
2889
2841
|
}
|
|
2890
2842
|
},
|
|
2891
2843
|
decode(state) {
|
|
2892
|
-
const start = state.start
|
|
2893
2844
|
const v = c.uint.decode(state)
|
|
2894
|
-
state.start = start
|
|
2895
2845
|
switch (v) {
|
|
2896
2846
|
case 0:
|
|
2897
2847
|
case 1: {
|
|
2898
2848
|
const decoded = encoding63.decode(state)
|
|
2849
|
+
decoded.version = v
|
|
2899
2850
|
return decoded
|
|
2900
2851
|
}
|
|
2901
2852
|
default:
|
|
@@ -2976,12 +2927,11 @@ const encoding66 = {
|
|
|
2976
2927
|
if (version >= 3 && m.effect) c.string.encode(state, m.effect)
|
|
2977
2928
|
},
|
|
2978
2929
|
decode(state) {
|
|
2979
|
-
const v = c.uint.decode(state)
|
|
2980
2930
|
const r0 = c.string.decode(state)
|
|
2981
2931
|
const flags = c.uint.decode(state)
|
|
2982
2932
|
|
|
2983
2933
|
return {
|
|
2984
|
-
version:
|
|
2934
|
+
version: 0,
|
|
2985
2935
|
id: r0,
|
|
2986
2936
|
toolName: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
2987
2937
|
resourceKind: (flags & 2) !== 0 ? c.string.decode(state) : null,
|
|
@@ -3023,13 +2973,12 @@ const encoding67 = {
|
|
|
3023
2973
|
}
|
|
3024
2974
|
},
|
|
3025
2975
|
decode(state) {
|
|
3026
|
-
const start = state.start
|
|
3027
2976
|
const v = c.uint.decode(state)
|
|
3028
|
-
state.start = start
|
|
3029
2977
|
switch (v) {
|
|
3030
2978
|
case 0:
|
|
3031
2979
|
case 1: {
|
|
3032
2980
|
const decoded = encoding66.decode(state)
|
|
2981
|
+
decoded.version = v
|
|
3033
2982
|
return decoded
|
|
3034
2983
|
}
|
|
3035
2984
|
default:
|
|
@@ -3047,11 +2996,10 @@ const encoding68 = {
|
|
|
3047
2996
|
encoding67.encode(state, m.rule)
|
|
3048
2997
|
},
|
|
3049
2998
|
decode(state) {
|
|
3050
|
-
const v = c.uint.decode(state)
|
|
3051
2999
|
const r0 = encoding67.decode(state)
|
|
3052
3000
|
|
|
3053
3001
|
return {
|
|
3054
|
-
version:
|
|
3002
|
+
version: 0,
|
|
3055
3003
|
rule: r0
|
|
3056
3004
|
}
|
|
3057
3005
|
}
|
|
@@ -3084,13 +3032,12 @@ const encoding69 = {
|
|
|
3084
3032
|
}
|
|
3085
3033
|
},
|
|
3086
3034
|
decode(state) {
|
|
3087
|
-
const start = state.start
|
|
3088
3035
|
const v = c.uint.decode(state)
|
|
3089
|
-
state.start = start
|
|
3090
3036
|
switch (v) {
|
|
3091
3037
|
case 0:
|
|
3092
3038
|
case 1: {
|
|
3093
3039
|
const decoded = encoding68.decode(state)
|
|
3040
|
+
decoded.version = v
|
|
3094
3041
|
return decoded
|
|
3095
3042
|
}
|
|
3096
3043
|
default:
|
|
@@ -3108,11 +3055,10 @@ const encoding70 = {
|
|
|
3108
3055
|
c.buffer.encode(state, m.key)
|
|
3109
3056
|
},
|
|
3110
3057
|
decode(state) {
|
|
3111
|
-
const v = c.uint.decode(state)
|
|
3112
3058
|
const r0 = c.buffer.decode(state)
|
|
3113
3059
|
|
|
3114
3060
|
return {
|
|
3115
|
-
version:
|
|
3061
|
+
version: 0,
|
|
3116
3062
|
key: r0
|
|
3117
3063
|
}
|
|
3118
3064
|
}
|
|
@@ -3145,13 +3091,12 @@ const encoding71 = {
|
|
|
3145
3091
|
}
|
|
3146
3092
|
},
|
|
3147
3093
|
decode(state) {
|
|
3148
|
-
const start = state.start
|
|
3149
3094
|
const v = c.uint.decode(state)
|
|
3150
|
-
state.start = start
|
|
3151
3095
|
switch (v) {
|
|
3152
3096
|
case 0:
|
|
3153
3097
|
case 1: {
|
|
3154
3098
|
const decoded = encoding70.decode(state)
|
|
3099
|
+
decoded.version = v
|
|
3155
3100
|
return decoded
|
|
3156
3101
|
}
|
|
3157
3102
|
default:
|
|
@@ -3211,13 +3156,12 @@ const encoding73 = {
|
|
|
3211
3156
|
if (m.blindPeers) encoding73_4.encode(state, m.blindPeers)
|
|
3212
3157
|
},
|
|
3213
3158
|
decode(state) {
|
|
3214
|
-
const v = c.uint.decode(state)
|
|
3215
3159
|
const r0 = c.fixed32.decode(state)
|
|
3216
3160
|
const r1 = c.fixed32.decode(state)
|
|
3217
3161
|
const flags = c.uint.decode(state)
|
|
3218
3162
|
|
|
3219
3163
|
return {
|
|
3220
|
-
version:
|
|
3164
|
+
version: 0,
|
|
3221
3165
|
meshKey: r0,
|
|
3222
3166
|
seed: r1,
|
|
3223
3167
|
fastForward: (flags & 1) !== 0 ? encoding73_2.decode(state) : null,
|
|
@@ -3254,13 +3198,12 @@ const encoding74 = {
|
|
|
3254
3198
|
}
|
|
3255
3199
|
},
|
|
3256
3200
|
decode(state) {
|
|
3257
|
-
const start = state.start
|
|
3258
3201
|
const v = c.uint.decode(state)
|
|
3259
|
-
state.start = start
|
|
3260
3202
|
switch (v) {
|
|
3261
3203
|
case 0:
|
|
3262
3204
|
case 1: {
|
|
3263
3205
|
const decoded = encoding73.decode(state)
|
|
3206
|
+
decoded.version = v
|
|
3264
3207
|
return decoded
|
|
3265
3208
|
}
|
|
3266
3209
|
default:
|
|
@@ -3291,13 +3234,12 @@ const encoding75 = {
|
|
|
3291
3234
|
if (m.blindPeers) encoding75_2.encode(state, m.blindPeers)
|
|
3292
3235
|
},
|
|
3293
3236
|
decode(state) {
|
|
3294
|
-
const v = c.uint.decode(state)
|
|
3295
3237
|
const r0 = encoding44.decode(state)
|
|
3296
3238
|
const r1 = encoding46.decode(state)
|
|
3297
3239
|
const flags = c.uint.decode(state)
|
|
3298
3240
|
|
|
3299
3241
|
return {
|
|
3300
|
-
version:
|
|
3242
|
+
version: 0,
|
|
3301
3243
|
agent: r0,
|
|
3302
3244
|
chat: r1,
|
|
3303
3245
|
blindPeers: (flags & 1) !== 0 ? encoding75_2.decode(state) : null
|
|
@@ -3332,13 +3274,12 @@ const encoding76 = {
|
|
|
3332
3274
|
}
|
|
3333
3275
|
},
|
|
3334
3276
|
decode(state) {
|
|
3335
|
-
const start = state.start
|
|
3336
3277
|
const v = c.uint.decode(state)
|
|
3337
|
-
state.start = start
|
|
3338
3278
|
switch (v) {
|
|
3339
3279
|
case 0:
|
|
3340
3280
|
case 1: {
|
|
3341
3281
|
const decoded = encoding75.decode(state)
|
|
3282
|
+
decoded.version = v
|
|
3342
3283
|
return decoded
|
|
3343
3284
|
}
|
|
3344
3285
|
default:
|
|
@@ -3378,7 +3319,6 @@ const encoding77 = {
|
|
|
3378
3319
|
if (m.deletedAt) c.uint.encode(state, m.deletedAt)
|
|
3379
3320
|
},
|
|
3380
3321
|
decode(state) {
|
|
3381
|
-
const v = c.uint.decode(state)
|
|
3382
3322
|
const r0 = c.string.decode(state)
|
|
3383
3323
|
const r1 = c.string.decode(state)
|
|
3384
3324
|
const r2 = c.string.decode(state)
|
|
@@ -3390,7 +3330,7 @@ const encoding77 = {
|
|
|
3390
3330
|
const flags = c.uint.decode(state)
|
|
3391
3331
|
|
|
3392
3332
|
return {
|
|
3393
|
-
version:
|
|
3333
|
+
version: 0,
|
|
3394
3334
|
id: r0,
|
|
3395
3335
|
chatId: r1,
|
|
3396
3336
|
fileName: r2,
|
|
@@ -3431,13 +3371,12 @@ const encoding78 = {
|
|
|
3431
3371
|
}
|
|
3432
3372
|
},
|
|
3433
3373
|
decode(state) {
|
|
3434
|
-
const start = state.start
|
|
3435
3374
|
const v = c.uint.decode(state)
|
|
3436
|
-
state.start = start
|
|
3437
3375
|
switch (v) {
|
|
3438
3376
|
case 0:
|
|
3439
3377
|
case 1: {
|
|
3440
3378
|
const decoded = encoding77.decode(state)
|
|
3379
|
+
decoded.version = v
|
|
3441
3380
|
return decoded
|
|
3442
3381
|
}
|
|
3443
3382
|
default:
|
|
@@ -3455,11 +3394,10 @@ const encoding79 = {
|
|
|
3455
3394
|
encoding78.encode(state, m.knowledge)
|
|
3456
3395
|
},
|
|
3457
3396
|
decode(state) {
|
|
3458
|
-
const v = c.uint.decode(state)
|
|
3459
3397
|
const r0 = encoding78.decode(state)
|
|
3460
3398
|
|
|
3461
3399
|
return {
|
|
3462
|
-
version:
|
|
3400
|
+
version: 0,
|
|
3463
3401
|
knowledge: r0
|
|
3464
3402
|
}
|
|
3465
3403
|
}
|
|
@@ -3492,13 +3430,12 @@ const encoding80 = {
|
|
|
3492
3430
|
}
|
|
3493
3431
|
},
|
|
3494
3432
|
decode(state) {
|
|
3495
|
-
const start = state.start
|
|
3496
3433
|
const v = c.uint.decode(state)
|
|
3497
|
-
state.start = start
|
|
3498
3434
|
switch (v) {
|
|
3499
3435
|
case 0:
|
|
3500
3436
|
case 1: {
|
|
3501
3437
|
const decoded = encoding79.decode(state)
|
|
3438
|
+
decoded.version = v
|
|
3502
3439
|
return decoded
|
|
3503
3440
|
}
|
|
3504
3441
|
default:
|
|
@@ -3518,12 +3455,11 @@ const encoding81 = {
|
|
|
3518
3455
|
c.uint.encode(state, m.at)
|
|
3519
3456
|
},
|
|
3520
3457
|
decode(state) {
|
|
3521
|
-
const v = c.uint.decode(state)
|
|
3522
3458
|
const r0 = c.string.decode(state)
|
|
3523
3459
|
const r1 = c.uint.decode(state)
|
|
3524
3460
|
|
|
3525
3461
|
return {
|
|
3526
|
-
version:
|
|
3462
|
+
version: 0,
|
|
3527
3463
|
knowledgeId: r0,
|
|
3528
3464
|
at: r1
|
|
3529
3465
|
}
|
|
@@ -3557,13 +3493,12 @@ const encoding82 = {
|
|
|
3557
3493
|
}
|
|
3558
3494
|
},
|
|
3559
3495
|
decode(state) {
|
|
3560
|
-
const start = state.start
|
|
3561
3496
|
const v = c.uint.decode(state)
|
|
3562
|
-
state.start = start
|
|
3563
3497
|
switch (v) {
|
|
3564
3498
|
case 0:
|
|
3565
3499
|
case 1: {
|
|
3566
3500
|
const decoded = encoding81.decode(state)
|
|
3501
|
+
decoded.version = v
|
|
3567
3502
|
return decoded
|
|
3568
3503
|
}
|
|
3569
3504
|
default:
|
|
@@ -3593,7 +3528,6 @@ const encoding83 = {
|
|
|
3593
3528
|
c.uint.encode(state, m.createdAt)
|
|
3594
3529
|
},
|
|
3595
3530
|
decode(state) {
|
|
3596
|
-
const v = c.uint.decode(state)
|
|
3597
3531
|
const r0 = c.string.decode(state)
|
|
3598
3532
|
const r1 = c.string.decode(state)
|
|
3599
3533
|
const r2 = c.string.decode(state)
|
|
@@ -3603,7 +3537,7 @@ const encoding83 = {
|
|
|
3603
3537
|
const r6 = c.uint.decode(state)
|
|
3604
3538
|
|
|
3605
3539
|
return {
|
|
3606
|
-
version:
|
|
3540
|
+
version: 0,
|
|
3607
3541
|
id: r0,
|
|
3608
3542
|
knowledgeId: r1,
|
|
3609
3543
|
sourceHash: r2,
|
|
@@ -3642,13 +3576,12 @@ const encoding84 = {
|
|
|
3642
3576
|
}
|
|
3643
3577
|
},
|
|
3644
3578
|
decode(state) {
|
|
3645
|
-
const start = state.start
|
|
3646
3579
|
const v = c.uint.decode(state)
|
|
3647
|
-
state.start = start
|
|
3648
3580
|
switch (v) {
|
|
3649
3581
|
case 0:
|
|
3650
3582
|
case 1: {
|
|
3651
3583
|
const decoded = encoding83.decode(state)
|
|
3584
|
+
decoded.version = v
|
|
3652
3585
|
return decoded
|
|
3653
3586
|
}
|
|
3654
3587
|
default:
|
|
@@ -3666,11 +3599,10 @@ const encoding85 = {
|
|
|
3666
3599
|
encoding84.encode(state, m.artifact)
|
|
3667
3600
|
},
|
|
3668
3601
|
decode(state) {
|
|
3669
|
-
const v = c.uint.decode(state)
|
|
3670
3602
|
const r0 = encoding84.decode(state)
|
|
3671
3603
|
|
|
3672
3604
|
return {
|
|
3673
|
-
version:
|
|
3605
|
+
version: 0,
|
|
3674
3606
|
artifact: r0
|
|
3675
3607
|
}
|
|
3676
3608
|
}
|
|
@@ -3703,13 +3635,12 @@ const encoding86 = {
|
|
|
3703
3635
|
}
|
|
3704
3636
|
},
|
|
3705
3637
|
decode(state) {
|
|
3706
|
-
const start = state.start
|
|
3707
3638
|
const v = c.uint.decode(state)
|
|
3708
|
-
state.start = start
|
|
3709
3639
|
switch (v) {
|
|
3710
3640
|
case 0:
|
|
3711
3641
|
case 1: {
|
|
3712
3642
|
const decoded = encoding85.decode(state)
|
|
3643
|
+
decoded.version = v
|
|
3713
3644
|
return decoded
|
|
3714
3645
|
}
|
|
3715
3646
|
default:
|
|
@@ -3821,7 +3752,6 @@ const encoding89 = {
|
|
|
3821
3752
|
if (m.error) c.string.encode(state, m.error)
|
|
3822
3753
|
},
|
|
3823
3754
|
decode(state) {
|
|
3824
|
-
const v = c.uint.decode(state)
|
|
3825
3755
|
const r0 = c.string.decode(state)
|
|
3826
3756
|
const r1 = c.string.decode(state)
|
|
3827
3757
|
const r2 = c.string.decode(state)
|
|
@@ -3833,7 +3763,7 @@ const encoding89 = {
|
|
|
3833
3763
|
const flags = c.uint.decode(state)
|
|
3834
3764
|
|
|
3835
3765
|
return {
|
|
3836
|
-
version:
|
|
3766
|
+
version: 0,
|
|
3837
3767
|
id: r0,
|
|
3838
3768
|
knowledgeId: r1,
|
|
3839
3769
|
chatId: r2,
|
|
@@ -3874,13 +3804,12 @@ const encoding90 = {
|
|
|
3874
3804
|
}
|
|
3875
3805
|
},
|
|
3876
3806
|
decode(state) {
|
|
3877
|
-
const start = state.start
|
|
3878
3807
|
const v = c.uint.decode(state)
|
|
3879
|
-
state.start = start
|
|
3880
3808
|
switch (v) {
|
|
3881
3809
|
case 0:
|
|
3882
3810
|
case 1: {
|
|
3883
3811
|
const decoded = encoding89.decode(state)
|
|
3812
|
+
decoded.version = v
|
|
3884
3813
|
return decoded
|
|
3885
3814
|
}
|
|
3886
3815
|
default:
|
|
@@ -3904,14 +3833,13 @@ const encoding91 = {
|
|
|
3904
3833
|
c.uint.encode(state, m.at)
|
|
3905
3834
|
},
|
|
3906
3835
|
decode(state) {
|
|
3907
|
-
const v = c.uint.decode(state)
|
|
3908
3836
|
const r0 = c.string.decode(state)
|
|
3909
3837
|
const r1 = c.string.decode(state)
|
|
3910
3838
|
const r2 = c.string.decode(state)
|
|
3911
3839
|
const r3 = c.uint.decode(state)
|
|
3912
3840
|
|
|
3913
3841
|
return {
|
|
3914
|
-
version:
|
|
3842
|
+
version: 0,
|
|
3915
3843
|
id: r0,
|
|
3916
3844
|
knowledgeId: r1,
|
|
3917
3845
|
claimId: r2,
|
|
@@ -3947,13 +3875,12 @@ const encoding92 = {
|
|
|
3947
3875
|
}
|
|
3948
3876
|
},
|
|
3949
3877
|
decode(state) {
|
|
3950
|
-
const start = state.start
|
|
3951
3878
|
const v = c.uint.decode(state)
|
|
3952
|
-
state.start = start
|
|
3953
3879
|
switch (v) {
|
|
3954
3880
|
case 0:
|
|
3955
3881
|
case 1: {
|
|
3956
3882
|
const decoded = encoding91.decode(state)
|
|
3883
|
+
decoded.version = v
|
|
3957
3884
|
return decoded
|
|
3958
3885
|
}
|
|
3959
3886
|
default:
|
|
@@ -3983,14 +3910,13 @@ const encoding93 = {
|
|
|
3983
3910
|
if (m.error) c.string.encode(state, m.error)
|
|
3984
3911
|
},
|
|
3985
3912
|
decode(state) {
|
|
3986
|
-
const v = c.uint.decode(state)
|
|
3987
3913
|
const r0 = c.string.decode(state)
|
|
3988
3914
|
const r1 = c.string.decode(state)
|
|
3989
3915
|
const r2 = encoding88.decode(state)
|
|
3990
3916
|
const flags = c.uint.decode(state)
|
|
3991
3917
|
|
|
3992
3918
|
return {
|
|
3993
|
-
version:
|
|
3919
|
+
version: 0,
|
|
3994
3920
|
id: r0,
|
|
3995
3921
|
claimId: r1,
|
|
3996
3922
|
status: r2,
|
|
@@ -4026,13 +3952,12 @@ const encoding94 = {
|
|
|
4026
3952
|
}
|
|
4027
3953
|
},
|
|
4028
3954
|
decode(state) {
|
|
4029
|
-
const start = state.start
|
|
4030
3955
|
const v = c.uint.decode(state)
|
|
4031
|
-
state.start = start
|
|
4032
3956
|
switch (v) {
|
|
4033
3957
|
case 0:
|
|
4034
3958
|
case 1: {
|
|
4035
3959
|
const decoded = encoding93.decode(state)
|
|
3960
|
+
decoded.version = v
|
|
4036
3961
|
return decoded
|
|
4037
3962
|
}
|
|
4038
3963
|
default:
|
|
@@ -4062,14 +3987,13 @@ const encoding95 = {
|
|
|
4062
3987
|
if (version >= 3 && m.platform) c.string.encode(state, m.platform)
|
|
4063
3988
|
},
|
|
4064
3989
|
decode(state) {
|
|
4065
|
-
const v = c.uint.decode(state)
|
|
4066
3990
|
const r0 = c.fixed32.decode(state)
|
|
4067
3991
|
const r1 = encoding38.decode(state)
|
|
4068
3992
|
const r2 = c.string.decode(state)
|
|
4069
3993
|
const flags = state.start < state.end ? c.uint.decode(state) : 0
|
|
4070
3994
|
|
|
4071
3995
|
return {
|
|
4072
|
-
version:
|
|
3996
|
+
version: 0,
|
|
4073
3997
|
deviceId: r0,
|
|
4074
3998
|
capabilityProfile: r1,
|
|
4075
3999
|
recommendedModelName: r2,
|
|
@@ -4105,13 +4029,12 @@ const encoding96 = {
|
|
|
4105
4029
|
}
|
|
4106
4030
|
},
|
|
4107
4031
|
decode(state) {
|
|
4108
|
-
const start = state.start
|
|
4109
4032
|
const v = c.uint.decode(state)
|
|
4110
|
-
state.start = start
|
|
4111
4033
|
switch (v) {
|
|
4112
4034
|
case 0:
|
|
4113
4035
|
case 1: {
|
|
4114
4036
|
const decoded = encoding95.decode(state)
|
|
4037
|
+
decoded.version = v
|
|
4115
4038
|
return decoded
|
|
4116
4039
|
}
|
|
4117
4040
|
default:
|
|
@@ -4213,13 +4136,12 @@ const encoding99 = {
|
|
|
4213
4136
|
encoding97.encode(state, m.appChannel)
|
|
4214
4137
|
},
|
|
4215
4138
|
decode(state) {
|
|
4216
|
-
const v = c.uint.decode(state)
|
|
4217
4139
|
const r0 = c.fixed32.decode(state)
|
|
4218
4140
|
const r1 = c.string.decode(state)
|
|
4219
4141
|
const flags = c.uint.decode(state)
|
|
4220
4142
|
|
|
4221
4143
|
return {
|
|
4222
|
-
version:
|
|
4144
|
+
version: 0,
|
|
4223
4145
|
deviceId: r0,
|
|
4224
4146
|
appVersion: r1,
|
|
4225
4147
|
appBuild: (version >= 3 && (flags & 1) !== 0) ? c.string.decode(state) : null,
|
|
@@ -4255,13 +4177,12 @@ const encoding100 = {
|
|
|
4255
4177
|
}
|
|
4256
4178
|
},
|
|
4257
4179
|
decode(state) {
|
|
4258
|
-
const start = state.start
|
|
4259
4180
|
const v = c.uint.decode(state)
|
|
4260
|
-
state.start = start
|
|
4261
4181
|
switch (v) {
|
|
4262
4182
|
case 0:
|
|
4263
4183
|
case 1: {
|
|
4264
4184
|
const decoded = encoding99.decode(state)
|
|
4185
|
+
decoded.version = v
|
|
4265
4186
|
return decoded
|
|
4266
4187
|
}
|
|
4267
4188
|
default:
|
|
@@ -4295,7 +4216,6 @@ const encoding101 = {
|
|
|
4295
4216
|
if (version >= 3 && m.deletedAt) c.uint.encode(state, m.deletedAt)
|
|
4296
4217
|
},
|
|
4297
4218
|
decode(state) {
|
|
4298
|
-
const v = c.uint.decode(state)
|
|
4299
4219
|
const r0 = c.string.decode(state)
|
|
4300
4220
|
const r1 = c.string.decode(state)
|
|
4301
4221
|
const r2 = c.json.decode(state)
|
|
@@ -4304,7 +4224,7 @@ const encoding101 = {
|
|
|
4304
4224
|
const flags = c.uint.decode(state)
|
|
4305
4225
|
|
|
4306
4226
|
return {
|
|
4307
|
-
version:
|
|
4227
|
+
version: 0,
|
|
4308
4228
|
agentId: r0,
|
|
4309
4229
|
toolName: r1,
|
|
4310
4230
|
settings: r2,
|
|
@@ -4342,13 +4262,12 @@ const encoding102 = {
|
|
|
4342
4262
|
}
|
|
4343
4263
|
},
|
|
4344
4264
|
decode(state) {
|
|
4345
|
-
const start = state.start
|
|
4346
4265
|
const v = c.uint.decode(state)
|
|
4347
|
-
state.start = start
|
|
4348
4266
|
switch (v) {
|
|
4349
4267
|
case 0:
|
|
4350
4268
|
case 1: {
|
|
4351
4269
|
const decoded = encoding101.decode(state)
|
|
4270
|
+
decoded.version = v
|
|
4352
4271
|
return decoded
|
|
4353
4272
|
}
|
|
4354
4273
|
default:
|
|
@@ -4366,11 +4285,10 @@ const encoding103 = {
|
|
|
4366
4285
|
encoding102.encode(state, m.settings)
|
|
4367
4286
|
},
|
|
4368
4287
|
decode(state) {
|
|
4369
|
-
const v = c.uint.decode(state)
|
|
4370
4288
|
const r0 = encoding102.decode(state)
|
|
4371
4289
|
|
|
4372
4290
|
return {
|
|
4373
|
-
version:
|
|
4291
|
+
version: 0,
|
|
4374
4292
|
settings: r0
|
|
4375
4293
|
}
|
|
4376
4294
|
}
|
|
@@ -4403,13 +4321,12 @@ const encoding104 = {
|
|
|
4403
4321
|
}
|
|
4404
4322
|
},
|
|
4405
4323
|
decode(state) {
|
|
4406
|
-
const start = state.start
|
|
4407
4324
|
const v = c.uint.decode(state)
|
|
4408
|
-
state.start = start
|
|
4409
4325
|
switch (v) {
|
|
4410
4326
|
case 0:
|
|
4411
4327
|
case 1: {
|
|
4412
4328
|
const decoded = encoding103.decode(state)
|
|
4329
|
+
decoded.version = v
|
|
4413
4330
|
return decoded
|
|
4414
4331
|
}
|
|
4415
4332
|
default:
|
|
@@ -4514,14 +4431,13 @@ const encoding106 = {
|
|
|
4514
4431
|
c.uint.encode(state, m.seq)
|
|
4515
4432
|
},
|
|
4516
4433
|
decode(state) {
|
|
4517
|
-
const v = c.uint.decode(state)
|
|
4518
4434
|
const r0 = c.string.decode(state)
|
|
4519
4435
|
const r1 = c.string.decode(state)
|
|
4520
4436
|
const r2 = c.fixed32.decode(state)
|
|
4521
4437
|
const flags = c.uint.decode(state)
|
|
4522
4438
|
|
|
4523
4439
|
return {
|
|
4524
|
-
version:
|
|
4440
|
+
version: 0,
|
|
4525
4441
|
id: r0,
|
|
4526
4442
|
agentId: r1,
|
|
4527
4443
|
originDeviceId: r2,
|
|
@@ -4565,13 +4481,12 @@ const encoding107 = {
|
|
|
4565
4481
|
}
|
|
4566
4482
|
},
|
|
4567
4483
|
decode(state) {
|
|
4568
|
-
const start = state.start
|
|
4569
4484
|
const v = c.uint.decode(state)
|
|
4570
|
-
state.start = start
|
|
4571
4485
|
switch (v) {
|
|
4572
4486
|
case 0:
|
|
4573
4487
|
case 1: {
|
|
4574
4488
|
const decoded = encoding106.decode(state)
|
|
4489
|
+
decoded.version = v
|
|
4575
4490
|
return decoded
|
|
4576
4491
|
}
|
|
4577
4492
|
default:
|
|
@@ -4589,11 +4504,10 @@ const encoding108 = {
|
|
|
4589
4504
|
encoding107.encode(state, m.activity)
|
|
4590
4505
|
},
|
|
4591
4506
|
decode(state) {
|
|
4592
|
-
const v = c.uint.decode(state)
|
|
4593
4507
|
const r0 = encoding107.decode(state)
|
|
4594
4508
|
|
|
4595
4509
|
return {
|
|
4596
|
-
version:
|
|
4510
|
+
version: 0,
|
|
4597
4511
|
activity: r0
|
|
4598
4512
|
}
|
|
4599
4513
|
}
|
|
@@ -4626,13 +4540,12 @@ const encoding109 = {
|
|
|
4626
4540
|
}
|
|
4627
4541
|
},
|
|
4628
4542
|
decode(state) {
|
|
4629
|
-
const start = state.start
|
|
4630
4543
|
const v = c.uint.decode(state)
|
|
4631
|
-
state.start = start
|
|
4632
4544
|
switch (v) {
|
|
4633
4545
|
case 0:
|
|
4634
4546
|
case 1: {
|
|
4635
4547
|
const decoded = encoding108.decode(state)
|
|
4548
|
+
decoded.version = v
|
|
4636
4549
|
return decoded
|
|
4637
4550
|
}
|
|
4638
4551
|
default:
|
|
@@ -4652,12 +4565,11 @@ const encoding110 = {
|
|
|
4652
4565
|
c.uint.encode(state, m.count)
|
|
4653
4566
|
},
|
|
4654
4567
|
decode(state) {
|
|
4655
|
-
const v = c.uint.decode(state)
|
|
4656
4568
|
const r0 = c.string.decode(state)
|
|
4657
4569
|
const r1 = c.uint.decode(state)
|
|
4658
4570
|
|
|
4659
4571
|
return {
|
|
4660
|
-
version:
|
|
4572
|
+
version: 0,
|
|
4661
4573
|
agentId: r0,
|
|
4662
4574
|
count: r1
|
|
4663
4575
|
}
|
|
@@ -4691,13 +4603,12 @@ const encoding111 = {
|
|
|
4691
4603
|
}
|
|
4692
4604
|
},
|
|
4693
4605
|
decode(state) {
|
|
4694
|
-
const start = state.start
|
|
4695
4606
|
const v = c.uint.decode(state)
|
|
4696
|
-
state.start = start
|
|
4697
4607
|
switch (v) {
|
|
4698
4608
|
case 0:
|
|
4699
4609
|
case 1: {
|
|
4700
4610
|
const decoded = encoding110.decode(state)
|
|
4611
|
+
decoded.version = v
|
|
4701
4612
|
return decoded
|
|
4702
4613
|
}
|
|
4703
4614
|
default:
|
|
@@ -4765,7 +4676,6 @@ const encoding113 = {
|
|
|
4765
4676
|
c.uint.encode(state, flags)
|
|
4766
4677
|
},
|
|
4767
4678
|
decode(state) {
|
|
4768
|
-
const v = c.uint.decode(state)
|
|
4769
4679
|
const r0 = c.fixed32.decode(state)
|
|
4770
4680
|
const r1 = c.uint.decode(state)
|
|
4771
4681
|
const r2 = c.uint.decode(state)
|
|
@@ -4773,7 +4683,7 @@ const encoding113 = {
|
|
|
4773
4683
|
const flags = state.start < state.end ? c.uint.decode(state) : 0
|
|
4774
4684
|
|
|
4775
4685
|
return {
|
|
4776
|
-
version:
|
|
4686
|
+
version: 0,
|
|
4777
4687
|
writerKey: r0,
|
|
4778
4688
|
length: r1,
|
|
4779
4689
|
clock: r2,
|
|
@@ -4810,13 +4720,12 @@ const encoding114 = {
|
|
|
4810
4720
|
}
|
|
4811
4721
|
},
|
|
4812
4722
|
decode(state) {
|
|
4813
|
-
const start = state.start
|
|
4814
4723
|
const v = c.uint.decode(state)
|
|
4815
|
-
state.start = start
|
|
4816
4724
|
switch (v) {
|
|
4817
4725
|
case 0:
|
|
4818
4726
|
case 1: {
|
|
4819
4727
|
const decoded = encoding113.decode(state)
|
|
4728
|
+
decoded.version = v
|
|
4820
4729
|
return decoded
|
|
4821
4730
|
}
|
|
4822
4731
|
default:
|
|
@@ -4836,12 +4745,11 @@ const encoding115 = {
|
|
|
4836
4745
|
c.buffer.encode(state, m.signature)
|
|
4837
4746
|
},
|
|
4838
4747
|
decode(state) {
|
|
4839
|
-
const v = c.uint.decode(state)
|
|
4840
4748
|
const r0 = c.fixed32.decode(state)
|
|
4841
4749
|
const r1 = c.buffer.decode(state)
|
|
4842
4750
|
|
|
4843
4751
|
return {
|
|
4844
|
-
version:
|
|
4752
|
+
version: 0,
|
|
4845
4753
|
deviceId: r0,
|
|
4846
4754
|
signature: r1
|
|
4847
4755
|
}
|
|
@@ -4875,13 +4783,12 @@ const encoding116 = {
|
|
|
4875
4783
|
}
|
|
4876
4784
|
},
|
|
4877
4785
|
decode(state) {
|
|
4878
|
-
const start = state.start
|
|
4879
4786
|
const v = c.uint.decode(state)
|
|
4880
|
-
state.start = start
|
|
4881
4787
|
switch (v) {
|
|
4882
4788
|
case 0:
|
|
4883
4789
|
case 1: {
|
|
4884
4790
|
const decoded = encoding115.decode(state)
|
|
4791
|
+
decoded.version = v
|
|
4885
4792
|
return decoded
|
|
4886
4793
|
}
|
|
4887
4794
|
default:
|
|
@@ -4905,14 +4812,13 @@ const encoding117 = {
|
|
|
4905
4812
|
c.uint.encode(state, m.updatedAt)
|
|
4906
4813
|
},
|
|
4907
4814
|
decode(state) {
|
|
4908
|
-
const v = c.uint.decode(state)
|
|
4909
4815
|
const r0 = c.fixed32.decode(state)
|
|
4910
4816
|
const r1 = c.string.decode(state)
|
|
4911
4817
|
const r2 = c.uint.decode(state)
|
|
4912
4818
|
const r3 = c.uint.decode(state)
|
|
4913
4819
|
|
|
4914
4820
|
return {
|
|
4915
|
-
version:
|
|
4821
|
+
version: 0,
|
|
4916
4822
|
id: r0,
|
|
4917
4823
|
name: r1,
|
|
4918
4824
|
joinedAt: r2,
|
|
@@ -4948,13 +4854,12 @@ const encoding118 = {
|
|
|
4948
4854
|
}
|
|
4949
4855
|
},
|
|
4950
4856
|
decode(state) {
|
|
4951
|
-
const start = state.start
|
|
4952
4857
|
const v = c.uint.decode(state)
|
|
4953
|
-
state.start = start
|
|
4954
4858
|
switch (v) {
|
|
4955
4859
|
case 0:
|
|
4956
4860
|
case 1: {
|
|
4957
4861
|
const decoded = encoding117.decode(state)
|
|
4862
|
+
decoded.version = v
|
|
4958
4863
|
return decoded
|
|
4959
4864
|
}
|
|
4960
4865
|
default:
|
|
@@ -4974,12 +4879,11 @@ const encoding119 = {
|
|
|
4974
4879
|
c.buffer.encode(state, m.proof)
|
|
4975
4880
|
},
|
|
4976
4881
|
decode(state) {
|
|
4977
|
-
const v = c.uint.decode(state)
|
|
4978
4882
|
const r0 = encoding118.decode(state)
|
|
4979
4883
|
const r1 = c.buffer.decode(state)
|
|
4980
4884
|
|
|
4981
4885
|
return {
|
|
4982
|
-
version:
|
|
4886
|
+
version: 0,
|
|
4983
4887
|
member: r0,
|
|
4984
4888
|
proof: r1
|
|
4985
4889
|
}
|
|
@@ -5013,13 +4917,12 @@ const encoding120 = {
|
|
|
5013
4917
|
}
|
|
5014
4918
|
},
|
|
5015
4919
|
decode(state) {
|
|
5016
|
-
const start = state.start
|
|
5017
4920
|
const v = c.uint.decode(state)
|
|
5018
|
-
state.start = start
|
|
5019
4921
|
switch (v) {
|
|
5020
4922
|
case 0:
|
|
5021
4923
|
case 1: {
|
|
5022
4924
|
const decoded = encoding119.decode(state)
|
|
4925
|
+
decoded.version = v
|
|
5023
4926
|
return decoded
|
|
5024
4927
|
}
|
|
5025
4928
|
default:
|
|
@@ -5037,11 +4940,10 @@ const encoding121 = {
|
|
|
5037
4940
|
encoding118.encode(state, m.member)
|
|
5038
4941
|
},
|
|
5039
4942
|
decode(state) {
|
|
5040
|
-
const v = c.uint.decode(state)
|
|
5041
4943
|
const r0 = encoding118.decode(state)
|
|
5042
4944
|
|
|
5043
4945
|
return {
|
|
5044
|
-
version:
|
|
4946
|
+
version: 0,
|
|
5045
4947
|
member: r0
|
|
5046
4948
|
}
|
|
5047
4949
|
}
|
|
@@ -5074,13 +4976,12 @@ const encoding122 = {
|
|
|
5074
4976
|
}
|
|
5075
4977
|
},
|
|
5076
4978
|
decode(state) {
|
|
5077
|
-
const start = state.start
|
|
5078
4979
|
const v = c.uint.decode(state)
|
|
5079
|
-
state.start = start
|
|
5080
4980
|
switch (v) {
|
|
5081
4981
|
case 0:
|
|
5082
4982
|
case 1: {
|
|
5083
4983
|
const decoded = encoding121.decode(state)
|
|
4984
|
+
decoded.version = v
|
|
5084
4985
|
return decoded
|
|
5085
4986
|
}
|
|
5086
4987
|
default:
|
|
@@ -5104,14 +5005,13 @@ const encoding123 = {
|
|
|
5104
5005
|
c.uint.encode(state, m.attestedAt)
|
|
5105
5006
|
},
|
|
5106
5007
|
decode(state) {
|
|
5107
|
-
const v = c.uint.decode(state)
|
|
5108
5008
|
const r0 = c.fixed32.decode(state)
|
|
5109
5009
|
const r1 = c.fixed32.decode(state)
|
|
5110
5010
|
const r2 = c.buffer.decode(state)
|
|
5111
5011
|
const r3 = c.uint.decode(state)
|
|
5112
5012
|
|
|
5113
5013
|
return {
|
|
5114
|
-
version:
|
|
5014
|
+
version: 0,
|
|
5115
5015
|
deviceId: r0,
|
|
5116
5016
|
memberId: r1,
|
|
5117
5017
|
proof: r2,
|
|
@@ -5147,13 +5047,12 @@ const encoding124 = {
|
|
|
5147
5047
|
}
|
|
5148
5048
|
},
|
|
5149
5049
|
decode(state) {
|
|
5150
|
-
const start = state.start
|
|
5151
5050
|
const v = c.uint.decode(state)
|
|
5152
|
-
state.start = start
|
|
5153
5051
|
switch (v) {
|
|
5154
5052
|
case 0:
|
|
5155
5053
|
case 1: {
|
|
5156
5054
|
const decoded = encoding123.decode(state)
|
|
5055
|
+
decoded.version = v
|
|
5157
5056
|
return decoded
|
|
5158
5057
|
}
|
|
5159
5058
|
default:
|
|
@@ -5173,12 +5072,11 @@ const encoding125 = {
|
|
|
5173
5072
|
c.string.encode(state, m.throughId)
|
|
5174
5073
|
},
|
|
5175
5074
|
decode(state) {
|
|
5176
|
-
const v = c.uint.decode(state)
|
|
5177
5075
|
const r0 = c.string.decode(state)
|
|
5178
5076
|
const r1 = c.string.decode(state)
|
|
5179
5077
|
|
|
5180
5078
|
return {
|
|
5181
|
-
version:
|
|
5079
|
+
version: 0,
|
|
5182
5080
|
summary: r0,
|
|
5183
5081
|
throughId: r1
|
|
5184
5082
|
}
|
|
@@ -5212,13 +5110,12 @@ const encoding126 = {
|
|
|
5212
5110
|
}
|
|
5213
5111
|
},
|
|
5214
5112
|
decode(state) {
|
|
5215
|
-
const start = state.start
|
|
5216
5113
|
const v = c.uint.decode(state)
|
|
5217
|
-
state.start = start
|
|
5218
5114
|
switch (v) {
|
|
5219
5115
|
case 0:
|
|
5220
5116
|
case 1: {
|
|
5221
5117
|
const decoded = encoding125.decode(state)
|
|
5118
|
+
decoded.version = v
|
|
5222
5119
|
return decoded
|
|
5223
5120
|
}
|
|
5224
5121
|
default:
|
|
@@ -5252,7 +5149,6 @@ const encoding127 = {
|
|
|
5252
5149
|
if (version >= 6 && m.rank) c.float64.encode(state, m.rank)
|
|
5253
5150
|
},
|
|
5254
5151
|
decode(state) {
|
|
5255
|
-
const v = c.uint.decode(state)
|
|
5256
5152
|
const r0 = c.string.decode(state)
|
|
5257
5153
|
const r1 = c.string.decode(state)
|
|
5258
5154
|
const r2 = c.uint.decode(state)
|
|
@@ -5260,7 +5156,7 @@ const encoding127 = {
|
|
|
5260
5156
|
const flags = c.uint.decode(state)
|
|
5261
5157
|
|
|
5262
5158
|
return {
|
|
5263
|
-
version:
|
|
5159
|
+
version: 0,
|
|
5264
5160
|
id: r0,
|
|
5265
5161
|
name: r1,
|
|
5266
5162
|
createdAt: r2,
|
|
@@ -5298,13 +5194,12 @@ const encoding128 = {
|
|
|
5298
5194
|
}
|
|
5299
5195
|
},
|
|
5300
5196
|
decode(state) {
|
|
5301
|
-
const start = state.start
|
|
5302
5197
|
const v = c.uint.decode(state)
|
|
5303
|
-
state.start = start
|
|
5304
5198
|
switch (v) {
|
|
5305
5199
|
case 0:
|
|
5306
5200
|
case 1: {
|
|
5307
5201
|
const decoded = encoding127.decode(state)
|
|
5202
|
+
decoded.version = v
|
|
5308
5203
|
return decoded
|
|
5309
5204
|
}
|
|
5310
5205
|
default:
|
|
@@ -5322,11 +5217,10 @@ const encoding129 = {
|
|
|
5322
5217
|
encoding128.encode(state, m.group)
|
|
5323
5218
|
},
|
|
5324
5219
|
decode(state) {
|
|
5325
|
-
const v = c.uint.decode(state)
|
|
5326
5220
|
const r0 = encoding128.decode(state)
|
|
5327
5221
|
|
|
5328
5222
|
return {
|
|
5329
|
-
version:
|
|
5223
|
+
version: 0,
|
|
5330
5224
|
group: r0
|
|
5331
5225
|
}
|
|
5332
5226
|
}
|
|
@@ -5359,13 +5253,12 @@ const encoding130 = {
|
|
|
5359
5253
|
}
|
|
5360
5254
|
},
|
|
5361
5255
|
decode(state) {
|
|
5362
|
-
const start = state.start
|
|
5363
5256
|
const v = c.uint.decode(state)
|
|
5364
|
-
state.start = start
|
|
5365
5257
|
switch (v) {
|
|
5366
5258
|
case 0:
|
|
5367
5259
|
case 1: {
|
|
5368
5260
|
const decoded = encoding129.decode(state)
|
|
5261
|
+
decoded.version = v
|
|
5369
5262
|
return decoded
|
|
5370
5263
|
}
|
|
5371
5264
|
default:
|
|
@@ -5471,12 +5364,11 @@ const encoding131 = {
|
|
|
5471
5364
|
if (version >= 5 && m.compaction) encoding126.encode(state, m.compaction)
|
|
5472
5365
|
},
|
|
5473
5366
|
decode(state) {
|
|
5474
|
-
const v = c.uint.decode(state)
|
|
5475
5367
|
const r1 = c.string.decode(state)
|
|
5476
5368
|
const flags = c.uint.decode(state)
|
|
5477
5369
|
|
|
5478
5370
|
return {
|
|
5479
|
-
version:
|
|
5371
|
+
version: 0,
|
|
5480
5372
|
id: null,
|
|
5481
5373
|
chatId: r1,
|
|
5482
5374
|
runId: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
@@ -5532,13 +5424,12 @@ const encoding132 = {
|
|
|
5532
5424
|
}
|
|
5533
5425
|
},
|
|
5534
5426
|
decode(state) {
|
|
5535
|
-
const start = state.start
|
|
5536
5427
|
const v = c.uint.decode(state)
|
|
5537
|
-
state.start = start
|
|
5538
5428
|
switch (v) {
|
|
5539
5429
|
case 0:
|
|
5540
5430
|
case 1: {
|
|
5541
5431
|
const decoded = encoding131.decode(state)
|
|
5432
|
+
decoded.version = v
|
|
5542
5433
|
return decoded
|
|
5543
5434
|
}
|
|
5544
5435
|
default:
|
|
@@ -5564,12 +5455,11 @@ const encoding133 = {
|
|
|
5564
5455
|
if (version >= 5 && m.lastActivityAt) c.uint.encode(state, m.lastActivityAt)
|
|
5565
5456
|
},
|
|
5566
5457
|
decode(state) {
|
|
5567
|
-
const v = c.uint.decode(state)
|
|
5568
5458
|
const r1 = c.uint.decode(state)
|
|
5569
5459
|
const flags = state.start < state.end ? c.uint.decode(state) : 0
|
|
5570
5460
|
|
|
5571
5461
|
return {
|
|
5572
|
-
version:
|
|
5462
|
+
version: 0,
|
|
5573
5463
|
chatId: null,
|
|
5574
5464
|
count: r1,
|
|
5575
5465
|
lastActivityAt: (version >= 5 && (flags & 1) !== 0) ? c.uint.decode(state) : 0
|
|
@@ -5604,13 +5494,12 @@ const encoding134 = {
|
|
|
5604
5494
|
}
|
|
5605
5495
|
},
|
|
5606
5496
|
decode(state) {
|
|
5607
|
-
const start = state.start
|
|
5608
5497
|
const v = c.uint.decode(state)
|
|
5609
|
-
state.start = start
|
|
5610
5498
|
switch (v) {
|
|
5611
5499
|
case 0:
|
|
5612
5500
|
case 1: {
|
|
5613
5501
|
const decoded = encoding133.decode(state)
|
|
5502
|
+
decoded.version = v
|
|
5614
5503
|
return decoded
|
|
5615
5504
|
}
|
|
5616
5505
|
default:
|
|
@@ -5723,7 +5612,6 @@ const encoding135 = {
|
|
|
5723
5612
|
if (version >= 3 && m.disabledToolsets) encoding135_24.encode(state, m.disabledToolsets)
|
|
5724
5613
|
},
|
|
5725
5614
|
decode(state) {
|
|
5726
|
-
const v = c.uint.decode(state)
|
|
5727
5615
|
const r1 = c.string.decode(state)
|
|
5728
5616
|
const r2 = c.string.decode(state)
|
|
5729
5617
|
const r3 = c.fixed32.decode(state)
|
|
@@ -5732,7 +5620,7 @@ const encoding135 = {
|
|
|
5732
5620
|
const flags = c.uint.decode(state)
|
|
5733
5621
|
|
|
5734
5622
|
return {
|
|
5735
|
-
version:
|
|
5623
|
+
version: 0,
|
|
5736
5624
|
id: null,
|
|
5737
5625
|
name: r1,
|
|
5738
5626
|
bio: r2,
|
|
@@ -5789,13 +5677,12 @@ const encoding136 = {
|
|
|
5789
5677
|
}
|
|
5790
5678
|
},
|
|
5791
5679
|
decode(state) {
|
|
5792
|
-
const start = state.start
|
|
5793
5680
|
const v = c.uint.decode(state)
|
|
5794
|
-
state.start = start
|
|
5795
5681
|
switch (v) {
|
|
5796
5682
|
case 0:
|
|
5797
5683
|
case 1: {
|
|
5798
5684
|
const decoded = encoding135.decode(state)
|
|
5685
|
+
decoded.version = v
|
|
5799
5686
|
return decoded
|
|
5800
5687
|
}
|
|
5801
5688
|
default:
|
|
@@ -5841,11 +5728,10 @@ const encoding137 = {
|
|
|
5841
5728
|
if (version >= 3 && m.effect) c.string.encode(state, m.effect)
|
|
5842
5729
|
},
|
|
5843
5730
|
decode(state) {
|
|
5844
|
-
const v = c.uint.decode(state)
|
|
5845
5731
|
const flags = c.uint.decode(state)
|
|
5846
5732
|
|
|
5847
5733
|
return {
|
|
5848
|
-
version:
|
|
5734
|
+
version: 0,
|
|
5849
5735
|
id: null,
|
|
5850
5736
|
toolName: (flags & 1) !== 0 ? c.string.decode(state) : null,
|
|
5851
5737
|
resourceKind: (flags & 2) !== 0 ? c.string.decode(state) : null,
|
|
@@ -5887,13 +5773,12 @@ const encoding138 = {
|
|
|
5887
5773
|
}
|
|
5888
5774
|
},
|
|
5889
5775
|
decode(state) {
|
|
5890
|
-
const start = state.start
|
|
5891
5776
|
const v = c.uint.decode(state)
|
|
5892
|
-
state.start = start
|
|
5893
5777
|
switch (v) {
|
|
5894
5778
|
case 0:
|
|
5895
5779
|
case 1: {
|
|
5896
5780
|
const decoded = encoding137.decode(state)
|
|
5781
|
+
decoded.version = v
|
|
5897
5782
|
return decoded
|
|
5898
5783
|
}
|
|
5899
5784
|
default:
|
|
@@ -5938,14 +5823,13 @@ const encoding139 = {
|
|
|
5938
5823
|
if (version >= 6 && m.rankedAt) c.uint.encode(state, m.rankedAt)
|
|
5939
5824
|
},
|
|
5940
5825
|
decode(state) {
|
|
5941
|
-
const v = c.uint.decode(state)
|
|
5942
5826
|
const r1 = c.string.decode(state)
|
|
5943
5827
|
const r2 = c.string.decode(state)
|
|
5944
5828
|
const r3 = c.uint.decode(state)
|
|
5945
5829
|
const flags = c.uint.decode(state)
|
|
5946
5830
|
|
|
5947
5831
|
return {
|
|
5948
|
-
version:
|
|
5832
|
+
version: 0,
|
|
5949
5833
|
id: null,
|
|
5950
5834
|
agentId: r1,
|
|
5951
5835
|
title: r2,
|
|
@@ -5988,13 +5872,12 @@ const encoding140 = {
|
|
|
5988
5872
|
}
|
|
5989
5873
|
},
|
|
5990
5874
|
decode(state) {
|
|
5991
|
-
const start = state.start
|
|
5992
5875
|
const v = c.uint.decode(state)
|
|
5993
|
-
state.start = start
|
|
5994
5876
|
switch (v) {
|
|
5995
5877
|
case 0:
|
|
5996
5878
|
case 1: {
|
|
5997
5879
|
const decoded = encoding139.decode(state)
|
|
5880
|
+
decoded.version = v
|
|
5998
5881
|
return decoded
|
|
5999
5882
|
}
|
|
6000
5883
|
default:
|
|
@@ -6103,7 +5986,6 @@ const encoding141 = {
|
|
|
6103
5986
|
if (version >= 4 && m.attestedAt) c.uint.encode(state, m.attestedAt)
|
|
6104
5987
|
},
|
|
6105
5988
|
decode(state) {
|
|
6106
|
-
const v = c.uint.decode(state)
|
|
6107
5989
|
const r1 = c.string.decode(state)
|
|
6108
5990
|
const r2 = c.uint.decode(state)
|
|
6109
5991
|
const r3 = encoding38.decode(state)
|
|
@@ -6111,7 +5993,7 @@ const encoding141 = {
|
|
|
6111
5993
|
const flags = c.uint.decode(state)
|
|
6112
5994
|
|
|
6113
5995
|
return {
|
|
6114
|
-
version:
|
|
5996
|
+
version: 0,
|
|
6115
5997
|
id: null,
|
|
6116
5998
|
name: r1,
|
|
6117
5999
|
joinedAt: r2,
|
|
@@ -6165,13 +6047,12 @@ const encoding142 = {
|
|
|
6165
6047
|
}
|
|
6166
6048
|
},
|
|
6167
6049
|
decode(state) {
|
|
6168
|
-
const start = state.start
|
|
6169
6050
|
const v = c.uint.decode(state)
|
|
6170
|
-
state.start = start
|
|
6171
6051
|
switch (v) {
|
|
6172
6052
|
case 0:
|
|
6173
6053
|
case 1: {
|
|
6174
6054
|
const decoded = encoding141.decode(state)
|
|
6055
|
+
decoded.version = v
|
|
6175
6056
|
return decoded
|
|
6176
6057
|
}
|
|
6177
6058
|
default:
|
|
@@ -6189,9 +6070,8 @@ const encoding143 = {
|
|
|
6189
6070
|
|
|
6190
6071
|
},
|
|
6191
6072
|
decode(state) {
|
|
6192
|
-
const v = c.uint.decode(state)
|
|
6193
6073
|
return {
|
|
6194
|
-
version:
|
|
6074
|
+
version: 0,
|
|
6195
6075
|
key: null
|
|
6196
6076
|
}
|
|
6197
6077
|
}
|
|
@@ -6224,13 +6104,12 @@ const encoding144 = {
|
|
|
6224
6104
|
}
|
|
6225
6105
|
},
|
|
6226
6106
|
decode(state) {
|
|
6227
|
-
const start = state.start
|
|
6228
6107
|
const v = c.uint.decode(state)
|
|
6229
|
-
state.start = start
|
|
6230
6108
|
switch (v) {
|
|
6231
6109
|
case 0:
|
|
6232
6110
|
case 1: {
|
|
6233
6111
|
const decoded = encoding143.decode(state)
|
|
6112
|
+
decoded.version = v
|
|
6234
6113
|
return decoded
|
|
6235
6114
|
}
|
|
6236
6115
|
default:
|
|
@@ -6268,7 +6147,6 @@ const encoding145 = {
|
|
|
6268
6147
|
if (m.deletedAt) c.uint.encode(state, m.deletedAt)
|
|
6269
6148
|
},
|
|
6270
6149
|
decode(state) {
|
|
6271
|
-
const v = c.uint.decode(state)
|
|
6272
6150
|
const r1 = c.string.decode(state)
|
|
6273
6151
|
const r2 = c.string.decode(state)
|
|
6274
6152
|
const r3 = c.string.decode(state)
|
|
@@ -6279,7 +6157,7 @@ const encoding145 = {
|
|
|
6279
6157
|
const flags = c.uint.decode(state)
|
|
6280
6158
|
|
|
6281
6159
|
return {
|
|
6282
|
-
version:
|
|
6160
|
+
version: 0,
|
|
6283
6161
|
id: null,
|
|
6284
6162
|
chatId: r1,
|
|
6285
6163
|
fileName: r2,
|
|
@@ -6320,13 +6198,12 @@ const encoding146 = {
|
|
|
6320
6198
|
}
|
|
6321
6199
|
},
|
|
6322
6200
|
decode(state) {
|
|
6323
|
-
const start = state.start
|
|
6324
6201
|
const v = c.uint.decode(state)
|
|
6325
|
-
state.start = start
|
|
6326
6202
|
switch (v) {
|
|
6327
6203
|
case 0:
|
|
6328
6204
|
case 1: {
|
|
6329
6205
|
const decoded = encoding145.decode(state)
|
|
6206
|
+
decoded.version = v
|
|
6330
6207
|
return decoded
|
|
6331
6208
|
}
|
|
6332
6209
|
default:
|
|
@@ -6354,7 +6231,6 @@ const encoding147 = {
|
|
|
6354
6231
|
c.uint.encode(state, m.createdAt)
|
|
6355
6232
|
},
|
|
6356
6233
|
decode(state) {
|
|
6357
|
-
const v = c.uint.decode(state)
|
|
6358
6234
|
const r1 = c.string.decode(state)
|
|
6359
6235
|
const r2 = c.string.decode(state)
|
|
6360
6236
|
const r3 = c.string.decode(state)
|
|
@@ -6363,7 +6239,7 @@ const encoding147 = {
|
|
|
6363
6239
|
const r6 = c.uint.decode(state)
|
|
6364
6240
|
|
|
6365
6241
|
return {
|
|
6366
|
-
version:
|
|
6242
|
+
version: 0,
|
|
6367
6243
|
id: null,
|
|
6368
6244
|
knowledgeId: r1,
|
|
6369
6245
|
sourceHash: r2,
|
|
@@ -6402,13 +6278,12 @@ const encoding148 = {
|
|
|
6402
6278
|
}
|
|
6403
6279
|
},
|
|
6404
6280
|
decode(state) {
|
|
6405
|
-
const start = state.start
|
|
6406
6281
|
const v = c.uint.decode(state)
|
|
6407
|
-
state.start = start
|
|
6408
6282
|
switch (v) {
|
|
6409
6283
|
case 0:
|
|
6410
6284
|
case 1: {
|
|
6411
6285
|
const decoded = encoding147.decode(state)
|
|
6286
|
+
decoded.version = v
|
|
6412
6287
|
return decoded
|
|
6413
6288
|
}
|
|
6414
6289
|
default:
|
|
@@ -6446,7 +6321,6 @@ const encoding149 = {
|
|
|
6446
6321
|
if (m.error) c.string.encode(state, m.error)
|
|
6447
6322
|
},
|
|
6448
6323
|
decode(state) {
|
|
6449
|
-
const v = c.uint.decode(state)
|
|
6450
6324
|
const r1 = c.string.decode(state)
|
|
6451
6325
|
const r2 = c.string.decode(state)
|
|
6452
6326
|
const r3 = encoding87.decode(state)
|
|
@@ -6457,7 +6331,7 @@ const encoding149 = {
|
|
|
6457
6331
|
const flags = c.uint.decode(state)
|
|
6458
6332
|
|
|
6459
6333
|
return {
|
|
6460
|
-
version:
|
|
6334
|
+
version: 0,
|
|
6461
6335
|
id: null,
|
|
6462
6336
|
knowledgeId: r1,
|
|
6463
6337
|
chatId: r2,
|
|
@@ -6498,13 +6372,12 @@ const encoding150 = {
|
|
|
6498
6372
|
}
|
|
6499
6373
|
},
|
|
6500
6374
|
decode(state) {
|
|
6501
|
-
const start = state.start
|
|
6502
6375
|
const v = c.uint.decode(state)
|
|
6503
|
-
state.start = start
|
|
6504
6376
|
switch (v) {
|
|
6505
6377
|
case 0:
|
|
6506
6378
|
case 1: {
|
|
6507
6379
|
const decoded = encoding149.decode(state)
|
|
6380
|
+
decoded.version = v
|
|
6508
6381
|
return decoded
|
|
6509
6382
|
}
|
|
6510
6383
|
default:
|
|
@@ -6534,14 +6407,13 @@ const encoding151 = {
|
|
|
6534
6407
|
if (version >= 3 && m.deletedAt) c.uint.encode(state, m.deletedAt)
|
|
6535
6408
|
},
|
|
6536
6409
|
decode(state) {
|
|
6537
|
-
const v = c.uint.decode(state)
|
|
6538
6410
|
const r2 = c.json.decode(state)
|
|
6539
6411
|
const r3 = c.uint.decode(state)
|
|
6540
6412
|
const r4 = c.uint.decode(state)
|
|
6541
6413
|
const flags = c.uint.decode(state)
|
|
6542
6414
|
|
|
6543
6415
|
return {
|
|
6544
|
-
version:
|
|
6416
|
+
version: 0,
|
|
6545
6417
|
agentId: null,
|
|
6546
6418
|
toolName: null,
|
|
6547
6419
|
settings: r2,
|
|
@@ -6579,13 +6451,12 @@ const encoding152 = {
|
|
|
6579
6451
|
}
|
|
6580
6452
|
},
|
|
6581
6453
|
decode(state) {
|
|
6582
|
-
const start = state.start
|
|
6583
6454
|
const v = c.uint.decode(state)
|
|
6584
|
-
state.start = start
|
|
6585
6455
|
switch (v) {
|
|
6586
6456
|
case 0:
|
|
6587
6457
|
case 1: {
|
|
6588
6458
|
const decoded = encoding151.decode(state)
|
|
6459
|
+
decoded.version = v
|
|
6589
6460
|
return decoded
|
|
6590
6461
|
}
|
|
6591
6462
|
default:
|
|
@@ -6637,13 +6508,12 @@ const encoding153 = {
|
|
|
6637
6508
|
c.uint.encode(state, m.seq)
|
|
6638
6509
|
},
|
|
6639
6510
|
decode(state) {
|
|
6640
|
-
const v = c.uint.decode(state)
|
|
6641
6511
|
const r1 = c.string.decode(state)
|
|
6642
6512
|
const r2 = c.fixed32.decode(state)
|
|
6643
6513
|
const flags = c.uint.decode(state)
|
|
6644
6514
|
|
|
6645
6515
|
return {
|
|
6646
|
-
version:
|
|
6516
|
+
version: 0,
|
|
6647
6517
|
id: null,
|
|
6648
6518
|
agentId: r1,
|
|
6649
6519
|
originDeviceId: r2,
|
|
@@ -6687,13 +6557,12 @@ const encoding154 = {
|
|
|
6687
6557
|
}
|
|
6688
6558
|
},
|
|
6689
6559
|
decode(state) {
|
|
6690
|
-
const start = state.start
|
|
6691
6560
|
const v = c.uint.decode(state)
|
|
6692
|
-
state.start = start
|
|
6693
6561
|
switch (v) {
|
|
6694
6562
|
case 0:
|
|
6695
6563
|
case 1: {
|
|
6696
6564
|
const decoded = encoding153.decode(state)
|
|
6565
|
+
decoded.version = v
|
|
6697
6566
|
return decoded
|
|
6698
6567
|
}
|
|
6699
6568
|
default:
|
|
@@ -6711,11 +6580,10 @@ const encoding155 = {
|
|
|
6711
6580
|
c.uint.encode(state, m.count)
|
|
6712
6581
|
},
|
|
6713
6582
|
decode(state) {
|
|
6714
|
-
const v = c.uint.decode(state)
|
|
6715
6583
|
const r1 = c.uint.decode(state)
|
|
6716
6584
|
|
|
6717
6585
|
return {
|
|
6718
|
-
version:
|
|
6586
|
+
version: 0,
|
|
6719
6587
|
agentId: null,
|
|
6720
6588
|
count: r1
|
|
6721
6589
|
}
|
|
@@ -6749,13 +6617,12 @@ const encoding156 = {
|
|
|
6749
6617
|
}
|
|
6750
6618
|
},
|
|
6751
6619
|
decode(state) {
|
|
6752
|
-
const start = state.start
|
|
6753
6620
|
const v = c.uint.decode(state)
|
|
6754
|
-
state.start = start
|
|
6755
6621
|
switch (v) {
|
|
6756
6622
|
case 0:
|
|
6757
6623
|
case 1: {
|
|
6758
6624
|
const decoded = encoding155.decode(state)
|
|
6625
|
+
decoded.version = v
|
|
6759
6626
|
return decoded
|
|
6760
6627
|
}
|
|
6761
6628
|
default:
|
|
@@ -6781,14 +6648,13 @@ const encoding157 = {
|
|
|
6781
6648
|
c.uint.encode(state, flags)
|
|
6782
6649
|
},
|
|
6783
6650
|
decode(state) {
|
|
6784
|
-
const v = c.uint.decode(state)
|
|
6785
6651
|
const r1 = c.uint.decode(state)
|
|
6786
6652
|
const r2 = c.uint.decode(state)
|
|
6787
6653
|
const r3 = c.fixed32.decode(state)
|
|
6788
6654
|
const flags = state.start < state.end ? c.uint.decode(state) : 0
|
|
6789
6655
|
|
|
6790
6656
|
return {
|
|
6791
|
-
version:
|
|
6657
|
+
version: 0,
|
|
6792
6658
|
writerKey: null,
|
|
6793
6659
|
length: r1,
|
|
6794
6660
|
clock: r2,
|
|
@@ -6825,13 +6691,12 @@ const encoding158 = {
|
|
|
6825
6691
|
}
|
|
6826
6692
|
},
|
|
6827
6693
|
decode(state) {
|
|
6828
|
-
const start = state.start
|
|
6829
6694
|
const v = c.uint.decode(state)
|
|
6830
|
-
state.start = start
|
|
6831
6695
|
switch (v) {
|
|
6832
6696
|
case 0:
|
|
6833
6697
|
case 1: {
|
|
6834
6698
|
const decoded = encoding157.decode(state)
|
|
6699
|
+
decoded.version = v
|
|
6835
6700
|
return decoded
|
|
6836
6701
|
}
|
|
6837
6702
|
default:
|
|
@@ -6849,11 +6714,10 @@ const encoding159 = {
|
|
|
6849
6714
|
c.buffer.encode(state, m.signature)
|
|
6850
6715
|
},
|
|
6851
6716
|
decode(state) {
|
|
6852
|
-
const v = c.uint.decode(state)
|
|
6853
6717
|
const r1 = c.buffer.decode(state)
|
|
6854
6718
|
|
|
6855
6719
|
return {
|
|
6856
|
-
version:
|
|
6720
|
+
version: 0,
|
|
6857
6721
|
deviceId: null,
|
|
6858
6722
|
signature: r1
|
|
6859
6723
|
}
|
|
@@ -6887,13 +6751,12 @@ const encoding160 = {
|
|
|
6887
6751
|
}
|
|
6888
6752
|
},
|
|
6889
6753
|
decode(state) {
|
|
6890
|
-
const start = state.start
|
|
6891
6754
|
const v = c.uint.decode(state)
|
|
6892
|
-
state.start = start
|
|
6893
6755
|
switch (v) {
|
|
6894
6756
|
case 0:
|
|
6895
6757
|
case 1: {
|
|
6896
6758
|
const decoded = encoding159.decode(state)
|
|
6759
|
+
decoded.version = v
|
|
6897
6760
|
return decoded
|
|
6898
6761
|
}
|
|
6899
6762
|
default:
|
|
@@ -6915,13 +6778,12 @@ const encoding161 = {
|
|
|
6915
6778
|
c.uint.encode(state, m.updatedAt)
|
|
6916
6779
|
},
|
|
6917
6780
|
decode(state) {
|
|
6918
|
-
const v = c.uint.decode(state)
|
|
6919
6781
|
const r1 = c.string.decode(state)
|
|
6920
6782
|
const r2 = c.uint.decode(state)
|
|
6921
6783
|
const r3 = c.uint.decode(state)
|
|
6922
6784
|
|
|
6923
6785
|
return {
|
|
6924
|
-
version:
|
|
6786
|
+
version: 0,
|
|
6925
6787
|
id: null,
|
|
6926
6788
|
name: r1,
|
|
6927
6789
|
joinedAt: r2,
|
|
@@ -6957,13 +6819,12 @@ const encoding162 = {
|
|
|
6957
6819
|
}
|
|
6958
6820
|
},
|
|
6959
6821
|
decode(state) {
|
|
6960
|
-
const start = state.start
|
|
6961
6822
|
const v = c.uint.decode(state)
|
|
6962
|
-
state.start = start
|
|
6963
6823
|
switch (v) {
|
|
6964
6824
|
case 0:
|
|
6965
6825
|
case 1: {
|
|
6966
6826
|
const decoded = encoding161.decode(state)
|
|
6827
|
+
decoded.version = v
|
|
6967
6828
|
return decoded
|
|
6968
6829
|
}
|
|
6969
6830
|
default:
|
|
@@ -6995,14 +6856,13 @@ const encoding163 = {
|
|
|
6995
6856
|
if (version >= 6 && m.rank) c.float64.encode(state, m.rank)
|
|
6996
6857
|
},
|
|
6997
6858
|
decode(state) {
|
|
6998
|
-
const v = c.uint.decode(state)
|
|
6999
6859
|
const r1 = c.string.decode(state)
|
|
7000
6860
|
const r2 = c.uint.decode(state)
|
|
7001
6861
|
const r3 = c.uint.decode(state)
|
|
7002
6862
|
const flags = c.uint.decode(state)
|
|
7003
6863
|
|
|
7004
6864
|
return {
|
|
7005
|
-
version:
|
|
6865
|
+
version: 0,
|
|
7006
6866
|
id: null,
|
|
7007
6867
|
name: r1,
|
|
7008
6868
|
createdAt: r2,
|
|
@@ -7040,13 +6900,12 @@ const encoding164 = {
|
|
|
7040
6900
|
}
|
|
7041
6901
|
},
|
|
7042
6902
|
decode(state) {
|
|
7043
|
-
const start = state.start
|
|
7044
6903
|
const v = c.uint.decode(state)
|
|
7045
|
-
state.start = start
|
|
7046
6904
|
switch (v) {
|
|
7047
6905
|
case 0:
|
|
7048
6906
|
case 1: {
|
|
7049
6907
|
const decoded = encoding163.decode(state)
|
|
6908
|
+
decoded.version = v
|
|
7050
6909
|
return decoded
|
|
7051
6910
|
}
|
|
7052
6911
|
default:
|