rivetkit 3.1.1-rc.1 → 3.1.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 (63) hide show
  1. package/dist/browser/client.js +1 -1
  2. package/dist/browser/client.js.map +1 -1
  3. package/dist/browser/inspector/client.js +1 -1
  4. package/dist/browser/inspector/client.js.map +1 -1
  5. package/dist/tsup/{chunk-57I23ITV.cjs → chunk-2X7ZRXPW.cjs} +3 -3
  6. package/dist/tsup/{chunk-57I23ITV.cjs.map → chunk-2X7ZRXPW.cjs.map} +1 -1
  7. package/dist/tsup/{chunk-WLFARJG2.cjs → chunk-62DUEJF5.cjs} +2 -2
  8. package/dist/tsup/chunk-62DUEJF5.cjs.map +1 -0
  9. package/dist/tsup/{chunk-SQ4KBKBS.cjs → chunk-AGFOGGFH.cjs} +4 -4
  10. package/dist/tsup/{chunk-SQ4KBKBS.cjs.map → chunk-AGFOGGFH.cjs.map} +1 -1
  11. package/dist/tsup/{chunk-BDAEZMRQ.js → chunk-C4U5WWM6.js} +2 -2
  12. package/dist/tsup/{chunk-HB3RUCG5.js → chunk-CSYHVROJ.js} +2 -2
  13. package/dist/tsup/chunk-CSYHVROJ.js.map +1 -0
  14. package/dist/tsup/{chunk-LZD54EPS.js → chunk-FBRWBUUV.js} +4 -4
  15. package/dist/tsup/{chunk-QBM464NJ.js → chunk-HPVDAB3Q.js} +2 -2
  16. package/dist/tsup/{chunk-5HIBMO55.js → chunk-HXFGYYOA.js} +3 -3
  17. package/dist/tsup/{chunk-XA44EGFZ.cjs → chunk-IROHORSE.cjs} +10 -10
  18. package/dist/tsup/{chunk-XA44EGFZ.cjs.map → chunk-IROHORSE.cjs.map} +1 -1
  19. package/dist/tsup/{chunk-ZIIQIZLQ.js → chunk-IULKFTST.js} +3 -3
  20. package/dist/tsup/{chunk-2IGAVNUL.js → chunk-JWREVWQL.js} +2 -2
  21. package/dist/tsup/{chunk-4TUVJYKQ.cjs → chunk-KTZWFOBF.cjs} +7 -7
  22. package/dist/tsup/{chunk-4TUVJYKQ.cjs.map → chunk-KTZWFOBF.cjs.map} +1 -1
  23. package/dist/tsup/{chunk-XOU5GIVI.cjs → chunk-O4QOORVK.cjs} +3 -3
  24. package/dist/tsup/{chunk-XOU5GIVI.cjs.map → chunk-O4QOORVK.cjs.map} +1 -1
  25. package/dist/tsup/{chunk-TSSTKUHB.js → chunk-RROV4JN4.js} +2 -2
  26. package/dist/tsup/{chunk-E3FNI5G7.cjs → chunk-SPSBNPLC.cjs} +3 -3
  27. package/dist/tsup/{chunk-E3FNI5G7.cjs.map → chunk-SPSBNPLC.cjs.map} +1 -1
  28. package/dist/tsup/{chunk-6GQM5TX3.cjs → chunk-ZZQFX3FC.cjs} +146 -146
  29. package/dist/tsup/{chunk-6GQM5TX3.cjs.map → chunk-ZZQFX3FC.cjs.map} +1 -1
  30. package/dist/tsup/client/mod.cjs +5 -5
  31. package/dist/tsup/client/mod.js +4 -4
  32. package/dist/tsup/common/log.cjs +2 -2
  33. package/dist/tsup/common/log.js +1 -1
  34. package/dist/tsup/common/websocket.cjs +3 -3
  35. package/dist/tsup/common/websocket.js +2 -2
  36. package/dist/tsup/db/drizzle.cjs +2 -2
  37. package/dist/tsup/db/drizzle.js +1 -1
  38. package/dist/tsup/db/mod.cjs +3 -3
  39. package/dist/tsup/db/mod.js +2 -2
  40. package/dist/tsup/inspector/mod.cjs +5 -5
  41. package/dist/tsup/inspector/mod.js +4 -4
  42. package/dist/tsup/inspector/workflow.cjs +4 -4
  43. package/dist/tsup/inspector/workflow.js +3 -3
  44. package/dist/tsup/mod.cjs +87 -87
  45. package/dist/tsup/mod.cjs.map +1 -1
  46. package/dist/tsup/mod.js +7 -7
  47. package/dist/tsup/test/mod.cjs +6 -6
  48. package/dist/tsup/test/mod.js +4 -4
  49. package/dist/tsup/utils.cjs +2 -2
  50. package/dist/tsup/utils.js +1 -1
  51. package/dist/tsup/workflow/mod.cjs +7 -7
  52. package/dist/tsup/workflow/mod.cjs.map +1 -1
  53. package/dist/tsup/workflow/mod.js +4 -4
  54. package/package.json +9 -9
  55. package/dist/tsup/chunk-HB3RUCG5.js.map +0 -1
  56. package/dist/tsup/chunk-WLFARJG2.cjs.map +0 -1
  57. /package/dist/tsup/{chunk-BDAEZMRQ.js.map → chunk-C4U5WWM6.js.map} +0 -0
  58. /package/dist/tsup/{chunk-LZD54EPS.js.map → chunk-FBRWBUUV.js.map} +0 -0
  59. /package/dist/tsup/{chunk-QBM464NJ.js.map → chunk-HPVDAB3Q.js.map} +0 -0
  60. /package/dist/tsup/{chunk-5HIBMO55.js.map → chunk-HXFGYYOA.js.map} +0 -0
  61. /package/dist/tsup/{chunk-ZIIQIZLQ.js.map → chunk-IULKFTST.js.map} +0 -0
  62. /package/dist/tsup/{chunk-2IGAVNUL.js.map → chunk-JWREVWQL.js.map} +0 -0
  63. /package/dist/tsup/{chunk-TSSTKUHB.js.map → chunk-RROV4JN4.js.map} +0 -0
