rivetkit 2.0.21 → 2.0.22-rc.1

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 (86) hide show
  1. package/dist/tsup/actor/errors.cjs.map +1 -1
  2. package/dist/tsup/{chunk-2POQCWMA.js → chunk-4B25D5OW.js} +8 -8
  3. package/dist/tsup/{chunk-O4GUKGK4.cjs → chunk-5EB77IQ2.cjs} +6 -6
  4. package/dist/tsup/chunk-5EB77IQ2.cjs.map +1 -0
  5. package/dist/tsup/{chunk-ELDFBXDV.cjs → chunk-6Z3YA6QR.cjs} +2 -2
  6. package/dist/tsup/chunk-6Z3YA6QR.cjs.map +1 -0
  7. package/dist/tsup/{chunk-65SAIRRY.cjs → chunk-7FEMVD3D.cjs} +12 -12
  8. package/dist/tsup/chunk-7FEMVD3D.cjs.map +1 -0
  9. package/dist/tsup/{chunk-FDJ3AVNB.cjs → chunk-BIOPK7IB.cjs} +26 -26
  10. package/dist/tsup/chunk-BIOPK7IB.cjs.map +1 -0
  11. package/dist/tsup/{chunk-LWGCMELP.cjs → chunk-C2U6KGOG.cjs} +3 -3
  12. package/dist/tsup/chunk-C2U6KGOG.cjs.map +1 -0
  13. package/dist/tsup/{chunk-3UIGKLZW.js → chunk-EEXX243L.js} +6 -6
  14. package/dist/tsup/{chunk-Y2QONT7B.js → chunk-FETQGZN4.js} +7 -7
  15. package/dist/tsup/{chunk-FUX6U6TL.js → chunk-GJPOIJHZ.js} +2 -2
  16. package/dist/tsup/{chunk-RZZDFDB6.js → chunk-I7EJWHYV.js} +4 -4
  17. package/dist/tsup/{chunk-HUGSRAGL.js → chunk-JKNDUKFI.js} +2 -2
  18. package/dist/tsup/chunk-JKNDUKFI.js.map +1 -0
  19. package/dist/tsup/{chunk-4OINFQBR.js → chunk-JN6GPVFY.js} +3 -3
  20. package/dist/tsup/chunk-KSRXX3Z4.cjs.map +1 -1
  21. package/dist/tsup/{chunk-ZNWE3XBT.cjs → chunk-LCQDY73V.cjs} +3 -3
  22. package/dist/tsup/chunk-LCQDY73V.cjs.map +1 -0
  23. package/dist/tsup/{chunk-6G76WIWL.js → chunk-NDLOG2JH.js} +2 -2
  24. package/dist/tsup/{chunk-M5BHNJHB.cjs → chunk-OAB7ECAB.cjs} +184 -184
  25. package/dist/tsup/chunk-OAB7ECAB.cjs.map +1 -0
  26. package/dist/tsup/{chunk-JKOUXDK6.cjs → chunk-PELXJCJS.cjs} +8 -8
  27. package/dist/tsup/chunk-PELXJCJS.cjs.map +1 -0
  28. package/dist/tsup/{chunk-LMJHBF26.cjs → chunk-R6XOZKMU.cjs} +211 -211
  29. package/dist/tsup/chunk-R6XOZKMU.cjs.map +1 -0
  30. package/dist/tsup/{chunk-DYA34FHW.js → chunk-RPI45FGS.js} +2 -2
  31. package/dist/tsup/{chunk-VLR3TDHT.js → chunk-UBCUW7HD.js} +2 -2
  32. package/dist/tsup/{chunk-HN7UXCYQ.cjs → chunk-VJLGVVGP.cjs} +7 -7
  33. package/dist/tsup/chunk-VJLGVVGP.cjs.map +1 -0
  34. package/dist/tsup/{chunk-D2LS4X6E.js → chunk-ZVEDMBFT.js} +3 -3
  35. package/dist/tsup/{chunk-JTIBPF7N.cjs → chunk-ZZYMCYAY.cjs} +14 -14
  36. package/dist/tsup/chunk-ZZYMCYAY.cjs.map +1 -0
  37. package/dist/tsup/client/mod.cjs +9 -9
  38. package/dist/tsup/client/mod.cjs.map +1 -1
  39. package/dist/tsup/client/mod.js +8 -8
  40. package/dist/tsup/common/log.cjs +3 -3
  41. package/dist/tsup/common/log.cjs.map +1 -1
  42. package/dist/tsup/common/log.js +2 -2
  43. package/dist/tsup/common/websocket.cjs +4 -4
  44. package/dist/tsup/common/websocket.cjs.map +1 -1
  45. package/dist/tsup/common/websocket.js +3 -3
  46. package/dist/tsup/driver-helpers/mod.cjs +5 -5
  47. package/dist/tsup/driver-helpers/mod.cjs.map +1 -1
  48. package/dist/tsup/driver-helpers/mod.js +4 -4
  49. package/dist/tsup/driver-test-suite/mod.cjs +71 -71
  50. package/dist/tsup/driver-test-suite/mod.cjs.map +1 -1
  51. package/dist/tsup/driver-test-suite/mod.js +11 -11
  52. package/dist/tsup/inspector/mod.cjs +6 -6
  53. package/dist/tsup/inspector/mod.cjs.map +1 -1
  54. package/dist/tsup/inspector/mod.js +5 -5
  55. package/dist/tsup/mod.cjs +10 -10
  56. package/dist/tsup/mod.cjs.map +1 -1
  57. package/dist/tsup/mod.js +9 -9
  58. package/dist/tsup/test/mod.cjs +11 -11
  59. package/dist/tsup/test/mod.cjs.map +1 -1
  60. package/dist/tsup/test/mod.js +10 -10
  61. package/dist/tsup/utils.cjs +2 -2
  62. package/dist/tsup/utils.cjs.map +1 -1
  63. package/dist/tsup/utils.js +1 -1
  64. package/package.json +2 -2
  65. package/dist/tsup/chunk-65SAIRRY.cjs.map +0 -1
  66. package/dist/tsup/chunk-ELDFBXDV.cjs.map +0 -1
  67. package/dist/tsup/chunk-FDJ3AVNB.cjs.map +0 -1
  68. package/dist/tsup/chunk-HN7UXCYQ.cjs.map +0 -1
  69. package/dist/tsup/chunk-HUGSRAGL.js.map +0 -1
  70. package/dist/tsup/chunk-JKOUXDK6.cjs.map +0 -1
  71. package/dist/tsup/chunk-JTIBPF7N.cjs.map +0 -1
  72. package/dist/tsup/chunk-LMJHBF26.cjs.map +0 -1
  73. package/dist/tsup/chunk-LWGCMELP.cjs.map +0 -1
  74. package/dist/tsup/chunk-M5BHNJHB.cjs.map +0 -1
  75. package/dist/tsup/chunk-O4GUKGK4.cjs.map +0 -1
  76. package/dist/tsup/chunk-ZNWE3XBT.cjs.map +0 -1
  77. /package/dist/tsup/{chunk-2POQCWMA.js.map → chunk-4B25D5OW.js.map} +0 -0
  78. /package/dist/tsup/{chunk-3UIGKLZW.js.map → chunk-EEXX243L.js.map} +0 -0
  79. /package/dist/tsup/{chunk-Y2QONT7B.js.map → chunk-FETQGZN4.js.map} +0 -0
  80. /package/dist/tsup/{chunk-FUX6U6TL.js.map → chunk-GJPOIJHZ.js.map} +0 -0
  81. /package/dist/tsup/{chunk-RZZDFDB6.js.map → chunk-I7EJWHYV.js.map} +0 -0
  82. /package/dist/tsup/{chunk-4OINFQBR.js.map → chunk-JN6GPVFY.js.map} +0 -0
  83. /package/dist/tsup/{chunk-6G76WIWL.js.map → chunk-NDLOG2JH.js.map} +0 -0
  84. /package/dist/tsup/{chunk-DYA34FHW.js.map → chunk-RPI45FGS.js.map} +0 -0
  85. /package/dist/tsup/{chunk-VLR3TDHT.js.map → chunk-UBCUW7HD.js.map} +0 -0
  86. /package/dist/tsup/{chunk-D2LS4X6E.js.map → chunk-ZVEDMBFT.js.map} +0 -0
@@ -3,11 +3,11 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk65SAIRRYcjs = require('./chunk-65SAIRRY.cjs');
6
+ var _chunk7FEMVD3Dcjs = require('./chunk-7FEMVD3D.cjs');
7
7
 
8
8
 
9
9
 
10
- var _chunkLWGCMELPcjs = require('./chunk-LWGCMELP.cjs');
10
+ var _chunkC2U6KGOGcjs = require('./chunk-C2U6KGOG.cjs');
11
11
 
12
12
 
13
13
 
@@ -18,7 +18,7 @@ var _chunkLWGCMELPcjs = require('./chunk-LWGCMELP.cjs');
18
18
 
19
19
 
20
20
 
21
- var _chunkFDJ3AVNBcjs = require('./chunk-FDJ3AVNB.cjs');
21
+ var _chunkBIOPK7IBcjs = require('./chunk-BIOPK7IB.cjs');
22
22
 
23
23
 
24
24
 
@@ -50,12 +50,12 @@ var _chunkFDJ3AVNBcjs = require('./chunk-FDJ3AVNB.cjs');
50
50
 
51
51
 
52
52
 
53
- var _chunkJKOUXDK6cjs = require('./chunk-JKOUXDK6.cjs');
53
+ var _chunkPELXJCJScjs = require('./chunk-PELXJCJS.cjs');
54
54
 
55
55
 
56
56
 
57
57
 
58
- var _chunkHN7UXCYQcjs = require('./chunk-HN7UXCYQ.cjs');
58
+ var _chunkVJLGVVGPcjs = require('./chunk-VJLGVVGP.cjs');
59
59
 
60
60
 
61
61
 
@@ -68,7 +68,7 @@ var _chunkHN7UXCYQcjs = require('./chunk-HN7UXCYQ.cjs');
68
68
 
69
69
 
70
70
 
71
- var _chunkELDFBXDVcjs = require('./chunk-ELDFBXDV.cjs');
71
+ var _chunk6Z3YA6QRcjs = require('./chunk-6Z3YA6QR.cjs');
72
72
 
73
73
 
74
74
 
