rivetkit 2.3.3-rc.2 → 2.3.4

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 (54) 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/agent-os/index.cjs +1 -1
  6. package/dist/tsup/agent-os/index.cjs.map +1 -1
  7. package/dist/tsup/agent-os/index.js +1 -1
  8. package/dist/tsup/agent-os/index.js.map +1 -1
  9. package/dist/tsup/{chunk-GRXM3FQX.cjs → chunk-3SNFA373.cjs} +3 -3
  10. package/dist/tsup/{chunk-GRXM3FQX.cjs.map → chunk-3SNFA373.cjs.map} +1 -1
  11. package/dist/tsup/{chunk-Q3DY23PN.cjs → chunk-7X4M7ZRA.cjs} +139 -139
  12. package/dist/tsup/{chunk-Q3DY23PN.cjs.map → chunk-7X4M7ZRA.cjs.map} +1 -1
  13. package/dist/tsup/{chunk-ZEBW32PT.js → chunk-CMPFZ724.js} +4 -4
  14. package/dist/tsup/{chunk-CLQHFXG3.js → chunk-EOSGY3DC.js} +2 -2
  15. package/dist/tsup/{chunk-QRPFFGZB.js → chunk-GXW3VFJQ.js} +2 -2
  16. package/dist/tsup/{chunk-OUIOGTEL.js → chunk-H4XOUVGP.js} +4 -4
  17. package/dist/tsup/{chunk-Q6EIXJ2L.js → chunk-M5TAM4JV.js} +3 -3
  18. package/dist/tsup/{chunk-VPKNVMUA.js → chunk-M7DCRMOZ.js} +2 -2
  19. package/dist/tsup/{chunk-SNTYTMHE.cjs.map → chunk-M7DCRMOZ.js.map} +1 -1
  20. package/dist/tsup/{chunk-SNTYTMHE.cjs → chunk-Q7NBMTF3.cjs} +2 -2
  21. package/dist/tsup/chunk-Q7NBMTF3.cjs.map +1 -0
  22. package/dist/tsup/{chunk-6JRGYOBR.cjs → chunk-SRT2DPN3.cjs} +10 -10
  23. package/dist/tsup/{chunk-6JRGYOBR.cjs.map → chunk-SRT2DPN3.cjs.map} +1 -1
  24. package/dist/tsup/{chunk-QXKIL5NU.cjs → chunk-T4MURX4P.cjs} +7 -7
  25. package/dist/tsup/{chunk-QXKIL5NU.cjs.map → chunk-T4MURX4P.cjs.map} +1 -1
  26. package/dist/tsup/{chunk-LIZO2BE3.cjs → chunk-UPOCJPEQ.cjs} +4 -4
  27. package/dist/tsup/{chunk-LIZO2BE3.cjs.map → chunk-UPOCJPEQ.cjs.map} +1 -1
  28. package/dist/tsup/{chunk-URLGKL2B.js → chunk-W6WPKZ6I.js} +2 -2
  29. package/dist/tsup/{chunk-QIRZKXPN.cjs → chunk-Z7PSQWMC.cjs} +5 -5
  30. package/dist/tsup/{chunk-QIRZKXPN.cjs.map → chunk-Z7PSQWMC.cjs.map} +1 -1
  31. package/dist/tsup/client/mod.cjs +6 -6
  32. package/dist/tsup/client/mod.js +5 -5
  33. package/dist/tsup/common/log.cjs +2 -2
  34. package/dist/tsup/common/log.js +1 -1
  35. package/dist/tsup/common/websocket.cjs +3 -3
  36. package/dist/tsup/common/websocket.js +2 -2
  37. package/dist/tsup/inspector/mod.cjs +5 -5
  38. package/dist/tsup/inspector/mod.js +4 -4
  39. package/dist/tsup/mod.cjs +62 -62
  40. package/dist/tsup/mod.js +5 -5
  41. package/dist/tsup/test/mod.cjs +9 -9
  42. package/dist/tsup/test/mod.js +5 -5
  43. package/dist/tsup/utils.cjs +2 -2
  44. package/dist/tsup/utils.js +1 -1
  45. package/dist/tsup/workflow/mod.cjs +7 -7
  46. package/dist/tsup/workflow/mod.js +4 -4
  47. package/package.json +8 -8
  48. package/dist/tsup/chunk-VPKNVMUA.js.map +0 -1
  49. /package/dist/tsup/{chunk-ZEBW32PT.js.map → chunk-CMPFZ724.js.map} +0 -0
  50. /package/dist/tsup/{chunk-CLQHFXG3.js.map → chunk-EOSGY3DC.js.map} +0 -0
  51. /package/dist/tsup/{chunk-QRPFFGZB.js.map → chunk-GXW3VFJQ.js.map} +0 -0
  52. /package/dist/tsup/{chunk-OUIOGTEL.js.map → chunk-H4XOUVGP.js.map} +0 -0
  53. /package/dist/tsup/{chunk-Q6EIXJ2L.js.map → chunk-M5TAM4JV.js.map} +0 -0
  54. /package/dist/tsup/{chunk-URLGKL2B.js.map → chunk-W6WPKZ6I.js.map} +0 -0
@@ -7,7 +7,7 @@
7
7
 
8
8
 
9
9
 
10
- var _chunkSNTYTMHEcjs = require('../chunk-SNTYTMHE.cjs');
10
+ var _chunkQ7NBMTF3cjs = require('../chunk-Q7NBMTF3.cjs');
11
11
  require('../chunk-4FC7TVS6.cjs');
12
12
 
13
13
 
@@ -18,5 +18,5 @@ require('../chunk-4FC7TVS6.cjs');
18
18
 
19
19
 
20
20
 
21
- exports.LogLevelSchema = _chunkSNTYTMHEcjs.LogLevelSchema; exports.configureBaseLogger = _chunkSNTYTMHEcjs.configureBaseLogger; exports.configureDefaultLogger = _chunkSNTYTMHEcjs.configureDefaultLogger; exports.getBaseLogger = _chunkSNTYTMHEcjs.getBaseLogger; exports.getIncludeTarget = _chunkSNTYTMHEcjs.getIncludeTarget; exports.getLogger = _chunkSNTYTMHEcjs.getLogger; exports.getPinoLevel = _chunkSNTYTMHEcjs.getPinoLevel; exports.makeDefaultLogger = _chunkSNTYTMHEcjs.makeDefaultLogger;
21
+ exports.LogLevelSchema = _chunkQ7NBMTF3cjs.LogLevelSchema; exports.configureBaseLogger = _chunkQ7NBMTF3cjs.configureBaseLogger; exports.configureDefaultLogger = _chunkQ7NBMTF3cjs.configureDefaultLogger; exports.getBaseLogger = _chunkQ7NBMTF3cjs.getBaseLogger; exports.getIncludeTarget = _chunkQ7NBMTF3cjs.getIncludeTarget; exports.getLogger = _chunkQ7NBMTF3cjs.getLogger; exports.getPinoLevel = _chunkQ7NBMTF3cjs.getPinoLevel; exports.makeDefaultLogger = _chunkQ7NBMTF3cjs.makeDefaultLogger;
22
22
  //# sourceMappingURL=log.cjs.map
@@ -7,7 +7,7 @@ import {
7
7
  getLogger,
8
8
  getPinoLevel,
9
9
  makeDefaultLogger
10
- } from "../chunk-VPKNVMUA.js";
10
+ } from "../chunk-M7DCRMOZ.js";
11
11
  import "../chunk-ZZ3WBRPD.js";
