@rivetkit/engine-envoy-protocol 0.0.0-pr.4683.9557af4 → 0.0.0-pr.4701.d2c139c

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/index.js CHANGED
@@ -366,6 +366,493 @@ function writeKvResponseData(bc, x) {
366
366
  }
367
367
  }
368
368
  }
369
+ function readSqliteGeneration(bc) {
370
+ return bare.readU64(bc);
371
+ }
372
+ function writeSqliteGeneration(bc, x) {
373
+ bare.writeU64(bc, x);
374
+ }
375
+ function readSqliteTxid(bc) {
376
+ return bare.readU64(bc);
377
+ }
378
+ function writeSqliteTxid(bc, x) {
379
+ bare.writeU64(bc, x);
380
+ }
381
+ function readSqlitePgno(bc) {
382
+ return bare.readU32(bc);
383
+ }
384
+ function writeSqlitePgno(bc, x) {
385
+ bare.writeU32(bc, x);
386
+ }
387
+ function readSqliteStageId(bc) {
388
+ return bare.readU64(bc);
389
+ }
390
+ function writeSqliteStageId(bc, x) {
391
+ bare.writeU64(bc, x);
392
+ }
393
+ function readSqlitePageBytes(bc) {
394
+ return bare.readData(bc);
395
+ }
396
+ function writeSqlitePageBytes(bc, x) {
397
+ bare.writeData(bc, x);
398
+ }
399
+ function readSqliteMeta(bc) {
400
+ return {
401
+ schemaVersion: bare.readU32(bc),
402
+ generation: readSqliteGeneration(bc),
403
+ headTxid: readSqliteTxid(bc),
404
+ materializedTxid: readSqliteTxid(bc),
405
+ dbSizePages: bare.readU32(bc),
406
+ pageSize: bare.readU32(bc),
407
+ creationTsMs: bare.readI64(bc),
408
+ maxDeltaBytes: bare.readU64(bc)
409
+ };
410
+ }
411
+ function writeSqliteMeta(bc, x) {
412
+ bare.writeU32(bc, x.schemaVersion);
413
+ writeSqliteGeneration(bc, x.generation);
414
+ writeSqliteTxid(bc, x.headTxid);
415
+ writeSqliteTxid(bc, x.materializedTxid);
416
+ bare.writeU32(bc, x.dbSizePages);
417
+ bare.writeU32(bc, x.pageSize);
418
+ bare.writeI64(bc, x.creationTsMs);
419
+ bare.writeU64(bc, x.maxDeltaBytes);
420
+ }
421
+ function readSqliteFenceMismatch(bc) {
422
+ return {
423
+ actualMeta: readSqliteMeta(bc),
424
+ reason: bare.readString(bc)
425
+ };
426
+ }
427
+ function writeSqliteFenceMismatch(bc, x) {
428
+ writeSqliteMeta(bc, x.actualMeta);
429
+ bare.writeString(bc, x.reason);
430
+ }
431
+ function readSqliteDirtyPage(bc) {
432
+ return {
433
+ pgno: readSqlitePgno(bc),
434
+ bytes: readSqlitePageBytes(bc)
435
+ };
436
+ }
437
+ function writeSqliteDirtyPage(bc, x) {
438
+ writeSqlitePgno(bc, x.pgno);
439
+ writeSqlitePageBytes(bc, x.bytes);
440
+ }
441
+ function read5(bc) {
442
+ return bare.readBool(bc) ? readSqlitePageBytes(bc) : null;
443
+ }
444
+ function write5(bc, x) {
445
+ bare.writeBool(bc, x != null);
446
+ if (x != null) {
447
+ writeSqlitePageBytes(bc, x);
448
+ }
449
+ }
450
+ function readSqliteFetchedPage(bc) {
451
+ return {
452
+ pgno: readSqlitePgno(bc),
453
+ bytes: read5(bc)
454
+ };
455
+ }
456
+ function writeSqliteFetchedPage(bc, x) {
457
+ writeSqlitePgno(bc, x.pgno);
458
+ write5(bc, x.bytes);
459
+ }
460
+ function read6(bc) {
461
+ const len = bare.readUintSafe(bc);
462
+ if (len === 0) {
463
+ return [];
464
+ }
465
+ const result = [readSqlitePgno(bc)];
466
+ for (let i = 1; i < len; i++) {
467
+ result[i] = readSqlitePgno(bc);
468
+ }
469
+ return result;
470
+ }
471
+ function write6(bc, x) {
472
+ bare.writeUintSafe(bc, x.length);
473
+ for (let i = 0; i < x.length; i++) {
474
+ writeSqlitePgno(bc, x[i]);
475
+ }
476
+ }
477
+ function readSqliteGetPagesRequest(bc) {
478
+ return {
479
+ actorId: readId(bc),
480
+ generation: readSqliteGeneration(bc),
481
+ pgnos: read6(bc)
482
+ };
483
+ }
484
+ function writeSqliteGetPagesRequest(bc, x) {
485
+ writeId(bc, x.actorId);
486
+ writeSqliteGeneration(bc, x.generation);
487
+ write6(bc, x.pgnos);
488
+ }
489
+ function read7(bc) {
490
+ const len = bare.readUintSafe(bc);
491
+ if (len === 0) {
492
+ return [];
493
+ }
494
+ const result = [readSqliteFetchedPage(bc)];
495
+ for (let i = 1; i < len; i++) {
496
+ result[i] = readSqliteFetchedPage(bc);
497
+ }
498
+ return result;
499
+ }
500
+ function write7(bc, x) {
501
+ bare.writeUintSafe(bc, x.length);
502
+ for (let i = 0; i < x.length; i++) {
503
+ writeSqliteFetchedPage(bc, x[i]);
504
+ }
505
+ }
506
+ function readSqliteGetPagesOk(bc) {
507
+ return {
508
+ pages: read7(bc),
509
+ meta: readSqliteMeta(bc)
510
+ };
511
+ }
512
+ function writeSqliteGetPagesOk(bc, x) {
513
+ write7(bc, x.pages);
514
+ writeSqliteMeta(bc, x.meta);
515
+ }
516
+ function readSqliteErrorResponse(bc) {
517
+ return {
518
+ message: bare.readString(bc)
519
+ };
520
+ }
521
+ function writeSqliteErrorResponse(bc, x) {
522
+ bare.writeString(bc, x.message);
523
+ }
524
+ function readSqliteGetPagesResponse(bc) {
525
+ const offset = bc.offset;
526
+ const tag = bare.readU8(bc);
527
+ switch (tag) {
528
+ case 0:
529
+ return { tag: "SqliteGetPagesOk", val: readSqliteGetPagesOk(bc) };
530
+ case 1:
531
+ return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
532
+ case 2:
533
+ return { tag: "SqliteErrorResponse", val: readSqliteErrorResponse(bc) };
534
+ default: {
535
+ bc.offset = offset;
536
+ throw new bare.BareError(offset, "invalid tag");
537
+ }
538
+ }
539
+ }
540
+ function writeSqliteGetPagesResponse(bc, x) {
541
+ switch (x.tag) {
542
+ case "SqliteGetPagesOk": {
543
+ bare.writeU8(bc, 0);
544
+ writeSqliteGetPagesOk(bc, x.val);
545
+ break;
546
+ }
547
+ case "SqliteFenceMismatch": {
548
+ bare.writeU8(bc, 1);
549
+ writeSqliteFenceMismatch(bc, x.val);
550
+ break;
551
+ }
552
+ case "SqliteErrorResponse": {
553
+ bare.writeU8(bc, 2);
554
+ writeSqliteErrorResponse(bc, x.val);
555
+ break;
556
+ }
557
+ }
558
+ }
559
+ function read8(bc) {
560
+ const len = bare.readUintSafe(bc);
561
+ if (len === 0) {
562
+ return [];
563
+ }
564
+ const result = [readSqliteDirtyPage(bc)];
565
+ for (let i = 1; i < len; i++) {
566
+ result[i] = readSqliteDirtyPage(bc);
567
+ }
568
+ return result;
569
+ }
570
+ function write8(bc, x) {
571
+ bare.writeUintSafe(bc, x.length);
572
+ for (let i = 0; i < x.length; i++) {
573
+ writeSqliteDirtyPage(bc, x[i]);
574
+ }
575
+ }
576
+ function readSqliteCommitRequest(bc) {
577
+ return {
578
+ actorId: readId(bc),
579
+ generation: readSqliteGeneration(bc),
580
+ expectedHeadTxid: readSqliteTxid(bc),
581
+ dirtyPages: read8(bc),
582
+ newDbSizePages: bare.readU32(bc)
583
+ };
584
+ }
585
+ function writeSqliteCommitRequest(bc, x) {
586
+ writeId(bc, x.actorId);
587
+ writeSqliteGeneration(bc, x.generation);
588
+ writeSqliteTxid(bc, x.expectedHeadTxid);
589
+ write8(bc, x.dirtyPages);
590
+ bare.writeU32(bc, x.newDbSizePages);
591
+ }
592
+ function readSqliteCommitOk(bc) {
593
+ return {
594
+ newHeadTxid: readSqliteTxid(bc),
595
+ meta: readSqliteMeta(bc)
596
+ };
597
+ }
598
+ function writeSqliteCommitOk(bc, x) {
599
+ writeSqliteTxid(bc, x.newHeadTxid);
600
+ writeSqliteMeta(bc, x.meta);
601
+ }
602
+ function readSqliteCommitTooLarge(bc) {
603
+ return {
604
+ actualSizeBytes: bare.readU64(bc),
605
+ maxSizeBytes: bare.readU64(bc)
606
+ };
607
+ }
608
+ function writeSqliteCommitTooLarge(bc, x) {
609
+ bare.writeU64(bc, x.actualSizeBytes);
610
+ bare.writeU64(bc, x.maxSizeBytes);
611
+ }
612
+ function readSqliteCommitResponse(bc) {
613
+ const offset = bc.offset;
614
+ const tag = bare.readU8(bc);
615
+ switch (tag) {
616
+ case 0:
617
+ return { tag: "SqliteCommitOk", val: readSqliteCommitOk(bc) };
618
+ case 1:
619
+ return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
620
+ case 2:
621
+ return { tag: "SqliteCommitTooLarge", val: readSqliteCommitTooLarge(bc) };
622
+ case 3:
623
+ return { tag: "SqliteErrorResponse", val: readSqliteErrorResponse(bc) };
624
+ default: {
625
+ bc.offset = offset;
626
+ throw new bare.BareError(offset, "invalid tag");
627
+ }
628
+ }
629
+ }
630
+ function writeSqliteCommitResponse(bc, x) {
631
+ switch (x.tag) {
632
+ case "SqliteCommitOk": {
633
+ bare.writeU8(bc, 0);
634
+ writeSqliteCommitOk(bc, x.val);
635
+ break;
636
+ }
637
+ case "SqliteFenceMismatch": {
638
+ bare.writeU8(bc, 1);
639
+ writeSqliteFenceMismatch(bc, x.val);
640
+ break;
641
+ }
642
+ case "SqliteCommitTooLarge": {
643
+ bare.writeU8(bc, 2);
644
+ writeSqliteCommitTooLarge(bc, x.val);
645
+ break;
646
+ }
647
+ case "SqliteErrorResponse": {
648
+ bare.writeU8(bc, 3);
649
+ writeSqliteErrorResponse(bc, x.val);
650
+ break;
651
+ }
652
+ }
653
+ }
654
+ function readSqliteCommitStageBeginRequest(bc) {
655
+ return {
656
+ actorId: readId(bc),
657
+ generation: readSqliteGeneration(bc)
658
+ };
659
+ }
660
+ function writeSqliteCommitStageBeginRequest(bc, x) {
661
+ writeId(bc, x.actorId);
662
+ writeSqliteGeneration(bc, x.generation);
663
+ }
664
+ function readSqliteCommitStageBeginOk(bc) {
665
+ return {
666
+ txid: readSqliteTxid(bc)
667
+ };
668
+ }
669
+ function writeSqliteCommitStageBeginOk(bc, x) {
670
+ writeSqliteTxid(bc, x.txid);
671
+ }
672
+ function readSqliteCommitStageBeginResponse(bc) {
673
+ const offset = bc.offset;
674
+ const tag = bare.readU8(bc);
675
+ switch (tag) {
676
+ case 0:
677
+ return { tag: "SqliteCommitStageBeginOk", val: readSqliteCommitStageBeginOk(bc) };
678
+ case 1:
679
+ return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
680
+ case 2:
681
+ return { tag: "SqliteErrorResponse", val: readSqliteErrorResponse(bc) };
682
+ default: {
683
+ bc.offset = offset;
684
+ throw new bare.BareError(offset, "invalid tag");
685
+ }
686
+ }
687
+ }
688
+ function writeSqliteCommitStageBeginResponse(bc, x) {
689
+ switch (x.tag) {
690
+ case "SqliteCommitStageBeginOk": {
691
+ bare.writeU8(bc, 0);
692
+ writeSqliteCommitStageBeginOk(bc, x.val);
693
+ break;
694
+ }
695
+ case "SqliteFenceMismatch": {
696
+ bare.writeU8(bc, 1);
697
+ writeSqliteFenceMismatch(bc, x.val);
698
+ break;
699
+ }
700
+ case "SqliteErrorResponse": {
701
+ bare.writeU8(bc, 2);
702
+ writeSqliteErrorResponse(bc, x.val);
703
+ break;
704
+ }
705
+ }
706
+ }
707
+ function readSqliteCommitStageRequest(bc) {
708
+ return {
709
+ actorId: readId(bc),
710
+ generation: readSqliteGeneration(bc),
711
+ txid: readSqliteTxid(bc),
712
+ chunkIdx: bare.readU32(bc),
713
+ bytes: bare.readData(bc),
714
+ isLast: bare.readBool(bc)
715
+ };
716
+ }
717
+ function writeSqliteCommitStageRequest(bc, x) {
718
+ writeId(bc, x.actorId);
719
+ writeSqliteGeneration(bc, x.generation);
720
+ writeSqliteTxid(bc, x.txid);
721
+ bare.writeU32(bc, x.chunkIdx);
722
+ bare.writeData(bc, x.bytes);
723
+ bare.writeBool(bc, x.isLast);
724
+ }
725
+ function readSqliteCommitStageOk(bc) {
726
+ return {
727
+ chunkIdxCommitted: bare.readU32(bc)
728
+ };
729
+ }
730
+ function writeSqliteCommitStageOk(bc, x) {
731
+ bare.writeU32(bc, x.chunkIdxCommitted);
732
+ }
733
+ function readSqliteCommitStageResponse(bc) {
734
+ const offset = bc.offset;
735
+ const tag = bare.readU8(bc);
736
+ switch (tag) {
737
+ case 0:
738
+ return { tag: "SqliteCommitStageOk", val: readSqliteCommitStageOk(bc) };
739
+ case 1:
740
+ return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
741
+ case 2:
742
+ return { tag: "SqliteErrorResponse", val: readSqliteErrorResponse(bc) };
743
+ default: {
744
+ bc.offset = offset;
745
+ throw new bare.BareError(offset, "invalid tag");
746
+ }
747
+ }
748
+ }
749
+ function writeSqliteCommitStageResponse(bc, x) {
750
+ switch (x.tag) {
751
+ case "SqliteCommitStageOk": {
752
+ bare.writeU8(bc, 0);
753
+ writeSqliteCommitStageOk(bc, x.val);
754
+ break;
755
+ }
756
+ case "SqliteFenceMismatch": {
757
+ bare.writeU8(bc, 1);
758
+ writeSqliteFenceMismatch(bc, x.val);
759
+ break;
760
+ }
761
+ case "SqliteErrorResponse": {
762
+ bare.writeU8(bc, 2);
763
+ writeSqliteErrorResponse(bc, x.val);
764
+ break;
765
+ }
766
+ }
767
+ }
768
+ function readSqliteCommitFinalizeRequest(bc) {
769
+ return {
770
+ actorId: readId(bc),
771
+ generation: readSqliteGeneration(bc),
772
+ expectedHeadTxid: readSqliteTxid(bc),
773
+ txid: readSqliteTxid(bc),
774
+ newDbSizePages: bare.readU32(bc)
775
+ };
776
+ }
777
+ function writeSqliteCommitFinalizeRequest(bc, x) {
778
+ writeId(bc, x.actorId);
779
+ writeSqliteGeneration(bc, x.generation);
780
+ writeSqliteTxid(bc, x.expectedHeadTxid);
781
+ writeSqliteTxid(bc, x.txid);
782
+ bare.writeU32(bc, x.newDbSizePages);
783
+ }
784
+ function readSqliteCommitFinalizeOk(bc) {
785
+ return {
786
+ newHeadTxid: readSqliteTxid(bc),
787
+ meta: readSqliteMeta(bc)
788
+ };
789
+ }
790
+ function writeSqliteCommitFinalizeOk(bc, x) {
791
+ writeSqliteTxid(bc, x.newHeadTxid);
792
+ writeSqliteMeta(bc, x.meta);
793
+ }
794
+ function readSqliteStageNotFound(bc) {
795
+ return {
796
+ stageId: readSqliteStageId(bc)
797
+ };
798
+ }
799
+ function writeSqliteStageNotFound(bc, x) {
800
+ writeSqliteStageId(bc, x.stageId);
801
+ }
802
+ function readSqliteCommitFinalizeResponse(bc) {
803
+ const offset = bc.offset;
804
+ const tag = bare.readU8(bc);
805
+ switch (tag) {
806
+ case 0:
807
+ return { tag: "SqliteCommitFinalizeOk", val: readSqliteCommitFinalizeOk(bc) };
808
+ case 1:
809
+ return { tag: "SqliteFenceMismatch", val: readSqliteFenceMismatch(bc) };
810
+ case 2:
811
+ return { tag: "SqliteStageNotFound", val: readSqliteStageNotFound(bc) };
812
+ case 3:
813
+ return { tag: "SqliteErrorResponse", val: readSqliteErrorResponse(bc) };
814
+ default: {
815
+ bc.offset = offset;
816
+ throw new bare.BareError(offset, "invalid tag");
817
+ }
818
+ }
819
+ }
820
+ function writeSqliteCommitFinalizeResponse(bc, x) {
821
+ switch (x.tag) {
822
+ case "SqliteCommitFinalizeOk": {
823
+ bare.writeU8(bc, 0);
824
+ writeSqliteCommitFinalizeOk(bc, x.val);
825
+ break;
826
+ }
827
+ case "SqliteFenceMismatch": {
828
+ bare.writeU8(bc, 1);
829
+ writeSqliteFenceMismatch(bc, x.val);
830
+ break;
831
+ }
832
+ case "SqliteStageNotFound": {
833
+ bare.writeU8(bc, 2);
834
+ writeSqliteStageNotFound(bc, x.val);
835
+ break;
836
+ }
837
+ case "SqliteErrorResponse": {
838
+ bare.writeU8(bc, 3);
839
+ writeSqliteErrorResponse(bc, x.val);
840
+ break;
841
+ }
842
+ }
843
+ }
844
+ function readSqliteStartupData(bc) {
845
+ return {
846
+ generation: readSqliteGeneration(bc),
847
+ meta: readSqliteMeta(bc),
848
+ preloadedPages: read7(bc)
849
+ };
850
+ }
851
+ function writeSqliteStartupData(bc, x) {
852
+ writeSqliteGeneration(bc, x.generation);
853
+ writeSqliteMeta(bc, x.meta);
854
+ write7(bc, x.preloadedPages);
855
+ }
369
856
  var StopCode = /* @__PURE__ */ ((StopCode2) => {
370
857
  StopCode2["Ok"] = "Ok";
371
858
  StopCode2["Error"] = "Error";
@@ -405,19 +892,19 @@ function readActorName(bc) {
405
892
  function writeActorName(bc, x) {
406
893
  writeJson(bc, x.metadata);
407
894
  }
408
- function read5(bc) {
895
+ function read9(bc) {
409
896
  return bare.readBool(bc) ? bare.readString(bc) : null;
410
897
  }
411
- function write5(bc, x) {
898
+ function write9(bc, x) {
412
899
  bare.writeBool(bc, x != null);
413
900
  if (x != null) {
414
901
  bare.writeString(bc, x);
415
902
  }
416
903
  }
417
- function read6(bc) {
904
+ function read10(bc) {
418
905
  return bare.readBool(bc) ? bare.readData(bc) : null;
419
906
  }
420
- function write6(bc, x) {
907
+ function write10(bc, x) {
421
908
  bare.writeBool(bc, x != null);
422
909
  if (x != null) {
423
910
  bare.writeData(bc, x);
@@ -426,16 +913,16 @@ function write6(bc, x) {
426
913
  function readActorConfig(bc) {
427
914
  return {
428
915
  name: bare.readString(bc),
429
- key: read5(bc),
916
+ key: read9(bc),
430
917
  createTs: bare.readI64(bc),
431
- input: read6(bc)
918
+ input: read10(bc)
432
919
  };
433
920
  }
434
921
  function writeActorConfig(bc, x) {
435
922
  bare.writeString(bc, x.name);
436
- write5(bc, x.key);
923
+ write9(bc, x.key);
437
924
  bare.writeI64(bc, x.createTs);
438
- write6(bc, x.input);
925
+ write10(bc, x.input);
439
926
  }
440
927
  function readActorCheckpoint(bc) {
441
928
  return {
@@ -478,12 +965,12 @@ function writeActorIntent(bc, x) {
478
965
  function readActorStateStopped(bc) {
479
966
  return {
480
967
  code: readStopCode(bc),
481
- message: read5(bc)
968
+ message: read9(bc)
482
969
  };
483
970
  }
484
971
  function writeActorStateStopped(bc, x) {
485
972
  writeStopCode(bc, x.code);
486
- write5(bc, x.message);
973
+ write9(bc, x.message);
487
974
  }
488
975
  function readActorState(bc) {
489
976
  const offset = bc.offset;
@@ -528,10 +1015,10 @@ function readEventActorStateUpdate(bc) {
528
1015
  function writeEventActorStateUpdate(bc, x) {
529
1016
  writeActorState(bc, x.state);
530
1017
  }
531
- function read7(bc) {
1018
+ function read11(bc) {
532
1019
  return bare.readBool(bc) ? bare.readI64(bc) : null;
533
1020
  }
534
- function write7(bc, x) {
1021
+ function write11(bc, x) {
535
1022
  bare.writeBool(bc, x != null);
536
1023
  if (x != null) {
537
1024
  bare.writeI64(bc, x);
@@ -539,11 +1026,11 @@ function write7(bc, x) {
539
1026
  }
540
1027
  function readEventActorSetAlarm(bc) {
541
1028
  return {
542
- alarmTs: read7(bc)
1029
+ alarmTs: read11(bc)
543
1030
  };
544
1031
  }
545
1032
  function writeEventActorSetAlarm(bc, x) {
546
- write7(bc, x.alarmTs);
1033
+ write11(bc, x.alarmTs);
547
1034
  }
548
1035
  function readEvent(bc) {
549
1036
  const offset = bc.offset;
@@ -602,7 +1089,7 @@ function writePreloadedKvEntry(bc, x) {
602
1089
  writeKvValue(bc, x.value);
603
1090
  writeKvMetadata(bc, x.metadata);
604
1091
  }
605
- function read8(bc) {
1092
+ function read12(bc) {
606
1093
  const len = bare.readUintSafe(bc);
607
1094
  if (len === 0) {
608
1095
  return [];
@@ -613,7 +1100,7 @@ function read8(bc) {
613
1100
  }
614
1101
  return result;
615
1102
  }
616
- function write8(bc, x) {
1103
+ function write12(bc, x) {
617
1104
  bare.writeUintSafe(bc, x.length);
618
1105
  for (let i = 0; i < x.length; i++) {
619
1106
  writePreloadedKvEntry(bc, x[i]);
@@ -621,13 +1108,13 @@ function write8(bc, x) {
621
1108
  }
622
1109
  function readPreloadedKv(bc) {
623
1110
  return {
624
- entries: read8(bc),
1111
+ entries: read12(bc),
625
1112
  requestedGetKeys: read0(bc),
626
1113
  requestedPrefixes: read0(bc)
627
1114
  };
628
1115
  }
629
1116
  function writePreloadedKv(bc, x) {
630
- write8(bc, x.entries);
1117
+ write12(bc, x.entries);
631
1118
  write0(bc, x.requestedGetKeys);
632
1119
  write0(bc, x.requestedPrefixes);
633
1120
  }
@@ -641,7 +1128,7 @@ function writeHibernatingRequest(bc, x) {
641
1128
  writeGatewayId(bc, x.gatewayId);
642
1129
  writeRequestId(bc, x.requestId);
643
1130
  }
644
- function read9(bc) {
1131
+ function read13(bc) {
645
1132
  const len = bare.readUintSafe(bc);
646
1133
  if (len === 0) {
647
1134
  return [];
@@ -652,32 +1139,45 @@ function read9(bc) {
652
1139
  }
653
1140
  return result;
654
1141
  }
655
- function write9(bc, x) {
1142
+ function write13(bc, x) {
656
1143
  bare.writeUintSafe(bc, x.length);
657
1144
  for (let i = 0; i < x.length; i++) {
658
1145
  writeHibernatingRequest(bc, x[i]);
659
1146
  }
660
1147
  }
661
- function read10(bc) {
1148
+ function read14(bc) {
662
1149
  return bare.readBool(bc) ? readPreloadedKv(bc) : null;
663
1150
  }
664
- function write10(bc, x) {
1151
+ function write14(bc, x) {
665
1152
  bare.writeBool(bc, x != null);
666
1153
  if (x != null) {
667
1154
  writePreloadedKv(bc, x);
668
1155
  }
669
1156
  }
1157
+ function read15(bc) {
1158
+ return bare.readBool(bc) ? readSqliteStartupData(bc) : null;
1159
+ }
1160
+ function write15(bc, x) {
1161
+ bare.writeBool(bc, x != null);
1162
+ if (x != null) {
1163
+ writeSqliteStartupData(bc, x);
1164
+ }
1165
+ }
670
1166
  function readCommandStartActor(bc) {
671
1167
  return {
672
1168
  config: readActorConfig(bc),
673
- hibernatingRequests: read9(bc),
674
- preloadedKv: read10(bc)
1169
+ hibernatingRequests: read13(bc),
1170
+ preloadedKv: read14(bc),
1171
+ sqliteSchemaVersion: bare.readU32(bc),
1172
+ sqliteStartupData: read15(bc)
675
1173
  };
676
1174
  }
677
1175
  function writeCommandStartActor(bc, x) {
678
1176
  writeActorConfig(bc, x.config);
679
- write9(bc, x.hibernatingRequests);
680
- write10(bc, x.preloadedKv);
1177
+ write13(bc, x.hibernatingRequests);
1178
+ write14(bc, x.preloadedKv);
1179
+ bare.writeU32(bc, x.sqliteSchemaVersion);
1180
+ write15(bc, x.sqliteStartupData);
681
1181
  }
682
1182
  var StopActorReason = /* @__PURE__ */ ((StopActorReason2) => {
683
1183
  StopActorReason2["SleepIntent"] = "SleepIntent";
@@ -834,7 +1334,7 @@ function writeMessageId(bc, x) {
834
1334
  writeRequestId(bc, x.requestId);
835
1335
  writeMessageIndex(bc, x.messageIndex);
836
1336
  }
837
- function read11(bc) {
1337
+ function read16(bc) {
838
1338
  const len = bare.readUintSafe(bc);
839
1339
  const result = /* @__PURE__ */ new Map();
840
1340
  for (let i = 0; i < len; i++) {
@@ -848,7 +1348,7 @@ function read11(bc) {
848
1348
  }
849
1349
  return result;
850
1350
  }
851
- function write11(bc, x) {
1351
+ function write16(bc, x) {
852
1352
  bare.writeUintSafe(bc, x.size);
853
1353
  for (const kv of x) {
854
1354
  bare.writeString(bc, kv[0]);
@@ -860,8 +1360,8 @@ function readToEnvoyRequestStart(bc) {
860
1360
  actorId: readId(bc),
861
1361
  method: bare.readString(bc),
862
1362
  path: bare.readString(bc),
863
- headers: read11(bc),
864
- body: read6(bc),
1363
+ headers: read16(bc),
1364
+ body: read10(bc),
865
1365
  stream: bare.readBool(bc)
866
1366
  };
867
1367
  }
@@ -869,8 +1369,8 @@ function writeToEnvoyRequestStart(bc, x) {
869
1369
  writeId(bc, x.actorId);
870
1370
  bare.writeString(bc, x.method);
871
1371
  bare.writeString(bc, x.path);
872
- write11(bc, x.headers);
873
- write6(bc, x.body);
1372
+ write16(bc, x.headers);
1373
+ write10(bc, x.body);
874
1374
  bare.writeBool(bc, x.stream);
875
1375
  }
876
1376
  function readToEnvoyRequestChunk(bc) {
@@ -886,15 +1386,15 @@ function writeToEnvoyRequestChunk(bc, x) {
886
1386
  function readToRivetResponseStart(bc) {
887
1387
  return {
888
1388
  status: bare.readU16(bc),
889
- headers: read11(bc),
890
- body: read6(bc),
1389
+ headers: read16(bc),
1390
+ body: read10(bc),
891
1391
  stream: bare.readBool(bc)
892
1392
  };
893
1393
  }
894
1394
  function writeToRivetResponseStart(bc, x) {
895
1395
  bare.writeU16(bc, x.status);
896
- write11(bc, x.headers);
897
- write6(bc, x.body);
1396
+ write16(bc, x.headers);
1397
+ write10(bc, x.body);
898
1398
  bare.writeBool(bc, x.stream);
899
1399
  }
900
1400
  function readToRivetResponseChunk(bc) {
@@ -911,13 +1411,13 @@ function readToEnvoyWebSocketOpen(bc) {
911
1411
  return {
912
1412
  actorId: readId(bc),
913
1413
  path: bare.readString(bc),
914
- headers: read11(bc)
1414
+ headers: read16(bc)
915
1415
  };
916
1416
  }
917
1417
  function writeToEnvoyWebSocketOpen(bc, x) {
918
1418
  writeId(bc, x.actorId);
919
1419
  bare.writeString(bc, x.path);
920
- write11(bc, x.headers);
1420
+ write16(bc, x.headers);
921
1421
  }
922
1422
  function readToEnvoyWebSocketMessage(bc) {
923
1423
  return {
@@ -929,10 +1429,10 @@ function writeToEnvoyWebSocketMessage(bc, x) {
929
1429
  bare.writeData(bc, x.data);
930
1430
  bare.writeBool(bc, x.binary);
931
1431
  }
932
- function read12(bc) {
1432
+ function read17(bc) {
933
1433
  return bare.readBool(bc) ? bare.readU16(bc) : null;
934
1434
  }
935
- function write12(bc, x) {
1435
+ function write17(bc, x) {
936
1436
  bare.writeBool(bc, x != null);
937
1437
  if (x != null) {
938
1438
  bare.writeU16(bc, x);
@@ -940,13 +1440,13 @@ function write12(bc, x) {
940
1440
  }
941
1441
  function readToEnvoyWebSocketClose(bc) {
942
1442
  return {
943
- code: read12(bc),
944
- reason: read5(bc)
1443
+ code: read17(bc),
1444
+ reason: read9(bc)
945
1445
  };
946
1446
  }
947
1447
  function writeToEnvoyWebSocketClose(bc, x) {
948
- write12(bc, x.code);
949
- write5(bc, x.reason);
1448
+ write17(bc, x.code);
1449
+ write9(bc, x.reason);
950
1450
  }
951
1451
  function readToRivetWebSocketOpen(bc) {
952
1452
  return {
@@ -976,14 +1476,14 @@ function writeToRivetWebSocketMessageAck(bc, x) {
976
1476
  }
977
1477
  function readToRivetWebSocketClose(bc) {
978
1478
  return {
979
- code: read12(bc),
980
- reason: read5(bc),
1479
+ code: read17(bc),
1480
+ reason: read9(bc),
981
1481
  hibernate: bare.readBool(bc)
982
1482
  };
983
1483
  }
984
1484
  function writeToRivetWebSocketClose(bc, x) {
985
- write12(bc, x.code);
986
- write5(bc, x.reason);
1485
+ write17(bc, x.code);
1486
+ write9(bc, x.reason);
987
1487
  bare.writeBool(bc, x.hibernate);
988
1488
  }
989
1489
  function readToRivetTunnelMessageKind(bc) {
@@ -1131,7 +1631,7 @@ function readToEnvoyPing(bc) {
1131
1631
  function writeToEnvoyPing(bc, x) {
1132
1632
  bare.writeI64(bc, x.ts);
1133
1633
  }
1134
- function read13(bc) {
1634
+ function read18(bc) {
1135
1635
  const len = bare.readUintSafe(bc);
1136
1636
  const result = /* @__PURE__ */ new Map();
1137
1637
  for (let i = 0; i < len; i++) {
@@ -1145,26 +1645,26 @@ function read13(bc) {
1145
1645
  }
1146
1646
  return result;
1147
1647
  }
1148
- function write13(bc, x) {
1648
+ function write18(bc, x) {
1149
1649
  bare.writeUintSafe(bc, x.size);
1150
1650
  for (const kv of x) {
1151
1651
  bare.writeString(bc, kv[0]);
1152
1652
  writeActorName(bc, kv[1]);
1153
1653
  }
1154
1654
  }
1155
- function read14(bc) {
1156
- return bare.readBool(bc) ? read13(bc) : null;
1655
+ function read19(bc) {
1656
+ return bare.readBool(bc) ? read18(bc) : null;
1157
1657
  }
1158
- function write14(bc, x) {
1658
+ function write19(bc, x) {
1159
1659
  bare.writeBool(bc, x != null);
1160
1660
  if (x != null) {
1161
- write13(bc, x);
1661
+ write18(bc, x);
1162
1662
  }
1163
1663
  }
1164
- function read15(bc) {
1664
+ function read20(bc) {
1165
1665
  return bare.readBool(bc) ? readJson(bc) : null;
1166
1666
  }
1167
- function write15(bc, x) {
1667
+ function write20(bc, x) {
1168
1668
  bare.writeBool(bc, x != null);
1169
1669
  if (x != null) {
1170
1670
  writeJson(bc, x);
@@ -1172,13 +1672,13 @@ function write15(bc, x) {
1172
1672
  }
1173
1673
  function readToRivetMetadata(bc) {
1174
1674
  return {
1175
- prepopulateActorNames: read14(bc),
1176
- metadata: read15(bc)
1675
+ prepopulateActorNames: read19(bc),
1676
+ metadata: read20(bc)
1177
1677
  };
1178
1678
  }
1179
1679
  function writeToRivetMetadata(bc, x) {
1180
- write14(bc, x.prepopulateActorNames);
1181
- write15(bc, x.metadata);
1680
+ write19(bc, x.prepopulateActorNames);
1681
+ write20(bc, x.metadata);
1182
1682
  }
1183
1683
  function readToRivetEvents(bc) {
1184
1684
  const len = bare.readUintSafe(bc);
@@ -1197,7 +1697,7 @@ function writeToRivetEvents(bc, x) {
1197
1697
  writeEventWrapper(bc, x[i]);
1198
1698
  }
1199
1699
  }
1200
- function read16(bc) {
1700
+ function read21(bc) {
1201
1701
  const len = bare.readUintSafe(bc);
1202
1702
  if (len === 0) {
1203
1703
  return [];
@@ -1208,7 +1708,7 @@ function read16(bc) {
1208
1708
  }
1209
1709
  return result;
1210
1710
  }
1211
- function write16(bc, x) {
1711
+ function write21(bc, x) {
1212
1712
  bare.writeUintSafe(bc, x.length);
1213
1713
  for (let i = 0; i < x.length; i++) {
1214
1714
  writeActorCheckpoint(bc, x[i]);
@@ -1216,11 +1716,11 @@ function write16(bc, x) {
1216
1716
  }
1217
1717
  function readToRivetAckCommands(bc) {
1218
1718
  return {
1219
- lastCommandCheckpoints: read16(bc)
1719
+ lastCommandCheckpoints: read21(bc)
1220
1720
  };
1221
1721
  }
1222
1722
  function writeToRivetAckCommands(bc, x) {
1223
- write16(bc, x.lastCommandCheckpoints);
1723
+ write21(bc, x.lastCommandCheckpoints);
1224
1724
  }
1225
1725
  function readToRivetPong(bc) {
1226
1726
  return {
@@ -1242,6 +1742,56 @@ function writeToRivetKvRequest(bc, x) {
1242
1742
  bare.writeU32(bc, x.requestId);
1243
1743
  writeKvRequestData(bc, x.data);
1244
1744
  }
1745
+ function readToRivetSqliteGetPagesRequest(bc) {
1746
+ return {
1747
+ requestId: bare.readU32(bc),
1748
+ data: readSqliteGetPagesRequest(bc)
1749
+ };
1750
+ }
1751
+ function writeToRivetSqliteGetPagesRequest(bc, x) {
1752
+ bare.writeU32(bc, x.requestId);
1753
+ writeSqliteGetPagesRequest(bc, x.data);
1754
+ }
1755
+ function readToRivetSqliteCommitRequest(bc) {
1756
+ return {
1757
+ requestId: bare.readU32(bc),
1758
+ data: readSqliteCommitRequest(bc)
1759
+ };
1760
+ }
1761
+ function writeToRivetSqliteCommitRequest(bc, x) {
1762
+ bare.writeU32(bc, x.requestId);
1763
+ writeSqliteCommitRequest(bc, x.data);
1764
+ }
1765
+ function readToRivetSqliteCommitStageBeginRequest(bc) {
1766
+ return {
1767
+ requestId: bare.readU32(bc),
1768
+ data: readSqliteCommitStageBeginRequest(bc)
1769
+ };
1770
+ }
1771
+ function writeToRivetSqliteCommitStageBeginRequest(bc, x) {
1772
+ bare.writeU32(bc, x.requestId);
1773
+ writeSqliteCommitStageBeginRequest(bc, x.data);
1774
+ }
1775
+ function readToRivetSqliteCommitStageRequest(bc) {
1776
+ return {
1777
+ requestId: bare.readU32(bc),
1778
+ data: readSqliteCommitStageRequest(bc)
1779
+ };
1780
+ }
1781
+ function writeToRivetSqliteCommitStageRequest(bc, x) {
1782
+ bare.writeU32(bc, x.requestId);
1783
+ writeSqliteCommitStageRequest(bc, x.data);
1784
+ }
1785
+ function readToRivetSqliteCommitFinalizeRequest(bc) {
1786
+ return {
1787
+ requestId: bare.readU32(bc),
1788
+ data: readSqliteCommitFinalizeRequest(bc)
1789
+ };
1790
+ }
1791
+ function writeToRivetSqliteCommitFinalizeRequest(bc, x) {
1792
+ bare.writeU32(bc, x.requestId);
1793
+ writeSqliteCommitFinalizeRequest(bc, x.data);
1794
+ }
1245
1795
  function readToRivet(bc) {
1246
1796
  const offset = bc.offset;
1247
1797
  const tag = bare.readU8(bc);
@@ -1260,6 +1810,16 @@ function readToRivet(bc) {
1260
1810
  return { tag: "ToRivetKvRequest", val: readToRivetKvRequest(bc) };
1261
1811
  case 6:
1262
1812
  return { tag: "ToRivetTunnelMessage", val: readToRivetTunnelMessage(bc) };
1813
+ case 7:
1814
+ return { tag: "ToRivetSqliteGetPagesRequest", val: readToRivetSqliteGetPagesRequest(bc) };
1815
+ case 8:
1816
+ return { tag: "ToRivetSqliteCommitRequest", val: readToRivetSqliteCommitRequest(bc) };
1817
+ case 9:
1818
+ return { tag: "ToRivetSqliteCommitStageBeginRequest", val: readToRivetSqliteCommitStageBeginRequest(bc) };
1819
+ case 10:
1820
+ return { tag: "ToRivetSqliteCommitStageRequest", val: readToRivetSqliteCommitStageRequest(bc) };
1821
+ case 11:
1822
+ return { tag: "ToRivetSqliteCommitFinalizeRequest", val: readToRivetSqliteCommitFinalizeRequest(bc) };
1263
1823
  default: {
1264
1824
  bc.offset = offset;
1265
1825
  throw new bare.BareError(offset, "invalid tag");
@@ -1302,6 +1862,31 @@ function writeToRivet(bc, x) {
1302
1862
  writeToRivetTunnelMessage(bc, x.val);
1303
1863
  break;
1304
1864
  }
1865
+ case "ToRivetSqliteGetPagesRequest": {
1866
+ bare.writeU8(bc, 7);
1867
+ writeToRivetSqliteGetPagesRequest(bc, x.val);
1868
+ break;
1869
+ }
1870
+ case "ToRivetSqliteCommitRequest": {
1871
+ bare.writeU8(bc, 8);
1872
+ writeToRivetSqliteCommitRequest(bc, x.val);
1873
+ break;
1874
+ }
1875
+ case "ToRivetSqliteCommitStageBeginRequest": {
1876
+ bare.writeU8(bc, 9);
1877
+ writeToRivetSqliteCommitStageBeginRequest(bc, x.val);
1878
+ break;
1879
+ }
1880
+ case "ToRivetSqliteCommitStageRequest": {
1881
+ bare.writeU8(bc, 10);
1882
+ writeToRivetSqliteCommitStageRequest(bc, x.val);
1883
+ break;
1884
+ }
1885
+ case "ToRivetSqliteCommitFinalizeRequest": {
1886
+ bare.writeU8(bc, 11);
1887
+ writeToRivetSqliteCommitFinalizeRequest(bc, x.val);
1888
+ break;
1889
+ }
1305
1890
  }
1306
1891
  }
1307
1892
  function encodeToRivet(x, config) {
@@ -1360,11 +1945,11 @@ function writeToEnvoyCommands(bc, x) {
1360
1945
  }
1361
1946
  function readToEnvoyAckEvents(bc) {
1362
1947
  return {
1363
- lastEventCheckpoints: read16(bc)
1948
+ lastEventCheckpoints: read21(bc)
1364
1949
  };
1365
1950
  }
1366
1951
  function writeToEnvoyAckEvents(bc, x) {
1367
- write16(bc, x.lastEventCheckpoints);
1952
+ write21(bc, x.lastEventCheckpoints);
1368
1953
  }
1369
1954
  function readToEnvoyKvResponse(bc) {
1370
1955
  return {
@@ -1376,6 +1961,56 @@ function writeToEnvoyKvResponse(bc, x) {
1376
1961
  bare.writeU32(bc, x.requestId);
1377
1962
  writeKvResponseData(bc, x.data);
1378
1963
  }
1964
+ function readToEnvoySqliteGetPagesResponse(bc) {
1965
+ return {
1966
+ requestId: bare.readU32(bc),
1967
+ data: readSqliteGetPagesResponse(bc)
1968
+ };
1969
+ }
1970
+ function writeToEnvoySqliteGetPagesResponse(bc, x) {
1971
+ bare.writeU32(bc, x.requestId);
1972
+ writeSqliteGetPagesResponse(bc, x.data);
1973
+ }
1974
+ function readToEnvoySqliteCommitResponse(bc) {
1975
+ return {
1976
+ requestId: bare.readU32(bc),
1977
+ data: readSqliteCommitResponse(bc)
1978
+ };
1979
+ }
1980
+ function writeToEnvoySqliteCommitResponse(bc, x) {
1981
+ bare.writeU32(bc, x.requestId);
1982
+ writeSqliteCommitResponse(bc, x.data);
1983
+ }
1984
+ function readToEnvoySqliteCommitStageBeginResponse(bc) {
1985
+ return {
1986
+ requestId: bare.readU32(bc),
1987
+ data: readSqliteCommitStageBeginResponse(bc)
1988
+ };
1989
+ }
1990
+ function writeToEnvoySqliteCommitStageBeginResponse(bc, x) {
1991
+ bare.writeU32(bc, x.requestId);
1992
+ writeSqliteCommitStageBeginResponse(bc, x.data);
1993
+ }
1994
+ function readToEnvoySqliteCommitStageResponse(bc) {
1995
+ return {
1996
+ requestId: bare.readU32(bc),
1997
+ data: readSqliteCommitStageResponse(bc)
1998
+ };
1999
+ }
2000
+ function writeToEnvoySqliteCommitStageResponse(bc, x) {
2001
+ bare.writeU32(bc, x.requestId);
2002
+ writeSqliteCommitStageResponse(bc, x.data);
2003
+ }
2004
+ function readToEnvoySqliteCommitFinalizeResponse(bc) {
2005
+ return {
2006
+ requestId: bare.readU32(bc),
2007
+ data: readSqliteCommitFinalizeResponse(bc)
2008
+ };
2009
+ }
2010
+ function writeToEnvoySqliteCommitFinalizeResponse(bc, x) {
2011
+ bare.writeU32(bc, x.requestId);
2012
+ writeSqliteCommitFinalizeResponse(bc, x.data);
2013
+ }
1379
2014
  function readToEnvoy(bc) {
1380
2015
  const offset = bc.offset;
1381
2016
  const tag = bare.readU8(bc);
@@ -1392,6 +2027,16 @@ function readToEnvoy(bc) {
1392
2027
  return { tag: "ToEnvoyTunnelMessage", val: readToEnvoyTunnelMessage(bc) };
1393
2028
  case 5:
1394
2029
  return { tag: "ToEnvoyPing", val: readToEnvoyPing(bc) };
2030
+ case 6:
2031
+ return { tag: "ToEnvoySqliteGetPagesResponse", val: readToEnvoySqliteGetPagesResponse(bc) };
2032
+ case 7:
2033
+ return { tag: "ToEnvoySqliteCommitResponse", val: readToEnvoySqliteCommitResponse(bc) };
2034
+ case 8:
2035
+ return { tag: "ToEnvoySqliteCommitStageBeginResponse", val: readToEnvoySqliteCommitStageBeginResponse(bc) };
2036
+ case 9:
2037
+ return { tag: "ToEnvoySqliteCommitStageResponse", val: readToEnvoySqliteCommitStageResponse(bc) };
2038
+ case 10:
2039
+ return { tag: "ToEnvoySqliteCommitFinalizeResponse", val: readToEnvoySqliteCommitFinalizeResponse(bc) };
1395
2040
  default: {
1396
2041
  bc.offset = offset;
1397
2042
  throw new bare.BareError(offset, "invalid tag");
@@ -1430,6 +2075,31 @@ function writeToEnvoy(bc, x) {
1430
2075
  writeToEnvoyPing(bc, x.val);
1431
2076
  break;
1432
2077
  }
2078
+ case "ToEnvoySqliteGetPagesResponse": {
2079
+ bare.writeU8(bc, 6);
2080
+ writeToEnvoySqliteGetPagesResponse(bc, x.val);
2081
+ break;
2082
+ }
2083
+ case "ToEnvoySqliteCommitResponse": {
2084
+ bare.writeU8(bc, 7);
2085
+ writeToEnvoySqliteCommitResponse(bc, x.val);
2086
+ break;
2087
+ }
2088
+ case "ToEnvoySqliteCommitStageBeginResponse": {
2089
+ bare.writeU8(bc, 8);
2090
+ writeToEnvoySqliteCommitStageBeginResponse(bc, x.val);
2091
+ break;
2092
+ }
2093
+ case "ToEnvoySqliteCommitStageResponse": {
2094
+ bare.writeU8(bc, 9);
2095
+ writeToEnvoySqliteCommitStageResponse(bc, x.val);
2096
+ break;
2097
+ }
2098
+ case "ToEnvoySqliteCommitFinalizeResponse": {
2099
+ bare.writeU8(bc, 10);
2100
+ writeToEnvoySqliteCommitFinalizeResponse(bc, x.val);
2101
+ break;
2102
+ }
1433
2103
  }
1434
2104
  }
1435
2105
  function encodeToEnvoy(x, config) {
@@ -1636,7 +2306,7 @@ function decodeToOutbound(bytes) {
1636
2306
  function assert(condition, message) {
1637
2307
  if (!condition) throw new Error(message ?? "Assertion failed");
1638
2308
  }
1639
- var VERSION = 1;
2309
+ var VERSION = 2;
1640
2310
  export {
1641
2311
  StopActorReason,
1642
2312
  StopCode,
@@ -1695,6 +2365,34 @@ export {
1695
2365
  readPreloadedKvEntry,
1696
2366
  readProtocolMetadata,
1697
2367
  readRequestId,
2368
+ readSqliteCommitFinalizeOk,
2369
+ readSqliteCommitFinalizeRequest,
2370
+ readSqliteCommitFinalizeResponse,
2371
+ readSqliteCommitOk,
2372
+ readSqliteCommitRequest,
2373
+ readSqliteCommitResponse,
2374
+ readSqliteCommitStageBeginOk,
2375
+ readSqliteCommitStageBeginRequest,
2376
+ readSqliteCommitStageBeginResponse,
2377
+ readSqliteCommitStageOk,
2378
+ readSqliteCommitStageRequest,
2379
+ readSqliteCommitStageResponse,
2380
+ readSqliteCommitTooLarge,
2381
+ readSqliteDirtyPage,
2382
+ readSqliteErrorResponse,
2383
+ readSqliteFenceMismatch,
2384
+ readSqliteFetchedPage,
2385
+ readSqliteGeneration,
2386
+ readSqliteGetPagesOk,
2387
+ readSqliteGetPagesRequest,
2388
+ readSqliteGetPagesResponse,
2389
+ readSqliteMeta,
2390
+ readSqlitePageBytes,
2391
+ readSqlitePgno,
2392
+ readSqliteStageId,
2393
+ readSqliteStageNotFound,
2394
+ readSqliteStartupData,
2395
+ readSqliteTxid,
1698
2396
  readStopActorReason,
1699
2397
  readStopCode,
1700
2398
  readToEnvoy,
@@ -1707,6 +2405,11 @@ export {
1707
2405
  readToEnvoyPing,
1708
2406
  readToEnvoyRequestChunk,
1709
2407
  readToEnvoyRequestStart,
2408
+ readToEnvoySqliteCommitFinalizeResponse,
2409
+ readToEnvoySqliteCommitResponse,
2410
+ readToEnvoySqliteCommitStageBeginResponse,
2411
+ readToEnvoySqliteCommitStageResponse,
2412
+ readToEnvoySqliteGetPagesResponse,
1710
2413
  readToEnvoyTunnelMessage,
1711
2414
  readToEnvoyTunnelMessageKind,
1712
2415
  readToEnvoyWebSocketClose,
@@ -1724,6 +2427,11 @@ export {
1724
2427
  readToRivetPong,
1725
2428
  readToRivetResponseChunk,
1726
2429
  readToRivetResponseStart,
2430
+ readToRivetSqliteCommitFinalizeRequest,
2431
+ readToRivetSqliteCommitRequest,
2432
+ readToRivetSqliteCommitStageBeginRequest,
2433
+ readToRivetSqliteCommitStageRequest,
2434
+ readToRivetSqliteGetPagesRequest,
1727
2435
  readToRivetTunnelMessage,
1728
2436
  readToRivetTunnelMessageKind,
1729
2437
  readToRivetWebSocketClose,
@@ -1772,6 +2480,34 @@ export {
1772
2480
  writePreloadedKvEntry,
1773
2481
  writeProtocolMetadata,
1774
2482
  writeRequestId,
2483
+ writeSqliteCommitFinalizeOk,
2484
+ writeSqliteCommitFinalizeRequest,
2485
+ writeSqliteCommitFinalizeResponse,
2486
+ writeSqliteCommitOk,
2487
+ writeSqliteCommitRequest,
2488
+ writeSqliteCommitResponse,
2489
+ writeSqliteCommitStageBeginOk,
2490
+ writeSqliteCommitStageBeginRequest,
2491
+ writeSqliteCommitStageBeginResponse,
2492
+ writeSqliteCommitStageOk,
2493
+ writeSqliteCommitStageRequest,
2494
+ writeSqliteCommitStageResponse,
2495
+ writeSqliteCommitTooLarge,
2496
+ writeSqliteDirtyPage,
2497
+ writeSqliteErrorResponse,
2498
+ writeSqliteFenceMismatch,
2499
+ writeSqliteFetchedPage,
2500
+ writeSqliteGeneration,
2501
+ writeSqliteGetPagesOk,
2502
+ writeSqliteGetPagesRequest,
2503
+ writeSqliteGetPagesResponse,
2504
+ writeSqliteMeta,
2505
+ writeSqlitePageBytes,
2506
+ writeSqlitePgno,
2507
+ writeSqliteStageId,
2508
+ writeSqliteStageNotFound,
2509
+ writeSqliteStartupData,
2510
+ writeSqliteTxid,
1775
2511
  writeStopActorReason,
1776
2512
  writeStopCode,
1777
2513
  writeToEnvoy,
@@ -1784,6 +2520,11 @@ export {
1784
2520
  writeToEnvoyPing,
1785
2521
  writeToEnvoyRequestChunk,
1786
2522
  writeToEnvoyRequestStart,
2523
+ writeToEnvoySqliteCommitFinalizeResponse,
2524
+ writeToEnvoySqliteCommitResponse,
2525
+ writeToEnvoySqliteCommitStageBeginResponse,
2526
+ writeToEnvoySqliteCommitStageResponse,
2527
+ writeToEnvoySqliteGetPagesResponse,
1787
2528
  writeToEnvoyTunnelMessage,
1788
2529
  writeToEnvoyTunnelMessageKind,
1789
2530
  writeToEnvoyWebSocketClose,
@@ -1801,6 +2542,11 @@ export {
1801
2542
  writeToRivetPong,
1802
2543
  writeToRivetResponseChunk,
1803
2544
  writeToRivetResponseStart,
2545
+ writeToRivetSqliteCommitFinalizeRequest,
2546
+ writeToRivetSqliteCommitRequest,
2547
+ writeToRivetSqliteCommitStageBeginRequest,
2548
+ writeToRivetSqliteCommitStageRequest,
2549
+ writeToRivetSqliteGetPagesRequest,
1804
2550
  writeToRivetTunnelMessage,
1805
2551
  writeToRivetTunnelMessageKind,
1806
2552
  writeToRivetWebSocketClose,