@@ -138,7 +138,7 @@ var WEBSOCKET_DRIVER = {
138
138
  var SSE_DRIVER = {
139
139
  sendMessage: (_actor, _conn, state, message) => {
140
140
  state.stream.writeSSE({
141
- data: _chunkJKOUXDK6cjs.encodeDataToString.call(void 0, message.serialize(state.encoding))
141
+ data: _chunkPELXJCJScjs.encodeDataToString.call(void 0, message.serialize(state.encoding))
142
142
  });
143
143
  },
144
144
  disconnect: async (_actor, _conn, state, _reason) => {
@@ -167,7 +167,7 @@ function getConnDriverKindFromState(state) {
167
167
  if (0 /* WEBSOCKET */ in state) return 0 /* WEBSOCKET */;
168
168
  else if (1 /* SSE */ in state) return 1 /* SSE */;
169
169
  else if (2 /* HTTP */ in state) return 2 /* HTTP */;
170
- else _chunkELDFBXDVcjs.assertUnreachable.call(void 0, state);
170
+ else _chunk6Z3YA6QRcjs.assertUnreachable.call(void 0, state);
171
171
  }
172
172
 
173
173
  // src/actor/conn.ts
@@ -175,7 +175,7 @@ function generateConnId() {
175
175
  return crypto.randomUUID();
176
176
  }
177
177
  function generateConnToken() {
178
- return _chunkJKOUXDK6cjs.generateSecureToken.call(void 0, 32);
178
+ return _chunkPELXJCJScjs.generateSecureToken.call(void 0, 32);
179
179
  }
180
180
  function generateConnSocketId() {
181
181
  return crypto.randomUUID();
@@ -318,17 +318,17 @@ var Conn = (_class = class {
318
318
  connId: this.id
319
319
  });
320
320
  this._sendMessage(
321
- new (0, _chunkJKOUXDK6cjs.CachedSerializer)(
321
+ new (0, _chunkPELXJCJScjs.CachedSerializer)(
322
322
  {
323
323
  body: {
324
324
  tag: "Event",
325
325
  val: {
326
326
  name: eventName,
327
- args: _chunkELDFBXDVcjs.bufferToArrayBuffer.call(void 0, cbor.encode(args))
327
+ args: _chunk6Z3YA6QRcjs.bufferToArrayBuffer.call(void 0, cbor.encode(args))
328
328
  }
329
329
  }
330
330
  },
331
- _chunkFDJ3AVNBcjs.TO_CLIENT_VERSIONED
331
+ _chunkBIOPK7IBcjs.TO_CLIENT_VERSIONED
332
332
  )
333
333
  );
334
334
  }
@@ -395,7 +395,7 @@ function createActorInspectorRouter() {
395
395
  "/state",
396
396
  _standardvalidator.sValidator.call(void 0,
397
397
  "json",
398
- _v42.default.object({ patch: _chunk65SAIRRYcjs.PatchSchema }).or(_v42.default.object({ replace: _v42.default.any() }))
398
+ _v42.default.object({ patch: _chunk7FEMVD3Dcjs.PatchSchema }).or(_v42.default.object({ replace: _v42.default.any() }))
399
399
  ),
400
400
  async (c) => {
401
401
  if (!await c.var.inspector.accessors.isStateEnabled()) {
@@ -445,7 +445,7 @@ function createActorInspectorRouter() {
445
445
  });
446
446
  }
447
447
  );
448
- const { promise } = _chunkELDFBXDVcjs.promiseWithResolvers.call(void 0, );
448
+ const { promise } = _chunk6Z3YA6QRcjs.promiseWithResolvers.call(void 0, );
449
449
  return promise;
450
450
  },
451
451
  async () => {
@@ -473,7 +473,7 @@ function createActorInspectorRouter() {
473
473
  });
474
474
  }
475
475
  );
476
- const { promise } = _chunkELDFBXDVcjs.promiseWithResolvers.call(void 0, );
476
+ const { promise } = _chunk6Z3YA6QRcjs.promiseWithResolvers.call(void 0, );
477
477
  return promise;
478
478
  },
479
479
  async () => {
@@ -501,7 +501,7 @@ function createActorInspectorRouter() {
501
501
  id: String(id++)
502
502
  });
503
503
  });
504
- const { promise } = _chunkELDFBXDVcjs.promiseWithResolvers.call(void 0, );
504
+ const { promise } = _chunk6Z3YA6QRcjs.promiseWithResolvers.call(void 0, );
505
505
  return promise;
506
506
  },