12
12
  export {
13
13
  LogLevelSchema,
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkGRXM3FQXcjs = require('../chunk-GRXM3FQX.cjs');
4
- require('../chunk-SNTYTMHE.cjs');
3
+ var _chunk3SNFA373cjs = require('../chunk-3SNFA373.cjs');
4
+ require('../chunk-Q7NBMTF3.cjs');
5
5
  require('../chunk-4FC7TVS6.cjs');
6
6
 
7
7
 
8
- exports.importWebSocket = _chunkGRXM3FQXcjs.importWebSocket;
8
+ exports.importWebSocket = _chunk3SNFA373cjs.importWebSocket;
9
9
  //# sourceMappingURL=websocket.cjs.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  importWebSocket
3
- } from "../chunk-CLQHFXG3.js";
4
- import "../chunk-VPKNVMUA.js";
3
+ } from "../chunk-EOSGY3DC.js";
4
+ import "../chunk-M7DCRMOZ.js";
5
5
  import "../chunk-ZZ3WBRPD.js";
6
6
  export {
7
7
  importWebSocket
@@ -1,12 +1,12 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
2
2
 
3
- var _chunk6JRGYOBRcjs = require('../chunk-6JRGYOBR.cjs');
3
+ var _chunkSRT2DPN3cjs = require('../chunk-SRT2DPN3.cjs');
4
4
 
5
5
 
6
6
 
7
- var _chunkLIZO2BE3cjs = require('../chunk-LIZO2BE3.cjs');
8
- require('../chunk-QIRZKXPN.cjs');
9
- require('../chunk-SNTYTMHE.cjs');
7
+ var _chunkUPOCJPEQcjs = require('../chunk-UPOCJPEQ.cjs');
8
+ require('../chunk-Z7PSQWMC.cjs');
9
+ require('../chunk-Q7NBMTF3.cjs');
10
10
  require('../chunk-4FC7TVS6.cjs');
11
11
 
12
12
  // src/common/bare/generated/inspector/v5.ts
@@ -796,5 +796,5 @@ function decodeToClient(bytes) {
796
796
 
797
797
 
798
798
 
799
- exports.createWorkflowInspectorAdapter = _chunk6JRGYOBRcjs.createWorkflowInspectorAdapter; exports.decodeToClient = decodeToClient; exports.decodeToServer = decodeToServer; exports.decodeWorkflowHistoryTransport = _chunkLIZO2BE3cjs.decodeWorkflowHistoryTransport; exports.encodeToClient = encodeToClient; exports.encodeToServer = encodeToServer; exports.encodeWorkflowHistoryTransport = _chunkLIZO2BE3cjs.encodeWorkflowHistoryTransport; exports.readActionRequest = readActionRequest; exports.readActionResponse = readActionResponse; exports.readConnection = readConnection; exports.readConnectionsRequest = readConnectionsRequest; exports.readConnectionsResponse = readConnectionsResponse; exports.readConnectionsUpdated = readConnectionsUpdated; exports.readDatabaseSchemaRequest = readDatabaseSchemaRequest; exports.readDatabaseSchemaResponse = readDatabaseSchemaResponse; exports.readDatabaseTableRowsRequest = readDatabaseTableRowsRequest; exports.readDatabaseTableRowsResponse = readDatabaseTableRowsResponse; exports.readError = readError; exports.readInit = readInit; exports.readPatchStateRequest = readPatchStateRequest; exports.readQueueMessageSummary = readQueueMessageSummary; exports.readQueueRequest = readQueueRequest; exports.readQueueResponse = readQueueResponse; exports.readQueueStatus = readQueueStatus; exports.readQueueUpdated = readQueueUpdated; exports.readRpcsListRequest = readRpcsListRequest; exports.readRpcsListResponse = readRpcsListResponse; exports.readState = readState; exports.readStateRequest = readStateRequest; exports.readStateResponse = readStateResponse; exports.readStateUpdated = readStateUpdated; exports.readTabConfigEntry = readTabConfigEntry; exports.readToClient = readToClient; exports.readToClientBody = readToClientBody; exports.readToServer = readToServer; exports.readToServerBody = readToServerBody; exports.readTraceQueryRequest = readTraceQueryRequest; exports.readTraceQueryResponse = readTraceQueryResponse; exports.readWorkflowHistory = readWorkflowHistory; exports.readWorkflowHistoryRequest = readWorkflowHistoryRequest; exports.readWorkflowHistoryResponse = readWorkflowHistoryResponse; exports.readWorkflowHistoryUpdated = readWorkflowHistoryUpdated; exports.readWorkflowReplayRequest = readWorkflowReplayRequest; exports.readWorkflowReplayResponse = readWorkflowReplayResponse; exports.writeActionRequest = writeActionRequest; exports.writeActionResponse = writeActionResponse; exports.writeConnection = writeConnection; exports.writeConnectionsRequest = writeConnectionsRequest; exports.writeConnectionsResponse = writeConnectionsResponse; exports.writeConnectionsUpdated = writeConnectionsUpdated; exports.writeDatabaseSchemaRequest = writeDatabaseSchemaRequest; exports.writeDatabaseSchemaResponse = writeDatabaseSchemaResponse; exports.writeDatabaseTableRowsRequest = writeDatabaseTableRowsRequest; exports.writeDatabaseTableRowsResponse = writeDatabaseTableRowsResponse; exports.writeError = writeError; exports.writeInit = writeInit; exports.writePatchStateRequest = writePatchStateRequest; exports.writeQueueMessageSummary = writeQueueMessageSummary; exports.writeQueueRequest = writeQueueRequest; exports.writeQueueResponse = writeQueueResponse; exports.writeQueueStatus = writeQueueStatus; exports.writeQueueUpdated = writeQueueUpdated; exports.writeRpcsListRequest = writeRpcsListRequest; exports.writeRpcsListResponse = writeRpcsListResponse; exports.writeState = writeState; exports.writeStateRequest = writeStateRequest; exports.writeStateResponse = writeStateResponse; exports.writeStateUpdated = writeStateUpdated; exports.writeTabConfigEntry = writeTabConfigEntry; exports.writeToClient = writeToClient; exports.writeToClientBody = writeToClientBody; exports.writeToServer = writeToServer; exports.writeToServerBody = writeToServerBody; exports.writeTraceQueryRequest = writeTraceQueryRequest; exports.writeTraceQueryResponse = writeTraceQueryResponse; exports.writeWorkflowHistory = writeWorkflowHistory; exports.writeWorkflowHistoryRequest = writeWorkflowHistoryRequest; exports.writeWorkflowHistoryResponse = writeWorkflowHistoryResponse; exports.writeWorkflowHistoryUpdated = writeWorkflowHistoryUpdated; exports.writeWorkflowReplayRequest = writeWorkflowReplayRequest; exports.writeWorkflowReplayResponse = writeWorkflowReplayResponse;
799
+ exports.createWorkflowInspectorAdapter = _chunkSRT2DPN3cjs.createWorkflowInspectorAdapter; exports.decodeToClient = decodeToClient; exports.decodeToServer = decodeToServer; exports.decodeWorkflowHistoryTransport = _chunkUPOCJPEQcjs.decodeWorkflowHistoryTransport; exports.encodeToClient = encodeToClient; exports.encodeToServer = encodeToServer; exports.encodeWorkflowHistoryTransport = _chunkUPOCJPEQcjs.encodeWorkflowHistoryTransport; exports.readActionRequest = readActionRequest; exports.readActionResponse = readActionResponse; exports.readConnection = readConnection; exports.readConnectionsRequest = readConnectionsRequest; exports.readConnectionsResponse = readConnectionsResponse; exports.readConnectionsUpdated = readConnectionsUpdated; exports.readDatabaseSchemaRequest = readDatabaseSchemaRequest; exports.readDatabaseSchemaResponse = readDatabaseSchemaResponse; exports.readDatabaseTableRowsRequest = readDatabaseTableRowsRequest; exports.readDatabaseTableRowsResponse = readDatabaseTableRowsResponse; exports.readError = readError; exports.readInit = readInit; exports.readPatchStateRequest = readPatchStateRequest; exports.readQueueMessageSummary = readQueueMessageSummary; exports.readQueueRequest = readQueueRequest; exports.readQueueResponse = readQueueResponse; exports.readQueueStatus = readQueueStatus; exports.readQueueUpdated = readQueueUpdated; exports.readRpcsListRequest = readRpcsListRequest; exports.readRpcsListResponse = readRpcsListResponse; exports.readState = readState; exports.readStateRequest = readStateRequest; exports.readStateResponse = readStateResponse; exports.readStateUpdated = readStateUpdated; exports.readTabConfigEntry = readTabConfigEntry; exports.readToClient = readToClient; exports.readToClientBody = readToClientBody; exports.readToServer = readToServer; exports.readToServerBody = readToServerBody; exports.readTraceQueryRequest = readTraceQueryRequest; exports.readTraceQueryResponse = readTraceQueryResponse; exports.readWorkflowHistory = readWorkflowHistory; exports.readWorkflowHistoryRequest = readWorkflowHistoryRequest; exports.readWorkflowHistoryResponse = readWorkflowHistoryResponse; exports.readWorkflowHistoryUpdated = readWorkflowHistoryUpdated; exports.readWorkflowReplayRequest = readWorkflowReplayRequest; exports.readWorkflowReplayResponse = readWorkflowReplayResponse; exports.writeActionRequest = writeActionRequest; exports.writeActionResponse = writeActionResponse; exports.writeConnection = writeConnection; exports.writeConnectionsRequest = writeConnectionsRequest; exports.writeConnectionsResponse = writeConnectionsResponse; exports.writeConnectionsUpdated = writeConnectionsUpdated; exports.writeDatabaseSchemaRequest = writeDatabaseSchemaRequest; exports.writeDatabaseSchemaResponse = writeDatabaseSchemaResponse; exports.writeDatabaseTableRowsRequest = writeDatabaseTableRowsRequest; exports.writeDatabaseTableRowsResponse = writeDatabaseTableRowsResponse; exports.writeError = writeError; exports.writeInit = writeInit; exports.writePatchStateRequest = writePatchStateRequest; exports.writeQueueMessageSummary = writeQueueMessageSummary; exports.writeQueueRequest = writeQueueRequest; exports.writeQueueResponse = writeQueueResponse; exports.writeQueueStatus = writeQueueStatus; exports.writeQueueUpdated = writeQueueUpdated; exports.writeRpcsListRequest = writeRpcsListRequest; exports.writeRpcsListResponse = writeRpcsListResponse; exports.writeState = writeState; exports.writeStateRequest = writeStateRequest; exports.writeStateResponse = writeStateResponse; exports.writeStateUpdated = writeStateUpdated; exports.writeTabConfigEntry = writeTabConfigEntry; exports.writeToClient = writeToClient; exports.writeToClientBody = writeToClientBody; exports.writeToServer = writeToServer; exports.writeToServerBody = writeToServerBody; exports.writeTraceQueryRequest = writeTraceQueryRequest; exports.writeTraceQueryResponse = writeTraceQueryResponse; exports.writeWorkflowHistory = writeWorkflowHistory; exports.writeWorkflowHistoryRequest = writeWorkflowHistoryRequest; exports.writeWorkflowHistoryResponse = writeWorkflowHistoryResponse; exports.writeWorkflowHistoryUpdated = writeWorkflowHistoryUpdated; exports.writeWorkflowReplayRequest = writeWorkflowReplayRequest; exports.writeWorkflowReplayResponse = writeWorkflowReplayResponse;
800
800
  //# sourceMappingURL=mod.cjs.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  createWorkflowInspectorAdapter
3
- } from "../chunk-OUIOGTEL.js";
3
+ } from "../chunk-H4XOUVGP.js";
4
4
  import {
5
5
  decodeWorkflowHistoryTransport,
6
6
  encodeWorkflowHistoryTransport
7
- } from "../chunk-QRPFFGZB.js";
8
- import "../chunk-URLGKL2B.js";
9
- import "../chunk-VPKNVMUA.js";
7
+ } from "../chunk-GXW3VFJQ.js";
8
+ import "../chunk-W6WPKZ6I.js";
9
+ import "../chunk-M7DCRMOZ.js";
10
10
  import "../chunk-ZZ3WBRPD.js";