@@ -6,7 +6,7 @@ var _chunkRTWH3AX3cjs = require('./chunk-RTWH3AX3.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkXOU5GIVIcjs = require('./chunk-XOU5GIVI.cjs');
9
+ var _chunkO4QOORVKcjs = require('./chunk-O4QOORVK.cjs');
10
10
 
11
11
 
12
12
  var _chunkKVFIONKQcjs = require('./chunk-KVFIONKQ.cjs');
@@ -36,7 +36,7 @@ var _chunkKVFIONKQcjs = require('./chunk-KVFIONKQ.cjs');
36
36
 
37
37
 
38
38
 
39
- var _chunkWLFARJG2cjs = require('./chunk-WLFARJG2.cjs');
39
+ var _chunk62DUEJF5cjs = require('./chunk-62DUEJF5.cjs');
40
40
 
41
41
 
42
42
 
@@ -2139,7 +2139,7 @@ async function checkForSchedulingError(group, code, actorId, query, driver, rayI
2139
2139
  try {
2140
2140
  const actor = await driver.getForId({ name, actorId });
2141
2141
  if (actor == null ? void 0 : actor.error) {
2142
- _chunkXOU5GIVIcjs.logger.call(void 0, ).info({
2142
+ _chunkO4QOORVKcjs.logger.call(void 0, ).info({
2143
2143
  msg: "found actor scheduling error",
2144
2144
  actorId,
2145
2145
  error: actor.error
@@ -2153,10 +2153,10 @@ async function checkForSchedulingError(group, code, actorId, query, driver, rayI
2153
2153
  );
2154
2154
  }
2155
2155
  } catch (err) {
2156
- _chunkXOU5GIVIcjs.logger.call(void 0, ).warn({
2156
+ _chunkO4QOORVKcjs.logger.call(void 0, ).warn({
2157
2157
  msg: "failed to fetch actor details for scheduling error check",
2158
2158
  actorId,
2159
- error: _chunkWLFARJG2cjs.stringifyError.call(void 0, err)
2159
+ error: _chunk62DUEJF5cjs.stringifyError.call(void 0, err)
2160
2160
  });
2161
2161
  }
2162
2162
  return null;
@@ -2557,7 +2557,7 @@ function parseWebSocketCloseReason(reason) {
2557
2557
  const [mainPart, suffix] = reason.split("#");
2558
2558
  const [group, code] = mainPart.split(".");
2559
2559
  if (!group || !code) {
2560
- _chunkXOU5GIVIcjs.logger.call(void 0, ).warn({ msg: "failed to parse close reason", reason });
2560
+ _chunkO4QOORVKcjs.logger.call(void 0, ).warn({ msg: "failed to parse close reason", reason });
2561
2561
  return void 0;
2562
2562
  }
2563
2563
  const retryAfter = suffix == null ? void 0 : suffix.match(RETRY_AFTER_SUFFIX);
@@ -2583,11 +2583,11 @@ function messageLength(message) {
2583
2583
  if (typeof message === "string") {
2584
2584
  return message.length;
2585
2585
  }
2586
- _chunkWLFARJG2cjs.assertUnreachable.call(void 0, message);
2586
+ _chunk62DUEJF5cjs.assertUnreachable.call(void 0, message);
2587
2587
  }
2588
2588
  async function sendHttpRequest(opts) {
2589
2589
  var _a, _b, _c;
2590
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
2590
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
2591
2591
  msg: "sending http request",
2592
2592
  url: opts.url,
2593
2593
  encoding: opts.encoding
@@ -2596,8 +2596,8 @@ async function sendHttpRequest(opts) {
2596
2596
  let bodyData;
2597
2597
  if (opts.method === "POST" || opts.method === "PUT") {
2598
2598
  _invariant2.default.call(void 0, opts.body !== void 0, "missing body");
2599
- contentType = _chunkWLFARJG2cjs.contentTypeForEncoding.call(void 0, opts.encoding);
2600
- bodyData = _chunkWLFARJG2cjs.serializeWithEncoding.call(void 0,
2599
+ contentType = _chunk62DUEJF5cjs.contentTypeForEncoding.call(void 0, opts.encoding);
2600
+ bodyData = _chunk62DUEJF5cjs.serializeWithEncoding.call(void 0,
2601
2601
  opts.encoding,
2602
2602
  opts.body,
2603
2603
  opts.requestVersionedDataHandler,
@@ -2617,7 +2617,7 @@ async function sendHttpRequest(opts) {
2617
2617
  ...contentType ? {
2618
2618
  "Content-Type": contentType
2619
2619
  } : {},
2620
- "User-Agent": _chunkWLFARJG2cjs.httpUserAgent.call(void 0, )
2620
+ "User-Agent": _chunk62DUEJF5cjs.httpUserAgent.call(void 0, )
2621
2621
  },
2622
2622
  body: bodyData,
2623
2623
  credentials: "include",
@@ -2638,7 +2638,7 @@ async function sendHttpRequest(opts) {
2638
2638
  const rayId = response.headers.get("x-rivet-ray-id");
2639
2639
  const encoding = (contentType2 == null ? void 0 : contentType2.includes("application/json")) ? "json" : opts.encoding;
2640
2640
  try {
2641
- const responseData = _chunkWLFARJG2cjs.deserializeWithEncoding.call(void 0,
2641
+ const responseData = _chunk62DUEJF5cjs.deserializeWithEncoding.call(void 0,
2642
2642
  encoding,
2643
2643
  new Uint8Array(bufferResponse),
2644
2644
  HTTP_RESPONSE_ERROR_VERSIONED,
@@ -2656,7 +2656,7 @@ async function sendHttpRequest(opts) {
2656
2656
  group: bare5.group,
2657
2657
  code: bare5.code,
2658
2658
  message: bare5.message,
2659
- metadata: bare5.metadata ? _chunkWLFARJG2cjs.decodeCborCompat.call(void 0, new Uint8Array(bare5.metadata)) : void 0,
2659
+ metadata: bare5.metadata ? _chunk62DUEJF5cjs.decodeCborCompat.call(void 0, new Uint8Array(bare5.metadata)) : void 0,
2660
2660
  actor: bare5.actor ? {
2661
2661
  actorId: bare5.actor.actorId,
2662
2662
  generation: Number(bare5.actor.generation),
@@ -2664,7 +2664,7 @@ async function sendHttpRequest(opts) {
2664
2664
  } : void 0
2665
2665
  })
2666
2666
  );
2667
- _chunkXOU5GIVIcjs.logger.call(void 0, ).warn({
2667
+ _chunkO4QOORVKcjs.logger.call(void 0, ).warn({
2668
2668
  msg: "http error response",
2669
2669
  group: responseData.group,
2670
2670
  code: responseData.code,
@@ -2711,7 +2711,7 @@ ${textResponse}`
2711
2711
  }
2712
2712
  try {
2713
2713
  const buffer = new Uint8Array(await response.arrayBuffer());
2714
- return _chunkWLFARJG2cjs.deserializeWithEncoding.call(void 0,
2714
+ return _chunk62DUEJF5cjs.deserializeWithEncoding.call(void 0,
2715
2715
  opts.encoding,
2716
2716
  buffer,
2717
2717
  opts.responseVersionedDataHandler,
@@ -2759,8 +2759,8 @@ function createQueueSender(senderOptions) {
2759
2759
  }),
2760
2760
  requestToBare: (value) => ({
2761
2761
  name: _nullishCoalesce(value.name, () => ( name)),
2762
- body: _chunkWLFARJG2cjs.bufferToArrayBuffer.call(void 0,
2763
- _chunkWLFARJG2cjs.encodeCborCompat.call(void 0, value.body)
2762
+ body: _chunk62DUEJF5cjs.bufferToArrayBuffer.call(void 0,
2763
+ _chunk62DUEJF5cjs.encodeCborCompat.call(void 0, value.body)
2764
2764
  ),
2765
2765
  wait: _nullishCoalesce(value.wait, () => ( false)),
2766
2766
  timeout: value.timeout !== void 0 ? BigInt(value.timeout) : null
@@ -2780,7 +2780,7 @@ function createQueueSender(senderOptions) {
2780
2780
  }
2781
2781
  return {
2782
2782
  status: bare5.status,
2783
- response: _chunkWLFARJG2cjs.decodeCborCompat.call(void 0, new Uint8Array(bare5.response))
2783
+ response: _chunk62DUEJF5cjs.decodeCborCompat.call(void 0, new Uint8Array(bare5.response))
2784
2784
  };
2785
2785
  }
2786
2786
  });
@@ -2847,7 +2847,7 @@ async function rawHttpFetch(driver, target, params, input, init, options = {}, t
2847
2847
  throw new TypeError("Invalid input type for fetch");
2848
2848
  }
2849
2849
  try {
2850
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug(
2850
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug(
2851
2851
  "directId" in target ? {
2852
2852
  msg: "sending raw http request to actor",
2853
2853
  actorId: target.directId
@@ -2882,7 +2882,7 @@ async function rawHttpFetch(driver, target, params, input, init, options = {}, t
2882
2882
  actor,
2883
2883
  public: isPublic,
2884
2884
  statusCode
2885
- } = _chunkWLFARJG2cjs.deconstructError.call(void 0, err, true);
2885
+ } = _chunk62DUEJF5cjs.deconstructError.call(void 0, err, true);
2886
2886
  throw new (0, _chunkMGI2VVF6cjs.RivetError)(group, code, message, {
2887
2887
  public: isPublic,
2888
2888
  statusCode,
@@ -2909,7 +2909,7 @@ async function rawWebSocket(driver, target, params, path, _protocols, options =
2909
2909
  }
2910
2910
  }
2911
2911
  const fullPath = `${PATH_WEBSOCKET_PREFIX}${pathPortion}${queryPortion}`;
2912
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
2912
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
2913
2913
  msg: "opening websocket",
2914
2914
  target,
2915
2915
  encoding,
@@ -3058,7 +3058,7 @@ var ActorHandleRaw = class {
3058
3058
  actor,
3059
3059
  public: isPublic,
3060
3060
  statusCode
3061
- } = _chunkWLFARJG2cjs.deconstructError.call(void 0, err, true);
3061
+ } = _chunk62DUEJF5cjs.deconstructError.call(void 0, err, true);
3062
3062
  if (this.#shouldRetryQueueDispatchOverload(
3063
3063
  group,
3064
3064
  code,
@@ -3187,13 +3187,13 @@ var ActorHandleRaw = class {
3187
3187
  gatewayOptions
3188
3188
  );
3189
3189
  actorId = "directId" in target ? target.directId : void 0;
3190
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug(
3190
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug(
3191
3191
  actorId ? { msg: "using direct actor gateway target", actorId } : {
3192
3192
  msg: "using query gateway target for action",
3193
3193
  query: this.#actorResolutionState
3194
3194
  }
3195
3195
  );
3196
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
3196
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
3197
3197
  msg: "handling action",
3198
3198
  name: opts.name,
3199
3199
  encoding: this.#encoding
@@ -3230,12 +3230,12 @@ var ActorHandleRaw = class {
3230
3230
  args
3231
3231
  }),
3232
3232
  requestToBare: (args) => ({
3233
- args: _chunkWLFARJG2cjs.bufferToArrayBuffer.call(void 0,
3234
- _chunkWLFARJG2cjs.encodeCborCompat.call(void 0, args)
3233
+ args: _chunk62DUEJF5cjs.bufferToArrayBuffer.call(void 0,
3234
+ _chunk62DUEJF5cjs.encodeCborCompat.call(void 0, args)
3235
3235
  )
3236
3236
  }),
3237
3237
  responseFromJson: (json) => json.output,
3238
- responseFromBare: (bare5) => _chunkWLFARJG2cjs.decodeCborCompat.call(void 0, new Uint8Array(bare5.output))
3238
+ responseFromBare: (bare5) => _chunk62DUEJF5cjs.decodeCborCompat.call(void 0, new Uint8Array(bare5.output))
3239
3239
  });
3240
3240
  if (opts.name === "destroy" && actorId) {
3241
3241
  await this.#waitForDestroyActionToSettle(actorId);
@@ -3251,7 +3251,7 @@ var ActorHandleRaw = class {
3251
3251
  actor,
3252
3252
  public: isPublic,
3253
3253
  statusCode
3254
- } = _chunkWLFARJG2cjs.deconstructError.call(void 0, err, true);
3254
+ } = _chunk62DUEJF5cjs.deconstructError.call(void 0, err, true);
3255
3255
  if (await this.#shouldRetrySchedulingError(
3256
3256
  group,
3257
3257
  code,
@@ -3415,7 +3415,7 @@ var ActorHandleRaw = class {
3415
3415
  * @returns {ActorConn<AD>} A connection to the actor.
3416
3416
  */
3417
3417
  connect(params, options = {}) {
3418
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
3418
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
3419
3419
  msg: "establishing connection from handle",
3420
3420
  query: this.#actorResolutionState
3421
3421
  });
@@ -3501,7 +3501,7 @@ var ActorHandleRaw = class {
3501
3501
  actor,
3502
3502
  public: isPublic,
3503
3503
  statusCode
3504
- } = _chunkWLFARJG2cjs.deconstructError.call(void 0, err, true);
3504
+ } = _chunk62DUEJF5cjs.deconstructError.call(void 0, err, true);
3505
3505
  if (await this.#shouldRetrySchedulingError(
3506
3506
  group,
3507
3507
  code,
@@ -3599,7 +3599,7 @@ var ActorHandleRaw = class {
3599
3599
  const contentType = response.headers.get("content-type");
3600
3600
  const encoding = (contentType == null ? void 0 : contentType.includes("application/json")) ? "json" : this.#encoding;
3601
3601
  try {
3602
- const error = _chunkWLFARJG2cjs.deserializeWithEncoding.call(void 0,
3602
+ const error = _chunk62DUEJF5cjs.deserializeWithEncoding.call(void 0,
3603
3603
  encoding,
3604
3604
  new Uint8Array(await response.clone().arrayBuffer()),
3605
3605
  HTTP_RESPONSE_ERROR_VERSIONED,
@@ -3615,7 +3615,7 @@ var ActorHandleRaw = class {
3615
3615
  group: bare5.group,
3616
3616
  code: bare5.code,
3617
3617
  message: bare5.message,
3618
- metadata: bare5.metadata ? _chunkWLFARJG2cjs.decodeCborCompat.call(void 0, new Uint8Array(bare5.metadata)) : void 0,
3618
+ metadata: bare5.metadata ? _chunk62DUEJF5cjs.decodeCborCompat.call(void 0, new Uint8Array(bare5.metadata)) : void 0,
3619
3619
  actor: bare5.actor ? {
3620
3620
  actorId: bare5.actor.actorId,
3621
3621
  generation: Number(bare5.actor.generation),
@@ -3752,7 +3752,7 @@ var ClientRaw = (_class = class {
3752
3752
  * @returns {ActorHandle<AD>} - A handle to the actor.
3753
3753
  */
3754
3754
  getForId(name, actorId, opts) {
3755
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
3755
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
3756
3756
  msg: "get handle to actor with id",
3757
3757
  name,
3758
3758
  actorId,
@@ -3783,7 +3783,7 @@ var ClientRaw = (_class = class {
3783
3783
  */
3784
3784
  get(name, key, opts) {
3785
3785
  const keyArray = typeof key === "string" ? [key] : key || [];
3786
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
3786
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
3787
3787
  msg: "get handle to actor",
3788
3788
  name,
3789
3789
  key: keyArray,
@@ -3814,7 +3814,7 @@ var ClientRaw = (_class = class {
3814
3814
  */
3815
3815
  getOrCreate(name, key, opts) {
3816
3816
  const keyArray = typeof key === "string" ? [key] : key || [];
3817
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
3817
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
3818
3818
  msg: "get or create handle to actor",
3819
3819
  name,
3820
3820
  key: keyArray,
@@ -3858,7 +3858,7 @@ var ClientRaw = (_class = class {
3858
3858
  key: keyArray
3859
3859
  }
3860
3860
  };
3861
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
3861
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
3862
3862
  msg: "create actor handle",
3863
3863
  name,
3864
3864
  key: keyArray,
@@ -3866,7 +3866,7 @@ var ClientRaw = (_class = class {
3866
3866
  create: createQuery.create
3867
3867
  });
3868
3868
  const actorId = await resolveGatewayTarget(this.#driver, createQuery);
3869
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
3869
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
3870
3870
  msg: "created actor with ID",
3871
3871
  name,
3872
3872
  key: keyArray,
@@ -3898,7 +3898,7 @@ var ClientRaw = (_class = class {
3898
3898
  */
3899
3899
  async fork(name, actorId, opts) {
3900
3900
  const key = typeof (opts == null ? void 0 : opts.key) === "string" ? [opts.key] : opts == null ? void 0 : opts.key;
3901
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
3901
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
3902
3902
  msg: "fork actor",
3903
3903
  name,
3904
3904
  sourceActorId: actorId,
@@ -3957,11 +3957,11 @@ var ClientRaw = (_class = class {
3957
3957
  */
3958
3958
  async dispose() {
3959
3959
  if (this.#disposed) {
3960
- _chunkXOU5GIVIcjs.logger.call(void 0, ).warn({ msg: "client already disconnected" });
3960
+ _chunkO4QOORVKcjs.logger.call(void 0, ).warn({ msg: "client already disconnected" });
3961
3961
  return;
3962
3962
  }
3963
3963
  this.#disposed = true;
3964
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({ msg: "disposing client" });
3964
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({ msg: "disposing client" });
3965
3965
  const disposePromises = [];
3966
3966
  for (const conn of this[ACTOR_CONNS_SYMBOL].values()) {
3967
3967
  disposePromises.push(conn.dispose());
@@ -4211,8 +4211,8 @@ var ActorConnRaw = class {
4211
4211
  if ("getForId" in actorResolutionState) {
4212
4212
  this.#actorId = actorResolutionState.getForId.actorId;
4213
4213
  }
4214
- this.#readyPromise = _chunkWLFARJG2cjs.promiseWithResolvers.call(void 0,
4215
- (reason) => _chunkXOU5GIVIcjs.logger.call(void 0, ).warn({
4214
+ this.#readyPromise = _chunk62DUEJF5cjs.promiseWithResolvers.call(void 0,
4215
+ (reason) => _chunkO4QOORVKcjs.logger.call(void 0, ).warn({
4216
4216
  msg: "unhandled ready promise rejection",
4217
4217
  reason
4218
4218
  })
@@ -4287,11 +4287,11 @@ var ActorConnRaw = class {
4287
4287
  }
4288
4288
  if (this.#disposed) throw new ActorConnDisposed();
4289
4289
  if (this.#connectionOpenError) throw this.#connectionOpenError;
4290
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({ msg: "action", name: opts.name, args: opts.args });
4290
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({ msg: "action", name: opts.name, args: opts.args });
4291
4291
  const actionId = this.#actionIdCounter;
4292
4292
  this.#actionIdCounter += 1;
4293
- const { promise, resolve, reject } = _chunkWLFARJG2cjs.promiseWithResolvers.call(void 0,
4294
- (reason) => _chunkXOU5GIVIcjs.logger.call(void 0, ).warn({
4293
+ const { promise, resolve, reject } = _chunk62DUEJF5cjs.promiseWithResolvers.call(void 0,
4294
+ (reason) => _chunkO4QOORVKcjs.logger.call(void 0, ).warn({
4295
4295
  msg: "unhandled action promise rejection",
4296
4296
  reason
4297
4297
  })
@@ -4301,7 +4301,7 @@ var ActorConnRaw = class {
4301
4301
  resolve,
4302
4302
  reject
4303
4303
  });
4304
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
4304
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
4305
4305
  msg: "added action to in-flight map",
4306
4306
  actionId,
4307
4307
  actionName: opts.name,
@@ -4341,9 +4341,9 @@ var ActorConnRaw = class {
4341
4341
  try {
4342
4342
  handler(status);
4343
4343
  } catch (err) {
4344
- _chunkXOU5GIVIcjs.logger.call(void 0, ).error({
4344
+ _chunkO4QOORVKcjs.logger.call(void 0, ).error({
4345
4345
  msg: "error in status change handler",
4346
- error: _chunkWLFARJG2cjs.stringifyError.call(void 0, err)
4346
+ error: _chunk62DUEJF5cjs.stringifyError.call(void 0, err)
4347
4347
  });
4348
4348
  }
4349
4349
  }
@@ -4353,9 +4353,9 @@ var ActorConnRaw = class {
4353
4353
  try {
4354
4354
  handler();
4355
4355
  } catch (err) {
4356
- _chunkXOU5GIVIcjs.logger.call(void 0, ).error({
4356
+ _chunkO4QOORVKcjs.logger.call(void 0, ).error({
4357
4357
  msg: "error in open handler",
4358
- error: _chunkWLFARJG2cjs.stringifyError.call(void 0, err)
4358
+ error: _chunk62DUEJF5cjs.stringifyError.call(void 0, err)
4359
4359
  });
4360
4360
  }
4361
4361
  }
@@ -4365,9 +4365,9 @@ var ActorConnRaw = class {
4365
4365
  try {
4366
4366
  handler();
4367
4367
  } catch (err) {
4368
- _chunkXOU5GIVIcjs.logger.call(void 0, ).error({
4368
+ _chunkO4QOORVKcjs.logger.call(void 0, ).error({
4369
4369
  msg: "error in close handler",
4370
- error: _chunkWLFARJG2cjs.stringifyError.call(void 0, err)
4370
+ error: _chunk62DUEJF5cjs.stringifyError.call(void 0, err)
4371
4371
  });
4372
4372
  }
4373
4373
  }
@@ -4381,10 +4381,10 @@ var ActorConnRaw = class {
4381
4381
  minTimeout: 250,
4382
4382
  maxTimeout: 3e4,
4383
4383
  onFailedAttempt: async (error) => {
4384
- _chunkXOU5GIVIcjs.logger.call(void 0, ).warn({
4384
+ _chunkO4QOORVKcjs.logger.call(void 0, ).warn({
4385
4385
  msg: "failed to reconnect",
4386
4386
  attempt: error.attemptNumber,
4387
- error: _chunkWLFARJG2cjs.stringifyError.call(void 0, error)
4387
+ error: _chunk62DUEJF5cjs.stringifyError.call(void 0, error)
4388
4388
  });
4389
4389
  const hintMs = retryAfterMs(error);
4390
4390
  if (hintMs !== void 0) {
@@ -4395,11 +4395,11 @@ var ActorConnRaw = class {
4395
4395
  signal: this.#abortController.signal
4396
4396
  }).catch((err) => {
4397
4397
  if (err instanceof _pretry.AbortError || err.name === "AbortError" || !this.#shouldRetryConnectionOpenError(err)) {
4398
- _chunkXOU5GIVIcjs.logger.call(void 0, ).info({ msg: "connection retry aborted" });
4398
+ _chunkO4QOORVKcjs.logger.call(void 0, ).info({ msg: "connection retry aborted" });
4399
4399
  } else {
4400
- _chunkXOU5GIVIcjs.logger.call(void 0, ).error({
4400
+ _chunkO4QOORVKcjs.logger.call(void 0, ).error({
4401
4401
  msg: "unexpected error in connection retry",
4402
- error: _chunkWLFARJG2cjs.stringifyError.call(void 0, err)
4402
+ error: _chunk62DUEJF5cjs.stringifyError.call(void 0, err)
4403
4403
  });
4404
4404
  }
4405
4405
  });
@@ -4408,8 +4408,8 @@ var ActorConnRaw = class {
4408
4408
  try {
4409
4409
  if (this.#onOpenPromise)
4410
4410
  throw new Error("#onOpenPromise already defined");
4411
- this.#onOpenPromise = _chunkWLFARJG2cjs.promiseWithResolvers.call(void 0,
4412
- (reason) => _chunkXOU5GIVIcjs.logger.call(void 0, ).warn({
4411
+ this.#onOpenPromise = _chunk62DUEJF5cjs.promiseWithResolvers.call(void 0,
4412
+ (reason) => _chunkO4QOORVKcjs.logger.call(void 0, ).warn({
4413
4413
  msg: "unhandled open promise rejection",
4414
4414
  reason
4415
4415
  })
@@ -4426,8 +4426,8 @@ var ActorConnRaw = class {
4426
4426
  const actorError = error instanceof _chunkMGI2VVF6cjs.RivetError ? error : new (0, _chunkMGI2VVF6cjs.RivetError)(
4427
4427
  "client",
4428
4428
  "connection_open_failed",
4429
- `Failed to open connection: ${_chunkWLFARJG2cjs.stringifyError.call(void 0, error)}`,
4430
- { error: _chunkWLFARJG2cjs.stringifyError.call(void 0, error) }
4429
+ `Failed to open connection: ${_chunk62DUEJF5cjs.stringifyError.call(void 0, error)}`,
4430
+ { error: _chunk62DUEJF5cjs.stringifyError.call(void 0, error) }
4431
4431
  );
4432
4432
  this.#connectionOpenError = actorError;
4433
4433
  this.#rejectPendingPromises(actorError, false);
@@ -4436,7 +4436,7 @@ var ActorConnRaw = class {
4436
4436
  }
4437
4437
  this.#setConnStatus("idle");
4438
4438
  throw new (0, _pretry.AbortError)(
4439
- error instanceof Error ? error : new Error(_chunkWLFARJG2cjs.stringifyError.call(void 0, error))
4439
+ error instanceof Error ? error : new Error(_chunk62DUEJF5cjs.stringifyError.call(void 0, error))
4440
4440
  );
4441
4441
  } finally {
4442
4442
  this.#onOpenPromise = void 0;
@@ -4472,7 +4472,7 @@ var ActorConnRaw = class {
4472
4472
  if (!ws) return;
4473
4473
  this.#websocket = void 0;
4474
4474
  this.#abandonedSockets.add(ws);
4475
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
4475
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
4476
4476
  msg: "closing failed connection attempt",
4477
4477
  connId: this.#connId,
4478
4478
  readyState: ws.readyState,
@@ -4481,9 +4481,9 @@ var ActorConnRaw = class {
4481
4481
  try {
4482
4482
  ws.close(1e3, reason);
4483
4483
  } catch (err) {
4484
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
4484
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
4485
4485
  msg: "failed to close abandoned websocket",
4486
- error: _chunkWLFARJG2cjs.stringifyError.call(void 0, err)
4486
+ error: _chunk62DUEJF5cjs.stringifyError.call(void 0, err)
4487
4487
  });
4488
4488
  }
4489
4489
  }
@@ -4511,7 +4511,7 @@ var ActorConnRaw = class {
4511
4511
  }
4512
4512
  #clearQueuedMessages() {
4513
4513
  if (this.#messageQueue.length === 0) return;
4514
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
4514
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
4515
4515
  msg: "clearing queued connection messages",
4516
4516
  queueLength: this.#messageQueue.length
4517
4517
  });
@@ -4524,7 +4524,7 @@ var ActorConnRaw = class {
4524
4524
  try {
4525
4525
  return await this.#getParams();
4526
4526
  } catch (err) {
4527
- const errorMessage = _chunkWLFARJG2cjs.stringifyError.call(void 0, err);
4527
+ const errorMessage = _chunk62DUEJF5cjs.stringifyError.call(void 0, err);
4528
4528
  const error = new (0, _chunkMGI2VVF6cjs.RivetError)(
4529
4529
  "client",
4530
4530
  "get_params_failed",
@@ -4548,7 +4548,7 @@ var ActorConnRaw = class {
4548
4548
  this.#gatewayOptions
4549
4549
  );
4550
4550
  _invariant2.default.call(void 0, ws, "websocket should have been created");
4551
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
4551
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
4552
4552
  msg: "opened websocket",
4553
4553
  connId: this.#connId,
4554
4554
  readyState: ws.readyState,
@@ -4558,7 +4558,7 @@ var ActorConnRaw = class {
4558
4558
  ws.addEventListener("open", () => {
4559
4559
  if (this.#websocket !== ws || this.#abandonedSockets.has(ws))
4560
4560
  return;
4561
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
4561
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
4562
4562
  msg: "client websocket open",
4563
4563
  connId: this.#connId
4564
4564
  });
@@ -4569,9 +4569,9 @@ var ActorConnRaw = class {
4569
4569
  try {
4570
4570
  await this.#handleOnMessage(ev.data, ws);
4571
4571
  } catch (err) {
4572
- _chunkXOU5GIVIcjs.logger.call(void 0, ).error({
4572
+ _chunkO4QOORVKcjs.logger.call(void 0, ).error({
4573
4573
  msg: "error in websocket message handler",
4574
- error: _chunkWLFARJG2cjs.stringifyError.call(void 0, err)
4574
+ error: _chunk62DUEJF5cjs.stringifyError.call(void 0, err)
4575
4575
  });
4576
4576
  }
4577
4577
  });
@@ -4581,9 +4581,9 @@ var ActorConnRaw = class {
4581
4581
  try {
4582
4582
  await this.#handleOnClose(ev);
4583
4583
  } catch (err) {
4584
- _chunkXOU5GIVIcjs.logger.call(void 0, ).error({
4584
+ _chunkO4QOORVKcjs.logger.call(void 0, ).error({
4585
4585
  msg: "error in websocket close handler",
4586
- error: _chunkWLFARJG2cjs.stringifyError.call(void 0, err)
4586
+ error: _chunk62DUEJF5cjs.stringifyError.call(void 0, err)
4587
4587
  });
4588
4588
  }
4589
4589
  });
@@ -4593,9 +4593,9 @@ var ActorConnRaw = class {
4593
4593
  try {
4594
4594
  this.#handleOnError();
4595
4595
  } catch (err) {
4596
- _chunkXOU5GIVIcjs.logger.call(void 0, ).error({
4596
+ _chunkO4QOORVKcjs.logger.call(void 0, ).error({
4597
4597
  msg: "error in websocket error handler",
4598
- error: _chunkWLFARJG2cjs.stringifyError.call(void 0, err)
4598
+ error: _chunk62DUEJF5cjs.stringifyError.call(void 0, err)
4599
4599
  });
4600
4600
  }
4601
4601
  });
@@ -4603,7 +4603,7 @@ var ActorConnRaw = class {
4603
4603
  /** Called by the onopen event from drivers. */
4604
4604
  #handleOnOpen() {
4605
4605
  if (this.#disposed) {
4606
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
4606
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
4607
4607
  msg: "handleOnOpen called after dispose, closing websocket"
4608
4608
  });
4609
4609
  if (this.#websocket) {
@@ -4619,7 +4619,7 @@ var ActorConnRaw = class {
4619
4619
  queueMicrotask(() => {
4620
4620
  this.#openScheduled = false;
4621
4621
  if (this.#disposed) {
4622
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
4622
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
4623
4623
  msg: "handleOnOpen scheduled after dispose, closing websocket"
4624
4624
  });
4625
4625
  if (this.#websocket) {
@@ -4628,7 +4628,7 @@ var ActorConnRaw = class {
4628
4628
  }
4629
4629
  return;
4630
4630
  }
4631
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
4631
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
4632
4632
  msg: "socket open",
4633
4633
  messageQueueLength: this.#messageQueue.length,
4634
4634
  connId: this.#connId
@@ -4638,14 +4638,14 @@ var ActorConnRaw = class {
4638
4638
  if (this.#onOpenPromise) {
4639
4639
  this.#onOpenPromise.resolve(void 0);
4640
4640
  } else {
4641
- _chunkXOU5GIVIcjs.logger.call(void 0, ).warn({ msg: "#onOpenPromise is undefined" });
4641
+ _chunkO4QOORVKcjs.logger.call(void 0, ).warn({ msg: "#onOpenPromise is undefined" });
4642
4642
  }
4643
4643
  for (const eventName of this.#eventSubscriptions.keys()) {
4644
4644
  this.#sendSubscription(eventName, true);
4645
4645
  }
4646
4646
  const queue = this.#messageQueue;
4647
4647
  this.#messageQueue = [];
4648
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
4648
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
4649
4649
  msg: "flushing message queue",
4650
4650
  queueLength: queue.length
4651
4651
  });
@@ -4657,7 +4657,7 @@ var ActorConnRaw = class {
4657
4657
  /** Called by the onmessage event from drivers. */
4658
4658
  async #handleOnMessage(data, socket) {
4659
4659
  var _a;
4660
- _chunkXOU5GIVIcjs.logger.call(void 0, ).trace({
4660
+ _chunkO4QOORVKcjs.logger.call(void 0, ).trace({
4661
4661
  msg: "received message",
4662
4662
  dataType: typeof data,
4663
4663
  isBlob: data instanceof Blob,
@@ -4666,16 +4666,16 @@ var ActorConnRaw = class {
4666
4666
  const response = await this.#parseMessage(data);
4667
4667
  if (this.#websocket !== socket || this.#abandonedSockets.has(socket))
4668
4668
  return;
4669
- _chunkXOU5GIVIcjs.logger.call(void 0, ).trace(
4670
- _chunkWLFARJG2cjs.getLogMessage.call(void 0, ) ? {
4669
+ _chunkO4QOORVKcjs.logger.call(void 0, ).trace(
4670
+ _chunk62DUEJF5cjs.getLogMessage.call(void 0, ) ? {
4671
4671
  msg: "parsed message",
4672
- message: _chunkWLFARJG2cjs.jsonStringifyCompat.call(void 0, response).substring(0, 100) + "..."
4672
+ message: _chunk62DUEJF5cjs.jsonStringifyCompat.call(void 0, response).substring(0, 100) + "..."
4673
4673
  } : { msg: "parsed message" }
4674
4674
  );
4675
4675
  if (response.body.tag === "Init") {
4676
4676
  this.#actorId = response.body.val.actorId;
4677
4677
  this.#connId = response.body.val.connectionId;
4678
- _chunkXOU5GIVIcjs.logger.call(void 0, ).trace({
4678
+ _chunkO4QOORVKcjs.logger.call(void 0, ).trace({
4679
4679
  msg: "received init message",
4680
4680
  actorId: this.#actorId,
4681
4681
  connId: this.#connId
@@ -4686,7 +4686,7 @@ var ActorConnRaw = class {
4686
4686
  if (actionId !== null) {
4687
4687
  const inFlight = this.#takeActionInFlight(Number(actionId));
4688
4688
  this.#invalidateActorIfStale(group, code);
4689
- _chunkXOU5GIVIcjs.logger.call(void 0, ).warn({
4689
+ _chunkO4QOORVKcjs.logger.call(void 0, ).warn({
4690
4690
  msg: "action error",
4691
4691
  actionId,
4692
4692
  actionName: inFlight == null ? void 0 : inFlight.name,
@@ -4705,7 +4705,7 @@ var ActorConnRaw = class {
4705
4705
  })
4706
4706
  );
4707
4707
  } else {
4708
- _chunkXOU5GIVIcjs.logger.call(void 0, ).warn({
4708
+ _chunkO4QOORVKcjs.logger.call(void 0, ).warn({
4709
4709
  msg: "connection error",
4710
4710
  group,
4711
4711
  code,
@@ -4750,27 +4750,27 @@ var ActorConnRaw = class {
4750
4750
  }
4751
4751
  } else if (response.body.tag === "ActionResponse") {
4752
4752
  const { id: actionId } = response.body.val;
4753
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
4753
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
4754
4754
  msg: "received action response",
4755
4755
  actionId: Number(actionId),
4756
4756
  inFlightCount: this.#actionsInFlight.size,
4757
4757
  inFlightIds: Array.from(this.#actionsInFlight.keys())
4758
4758
  });
4759
4759
  const inFlight = this.#takeActionInFlight(Number(actionId));
4760
- _chunkXOU5GIVIcjs.logger.call(void 0, ).trace({
4760
+ _chunkO4QOORVKcjs.logger.call(void 0, ).trace({
4761
4761
  msg: "resolving action promise",
4762
4762
  actionId,
4763
4763
  actionName: inFlight == null ? void 0 : inFlight.name
4764
4764
  });
4765
4765
  inFlight.resolve(response.body.val);
4766
4766
  } else if (response.body.tag === "Event") {
4767
- _chunkXOU5GIVIcjs.logger.call(void 0, ).trace({
4767
+ _chunkO4QOORVKcjs.logger.call(void 0, ).trace({
4768
4768
  msg: "received event",
4769
4769
  name: response.body.val.name
4770
4770
  });
4771
4771
  this.#dispatchEvent(response.body.val);
4772
4772
  } else {
4773
- _chunkWLFARJG2cjs.assertUnreachable.call(void 0, response.body);
4773
+ _chunk62DUEJF5cjs.assertUnreachable.call(void 0, response.body);
4774
4774
  }
4775
4775
  }
4776
4776
  /** Called by the onclose event from drivers. */
@@ -4780,7 +4780,7 @@ var ActorConnRaw = class {
4780
4780
  const closeEvent = event;
4781
4781
  const wasClean = closeEvent.wasClean;
4782
4782
  const wasConnected = this.#connStatus === "connected";
4783
- _chunkXOU5GIVIcjs.logger.call(void 0, ).info({
4783
+ _chunkO4QOORVKcjs.logger.call(void 0, ).info({
4784
4784
  msg: "socket closed",
4785
4785
  code: closeEvent.code,
4786
4786
  reason: closeEvent.reason,
@@ -4808,7 +4808,7 @@ var ActorConnRaw = class {
4808
4808
  this.#authRetryAvailable = false;
4809
4809
  }
4810
4810
  } catch (e4) {
4811
- _chunkXOU5GIVIcjs.logger.call(void 0, ).warn("token renewal failed");
4811
+ _chunkO4QOORVKcjs.logger.call(void 0, ).warn("token renewal failed");
4812
4812
  this.#authRetryAvailable = false;
4813
4813
  }
4814
4814
  } else if (isInvalidToken(group, code)) {
@@ -4877,7 +4877,7 @@ var ActorConnRaw = class {
4877
4877
  return;
4878
4878
  }
4879
4879
  if (wasConnected && this.#authRetryAvailable) {
4880
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
4880
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
4881
4881
  msg: "triggering reconnect",
4882
4882
  connId: this.#connId
4883
4883
  });
@@ -4902,12 +4902,12 @@ var ActorConnRaw = class {
4902
4902
  /** Called by the onerror event from drivers. */
4903
4903
  #handleOnError() {
4904
4904
  if (this.#disposed) return;
4905
- _chunkXOU5GIVIcjs.logger.call(void 0, ).warn("socket error");
4905
+ _chunkO4QOORVKcjs.logger.call(void 0, ).warn("socket error");
4906
4906
  }
4907
4907
  #takeActionInFlight(id) {
4908
4908
  const inFlight = this.#actionsInFlight.get(id);
4909
4909
  if (!inFlight) {
4910
- _chunkXOU5GIVIcjs.logger.call(void 0, ).error({
4910
+ _chunkO4QOORVKcjs.logger.call(void 0, ).error({
4911
4911
  msg: "action not found in in-flight map",
4912
4912
  lookupId: id,
4913
4913
  inFlightCount: this.#actionsInFlight.size,
@@ -4922,7 +4922,7 @@ var ActorConnRaw = class {
4922
4922
  throw internalClientError(`No in flight response for ${id}`);
4923
4923
  }
4924
4924
  this.#actionsInFlight.delete(id);
4925
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
4925
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
4926
4926
  msg: "removed action from in-flight map",
4927
4927
  actionId: id,
4928
4928
  actionName: inFlight.name,
@@ -4950,9 +4950,9 @@ var ActorConnRaw = class {
4950
4950
  try {
4951
4951
  handler(error);
4952
4952
  } catch (err) {
4953
- _chunkXOU5GIVIcjs.logger.call(void 0, ).error({
4953
+ _chunkO4QOORVKcjs.logger.call(void 0, ).error({
4954
4954
  msg: "error in connection error handler",
4955
- error: _chunkWLFARJG2cjs.stringifyError.call(void 0, err)
4955
+ error: _chunk62DUEJF5cjs.stringifyError.call(void 0, err)
4956
4956
  });
4957
4957
  }
4958
4958
  }
@@ -5057,9 +5057,9 @@ var ActorConnRaw = class {
5057
5057
  try {
5058
5058
  callback();
5059
5059
  } catch (err) {
5060
- _chunkXOU5GIVIcjs.logger.call(void 0, ).error({
5060
+ _chunkO4QOORVKcjs.logger.call(void 0, ).error({
5061
5061
  msg: "error in open handler",
5062
- error: _chunkWLFARJG2cjs.stringifyError.call(void 0, err)
5062
+ error: _chunk62DUEJF5cjs.stringifyError.call(void 0, err)
5063
5063
  });
5064
5064
  }
5065
5065
  });
@@ -5109,7 +5109,7 @@ var ActorConnRaw = class {
5109
5109
  let queueMessage = false;
5110
5110
  if (this.#websocket) {
5111
5111
  const readyState = this.#websocket.readyState;
5112
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
5112
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
5113
5113
  msg: "websocket send attempt",
5114
5114
  readyState,
5115
5115
  readyStateString: readyState === 0 ? "CONNECTING" : readyState === 1 ? "OPEN" : readyState === 2 ? "CLOSING" : "CLOSED",
@@ -5118,7 +5118,7 @@ var ActorConnRaw = class {
5118
5118
  actionName: (_a = message.body.val) == null ? void 0 : _a.name
5119
5119
  });
5120
5120
  if (this.#connStatus !== "connected") {
5121
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
5121
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
5122
5122
  msg: "websocket init pending, queueing message",
5123
5123
  connStatus: this.#connStatus,
5124
5124
  messageType: message.body.tag
@@ -5126,7 +5126,7 @@ var ActorConnRaw = class {
5126
5126
  queueMessage = true;
5127
5127
  } else if (readyState === 1) {
5128
5128
  try {
5129
- const messageSerialized = _chunkWLFARJG2cjs.serializeWithEncoding.call(void 0,
5129
+ const messageSerialized = _chunk62DUEJF5cjs.serializeWithEncoding.call(void 0,
5130
5130
  this.#encoding,
5131
5131
  message,
5132
5132
  CLIENT_PROTOCOL_TO_SERVER,
@@ -5143,8 +5143,8 @@ var ActorConnRaw = class {
5143
5143
  val: {
5144
5144
  id: msg.body.val.id,
5145
5145
  name: msg.body.val.name,
5146
- args: _chunkWLFARJG2cjs.bufferToArrayBuffer.call(void 0,
5147
- _chunkWLFARJG2cjs.encodeCborCompat.call(void 0,
5146
+ args: _chunk62DUEJF5cjs.bufferToArrayBuffer.call(void 0,
5147
+ _chunk62DUEJF5cjs.encodeCborCompat.call(void 0,
5148
5148
  msg.body.val.args
5149
5149
  )
5150
5150
  )
@@ -5158,12 +5158,12 @@ var ActorConnRaw = class {
5158
5158
  );
5159
5159
  this.#websocket.send(messageSerialized);
5160
5160
  const serializedLength = messageLength(messageSerialized);
5161
- _chunkXOU5GIVIcjs.logger.call(void 0, ).trace({
5161
+ _chunkO4QOORVKcjs.logger.call(void 0, ).trace({
5162
5162
  msg: "sent websocket message",
5163
5163
  len: serializedLength
5164
5164
  });
5165
5165
  } catch (error) {
5166
- _chunkXOU5GIVIcjs.logger.call(void 0, ).warn({
5166
+ _chunkO4QOORVKcjs.logger.call(void 0, ).warn({
5167
5167
  msg: "failed to send message, added to queue",
5168
5168
  error,
5169
5169
  connId: this.#connId
@@ -5171,19 +5171,19 @@ var ActorConnRaw = class {
5171
5171
  queueMessage = true;
5172
5172
  }
5173
5173
  } else {
5174
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
5174
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
5175
5175
  msg: "websocket not open, queueing message",
5176
5176
  readyState
5177
5177
  });
5178
5178
  queueMessage = true;
5179
5179
  }
5180
5180
  } else {
5181
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({ msg: "no websocket, queueing message" });
5181
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({ msg: "no websocket, queueing message" });
5182
5182
  queueMessage = true;
5183
5183
  }
5184
5184
  if (!(opts == null ? void 0 : opts.ephemeral) && queueMessage) {
5185
5185
  this.#messageQueue.push(message);
5186
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({
5186
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({
5187
5187
  msg: "queued connection message",
5188
5188
  queueLength: this.#messageQueue.length,
5189
5189
  connId: this.#connId,
@@ -5194,8 +5194,8 @@ var ActorConnRaw = class {
5194
5194
  }
5195
5195
  async #parseMessage(data) {
5196
5196
  _invariant2.default.call(void 0, this.#websocket, "websocket must be defined");
5197
- const buffer = await _chunkWLFARJG2cjs.inputDataToBuffer.call(void 0, data);
5198
- return _chunkWLFARJG2cjs.deserializeWithEncoding.call(void 0,
5197
+ const buffer = await _chunk62DUEJF5cjs.inputDataToBuffer.call(void 0, data);
5198
+ return _chunk62DUEJF5cjs.deserializeWithEncoding.call(void 0,
5199
5199
  this.#encoding,
5200
5200
  buffer,
5201
5201
  CLIENT_PROTOCOL_TO_CLIENT,
@@ -5230,7 +5230,7 @@ var ActorConnRaw = class {
5230
5230
  group: msg.body.val.group,
5231
5231
  code: msg.body.val.code,
5232
5232
  message: msg.body.val.message,
5233
- metadata: msg.body.val.metadata ? _chunkWLFARJG2cjs.decodeCborCompat.call(void 0,
5233
+ metadata: msg.body.val.metadata ? _chunk62DUEJF5cjs.decodeCborCompat.call(void 0,
5234
5234
  new Uint8Array(
5235
5235
  msg.body.val.metadata
5236
5236
  )
@@ -5252,7 +5252,7 @@ var ActorConnRaw = class {
5252
5252
  tag: "ActionResponse",
5253
5253
  val: {
5254
5254
  id: msg.body.val.id,
5255
- output: _chunkWLFARJG2cjs.decodeCborCompat.call(void 0,
5255
+ output: _chunk62DUEJF5cjs.decodeCborCompat.call(void 0,
5256
5256
  new Uint8Array(msg.body.val.output)
5257
5257
  )
5258
5258
  }
@@ -5264,7 +5264,7 @@ var ActorConnRaw = class {
5264
5264
  tag: "Event",
5265
5265
  val: {
5266
5266
  name: msg.body.val.name,
5267
- args: _chunkWLFARJG2cjs.decodeCborCompat.call(void 0,
5267
+ args: _chunk62DUEJF5cjs.decodeCborCompat.call(void 0,
5268
5268
  new Uint8Array(msg.body.val.args)
5269
5269
  )
5270
5270
  }
@@ -5305,11 +5305,11 @@ var ActorConnRaw = class {
5305
5305
  */
5306
5306
  async dispose() {
5307
5307
  if (this.#disposed) {
5308
- _chunkXOU5GIVIcjs.logger.call(void 0, ).warn({ msg: "connection already disconnected" });
5308
+ _chunkO4QOORVKcjs.logger.call(void 0, ).warn({ msg: "connection already disconnected" });
5309
5309
  return;
5310
5310
  }
5311
5311
  this.#disposed = true;
5312
- _chunkXOU5GIVIcjs.logger.call(void 0, ).debug({ msg: "disposing actor conn" });
5312
+ _chunkO4QOORVKcjs.logger.call(void 0, ).debug({ msg: "disposing actor conn" });
5313
5313
  this.#setConnStatus("idle");
5314
5314
  clearInterval(this.#keepNodeAliveInterval);
5315
5315
  this.#abortController.abort();
@@ -5317,8 +5317,8 @@ var ActorConnRaw = class {
5317
5317
  if (this.#websocket) {
5318
5318
  const ws = this.#websocket;
5319
5319
  if (ws.readyState !== 2 && ws.readyState !== 3) {
5320
- const { promise, resolve } = _chunkWLFARJG2cjs.promiseWithResolvers.call(void 0,
5321
- (reason) => _chunkXOU5GIVIcjs.logger.call(void 0, ).warn({
5320
+ const { promise, resolve } = _chunk62DUEJF5cjs.promiseWithResolvers.call(void 0,
5321
+ (reason) => _chunkO4QOORVKcjs.logger.call(void 0, ).warn({
5322
5322
  msg: "unhandled websocket close promise rejection",
5323
5323
  reason
5324
5324
  })
@@ -5456,7 +5456,7 @@ var ClientConfigSchemaBase = _v42.default.object({
5456
5456
  * Defaults to http://localhost:6420.
5457
5457
  */
5458
5458
  endpoint: _v42.default.string().optional().transform((val) => {
5459
- const resolved = _nullishCoalesce(_nullishCoalesce(val, () => ( _chunkWLFARJG2cjs.getRivetEngine.call(void 0, ))), () => ( _chunkWLFARJG2cjs.getRivetEndpoint.call(void 0, )));
5459
+ const resolved = _nullishCoalesce(_nullishCoalesce(val, () => ( _chunk62DUEJF5cjs.getRivetEngine.call(void 0, ))), () => ( _chunk62DUEJF5cjs.getRivetEndpoint.call(void 0, )));
5460
5460
  if (!resolved && !hasWarnedMissingEndpoint) {
5461
5461
  hasWarnedMissingEndpoint = true;
5462
5462
  console.warn(
@@ -5466,14 +5466,14 @@ var ClientConfigSchemaBase = _v42.default.object({
5466
5466
  return _nullishCoalesce(resolved, () => ( DEFAULT_ENDPOINT));
5467
5467
  }),
5468
5468
  /** Token to use to authenticate with the API. */
5469
- token: _v42.default.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkWLFARJG2cjs.getRivetToken.call(void 0, )))),
5469
+ token: _v42.default.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunk62DUEJF5cjs.getRivetToken.call(void 0, )))),
5470
5470
  /** Issue and renew a client token on demand. Overrides the static token when provided. */
5471
5471
  getToken: _v42.default.custom().optional(),
5472
5472
  /** Namespace to connect to. */
5473
- namespace: _v42.default.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkWLFARJG2cjs.getRivetNamespace.call(void 0, )))),
5473
+ namespace: _v42.default.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunk62DUEJF5cjs.getRivetNamespace.call(void 0, )))),
5474
5474
  /** Name of the envoy pool. This is used to group together envoys in to different pools. */
5475
- poolName: _v42.default.string().default(() => _nullishCoalesce(_chunkWLFARJG2cjs.getRivetPool.call(void 0, ), () => ( "default"))),
5476
- encoding: _chunkWLFARJG2cjs.EncodingSchema.default("bare"),
5475
+ poolName: _v42.default.string().default(() => _nullishCoalesce(_chunk62DUEJF5cjs.getRivetPool.call(void 0, ), () => ( "default"))),
5476
+ encoding: _chunk62DUEJF5cjs.EncodingSchema.default("bare"),
5477
5477
  headers: _v42.default.record(_v42.default.string(), _v42.default.string()).optional().default(() => ({})),
5478
5478
  gateway: _v42.default.object({
5479
5479
  skipReadyWait: _v42.default.boolean().optional().default(false)
@@ -5661,7 +5661,7 @@ function setRemoteHibernatableWebSocketAckTestHooks(websocket, token, enabled) {
5661
5661
 
5662
5662
  // src/engine-client/log.ts
5663
5663
  function logger2() {
5664
- return _chunkWLFARJG2cjs.getLogger.call(void 0, "engine-client");
5664
+ return _chunk62DUEJF5cjs.getLogger.call(void 0, "engine-client");
5665
5665
  }
5666
5666
 
5667
5667
  // src/engine-client/actor-websocket-client.ts
@@ -5807,7 +5807,7 @@ function buildActorGatewayUrl(endpoint, namespace, actorId, token, path = "") {
5807
5807
  separator = "?";
5808
5808
  }
5809
5809
  const gatewayPath = `/gateway/${encodeURIComponent(actorId)}${tokenSegment}${path}${separator}${params.toString()}`;
5810
- return _chunkWLFARJG2cjs.combineUrlPath.call(void 0, endpoint, gatewayPath);
5810
+ return _chunk62DUEJF5cjs.combineUrlPath.call(void 0, endpoint, gatewayPath);
5811
5811
  }
5812
5812
  function buildActorQueryGatewayUrl(endpoint, namespace, query, token, path = "", maxInputSize = DEFAULT_MAX_QUERY_INPUT_SIZE, crashPolicy = void 0, runnerName, options = {}) {
5813
5813
  if (namespace.length === 0) {
@@ -5873,7 +5873,7 @@ function buildActorQueryGatewayUrl(endpoint, namespace, query, token, path = "",
5873
5873
  separator = "?";
5874
5874
  }
5875
5875
  const gatewayPath = `/gateway/${encodeURIComponent(name)}${path}${separator}${queryString}`;
5876
- return _chunkWLFARJG2cjs.combineUrlPath.call(void 0, endpoint, gatewayPath);
5876
+ return _chunk62DUEJF5cjs.combineUrlPath.call(void 0, endpoint, gatewayPath);
5877
5877
  }
5878
5878
  function pushKeyQueryParams(params, key) {
5879
5879
  const rvtKey = _chunkRTWH3AX3cjs.actorKeyToGatewayQuery.call(void 0, key);
@@ -5885,7 +5885,7 @@ function pushInputQueryParam(params, input, maxInputSize) {
5885
5885
  if (input === void 0) {
5886
5886
  return;
5887
5887
  }
5888
- const encodedInput = _chunkWLFARJG2cjs.encodeCborCompat.call(void 0, input);
5888
+ const encodedInput = _chunk62DUEJF5cjs.encodeCborCompat.call(void 0, input);
5889
5889
  if (encodedInput.byteLength > maxInputSize) {
5890
5890
  throw new Error(
5891
5891
  `Actor query input exceeds maxInputSize (${encodedInput.byteLength} > ${maxInputSize} bytes). Increase client maxInputSize to allow larger query payloads.`
@@ -5894,10 +5894,10 @@ function pushInputQueryParam(params, input, maxInputSize) {
5894
5894
  params.append("rvt-input", uint8ArrayToBase64Url(encodedInput));
5895
5895
  }
5896
5896
  function uint8ArrayToBase64Url(value) {
5897
- return _chunkWLFARJG2cjs.uint8ArrayToBase64.call(void 0, value).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/g, "");
5897
+ return _chunk62DUEJF5cjs.uint8ArrayToBase64.call(void 0, value).replace(/\+/g, "-").replace(/\//g, "_").replace(/=+$/g, "");
5898
5898
  }
5899
5899
  async function openWebSocketToGateway(runConfig, gatewayUrl, encoding, params, options = {}) {
5900
- const WebSocket2 = await _chunkXOU5GIVIcjs.importWebSocket.call(void 0, );
5900
+ const WebSocket2 = await _chunkO4QOORVKcjs.importWebSocket.call(void 0, );
5901
5901
  const ackHookToken = typeof process !== "undefined" && process.env.VITEST ? crypto.randomUUID() : void 0;
5902
5902
  logger2().debug({
5903
5903
  msg: "opening websocket to actor via guard",
@@ -5968,7 +5968,7 @@ function getEndpoint(config) {
5968
5968
  }
5969
5969
  async function apiCall(config, method, path, body) {
5970
5970
  const endpoint = getEndpoint(config);
5971
- const url = _chunkWLFARJG2cjs.combineUrlPath.call(void 0, endpoint, path, {
5971
+ const url = _chunk62DUEJF5cjs.combineUrlPath.call(void 0, endpoint, path, {
5972
5972
  namespace: config.namespace
5973
5973
  });
5974
5974
  logger2().debug({ msg: "making api call", method, url });
@@ -6109,7 +6109,7 @@ async function lookupMetadataCached(config) {
6109
6109
  msg: "failed to fetch metadata, retrying",
6110
6110
  endpoint,
6111
6111
  attempt: error.attemptNumber,
6112
- error: _chunkWLFARJG2cjs.stringifyError.call(void 0, error)
6112
+ error: _chunk62DUEJF5cjs.stringifyError.call(void 0, error)
6113
6113
  });
6114
6114
  }
6115
6115
  }
@@ -6121,7 +6121,7 @@ async function lookupMetadataCached(config) {
6121
6121
 
6122
6122
  // src/engine-client/ws-proxy.ts
6123
6123
  async function createWebSocketProxy(_c, targetUrl, protocols) {
6124
- const WebSocket2 = await _chunkXOU5GIVIcjs.importWebSocket.call(void 0, );
6124
+ const WebSocket2 = await _chunkO4QOORVKcjs.importWebSocket.call(void 0, );
6125
6125
  const state = {};
6126
6126
  return {
6127
6127
  onOpen: async (_event, clientWs) => {
@@ -6186,7 +6186,7 @@ async function createWebSocketProxy(_c, targetUrl, protocols) {
6186
6186
  logger2().error({
6187
6187
  msg: "target websocket error",
6188
6188
  targetUrl,
6189
- error: _chunkWLFARJG2cjs.stringifyError.call(void 0, error)
6189
+ error: _chunk62DUEJF5cjs.stringifyError.call(void 0, error)
6190
6190
  });
6191
6191
  closeWebSocketIfOpen(clientWs, 1011, "Target WebSocket error");
6192
6192
  });
@@ -6267,7 +6267,7 @@ var RemoteEngineControlClient = class {
6267
6267
  #tokenProvider;
6268
6268
  #webSocketTokens = /* @__PURE__ */ new WeakMap();
6269
6269
  constructor(runConfig) {
6270
- if (_chunkWLFARJG2cjs.getNextPhase.call(void 0, ) === "phase-production-build") {
6270
+ if (_chunk62DUEJF5cjs.getNextPhase.call(void 0, ) === "phase-production-build") {
6271
6271
  logger2().info(
6272
6272
  "detected next.js build phase, disabling health check"
6273
6273
  );
@@ -6406,8 +6406,8 @@ var RemoteEngineControlClient = class {
6406
6406
  name,
6407
6407
  key: _chunkRTWH3AX3cjs.serializeActorKey.call(void 0, key),
6408
6408
  pool: _nullishCoalesce(poolName, () => ( this.#config.poolName)),
6409
- input: actorInput ? _chunkWLFARJG2cjs.uint8ArrayToBase64.call(void 0,
6410
- _chunkWLFARJG2cjs.encodeCborCompat.call(void 0, actorInput)
6409
+ input: actorInput ? _chunk62DUEJF5cjs.uint8ArrayToBase64.call(void 0,
6410
+ _chunk62DUEJF5cjs.encodeCborCompat.call(void 0, actorInput)
6411
6411
  ) : void 0,
6412
6412
  crash_policy: _nullishCoalesce(crashPolicy, () => ( "sleep"))
6413
6413
  })
@@ -6460,8 +6460,8 @@ var RemoteEngineControlClient = class {
6460
6460
  name,
6461
6461
  pool: _nullishCoalesce(poolName, () => ( this.#config.poolName)),
6462
6462
  key: _chunkRTWH3AX3cjs.serializeActorKey.call(void 0, key),
6463
- input: input ? _chunkWLFARJG2cjs.uint8ArrayToBase64.call(void 0,
6464
- _chunkWLFARJG2cjs.encodeCborCompat.call(void 0, input)
6463
+ input: input ? _chunk62DUEJF5cjs.uint8ArrayToBase64.call(void 0,
6464
+ _chunk62DUEJF5cjs.encodeCborCompat.call(void 0, input)
6465
6465
  ) : void 0,
6466
6466
  crash_policy: _nullishCoalesce(crashPolicy, () => ( "sleep"))
6467
6467
  })
@@ -6480,8 +6480,8 @@ var RemoteEngineControlClient = class {
6480
6480
  const result = await this.#withCredential(
6481
6481
  (config) => forkActor(config, actorId, {
6482
6482
  key: key ? _chunkRTWH3AX3cjs.serializeActorKey.call(void 0, key) : void 0,
6483
- input: input !== void 0 ? _chunkWLFARJG2cjs.uint8ArrayToBase64.call(void 0,
6484
- _chunkWLFARJG2cjs.encodeCborCompat.call(void 0, input)
6483
+ input: input !== void 0 ? _chunk62DUEJF5cjs.uint8ArrayToBase64.call(void 0,
6484
+ _chunk62DUEJF5cjs.encodeCborCompat.call(void 0, input)
6485
6485
  ) : void 0
6486
6486
  })
6487
6487
  );
@@ -6611,7 +6611,7 @@ var RemoteEngineControlClient = class {
6611
6611
  const upgradeWebSocket = (_a = config.getUpgradeWebSocket) == null ? void 0 : _a.call(config);
6612
6612
  _invariant2.default.call(void 0, upgradeWebSocket, "missing getUpgradeWebSocket");
6613
6613
  const endpoint = getEndpoint(config);
6614
- const guardUrl = _chunkWLFARJG2cjs.combineUrlPath.call(void 0, endpoint, path);
6614
+ const guardUrl = _chunk62DUEJF5cjs.combineUrlPath.call(void 0, endpoint, path);
6615
6615
  const wsGuardUrl = guardUrl.replace("http://", "ws://");
6616
6616
  logger2().debug({
6617
6617
  msg: "forwarding websocket to actor via guard",
@@ -6630,7 +6630,7 @@ var RemoteEngineControlClient = class {
6630
6630
  }
6631
6631
  );
6632
6632
  const args = await createWebSocketProxy(c, wsGuardUrl, protocols);
6633
- return await upgradeWebSocket(() => args)(c, _chunkWLFARJG2cjs.noopNext.call(void 0, ));
6633
+ return await upgradeWebSocket(() => args)(c, _chunk62DUEJF5cjs.noopNext.call(void 0, ));
6634
6634
  }
6635
6635
  displayInformation() {
6636
6636
  return { properties: {} };
@@ -6641,7 +6641,7 @@ var RemoteEngineControlClient = class {
6641
6641
  #buildGatewayUrlForTarget(config, target, path, options = {}) {
6642
6642
  const endpoint = getEndpoint(config);
6643
6643
  if (shouldSkipReadyWait(options) && directActorIdFromTarget(target) && canUseDirectSkipReadyWaitPath(path)) {
6644
- return _chunkWLFARJG2cjs.combineUrlPath.call(void 0, endpoint, path);
6644
+ return _chunk62DUEJF5cjs.combineUrlPath.call(void 0, endpoint, path);
6645
6645
  }
6646
6646
  if ("directId" in target) {
6647
6647
  return buildActorGatewayUrl(
@@ -6744,4 +6744,4 @@ function apiActorToOutput(actor) {
6744
6744
 
6745
6745
 
6746
6746
  exports.HEADER_CONN_PARAMS = HEADER_CONN_PARAMS; exports.HEADER_ORIGINAL_REQUEST_URL = HEADER_ORIGINAL_REQUEST_URL; exports.ALLOWED_PUBLIC_HEADERS = ALLOWED_PUBLIC_HEADERS; exports.ActorClientError = ActorClientError; exports.ManagerError = ManagerError; exports.MalformedResponseMessage = MalformedResponseMessage; exports.ActorConnDisposed = ActorConnDisposed; exports.readActiveTraceHeaders = readActiveTraceHeaders; exports.runWithActorInvocationSpan = runWithActorInvocationSpan; exports.ActorConnRaw = ActorConnRaw; exports.isResponseLike = isResponseLike; exports.ActorHandleRaw = ActorHandleRaw; exports.createClientWithDriver = createClientWithDriver; exports.ENGINE_HOST = ENGINE_HOST; exports.ENGINE_PORT = ENGINE_PORT; exports.buildEngineEndpoint = buildEngineEndpoint; exports.isLocalEngineEndpoint = isLocalEngineEndpoint; exports.tryParseEndpoint = tryParseEndpoint; exports.ClientConfigSchema = ClientConfigSchema; exports.convertRegistryConfigToClientConfig = convertRegistryConfigToClientConfig; exports.getDatacenters = getDatacenters; exports.updateRunnerConfig = updateRunnerConfig; exports.RemoteEngineControlClient = RemoteEngineControlClient;
6747
- //# sourceMappingURL=chunk-6GQM5TX3.cjs.map
6747
+ //# sourceMappingURL=chunk-ZZQFX3FC.cjs.map