507
507
  async () => {
@@ -517,7 +517,7 @@ function createActorInspectorRouter() {
517
517
  }
518
518
  const db = await c.var.inspector.accessors.getDb();
519
519
  const rows = await db.execute(`PRAGMA table_list`);
520
- const tables = _chunk65SAIRRYcjs.TablesSchema.parse(rows).filter(
520
+ const tables = _chunk7FEMVD3Dcjs.TablesSchema.parse(rows).filter(
521
521
  (table) => table.schema !== "temp" && !table.name.startsWith("sqlite_")
522
522
  );
523
523
  const tablesInfo = await Promise.all(
@@ -525,14 +525,14 @@ function createActorInspectorRouter() {
525
525
  (table) => db.execute(`PRAGMA table_info(${table.name})`)
526
526
  )
527
527
  );
528
- const columns = tablesInfo.map((def) => _chunk65SAIRRYcjs.ColumnsSchema.parse(def));
528
+ const columns = tablesInfo.map((def) => _chunk7FEMVD3Dcjs.ColumnsSchema.parse(def));
529
529
  const foreignKeysList = await Promise.all(
530
530
  tables.map(
531
531
  (table) => db.execute(`PRAGMA foreign_key_list(${table.name})`)
532
532
  )
533
533
  );
534
534
  const foreignKeys = foreignKeysList.map(
535
- (def) => _chunk65SAIRRYcjs.ForeignKeysSchema.parse(def)
535
+ (def) => _chunk7FEMVD3Dcjs.ForeignKeysSchema.parse(def)
536
536
  );
537
537
  const countInfo = await Promise.all(
538
538
  tables.map(
@@ -832,8 +832,8 @@ var ActorInstance = class {
832
832
  #persist;
833
833
  /** Raw state without the proxy wrapper */
834
834
  #persistRaw;
835
- #persistWriteQueue = new (0, _chunkELDFBXDVcjs.SinglePromiseQueue)();
836
- #alarmWriteQueue = new (0, _chunkELDFBXDVcjs.SinglePromiseQueue)();
835
+ #persistWriteQueue = new (0, _chunk6Z3YA6QRcjs.SinglePromiseQueue)();
836
+ #alarmWriteQueue = new (0, _chunk6Z3YA6QRcjs.SinglePromiseQueue)();
837
837
  #lastSaveTime = 0;
838
838
  #pendingSaveTimeout;
839
839
  #vars;
@@ -901,7 +901,7 @@ var ActorInstance = class {
901
901
  );
902
902
  try {
903
903
  return await this.executeAction(
904
- new (0, _chunkFDJ3AVNBcjs.ActionContext)(this.actorContext, conn),
904
+ new (0, _chunkBIOPK7IBcjs.ActionContext)(this.actorContext, conn),
905
905
  name,
906
906
  params || []
907
907
  );
@@ -941,15 +941,15 @@ var ActorInstance = class {
941
941
  key: serializeActorKey(key),
942
942
  actorId
943
943
  };
944
- this.#log = _chunkHN7UXCYQcjs.getBaseLogger.call(void 0, ).child(
944
+ this.#log = _chunkVJLGVVGPcjs.getBaseLogger.call(void 0, ).child(
945
945
  Object.assign(
946
- _chunkHN7UXCYQcjs.getIncludeTarget.call(void 0, ) ? { target: "actor" } : {},
946
+ _chunkVJLGVVGPcjs.getIncludeTarget.call(void 0, ) ? { target: "actor" } : {},
947
947
  logParams
948
948
  )
949
949
  );
950
- this.#rLog = _chunkHN7UXCYQcjs.getBaseLogger.call(void 0, ).child(
950
+ this.#rLog = _chunkVJLGVVGPcjs.getBaseLogger.call(void 0, ).child(
951
951
  Object.assign(
952
- _chunkHN7UXCYQcjs.getIncludeTarget.call(void 0, ) ? { target: "actor-runtime" } : {},
952
+ _chunkVJLGVVGPcjs.getIncludeTarget.call(void 0, ) ? { target: "actor-runtime" } : {},
953
953
  logParams
954
954
  )
955
955
  );
@@ -969,7 +969,7 @@ var ActorInstance = class {
969
969
  this.#actorDriver.getContext(this.#actorId)
970
970
  );
971
971
  if (dataOrPromise instanceof Promise) {
972
- vars = await _chunkJKOUXDK6cjs.deadline.call(void 0,
972
+ vars = await _chunkPELXJCJScjs.deadline.call(void 0,
973
973
  dataOrPromise,
974
974
  this.#config.options.createVarsTimeout
975
975
  );
@@ -1107,7 +1107,7 @@ var ActorInstance = class {
1107
1107
  } catch (error) {
1108
1108
  this.actorContext.log.error({
1109
1109
  msg: "error while running event",
1110
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, error),
1110
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, error),
1111
1111
  event: event.eventId,
1112
1112
  timestamp: event.timestamp,
1113
1113
  action: event.kind.generic.actionName
@@ -1116,7 +1116,7 @@ var ActorInstance = class {
1116
1116
  } catch (error) {
1117
1117
  this.actorContext.log.error({
1118
1118
  msg: "internal error while running event",
1119
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, error),
1119
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, error),
1120
1120
  ...event
1121
1121
  });
1122
1122
  }
@@ -1129,7 +1129,7 @@ var ActorInstance = class {
1129
1129
  kind: {
1130
1130
  generic: {
1131
1131
  actionName: action,
1132
- args: _chunkELDFBXDVcjs.bufferToArrayBuffer.call(void 0, cbor2.encode(args))
1132
+ args: _chunk6Z3YA6QRcjs.bufferToArrayBuffer.call(void 0, cbor2.encode(args))
1133
1133
  }
1134
1134
  }
1135
1135
  });
@@ -1185,7 +1185,7 @@ var ActorInstance = class {
1185
1185
  );
1186
1186
  await this.#actorDriver.writePersistedData(
1187
1187
  this.#actorId,
1188
- _chunkFDJ3AVNBcjs.PERSISTED_ACTOR_VERSIONED.serializeWithEmbeddedVersion(
1188
+ _chunkBIOPK7IBcjs.PERSISTED_ACTOR_VERSIONED.serializeWithEmbeddedVersion(
1189
1189
  bareData
1190
1190
  )
1191
1191
  );
@@ -1211,7 +1211,7 @@ var ActorInstance = class {
1211
1211
  this.#persistRaw = target;
1212
1212
  if (target === null || typeof target !== "object") {
1213
1213
  let invalidPath = "";
1214
- if (!_chunkELDFBXDVcjs.isCborSerializable.call(void 0,
1214
+ if (!_chunk6Z3YA6QRcjs.isCborSerializable.call(void 0,
1215
1215
  target,
1216
1216
  (path) => {
1217
1217
  invalidPath = path;
@@ -1233,7 +1233,7 @@ var ActorInstance = class {
1233
1233
  return;
1234
1234
  }
1235
1235
  let invalidPath = "";
1236
- if (!_chunkELDFBXDVcjs.isCborSerializable.call(void 0,
1236
+ if (!_chunk6Z3YA6QRcjs.isCborSerializable.call(void 0,
1237
1237
  value,
1238
1238
  (invalidPathPart) => {
1239
1239
  invalidPath = invalidPathPart;
@@ -1259,7 +1259,7 @@ var ActorInstance = class {
1259
1259
  } catch (error) {
1260
1260
  this.#rLog.error({
1261
1261
  msg: "error in `_onStateChange`",
1262
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, error)
1262
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, error)
1263
1263
  });
1264
1264
  } finally {
1265
1265
  this.#isInOnStateChange = false;
@@ -1277,7 +1277,7 @@ var ActorInstance = class {
1277
1277
  persistDataBuffer !== void 0,
1278
1278
  "persist data has not been set, it should be set when initialized"
1279
1279
  );
1280
- const bareData = _chunkFDJ3AVNBcjs.PERSISTED_ACTOR_VERSIONED.deserializeWithEmbeddedVersion(
1280
+ const bareData = _chunkBIOPK7IBcjs.PERSISTED_ACTOR_VERSIONED.deserializeWithEmbeddedVersion(
1281
1281
  persistDataBuffer
1282
1282
  );
1283
1283
  const persistData = this.#convertFromBarePersisted(bareData);
@@ -1321,7 +1321,7 @@ var ActorInstance = class {
1321
1321
  const bareData2 = this.#convertToBarePersisted(persistData);
1322
1322
  await this.#actorDriver.writePersistedData(
1323
1323
  this.#actorId,
1324
- _chunkFDJ3AVNBcjs.PERSISTED_ACTOR_VERSIONED.serializeWithEmbeddedVersion(
1324
+ _chunkBIOPK7IBcjs.PERSISTED_ACTOR_VERSIONED.serializeWithEmbeddedVersion(
1325
1325
  bareData2
1326
1326
  )
1327
1327
  );
@@ -1397,14 +1397,14 @@ var ActorInstance = class {
1397
1397
  result.catch((error) => {
1398
1398
  this.#rLog.error({
1399
1399
  msg: "error in `onDisconnect`",
1400
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, error)
1400
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, error)
1401
1401
  });
1402
1402
  });
1403
1403
  }
1404
1404
  } catch (error) {
1405
1405
  this.#rLog.error({
1406
1406
  msg: "error in `onDisconnect`",
1407
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, error)
1407
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, error)
1408
1408
  });
1409
1409
  }
1410
1410
  }
@@ -1445,7 +1445,7 @@ var ActorInstance = class {
1445
1445
  this.#resetSleepTimer();
1446
1446
  this.inspector.emitter.emit("connectionUpdated");
1447
1447
  existingConn._sendMessage(
1448
- new (0, _chunkJKOUXDK6cjs.CachedSerializer)(
1448
+ new (0, _chunkPELXJCJScjs.CachedSerializer)(
1449
1449
  {
1450
1450
  body: {
1451
1451
  tag: "Init",
@@ -1456,7 +1456,7 @@ var ActorInstance = class {
1456
1456
  }
1457
1457
  }
1458
1458
  },
1459
- _chunkFDJ3AVNBcjs.TO_CLIENT_VERSIONED
1459
+ _chunkBIOPK7IBcjs.TO_CLIENT_VERSIONED
1460
1460
  )
1461
1461
  );
1462
1462
  return existingConn;
@@ -1490,7 +1490,7 @@ var ActorInstance = class {
1490
1490
  params
1491
1491
  );
1492
1492
  if (dataOrPromise instanceof Promise) {
1493
- connState = await _chunkJKOUXDK6cjs.deadline.call(void 0,
1493
+ connState = await _chunkPELXJCJScjs.deadline.call(void 0,
1494
1494
  dataOrPromise,
1495
1495
  this.#config.options.createConnStateTimeout
1496
1496
  );
@@ -1523,7 +1523,7 @@ var ActorInstance = class {
1523
1523
  try {
1524
1524
  const result = this.#config.onConnect(this.actorContext, conn);
1525
1525
  if (result instanceof Promise) {
1526
- _chunkJKOUXDK6cjs.deadline.call(void 0,
1526
+ _chunkPELXJCJScjs.deadline.call(void 0,
1527
1527
  result,
1528
1528
  this.#config.options.onConnectTimeout
1529
1529
  ).catch((error) => {
@@ -1537,14 +1537,14 @@ var ActorInstance = class {
1537
1537
  } catch (error) {
1538
1538
  this.#rLog.error({
1539
1539
  msg: "error in `onConnect`",
1540
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, error)
1540
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, error)
1541
1541
  });
1542
1542
  conn == null ? void 0 : conn.disconnect("`onConnect` failed");
1543
1543
  }
1544
1544
  }
1545
1545
  this.inspector.emitter.emit("connectionUpdated");
1546
1546
  conn._sendMessage(
1547
- new (0, _chunkJKOUXDK6cjs.CachedSerializer)(
1547
+ new (0, _chunkPELXJCJScjs.CachedSerializer)(
1548
1548
  {
1549
1549
  body: {
1550
1550
  tag: "Init",
@@ -1555,14 +1555,14 @@ var ActorInstance = class {
1555
1555
  }
1556
1556
  }
1557
1557
  },
1558
- _chunkFDJ3AVNBcjs.TO_CLIENT_VERSIONED
1558
+ _chunkBIOPK7IBcjs.TO_CLIENT_VERSIONED
1559
1559
  )
1560
1560
  );
1561
1561
  return conn;
1562
1562
  }
1563
1563
  // MARK: Messages
1564
1564
  async processMessage(message, conn) {
1565
- await _chunkFDJ3AVNBcjs.processMessage.call(void 0, message, this, conn, {
1565
+ await _chunkBIOPK7IBcjs.processMessage.call(void 0, message, this, conn, {
1566
1566
  onExecuteAction: async (ctx, name, args) => {
1567
1567
  this.inspector.emitter.emit("eventFired", {
1568
1568
  type: "action",
@@ -1738,7 +1738,7 @@ var ActorInstance = class {
1738
1738
  msg: "awaiting async action",
1739
1739
  actionName
1740
1740
  });
1741
- output = await _chunkJKOUXDK6cjs.deadline.call(void 0,
1741
+ output = await _chunkPELXJCJScjs.deadline.call(void 0,
1742
1742
  outputOrPromise,
1743
1743
  this.#config.options.actionTimeout
1744
1744
  );
@@ -1773,7 +1773,7 @@ var ActorInstance = class {
1773
1773
  } catch (error) {
1774
1774
  this.#rLog.error({
1775
1775
  msg: "error in `onBeforeActionResponse`",
1776
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, error)
1776
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, error)
1777
1777
  });
1778
1778
  }
1779
1779
  }
@@ -1785,13 +1785,13 @@ var ActorInstance = class {
1785
1785
  });
1786
1786
  return output;
1787
1787
  } catch (error) {
1788
- if (error instanceof _chunkJKOUXDK6cjs.DeadlineError) {
1788
+ if (error instanceof _chunkPELXJCJScjs.DeadlineError) {
1789
1789
  throw new (0, _chunkKSRXX3Z4cjs.ActionTimedOut)();
1790
1790
  }
1791
1791
  this.#rLog.error({
1792
1792
  msg: "action error",
1793
1793
  actionName,
1794
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, error)
1794
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, error)
1795
1795
  });
1796
1796
  throw error;
1797
1797
  } finally {
@@ -1827,7 +1827,7 @@ var ActorInstance = class {
1827
1827
  } catch (error) {
1828
1828
  this.#rLog.error({
1829
1829
  msg: "onFetch error",
1830
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, error)
1830
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, error)
1831
1831
  });
1832
1832
  throw error;
1833
1833
  } finally {
@@ -1872,7 +1872,7 @@ var ActorInstance = class {
1872
1872
  } catch (error) {
1873
1873
  this.#rLog.error({
1874
1874
  msg: "onWebSocket error",
1875
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, error)
1875
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, error)
1876
1876
  });
1877
1877
  throw error;
1878
1878
  } finally {
@@ -1967,17 +1967,17 @@ var ActorInstance = class {
1967
1967
  });
1968
1968
  const subscriptions = this.#subscriptionIndex.get(name);
1969
1969
  if (!subscriptions) return;
1970
- const toClientSerializer = new (0, _chunkJKOUXDK6cjs.CachedSerializer)(
1970
+ const toClientSerializer = new (0, _chunkPELXJCJScjs.CachedSerializer)(
1971
1971
  {
1972
1972
  body: {
1973
1973
  tag: "Event",
1974
1974
  val: {
1975
1975
  name,
1976
- args: _chunkELDFBXDVcjs.bufferToArrayBuffer.call(void 0, cbor2.encode(args))
1976
+ args: _chunk6Z3YA6QRcjs.bufferToArrayBuffer.call(void 0, cbor2.encode(args))
1977
1977
  }
1978
1978
  }
1979
1979
  },
1980
- _chunkFDJ3AVNBcjs.TO_CLIENT_VERSIONED
1980
+ _chunkBIOPK7IBcjs.TO_CLIENT_VERSIONED
1981
1981
  );
1982
1982
  for (const connection of subscriptions) {
1983
1983
  connection._sendMessage(toClientSerializer);
@@ -1998,7 +1998,7 @@ var ActorInstance = class {
1998
1998
  }).catch((error) => {
1999
1999
  this.#rLog.error({
2000
2000
  msg: "wait until promise failed",
2001
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, error)
2001
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, error)
2002
2002
  });
2003
2003
  });
2004
2004
  this.#backgroundPromises.push(nonfailablePromise);
@@ -2018,7 +2018,7 @@ var ActorInstance = class {
2018
2018
  await this.#savePersistInner();
2019
2019
  } else {
2020
2020
  if (!this.#onPersistSavedPromise) {
2021
- this.#onPersistSavedPromise = _chunkELDFBXDVcjs.promiseWithResolvers.call(void 0, );
2021
+ this.#onPersistSavedPromise = _chunk6Z3YA6QRcjs.promiseWithResolvers.call(void 0, );
2022
2022
  }
2023
2023
  this.#savePersistThrottled();
2024
2024
  await this.#onPersistSavedPromise.promise;
@@ -2054,7 +2054,7 @@ var ActorInstance = class {
2054
2054
  this._sleep().catch((error) => {
2055
2055
  this.#rLog.error({
2056
2056
  msg: "error during sleep",
2057
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, error)
2057
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, error)
2058
2058
  });
2059
2059
  });
2060
2060
  }, this.#config.options.sleepTimeout);
@@ -2110,16 +2110,16 @@ var ActorInstance = class {
2110
2110
  this.#rLog.debug({ msg: "calling onStop" });
2111
2111
  const result = this.#config.onStop(this.actorContext);
2112
2112
  if (result instanceof Promise) {
2113
- await _chunkJKOUXDK6cjs.deadline.call(void 0, result, this.#config.options.onStopTimeout);
2113
+ await _chunkPELXJCJScjs.deadline.call(void 0, result, this.#config.options.onStopTimeout);
2114
2114
  }
2115
2115
  this.#rLog.debug({ msg: "onStop completed" });
2116
2116
  } catch (error) {
2117
- if (error instanceof _chunkJKOUXDK6cjs.DeadlineError) {
2117
+ if (error instanceof _chunkPELXJCJScjs.DeadlineError) {
2118
2118
  this.#rLog.error({ msg: "onStop timed out" });
2119
2119
  } else {
2120
2120
  this.#rLog.error({
2121
2121
  msg: "error in onStop",
2122
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, error)
2122
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, error)
2123
2123
  });
2124
2124
  }
2125
2125
  }