11
11
 
12
12
  // src/common/bare/generated/inspector/v5.ts
package/dist/tsup/mod.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } var _class; var _class2; var _class3;
2
2
 
3
- var _chunkLIZO2BE3cjs = require('./chunk-LIZO2BE3.cjs');
3
+ var _chunkUPOCJPEQcjs = require('./chunk-UPOCJPEQ.cjs');
4
4
 
5
5
 
6
6
 
@@ -20,7 +20,7 @@ var _chunk3MHDOUD7cjs = require('./chunk-3MHDOUD7.cjs');
20
20
 
21
21
 
22
22
 
23
- var _chunkQ3DY23PNcjs = require('./chunk-Q3DY23PN.cjs');
23
+ var _chunk7X4M7ZRAcjs = require('./chunk-7X4M7ZRA.cjs');
24
24
 
25
25
 
26
26
 
@@ -33,8 +33,8 @@ var _chunkVE2X4KMGcjs = require('./chunk-VE2X4KMG.cjs');
33
33
 
34
34
 
35
35
 
36
- var _chunkQIRZKXPNcjs = require('./chunk-QIRZKXPN.cjs');
37
- require('./chunk-GRXM3FQX.cjs');
36
+ var _chunkZ7PSQWMCcjs = require('./chunk-Z7PSQWMC.cjs');
37
+ require('./chunk-3SNFA373.cjs');
38
38
 
39
39
 
40
40
 
@@ -64,7 +64,7 @@ require('./chunk-GRXM3FQX.cjs');
64
64
 
65
65
 
66
66
 
67
- var _chunkSNTYTMHEcjs = require('./chunk-SNTYTMHE.cjs');
67
+ var _chunkQ7NBMTF3cjs = require('./chunk-Q7NBMTF3.cjs');
68
68
 
69
69
 
70
70
 
@@ -81,7 +81,7 @@ require('./chunk-ZA7FLHKH.cjs');
81
81
 
82
82
  // src/actor/log.ts
83
83
  function loggerWithoutContext() {
84
- return _chunkSNTYTMHEcjs.getLogger.call(void 0, "actor-runtime");
84
+ return _chunkQ7NBMTF3cjs.getLogger.call(void 0, "actor-runtime");
85
85
  }
86
86
 
87
87
  // src/actor/definition.ts
