@rivetkit/engine-envoy-protocol 0.0.0-main.41efcce → 0.0.0-main.4994268

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.
Files changed (3) hide show
  1. package/dist/index.d.ts +210 -165
  2. package/dist/index.js +641 -368
  3. package/package.json +4 -2
package/dist/index.d.ts CHANGED
@@ -165,38 +165,15 @@ type KvResponseData = {
165
165
  };
166
166
  declare function readKvResponseData(bc: bare.ByteCursor): KvResponseData;
167
167
  declare function writeKvResponseData(bc: bare.ByteCursor, x: KvResponseData): void;
168
- type SqliteGeneration = u64;
169
- declare function readSqliteGeneration(bc: bare.ByteCursor): SqliteGeneration;
170
- declare function writeSqliteGeneration(bc: bare.ByteCursor, x: SqliteGeneration): void;
171
- type SqliteTxid = u64;
172
- declare function readSqliteTxid(bc: bare.ByteCursor): SqliteTxid;
173
- declare function writeSqliteTxid(bc: bare.ByteCursor, x: SqliteTxid): void;
174
168
  type SqlitePgno = u32;
175
169
  declare function readSqlitePgno(bc: bare.ByteCursor): SqlitePgno;
176
170
  declare function writeSqlitePgno(bc: bare.ByteCursor, x: SqlitePgno): void;
177
- type SqliteStageId = u64;
178
- declare function readSqliteStageId(bc: bare.ByteCursor): SqliteStageId;
179
- declare function writeSqliteStageId(bc: bare.ByteCursor, x: SqliteStageId): void;
171
+ type SqliteGeneration = u64;
172
+ declare function readSqliteGeneration(bc: bare.ByteCursor): SqliteGeneration;
173
+ declare function writeSqliteGeneration(bc: bare.ByteCursor, x: SqliteGeneration): void;
180
174
  type SqlitePageBytes = ArrayBuffer;
181
175
  declare function readSqlitePageBytes(bc: bare.ByteCursor): SqlitePageBytes;
182
176
  declare function writeSqlitePageBytes(bc: bare.ByteCursor, x: SqlitePageBytes): void;