@@ -2182,14 +2182,14 @@ var ActorInstance = class {
2182
2182
  // MARK: BARE Conversion Helpers
2183
2183
  #convertToBarePersisted(persist) {
2184
2184
  return {
2185
- input: persist.input !== void 0 ? _chunkELDFBXDVcjs.bufferToArrayBuffer.call(void 0, cbor2.encode(persist.input)) : null,
2185
+ input: persist.input !== void 0 ? _chunk6Z3YA6QRcjs.bufferToArrayBuffer.call(void 0, cbor2.encode(persist.input)) : null,
2186
2186
  hasInitialized: persist.hasInitiated,
2187
- state: _chunkELDFBXDVcjs.bufferToArrayBuffer.call(void 0, cbor2.encode(persist.state)),
2187
+ state: _chunk6Z3YA6QRcjs.bufferToArrayBuffer.call(void 0, cbor2.encode(persist.state)),
2188
2188
  connections: persist.connections.map((conn) => ({
2189
2189
  id: conn.connId,
2190
2190
  token: conn.token,
2191
- parameters: _chunkELDFBXDVcjs.bufferToArrayBuffer.call(void 0, cbor2.encode(conn.params || {})),
2192
- state: _chunkELDFBXDVcjs.bufferToArrayBuffer.call(void 0, cbor2.encode(conn.state || {})),
2191
+ parameters: _chunk6Z3YA6QRcjs.bufferToArrayBuffer.call(void 0, cbor2.encode(conn.params || {})),
2192
+ state: _chunk6Z3YA6QRcjs.bufferToArrayBuffer.call(void 0, cbor2.encode(conn.state || {})),
2193
2193
  subscriptions: conn.subscriptions.map((sub) => ({
2194
2194
  eventName: sub.eventName
2195
2195
  })),
@@ -2311,7 +2311,7 @@ async function importEventSource() {
2311
2311
  moduleName
2312
2312
  )));
2313
2313
  _EventSource = es.EventSource;
2314
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug("using eventsource from npm");
2314
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug("using eventsource from npm");
2315
2315
  } catch (err) {
2316
2316
  _EventSource = class MockEventSource {
2317
2317
  constructor() {
@@ -2320,7 +2320,7 @@ async function importEventSource() {
2320
2320
  );
2321
2321
  }
2322
2322
  };
2323
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug("using mock eventsource");
2323
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug("using mock eventsource");
2324
2324
  }
2325
2325
  return _EventSource;
2326
2326
  })();