@@ -213,7 +213,7 @@ function validateSchemaSync(schemas, key, data) {
213
213
  var _virtualwebsocket = require('@rivetkit/virtual-websocket');
214
214
  var _ws = require('hono/ws');
215
215
  function logger() {
216
- return _chunkSNTYTMHEcjs.getLogger.call(void 0, "inline-websocket-adapter");
216
+ return _chunkQ7NBMTF3cjs.getLogger.call(void 0, "inline-websocket-adapter");
217
217
  }
218
218
  var InlineWebSocketAdapter = class {
219
219
  #handler;
@@ -384,7 +384,7 @@ function isLocalEngineEndpoint(endpoint) {
384
384
 
385
385
  // src/registry/log.ts
386
386
  function logger2() {
387
- return _chunkSNTYTMHEcjs.getLogger.call(void 0, "registry");
387
+ return _chunkQ7NBMTF3cjs.getLogger.call(void 0, "registry");
388
388
  }
389
389
 
390
390
  // src/serverless/configure.ts
@@ -430,8 +430,8 @@ async function configureServerlessPool(config) {
430
430
  );
431
431
  }
432
432
  const customConfig = config.configurePool;
433
- const clientConfig = _chunkQ3DY23PNcjs.convertRegistryConfigToClientConfig.call(void 0, config);
434
- const dcsRes = await _chunkQ3DY23PNcjs.getDatacenters.call(void 0, clientConfig);
433
+ const clientConfig = _chunk7X4M7ZRAcjs.convertRegistryConfigToClientConfig.call(void 0, config);
434
+ const dcsRes = await _chunk7X4M7ZRAcjs.getDatacenters.call(void 0, clientConfig);
435
435
  const poolName = _nullishCoalesce(customConfig.name, () => ( "default"));
436
436
  const serverlessToken = _nullishCoalesce(config.token, () => ( config.publicToken));
437
437
  const headers = {
@@ -453,7 +453,7 @@ async function configureServerlessPool(config) {
453
453
  metadata: _nullishCoalesce(customConfig.metadata, () => ( {})),
454
454
  drain_on_version_upgrade: _nullishCoalesce(customConfig.drainOnVersionUpgrade, () => ( true))
455
455
  };
456
- await _chunkQ3DY23PNcjs.updateRunnerConfig.call(void 0, clientConfig, poolName, {
456
+ await _chunk7X4M7ZRAcjs.updateRunnerConfig.call(void 0, clientConfig, poolName, {
457
457
  datacenters: Object.fromEntries(
458
458
  dcsRes.datacenters.map((dc) => [dc.name, serverlessConfig])
459
459
  )
@@ -470,7 +470,7 @@ async function configureServerlessPool(config) {
470
470
  logger2().warn({
471
471
  msg: "serverless pool configuration attempt failed",
472
472
  attempts,
473
- error: _chunkSNTYTMHEcjs.stringifyError.call(void 0, error)
473
+ error: _chunkQ7NBMTF3cjs.stringifyError.call(void 0, error)
474
474
  });
475
475
  await sleep(CONFIGURE_RETRY_DELAY_MS);
476
476
  }
@@ -478,7 +478,7 @@ async function configureServerlessPool(config) {
478
478
  logger2().error({
479
479
  msg: "failed to configure serverless pool, validate endpoint is configured correctly then restart this process",
480
480
  attempts,
481
- error: _chunkSNTYTMHEcjs.stringifyError.call(void 0, lastError)
481
+ error: _chunkQ7NBMTF3cjs.stringifyError.call(void 0, lastError)
482
482
  });
483
483
  throw lastError;
484
484
  }
@@ -490,20 +490,20 @@ var _zod = require('zod');
490
490
  var _v4 = require('zod/v4');
491
491
  var warnedMissingVersion = false;
492
492
  var EnvoyConfigSchema = _v4.z.object({
493
- poolName: _v4.z.string().default(() => _nullishCoalesce(_chunkSNTYTMHEcjs.getRivetPool.call(void 0, ), () => ( "default"))),
493
+ poolName: _v4.z.string().default(() => _nullishCoalesce(_chunkQ7NBMTF3cjs.getRivetPool.call(void 0, ), () => ( "default"))),
494
494
  version: _v4.z.number().default(() => {
495
- const version = _chunkSNTYTMHEcjs.getRivetEnvoyVersion.call(void 0, );
495
+ const version = _chunkQ7NBMTF3cjs.getRivetEnvoyVersion.call(void 0, );
496
496
  if (version !== void 0) return version;
497
- if (_chunkSNTYTMHEcjs.getNodeEnv.call(void 0, ) === "production" && !warnedMissingVersion) {
497
+ if (_chunkQ7NBMTF3cjs.getNodeEnv.call(void 0, ) === "production" && !warnedMissingVersion) {
498
498
  warnedMissingVersion = true;
499
- _chunkSNTYTMHEcjs.getLogger.call(void 0, "rivetkit").error(
499
+ _chunkQ7NBMTF3cjs.getLogger.call(void 0, "rivetkit").error(
500
500
  "RIVET_ENVOY_VERSION is not set. Actors will not be versioned, which means they won't be drained on deploy. This is only needed when self-hosting or using a custom envoy (not needed for Rivet Compute). Set this as a build arg in your Dockerfile. See https://rivet.dev/docs/actors/versions"
501
501
  );
502
502
  }
503
503
  return 1;
504
504
  }),
505
505
  // Deprecated.
506
- totalSlots: _v4.z.number().default(() => _nullishCoalesce(_chunkSNTYTMHEcjs.getRivetTotalSlots.call(void 0, ), () => ( 1e5))),
506
+ totalSlots: _v4.z.number().default(() => _nullishCoalesce(_chunkQ7NBMTF3cjs.getRivetTotalSlots.call(void 0, ), () => ( 1e5))),
507
507
  envoyKey: _v4.z.string().optional()
508
508
  });
509
509
 
@@ -541,7 +541,7 @@ var ServerlessConfigSchema = _v4.z.object({
541
541
  *
542
542
  * Can also be set via RIVET_PUBLIC_ENDPOINT environment variable.
543
543
  */
544
- publicEndpoint: _v4.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkSNTYTMHEcjs.getRivetPublicEndpoint.call(void 0, )))),
544
+ publicEndpoint: _v4.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkQ7NBMTF3cjs.getRivetPublicEndpoint.call(void 0, )))),
545
545
  /**
546
546
  * Token that clients should use when connecting via the public endpoint.
547
547
  *
@@ -549,7 +549,7 @@ var ServerlessConfigSchema = _v4.z.object({
549
549
  *
550
550
  * Can also be specified in the publicEndpoint URL as `https://namespace:token@host`.
551
551
  */
552
- publicToken: _v4.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkSNTYTMHEcjs.getRivetPublicToken.call(void 0, ))))
552
+ publicToken: _v4.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkQ7NBMTF3cjs.getRivetPublicToken.call(void 0, ))))
553
553
  // There is no publicNamespace config option because the frontend and backend
554
554
  // cannot use different namespaces. The namespace is extracted from the
555
555
  // publicEndpoint URL auth syntax if provided.