183
- type SqliteMeta = {
184
- readonly generation: SqliteGeneration;
185
- readonly headTxid: SqliteTxid;
186
- readonly materializedTxid: SqliteTxid;
187
- readonly dbSizePages: u32;
188
- readonly pageSize: u32;
189
- readonly creationTsMs: i64;
190
- readonly maxDeltaBytes: u64;
191
- };
192
- declare function readSqliteMeta(bc: bare.ByteCursor): SqliteMeta;
193
- declare function writeSqliteMeta(bc: bare.ByteCursor, x: SqliteMeta): void;
194
- type SqliteFenceMismatch = {
195
- readonly actualMeta: SqliteMeta;
196
- readonly reason: string;
197
- };
198
- declare function readSqliteFenceMismatch(bc: bare.ByteCursor): SqliteFenceMismatch;
199
- declare function writeSqliteFenceMismatch(bc: bare.ByteCursor, x: SqliteFenceMismatch): void;
200
177
  type SqliteDirtyPage = {
201
178
  readonly pgno: SqlitePgno;
202
179
  readonly bytes: SqlitePageBytes;
@@ -211,18 +188,21 @@ declare function readSqliteFetchedPage(bc: bare.ByteCursor): SqliteFetchedPage;
211
188
  declare function writeSqliteFetchedPage(bc: bare.ByteCursor, x: SqliteFetchedPage): void;
212
189
  type SqliteGetPagesRequest = {
213
190
  readonly actorId: Id;
214
- readonly generation: SqliteGeneration;
215
191
  readonly pgnos: readonly SqlitePgno[];
192
+ readonly expectedGeneration: u64 | null;
193
+ readonly expectedHeadTxid: u64 | null;
216
194
  };
217
195
  declare function readSqliteGetPagesRequest(bc: bare.ByteCursor): SqliteGetPagesRequest;
218
196
  declare function writeSqliteGetPagesRequest(bc: bare.ByteCursor, x: SqliteGetPagesRequest): void;
219
197
  type SqliteGetPagesOk = {
220
198
  readonly pages: readonly SqliteFetchedPage[];
221
- readonly meta: SqliteMeta;
199
+ readonly headTxid: u64 | null;
222
200
  };
223
201
  declare function readSqliteGetPagesOk(bc: bare.ByteCursor): SqliteGetPagesOk;
224
202
  declare function writeSqliteGetPagesOk(bc: bare.ByteCursor, x: SqliteGetPagesOk): void;
225
203
  type SqliteErrorResponse = {
204
+ readonly group: string;
205
+ readonly code: string;
226
206
  readonly message: string;
227
207
  };
228
208
  declare function readSqliteErrorResponse(bc: bare.ByteCursor): SqliteErrorResponse;
@@ -230,9 +210,6 @@ declare function writeSqliteErrorResponse(bc: bare.ByteCursor, x: SqliteErrorRes
230
210
  type SqliteGetPagesResponse = {
231
211
  readonly tag: "SqliteGetPagesOk";
232
212
  readonly val: SqliteGetPagesOk;
233
- } | {
234
- readonly tag: "SqliteFenceMismatch";
235
- readonly val: SqliteFenceMismatch;
236
213
  } | {
237
214
  readonly tag: "SqliteErrorResponse";
238
215
  readonly val: SqliteErrorResponse;
@@ -241,132 +218,172 @@ declare function readSqliteGetPagesResponse(bc: bare.ByteCursor): SqliteGetPages
241
218
  declare function writeSqliteGetPagesResponse(bc: bare.ByteCursor, x: SqliteGetPagesResponse): void;
242
219
  type SqliteCommitRequest = {
243
220
  readonly actorId: Id;
244
- readonly generation: SqliteGeneration;
245
- readonly expectedHeadTxid: SqliteTxid;
246
221
  readonly dirtyPages: readonly SqliteDirtyPage[];
247
- readonly newDbSizePages: u32;
222
+ readonly dbSizePages: u32;
223
+ readonly nowMs: i64;
224
+ readonly expectedGeneration: u64 | null;
225
+ readonly expectedHeadTxid: u64 | null;
248
226
  };
249
227
  declare function readSqliteCommitRequest(bc: bare.ByteCursor): SqliteCommitRequest;
250
228
  declare function writeSqliteCommitRequest(bc: bare.ByteCursor, x: SqliteCommitRequest): void;
251
229
  type SqliteCommitOk = {
252
- readonly newHeadTxid: SqliteTxid;
253
- readonly meta: SqliteMeta;
230
+ readonly headTxid: u64 | null;
254
231
  };
255
232
  declare function readSqliteCommitOk(bc: bare.ByteCursor): SqliteCommitOk;
256
233
  declare function writeSqliteCommitOk(bc: bare.ByteCursor, x: SqliteCommitOk): void;
257
- type SqliteCommitTooLarge = {
258
- readonly actualSizeBytes: u64;
259
- readonly maxSizeBytes: u64;
260
- };
261
- declare function readSqliteCommitTooLarge(bc: bare.ByteCursor): SqliteCommitTooLarge;
262
- declare function writeSqliteCommitTooLarge(bc: bare.ByteCursor, x: SqliteCommitTooLarge): void;
263
234
  type SqliteCommitResponse = {
264
235
  readonly tag: "SqliteCommitOk";
265
236
  readonly val: SqliteCommitOk;
266
- } | {
267
- readonly tag: "SqliteFenceMismatch";
268
- readonly val: SqliteFenceMismatch;
269
- } | {
270
- readonly tag: "SqliteCommitTooLarge";
271
- readonly val: SqliteCommitTooLarge;
272
237
  } | {
273
238
  readonly tag: "SqliteErrorResponse";
274
239
  readonly val: SqliteErrorResponse;
275
240
  };
276
241
  declare function readSqliteCommitResponse(bc: bare.ByteCursor): SqliteCommitResponse;
277
242
  declare function writeSqliteCommitResponse(bc: bare.ByteCursor, x: SqliteCommitResponse): void;
278
- type SqliteCommitStageBeginRequest = {
243
+ type SqliteValueNull = null;
244
+ type SqliteValueInteger = {
245
+ readonly value: i64;
246
+ };
247
+ declare function readSqliteValueInteger(bc: bare.ByteCursor): SqliteValueInteger;
248
+ declare function writeSqliteValueInteger(bc: bare.ByteCursor, x: SqliteValueInteger): void;
249
+ type SqliteValueFloat = {
250
+ readonly value: ArrayBuffer;
251
+ };
252
+ declare function readSqliteValueFloat(bc: bare.ByteCursor): SqliteValueFloat;
253
+ declare function writeSqliteValueFloat(bc: bare.ByteCursor, x: SqliteValueFloat): void;
254
+ type SqliteValueText = {
255
+ readonly value: string;
256
+ };
257
+ declare function readSqliteValueText(bc: bare.ByteCursor): SqliteValueText;
258
+ declare function writeSqliteValueText(bc: bare.ByteCursor, x: SqliteValueText): void;
259
+ type SqliteValueBlob = {
260
+ readonly value: ArrayBuffer;
261
+ };
262
+ declare function readSqliteValueBlob(bc: bare.ByteCursor): SqliteValueBlob;
263
+ declare function writeSqliteValueBlob(bc: bare.ByteCursor, x: SqliteValueBlob): void;
264
+ type SqliteBindParam = {
265
+ readonly tag: "SqliteValueNull";
266
+ readonly val: SqliteValueNull;
267
+ } | {
268
+ readonly tag: "SqliteValueInteger";
269
+ readonly val: SqliteValueInteger;
270
+ } | {
271
+ readonly tag: "SqliteValueFloat";
272
+ readonly val: SqliteValueFloat;
273
+ } | {
274
+ readonly tag: "SqliteValueText";
275
+ readonly val: SqliteValueText;
276
+ } | {
277
+ readonly tag: "SqliteValueBlob";
278
+ readonly val: SqliteValueBlob;
279
+ };
280
+ declare function readSqliteBindParam(bc: bare.ByteCursor): SqliteBindParam;
281
+ declare function writeSqliteBindParam(bc: bare.ByteCursor, x: SqliteBindParam): void;
282
+ type SqliteColumnValue = {
283
+ readonly tag: "SqliteValueNull";
284
+ readonly val: SqliteValueNull;
285
+ } | {
286
+ readonly tag: "SqliteValueInteger";
287
+ readonly val: SqliteValueInteger;
288
+ } | {
289
+ readonly tag: "SqliteValueFloat";
290
+ readonly val: SqliteValueFloat;
291
+ } | {
292
+ readonly tag: "SqliteValueText";
293
+ readonly val: SqliteValueText;
294
+ } | {
295
+ readonly tag: "SqliteValueBlob";
296
+ readonly val: SqliteValueBlob;
297
+ };
298
+ declare function readSqliteColumnValue(bc: bare.ByteCursor): SqliteColumnValue;
299
+ declare function writeSqliteColumnValue(bc: bare.ByteCursor, x: SqliteColumnValue): void;
300
+ type SqliteQueryResult = {
301
+ readonly columns: readonly string[];
302
+ readonly rows: readonly (readonly SqliteColumnValue[])[];
303
+ };
304
+ declare function readSqliteQueryResult(bc: bare.ByteCursor): SqliteQueryResult;
305
+ declare function writeSqliteQueryResult(bc: bare.ByteCursor, x: SqliteQueryResult): void;
306
+ type SqliteExecuteResult = {
307
+ readonly columns: readonly string[];
308
+ readonly rows: readonly (readonly SqliteColumnValue[])[];
309
+ readonly changes: i64;
310
+ readonly lastInsertRowId: i64 | null;
311
+ };
312
+ declare function readSqliteExecuteResult(bc: bare.ByteCursor): SqliteExecuteResult;
313
+ declare function writeSqliteExecuteResult(bc: bare.ByteCursor, x: SqliteExecuteResult): void;
314
+ type SqliteExecRequest = {
315
+ readonly namespaceId: Id;
279
316
  readonly actorId: Id;
280
317
  readonly generation: SqliteGeneration;
318
+ readonly sql: string;
281
319
  };
282
- declare function readSqliteCommitStageBeginRequest(bc: bare.ByteCursor): SqliteCommitStageBeginRequest;
283
- declare function writeSqliteCommitStageBeginRequest(bc: bare.ByteCursor, x: SqliteCommitStageBeginRequest): void;
284
- type SqliteCommitStageBeginOk = {
285
- readonly txid: SqliteTxid;
286
- };
287
- declare function readSqliteCommitStageBeginOk(bc: bare.ByteCursor): SqliteCommitStageBeginOk;
288
- declare function writeSqliteCommitStageBeginOk(bc: bare.ByteCursor, x: SqliteCommitStageBeginOk): void;
289
- type SqliteCommitStageBeginResponse = {
290
- readonly tag: "SqliteCommitStageBeginOk";
291
- readonly val: SqliteCommitStageBeginOk;
292
- } | {
293
- readonly tag: "SqliteFenceMismatch";
294
- readonly val: SqliteFenceMismatch;
295
- } | {
296
- readonly tag: "SqliteErrorResponse";
297
- readonly val: SqliteErrorResponse;
298
- };
299
- declare function readSqliteCommitStageBeginResponse(bc: bare.ByteCursor): SqliteCommitStageBeginResponse;
300
- declare function writeSqliteCommitStageBeginResponse(bc: bare.ByteCursor, x: SqliteCommitStageBeginResponse): void;
301
- type SqliteCommitStageRequest = {
320
+ declare function readSqliteExecRequest(bc: bare.ByteCursor): SqliteExecRequest;
321
+ declare function writeSqliteExecRequest(bc: bare.ByteCursor, x: SqliteExecRequest): void;
322
+ type SqliteExecuteRequest = {
323
+ readonly namespaceId: Id;
302
324
  readonly actorId: Id;
303
325
  readonly generation: SqliteGeneration;
304
- readonly txid: SqliteTxid;
305
- readonly chunkIdx: u32;
306
- readonly bytes: ArrayBuffer;
307
- readonly isLast: boolean;
308
- };
309
- declare function readSqliteCommitStageRequest(bc: bare.ByteCursor): SqliteCommitStageRequest;
310
- declare function writeSqliteCommitStageRequest(bc: bare.ByteCursor, x: SqliteCommitStageRequest): void;
311
- type SqliteCommitStageOk = {
312
- readonly chunkIdxCommitted: u32;
313
- };
314
- declare function readSqliteCommitStageOk(bc: bare.ByteCursor): SqliteCommitStageOk;
315
- declare function writeSqliteCommitStageOk(bc: bare.ByteCursor, x: SqliteCommitStageOk): void;
316
- type SqliteCommitStageResponse = {
317
- readonly tag: "SqliteCommitStageOk";
318
- readonly val: SqliteCommitStageOk;
319
- } | {
320
- readonly tag: "SqliteFenceMismatch";
321
- readonly val: SqliteFenceMismatch;
322
- } | {
323
- readonly tag: "SqliteErrorResponse";
324
- readonly val: SqliteErrorResponse;
325
- };
326
- declare function readSqliteCommitStageResponse(bc: bare.ByteCursor): SqliteCommitStageResponse;
327
- declare function writeSqliteCommitStageResponse(bc: bare.ByteCursor, x: SqliteCommitStageResponse): void;
328
- type SqliteCommitFinalizeRequest = {
326
+ readonly sql: string;
327
+ readonly params: readonly SqliteBindParam[] | null;
328
+ };
329
+ declare function readSqliteExecuteRequest(bc: bare.ByteCursor): SqliteExecuteRequest;
330
+ declare function writeSqliteExecuteRequest(bc: bare.ByteCursor, x: SqliteExecuteRequest): void;
331
+ type SqliteBatchStatement = {
332
+ readonly sql: string;
333
+ readonly params: readonly SqliteBindParam[] | null;
334
+ };
335
+ declare function readSqliteBatchStatement(bc: bare.ByteCursor): SqliteBatchStatement;
336
+ declare function writeSqliteBatchStatement(bc: bare.ByteCursor, x: SqliteBatchStatement): void;
337
+ type SqliteExecuteBatchRequest = {
338
+ readonly namespaceId: Id;
329
339
  readonly actorId: Id;
330
340
  readonly generation: SqliteGeneration;
331
- readonly expectedHeadTxid: SqliteTxid;
332
- readonly txid: SqliteTxid;
333
- readonly newDbSizePages: u32;
341
+ readonly statements: readonly SqliteBatchStatement[];
334
342
  };
335
- declare function readSqliteCommitFinalizeRequest(bc: bare.ByteCursor): SqliteCommitFinalizeRequest;
336
- declare function writeSqliteCommitFinalizeRequest(bc: bare.ByteCursor, x: SqliteCommitFinalizeRequest): void;
337
- type SqliteCommitFinalizeOk = {
338
- readonly newHeadTxid: SqliteTxid;
339
- readonly meta: SqliteMeta;
343
+ declare function readSqliteExecuteBatchRequest(bc: bare.ByteCursor): SqliteExecuteBatchRequest;
344
+ declare function writeSqliteExecuteBatchRequest(bc: bare.ByteCursor, x: SqliteExecuteBatchRequest): void;
345
+ type SqliteExecOk = {
346
+ readonly result: SqliteQueryResult;
340
347
  };
341
- declare function readSqliteCommitFinalizeOk(bc: bare.ByteCursor): SqliteCommitFinalizeOk;
342
- declare function writeSqliteCommitFinalizeOk(bc: bare.ByteCursor, x: SqliteCommitFinalizeOk): void;
343
- type SqliteStageNotFound = {
344
- readonly stageId: SqliteStageId;
348
+ declare function readSqliteExecOk(bc: bare.ByteCursor): SqliteExecOk;
349
+ declare function writeSqliteExecOk(bc: bare.ByteCursor, x: SqliteExecOk): void;
350
+ type SqliteExecuteOk = {
351
+ readonly result: SqliteExecuteResult;
345
352
  };
346
- declare function readSqliteStageNotFound(bc: bare.ByteCursor): SqliteStageNotFound;
347
- declare function writeSqliteStageNotFound(bc: bare.ByteCursor, x: SqliteStageNotFound): void;
348
- type SqliteCommitFinalizeResponse = {
349
- readonly tag: "SqliteCommitFinalizeOk";
350
- readonly val: SqliteCommitFinalizeOk;
351
- } | {
352
- readonly tag: "SqliteFenceMismatch";
353
- readonly val: SqliteFenceMismatch;
353
+ declare function readSqliteExecuteOk(bc: bare.ByteCursor): SqliteExecuteOk;
354
+ declare function writeSqliteExecuteOk(bc: bare.ByteCursor, x: SqliteExecuteOk): void;
355
+ type SqliteExecuteBatchOk = {
356
+ readonly results: readonly SqliteExecuteResult[];
357
+ };
358
+ declare function readSqliteExecuteBatchOk(bc: bare.ByteCursor): SqliteExecuteBatchOk;
359
+ declare function writeSqliteExecuteBatchOk(bc: bare.ByteCursor, x: SqliteExecuteBatchOk): void;
360
+ type SqliteExecResponse = {
361
+ readonly tag: "SqliteExecOk";
362
+ readonly val: SqliteExecOk;
354
363
  } | {
355
- readonly tag: "SqliteStageNotFound";
356
- readonly val: SqliteStageNotFound;
364
+ readonly tag: "SqliteErrorResponse";
365
+ readonly val: SqliteErrorResponse;
366
+ };
367
+ declare function readSqliteExecResponse(bc: bare.ByteCursor): SqliteExecResponse;
368
+ declare function writeSqliteExecResponse(bc: bare.ByteCursor, x: SqliteExecResponse): void;
369
+ type SqliteExecuteResponse = {
370
+ readonly tag: "SqliteExecuteOk";
371
+ readonly val: SqliteExecuteOk;
357
372
  } | {
358
373
  readonly tag: "SqliteErrorResponse";
359
374
  readonly val: SqliteErrorResponse;
360
375
  };
361
- declare function readSqliteCommitFinalizeResponse(bc: bare.ByteCursor): SqliteCommitFinalizeResponse;
362
- declare function writeSqliteCommitFinalizeResponse(bc: bare.ByteCursor, x: SqliteCommitFinalizeResponse): void;
363
- type SqliteStartupData = {
364
- readonly generation: SqliteGeneration;
365
- readonly meta: SqliteMeta;
366
- readonly preloadedPages: readonly SqliteFetchedPage[];
376
+ declare function readSqliteExecuteResponse(bc: bare.ByteCursor): SqliteExecuteResponse;
377
+ declare function writeSqliteExecuteResponse(bc: bare.ByteCursor, x: SqliteExecuteResponse): void;
378
+ type SqliteExecuteBatchResponse = {
379
+ readonly tag: "SqliteExecuteBatchOk";
380
+ readonly val: SqliteExecuteBatchOk;
381
+ } | {
382
+ readonly tag: "SqliteErrorResponse";
383
+ readonly val: SqliteErrorResponse;
367
384
  };
368
- declare function readSqliteStartupData(bc: bare.ByteCursor): SqliteStartupData;
369
- declare function writeSqliteStartupData(bc: bare.ByteCursor, x: SqliteStartupData): void;
385
+ declare function readSqliteExecuteBatchResponse(bc: bare.ByteCursor): SqliteExecuteBatchResponse;
386
+ declare function writeSqliteExecuteBatchResponse(bc: bare.ByteCursor, x: SqliteExecuteBatchResponse): void;
370
387
  /**
371
388
  * Core
372
389
  */
@@ -489,7 +506,6 @@ type CommandStartActor = {
489
506
  readonly config: ActorConfig;
490
507
  readonly hibernatingRequests: readonly HibernatingRequest[];
491
508
  readonly preloadedKv: PreloadedKv | null;
492
- readonly sqliteStartupData: SqliteStartupData | null;
493
509
  };
494
510
  declare function readCommandStartActor(bc: bare.ByteCursor): CommandStartActor;
495
511
  declare function writeCommandStartActor(bc: bare.ByteCursor, x: CommandStartActor): void;
@@ -562,16 +578,41 @@ type ToEnvoyRequestStart = {
562
578
  readonly headers: ReadonlyMap<string, string>;
563
579
  readonly body: ArrayBuffer | null;
564
580
  readonly stream: boolean;
581
+ readonly maxBodySize: u64;
565
582
  };
566
583
  declare function readToEnvoyRequestStart(bc: bare.ByteCursor): ToEnvoyRequestStart;
567
584
  declare function writeToEnvoyRequestStart(bc: bare.ByteCursor, x: ToEnvoyRequestStart): void;
568
585
  type ToEnvoyRequestChunk = {
569
586
  readonly body: ArrayBuffer;
570
587
  readonly finish: boolean;
588
+ readonly maxBodySize: u64;
571
589
  };
572
590
  declare function readToEnvoyRequestChunk(bc: bare.ByteCursor): ToEnvoyRequestChunk;
573
591
  declare function writeToEnvoyRequestChunk(bc: bare.ByteCursor, x: ToEnvoyRequestChunk): void;
574
- type ToEnvoyRequestAbort = null;
592
+ declare enum HttpStreamAbortReasonKind {
593
+ Unknown = "Unknown",
594
+ ClientDisconnect = "ClientDisconnect",
595
+ HandlerError = "HandlerError",
596
+ IdleTimeout = "IdleTimeout",
597
+ Overloaded = "Overloaded",
598
+ BodyTooLarge = "BodyTooLarge",
599
+ OutOfMemory = "OutOfMemory",
600
+ Shutdown = "Shutdown",
601
+ InternalError = "InternalError"
602
+ }
603
+ declare function readHttpStreamAbortReasonKind(bc: bare.ByteCursor): HttpStreamAbortReasonKind;
604
+ declare function writeHttpStreamAbortReasonKind(bc: bare.ByteCursor, x: HttpStreamAbortReasonKind): void;
605
+ type HttpStreamAbortReason = {
606
+ readonly kind: HttpStreamAbortReasonKind;
607
+ readonly detail: string | null;
608
+ };
609
+ declare function readHttpStreamAbortReason(bc: bare.ByteCursor): HttpStreamAbortReason;
610
+ declare function writeHttpStreamAbortReason(bc: bare.ByteCursor, x: HttpStreamAbortReason): void;
611
+ type ToEnvoyRequestAbort = {
612
+ readonly reason: HttpStreamAbortReason;
613
+ };
614
+ declare function readToEnvoyRequestAbort(bc: bare.ByteCursor): ToEnvoyRequestAbort;
615
+ declare function writeToEnvoyRequestAbort(bc: bare.ByteCursor, x: ToEnvoyRequestAbort): void;
575
616
  type ToRivetResponseStart = {
576
617
  readonly status: u16;
577
618
  readonly headers: ReadonlyMap<string, string>;
@@ -586,7 +627,11 @@ type ToRivetResponseChunk = {
586
627
  };
587
628
  declare function readToRivetResponseChunk(bc: bare.ByteCursor): ToRivetResponseChunk;
588
629
  declare function writeToRivetResponseChunk(bc: bare.ByteCursor, x: ToRivetResponseChunk): void;
589
- type ToRivetResponseAbort = null;
630
+ type ToRivetResponseAbort = {
631
+ readonly reason: HttpStreamAbortReason;
632
+ };
633
+ declare function readToRivetResponseAbort(bc: bare.ByteCursor): ToRivetResponseAbort;
634
+ declare function writeToRivetResponseAbort(bc: bare.ByteCursor, x: ToRivetResponseAbort): void;
590
635
  /**
591
636
  * WebSocket
592
637
  */
@@ -758,24 +803,24 @@ type ToRivetSqliteCommitRequest = {
758
803
  };
759
804
  declare function readToRivetSqliteCommitRequest(bc: bare.ByteCursor): ToRivetSqliteCommitRequest;
760
805
  declare function writeToRivetSqliteCommitRequest(bc: bare.ByteCursor, x: ToRivetSqliteCommitRequest): void;
761
- type ToRivetSqliteCommitStageBeginRequest = {
806
+ type ToRivetSqliteExecRequest = {
762
807
  readonly requestId: u32;
763
- readonly data: SqliteCommitStageBeginRequest;
808
+ readonly data: SqliteExecRequest;
764
809
  };
765
- declare function readToRivetSqliteCommitStageBeginRequest(bc: bare.ByteCursor): ToRivetSqliteCommitStageBeginRequest;
766
- declare function writeToRivetSqliteCommitStageBeginRequest(bc: bare.ByteCursor, x: ToRivetSqliteCommitStageBeginRequest): void;
767
- type ToRivetSqliteCommitStageRequest = {
810
+ declare function readToRivetSqliteExecRequest(bc: bare.ByteCursor): ToRivetSqliteExecRequest;
811
+ declare function writeToRivetSqliteExecRequest(bc: bare.ByteCursor, x: ToRivetSqliteExecRequest): void;
812
+ type ToRivetSqliteExecuteRequest = {
768
813
  readonly requestId: u32;
769
- readonly data: SqliteCommitStageRequest;
814
+ readonly data: SqliteExecuteRequest;
770
815
  };
771
- declare function readToRivetSqliteCommitStageRequest(bc: bare.ByteCursor): ToRivetSqliteCommitStageRequest;
772
- declare function writeToRivetSqliteCommitStageRequest(bc: bare.ByteCursor, x: ToRivetSqliteCommitStageRequest): void;
773
- type ToRivetSqliteCommitFinalizeRequest = {
816
+ declare function readToRivetSqliteExecuteRequest(bc: bare.ByteCursor): ToRivetSqliteExecuteRequest;
817
+ declare function writeToRivetSqliteExecuteRequest(bc: bare.ByteCursor, x: ToRivetSqliteExecuteRequest): void;
818
+ type ToRivetSqliteExecuteBatchRequest = {
774
819
  readonly requestId: u32;
775
- readonly data: SqliteCommitFinalizeRequest;
820
+ readonly data: SqliteExecuteBatchRequest;
776
821
  };
777
- declare function readToRivetSqliteCommitFinalizeRequest(bc: bare.ByteCursor): ToRivetSqliteCommitFinalizeRequest;
778
- declare function writeToRivetSqliteCommitFinalizeRequest(bc: bare.ByteCursor, x: ToRivetSqliteCommitFinalizeRequest): void;
822
+ declare function readToRivetSqliteExecuteBatchRequest(bc: bare.ByteCursor): ToRivetSqliteExecuteBatchRequest;
823
+ declare function writeToRivetSqliteExecuteBatchRequest(bc: bare.ByteCursor, x: ToRivetSqliteExecuteBatchRequest): void;
779
824
  type ToRivet = {
780
825
  readonly tag: "ToRivetMetadata";
781
826
  readonly val: ToRivetMetadata;
@@ -804,14 +849,14 @@ type ToRivet = {
804
849
  readonly tag: "ToRivetSqliteCommitRequest";
805
850
  readonly val: ToRivetSqliteCommitRequest;
806
851
  } | {
807
- readonly tag: "ToRivetSqliteCommitStageBeginRequest";
808
- readonly val: ToRivetSqliteCommitStageBeginRequest;
852
+ readonly tag: "ToRivetSqliteExecRequest";
853
+ readonly val: ToRivetSqliteExecRequest;
809
854
  } | {
810
- readonly tag: "ToRivetSqliteCommitStageRequest";
811
- readonly val: ToRivetSqliteCommitStageRequest;
855
+ readonly tag: "ToRivetSqliteExecuteRequest";
856
+ readonly val: ToRivetSqliteExecuteRequest;
812
857
  } | {
813
- readonly tag: "ToRivetSqliteCommitFinalizeRequest";
814
- readonly val: ToRivetSqliteCommitFinalizeRequest;
858
+ readonly tag: "ToRivetSqliteExecuteBatchRequest";
859
+ readonly val: ToRivetSqliteExecuteBatchRequest;
815
860
  };
816
861
  declare function readToRivet(bc: bare.ByteCursor): ToRivet;
817
862
  declare function writeToRivet(bc: bare.ByteCursor, x: ToRivet): void;
@@ -858,24 +903,24 @@ type ToEnvoySqliteCommitResponse = {
858
903
  };
859
904
  declare function readToEnvoySqliteCommitResponse(bc: bare.ByteCursor): ToEnvoySqliteCommitResponse;
860
905
  declare function writeToEnvoySqliteCommitResponse(bc: bare.ByteCursor, x: ToEnvoySqliteCommitResponse): void;
861
- type ToEnvoySqliteCommitStageBeginResponse = {
906
+ type ToEnvoySqliteExecResponse = {
862
907
  readonly requestId: u32;
863
- readonly data: SqliteCommitStageBeginResponse;
908
+ readonly data: SqliteExecResponse;
864
909
  };
865
- declare function readToEnvoySqliteCommitStageBeginResponse(bc: bare.ByteCursor): ToEnvoySqliteCommitStageBeginResponse;
866
- declare function writeToEnvoySqliteCommitStageBeginResponse(bc: bare.ByteCursor, x: ToEnvoySqliteCommitStageBeginResponse): void;
867
- type ToEnvoySqliteCommitStageResponse = {
910
+ declare function readToEnvoySqliteExecResponse(bc: bare.ByteCursor): ToEnvoySqliteExecResponse;
911
+ declare function writeToEnvoySqliteExecResponse(bc: bare.ByteCursor, x: ToEnvoySqliteExecResponse): void;
912
+ type ToEnvoySqliteExecuteResponse = {
868
913
  readonly requestId: u32;
869
- readonly data: SqliteCommitStageResponse;
914
+ readonly data: SqliteExecuteResponse;
870
915
  };
871
- declare function readToEnvoySqliteCommitStageResponse(bc: bare.ByteCursor): ToEnvoySqliteCommitStageResponse;
872
- declare function writeToEnvoySqliteCommitStageResponse(bc: bare.ByteCursor, x: ToEnvoySqliteCommitStageResponse): void;
873
- type ToEnvoySqliteCommitFinalizeResponse = {
916
+ declare function readToEnvoySqliteExecuteResponse(bc: bare.ByteCursor): ToEnvoySqliteExecuteResponse;
917
+ declare function writeToEnvoySqliteExecuteResponse(bc: bare.ByteCursor, x: ToEnvoySqliteExecuteResponse): void;
918
+ type ToEnvoySqliteExecuteBatchResponse = {
874
919
  readonly requestId: u32;
875
- readonly data: SqliteCommitFinalizeResponse;
920
+ readonly data: SqliteExecuteBatchResponse;
876
921
  };
877
- declare function readToEnvoySqliteCommitFinalizeResponse(bc: bare.ByteCursor): ToEnvoySqliteCommitFinalizeResponse;
878
- declare function writeToEnvoySqliteCommitFinalizeResponse(bc: bare.ByteCursor, x: ToEnvoySqliteCommitFinalizeResponse): void;
922
+ declare function readToEnvoySqliteExecuteBatchResponse(bc: bare.ByteCursor): ToEnvoySqliteExecuteBatchResponse;
923
+ declare function writeToEnvoySqliteExecuteBatchResponse(bc: bare.ByteCursor, x: ToEnvoySqliteExecuteBatchResponse): void;
879
924
  type ToEnvoy = {
880
925
  readonly tag: "ToEnvoyInit";
881
926
  readonly val: ToEnvoyInit;
@@ -901,14 +946,14 @@ type ToEnvoy = {
901
946
  readonly tag: "ToEnvoySqliteCommitResponse";
902
947
  readonly val: ToEnvoySqliteCommitResponse;
903
948
  } | {
904
- readonly tag: "ToEnvoySqliteCommitStageBeginResponse";
905
- readonly val: ToEnvoySqliteCommitStageBeginResponse;
949
+ readonly tag: "ToEnvoySqliteExecResponse";
950
+ readonly val: ToEnvoySqliteExecResponse;
906
951
  } | {
907
- readonly tag: "ToEnvoySqliteCommitStageResponse";
908
- readonly val: ToEnvoySqliteCommitStageResponse;
952
+ readonly tag: "ToEnvoySqliteExecuteResponse";
953
+ readonly val: ToEnvoySqliteExecuteResponse;
909
954
  } | {
910
- readonly tag: "ToEnvoySqliteCommitFinalizeResponse";
911
- readonly val: ToEnvoySqliteCommitFinalizeResponse;
955
+ readonly tag: "ToEnvoySqliteExecuteBatchResponse";
956
+ readonly val: ToEnvoySqliteExecuteBatchResponse;
912
957
  };
913
958
  declare function readToEnvoy(bc: bare.ByteCursor): ToEnvoy;
914
959
  declare function writeToEnvoy(bc: bare.ByteCursor, x: ToEnvoy): void;
@@ -984,6 +1029,6 @@ declare function readToOutbound(bc: bare.ByteCursor): ToOutbound;
984
1029
  declare function writeToOutbound(bc: bare.ByteCursor, x: ToOutbound): void;
985
1030
  declare function encodeToOutbound(x: ToOutbound, config?: Partial<bare.Config>): Uint8Array;
986
1031
  declare function decodeToOutbound(bytes: Uint8Array): ToOutbound;
987
- declare const VERSION = 2;
1032
+ declare const VERSION = 8;
988
1033
 
989
- export { type ActorCheckpoint, type ActorCommandKeyData, type ActorConfig, type ActorIntent, type ActorIntentSleep, type ActorIntentStop, type ActorName, type ActorState, type ActorStateRunning, type ActorStateStopped, type Command, type CommandStartActor, type CommandStopActor, type CommandWrapper, type Event, type EventActorIntent, type EventActorSetAlarm, type EventActorStateUpdate, type EventWrapper, type GatewayId, type HibernatingRequest, type Id, type Json, type KvDeleteRangeRequest, type KvDeleteRequest, type KvDeleteResponse, type KvDropRequest, type KvDropResponse, type KvErrorResponse, type KvGetRequest, type KvGetResponse, type KvKey, type KvListAllQuery, type KvListPrefixQuery, type KvListQuery, type KvListRangeQuery, type KvListRequest, type KvListResponse, type KvMetadata, type KvPutRequest, type KvPutResponse, type KvRequestData, type KvResponseData, type KvValue, type MessageId, type MessageIndex, type PreloadedKv, type PreloadedKvEntry, type ProtocolMetadata, type RequestId, type SqliteCommitFinalizeOk, type SqliteCommitFinalizeRequest, type SqliteCommitFinalizeResponse, type SqliteCommitOk, type SqliteCommitRequest, type SqliteCommitResponse, type SqliteCommitStageBeginOk, type SqliteCommitStageBeginRequest, type SqliteCommitStageBeginResponse, type SqliteCommitStageOk, type SqliteCommitStageRequest, type SqliteCommitStageResponse, type SqliteCommitTooLarge, type SqliteDirtyPage, type SqliteErrorResponse, type SqliteFenceMismatch, type SqliteFetchedPage, type SqliteGeneration, type SqliteGetPagesOk, type SqliteGetPagesRequest, type SqliteGetPagesResponse, type SqliteMeta, type SqlitePageBytes, type SqlitePgno, type SqliteStageId, type SqliteStageNotFound, type SqliteStartupData, type SqliteTxid, StopActorReason, StopCode, type ToEnvoy, type ToEnvoyAckEvents, type ToEnvoyCommands, type ToEnvoyConn, type ToEnvoyConnClose, type ToEnvoyConnPing, type ToEnvoyInit, type ToEnvoyKvResponse, type ToEnvoyPing, type ToEnvoyRequestAbort, type ToEnvoyRequestChunk, type ToEnvoyRequestStart, type ToEnvoySqliteCommitFinalizeResponse, type ToEnvoySqliteCommitResponse, type ToEnvoySqliteCommitStageBeginResponse, type ToEnvoySqliteCommitStageResponse, type ToEnvoySqliteGetPagesResponse, type ToEnvoyTunnelMessage, type ToEnvoyTunnelMessageKind, type ToEnvoyWebSocketClose, type ToEnvoyWebSocketMessage, type ToEnvoyWebSocketOpen, type ToGateway, type ToGatewayPong, type ToOutbound, type ToOutboundActorStart, type ToRivet, type ToRivetAckCommands, type ToRivetEvents, type ToRivetKvRequest, type ToRivetMetadata, type ToRivetPong, type ToRivetResponseAbort, type ToRivetResponseChunk, type ToRivetResponseStart, type ToRivetSqliteCommitFinalizeRequest, type ToRivetSqliteCommitRequest, type ToRivetSqliteCommitStageBeginRequest, type ToRivetSqliteCommitStageRequest, type ToRivetSqliteGetPagesRequest, type ToRivetStopping, type ToRivetTunnelMessage, type ToRivetTunnelMessageKind, type ToRivetWebSocketClose, type ToRivetWebSocketMessage, type ToRivetWebSocketMessageAck, type ToRivetWebSocketOpen, VERSION, decodeActorCommandKeyData, decodeToEnvoy, decodeToEnvoyConn, decodeToGateway, decodeToOutbound, decodeToRivet, encodeActorCommandKeyData, encodeToEnvoy, encodeToEnvoyConn, encodeToGateway, encodeToOutbound, encodeToRivet, type i64, readActorCheckpoint, readActorCommandKeyData, readActorConfig, readActorIntent, readActorName, readActorState, readActorStateStopped, readCommand, readCommandStartActor, readCommandStopActor, readCommandWrapper, readEvent, readEventActorIntent, readEventActorSetAlarm, readEventActorStateUpdate, readEventWrapper, readGatewayId, readHibernatingRequest, readId, readJson, readKvDeleteRangeRequest, readKvDeleteRequest, readKvErrorResponse, readKvGetRequest, readKvGetResponse, readKvKey, readKvListPrefixQuery, readKvListQuery, readKvListRangeQuery, readKvListRequest, readKvListResponse, readKvMetadata, readKvPutRequest, readKvRequestData, readKvResponseData, readKvValue, readMessageId, readMessageIndex, readPreloadedKv, readPreloadedKvEntry, readProtocolMetadata, readRequestId, readSqliteCommitFinalizeOk, readSqliteCommitFinalizeRequest, readSqliteCommitFinalizeResponse, readSqliteCommitOk, readSqliteCommitRequest, readSqliteCommitResponse, readSqliteCommitStageBeginOk, readSqliteCommitStageBeginRequest, readSqliteCommitStageBeginResponse, readSqliteCommitStageOk, readSqliteCommitStageRequest, readSqliteCommitStageResponse, readSqliteCommitTooLarge, readSqliteDirtyPage, readSqliteErrorResponse, readSqliteFenceMismatch, readSqliteFetchedPage, readSqliteGeneration, readSqliteGetPagesOk, readSqliteGetPagesRequest, readSqliteGetPagesResponse, readSqliteMeta, readSqlitePageBytes, readSqlitePgno, readSqliteStageId, readSqliteStageNotFound, readSqliteStartupData, readSqliteTxid, readStopActorReason, readStopCode, readToEnvoy, readToEnvoyAckEvents, readToEnvoyCommands, readToEnvoyConn, readToEnvoyConnPing, readToEnvoyInit, readToEnvoyKvResponse, readToEnvoyPing, readToEnvoyRequestChunk, readToEnvoyRequestStart, readToEnvoySqliteCommitFinalizeResponse, readToEnvoySqliteCommitResponse, readToEnvoySqliteCommitStageBeginResponse, readToEnvoySqliteCommitStageResponse, readToEnvoySqliteGetPagesResponse, readToEnvoyTunnelMessage, readToEnvoyTunnelMessageKind, readToEnvoyWebSocketClose, readToEnvoyWebSocketMessage, readToEnvoyWebSocketOpen, readToGateway, readToGatewayPong, readToOutbound, readToOutboundActorStart, readToRivet, readToRivetAckCommands, readToRivetEvents, readToRivetKvRequest, readToRivetMetadata, readToRivetPong, readToRivetResponseChunk, readToRivetResponseStart, readToRivetSqliteCommitFinalizeRequest, readToRivetSqliteCommitRequest, readToRivetSqliteCommitStageBeginRequest, readToRivetSqliteCommitStageRequest, readToRivetSqliteGetPagesRequest, readToRivetTunnelMessage, readToRivetTunnelMessageKind, readToRivetWebSocketClose, readToRivetWebSocketMessage, readToRivetWebSocketMessageAck, readToRivetWebSocketOpen, type u16, type u32, type u64, writeActorCheckpoint, writeActorCommandKeyData, writeActorConfig, writeActorIntent, writeActorName, writeActorState, writeActorStateStopped, writeCommand, writeCommandStartActor, writeCommandStopActor, writeCommandWrapper, writeEvent, writeEventActorIntent, writeEventActorSetAlarm, writeEventActorStateUpdate, writeEventWrapper, writeGatewayId, writeHibernatingRequest, writeId, writeJson, writeKvDeleteRangeRequest, writeKvDeleteRequest, writeKvErrorResponse, writeKvGetRequest, writeKvGetResponse, writeKvKey, writeKvListPrefixQuery, writeKvListQuery, writeKvListRangeQuery, writeKvListRequest, writeKvListResponse, writeKvMetadata, writeKvPutRequest, writeKvRequestData, writeKvResponseData, writeKvValue, writeMessageId, writeMessageIndex, writePreloadedKv, writePreloadedKvEntry, writeProtocolMetadata, writeRequestId, writeSqliteCommitFinalizeOk, writeSqliteCommitFinalizeRequest, writeSqliteCommitFinalizeResponse, writeSqliteCommitOk, writeSqliteCommitRequest, writeSqliteCommitResponse, writeSqliteCommitStageBeginOk, writeSqliteCommitStageBeginRequest, writeSqliteCommitStageBeginResponse, writeSqliteCommitStageOk, writeSqliteCommitStageRequest, writeSqliteCommitStageResponse, writeSqliteCommitTooLarge, writeSqliteDirtyPage, writeSqliteErrorResponse, writeSqliteFenceMismatch, writeSqliteFetchedPage, writeSqliteGeneration, writeSqliteGetPagesOk, writeSqliteGetPagesRequest, writeSqliteGetPagesResponse, writeSqliteMeta, writeSqlitePageBytes, writeSqlitePgno, writeSqliteStageId, writeSqliteStageNotFound, writeSqliteStartupData, writeSqliteTxid, writeStopActorReason, writeStopCode, writeToEnvoy, writeToEnvoyAckEvents, writeToEnvoyCommands, writeToEnvoyConn, writeToEnvoyConnPing, writeToEnvoyInit, writeToEnvoyKvResponse, writeToEnvoyPing, writeToEnvoyRequestChunk, writeToEnvoyRequestStart, writeToEnvoySqliteCommitFinalizeResponse, writeToEnvoySqliteCommitResponse, writeToEnvoySqliteCommitStageBeginResponse, writeToEnvoySqliteCommitStageResponse, writeToEnvoySqliteGetPagesResponse, writeToEnvoyTunnelMessage, writeToEnvoyTunnelMessageKind, writeToEnvoyWebSocketClose, writeToEnvoyWebSocketMessage, writeToEnvoyWebSocketOpen, writeToGateway, writeToGatewayPong, writeToOutbound, writeToOutboundActorStart, writeToRivet, writeToRivetAckCommands, writeToRivetEvents, writeToRivetKvRequest, writeToRivetMetadata, writeToRivetPong, writeToRivetResponseChunk, writeToRivetResponseStart, writeToRivetSqliteCommitFinalizeRequest, writeToRivetSqliteCommitRequest, writeToRivetSqliteCommitStageBeginRequest, writeToRivetSqliteCommitStageRequest, writeToRivetSqliteGetPagesRequest, writeToRivetTunnelMessage, writeToRivetTunnelMessageKind, writeToRivetWebSocketClose, writeToRivetWebSocketMessage, writeToRivetWebSocketMessageAck, writeToRivetWebSocketOpen };
1034
+ export { type ActorCheckpoint, type ActorCommandKeyData, type ActorConfig, type ActorIntent, type ActorIntentSleep, type ActorIntentStop, type ActorName, type ActorState, type ActorStateRunning, type ActorStateStopped, type Command, type CommandStartActor, type CommandStopActor, type CommandWrapper, type Event, type EventActorIntent, type EventActorSetAlarm, type EventActorStateUpdate, type EventWrapper, type GatewayId, type HibernatingRequest, type HttpStreamAbortReason, HttpStreamAbortReasonKind, type Id, type Json, type KvDeleteRangeRequest, type KvDeleteRequest, type KvDeleteResponse, type KvDropRequest, type KvDropResponse, type KvErrorResponse, type KvGetRequest, type KvGetResponse, type KvKey, type KvListAllQuery, type KvListPrefixQuery, type KvListQuery, type KvListRangeQuery, type KvListRequest, type KvListResponse, type KvMetadata, type KvPutRequest, type KvPutResponse, type KvRequestData, type KvResponseData, type KvValue, type MessageId, type MessageIndex, type PreloadedKv, type PreloadedKvEntry, type ProtocolMetadata, type RequestId, type SqliteBatchStatement, type SqliteBindParam, type SqliteColumnValue, type SqliteCommitOk, type SqliteCommitRequest, type SqliteCommitResponse, type SqliteDirtyPage, type SqliteErrorResponse, type SqliteExecOk, type SqliteExecRequest, type SqliteExecResponse, type SqliteExecuteBatchOk, type SqliteExecuteBatchRequest, type SqliteExecuteBatchResponse, type SqliteExecuteOk, type SqliteExecuteRequest, type SqliteExecuteResponse, type SqliteExecuteResult, type SqliteFetchedPage, type SqliteGeneration, type SqliteGetPagesOk, type SqliteGetPagesRequest, type SqliteGetPagesResponse, type SqlitePageBytes, type SqlitePgno, type SqliteQueryResult, type SqliteValueBlob, type SqliteValueFloat, type SqliteValueInteger, type SqliteValueNull, type SqliteValueText, StopActorReason, StopCode, type ToEnvoy, type ToEnvoyAckEvents, type ToEnvoyCommands, type ToEnvoyConn, type ToEnvoyConnClose, type ToEnvoyConnPing, type ToEnvoyInit, type ToEnvoyKvResponse, type ToEnvoyPing, type ToEnvoyRequestAbort, type ToEnvoyRequestChunk, type ToEnvoyRequestStart, type ToEnvoySqliteCommitResponse, type ToEnvoySqliteExecResponse, type ToEnvoySqliteExecuteBatchResponse, type ToEnvoySqliteExecuteResponse, type ToEnvoySqliteGetPagesResponse, type ToEnvoyTunnelMessage, type ToEnvoyTunnelMessageKind, type ToEnvoyWebSocketClose, type ToEnvoyWebSocketMessage, type ToEnvoyWebSocketOpen, type ToGateway, type ToGatewayPong, type ToOutbound, type ToOutboundActorStart, type ToRivet, type ToRivetAckCommands, type ToRivetEvents, type ToRivetKvRequest, type ToRivetMetadata, type ToRivetPong, type ToRivetResponseAbort, type ToRivetResponseChunk, type ToRivetResponseStart, type ToRivetSqliteCommitRequest, type ToRivetSqliteExecRequest, type ToRivetSqliteExecuteBatchRequest, type ToRivetSqliteExecuteRequest, type ToRivetSqliteGetPagesRequest, type ToRivetStopping, type ToRivetTunnelMessage, type ToRivetTunnelMessageKind, type ToRivetWebSocketClose, type ToRivetWebSocketMessage, type ToRivetWebSocketMessageAck, type ToRivetWebSocketOpen, VERSION, decodeActorCommandKeyData, decodeToEnvoy, decodeToEnvoyConn, decodeToGateway, decodeToOutbound, decodeToRivet, encodeActorCommandKeyData, encodeToEnvoy, encodeToEnvoyConn, encodeToGateway, encodeToOutbound, encodeToRivet, type i64, readActorCheckpoint, readActorCommandKeyData, readActorConfig, readActorIntent, readActorName, readActorState, readActorStateStopped, readCommand, readCommandStartActor, readCommandStopActor, readCommandWrapper, readEvent, readEventActorIntent, readEventActorSetAlarm, readEventActorStateUpdate, readEventWrapper, readGatewayId, readHibernatingRequest, readHttpStreamAbortReason, readHttpStreamAbortReasonKind, readId, readJson, readKvDeleteRangeRequest, readKvDeleteRequest, readKvErrorResponse, readKvGetRequest, readKvGetResponse, readKvKey, readKvListPrefixQuery, readKvListQuery, readKvListRangeQuery, readKvListRequest, readKvListResponse, readKvMetadata, readKvPutRequest, readKvRequestData, readKvResponseData, readKvValue, readMessageId, readMessageIndex, readPreloadedKv, readPreloadedKvEntry, readProtocolMetadata, readRequestId, readSqliteBatchStatement, readSqliteBindParam, readSqliteColumnValue, readSqliteCommitOk, readSqliteCommitRequest, readSqliteCommitResponse, readSqliteDirtyPage, readSqliteErrorResponse, readSqliteExecOk, readSqliteExecRequest, readSqliteExecResponse, readSqliteExecuteBatchOk, readSqliteExecuteBatchRequest, readSqliteExecuteBatchResponse, readSqliteExecuteOk, readSqliteExecuteRequest, readSqliteExecuteResponse, readSqliteExecuteResult, readSqliteFetchedPage, readSqliteGeneration, readSqliteGetPagesOk, readSqliteGetPagesRequest, readSqliteGetPagesResponse, readSqlitePageBytes, readSqlitePgno, readSqliteQueryResult, readSqliteValueBlob, readSqliteValueFloat, readSqliteValueInteger, readSqliteValueText, readStopActorReason, readStopCode, readToEnvoy, readToEnvoyAckEvents, readToEnvoyCommands, readToEnvoyConn, readToEnvoyConnPing, readToEnvoyInit, readToEnvoyKvResponse, readToEnvoyPing, readToEnvoyRequestAbort, readToEnvoyRequestChunk, readToEnvoyRequestStart, readToEnvoySqliteCommitResponse, readToEnvoySqliteExecResponse, readToEnvoySqliteExecuteBatchResponse, readToEnvoySqliteExecuteResponse, readToEnvoySqliteGetPagesResponse, readToEnvoyTunnelMessage, readToEnvoyTunnelMessageKind, readToEnvoyWebSocketClose, readToEnvoyWebSocketMessage, readToEnvoyWebSocketOpen, readToGateway, readToGatewayPong, readToOutbound, readToOutboundActorStart, readToRivet, readToRivetAckCommands, readToRivetEvents, readToRivetKvRequest, readToRivetMetadata, readToRivetPong, readToRivetResponseAbort, readToRivetResponseChunk, readToRivetResponseStart, readToRivetSqliteCommitRequest, readToRivetSqliteExecRequest, readToRivetSqliteExecuteBatchRequest, readToRivetSqliteExecuteRequest, readToRivetSqliteGetPagesRequest, readToRivetTunnelMessage, readToRivetTunnelMessageKind, readToRivetWebSocketClose, readToRivetWebSocketMessage, readToRivetWebSocketMessageAck, readToRivetWebSocketOpen, type u16, type u32, type u64, writeActorCheckpoint, writeActorCommandKeyData, writeActorConfig, writeActorIntent, writeActorName, writeActorState, writeActorStateStopped, writeCommand, writeCommandStartActor, writeCommandStopActor, writeCommandWrapper, writeEvent, writeEventActorIntent, writeEventActorSetAlarm, writeEventActorStateUpdate, writeEventWrapper, writeGatewayId, writeHibernatingRequest, writeHttpStreamAbortReason, writeHttpStreamAbortReasonKind, writeId, writeJson, writeKvDeleteRangeRequest, writeKvDeleteRequest, writeKvErrorResponse, writeKvGetRequest, writeKvGetResponse, writeKvKey, writeKvListPrefixQuery, writeKvListQuery, writeKvListRangeQuery, writeKvListRequest, writeKvListResponse, writeKvMetadata, writeKvPutRequest, writeKvRequestData, writeKvResponseData, writeKvValue, writeMessageId, writeMessageIndex, writePreloadedKv, writePreloadedKvEntry, writeProtocolMetadata, writeRequestId, writeSqliteBatchStatement, writeSqliteBindParam, writeSqliteColumnValue, writeSqliteCommitOk, writeSqliteCommitRequest, writeSqliteCommitResponse, writeSqliteDirtyPage, writeSqliteErrorResponse, writeSqliteExecOk, writeSqliteExecRequest, writeSqliteExecResponse, writeSqliteExecuteBatchOk, writeSqliteExecuteBatchRequest, writeSqliteExecuteBatchResponse, writeSqliteExecuteOk, writeSqliteExecuteRequest, writeSqliteExecuteResponse, writeSqliteExecuteResult, writeSqliteFetchedPage, writeSqliteGeneration, writeSqliteGetPagesOk, writeSqliteGetPagesRequest, writeSqliteGetPagesResponse, writeSqlitePageBytes, writeSqlitePgno, writeSqliteQueryResult, writeSqliteValueBlob, writeSqliteValueFloat, writeSqliteValueInteger, writeSqliteValueText, writeStopActorReason, writeStopCode, writeToEnvoy, writeToEnvoyAckEvents, writeToEnvoyCommands, writeToEnvoyConn, writeToEnvoyConnPing, writeToEnvoyInit, writeToEnvoyKvResponse, writeToEnvoyPing, writeToEnvoyRequestAbort, writeToEnvoyRequestChunk, writeToEnvoyRequestStart, writeToEnvoySqliteCommitResponse, writeToEnvoySqliteExecResponse, writeToEnvoySqliteExecuteBatchResponse, writeToEnvoySqliteExecuteResponse, writeToEnvoySqliteGetPagesResponse, writeToEnvoyTunnelMessage, writeToEnvoyTunnelMessageKind, writeToEnvoyWebSocketClose, writeToEnvoyWebSocketMessage, writeToEnvoyWebSocketOpen, writeToGateway, writeToGatewayPong, writeToOutbound, writeToOutboundActorStart, writeToRivet, writeToRivetAckCommands, writeToRivetEvents, writeToRivetKvRequest, writeToRivetMetadata, writeToRivetPong, writeToRivetResponseAbort, writeToRivetResponseChunk, writeToRivetResponseStart, writeToRivetSqliteCommitRequest, writeToRivetSqliteExecRequest, writeToRivetSqliteExecuteBatchRequest, writeToRivetSqliteExecuteRequest, writeToRivetSqliteGetPagesRequest, writeToRivetTunnelMessage, writeToRivetTunnelMessageKind, writeToRivetWebSocketClose, writeToRivetWebSocketMessage, writeToRivetWebSocketMessageAck, writeToRivetWebSocketOpen };