@@ -2329,7 +2329,7 @@ async function importEventSource() {
2329
2329
 
2330
2330
  // src/client/actor-query.ts
2331
2331
  async function queryActor(c, query, managerDriver) {
2332
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({ msg: "querying actor", query: JSON.stringify(query) });
2332
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({ msg: "querying actor", query: JSON.stringify(query) });
2333
2333
  let actorOutput;
2334
2334
  if ("getForId" in query) {
2335
2335
  const output = await managerDriver.getForId({
@@ -2376,7 +2376,7 @@ async function queryActor(c, query, managerDriver) {
2376
2376
  } else {
2377
2377
  throw new (0, _chunkKSRXX3Z4cjs.InvalidRequest)("Invalid query format");
2378
2378
  }
2379
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({ msg: "actor query result", actorId: actorOutput.actorId });
2379
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({ msg: "actor query result", actorId: actorOutput.actorId });
2380
2380
  return { actorId: actorOutput.actorId };
2381
2381
  }
2382
2382
 
@@ -2426,13 +2426,13 @@ async function rawHttpFetch(driver, actorQuery, params, input, init) {
2426
2426
  }
2427
2427
  try {
2428
2428
  const { actorId } = await queryActor(void 0, actorQuery, driver);
2429
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({ msg: "found actor for raw http", actorId });
2429
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({ msg: "found actor for raw http", actorId });
2430
2430
  _invariant2.default.call(void 0, actorId, "Missing actor ID");
2431
2431
  const normalizedPath = path.startsWith("/") ? path.slice(1) : path;
2432
2432
  const url = new URL(`http://actor/raw/http/${normalizedPath}`);
2433
2433
  const proxyRequestHeaders = new Headers(mergedInit.headers);
2434
2434
  if (params) {
2435
- proxyRequestHeaders.set(_chunkJKOUXDK6cjs.HEADER_CONN_PARAMS, JSON.stringify(params));
2435
+ proxyRequestHeaders.set(_chunkPELXJCJScjs.HEADER_CONN_PARAMS, JSON.stringify(params));
2436
2436
  }
2437
2437
  const proxyRequest = new Request(url, {
2438
2438
  ...mergedInit,
@@ -2440,9 +2440,9 @@ async function rawHttpFetch(driver, actorQuery, params, input, init) {
2440
2440
  });
2441
2441
  return driver.sendRequest(actorId, proxyRequest);
2442
2442
  } catch (err) {
2443
- const { group, code, message, metadata } = _chunkELDFBXDVcjs.deconstructError.call(void 0,
2443
+ const { group, code, message, metadata } = _chunk6Z3YA6QRcjs.deconstructError.call(void 0,
2444
2444
  err,
2445
- _chunkLWGCMELPcjs.logger.call(void 0, ),
2445
+ _chunkC2U6KGOGcjs.logger.call(void 0, ),
2446
2446
  {},
2447
2447
  true
2448
2448
  );
@@ -2452,7 +2452,7 @@ async function rawHttpFetch(driver, actorQuery, params, input, init) {
2452
2452
  async function rawWebSocket(driver, actorQuery, params, path, protocols) {
2453
2453
  const encoding = "bare";
2454
2454
  const { actorId } = await queryActor(void 0, actorQuery, driver);
2455
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({ msg: "found actor for action", actorId });
2455
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({ msg: "found actor for action", actorId });
2456
2456
  _invariant2.default.call(void 0, actorId, "Missing actor ID");
2457
2457
  let pathPortion = "";
2458
2458
  let queryPortion = "";
@@ -2468,8 +2468,8 @@ async function rawWebSocket(driver, actorQuery, params, path, protocols) {
2468
2468
  pathPortion = pathPortion.slice(1);
2469
2469
  }
2470
2470
  }
2471
- const fullPath = `${_chunkJKOUXDK6cjs.PATH_RAW_WEBSOCKET_PREFIX}${pathPortion}${queryPortion}`;
2472
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
2471
+ const fullPath = `${_chunkPELXJCJScjs.PATH_RAW_WEBSOCKET_PREFIX}${pathPortion}${queryPortion}`;
2472
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
2473
2473
  msg: "opening websocket",
2474
2474
  actorId,
2475
2475
  encoding,
@@ -2495,10 +2495,10 @@ function messageLength(message) {
2495
2495
  if (typeof message === "string") {
2496
2496
  return message.length;
2497
2497
  }
2498
- _chunkELDFBXDVcjs.assertUnreachable.call(void 0, message);
2498
+ _chunk6Z3YA6QRcjs.assertUnreachable.call(void 0, message);
2499
2499
  }
2500
2500
  async function sendHttpRequest(opts) {
2501
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
2501
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
2502
2502
  msg: "sending http request",
2503
2503
  url: opts.url,
2504
2504
  encoding: opts.encoding
@@ -2507,8 +2507,8 @@ async function sendHttpRequest(opts) {
2507
2507
  let bodyData;
2508
2508
  if (opts.method === "POST" || opts.method === "PUT") {
2509
2509
  _invariant2.default.call(void 0, opts.body !== void 0, "missing body");
2510
- contentType = _chunkJKOUXDK6cjs.contentTypeForEncoding.call(void 0, opts.encoding);
2511
- bodyData = _chunkJKOUXDK6cjs.serializeWithEncoding.call(void 0,
2510
+ contentType = _chunkPELXJCJScjs.contentTypeForEncoding.call(void 0, opts.encoding);
2511
+ bodyData = _chunkPELXJCJScjs.serializeWithEncoding.call(void 0,
2512
2512
  opts.encoding,
2513
2513
  opts.body,
2514
2514
  opts.requestVersionedDataHandler
@@ -2524,7 +2524,7 @@ async function sendHttpRequest(opts) {
2524
2524
  ...contentType ? {
2525
2525
  "Content-Type": contentType
2526
2526
  } : {},
2527
- "User-Agent": _chunkELDFBXDVcjs.httpUserAgent.call(void 0, )
2527
+ "User-Agent": _chunk6Z3YA6QRcjs.httpUserAgent.call(void 0, )
2528
2528
  },
2529
2529
  body: bodyData,
2530
2530
  credentials: "include",
@@ -2540,10 +2540,10 @@ async function sendHttpRequest(opts) {
2540
2540
  const bufferResponse = await response.arrayBuffer();
2541
2541
  let responseData;
2542
2542
  try {
2543
- responseData = _chunkJKOUXDK6cjs.deserializeWithEncoding.call(void 0,
2543
+ responseData = _chunkPELXJCJScjs.deserializeWithEncoding.call(void 0,
2544
2544
  opts.encoding,
2545
2545
  new Uint8Array(bufferResponse),
2546
- _chunkFDJ3AVNBcjs.HTTP_RESPONSE_ERROR_VERSIONED
2546
+ _chunkBIOPK7IBcjs.HTTP_RESPONSE_ERROR_VERSIONED
2547
2547
  );
2548
2548
  } catch (error) {
2549
2549
  const textResponse = new TextDecoder("utf-8", {
@@ -2563,7 +2563,7 @@ ${textResponse}`
2563
2563
  }
2564
2564
  }
2565
2565
  let decodedMetadata;
2566
- if (responseData.metadata && _chunkJKOUXDK6cjs.encodingIsBinary.call(void 0, opts.encoding)) {
2566
+ if (responseData.metadata && _chunkPELXJCJScjs.encodingIsBinary.call(void 0, opts.encoding)) {
2567
2567
  decodedMetadata = cbor3.decode(
2568
2568
  new Uint8Array(responseData.metadata)
2569
2569
  );
@@ -2580,7 +2580,7 @@ ${textResponse}`
2580
2580
  }
2581
2581
  try {
2582
2582
  const buffer = new Uint8Array(await response.arrayBuffer());
2583
- return _chunkJKOUXDK6cjs.deserializeWithEncoding.call(void 0,
2583
+ return _chunkPELXJCJScjs.deserializeWithEncoding.call(void 0,
2584
2584
  opts.encoding,
2585
2585
  buffer,
2586
2586
  opts.responseVersionedDataHandler
@@ -2627,9 +2627,9 @@ var ActorHandleRaw = class {
2627
2627
  this.#actorQuery,
2628
2628
  this.#driver
2629
2629
  );
2630
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({ msg: "found actor for action", actorId });
2630
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({ msg: "found actor for action", actorId });
2631
2631
  _invariant2.default.call(void 0, actorId, "Missing actor ID");
2632
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
2632
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
2633
2633
  msg: "handling action",
2634
2634
  name: opts.name,
2635
2635
  encoding: this.#encoding
@@ -2638,11 +2638,11 @@ var ActorHandleRaw = class {
2638
2638
  url: `http://actor/action/${encodeURIComponent(opts.name)}`,
2639
2639
  method: "POST",
2640
2640
  headers: {
2641
- [_chunkJKOUXDK6cjs.HEADER_ENCODING]: this.#encoding,
2642
- ...this.#params !== void 0 ? { [_chunkJKOUXDK6cjs.HEADER_CONN_PARAMS]: JSON.stringify(this.#params) } : {}
2641
+ [_chunkPELXJCJScjs.HEADER_ENCODING]: this.#encoding,
2642
+ ...this.#params !== void 0 ? { [_chunkPELXJCJScjs.HEADER_CONN_PARAMS]: JSON.stringify(this.#params) } : {}
2643
2643
  },
2644
2644
  body: {
2645
- args: _chunkELDFBXDVcjs.bufferToArrayBuffer.call(void 0, cbor4.encode(opts.args))
2645
+ args: _chunk6Z3YA6QRcjs.bufferToArrayBuffer.call(void 0, cbor4.encode(opts.args))
2646
2646
  },
2647
2647
  encoding: this.#encoding,
2648
2648
  customFetch: this.#driver.sendRequest.bind(
@@ -2650,14 +2650,14 @@ var ActorHandleRaw = class {
2650
2650
  actorId
2651
2651
  ),
2652
2652
  signal: opts == null ? void 0 : opts.signal,
2653
- requestVersionedDataHandler: _chunkFDJ3AVNBcjs.HTTP_ACTION_REQUEST_VERSIONED,
2654
- responseVersionedDataHandler: _chunkFDJ3AVNBcjs.HTTP_ACTION_RESPONSE_VERSIONED
2653
+ requestVersionedDataHandler: _chunkBIOPK7IBcjs.HTTP_ACTION_REQUEST_VERSIONED,
2654
+ responseVersionedDataHandler: _chunkBIOPK7IBcjs.HTTP_ACTION_RESPONSE_VERSIONED
2655
2655
  });
2656
2656
  return cbor4.decode(new Uint8Array(responseData.output));
2657
2657
  } catch (err) {
2658
- const { group, code, message, metadata } = _chunkELDFBXDVcjs.deconstructError.call(void 0,
2658
+ const { group, code, message, metadata } = _chunk6Z3YA6QRcjs.deconstructError.call(void 0,
2659
2659
  err,
2660
- _chunkLWGCMELPcjs.logger.call(void 0, ),
2660
+ _chunkC2U6KGOGcjs.logger.call(void 0, ),
2661
2661
  {},
2662
2662
  true
2663
2663
  );
@@ -2671,7 +2671,7 @@ var ActorHandleRaw = class {
2671
2671
  * @returns {ActorConn<AD>} A connection to the actor.
2672
2672
  */
2673
2673
  connect() {
2674
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
2674
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
2675
2675
  msg: "establishing connection from handle",
2676
2676
  query: this.#actorQuery
2677
2677
  });
@@ -2731,7 +2731,7 @@ var ActorHandleRaw = class {
2731
2731
  } else if ("getOrCreateForKey" in this.#actorQuery) {
2732
2732
  name = this.#actorQuery.getOrCreateForKey.name;
2733
2733
  } else {
2734
- _chunkJKOUXDK6cjs.assertUnreachable.call(void 0, this.#actorQuery);
2734
+ _chunkPELXJCJScjs.assertUnreachable.call(void 0, this.#actorQuery);
2735
2735
  }
2736
2736
  const { actorId } = await queryActor(
2737
2737
  void 0,
@@ -2745,7 +2745,7 @@ var ActorHandleRaw = class {
2745
2745
  } else if ("create" in this.#actorQuery) {
2746
2746
  _invariant2.default.call(void 0, false, "actorQuery cannot be create");
2747
2747
  } else {
2748
- _chunkJKOUXDK6cjs.assertUnreachable.call(void 0, this.#actorQuery);
2748
+ _chunkPELXJCJScjs.assertUnreachable.call(void 0, this.#actorQuery);
2749
2749
  }
2750
2750
  }
2751
2751
  };
@@ -2778,7 +2778,7 @@ var ClientRaw = (_class4 = class {
2778
2778
  * @returns {ActorHandle<AD>} - A handle to the actor.
2779
2779
  */
2780
2780
  getForId(name, actorId, opts) {
2781
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
2781
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
2782
2782
  msg: "get handle to actor with id",
2783
2783
  name,
2784
2784
  actorId,
@@ -2804,7 +2804,7 @@ var ClientRaw = (_class4 = class {
2804
2804
  */
2805
2805
  get(name, key, opts) {
2806
2806
  const keyArray = typeof key === "string" ? [key] : key || [];
2807
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
2807
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
2808
2808
  msg: "get handle to actor",
2809
2809
  name,
2810
2810
  key: keyArray,
@@ -2830,7 +2830,7 @@ var ClientRaw = (_class4 = class {
2830
2830
  */
2831
2831
  getOrCreate(name, key, opts) {
2832
2832
  const keyArray = typeof key === "string" ? [key] : key || [];
2833
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
2833
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
2834
2834
  msg: "get or create handle to actor",
2835
2835
  name,
2836
2836
  key: keyArray,
@@ -2868,7 +2868,7 @@ var ClientRaw = (_class4 = class {
2868
2868
  key: keyArray
2869
2869
  }
2870
2870
  };
2871
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
2871
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
2872
2872
  msg: "create actor handle",
2873
2873
  name,
2874
2874
  key: keyArray,
@@ -2880,7 +2880,7 @@ var ClientRaw = (_class4 = class {
2880
2880
  createQuery,
2881
2881
  this.#driver
2882
2882
  );
2883
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
2883
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
2884
2884
  msg: "created actor with ID",
2885
2885
  name,
2886
2886
  key: keyArray,
@@ -2917,11 +2917,11 @@ var ClientRaw = (_class4 = class {
2917
2917
  */
2918
2918
  async dispose() {
2919
2919
  if (this.#disposed) {
2920
- _chunkLWGCMELPcjs.logger.call(void 0, ).warn({ msg: "client already disconnected" });
2920
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).warn({ msg: "client already disconnected" });
2921
2921
  return;
2922
2922
  }
2923
2923
  this.#disposed = true;
2924
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({ msg: "disposing client" });
2924
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({ msg: "disposing client" });
2925
2925
  const disposePromises = [];
2926
2926
  for (const conn of this[ACTOR_CONNS_SYMBOL].values()) {
2927
2927
  disposePromises.push(conn.dispose());
@@ -3081,10 +3081,10 @@ var ActorConnRaw = class {
3081
3081
  * @returns {Promise<Response>} - A promise that resolves to the response of the action function.
3082
3082
  */
3083
3083
  async action(opts) {
3084
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({ msg: "action", name: opts.name, args: opts.args });
3084
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({ msg: "action", name: opts.name, args: opts.args });
3085
3085
  const actionId = this.#actionIdCounter;
3086
3086
  this.#actionIdCounter += 1;
3087
- const { promise, resolve, reject } = _chunkELDFBXDVcjs.promiseWithResolvers.call(void 0, );
3087
+ const { promise, resolve, reject } = _chunk6Z3YA6QRcjs.promiseWithResolvers.call(void 0, );
3088
3088
  this.#actionsInFlight.set(actionId, {
3089
3089
  name: opts.name,
3090
3090
  resolve,
@@ -3096,7 +3096,7 @@ var ActorConnRaw = class {
3096
3096
  val: {
3097
3097
  id: BigInt(actionId),
3098
3098
  name: opts.name,
3099
- args: _chunkELDFBXDVcjs.bufferToArrayBuffer.call(void 0, cbor5.encode(opts.args))
3099
+ args: _chunk6Z3YA6QRcjs.bufferToArrayBuffer.call(void 0, cbor5.encode(opts.args))
3100
3100
  }
3101
3101
  }
3102
3102
  });
@@ -3125,10 +3125,10 @@ var ActorConnRaw = class {
3125
3125
  minTimeout: 250,
3126
3126
  maxTimeout: 3e4,
3127
3127
  onFailedAttempt: (error) => {
3128
- _chunkLWGCMELPcjs.logger.call(void 0, ).warn({
3128
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).warn({
3129
3129
  msg: "failed to reconnect",
3130
3130
  attempt: error.attemptNumber,
3131
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, error)
3131
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, error)
3132
3132
  });
3133
3133
  },
3134
3134
  // Cancel retry if aborted
@@ -3136,7 +3136,7 @@ var ActorConnRaw = class {
3136
3136
  });
3137
3137
  } catch (err) {
3138
3138
  if (err.name === "AbortError") {
3139
- _chunkLWGCMELPcjs.logger.call(void 0, ).info({ msg: "connection retry aborted" });
3139
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).info({ msg: "connection retry aborted" });
3140
3140
  return;
3141
3141
  } else {
3142
3142
  throw err;
@@ -3148,13 +3148,13 @@ var ActorConnRaw = class {
3148
3148
  try {
3149
3149
  if (this.#onOpenPromise)
3150
3150
  throw new Error("#onOpenPromise already defined");
3151
- this.#onOpenPromise = _chunkELDFBXDVcjs.promiseWithResolvers.call(void 0, );
3151
+ this.#onOpenPromise = _chunk6Z3YA6QRcjs.promiseWithResolvers.call(void 0, );
3152
3152
  if (this.#client[TRANSPORT_SYMBOL] === "websocket") {
3153
3153
  await this.#connectWebSocket();
3154
3154
  } else if (this.#client[TRANSPORT_SYMBOL] === "sse") {
3155
3155
  await this.#connectSse();
3156
3156
  } else {
3157
- _chunkELDFBXDVcjs.assertUnreachable.call(void 0, this.#client[TRANSPORT_SYMBOL]);
3157
+ _chunk6Z3YA6QRcjs.assertUnreachable.call(void 0, this.#client[TRANSPORT_SYMBOL]);
3158
3158
  }
3159
3159
  await this.#onOpenPromise.promise;
3160
3160
  } finally {
@@ -3169,13 +3169,13 @@ var ActorConnRaw = class {
3169
3169
  );
3170
3170
  const isReconnection = this.#connectionId && this.#connectionToken;
3171
3171
  if (isReconnection) {
3172
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
3172
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
3173
3173
  msg: "attempting websocket reconnection",
3174
3174
  connectionId: this.#connectionId
3175
3175
  });
3176
3176
  }
3177
3177
  const ws = await this.#driver.openWebSocket(
3178
- _chunkJKOUXDK6cjs.PATH_CONNECT_WEBSOCKET,
3178
+ _chunkPELXJCJScjs.PATH_CONNECT_WEBSOCKET,
3179
3179
  actorId,
3180
3180
  this.#encoding,
3181
3181
  this.#params,
@@ -3183,7 +3183,7 @@ var ActorConnRaw = class {
3183
3183
  isReconnection ? this.#connectionId : void 0,
3184
3184
  isReconnection ? this.#connectionToken : void 0
3185
3185
  );
3186
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
3186
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
3187
3187
  msg: "transport set to new websocket",
3188
3188
  connectionId: this.#connectionId,
3189
3189
  readyState: ws.readyState,
@@ -3191,7 +3191,7 @@ var ActorConnRaw = class {
3191
3191
  });
3192
3192
  this.#transport = { websocket: ws };
3193
3193
  ws.addEventListener("open", () => {
3194
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
3194
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
3195
3195
  msg: "client websocket open",
3196
3196
  connectionId: this.#connectionId
3197
3197
  });
@@ -3200,9 +3200,9 @@ var ActorConnRaw = class {
3200
3200
  try {
3201
3201
  await this.#handleOnMessage(ev.data);
3202
3202
  } catch (err) {
3203
- _chunkLWGCMELPcjs.logger.call(void 0, ).error({
3203
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).error({
3204
3204
  msg: "error in websocket message handler",
3205
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, err)
3205
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, err)
3206
3206
  });
3207
3207
  }
3208
3208
  });
@@ -3210,9 +3210,9 @@ var ActorConnRaw = class {
3210
3210
  try {
3211
3211
  this.#handleOnClose(ev);
3212
3212
  } catch (err) {
3213
- _chunkLWGCMELPcjs.logger.call(void 0, ).error({
3213
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).error({
3214
3214
  msg: "error in websocket close handler",
3215
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, err)
3215
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, err)
3216
3216
  });
3217
3217
  }
3218
3218
  });
@@ -3220,9 +3220,9 @@ var ActorConnRaw = class {
3220
3220
  try {
3221
3221
  this.#handleOnError();
3222
3222
  } catch (err) {
3223
- _chunkLWGCMELPcjs.logger.call(void 0, ).error({
3223
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).error({
3224
3224
  msg: "error in websocket error handler",
3225
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, err)
3225
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, err)
3226
3226
  });
3227
3227
  }
3228
3228
  });
@@ -3234,9 +3234,9 @@ var ActorConnRaw = class {
3234
3234
  this.#actorQuery,
3235
3235
  this.#driver
3236
3236
  );
3237
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({ msg: "found actor for sse connection", actorId });
3237
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({ msg: "found actor for sse connection", actorId });
3238
3238
  _invariant2.default.call(void 0, actorId, "Missing actor ID");
3239
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
3239
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
3240
3240
  msg: "opening sse connection",
3241
3241
  actorId,
3242
3242
  encoding: this.#encoding
@@ -3250,16 +3250,16 @@ var ActorConnRaw = class {
3250
3250
  ...init,
3251
3251
  headers: {
3252
3252
  ...init == null ? void 0 : init.headers,
3253
- "User-Agent": _chunkELDFBXDVcjs.httpUserAgent.call(void 0, ),
3254
- [_chunkJKOUXDK6cjs.HEADER_ENCODING]: this.#encoding,
3253
+ "User-Agent": _chunk6Z3YA6QRcjs.httpUserAgent.call(void 0, ),
3254
+ [_chunkPELXJCJScjs.HEADER_ENCODING]: this.#encoding,
3255
3255
  ...this.#params !== void 0 ? {
3256
- [_chunkJKOUXDK6cjs.HEADER_CONN_PARAMS]: JSON.stringify(
3256
+ [_chunkPELXJCJScjs.HEADER_CONN_PARAMS]: JSON.stringify(
3257
3257
  this.#params
3258
3258
  )
3259
3259
  } : {},
3260
3260
  ...isReconnection ? {
3261
- [_chunkJKOUXDK6cjs.HEADER_CONN_ID]: this.#connectionId,
3262
- [_chunkJKOUXDK6cjs.HEADER_CONN_TOKEN]: this.#connectionToken
3261
+ [_chunkPELXJCJScjs.HEADER_CONN_ID]: this.#connectionId,
3262
+ [_chunkPELXJCJScjs.HEADER_CONN_TOKEN]: this.#connectionToken
3263
3263
  } : {}
3264
3264
  }
3265
3265
  })
@@ -3277,7 +3277,7 @@ var ActorConnRaw = class {
3277
3277
  }
3278
3278
  /** Called by the onopen event from drivers. */
3279
3279
  #handleOnOpen() {
3280
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
3280
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
3281
3281
  msg: "socket open",
3282
3282
  messageQueueLength: this.#messageQueue.length,
3283
3283
  connectionId: this.#connectionId
@@ -3285,14 +3285,14 @@ var ActorConnRaw = class {
3285
3285
  if (this.#onOpenPromise) {
3286
3286
  this.#onOpenPromise.resolve(void 0);
3287
3287
  } else {
3288
- _chunkLWGCMELPcjs.logger.call(void 0, ).warn({ msg: "#onOpenPromise is undefined" });
3288
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).warn({ msg: "#onOpenPromise is undefined" });
3289
3289
  }
3290
3290
  for (const eventName of this.#eventSubscriptions.keys()) {
3291
3291
  this.#sendSubscription(eventName, true);
3292
3292
  }
3293
3293
  const queue = this.#messageQueue;
3294
3294
  this.#messageQueue = [];
3295
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
3295
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
3296
3296
  msg: "flushing message queue",
3297
3297
  queueLength: queue.length
3298
3298
  });
@@ -3302,24 +3302,24 @@ var ActorConnRaw = class {
3302
3302
  }
3303
3303
  /** Called by the onmessage event from drivers. */
3304
3304
  async #handleOnMessage(data) {
3305
- _chunkLWGCMELPcjs.logger.call(void 0, ).trace({
3305
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).trace({
3306
3306
  msg: "received message",
3307
3307
  dataType: typeof data,
3308
3308
  isBlob: data instanceof Blob,
3309
3309
  isArrayBuffer: data instanceof ArrayBuffer
3310
3310
  });
3311
3311
  const response = await this.#parseMessage(data);
3312
- _chunkLWGCMELPcjs.logger.call(void 0, ).trace(
3313
- _chunkELDFBXDVcjs.getEnvUniversal.call(void 0, "_RIVETKIT_LOG_MESSAGE") ? {
3312
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).trace(
3313
+ _chunk6Z3YA6QRcjs.getEnvUniversal.call(void 0, "_RIVETKIT_LOG_MESSAGE") ? {
3314
3314
  msg: "parsed message",
3315
- message: _chunkJKOUXDK6cjs.jsonStringifyCompat.call(void 0, response).substring(0, 100) + "..."
3315
+ message: _chunkPELXJCJScjs.jsonStringifyCompat.call(void 0, response).substring(0, 100) + "..."
3316
3316
  } : { msg: "parsed message" }
3317
3317
  );
3318
3318
  if (response.body.tag === "Init") {
3319
3319
  this.#actorId = response.body.val.actorId;
3320
3320
  this.#connectionId = response.body.val.connectionId;
3321
3321
  this.#connectionToken = response.body.val.connectionToken;
3322
- _chunkLWGCMELPcjs.logger.call(void 0, ).trace({
3322
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).trace({
3323
3323
  msg: "received init message",
3324
3324
  actorId: this.#actorId,
3325
3325
  connectionId: this.#connectionId
@@ -3329,7 +3329,7 @@ var ActorConnRaw = class {
3329
3329
  const { group, code, message, metadata, actionId } = response.body.val;
3330
3330
  if (actionId) {
3331
3331
  const inFlight = this.#takeActionInFlight(Number(actionId));
3332
- _chunkLWGCMELPcjs.logger.call(void 0, ).warn({
3332
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).warn({
3333
3333
  msg: "action error",
3334
3334
  actionId,
3335
3335
  actionName: inFlight == null ? void 0 : inFlight.name,
@@ -3342,7 +3342,7 @@ var ActorConnRaw = class {
3342
3342
  new ActorError(group, code, message, metadata)
3343
3343
  );
3344
3344
  } else {
3345
- _chunkLWGCMELPcjs.logger.call(void 0, ).warn({
3345
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).warn({
3346
3346
  msg: "connection error",
3347
3347
  group,
3348
3348
  code,
@@ -3366,25 +3366,25 @@ var ActorConnRaw = class {
3366
3366
  }
3367
3367
  } else if (response.body.tag === "ActionResponse") {
3368
3368
  const { id: actionId } = response.body.val;
3369
- _chunkLWGCMELPcjs.logger.call(void 0, ).trace({
3369
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).trace({
3370
3370
  msg: "received action response",
3371
3371
  actionId
3372
3372
  });
3373
3373
  const inFlight = this.#takeActionInFlight(Number(actionId));
3374
- _chunkLWGCMELPcjs.logger.call(void 0, ).trace({
3374
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).trace({
3375
3375
  msg: "resolving action promise",
3376
3376
  actionId,
3377
3377
  actionName: inFlight == null ? void 0 : inFlight.name
3378
3378
  });
3379
3379
  inFlight.resolve(response.body.val);
3380
3380
  } else if (response.body.tag === "Event") {
3381
- _chunkLWGCMELPcjs.logger.call(void 0, ).trace({
3381
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).trace({
3382
3382
  msg: "received event",
3383
3383
  name: response.body.val.name
3384
3384
  });
3385
3385
  this.#dispatchEvent(response.body.val);
3386
3386
  } else {
3387
- _chunkELDFBXDVcjs.assertUnreachable.call(void 0, response.body);
3387
+ _chunk6Z3YA6QRcjs.assertUnreachable.call(void 0, response.body);
3388
3388
  }
3389
3389
  }
3390
3390
  /** Called by the onclose event from drivers. */
@@ -3394,7 +3394,7 @@ var ActorConnRaw = class {
3394
3394
  }
3395
3395
  const closeEvent = event;
3396
3396
  const wasClean = closeEvent.wasClean;
3397
- _chunkLWGCMELPcjs.logger.call(void 0, ).info({
3397
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).info({
3398
3398
  msg: "socket closed",
3399
3399
  code: closeEvent.code,
3400
3400
  reason: closeEvent.reason,
@@ -3404,7 +3404,7 @@ var ActorConnRaw = class {
3404
3404
  actionsInFlight: this.#actionsInFlight.size
3405
3405
  });
3406
3406
  if (this.#actionsInFlight.size > 0) {
3407
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
3407
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
3408
3408
  msg: "rejecting in-flight actions after disconnect",
3409
3409
  count: this.#actionsInFlight.size,
3410
3410
  connectionId: this.#connectionId,
@@ -3420,7 +3420,7 @@ var ActorConnRaw = class {
3420
3420
  }
3421
3421
  this.#transport = void 0;
3422
3422
  if (!this.#disposed && !this.#connecting) {
3423
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
3423
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
3424
3424
  msg: "triggering reconnect",
3425
3425
  connectionId: this.#connectionId,
3426
3426
  messageQueueLength: this.#messageQueue.length
@@ -3431,7 +3431,7 @@ var ActorConnRaw = class {
3431
3431
  /** Called by the onerror event from drivers. */
3432
3432
  #handleOnError() {
3433
3433
  if (this.#disposed) return;
3434
- _chunkLWGCMELPcjs.logger.call(void 0, ).warn("socket error");
3434
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).warn("socket error");
3435
3435
  }
3436
3436
  #takeActionInFlight(id) {
3437
3437
  const inFlight = this.#actionsInFlight.get(id);
@@ -3461,9 +3461,9 @@ var ActorConnRaw = class {
3461
3461
  try {
3462
3462
  handler(error);
3463
3463
  } catch (err) {
3464
- _chunkLWGCMELPcjs.logger.call(void 0, ).error({
3464
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).error({
3465
3465
  msg: "error in connection error handler",
3466
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, err)
3466
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, err)
3467
3467
  });
3468
3468
  }
3469
3469
  }
@@ -3534,11 +3534,11 @@ var ActorConnRaw = class {
3534
3534
  }
3535
3535
  let queueMessage = false;
3536
3536
  if (!this.#transport) {
3537
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({ msg: "no transport, queueing message" });
3537
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({ msg: "no transport, queueing message" });
3538
3538
  queueMessage = true;
3539
3539
  } else if ("websocket" in this.#transport) {
3540
3540
  const readyState = this.#transport.websocket.readyState;
3541
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
3541
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
3542
3542
  msg: "websocket send attempt",
3543
3543
  readyState,
3544
3544
  readyStateString: readyState === 0 ? "CONNECTING" : readyState === 1 ? "OPEN" : readyState === 2 ? "CLOSING" : "CLOSED",
@@ -3548,18 +3548,18 @@ var ActorConnRaw = class {
3548
3548
  });
3549
3549
  if (readyState === 1) {
3550
3550
  try {
3551
- const messageSerialized = _chunkJKOUXDK6cjs.serializeWithEncoding.call(void 0,
3551
+ const messageSerialized = _chunkPELXJCJScjs.serializeWithEncoding.call(void 0,
3552
3552
  this.#encoding,
3553
3553
  message,
3554
- _chunkFDJ3AVNBcjs.TO_SERVER_VERSIONED
3554
+ _chunkBIOPK7IBcjs.TO_SERVER_VERSIONED
3555
3555
  );
3556
3556
  this.#transport.websocket.send(messageSerialized);
3557
- _chunkLWGCMELPcjs.logger.call(void 0, ).trace({
3557
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).trace({
3558
3558
  msg: "sent websocket message",
3559
3559
  len: messageLength(messageSerialized)
3560
3560
  });
3561
3561
  } catch (error) {
3562
- _chunkLWGCMELPcjs.logger.call(void 0, ).warn({
3562
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).warn({
3563
3563
  msg: "failed to send message, added to queue",
3564
3564
  error,
3565
3565
  connectionId: this.#connectionId
@@ -3567,7 +3567,7 @@ var ActorConnRaw = class {
3567
3567
  queueMessage = true;
3568
3568
  }
3569
3569
  } else {
3570
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
3570
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
3571
3571
  msg: "websocket not open, queueing message",
3572
3572
  readyState
3573
3573
  });
@@ -3580,11 +3580,11 @@ var ActorConnRaw = class {
3580
3580
  queueMessage = true;
3581
3581
  }
3582
3582
  } else {
3583
- _chunkELDFBXDVcjs.assertUnreachable.call(void 0, this.#transport);
3583
+ _chunk6Z3YA6QRcjs.assertUnreachable.call(void 0, this.#transport);
3584
3584
  }
3585
3585
  if (!(opts == null ? void 0 : opts.ephemeral) && queueMessage) {
3586
3586
  this.#messageQueue.push(message);
3587
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
3587
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
3588
3588
  msg: "queued connection message",
3589
3589
  queueLength: this.#messageQueue.length,
3590
3590
  connectionId: this.#connectionId,
@@ -3599,13 +3599,13 @@ var ActorConnRaw = class {
3599
3599
  throw new InternalError2(
3600
3600
  "Missing connection ID or token."
3601
3601
  );
3602
- _chunkLWGCMELPcjs.logger.call(void 0, ).trace(
3603
- _chunkELDFBXDVcjs.getEnvUniversal.call(void 0, "_RIVETKIT_LOG_MESSAGE") ? {
3602
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).trace(
3603
+ _chunk6Z3YA6QRcjs.getEnvUniversal.call(void 0, "_RIVETKIT_LOG_MESSAGE") ? {
3604
3604
  msg: "sent http message",
3605
- message: `${_chunkJKOUXDK6cjs.jsonStringifyCompat.call(void 0, message).substring(0, 100)}...`
3605
+ message: `${_chunkPELXJCJScjs.jsonStringifyCompat.call(void 0, message).substring(0, 100)}...`
3606
3606
  } : { msg: "sent http message" }
3607
3607
  );
3608
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({
3608
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({
3609
3609
  msg: "sending http message",
3610
3610
  actorId: this.#actorId,
3611
3611
  connectionId: this.#connectionId
@@ -3614,9 +3614,9 @@ var ActorConnRaw = class {
3614
3614
  url: "http://actor/connections/message",
3615
3615
  method: "POST",
3616
3616
  headers: {
3617
- [_chunkJKOUXDK6cjs.HEADER_ENCODING]: this.#encoding,
3618
- [_chunkJKOUXDK6cjs.HEADER_CONN_ID]: this.#connectionId,
3619
- [_chunkJKOUXDK6cjs.HEADER_CONN_TOKEN]: this.#connectionToken
3617
+ [_chunkPELXJCJScjs.HEADER_ENCODING]: this.#encoding,
3618
+ [_chunkPELXJCJScjs.HEADER_CONN_ID]: this.#connectionId,
3619
+ [_chunkPELXJCJScjs.HEADER_CONN_TOKEN]: this.#connectionToken
3620
3620
  },
3621
3621
  body: message,
3622
3622
  encoding: this.#encoding,
@@ -3625,11 +3625,11 @@ var ActorConnRaw = class {
3625
3625
  this.#driver,
3626
3626
  this.#actorId
3627
3627
  ),
3628
- requestVersionedDataHandler: _chunkFDJ3AVNBcjs.TO_SERVER_VERSIONED,
3629
- responseVersionedDataHandler: _chunkFDJ3AVNBcjs.TO_CLIENT_VERSIONED
3628
+ requestVersionedDataHandler: _chunkBIOPK7IBcjs.TO_SERVER_VERSIONED,
3629
+ responseVersionedDataHandler: _chunkBIOPK7IBcjs.TO_CLIENT_VERSIONED
3630
3630
  });
3631
3631
  } catch (error) {
3632
- _chunkLWGCMELPcjs.logger.call(void 0, ).warn({
3632
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).warn({
3633
3633
  msg: "failed to send message, added to queue",
3634
3634
  error
3635
3635
  });
@@ -3640,7 +3640,7 @@ var ActorConnRaw = class {
3640
3640
  }
3641
3641
  async #parseMessage(data) {
3642
3642
  _invariant2.default.call(void 0, this.#transport, "transport must be defined");
3643
- if (_chunkJKOUXDK6cjs.encodingIsBinary.call(void 0, this.#encoding) && "sse" in this.#transport) {
3643
+ if (_chunkPELXJCJScjs.encodingIsBinary.call(void 0, this.#encoding) && "sse" in this.#transport) {
3644
3644
  if (typeof data === "string") {
3645
3645
  const binaryString = atob(data);
3646
3646
  data = new Uint8Array(
@@ -3652,11 +3652,11 @@ var ActorConnRaw = class {
3652
3652
  );
3653
3653
  }
3654
3654
  }
3655
- const buffer = await _chunkFDJ3AVNBcjs.inputDataToBuffer.call(void 0, data);
3656
- return _chunkJKOUXDK6cjs.deserializeWithEncoding.call(void 0,
3655
+ const buffer = await _chunkBIOPK7IBcjs.inputDataToBuffer.call(void 0, data);
3656
+ return _chunkPELXJCJScjs.deserializeWithEncoding.call(void 0,
3657
3657
  this.#encoding,
3658
3658
  buffer,
3659
- _chunkFDJ3AVNBcjs.TO_CLIENT_VERSIONED
3659
+ _chunkBIOPK7IBcjs.TO_CLIENT_VERSIONED
3660
3660
  );
3661
3661
  }
3662
3662
  /**
@@ -3680,39 +3680,39 @@ var ActorConnRaw = class {
3680
3680
  */
3681
3681
  async dispose() {
3682
3682
  if (this.#disposed) {
3683
- _chunkLWGCMELPcjs.logger.call(void 0, ).warn({ msg: "connection already disconnected" });
3683
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).warn({ msg: "connection already disconnected" });
3684
3684
  return;
3685
3685
  }
3686
3686
  this.#disposed = true;
3687
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({ msg: "disposing actor conn" });
3687
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({ msg: "disposing actor conn" });
3688
3688
  clearInterval(this.#keepNodeAliveInterval);
3689
3689
  this.#abortController.abort();
3690
3690
  this.#client[ACTOR_CONNS_SYMBOL].delete(this);
3691
3691
  if (!this.#transport) {
3692
3692
  } else if ("websocket" in this.#transport) {
3693
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug("closing ws");
3693
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug("closing ws");
3694
3694
  const ws = this.#transport.websocket;
3695
3695
  if (ws.readyState === 2 || ws.readyState === 3) {
3696
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({ msg: "ws already closed or closing" });
3696
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({ msg: "ws already closed or closing" });
3697
3697
  } else {
3698
- const { promise, resolve } = _chunkELDFBXDVcjs.promiseWithResolvers.call(void 0, );
3698
+ const { promise, resolve } = _chunk6Z3YA6QRcjs.promiseWithResolvers.call(void 0, );
3699
3699
  ws.addEventListener("close", () => {
3700
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug({ msg: "ws closed" });
3700
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug({ msg: "ws closed" });
3701
3701
  resolve(void 0);
3702
3702
  });
3703
3703
  ws.close(1e3, "Normal closure");
3704
3704
  await promise;
3705
3705
  }
3706
3706
  } else if ("sse" in this.#transport) {
3707
- _chunkLWGCMELPcjs.logger.call(void 0, ).debug("closing sse");
3707
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).debug("closing sse");
3708
3708
  if (this.#connectionId && this.#connectionToken) {
3709
3709
  try {
3710
3710
  await sendHttpRequest({
3711
3711
  url: "http://actor/connections/close",
3712
3712
  method: "POST",
3713
3713
  headers: {
3714
- [_chunkJKOUXDK6cjs.HEADER_CONN_ID]: this.#connectionId,
3715
- [_chunkJKOUXDK6cjs.HEADER_CONN_TOKEN]: this.#connectionToken
3714
+ [_chunkPELXJCJScjs.HEADER_CONN_ID]: this.#connectionId,
3715
+ [_chunkPELXJCJScjs.HEADER_CONN_TOKEN]: this.#connectionToken
3716
3716
  },
3717
3717
  encoding: this.#encoding,
3718
3718
  skipParseResponse: true,
@@ -3720,11 +3720,11 @@ var ActorConnRaw = class {
3720
3720
  this.#driver,
3721
3721
  this.#actorId
3722
3722
  ),
3723
- requestVersionedDataHandler: _chunkFDJ3AVNBcjs.TO_SERVER_VERSIONED,
3724
- responseVersionedDataHandler: _chunkFDJ3AVNBcjs.TO_CLIENT_VERSIONED
3723
+ requestVersionedDataHandler: _chunkBIOPK7IBcjs.TO_SERVER_VERSIONED,
3724
+ responseVersionedDataHandler: _chunkBIOPK7IBcjs.TO_CLIENT_VERSIONED
3725
3725
  });
3726
3726
  } catch (error) {
3727
- _chunkLWGCMELPcjs.logger.call(void 0, ).warn({
3727
+ _chunkC2U6KGOGcjs.logger.call(void 0, ).warn({
3728
3728
  msg: "failed to send close request",
3729
3729
  error
3730
3730
  });
@@ -3732,7 +3732,7 @@ var ActorConnRaw = class {
3732
3732
  }
3733
3733
  this.#transport.sse.close();
3734
3734
  } else {
3735
- _chunkELDFBXDVcjs.assertUnreachable.call(void 0, this.#transport);
3735
+ _chunk6Z3YA6QRcjs.assertUnreachable.call(void 0, this.#transport);
3736
3736
  }
3737
3737
  this.#transport = void 0;
3738
3738
  }
@@ -3758,7 +3758,7 @@ var ActorConnRaw = class {
3758
3758
 
3759
3759
  // src/remote-manager-driver/log.ts
3760
3760
  function logger2() {
3761
- return _chunkHN7UXCYQcjs.getLogger.call(void 0, "remote-manager-driver");
3761
+ return _chunkVJLGVVGPcjs.getLogger.call(void 0, "remote-manager-driver");
3762
3762
  }
3763
3763
 
3764
3764
  // src/remote-manager-driver/api-utils.ts
@@ -3775,7 +3775,7 @@ function getEndpoint(config) {
3775
3775
  }
3776
3776
  async function apiCall(config, method, path, body) {
3777
3777
  const endpoint = getEndpoint(config);
3778
- const url = _chunkELDFBXDVcjs.combineUrlPath.call(void 0, endpoint, path, {
3778
+ const url = _chunk6Z3YA6QRcjs.combineUrlPath.call(void 0, endpoint, path, {
3779
3779
  namespace: config.namespace
3780
3780
  });
3781
3781
  logger2().debug({ msg: "making api call", method, url });
@@ -3801,7 +3801,7 @@ async function apiCall(config, method, path, body) {
3801
3801
  async function sendHttpRequestToActor(runConfig, actorId, actorRequest) {
3802
3802
  const url = new URL(actorRequest.url);
3803
3803
  const endpoint = getEndpoint(runConfig);
3804
- const guardUrl = _chunkELDFBXDVcjs.combineUrlPath.call(void 0, endpoint, url.pathname + url.search);
3804
+ const guardUrl = _chunk6Z3YA6QRcjs.combineUrlPath.call(void 0, endpoint, url.pathname + url.search);
3805
3805
  let bodyToSend = null;
3806
3806
  const guardHeaders = buildGuardHeadersForHttp(
3807
3807
  runConfig,
@@ -3838,19 +3838,19 @@ function buildGuardHeadersForHttp(runConfig, actorRequest, actorId) {
3838
3838
  for (const [key, value] of Object.entries(runConfig.headers)) {
3839
3839
  headers.set(key, value);
3840
3840
  }
3841
- headers.set(_chunkJKOUXDK6cjs.HEADER_RIVET_TARGET, "actor");
3842
- headers.set(_chunkJKOUXDK6cjs.HEADER_RIVET_ACTOR, actorId);
3841
+ headers.set(_chunkPELXJCJScjs.HEADER_RIVET_TARGET, "actor");
3842
+ headers.set(_chunkPELXJCJScjs.HEADER_RIVET_ACTOR, actorId);
3843
3843
  if (runConfig.token) {
3844
- headers.set(_chunkJKOUXDK6cjs.HEADER_RIVET_TOKEN, runConfig.token);
3844
+ headers.set(_chunkPELXJCJScjs.HEADER_RIVET_TOKEN, runConfig.token);
3845
3845
  }
3846
3846
  return headers;
3847
3847
  }
3848
3848
 
3849
3849
  // src/remote-manager-driver/actor-websocket-client.ts
3850
3850
  async function openWebSocketToActor(runConfig, path, actorId, encoding, params, connId, connToken) {
3851
- const WebSocket2 = await _chunkLWGCMELPcjs.importWebSocket.call(void 0, );
3851
+ const WebSocket2 = await _chunkC2U6KGOGcjs.importWebSocket.call(void 0, );
3852
3852
  const endpoint = getEndpoint(runConfig);
3853
- const guardUrl = _chunkELDFBXDVcjs.combineUrlPath.call(void 0, endpoint, path);
3853
+ const guardUrl = _chunk6Z3YA6QRcjs.combineUrlPath.call(void 0, endpoint, path);
3854
3854
  logger2().debug({
3855
3855
  msg: "opening websocket to actor via guard",
3856
3856
  actorId,
@@ -3874,23 +3874,23 @@ async function openWebSocketToActor(runConfig, path, actorId, encoding, params,
3874
3874
  }
3875
3875
  function buildWebSocketProtocols(runConfig, actorId, encoding, params, connId, connToken) {
3876
3876
  const protocols = [];
3877
- protocols.push(_chunkJKOUXDK6cjs.WS_PROTOCOL_STANDARD);
3878
- protocols.push(`${_chunkJKOUXDK6cjs.WS_PROTOCOL_TARGET}actor`);
3879
- protocols.push(`${_chunkJKOUXDK6cjs.WS_PROTOCOL_ACTOR}${actorId}`);
3880
- protocols.push(`${_chunkJKOUXDK6cjs.WS_PROTOCOL_ENCODING}${encoding}`);
3877
+ protocols.push(_chunkPELXJCJScjs.WS_PROTOCOL_STANDARD);
3878
+ protocols.push(`${_chunkPELXJCJScjs.WS_PROTOCOL_TARGET}actor`);
3879
+ protocols.push(`${_chunkPELXJCJScjs.WS_PROTOCOL_ACTOR}${actorId}`);
3880
+ protocols.push(`${_chunkPELXJCJScjs.WS_PROTOCOL_ENCODING}${encoding}`);
3881
3881
  if (runConfig.token) {
3882
- protocols.push(`${_chunkJKOUXDK6cjs.WS_PROTOCOL_TOKEN}${runConfig.token}`);
3882
+ protocols.push(`${_chunkPELXJCJScjs.WS_PROTOCOL_TOKEN}${runConfig.token}`);
3883
3883
  }
3884
3884
  if (params) {
3885
3885
  protocols.push(
3886
- `${_chunkJKOUXDK6cjs.WS_PROTOCOL_CONN_PARAMS}${encodeURIComponent(JSON.stringify(params))}`
3886
+ `${_chunkPELXJCJScjs.WS_PROTOCOL_CONN_PARAMS}${encodeURIComponent(JSON.stringify(params))}`
3887
3887
  );
3888
3888
  }
3889
3889
  if (connId) {
3890
- protocols.push(`${_chunkJKOUXDK6cjs.WS_PROTOCOL_CONN_ID}${connId}`);
3890
+ protocols.push(`${_chunkPELXJCJScjs.WS_PROTOCOL_CONN_ID}${connId}`);
3891
3891
  }
3892
3892
  if (connToken) {
3893
- protocols.push(`${_chunkJKOUXDK6cjs.WS_PROTOCOL_CONN_TOKEN}${connToken}`);
3893
+ protocols.push(`${_chunkPELXJCJScjs.WS_PROTOCOL_CONN_TOKEN}${connToken}`);
3894
3894
  }
3895
3895
  return protocols;
3896
3896
  }
@@ -3951,7 +3951,7 @@ async function updateRunnerConfig(config, runnerName, request) {
3951
3951
 
3952
3952
  // src/remote-manager-driver/ws-proxy.ts
3953
3953
  async function createWebSocketProxy(c, targetUrl, protocols) {
3954
- const WebSocket2 = await _chunkLWGCMELPcjs.importWebSocket.call(void 0, );
3954
+ const WebSocket2 = await _chunkC2U6KGOGcjs.importWebSocket.call(void 0, );
3955
3955
  const state = {};
3956
3956
  return {
3957
3957
  onOpen: async (event, clientWs) => {
@@ -4014,7 +4014,7 @@ async function createWebSocketProxy(c, targetUrl, protocols) {
4014
4014
  logger2().error({
4015
4015
  msg: "target websocket error",
4016
4016
  targetUrl,
4017
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, error)
4017
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, error)
4018
4018
  });
4019
4019
  closeWebSocketIfOpen(clientWs, 1011, "Target WebSocket error");
4020
4020
  });
@@ -4094,7 +4094,7 @@ var RemoteManagerDriver = class {
4094
4094
  #config;
4095
4095
  #metadataPromise;
4096
4096
  constructor(runConfig) {
4097
- if (_chunkELDFBXDVcjs.getEnvUniversal.call(void 0, "NEXT_PHASE") === "phase-production-build") {
4097
+ if (_chunk6Z3YA6QRcjs.getEnvUniversal.call(void 0, "NEXT_PHASE") === "phase-production-build") {
4098
4098
  logger2().info(
4099
4099
  "detected next.js build phase, disabling health check"
4100
4100
  );
@@ -4137,7 +4137,7 @@ var RemoteManagerDriver = class {
4137
4137
  logger2().error({
4138
4138
  msg: "health check failed, validate the Rivet endpoint is configured correctly",
4139
4139
  endpoint,
4140
- error: _chunkELDFBXDVcjs.stringifyError.call(void 0, error)
4140
+ error: _chunk6Z3YA6QRcjs.stringifyError.call(void 0, error)
4141
4141
  });
4142
4142
  }
4143
4143
  })();
@@ -4220,7 +4220,7 @@ var RemoteManagerDriver = class {
4220
4220
  name,
4221
4221
  key: serializeActorKey(key),
4222
4222
  runner_name_selector: this.#config.runnerName,
4223
- input: actorInput ? _chunkJKOUXDK6cjs.uint8ArrayToBase64.call(void 0, cbor6.encode(actorInput)) : void 0,
4223
+ input: actorInput ? _chunkPELXJCJScjs.uint8ArrayToBase64.call(void 0, cbor6.encode(actorInput)) : void 0,
4224
4224
  crash_policy: "sleep"
4225
4225
  });
4226
4226
  const actorId = actor.actor_id;
@@ -4253,7 +4253,7 @@ var RemoteManagerDriver = class {
4253
4253
  name,
4254
4254
  runner_name_selector: this.#config.runnerName,
4255
4255
  key: serializeActorKey(key),
4256
- input: input ? _chunkJKOUXDK6cjs.uint8ArrayToBase64.call(void 0, cbor6.encode(input)) : void 0,
4256
+ input: input ? _chunkPELXJCJScjs.uint8ArrayToBase64.call(void 0, cbor6.encode(input)) : void 0,
4257
4257
  crash_policy: "sleep"
4258
4258
  });
4259
4259
  const actorId = result.actor.actor_id;
@@ -4314,7 +4314,7 @@ var RemoteManagerDriver = class {
4314
4314
  const upgradeWebSocket = (_b = (_a = this.#config).getUpgradeWebSocket) == null ? void 0 : _b.call(_a);
4315
4315
  _invariant2.default.call(void 0, upgradeWebSocket, "missing getUpgradeWebSocket");
4316
4316
  const endpoint = getEndpoint(this.#config);
4317
- const guardUrl = _chunkELDFBXDVcjs.combineUrlPath.call(void 0, endpoint, path);
4317
+ const guardUrl = _chunk6Z3YA6QRcjs.combineUrlPath.call(void 0, endpoint, path);
4318
4318
  const wsGuardUrl = guardUrl.replace("http://", "ws://");
4319
4319
  logger2().debug({
4320
4320
  msg: "forwarding websocket to actor via guard",
@@ -4331,13 +4331,13 @@ var RemoteManagerDriver = class {
4331
4331
  connToken
4332
4332
  );
4333
4333
  const args = await createWebSocketProxy(c, wsGuardUrl, protocols);
4334
- return await upgradeWebSocket(() => args)(c, _chunkELDFBXDVcjs.noopNext.call(void 0, ));
4334
+ return await upgradeWebSocket(() => args)(c, _chunk6Z3YA6QRcjs.noopNext.call(void 0, ));
4335
4335
  }
4336
4336
  displayInformation() {
4337
4337
  return { name: "Remote", properties: {} };
4338
4338
  }
4339
4339
  getOrCreateInspectorAccessToken() {
4340
- return _chunkJKOUXDK6cjs.generateRandomString.call(void 0, );
4340
+ return _chunkPELXJCJScjs.generateRandomString.call(void 0, );
4341
4341
  }
4342
4342
  };
4343
4343
 
@@ -4363,4 +4363,4 @@ var RemoteManagerDriver = class {
4363
4363
 
4364
4364
 
4365
4365
  exports.generateConnId = generateConnId; exports.generateConnToken = generateConnToken; exports.generateConnSocketId = generateConnSocketId; exports.createActorInspectorRouter = createActorInspectorRouter; exports.serializeActorKey = serializeActorKey; exports.deserializeActorKey = deserializeActorKey; exports.ActorDefinition = ActorDefinition; exports.lookupInRegistry = lookupInRegistry; exports.ActorClientError = ActorClientError; exports.InternalError = InternalError2; exports.ManagerError = ManagerError; exports.MalformedResponseMessage = MalformedResponseMessage; exports.ActorError = ActorError; exports.getEndpoint = getEndpoint; exports.ActorConnRaw = ActorConnRaw; exports.ActorHandleRaw = ActorHandleRaw; exports.createClientWithDriver = createClientWithDriver; exports.getDatacenters = getDatacenters; exports.updateRunnerConfig = updateRunnerConfig; exports.RemoteManagerDriver = RemoteManagerDriver;
4366
- //# sourceMappingURL=chunk-LMJHBF26.cjs.map
4366
+ //# sourceMappingURL=chunk-R6XOZKMU.cjs.map