@@ -603,7 +603,7 @@ var RegistryConfigSchema = _zod.z.object({
603
603
  * Runtime binding to use for RivetKit core.
604
604
  * */
605
605
  runtime: RuntimeKindSchema.optional().transform((val, ctx) => {
606
- const rawRuntime = _nullishCoalesce(val, () => ( _chunkSNTYTMHEcjs.getRivetkitRuntime.call(void 0, )));
606
+ const rawRuntime = _nullishCoalesce(val, () => ( _chunkQ7NBMTF3cjs.getRivetkitRuntime.call(void 0, )));
607
607
  if (rawRuntime === void 0) {
608
608
  return "auto";
609
609
  }
@@ -640,7 +640,7 @@ var RegistryConfigSchema = _zod.z.object({
640
640
  * */
641
641
  logging: _zod.z.object({
642
642
  baseLogger: _zod.z.custom().optional(),
643
- level: _chunkSNTYTMHEcjs.LogLevelSchema.optional()
643
+ level: _chunkQ7NBMTF3cjs.LogLevelSchema.optional()
644
644
  }).optional().default(() => ({})),
645
645
  // MARK: Routing
646
646
  // // This is a function to allow for lazy configuration of upgradeWebSocket on the
@@ -658,9 +658,9 @@ var RegistryConfigSchema = _zod.z.object({
658
658
  *
659
659
  * Can also be set via RIVET_ENDPOINT environment variables.
660
660
  */
661
- endpoint: _zod.z.string().optional().transform((val) => _nullishCoalesce(_nullishCoalesce(val, () => ( _chunkSNTYTMHEcjs.getRivetEngine.call(void 0, ))), () => ( _chunkSNTYTMHEcjs.getRivetEndpoint.call(void 0, )))),
662
- token: _zod.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkSNTYTMHEcjs.getRivetToken.call(void 0, )))),
663
- namespace: _zod.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkSNTYTMHEcjs.getRivetNamespace.call(void 0, )))),
661
+ endpoint: _zod.z.string().optional().transform((val) => _nullishCoalesce(_nullishCoalesce(val, () => ( _chunkQ7NBMTF3cjs.getRivetEngine.call(void 0, ))), () => ( _chunkQ7NBMTF3cjs.getRivetEndpoint.call(void 0, )))),
662
+ token: _zod.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkQ7NBMTF3cjs.getRivetToken.call(void 0, )))),
663
+ namespace: _zod.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkQ7NBMTF3cjs.getRivetNamespace.call(void 0, )))),
664
664
  headers: _zod.z.record(_zod.z.string(), _zod.z.string()).optional().default({}),
665
665
  // MARK: Client
666
666
  // TODO:
