@rivetkit/engine-envoy-protocol 0.0.0-pr.4667.5a2ce00 → 0.0.0-pr.4668.91e762c

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