@@ -700,21 +700,21 @@ var RegistryConfigSchema = _zod.z.object({
700
700
  *
701
701
  * Starts the full Rust engine process locally.
702
702
  */
703
- startEngine: _zod.z.boolean().default(() => _chunkSNTYTMHEcjs.getRivetRunEngine.call(void 0, )),
703
+ startEngine: _zod.z.boolean().default(() => _chunkQ7NBMTF3cjs.getRivetRunEngine.call(void 0, )),
704
704
  /**
705
705
  * @experimental
706
706
  *
707
707
  * Host to bind the spawned local engine process to.
708
708
  */
709
- engineHost: _zod.z.string().optional().default(() => _nullishCoalesce(_chunkSNTYTMHEcjs.getRivetRunEngineHost.call(void 0, ), () => ( ENGINE_HOST))),
709
+ engineHost: _zod.z.string().optional().default(() => _nullishCoalesce(_chunkQ7NBMTF3cjs.getRivetRunEngineHost.call(void 0, ), () => ( ENGINE_HOST))),
710
710
  /**
711
711
  * @experimental
712
712
  *
713
713
  * Port to bind the spawned local engine process to.
714
714
  */
715
- enginePort: _zod.z.number().int().min(1).max(65535).optional().default(() => _nullishCoalesce(_chunkSNTYTMHEcjs.getRivetRunEnginePort.call(void 0, ), () => ( ENGINE_PORT))),
715
+ enginePort: _zod.z.number().int().min(1).max(65535).optional().default(() => _nullishCoalesce(_chunkQ7NBMTF3cjs.getRivetRunEnginePort.call(void 0, ), () => ( ENGINE_PORT))),
716
716
  /** @experimental */
717
- engineVersion: _zod.z.string().optional().default(() => _nullishCoalesce(_chunkSNTYTMHEcjs.getRivetRunEngineVersion.call(void 0, ), () => ( _chunkSNTYTMHEcjs.VERSION))),
717
+ engineVersion: _zod.z.string().optional().default(() => _nullishCoalesce(_chunkQ7NBMTF3cjs.getRivetRunEngineVersion.call(void 0, ), () => ( _chunkQ7NBMTF3cjs.VERSION))),
718
718
  /**
719
719
  * @experimental
720
720
  *
@@ -762,7 +762,7 @@ var RegistryConfigSchema = _zod.z.object({
762
762
  }))
763
763
  }).transform((config, ctx) => {
764
764
  var _a, _b, _c;
765
- const isDevEnv = _chunkSNTYTMHEcjs.isDev.call(void 0, );
765
+ const isDevEnv = _chunkQ7NBMTF3cjs.isDev.call(void 0, );
766
766
  const sqliteBackend = _nullishCoalesce(((_a = config.sqlite) == null ? void 0 : _a.backend), () => ( ((_b = config.test) == null ? void 0 : _b.sqliteBackend)));
767
767
  if (config.runtime === "wasm" && sqliteBackend === "local") {
768
768
  ctx.addIssue({
@@ -772,7 +772,7 @@ var RegistryConfigSchema = _zod.z.object({
772
772
  });
773
773
  }
774
774
  const sqlite = config.runtime === "wasm" && config.sqlite === void 0 ? { backend: "remote" } : config.sqlite;
775
- const parsedEndpoint = config.endpoint ? _chunkQ3DY23PNcjs.tryParseEndpoint.call(void 0, ctx, {
775
+ const parsedEndpoint = config.endpoint ? _chunk7X4M7ZRAcjs.tryParseEndpoint.call(void 0, ctx, {
776
776
  endpoint: config.endpoint,
777
777
  path: ["endpoint"],
778
778
  namespace: config.namespace,
@@ -800,7 +800,7 @@ var RegistryConfigSchema = _zod.z.object({
800
800
  );
801
801
  const namespace = _nullishCoalesce(_nullishCoalesce((parsedEndpoint == null ? void 0 : parsedEndpoint.namespace), () => ( config.namespace)), () => ( "default"));
802
802
  const token = _nullishCoalesce((parsedEndpoint == null ? void 0 : parsedEndpoint.token), () => ( config.token));
803
- const parsedPublicEndpoint = config.serverless.publicEndpoint ? _chunkQ3DY23PNcjs.tryParseEndpoint.call(void 0, ctx, {
803
+ const parsedPublicEndpoint = config.serverless.publicEndpoint ? _chunk7X4M7ZRAcjs.tryParseEndpoint.call(void 0, ctx, {
804
804
  endpoint: config.serverless.publicEndpoint,
805
805
  path: ["serverless", "publicEndpoint"]
806
806
  }) : void 0;
@@ -928,7 +928,7 @@ var DocRegistryConfigSchema = _zod.z.object({
928
928
  noWelcome: _zod.z.boolean().optional().describe("Disable the welcome message on startup. Default: false"),
929
929
  sqlite: DocSqliteConfigSchema,
930
930
  logging: _zod.z.object({
931
- level: _chunkSNTYTMHEcjs.LogLevelSchema.optional().describe(
931
+ level: _chunkQ7NBMTF3cjs.LogLevelSchema.optional().describe(
932
932
  "Log level for RivetKit. Default: 'warn'"
933
933
  )
934
934
  }).optional().describe("Logging configuration."),
@@ -2658,7 +2658,7 @@ async function cleanupNativeSleepRuntimeState(runtime, ctx, afterTrackedWorkDrai
2658
2658
  }).catch((error) => {
2659
2659
  logger2().warn({
2660
2660
  msg: "deferred native sleep cleanup failed",
2661
- error: _chunkSNTYTMHEcjs.stringifyError.call(void 0, error)
2661
+ error: _chunkQ7NBMTF3cjs.stringifyError.call(void 0, error)
2662
2662
  });
2663
2663
  });
2664
2664
  return;
@@ -2768,10 +2768,10 @@ function decodeValue(value) {
2768
2768
  if (!value || value.length === 0) {
2769
2769
  return void 0;
2770
2770
  }
2771
- return _chunkQIRZKXPNcjs.decodeCborCompat.call(void 0, value);
2771
+ return _chunkZ7PSQWMCcjs.decodeCborCompat.call(void 0, value);
2772
2772
  }
2773
2773
  function encodeValue(value) {
2774
- return _chunkQIRZKXPNcjs.encodeCborCompat.call(void 0, value);
2774
+ return _chunkZ7PSQWMCcjs.encodeCborCompat.call(void 0, value);
2775
2775
  }
2776
2776
  function normalizeArgs(value) {
2777
2777
  return Array.isArray(value) ? value : value === void 0 || value === null ? [] : [value];
@@ -2807,7 +2807,7 @@ function isStructuredBridgeError(error) {
2807
2807
  return _chunk4FC7TVS6cjs.isRivetErrorLike.call(void 0, error) && "__type" in error && (error.__type === "RivetError" || error.__type === "ActorError");
2808
2808
  }
2809
2809
  function encodeNativeCallbackError(error) {
2810
- const structuredError = isStructuredBridgeError(error) ? error : _chunkSNTYTMHEcjs.deconstructError.call(void 0, error, true);
2810
+ const structuredError = isStructuredBridgeError(error) ? error : _chunkQ7NBMTF3cjs.deconstructError.call(void 0, error, true);
2811
2811
  const bridgeError = new Error(_chunk4FC7TVS6cjs.encodeBridgeRivetError.call(void 0, structuredError), {
2812
2812
  cause: error instanceof Error ? error : void 0
2813
2813
  });
@@ -2857,7 +2857,7 @@ function decodeWorkflowCbor(data) {
2857
2857
  return null;
2858
2858
  }
2859
2859
  try {
2860
- return _chunkQIRZKXPNcjs.decodeCborCompat.call(void 0, new Uint8Array(data));
2860
+ return _chunkZ7PSQWMCcjs.decodeCborCompat.call(void 0, new Uint8Array(data));
2861
2861
  } catch (e4) {
2862
2862
  return null;
2863
2863
  }
@@ -2970,7 +2970,7 @@ function serializeWorkflowHistoryForJson(data) {
2970
2970
  if (data === null) {
2971
2971
  return null;
2972
2972
  }
2973
- const history = _chunkLIZO2BE3cjs.decodeWorkflowHistoryTransport.call(void 0, data);
2973
+ const history = _chunkUPOCJPEQcjs.decodeWorkflowHistoryTransport.call(void 0, data);
2974
2974
  return jsonSafe({
2975
2975
  nameRegistry: [...history.nameRegistry],
2976
2976
  entries: history.entries.map((entry) => ({
@@ -3111,12 +3111,12 @@ var NativeConnAdapter = class {
3111
3111
  this.#writeState(nextValue, { writeNative: true });
3112
3112
  },
3113
3113
  (newValue) => {
3114
- _chunkQIRZKXPNcjs.assertJsonCompatValue.call(void 0, newValue);
3114
+ _chunkZ7PSQWMCcjs.assertJsonCompatValue.call(void 0, newValue);
3115
3115
  }
3116
3116
  );
3117
3117
  }
3118
3118
  set state(value) {
3119
- _chunkQIRZKXPNcjs.assertJsonCompatValue.call(void 0, value);
3119
+ _chunkZ7PSQWMCcjs.assertJsonCompatValue.call(void 0, value);
3120
3120
  this.#writeState(value, { writeNative: true });
3121
3121
  }
3122
3122
  initializeState(value) {
@@ -4066,7 +4066,7 @@ var ActorContextHandleAdapter = class {
4066
4066
  },
4067
4067
  (newValue) => {
4068
4068
  this.#assertCanMutateState();
4069
- _chunkQIRZKXPNcjs.assertJsonCompatValue.call(void 0, newValue);
4069
+ _chunkZ7PSQWMCcjs.assertJsonCompatValue.call(void 0, newValue);
4070
4070
  }
4071
4071
  );
4072
4072
  }
@@ -4077,7 +4077,7 @@ var ActorContextHandleAdapter = class {
4077
4077
  throw stateNotEnabledError();
4078
4078
  }
4079
4079
  this.#assertCanMutateState();
4080
- _chunkQIRZKXPNcjs.assertJsonCompatValue.call(void 0, value);
4080
+ _chunkZ7PSQWMCcjs.assertJsonCompatValue.call(void 0, value);
4081
4081
  this.#writeState(value, { scheduleSave: true });
4082
4082
  }
4083
4083
  initializeState(value) {
@@ -4342,7 +4342,7 @@ var ActorContextHandleAdapter = class {
4342
4342
  const trackedPromise = Promise.resolve(promise).catch((error) => {
4343
4343
  logger2().warn({
4344
4344
  msg: "keepAwake promise rejected",
4345
- error: _chunkSNTYTMHEcjs.stringifyError.call(void 0, error)
4345
+ error: _chunkQ7NBMTF3cjs.stringifyError.call(void 0, error)
4346
4346
  });
4347
4347
  }).then(() => null);
4348
4348
  try {
@@ -4797,9 +4797,9 @@ function buildNativeFactory(runtime, registryConfig, definition) {
4797
4797
  const actionHandlers = Object.fromEntries(
4798
4798
  Object.entries(_nullishCoalesce(config.actions, () => ( {}))).map(([name, handler]) => [name, handler])
4799
4799
  );
4800
- const createClient = () => _chunkQ3DY23PNcjs.createClientWithDriver.call(void 0,
4801
- new (0, _chunkQ3DY23PNcjs.RemoteEngineControlClient)(
4802
- _chunkQ3DY23PNcjs.convertRegistryConfigToClientConfig.call(void 0, registryConfig)
4800
+ const createClient = () => _chunk7X4M7ZRAcjs.createClientWithDriver.call(void 0,
4801
+ new (0, _chunk7X4M7ZRAcjs.RemoteEngineControlClient)(
4802
+ _chunk7X4M7ZRAcjs.convertRegistryConfigToClientConfig.call(void 0, registryConfig)
4803
4803
  ),
4804
4804
  { encoding: "bare" }
4805
4805
  );
@@ -4982,7 +4982,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
4982
4982
  400
4983
4983
  );
4984
4984
  }
4985
- const cbor = _chunkQIRZKXPNcjs.encodeCborCompat.call(void 0, _nullishCoalesce(body.body, () => ( null)));
4985
+ const cbor = _chunkZ7PSQWMCcjs.encodeCborCompat.call(void 0, _nullishCoalesce(body.body, () => ( null)));
4986
4986
  const message = await runtime.actorQueueSend(ctx, name, cbor);
4987
4987
  return jsonResponse({
4988
4988
  id: message.id().toString(),
@@ -5562,7 +5562,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
5562
5562
  new Response(null, { status: 404 })
5563
5563
  );
5564
5564
  }
5565
- const rawConnParams = jsRequest.headers.get(_chunkQ3DY23PNcjs.HEADER_CONN_PARAMS);
5565
+ const rawConnParams = jsRequest.headers.get(_chunk7X4M7ZRAcjs.HEADER_CONN_PARAMS);
5566
5566
  let requestCtx;
5567
5567
  let conn;
5568
5568
  try {
@@ -5789,7 +5789,7 @@ async function buildServeConfig(config) {
5789
5789
  poolName: config.envoy.poolName,
5790
5790
  handleInspectorHttpInRuntime: true,
5791
5791
  serverlessBasePath: config.serverless.basePath,
5792
- serverlessPackageVersion: _chunkSNTYTMHEcjs.VERSION,
5792
+ serverlessPackageVersion: _chunkQ7NBMTF3cjs.VERSION,
5793
5793
  serverlessClientEndpoint: config.publicEndpoint,
5794
5794
  serverlessClientNamespace: config.publicNamespace,
5795
5795
  serverlessClientToken: config.publicToken,
@@ -5802,19 +5802,19 @@ async function buildServeConfig(config) {
5802
5802
  } catch (error) {
5803
5803
  logger2().warn({
5804
5804
  msg: "could not resolve a local engine binary; if a local engine must be spawned it will fail with engine.binary_unavailable \u2014 set RIVET_ENGINE_BINARY_PATH or install the @rivetkit/engine-cli platform package",
5805
- error: _chunkSNTYTMHEcjs.stringifyError.call(void 0, error)
5805
+ error: _chunkQ7NBMTF3cjs.stringifyError.call(void 0, error)
5806
5806
  });
5807
5807
  }
5808
5808
  serveConfig.engineHost = config.engineHost;
5809
5809
  serveConfig.enginePort = config.enginePort;
5810
5810
  if ((_a = config.test) == null ? void 0 : _a.enabled) {
5811
- serveConfig.inspectorTestToken = _nullishCoalesce(_chunkSNTYTMHEcjs.getEnvUniversal.call(void 0, "_RIVET_TEST_INSPECTOR_TOKEN"), () => ( "token"));
5811
+ serveConfig.inspectorTestToken = _nullishCoalesce(_chunkQ7NBMTF3cjs.getEnvUniversal.call(void 0, "_RIVET_TEST_INSPECTOR_TOKEN"), () => ( "token"));
5812
5812
  }
5813
5813
  return serveConfig;
5814
5814
  }
5815
5815
  async function buildRegistryWithRuntime(config, runtime) {
5816
5816
  var _a;
5817
- if (((_a = config.test) == null ? void 0 : _a.enabled) && _chunkSNTYTMHEcjs.getEnvUniversal.call(void 0, "_RIVET_TEST_INSPECTOR_TOKEN") === void 0) {
5817
+ if (((_a = config.test) == null ? void 0 : _a.enabled) && _chunkQ7NBMTF3cjs.getEnvUniversal.call(void 0, "_RIVET_TEST_INSPECTOR_TOKEN") === void 0) {
5818
5818
  trySetProcessEnv("_RIVET_TEST_INSPECTOR_TOKEN", "token");
5819
5819
  }
5820
5820
  if (runtime.kind === "napi") {
@@ -5879,7 +5879,7 @@ var Registry = class {
5879
5879
  var _a;
5880
5880
  this.#config = config;
5881
5881
  if ((_a = config.logging) == null ? void 0 : _a.baseLogger) {
5882
- _chunkSNTYTMHEcjs.configureBaseLogger.call(void 0, config.logging.baseLogger);
5882
+ _chunkQ7NBMTF3cjs.configureBaseLogger.call(void 0, config.logging.baseLogger);
5883
5883
  }
5884
5884
  this.#buildConfiguredRegistry = _nullishCoalesce((deps == null ? void 0 : deps.buildConfiguredRegistry), () => ( buildConfiguredRegistry));
5885
5885
  this.routes = {
@@ -6103,8 +6103,8 @@ var Registry = class {
6103
6103
  * ```
6104
6104
  */
6105
6105
  async listen(opts = {}) {
6106
- const port = _nullishCoalesce(_nullishCoalesce(opts.port, () => ( _chunkSNTYTMHEcjs.parsePortEnv.call(void 0, process.env.RIVET_PORT))), () => ( 3e3));
6107
- const publicDir = _nullishCoalesce(opts.publicDir, () => ( _chunkSNTYTMHEcjs.getRivetkitPublicDir.call(void 0, )));
6106
+ const port = _nullishCoalesce(_nullishCoalesce(opts.port, () => ( _chunkQ7NBMTF3cjs.parsePortEnv.call(void 0, process.env.RIVET_PORT))), () => ( 3e3));
6107
+ const publicDir = _nullishCoalesce(opts.publicDir, () => ( _chunkQ7NBMTF3cjs.getRivetkitPublicDir.call(void 0, )));
6108
6108
  const config = this.parseConfig();
6109
6109
  const configuredRegistryPromise = buildConfiguredRegistry(config);
6110
6110
  this.#runtimeServeConfiguredPromise = configuredRegistryPromise;
@@ -6132,7 +6132,7 @@ var Registry = class {
6132
6132
  return jsonRouteResponse(503, {
6133
6133
  status: "not_started",
6134
6134
  runtime: "rivetkit",
6135
- version: _chunkSNTYTMHEcjs.VERSION
6135
+ version: _chunkQ7NBMTF3cjs.VERSION
6136
6136
  });
6137
6137
  }
6138
6138
  const { runtime, registry } = configured;
@@ -6140,7 +6140,7 @@ var Registry = class {
6140
6140
  return jsonRouteResponse(501, {
6141
6141
  status: "unsupported",
6142
6142
  runtime: "rivetkit",
6143
- version: _chunkSNTYTMHEcjs.VERSION
6143
+ version: _chunkQ7NBMTF3cjs.VERSION
6144
6144
  });
6145
6145
  }
6146
6146
  const response = await runtime.registryHealth(registry);
@@ -6378,8 +6378,8 @@ var Registry = class {
6378
6378
  * ```
6379
6379
  */
6380
6380
  start() {
6381
- if (_chunkSNTYTMHEcjs.getRivetkitRuntimeMode.call(void 0, ) === "serverless") {
6382
- const publicDir = _nullishCoalesce(_chunkSNTYTMHEcjs.getRivetkitPublicDir.call(void 0, ), () => ( "/public"));
6381
+ if (_chunkQ7NBMTF3cjs.getRivetkitRuntimeMode.call(void 0, ) === "serverless") {
6382
+ const publicDir = _nullishCoalesce(_chunkQ7NBMTF3cjs.getRivetkitPublicDir.call(void 0, ), () => ( "/public"));
6383
6383
  this.listen({ publicDir }).catch((error) => {
6384
6384
  logger2().error({ error }, "auto-listen failed; exiting");
6385
6385
  if (typeof process !== "undefined" && typeof process.exit === "function") {
@@ -6400,7 +6400,7 @@ var Registry = class {
6400
6400
  };
6401
6401
  console.log();
6402
6402
  console.log(
6403
- ` RivetKit ${_chunkSNTYTMHEcjs.VERSION} (Engine - ${kind === "serverless" ? "Serverless" : "Serverful"})`
6403
+ ` RivetKit ${_chunkQ7NBMTF3cjs.VERSION} (Engine - ${kind === "serverless" ? "Serverless" : "Serverful"})`
6404
6404
  );
6405
6405
  if (config.namespace !== "default") {
6406
6406
  logLine("Namespace", config.namespace);
@@ -6475,5 +6475,5 @@ function setup(input) {
6475
6475
 
6476
6476
 
6477
6477
 
6478
- exports.ALLOWED_PUBLIC_HEADERS = _chunkQ3DY23PNcjs.ALLOWED_PUBLIC_HEADERS; exports.ActorDefinition = ActorDefinition; exports.ActorError = _chunk4FC7TVS6cjs.RivetError; exports.ActorsSchema = ActorsSchema; exports.DocConfigurePoolSchema = DocConfigurePoolSchema; exports.DocEnvoyConfigSchema = DocEnvoyConfigSchema; exports.DocRegistryConfigSchema = DocRegistryConfigSchema; exports.DocServerlessConfigSchema = DocServerlessConfigSchema; exports.DocSqliteConfigSchema = DocSqliteConfigSchema; exports.InlineWebSocketAdapter = InlineWebSocketAdapter; exports.Registry = Registry; exports.RegistryConfigSchema = RegistryConfigSchema; exports.RivetError = _chunk4FC7TVS6cjs.RivetError; exports.RuntimeKindSchema = RuntimeKindSchema; exports.SqliteBackendSchema = SqliteBackendSchema; exports.SqliteConfigSchema = SqliteConfigSchema; exports.TestConfigSchema = TestConfigSchema; exports.UserError = _chunk4FC7TVS6cjs.UserError; exports.WasmRuntimeConfigSchema = WasmRuntimeConfigSchema; exports.actor = actor; exports.buildActorNames = buildActorNames; exports.createClientWithDriver = _chunkQ3DY23PNcjs.createClientWithDriver; exports.event = event; exports.isStaticActorDefinition = isStaticActorDefinition; exports.isStaticActorInstance = isStaticActorInstance; exports.lookupInRegistry = lookupInRegistry; exports.noopNext = _chunkSNTYTMHEcjs.noopNext; exports.queue = queue; exports.setup = setup; exports.toUint8Array = _chunkSNTYTMHEcjs.toUint8Array;
6478
+ exports.ALLOWED_PUBLIC_HEADERS = _chunk7X4M7ZRAcjs.ALLOWED_PUBLIC_HEADERS; exports.ActorDefinition = ActorDefinition; exports.ActorError = _chunk4FC7TVS6cjs.RivetError; exports.ActorsSchema = ActorsSchema; exports.DocConfigurePoolSchema = DocConfigurePoolSchema; exports.DocEnvoyConfigSchema = DocEnvoyConfigSchema; exports.DocRegistryConfigSchema = DocRegistryConfigSchema; exports.DocServerlessConfigSchema = DocServerlessConfigSchema; exports.DocSqliteConfigSchema = DocSqliteConfigSchema; exports.InlineWebSocketAdapter = InlineWebSocketAdapter; exports.Registry = Registry; exports.RegistryConfigSchema = RegistryConfigSchema; exports.RivetError = _chunk4FC7TVS6cjs.RivetError; exports.RuntimeKindSchema = RuntimeKindSchema; exports.SqliteBackendSchema = SqliteBackendSchema; exports.SqliteConfigSchema = SqliteConfigSchema; exports.TestConfigSchema = TestConfigSchema; exports.UserError = _chunk4FC7TVS6cjs.UserError; exports.WasmRuntimeConfigSchema = WasmRuntimeConfigSchema; exports.actor = actor; exports.buildActorNames = buildActorNames; exports.createClientWithDriver = _chunk7X4M7ZRAcjs.createClientWithDriver; exports.event = event; exports.isStaticActorDefinition = isStaticActorDefinition; exports.isStaticActorInstance = isStaticActorInstance; exports.lookupInRegistry = lookupInRegistry; exports.noopNext = _chunkQ7NBMTF3cjs.noopNext; exports.queue = queue; exports.setup = setup; exports.toUint8Array = _chunkQ7NBMTF3cjs.toUint8Array;
6479
6479
  //# sourceMappingURL=mod.cjs.map
package/dist/tsup/mod.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  decodeWorkflowHistoryTransport
3
- } from "./chunk-QRPFFGZB.js";
3
+ } from "./chunk-GXW3VFJQ.js";
4
4
  import {
5
5
  ACTOR_CONTEXT_INTERNAL_SYMBOL,
6
6
  ActorConfigSchema,
@@ -20,7 +20,7 @@ import {
20
20
  getDatacenters,
21
21
  tryParseEndpoint,
22
22
  updateRunnerConfig
23
- } from "./chunk-ZEBW32PT.js";
23
+ } from "./chunk-CMPFZ724.js";
24
24
  import {
25
25
  KEYS,
26
26
  makePrefixedKey,
@@ -33,8 +33,8 @@ import {
33
33
  assertJsonCompatValue,
34
34
  decodeCborCompat,
35
35
  encodeCborCompat
36
- } from "./chunk-URLGKL2B.js";
37
- import "./chunk-CLQHFXG3.js";
36
+ } from "./chunk-W6WPKZ6I.js";
37
+ import "./chunk-EOSGY3DC.js";
38
38
  import {
39
39
  LogLevelSchema,
40
40
  VERSION,
@@ -64,7 +64,7 @@ import {
64
64
  parsePortEnv,
65
65
  stringifyError,
66
66
  toUint8Array
67
- } from "./chunk-VPKNVMUA.js";
67
+ } from "./chunk-M7DCRMOZ.js";
68
68
  import {
69
69
  INTERNAL_ERROR_CODE,
70
70
  RivetError,
@@ -1,26 +1,26 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
2
 
3
- var _chunkQXKIL5NUcjs = require('../chunk-QXKIL5NU.cjs');
3
+ var _chunkT4MURX4Pcjs = require('../chunk-T4MURX4P.cjs');
4
4
 
5
5
 
6
6
 
7
- var _chunkQ3DY23PNcjs = require('../chunk-Q3DY23PN.cjs');
7
+ var _chunk7X4M7ZRAcjs = require('../chunk-7X4M7ZRA.cjs');
8
8
  require('../chunk-VE2X4KMG.cjs');
9
- require('../chunk-QIRZKXPN.cjs');
10
- require('../chunk-GRXM3FQX.cjs');
11
- require('../chunk-SNTYTMHE.cjs');
9
+ require('../chunk-Z7PSQWMC.cjs');
10
+ require('../chunk-3SNFA373.cjs');
11
+ require('../chunk-Q7NBMTF3.cjs');
12
12
  require('../chunk-4FC7TVS6.cjs');
13
13
  require('../chunk-ZA7FLHKH.cjs');
14
14
 
15
15
  // src/test/mod.ts
16
16
  var _pretry = require('p-retry'); var _pretry2 = _interopRequireDefault(_pretry);
17
17
  async function waitForRegistryReady(registry) {
18
- const clientConfig = _chunkQ3DY23PNcjs.convertRegistryConfigToClientConfig.call(void 0,
18
+ const clientConfig = _chunk7X4M7ZRAcjs.convertRegistryConfigToClientConfig.call(void 0,
19
19
  registry.parseConfig()
20
20
  );
21
21
  await _pretry2.default.call(void 0,
22
22
  async () => {
23
- await _chunkQ3DY23PNcjs.getMetadata.call(void 0, clientConfig);
23
+ await _chunk7X4M7ZRAcjs.getMetadata.call(void 0, clientConfig);
24
24
  },
25
25
  {
26
26
  retries: 20,
@@ -34,8 +34,8 @@ async function setupTest(c, registry) {
34
34
  registry.config.noWelcome = true;
35
35
  registry.start();
36
36
  await waitForRegistryReady(registry);
37
- const client = _chunkQXKIL5NUcjs.createClient.call(void 0, {
38
- ..._chunkQ3DY23PNcjs.convertRegistryConfigToClientConfig.call(void 0, registry.parseConfig()),
37
+ const client = _chunkT4MURX4Pcjs.createClient.call(void 0, {
38
+ ..._chunk7X4M7ZRAcjs.convertRegistryConfigToClientConfig.call(void 0, registry.parseConfig()),
39
39
  disableMetadataLookup: false
40
40
  });
41
41
  c.onTestFinished(async () => {