rivetkit 3.0.1-preview.1 → 3.0.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 (101) hide show
  1. package/dist/browser/client.d.ts +9 -0
  2. package/dist/browser/client.js +68 -8
  3. package/dist/browser/client.js.map +1 -1
  4. package/dist/browser/inspector/client.js +4 -1
  5. package/dist/browser/inspector/client.js.map +1 -1
  6. package/dist/tsup/{chunk-76EPM7XH.js → chunk-2JSFY7XD.js} +2 -2
  7. package/dist/tsup/{chunk-GD6EEIUP.cjs → chunk-3PFAODLE.cjs} +3 -3
  8. package/dist/tsup/{chunk-GD6EEIUP.cjs.map → chunk-3PFAODLE.cjs.map} +1 -1
  9. package/dist/tsup/{chunk-PC27E4VN.cjs → chunk-4VEJIK7O.cjs} +3 -3
  10. package/dist/tsup/{chunk-PC27E4VN.cjs.map → chunk-4VEJIK7O.cjs.map} +1 -1
  11. package/dist/tsup/{chunk-MPBDBG56.js → chunk-57I7SSSV.js} +4 -4
  12. package/dist/tsup/{chunk-UQGGPTAI.js → chunk-7K6MC544.js} +2 -2
  13. package/dist/tsup/{chunk-SRAILZ2U.cjs → chunk-B3MXZSPO.cjs} +204 -147
  14. package/dist/tsup/chunk-B3MXZSPO.cjs.map +1 -0
  15. package/dist/tsup/{chunk-KYSDMIRN.js → chunk-B5WDVY32.js} +9 -3
  16. package/dist/tsup/chunk-B5WDVY32.js.map +1 -0
  17. package/dist/tsup/{chunk-QGK24TS3.js → chunk-BOVQ3JQK.js} +3 -3
  18. package/dist/tsup/{chunk-W6D3WHMT.cjs → chunk-HQ5JCCK6.cjs} +7 -7
  19. package/dist/tsup/{chunk-W6D3WHMT.cjs.map → chunk-HQ5JCCK6.cjs.map} +1 -1
  20. package/dist/tsup/{chunk-33N3SX2W.js → chunk-JOCSSMLU.js} +70 -13
  21. package/dist/tsup/chunk-JOCSSMLU.js.map +1 -0
  22. package/dist/tsup/{chunk-HY2NYO2Q.cjs → chunk-LXSYHJ7E.cjs} +4 -4
  23. package/dist/tsup/{chunk-HY2NYO2Q.cjs.map → chunk-LXSYHJ7E.cjs.map} +1 -1
  24. package/dist/tsup/{chunk-CNCOY7HZ.cjs → chunk-N7V3BQUB.cjs} +10 -10
  25. package/dist/tsup/{chunk-CNCOY7HZ.cjs.map → chunk-N7V3BQUB.cjs.map} +1 -1
  26. package/dist/tsup/{chunk-6M2QCAHK.cjs → chunk-NSQWB4QD.cjs} +3 -3
  27. package/dist/tsup/{chunk-6M2QCAHK.cjs.map → chunk-NSQWB4QD.cjs.map} +1 -1
  28. package/dist/tsup/{chunk-ISCHIEBJ.js → chunk-PLZVADML.js} +2 -2
  29. package/dist/tsup/{chunk-HD2OTPZY.cjs → chunk-QI7E2UH5.cjs} +9 -3
  30. package/dist/tsup/chunk-QI7E2UH5.cjs.map +1 -0
  31. package/dist/tsup/{chunk-IHQRD4KC.js → chunk-QX7DWU46.js} +2 -2
  32. package/dist/tsup/{chunk-HDVZ6YZG.cjs → chunk-SSF2XC33.cjs} +1 -1
  33. package/dist/tsup/chunk-SSF2XC33.cjs.map +1 -0
  34. package/dist/tsup/{chunk-6FEYCVZC.js → chunk-UXDASKP6.js} +1 -1
  35. package/dist/tsup/chunk-UXDASKP6.js.map +1 -0
  36. package/dist/tsup/client/mod.cjs +5 -5
  37. package/dist/tsup/client/mod.d.cts +2 -2
  38. package/dist/tsup/client/mod.d.ts +2 -2
  39. package/dist/tsup/client/mod.js +4 -4
  40. package/dist/tsup/common/log.cjs +2 -2
  41. package/dist/tsup/common/log.js +1 -1
  42. package/dist/tsup/common/websocket.cjs +3 -3
  43. package/dist/tsup/common/websocket.js +2 -2
  44. package/dist/tsup/{config-8NgsxIcT.d.cts → config-K9uOKlok.d.cts} +2 -0
  45. package/dist/tsup/{config-DJ3KW-fe.d.ts → config-XfKwGYxx.d.ts} +2 -0
  46. package/dist/tsup/{context-BL8kUGjq.d.ts → context-Bm7mA4E3.d.ts} +1 -1
  47. package/dist/tsup/{context-_RoE_YHL.d.cts → context-CPCM-xn6.d.cts} +1 -1
  48. package/dist/tsup/db/drizzle.cjs +2 -2
  49. package/dist/tsup/db/drizzle.js +1 -1
  50. package/dist/tsup/db/mod.cjs +3 -3
  51. package/dist/tsup/db/mod.js +2 -2
  52. package/dist/tsup/dynamic/mod.cjs +2 -2
  53. package/dist/tsup/dynamic/mod.d.cts +1 -1
  54. package/dist/tsup/dynamic/mod.d.ts +1 -1
  55. package/dist/tsup/dynamic/mod.js +1 -1
  56. package/dist/tsup/inspector/mod.cjs +5 -5
  57. package/dist/tsup/inspector/mod.js +4 -4
  58. package/dist/tsup/inspector/workflow.cjs +4 -4
  59. package/dist/tsup/inspector/workflow.js +3 -3
  60. package/dist/tsup/inspector-tab/mod.cjs +2 -2
  61. package/dist/tsup/inspector-tab/mod.d.cts +2 -2
  62. package/dist/tsup/inspector-tab/mod.d.ts +2 -2
  63. package/dist/tsup/inspector-tab/mod.js +1 -1
  64. package/dist/tsup/mod.cjs +132 -124
  65. package/dist/tsup/mod.cjs.map +1 -1
  66. package/dist/tsup/mod.d.cts +3 -3
  67. package/dist/tsup/mod.d.ts +3 -3
  68. package/dist/tsup/mod.js +31 -23
  69. package/dist/tsup/mod.js.map +1 -1
  70. package/dist/tsup/test/mod.cjs +6 -6
  71. package/dist/tsup/test/mod.d.cts +1 -1
  72. package/dist/tsup/test/mod.d.ts +1 -1
  73. package/dist/tsup/test/mod.js +4 -4
  74. package/dist/tsup/utils.cjs +2 -2
  75. package/dist/tsup/utils.js +1 -1
  76. package/dist/tsup/workflow/mod.cjs +10 -10
  77. package/dist/tsup/workflow/mod.d.cts +3 -3
  78. package/dist/tsup/workflow/mod.d.ts +3 -3
  79. package/dist/tsup/workflow/mod.js +5 -5
  80. package/package.json +12 -9
  81. package/src/actor/config.ts +2 -0
  82. package/src/client/actor-handle.ts +43 -7
  83. package/src/client/lifecycle-errors.ts +6 -1
  84. package/src/client/raw-utils.ts +17 -3
  85. package/src/client/utils.ts +4 -0
  86. package/src/registry/config/index.ts +7 -5
  87. package/src/registry/native.ts +24 -17
  88. package/src/registry/runtime.ts +1 -1
  89. package/src/utils/env-vars.ts +4 -2
  90. package/dist/tsup/chunk-33N3SX2W.js.map +0 -1
  91. package/dist/tsup/chunk-6FEYCVZC.js.map +0 -1
  92. package/dist/tsup/chunk-HD2OTPZY.cjs.map +0 -1
  93. package/dist/tsup/chunk-HDVZ6YZG.cjs.map +0 -1
  94. package/dist/tsup/chunk-KYSDMIRN.js.map +0 -1
  95. package/dist/tsup/chunk-SRAILZ2U.cjs.map +0 -1
  96. /package/dist/tsup/{chunk-76EPM7XH.js.map → chunk-2JSFY7XD.js.map} +0 -0
  97. /package/dist/tsup/{chunk-MPBDBG56.js.map → chunk-57I7SSSV.js.map} +0 -0
  98. /package/dist/tsup/{chunk-UQGGPTAI.js.map → chunk-7K6MC544.js.map} +0 -0
  99. /package/dist/tsup/{chunk-QGK24TS3.js.map → chunk-BOVQ3JQK.js.map} +0 -0
  100. /package/dist/tsup/{chunk-ISCHIEBJ.js.map → chunk-PLZVADML.js.map} +0 -0
  101. /package/dist/tsup/{chunk-IHQRD4KC.js.map → chunk-QX7DWU46.js.map} +0 -0
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 _chunkHY2NYO2Qcjs = require('./chunk-HY2NYO2Q.cjs');
3
+ var _chunkLXSYHJ7Ecjs = require('./chunk-LXSYHJ7E.cjs');
4
4
 
5
5
 
6
6
 
@@ -17,7 +17,7 @@ var _chunkHY2NYO2Qcjs = require('./chunk-HY2NYO2Q.cjs');
17
17
 
18
18
 
19
19
 
20
- var _chunkHDVZ6YZGcjs = require('./chunk-HDVZ6YZG.cjs');
20
+ var _chunkSSF2XC33cjs = require('./chunk-SSF2XC33.cjs');
21
21
 
22
22
 
23
23
 
@@ -35,18 +35,18 @@ var _chunkHDVZ6YZGcjs = require('./chunk-HDVZ6YZG.cjs');
35
35
 
36
36
 
37
37
 
38
- var _chunkSRAILZ2Ucjs = require('./chunk-SRAILZ2U.cjs');
38
+ var _chunkB3MXZSPOcjs = require('./chunk-B3MXZSPO.cjs');
39
39
 
40
40
 
41
41
 
42
42
  var _chunkRTWH3AX3cjs = require('./chunk-RTWH3AX3.cjs');
43
- require('./chunk-PC27E4VN.cjs');
44
43
 
45
44
 
46
45
 
47
46
 
48
- var _chunkGD6EEIUPcjs = require('./chunk-GD6EEIUP.cjs');
47
+ var _chunk3PFAODLEcjs = require('./chunk-3PFAODLE.cjs');
49
48
  require('./chunk-KVFIONKQ.cjs');
49
+ require('./chunk-4VEJIK7O.cjs');
50
50
 
51
51
 
52
52
 
@@ -80,7 +80,7 @@ require('./chunk-KVFIONKQ.cjs');
80
80
 
81
81
 
82
82
 
83
- var _chunkHD2OTPZYcjs = require('./chunk-HD2OTPZY.cjs');
83
+ var _chunkQI7E2UH5cjs = require('./chunk-QI7E2UH5.cjs');
84
84
 
85
85
 
86
86
 
@@ -98,7 +98,7 @@ var _chunkMGI2VVF6cjs = require('./chunk-MGI2VVF6.cjs');
98
98
 
99
99
  // src/actor/log.ts
100
100
  function loggerWithoutContext() {
101
- return _chunkHD2OTPZYcjs.getLogger.call(void 0, "actor-runtime");
101
+ return _chunkQI7E2UH5cjs.getLogger.call(void 0, "actor-runtime");
102
102
  }
103
103
 
104
104
  // src/actor/definition.ts
@@ -138,10 +138,10 @@ function actor(input) {
138
138
  warnDeprecatedOptionKeys(
139
139
  input == null ? void 0 : input.options
140
140
  );
141
- const config = _chunkHDVZ6YZGcjs.ActorConfigSchema.parse(input);
142
- _chunkHDVZ6YZGcjs.flattenActionHandlers.call(void 0, config.actions);
143
- _chunkHDVZ6YZGcjs.flattenActionInputSchemas.call(void 0, config.actions, config.actionInputSchemas);
144
- _chunkHDVZ6YZGcjs.flattenActionTraceSamplers.call(void 0, config.actions, (_a = config.tracing) == null ? void 0 : _a.actions);
141
+ const config = _chunkSSF2XC33cjs.ActorConfigSchema.parse(input);
142
+ _chunkSSF2XC33cjs.flattenActionHandlers.call(void 0, config.actions);
143
+ _chunkSSF2XC33cjs.flattenActionInputSchemas.call(void 0, config.actions, config.actionInputSchemas);
144
+ _chunkSSF2XC33cjs.flattenActionTraceSamplers.call(void 0, config.actions, (_a = config.tracing) == null ? void 0 : _a.actions);
145
145
  return new ActorDefinition(config);
146
146
  }
147
147
  function isStaticActorDefinition(definition) {
@@ -240,7 +240,7 @@ function validateSchemaSync(schemas, key, data) {
240
240
  var _virtualwebsocket = require('@rivetkit/virtual-websocket');
241
241
  var _ws = require('hono/ws');
242
242
  function logger() {
243
- return _chunkHD2OTPZYcjs.getLogger.call(void 0, "inline-websocket-adapter");
243
+ return _chunkQI7E2UH5cjs.getLogger.call(void 0, "inline-websocket-adapter");
244
244
  }
245
245
  var InlineWebSocketAdapter = class {
246
246
  #handler;
@@ -392,7 +392,7 @@ var InlineWebSocketAdapter = class {
392
392
 
393
393
  // src/registry/log.ts
394
394
  function logger2() {
395
- return _chunkHD2OTPZYcjs.getLogger.call(void 0, "registry");
395
+ return _chunkQI7E2UH5cjs.getLogger.call(void 0, "registry");
396
396
  }
397
397
 
398
398
  // src/serverless/configure.ts
@@ -438,8 +438,8 @@ async function configureServerlessPool(config) {
438
438
  );
439
439
  }
440
440
  const customConfig = config.configurePool;
441
- const clientConfig = _chunkSRAILZ2Ucjs.convertRegistryConfigToClientConfig.call(void 0, config);
442
- const dcsRes = await _chunkSRAILZ2Ucjs.getDatacenters.call(void 0, clientConfig);
441
+ const clientConfig = _chunkB3MXZSPOcjs.convertRegistryConfigToClientConfig.call(void 0, config);
442
+ const dcsRes = await _chunkB3MXZSPOcjs.getDatacenters.call(void 0, clientConfig);
443
443
  const poolName = _nullishCoalesce(customConfig.name, () => ( "default"));
444
444
  const serverlessToken = _nullishCoalesce(config.token, () => ( config.publicToken));
445
445
  const headers = {
@@ -461,7 +461,7 @@ async function configureServerlessPool(config) {
461
461
  metadata: _nullishCoalesce(customConfig.metadata, () => ( {})),
462
462
  drain_on_version_upgrade: _nullishCoalesce(customConfig.drainOnVersionUpgrade, () => ( true))
463
463
  };
464
- await _chunkSRAILZ2Ucjs.updateRunnerConfig.call(void 0, clientConfig, poolName, {
464
+ await _chunkB3MXZSPOcjs.updateRunnerConfig.call(void 0, clientConfig, poolName, {
465
465
  datacenters: Object.fromEntries(
466
466
  dcsRes.datacenters.map((dc) => [dc.name, serverlessConfig])
467
467
  )
@@ -478,7 +478,7 @@ async function configureServerlessPool(config) {
478
478
  logger2().warn({
479
479
  msg: "serverless pool configuration attempt failed",
480
480
  attempts,
481
- error: _chunkHD2OTPZYcjs.stringifyError.call(void 0, error)
481
+ error: _chunkQI7E2UH5cjs.stringifyError.call(void 0, error)
482
482
  });
483
483
  await sleep(CONFIGURE_RETRY_DELAY_MS);
484
484
  }
@@ -486,7 +486,7 @@ async function configureServerlessPool(config) {
486
486
  logger2().error({
487
487
  msg: "failed to configure serverless pool, validate endpoint is configured correctly then restart this process",
488
488
  attempts,
489
- error: _chunkHD2OTPZYcjs.stringifyError.call(void 0, lastError)
489
+ error: _chunkQI7E2UH5cjs.stringifyError.call(void 0, lastError)
490
490
  });
491
491
  throw lastError;
492
492
  }
@@ -497,10 +497,10 @@ var _zod = require('zod');
497
497
  // src/registry/config/envoy.ts
498
498
  var _v4 = require('zod/v4');
499
499
  var EnvoyConfigSchema = _v4.z.object({
500
- poolName: _v4.z.string().default(() => _nullishCoalesce(_chunkHD2OTPZYcjs.getRivetPool.call(void 0, ), () => ( "default"))),
501
- version: _v4.z.number().default(() => _nullishCoalesce(_chunkHD2OTPZYcjs.getRivetEnvoyVersion.call(void 0, ), () => ( 1))),
500
+ poolName: _v4.z.string().default(() => _nullishCoalesce(_chunkQI7E2UH5cjs.getRivetPool.call(void 0, ), () => ( "default"))),
501
+ version: _v4.z.number().default(() => _nullishCoalesce(_chunkQI7E2UH5cjs.getRivetEnvoyVersion.call(void 0, ), () => ( 1))),
502
502
  // Deprecated.
503
- totalSlots: _v4.z.number().default(() => _nullishCoalesce(_chunkHD2OTPZYcjs.getRivetTotalSlots.call(void 0, ), () => ( 1e5))),
503
+ totalSlots: _v4.z.number().default(() => _nullishCoalesce(_chunkQI7E2UH5cjs.getRivetTotalSlots.call(void 0, ), () => ( 1e5))),
504
504
  nodeKey: _v4.z.string().optional()
505
505
  });
506
506
 
@@ -538,7 +538,7 @@ var ServerlessConfigSchema = _v4.z.object({
538
538
  *
539
539
  * Can also be set via RIVET_PUBLIC_ENDPOINT environment variable.
540
540
  */
541
- publicEndpoint: _v4.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkHD2OTPZYcjs.getRivetPublicEndpoint.call(void 0, )))),
541
+ publicEndpoint: _v4.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkQI7E2UH5cjs.getRivetPublicEndpoint.call(void 0, )))),
542
542
  /**
543
543
  * Token that clients should use when connecting via the public endpoint.
544
544
  *
@@ -546,7 +546,7 @@ var ServerlessConfigSchema = _v4.z.object({
546
546
  *
547
547
  * Can also be specified in the publicEndpoint URL as `https://namespace:token@host`.
548
548
  */
549
- publicToken: _v4.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkHD2OTPZYcjs.getRivetPublicToken.call(void 0, ))))
549
+ publicToken: _v4.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkQI7E2UH5cjs.getRivetPublicToken.call(void 0, ))))
550
550
  // There is no publicNamespace config option because the frontend and backend
551
551
  // cannot use different namespaces. The namespace is extracted from the
552
552
  // publicEndpoint URL auth syntax if provided.
@@ -600,7 +600,7 @@ var RegistryConfigSchema = _zod.z.object({
600
600
  * Runtime binding to use for RivetKit core.
601
601
  * */
602
602
  runtime: RuntimeKindSchema.optional().transform((val, ctx) => {
603
- const rawRuntime = _nullishCoalesce(val, () => ( _chunkHD2OTPZYcjs.getRivetkitRuntime.call(void 0, )));
603
+ const rawRuntime = _nullishCoalesce(val, () => ( _chunkQI7E2UH5cjs.getRivetkitRuntime.call(void 0, )));
604
604
  if (rawRuntime === void 0) {
605
605
  return "auto";
606
606
  }
@@ -637,7 +637,7 @@ var RegistryConfigSchema = _zod.z.object({
637
637
  * */
638
638
  logging: _zod.z.object({
639
639
  baseLogger: _zod.z.custom().optional(),
640
- level: _chunkHD2OTPZYcjs.LogLevelSchema.optional()
640
+ level: _chunkQI7E2UH5cjs.LogLevelSchema.optional()
641
641
  }).optional().default(() => ({})),
642
642
  // MARK: Routing
643
643
  // // This is a function to allow for lazy configuration of upgradeWebSocket on the
@@ -655,9 +655,9 @@ var RegistryConfigSchema = _zod.z.object({
655
655
  *
656
656
  * Can also be set via RIVET_ENDPOINT environment variables.
657
657
  */
658
- endpoint: _zod.z.string().optional().transform((val) => _nullishCoalesce(_nullishCoalesce(val, () => ( _chunkHD2OTPZYcjs.getRivetEngine.call(void 0, ))), () => ( _chunkHD2OTPZYcjs.getRivetEndpoint.call(void 0, )))),
659
- token: _zod.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkHD2OTPZYcjs.getRivetToken.call(void 0, )))),
660
- namespace: _zod.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkHD2OTPZYcjs.getRivetNamespace.call(void 0, )))),
658
+ endpoint: _zod.z.string().optional().transform((val) => _nullishCoalesce(_nullishCoalesce(val, () => ( _chunkQI7E2UH5cjs.getRivetEngine.call(void 0, ))), () => ( _chunkQI7E2UH5cjs.getRivetEndpoint.call(void 0, )))),
659
+ token: _zod.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkQI7E2UH5cjs.getRivetToken.call(void 0, )))),
660
+ namespace: _zod.z.string().optional().transform((val) => _nullishCoalesce(val, () => ( _chunkQI7E2UH5cjs.getRivetNamespace.call(void 0, )))),
661
661
  headers: _zod.z.record(_zod.z.string(), _zod.z.string()).optional().default({}),
662
662
  // MARK: Client
663
663
  // TODO:
@@ -697,25 +697,25 @@ var RegistryConfigSchema = _zod.z.object({
697
697
  *
698
698
  * Starts the full Rust engine process locally.
699
699
  */
700
- startEngine: _zod.z.boolean().default(() => _chunkHD2OTPZYcjs.getRivetRunEngine.call(void 0, )),
700
+ startEngine: _zod.z.boolean().default(() => _chunkQI7E2UH5cjs.getRivetRunEngine.call(void 0, )),
701
701
  /**
702
702
  * @experimental
703
703
  *
704
704
  * Host to bind the spawned local engine process to.
705
705
  */
706
- engineHost: _zod.z.string().optional().default(() => _nullishCoalesce(_chunkHD2OTPZYcjs.getRivetRunEngineHost.call(void 0, ), () => ( _chunkSRAILZ2Ucjs.ENGINE_HOST))),
706
+ engineHost: _zod.z.string().optional().default(() => _nullishCoalesce(_chunkQI7E2UH5cjs.getRivetRunEngineHost.call(void 0, ), () => ( _chunkB3MXZSPOcjs.ENGINE_HOST))),
707
707
  /**
708
708
  * @experimental
709
709
  *
710
710
  * Port to bind the spawned local engine process to.
711
711
  */
712
- enginePort: _zod.z.number().int().min(1).max(65535).optional().default(() => _nullishCoalesce(_chunkHD2OTPZYcjs.getRivetRunEnginePort.call(void 0, ), () => ( _chunkSRAILZ2Ucjs.ENGINE_PORT))),
712
+ enginePort: _zod.z.number().int().min(1).max(65535).optional().default(() => _nullishCoalesce(_chunkQI7E2UH5cjs.getRivetRunEnginePort.call(void 0, ), () => ( _chunkB3MXZSPOcjs.ENGINE_PORT))),
713
713
  /** @experimental */
714
- engineVersion: _zod.z.string().optional().default(() => _nullishCoalesce(_chunkHD2OTPZYcjs.getRivetRunEngineVersion.call(void 0, ), () => ( _chunkHD2OTPZYcjs.VERSION))),
714
+ engineVersion: _zod.z.string().optional().default(() => _nullishCoalesce(_chunkQI7E2UH5cjs.getRivetRunEngineVersion.call(void 0, ), () => ( _chunkQI7E2UH5cjs.VERSION))),
715
715
  /**
716
716
  * Starts the first-party Services actor host when RivetKit manages
717
- * a local engine. Disabled by default. Set RIVET_RUN_SERVICES=1
718
- * or startServices: true to enable it.
717
+ * a local engine. Enabled by default for a managed local Engine. Set
718
+ * RIVET_RUN_SERVICES=0 or startServices: false to disable it.
719
719
  */
720
720
  startServices: _zod.z.boolean().optional(),
721
721
  /**
@@ -768,7 +768,7 @@ var RegistryConfigSchema = _zod.z.object({
768
768
  }))
769
769
  }).transform((config, ctx) => {
770
770
  var _a, _b, _c;
771
- const isDevEnv = _chunkHD2OTPZYcjs.isDev.call(void 0, );
771
+ const isDevEnv = _chunkQI7E2UH5cjs.isDev.call(void 0, );
772
772
  const sqliteBackend = _nullishCoalesce(((_a = config.sqlite) == null ? void 0 : _a.backend), () => ( ((_b = config.test) == null ? void 0 : _b.sqliteBackend)));
773
773
  if (config.runtime === "wasm" && sqliteBackend === "local") {
774
774
  ctx.addIssue({
@@ -778,7 +778,7 @@ var RegistryConfigSchema = _zod.z.object({
778
778
  });
779
779
  }
780
780
  const sqlite = config.runtime === "wasm" && config.sqlite === void 0 ? { backend: "remote" } : config.sqlite;
781
- const parsedEndpoint = config.endpoint ? _chunkSRAILZ2Ucjs.tryParseEndpoint.call(void 0, ctx, {
781
+ const parsedEndpoint = config.endpoint ? _chunkB3MXZSPOcjs.tryParseEndpoint.call(void 0, ctx, {
782
782
  endpoint: config.endpoint,
783
783
  path: ["endpoint"],
784
784
  namespace: config.namespace,
@@ -797,18 +797,19 @@ var RegistryConfigSchema = _zod.z.object({
797
797
  path: ["configurePool"]
798
798
  });
799
799
  }
800
- const localEngineEndpoint = _chunkSRAILZ2Ucjs.buildEngineEndpoint.call(void 0,
800
+ const localEngineEndpoint = _chunkB3MXZSPOcjs.buildEngineEndpoint.call(void 0,
801
801
  config.engineHost,
802
802
  config.enginePort
803
803
  );
804
804
  const endpoint = config.startEngine ? localEngineEndpoint : _nullishCoalesce((parsedEndpoint == null ? void 0 : parsedEndpoint.endpoint), () => ( (isDevEnv ? localEngineEndpoint : void 0)));
805
- const startServices = _nullishCoalesce(config.startServices, () => ( _chunkHD2OTPZYcjs.getRivetRunServices.call(void 0, )));
805
+ const engineSpawn = !parsedEndpoint && Boolean(endpoint);
806
+ const startServices = _nullishCoalesce(_nullishCoalesce(config.startServices, () => ( _chunkQI7E2UH5cjs.getRivetRunServices.call(void 0, ))), () => ( engineSpawn));
806
807
  const validateServerlessEndpoint = Boolean(
807
808
  config.startEngine || parsedEndpoint
808
809
  );
809
810
  const namespace = _nullishCoalesce(_nullishCoalesce((parsedEndpoint == null ? void 0 : parsedEndpoint.namespace), () => ( config.namespace)), () => ( "default"));
810
- const token = _nullishCoalesce(_nullishCoalesce((parsedEndpoint == null ? void 0 : parsedEndpoint.token), () => ( config.token)), () => ( (endpoint && _chunkSRAILZ2Ucjs.isLocalEngineEndpoint.call(void 0, endpoint) ? "default" : void 0)));
811
- const parsedPublicEndpoint = config.serverless.publicEndpoint ? _chunkSRAILZ2Ucjs.tryParseEndpoint.call(void 0, ctx, {
811
+ const token = _nullishCoalesce(_nullishCoalesce((parsedEndpoint == null ? void 0 : parsedEndpoint.token), () => ( config.token)), () => ( (endpoint && _chunkB3MXZSPOcjs.isLocalEngineEndpoint.call(void 0, endpoint) ? "default" : void 0)));
812
+ const parsedPublicEndpoint = config.serverless.publicEndpoint ? _chunkB3MXZSPOcjs.tryParseEndpoint.call(void 0, ctx, {
812
813
  endpoint: config.serverless.publicEndpoint,
813
814
  path: ["serverless", "publicEndpoint"]
814
815
  }) : void 0;
@@ -826,7 +827,7 @@ var RegistryConfigSchema = _zod.z.object({
826
827
  ...config,
827
828
  sqlite,
828
829
  endpoint,
829
- engineSpawn: !parsedEndpoint && Boolean(endpoint),
830
+ engineSpawn,
830
831
  startServices,
831
832
  namespace,
832
833
  token,
@@ -845,7 +846,7 @@ function buildActorNames(config) {
845
846
  Object.keys(config.use).map((actorName) => {
846
847
  const definition = config.use[actorName];
847
848
  const options = _nullishCoalesce(definition.config.options, () => ( {}));
848
- const runMeta = _chunkHDVZ6YZGcjs.getRunMetadata.call(void 0, definition.config.run);
849
+ const runMeta = _chunkSSF2XC33cjs.getRunMetadata.call(void 0, definition.config.run);
849
850
  const metadata = {};
850
851
  metadata.icon = _nullishCoalesce(options.icon, () => ( runMeta.icon));
851
852
  metadata.name = _nullishCoalesce(options.name, () => ( runMeta.name));
@@ -913,7 +914,7 @@ var DocRegistryConfigSchema = _zod.z.object({
913
914
  noWelcome: _zod.z.boolean().optional().describe("Disable the welcome message on startup. Default: false"),
914
915
  sqlite: DocSqliteConfigSchema,
915
916
  logging: _zod.z.object({
916
- level: _chunkHD2OTPZYcjs.LogLevelSchema.optional().describe(
917
+ level: _chunkQI7E2UH5cjs.LogLevelSchema.optional().describe(
917
918
  "Log level for RivetKit. Default: 'warn'"
918
919
  )
919
920
  }).optional().describe("Logging configuration."),
@@ -942,7 +943,7 @@ var DocRegistryConfigSchema = _zod.z.object({
942
943
  "Version of the local engine package to use. Defaults to the current RivetKit version."
943
944
  ),
944
945
  startServices: _zod.z.boolean().optional().describe(
945
- "Starts Services when RivetKit manages a local Engine. Disabled by default. Set RIVET_RUN_SERVICES=1 or startServices: true to enable."
946
+ "Starts Services when RivetKit manages a local Engine. Enabled by default for a managed local Engine. Set RIVET_RUN_SERVICES=0 or startServices: false to disable."
946
947
  ),
947
948
  configurePool: DocConfigurePoolSchema.describe(
948
949
  "Automatically configure serverless nodes in the engine."
@@ -1404,7 +1405,7 @@ function normalizeRuntimeSqlExecuteResult(result) {
1404
1405
  }
1405
1406
  function servicesBinaryUnavailable(cause) {
1406
1407
  return new Error(
1407
- "services.binary_unavailable: Install @rivet-dev/services yourself to run local Services, or set RIVET_SERVICES_BINARY to its executable path.",
1408
+ "services.binary_unavailable: Install @rivet-dev/services to run local Services, set RIVET_SERVICES_BINARY to its executable path, or set RIVET_RUN_SERVICES=0 to disable Services.",
1408
1409
  { cause }
1409
1410
  );
1410
1411
  }
@@ -1553,7 +1554,7 @@ var NapiCoreRuntime = (_class = class {
1553
1554
  if (!(active == null ? void 0 : active.sameActorInstance(ownerCtx))) {
1554
1555
  return ownerCtx;
1555
1556
  }
1556
- const applicationSpan = _chunkSRAILZ2Ucjs.readActiveTraceHeaders.call(void 0, );
1557
+ const applicationSpan = _chunkB3MXZSPOcjs.readActiveTraceHeaders.call(void 0, );
1557
1558
  if (!applicationSpan) {
1558
1559
  return active;
1559
1560
  }
@@ -1757,7 +1758,7 @@ var NapiCoreRuntime = (_class = class {
1757
1758
  const span = (_a = nativeCtx.invocationTraceContext()) == null ? void 0 : _a.span;
1758
1759
  return this.#invocationContext.run(
1759
1760
  nativeCtx,
1760
- () => _chunkSRAILZ2Ucjs.runWithActorInvocationSpan.call(void 0, span, run)
1761
+ () => _chunkB3MXZSPOcjs.runWithActorInvocationSpan.call(void 0, span, run)
1761
1762
  );
1762
1763
  }
1763
1764
  actorInvocationTraceContext(ctx) {
@@ -2132,8 +2133,8 @@ function runtimeBytesToArrayBuffer(value) {
2132
2133
  function buildNativeHttpRequest(init) {
2133
2134
  var _a;
2134
2135
  const headers = new Headers(init.headers);
2135
- const originalUrl = headers.get(_chunkSRAILZ2Ucjs.HEADER_ORIGINAL_REQUEST_URL);
2136
- headers.delete(_chunkSRAILZ2Ucjs.HEADER_ORIGINAL_REQUEST_URL);
2136
+ const originalUrl = headers.get(_chunkB3MXZSPOcjs.HEADER_ORIGINAL_REQUEST_URL);
2137
+ headers.delete(_chunkB3MXZSPOcjs.HEADER_ORIGINAL_REQUEST_URL);
2137
2138
  const url = _nullishCoalesce(originalUrl, () => ( (init.uri.startsWith("http") ? init.uri : new URL(init.uri, "http://127.0.0.1").toString())));
2138
2139
  const method2 = init.method.toUpperCase();
2139
2140
  const bodyForbidden = method2 === "GET" || method2 === "HEAD";
@@ -2212,7 +2213,7 @@ async function pumpResponseBody(reader, stream) {
2212
2213
  }
2213
2214
  } catch (error) {
2214
2215
  try {
2215
- await stream.error(_chunkHD2OTPZYcjs.stringifyError.call(void 0, error));
2216
+ await stream.error(_chunkQI7E2UH5cjs.stringifyError.call(void 0, error));
2216
2217
  } catch (streamError) {
2217
2218
  logger2().debug({
2218
2219
  msg: "failed to report native http response stream error",
@@ -2380,7 +2381,7 @@ var RunHandlerCoordinator = class {
2380
2381
  this.#run = run;
2381
2382
  }
2382
2383
  get inspectorKind() {
2383
- return _chunkHDVZ6YZGcjs.getRunInspectorKind.call(void 0, this.#run);
2384
+ return _chunkSSF2XC33cjs.getRunInspectorKind.call(void 0, this.#run);
2384
2385
  }
2385
2386
  async run(actorId, restart, callback) {
2386
2387
  const state = this.#getOrCreate(actorId);
@@ -2488,7 +2489,7 @@ var RunHandlerCoordinator = class {
2488
2489
  }
2489
2490
  #initializeInspector(actorId, state) {
2490
2491
  if (state.inspectorInitialized) return;
2491
- const inspector = _chunkHDVZ6YZGcjs.createRunInspector.call(void 0, this.#run, {
2492
+ const inspector = _chunkSSF2XC33cjs.createRunInspector.call(void 0, this.#run, {
2492
2493
  actorId,
2493
2494
  control: this.#control(actorId, state)
2494
2495
  });
@@ -3451,7 +3452,7 @@ async function loadAutoRuntime(config, loaders = defaultRuntimeLoaders) {
3451
3452
  nativeError = error;
3452
3453
  logger2().warn({
3453
3454
  msg: "native runtime failed to load; falling back to wasm",
3454
- error: _chunkHD2OTPZYcjs.stringifyError.call(void 0, error)
3455
+ error: _chunkQI7E2UH5cjs.stringifyError.call(void 0, error)
3455
3456
  });
3456
3457
  }
3457
3458
  try {
@@ -3460,7 +3461,7 @@ async function loadAutoRuntime(config, loaders = defaultRuntimeLoaders) {
3460
3461
  throw new (0, _chunkMGI2VVF6cjs.RivetError)(
3461
3462
  "config",
3462
3463
  "runtime_unavailable",
3463
- `RivetKit could not load a core runtime. Native runtime: ${_chunkHD2OTPZYcjs.stringifyError.call(void 0, nativeError)} Wasm runtime: ${_chunkHD2OTPZYcjs.stringifyError.call(void 0, wasmError)}`,
3464
+ `RivetKit could not load a core runtime. Native runtime: ${_chunkQI7E2UH5cjs.stringifyError.call(void 0, nativeError)} Wasm runtime: ${_chunkQI7E2UH5cjs.stringifyError.call(void 0, wasmError)}`,
3464
3465
  {
3465
3466
  public: true,
3466
3467
  statusCode: 500
@@ -3668,7 +3669,7 @@ async function cleanupNativeSleepRuntimeState(runtime, ctx, afterTrackedWorkDrai
3668
3669
  }).catch((error) => {
3669
3670
  logger2().warn({
3670
3671
  msg: "deferred native sleep cleanup failed",
3671
- error: _chunkHD2OTPZYcjs.stringifyError.call(void 0, error)
3672
+ error: _chunkQI7E2UH5cjs.stringifyError.call(void 0, error)
3672
3673
  });
3673
3674
  });
3674
3675
  return;
@@ -3840,10 +3841,10 @@ function decodeValue(value) {
3840
3841
  if (!value || value.length === 0) {
3841
3842
  return void 0;
3842
3843
  }
3843
- return _chunkHD2OTPZYcjs.decodeCborCompat.call(void 0, value);
3844
+ return _chunkQI7E2UH5cjs.decodeCborCompat.call(void 0, value);
3844
3845
  }
3845
3846
  function encodeValue(value) {
3846
- return _chunkHD2OTPZYcjs.encodeCborCompat.call(void 0, value);
3847
+ return _chunkQI7E2UH5cjs.encodeCborCompat.call(void 0, value);
3847
3848
  }
3848
3849
  function normalizeArgs(value) {
3849
3850
  return Array.isArray(value) ? value : value === void 0 || value === null ? [] : [value];
@@ -3879,7 +3880,7 @@ function isStructuredBridgeError(error) {
3879
3880
  return _chunkMGI2VVF6cjs.isRivetErrorLike.call(void 0, error) && "__type" in error && (error.__type === "RivetError" || error.__type === "ActorError");
3880
3881
  }
3881
3882
  function encodeNativeCallbackError(error) {
3882
- const structuredError = isStructuredBridgeError(error) ? error : _chunkHD2OTPZYcjs.deconstructError.call(void 0, error, true);
3883
+ const structuredError = isStructuredBridgeError(error) ? error : _chunkQI7E2UH5cjs.deconstructError.call(void 0, error, true);
3883
3884
  const { encoded, droppedMetadataCause } = _chunkMGI2VVF6cjs.encodeBridgeRivetError.call(void 0, structuredError);
3884
3885
  if (droppedMetadataCause !== void 0) {
3885
3886
  logger2().warn(
@@ -3941,7 +3942,7 @@ function decodeWorkflowCbor(data) {
3941
3942
  return null;
3942
3943
  }
3943
3944
  try {
3944
- return _chunkHD2OTPZYcjs.decodeCborCompat.call(void 0, new Uint8Array(data));
3945
+ return _chunkQI7E2UH5cjs.decodeCborCompat.call(void 0, new Uint8Array(data));
3945
3946
  } catch (e3) {
3946
3947
  return null;
3947
3948
  }
@@ -4054,7 +4055,7 @@ function serializeWorkflowHistoryForJson(data) {
4054
4055
  if (data === null) {
4055
4056
  return null;
4056
4057
  }
4057
- const history = _chunkHY2NYO2Qcjs.decodeWorkflowHistoryTransport.call(void 0, data);
4058
+ const history = _chunkLXSYHJ7Ecjs.decodeWorkflowHistoryTransport.call(void 0, data);
4058
4059
  return jsonSafe({
4059
4060
  nameRegistry: [...history.nameRegistry],
4060
4061
  entries: history.entries.map((entry) => ({
@@ -4153,7 +4154,7 @@ var NativeConnAdapter = class {
4153
4154
  this.#ctx = ctx;
4154
4155
  this.#queueHibernationRemoval = queueHibernationRemoval;
4155
4156
  this.#assertCanMutateState = assertCanMutateState;
4156
- this[_chunkHDVZ6YZGcjs.CONN_STATE_MANAGER_SYMBOL] = {
4157
+ this[_chunkSSF2XC33cjs.CONN_STATE_MANAGER_SYMBOL] = {
4157
4158
  stateEnabled: true,
4158
4159
  get state() {
4159
4160
  return thisConn.state;
@@ -4170,7 +4171,7 @@ var NativeConnAdapter = class {
4170
4171
  decodeValue(this.#runtime.connParams(this.#conn))
4171
4172
  );
4172
4173
  }
4173
- [_chunkHDVZ6YZGcjs.RAW_STATE_SYMBOL]() {
4174
+ [_chunkSSF2XC33cjs.RAW_STATE_SYMBOL]() {
4174
4175
  return this.#readState();
4175
4176
  }
4176
4177
  get state() {
@@ -4200,7 +4201,7 @@ var NativeConnAdapter = class {
4200
4201
  },
4201
4202
  (newValue) => {
4202
4203
  assertCurrentState();
4203
- _chunkHD2OTPZYcjs.assertJsonCompatValue.call(void 0, newValue);
4204
+ _chunkQI7E2UH5cjs.assertJsonCompatValue.call(void 0, newValue);
4204
4205
  }
4205
4206
  );
4206
4207
  }
@@ -4208,7 +4209,7 @@ var NativeConnAdapter = class {
4208
4209
  var _a;
4209
4210
  (_a = this.#assertCanMutateState) == null ? void 0 : _a.call(this);
4210
4211
  const nextValue = unwrapWriteThroughProxy(value);
4211
- _chunkHD2OTPZYcjs.assertJsonCompatValue.call(void 0, nextValue);
4212
+ _chunkQI7E2UH5cjs.assertJsonCompatValue.call(void 0, nextValue);
4212
4213
  this.#writeState(nextValue, { writeNative: true });
4213
4214
  }
4214
4215
  initializeState(value) {
@@ -5227,7 +5228,7 @@ var ActorContextHandleAdapter = class {
5227
5228
  this.#databaseProvider = databaseProvider;
5228
5229
  }
5229
5230
  this.#request = request;
5230
- this[_chunkHDVZ6YZGcjs.ACTOR_CONTEXT_INTERNAL_SYMBOL] = new NativeWorkflowRuntimeAdapter(
5231
+ this[_chunkSSF2XC33cjs.ACTOR_CONTEXT_INTERNAL_SYMBOL] = new NativeWorkflowRuntimeAdapter(
5231
5232
  this,
5232
5233
  () => this.#logByInvocationScope.delete(
5233
5234
  _nullishCoalesce(this.#runtime.currentInvocationScope(), () => ( NO_INVOCATION_SCOPE))
@@ -5260,7 +5261,7 @@ var ActorContextHandleAdapter = class {
5260
5261
  }
5261
5262
  throw databaseClientNotReadyError();
5262
5263
  }
5263
- [_chunkHDVZ6YZGcjs.RAW_STATE_SYMBOL]() {
5264
+ [_chunkSSF2XC33cjs.RAW_STATE_SYMBOL]() {
5264
5265
  if (!this.#stateEnabled) {
5265
5266
  throw stateNotEnabledError();
5266
5267
  }
@@ -5287,7 +5288,7 @@ var ActorContextHandleAdapter = class {
5287
5288
  },
5288
5289
  (newValue) => {
5289
5290
  assertCurrentState();
5290
- _chunkHD2OTPZYcjs.assertJsonCompatValue.call(void 0, newValue);
5291
+ _chunkQI7E2UH5cjs.assertJsonCompatValue.call(void 0, newValue);
5291
5292
  }
5292
5293
  );
5293
5294
  }
@@ -5299,7 +5300,7 @@ var ActorContextHandleAdapter = class {
5299
5300
  }
5300
5301
  this.#assertCanMutateState();
5301
5302
  const nextValue = unwrapWriteThroughProxy(value);
5302
- _chunkHD2OTPZYcjs.assertJsonCompatValue.call(void 0, nextValue);
5303
+ _chunkQI7E2UH5cjs.assertJsonCompatValue.call(void 0, nextValue);
5303
5304
  this.#writeState(nextValue, { scheduleSave: true });
5304
5305
  }
5305
5306
  initializeState(value) {
@@ -5513,7 +5514,7 @@ var ActorContextHandleAdapter = class {
5513
5514
  log: {
5514
5515
  debug: (obj) => logger2().debug(obj)
5515
5516
  },
5516
- nativeDatabaseProvider: _chunkGD6EEIUPcjs.registerNativeStateTransactionOpener.call(void 0,
5517
+ nativeDatabaseProvider: _chunk3PFAODLEcjs.registerNativeStateTransactionOpener.call(void 0,
5517
5518
  {
5518
5519
  open: async (requestedActorId) => {
5519
5520
  void requestedActorId;
@@ -5536,7 +5537,7 @@ var ActorContextHandleAdapter = class {
5536
5537
  return this.#db;
5537
5538
  }
5538
5539
  #bindDatabaseClient(client) {
5539
- return _chunkGD6EEIUPcjs.bindNativeStateTransactionContext.call(void 0, client, {
5540
+ return _chunk3PFAODLEcjs.bindNativeStateTransactionContext.call(void 0, client, {
5540
5541
  enter: async () => await this.#enterStateTransaction(),
5541
5542
  exit: (scope) => this.#exitStateTransaction(
5542
5543
  scope
@@ -5740,7 +5741,7 @@ var ActorContextHandleAdapter = class {
5740
5741
  const trackedPromise = Promise.resolve(promise).catch((error) => {
5741
5742
  logger2().warn({
5742
5743
  msg: "keepAwake promise rejected",
5743
- error: _chunkHD2OTPZYcjs.stringifyError.call(void 0, error)
5744
+ error: _chunkQI7E2UH5cjs.stringifyError.call(void 0, error)
5744
5745
  });
5745
5746
  }).then(() => null);
5746
5747
  try {
@@ -6120,7 +6121,7 @@ function buildActorTracingConfig(actions, tracing) {
6120
6121
  if (tracing === void 0) return void 0;
6121
6122
  return {
6122
6123
  sampler: tracing.sampler,
6123
- actions: _chunkHDVZ6YZGcjs.flattenActionTraceSamplers.call(void 0, actions, tracing.actions)
6124
+ actions: _chunkSSF2XC33cjs.flattenActionTraceSamplers.call(void 0, actions, tracing.actions)
6124
6125
  };
6125
6126
  }
6126
6127
  function buildActorConfig(definition, registryConfig, runtimeKind) {
@@ -6162,7 +6163,7 @@ function buildActorConfig(definition, registryConfig, runtimeKind) {
6162
6163
  maxOutgoingMessageSize: registryConfig.maxOutgoingMessageSize,
6163
6164
  preloadMaxWorkflowBytes: options.preloadMaxWorkflowBytes,
6164
6165
  preloadMaxConnectionsBytes: options.preloadMaxConnectionsBytes,
6165
- actions: Object.keys(_chunkHDVZ6YZGcjs.flattenActionHandlers.call(void 0, config.actions)).sort().map((name) => ({ name })),
6166
+ actions: Object.keys(_chunkSSF2XC33cjs.flattenActionHandlers.call(void 0, config.actions)).sort().map((name) => ({ name })),
6166
6167
  inspectorTabs: buildInspectorTabs(config.inspector, runtimeKind)
6167
6168
  };
6168
6169
  }
@@ -6238,10 +6239,10 @@ function validateInspectorTabSource(tabId, resolved) {
6238
6239
  function buildNativeFactory(runtime, registryConfig, definition) {
6239
6240
  var _a;
6240
6241
  const config = definition.config;
6241
- const databaseProvider = _nullishCoalesce(config.db, () => ( _chunkGD6EEIUPcjs.db.call(void 0, )));
6242
- const actionHandlers = _chunkHDVZ6YZGcjs.flattenActionHandlers.call(void 0, config.actions);
6242
+ const databaseProvider = _nullishCoalesce(config.db, () => ( _chunk3PFAODLEcjs.db.call(void 0, )));
6243
+ const actionHandlers = _chunkSSF2XC33cjs.flattenActionHandlers.call(void 0, config.actions);
6243
6244
  const schemaConfig = {
6244
- actionInputSchemas: _chunkHDVZ6YZGcjs.flattenActionInputSchemas.call(void 0,
6245
+ actionInputSchemas: _chunkSSF2XC33cjs.flattenActionInputSchemas.call(void 0,
6245
6246
  config.actions,
6246
6247
  config.actionInputSchemas
6247
6248
  ),
@@ -6249,9 +6250,9 @@ function buildNativeFactory(runtime, registryConfig, definition) {
6249
6250
  events: config.events,
6250
6251
  queues: config.queues
6251
6252
  };
6252
- const createClient = (ctx) => _chunkSRAILZ2Ucjs.createClientWithDriver.call(void 0,
6253
- new (0, _chunkSRAILZ2Ucjs.RemoteEngineControlClient)(
6254
- _chunkSRAILZ2Ucjs.convertRegistryConfigToClientConfig.call(void 0, registryConfig)
6253
+ const createClient = (ctx) => _chunkB3MXZSPOcjs.createClientWithDriver.call(void 0,
6254
+ new (0, _chunkB3MXZSPOcjs.RemoteEngineControlClient)(
6255
+ _chunkB3MXZSPOcjs.convertRegistryConfigToClientConfig.call(void 0, registryConfig)
6255
6256
  ),
6256
6257
  {
6257
6258
  encoding: "bare",
@@ -6263,13 +6264,13 @@ function buildNativeFactory(runtime, registryConfig, definition) {
6263
6264
  )
6264
6265
  }
6265
6266
  );
6266
- const run = _chunkHDVZ6YZGcjs.getRunFunction.call(void 0, config.run);
6267
- const runHandlerCoordinator = _chunkHDVZ6YZGcjs.getRunInspectorKind.call(void 0, config.run) === "workflow" ? new RunHandlerCoordinator(config.run) : void 0;
6267
+ const run = _chunkSSF2XC33cjs.getRunFunction.call(void 0, config.run);
6268
+ const runHandlerCoordinator = _chunkSSF2XC33cjs.getRunInspectorKind.call(void 0, config.run) === "workflow" ? new RunHandlerCoordinator(config.run) : void 0;
6268
6269
  const getNativeWorkflowInspector = (ctx) => {
6269
6270
  var _a2, _b;
6270
6271
  const actorId = callNativeSync(() => runtime.actorId(ctx));
6271
6272
  const restart = () => callNativeSync(() => runtime.actorRestartRunHandler(ctx));
6272
- return _nullishCoalesce(((_a2 = runHandlerCoordinator == null ? void 0 : runHandlerCoordinator.getInspector(actorId, restart)) == null ? void 0 : _a2.workflow), () => ( ((_b = _chunkHDVZ6YZGcjs.getRunInspectorConfig.call(void 0, config.run, actorId)) == null ? void 0 : _b.workflow)));
6273
+ return _nullishCoalesce(((_a2 = runHandlerCoordinator == null ? void 0 : runHandlerCoordinator.getInspector(actorId, restart)) == null ? void 0 : _a2.workflow), () => ( ((_b = _chunkSSF2XC33cjs.getRunInspectorConfig.call(void 0, config.run, actorId)) == null ? void 0 : _b.workflow)));
6273
6274
  };
6274
6275
  const onStateChange = typeof config.onStateChange === "function" ? (actorCtx, nextState) => {
6275
6276
  config.onStateChange(actorCtx, nextState);
@@ -6443,7 +6444,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
6443
6444
  400
6444
6445
  );
6445
6446
  }
6446
- const cbor = _chunkHD2OTPZYcjs.encodeCborCompat.call(void 0,
6447
+ const cbor = _chunkQI7E2UH5cjs.encodeCborCompat.call(void 0,
6447
6448
  _nullishCoalesce(body.body, () => ( null))
6448
6449
  );
6449
6450
  const message = await runtime.actorQueueSend(ctx, name, cbor);
@@ -6811,7 +6812,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
6811
6812
  );
6812
6813
  } finally {
6813
6814
  runHandlerCoordinator == null ? void 0 : runHandlerCoordinator.destroy(actorId);
6814
- _chunkHDVZ6YZGcjs.disposeRunInspector.call(void 0, config.run, actorId);
6815
+ _chunkSSF2XC33cjs.disposeRunInspector.call(void 0, config.run, actorId);
6815
6816
  await actorCtx.dispose();
6816
6817
  }
6817
6818
  }
@@ -6823,7 +6824,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
6823
6824
  const actorCtx = makeActorCtx(ctx);
6824
6825
  const actorId = callNativeSync(() => runtime.actorId(ctx));
6825
6826
  runHandlerCoordinator == null ? void 0 : runHandlerCoordinator.destroy(actorId);
6826
- _chunkHDVZ6YZGcjs.disposeRunInspector.call(void 0, config.run, actorId);
6827
+ _chunkSSF2XC33cjs.disposeRunInspector.call(void 0, config.run, actorId);
6827
6828
  try {
6828
6829
  if (typeof config.onDestroy === "function") {
6829
6830
  await config.onDestroy(actorCtx);
@@ -7040,7 +7041,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
7040
7041
  ...request,
7041
7042
  abortController: requestAbortController
7042
7043
  });
7043
- const rawConnParams = handlerRequest.headers.get(_chunkSRAILZ2Ucjs.HEADER_CONN_PARAMS);
7044
+ const rawConnParams = handlerRequest.headers.get(_chunkB3MXZSPOcjs.HEADER_CONN_PARAMS);
7044
7045
  let requestCtx;
7045
7046
  let conn;
7046
7047
  let removeRequestAbortListener;
@@ -7097,7 +7098,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
7097
7098
  requestCtx,
7098
7099
  handlerRequest
7099
7100
  );
7100
- if (!_chunkSRAILZ2Ucjs.isResponseLike.call(void 0, response)) {
7101
+ if (!_chunkB3MXZSPOcjs.isResponseLike.call(void 0, response)) {
7101
7102
  throw new Error(
7102
7103
  "onRequest handler must return a Response"
7103
7104
  );
@@ -7187,15 +7188,15 @@ function buildNativeFactory(runtime, registryConfig, definition) {
7187
7188
  }
7188
7189
  );
7189
7190
  })(),
7190
- getWorkflowHistory: _chunkHDVZ6YZGcjs.hasRunInspectorConfig.call(void 0, config.run) ? wrapNativeCallback(
7191
+ getWorkflowHistory: _chunkSSF2XC33cjs.hasRunInspectorConfig.call(void 0, config.run) ? wrapNativeCallback(
7191
7192
  async (error, payload) => {
7192
7193
  var _a2;
7193
7194
  const { ctx } = unwrapTsfnPayload(error, payload);
7194
7195
  const history = (_a2 = getNativeWorkflowInspector(ctx)) == null ? void 0 : _a2.getHistory();
7195
- return history == null ? void 0 : _chunkHD2OTPZYcjs.toUint8Array.call(void 0, history);
7196
+ return history == null ? void 0 : _chunkQI7E2UH5cjs.toUint8Array.call(void 0, history);
7196
7197
  }
7197
7198
  ) : void 0,
7198
- replayWorkflow: _chunkHDVZ6YZGcjs.hasRunInspectorConfig.call(void 0, config.run) ? wrapNativeCallback(
7199
+ replayWorkflow: _chunkSSF2XC33cjs.hasRunInspectorConfig.call(void 0, config.run) ? wrapNativeCallback(
7199
7200
  async (error, payload) => {
7200
7201
  const { ctx, entryId } = unwrapTsfnPayload(
7201
7202
  error,
@@ -7206,7 +7207,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
7206
7207
  return void 0;
7207
7208
  }
7208
7209
  const history = await _asyncNullishCoalesce(await workflowInspector.replayFromStep(entryId), async () => ( null));
7209
- return history == null ? void 0 : _chunkHD2OTPZYcjs.toUint8Array.call(void 0, history);
7210
+ return history == null ? void 0 : _chunkQI7E2UH5cjs.toUint8Array.call(void 0, history);
7210
7211
  }
7211
7212
  ) : void 0,
7212
7213
  actions: Object.fromEntries(
@@ -7216,6 +7217,11 @@ function buildNativeFactory(runtime, registryConfig, definition) {
7216
7217
  async (error, payload) => {
7217
7218
  const { ctx, conn, args, scheduledFire, cancelToken } = unwrapTsfnPayload(error, payload);
7218
7219
  const actorCtx = conn != null ? makeConnCtx(ctx, conn, void 0, cancelToken) : makeActorCtx(ctx, void 0, cancelToken);
7220
+ if (scheduledFire) {
7221
+ Object.defineProperty(actorCtx, "scheduledFire", {
7222
+ value: scheduledFire
7223
+ });
7224
+ }
7219
7225
  const runAction = async () => {
7220
7226
  try {
7221
7227
  return encodeValue(
@@ -7328,7 +7334,7 @@ function buildNativeFactory(runtime, registryConfig, definition) {
7328
7334
  buildActorConfig(definition, registryConfig, runtime.kind)
7329
7335
  );
7330
7336
  }
7331
- async function buildServeConfig(config, resolveServicesBinary = true) {
7337
+ async function buildServeConfig(config, resolveNativeBinaries = true) {
7332
7338
  var _a;
7333
7339
  if (!config.endpoint) {
7334
7340
  throw nativeEndpointNotConfiguredError();
@@ -7340,27 +7346,29 @@ async function buildServeConfig(config, resolveServicesBinary = true) {
7340
7346
  token: config.token,
7341
7347
  namespace: config.namespace,
7342
7348
  poolName: config.node.poolName,
7343
- startServices: resolveServicesBinary && config.startServices,
7349
+ startServices: resolveNativeBinaries && config.startServices,
7344
7350
  handleInspectorHttpInRuntime: true,
7345
7351
  serverlessBasePath: config.serverless.basePath,
7346
- serverlessPackageVersion: _chunkHD2OTPZYcjs.VERSION,
7352
+ serverlessPackageVersion: _chunkQI7E2UH5cjs.VERSION,
7347
7353
  serverlessClientEndpoint: config.publicEndpoint,
7348
7354
  serverlessClientNamespace: config.publicNamespace,
7349
7355
  serverlessClientToken: config.publicToken,
7350
7356
  serverlessValidateEndpoint: config.validateServerlessEndpoint,
7351
7357
  serverlessMaxStartPayloadBytes: config.serverless.maxStartPayloadBytes
7352
7358
  };
7353
- try {
7354
- const { getEnginePath } = await loadEngineCli();
7355
- serveConfig.engineBinaryPath = getEnginePath();
7356
- } catch (error) {
7357
- logger2().warn({
7358
- 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",
7359
- error: _chunkHD2OTPZYcjs.stringifyError.call(void 0, error)
7360
- });
7359
+ if (resolveNativeBinaries) {
7360
+ try {
7361
+ const { getEnginePath } = await loadEngineCli();
7362
+ serveConfig.engineBinaryPath = getEnginePath();
7363
+ } catch (error) {
7364
+ logger2().warn({
7365
+ 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",
7366
+ error: _chunkQI7E2UH5cjs.stringifyError.call(void 0, error)
7367
+ });
7368
+ }
7361
7369
  }
7362
- if (resolveServicesBinary && config.startServices) {
7363
- const servicesBinary = _chunkHD2OTPZYcjs.getEnvUniversal.call(void 0, "RIVET_SERVICES_BINARY");
7370
+ if (resolveNativeBinaries && config.startServices) {
7371
+ const servicesBinary = _chunkQI7E2UH5cjs.getEnvUniversal.call(void 0, "RIVET_SERVICES_BINARY");
7364
7372
  if (servicesBinary) {
7365
7373
  serveConfig.servicesBinaryPath = servicesBinary;
7366
7374
  } else {
@@ -7375,13 +7383,13 @@ async function buildServeConfig(config, resolveServicesBinary = true) {
7375
7383
  serveConfig.engineHost = config.engineHost;
7376
7384
  serveConfig.enginePort = config.enginePort;
7377
7385
  if ((_a = config.test) == null ? void 0 : _a.enabled) {
7378
- serveConfig.inspectorTestToken = _nullishCoalesce(_chunkHD2OTPZYcjs.getEnvUniversal.call(void 0, "_RIVET_TEST_INSPECTOR_TOKEN"), () => ( "token"));
7386
+ serveConfig.inspectorTestToken = _nullishCoalesce(_chunkQI7E2UH5cjs.getEnvUniversal.call(void 0, "_RIVET_TEST_INSPECTOR_TOKEN"), () => ( "token"));
7379
7387
  }
7380
7388
  return serveConfig;
7381
7389
  }
7382
7390
  async function buildRegistryWithRuntime(config, runtime) {
7383
7391
  var _a;
7384
- if (((_a = config.test) == null ? void 0 : _a.enabled) && _chunkHD2OTPZYcjs.getEnvUniversal.call(void 0, "_RIVET_TEST_INSPECTOR_TOKEN") === void 0) {
7392
+ if (((_a = config.test) == null ? void 0 : _a.enabled) && _chunkQI7E2UH5cjs.getEnvUniversal.call(void 0, "_RIVET_TEST_INSPECTOR_TOKEN") === void 0) {
7385
7393
  trySetProcessEnv("_RIVET_TEST_INSPECTOR_TOKEN", "token");
7386
7394
  }
7387
7395
  if (runtime.kind === "napi") {
@@ -7453,7 +7461,7 @@ function createApplicationFetch(application, runtime) {
7453
7461
  signal: abortController.signal
7454
7462
  })
7455
7463
  );
7456
- if (!_chunkSRAILZ2Ucjs.isResponseLike.call(void 0, response)) {
7464
+ if (!_chunkB3MXZSPOcjs.isResponseLike.call(void 0, response)) {
7457
7465
  throw new TypeError(
7458
7466
  "registry.listen() application fetch must return a Response"
7459
7467
  );
@@ -7503,7 +7511,7 @@ var Registry = class {
7503
7511
  var _a;
7504
7512
  this.#config = config;
7505
7513
  if ((_a = config.logging) == null ? void 0 : _a.baseLogger) {
7506
- _chunkHD2OTPZYcjs.configureBaseLogger.call(void 0, config.logging.baseLogger);
7514
+ _chunkQI7E2UH5cjs.configureBaseLogger.call(void 0, config.logging.baseLogger);
7507
7515
  }
7508
7516
  this.#buildConfiguredRegistry = _nullishCoalesce((deps == null ? void 0 : deps.buildConfiguredRegistry), () => ( buildConfiguredRegistry));
7509
7517
  this.routes = {
@@ -7735,10 +7743,10 @@ var Registry = class {
7735
7743
  if (!opts.application) {
7736
7744
  rejectServerless();
7737
7745
  }
7738
- const port = _nullishCoalesce(_nullishCoalesce(opts.port, () => ( _chunkHD2OTPZYcjs.parsePortEnv.call(void 0, process.env.RIVET_PORT))), () => ( 3e3));
7739
- const publicDir = _nullishCoalesce(opts.publicDir, () => ( _chunkHD2OTPZYcjs.getRivetkitPublicDir.call(void 0, )));
7746
+ const port = _nullishCoalesce(_nullishCoalesce(opts.port, () => ( _chunkQI7E2UH5cjs.parsePortEnv.call(void 0, process.env.RIVET_PORT))), () => ( 3e3));
7747
+ const publicDir = _nullishCoalesce(opts.publicDir, () => ( _chunkQI7E2UH5cjs.getRivetkitPublicDir.call(void 0, )));
7740
7748
  const config = this.parseConfig();
7741
- if (opts.application && _chunkHD2OTPZYcjs.getRivetkitRuntimeMode.call(void 0, ) !== "serverless") {
7749
+ if (opts.application && _chunkQI7E2UH5cjs.getRivetkitRuntimeMode.call(void 0, ) !== "serverless") {
7742
7750
  if (config.runtime === "wasm") {
7743
7751
  throw new Error(
7744
7752
  "registry.listen() requires the native runtime; use an application-owned HTTP server with WebAssembly"
@@ -7814,7 +7822,7 @@ var Registry = class {
7814
7822
  return jsonRouteResponse(503, {
7815
7823
  status: "not_started",
7816
7824
  runtime: "rivetkit",
7817
- version: _chunkHD2OTPZYcjs.VERSION
7825
+ version: _chunkQI7E2UH5cjs.VERSION
7818
7826
  });
7819
7827
  }
7820
7828
  const { runtime, registry } = configured;
@@ -7822,7 +7830,7 @@ var Registry = class {
7822
7830
  return jsonRouteResponse(501, {
7823
7831
  status: "unsupported",
7824
7832
  runtime: "rivetkit",
7825
- version: _chunkHD2OTPZYcjs.VERSION
7833
+ version: _chunkQI7E2UH5cjs.VERSION
7826
7834
  });
7827
7835
  }
7828
7836
  const response = await runtime.registryHealth(registry);
@@ -7897,14 +7905,14 @@ var Registry = class {
7897
7905
  var _a;
7898
7906
  if (!this.#runtimeServePromise) {
7899
7907
  const configuredEnvoyVersion = (_a = this.#config.node) == null ? void 0 : _a.version;
7900
- const envoyVersionSource = configuredEnvoyVersion !== void 0 ? "config" : _chunkHD2OTPZYcjs.getRivetEnvoyVersion.call(void 0, ) !== void 0 ? "environment" : "default";
7908
+ const envoyVersionSource = configuredEnvoyVersion !== void 0 ? "config" : _chunkQI7E2UH5cjs.getRivetEnvoyVersion.call(void 0, ) !== void 0 ? "environment" : "default";
7901
7909
  logger2().info({
7902
7910
  msg: "starting rivetkit envoy",
7903
- rivetkitVersion: _chunkHD2OTPZYcjs.VERSION,
7911
+ rivetkitVersion: _chunkQI7E2UH5cjs.VERSION,
7904
7912
  envoyVersion: config.node.version,
7905
7913
  envoyVersionSource
7906
7914
  });
7907
- if (envoyVersionSource === "default" && _chunkHD2OTPZYcjs.getNodeEnv.call(void 0, ) === "production") {
7915
+ if (envoyVersionSource === "default" && _chunkQI7E2UH5cjs.getNodeEnv.call(void 0, ) === "production") {
7908
7916
  logger2().error({
7909
7917
  msg: "node version defaulted because neither config.node.version nor RIVET_NODE_VERSION is set; actors will not drain automatically across deploys. See https://rivet.dev/docs/actors/versions",
7910
7918
  envoyVersion: config.node.version,
@@ -7993,7 +8001,7 @@ var Registry = class {
7993
8001
  const modeAPromise = this.#runtimeServeConfiguredPromise;
7994
8002
  const modeBPromise = this.#runtimeServerlessPromise;
7995
8003
  const runtimes = /* @__PURE__ */ new Set();
7996
- const localDevSignal = signalDriven && _chunkHD2OTPZYcjs.getNodeEnv.call(void 0, ) !== "production" && config.engineSpawn && config.endpoint !== void 0 && _chunkSRAILZ2Ucjs.isLocalEngineEndpoint.call(void 0, config.endpoint);
8004
+ const localDevSignal = signalDriven && _chunkQI7E2UH5cjs.getNodeEnv.call(void 0, ) !== "production" && config.engineSpawn && config.endpoint !== void 0 && _chunkB3MXZSPOcjs.isLocalEngineEndpoint.call(void 0, config.endpoint);
7997
8005
  let gracePeriodMs = (_a = config.shutdown) == null ? void 0 : _a.gracePeriodMs;
7998
8006
  if (gracePeriodMs === void 0) {
7999
8007
  gracePeriodMs = localDevSignal ? LOCAL_DEV_SHUTDOWN_GRACE_PERIOD_MS : await _asyncNullishCoalesce(await this.#actorStopThresholdMs(
@@ -8105,7 +8113,7 @@ var Registry = class {
8105
8113
  }
8106
8114
  if (this.#runtimeReadyPromise) return this.#runtimeReadyPromise;
8107
8115
  try {
8108
- if (_chunkHD2OTPZYcjs.getRivetkitRuntimeMode.call(void 0, ) === "serverless") {
8116
+ if (_chunkQI7E2UH5cjs.getRivetkitRuntimeMode.call(void 0, ) === "serverless") {
8109
8117
  return Promise.reject(
8110
8118
  new Error(
8111
8119
  "registry.startAndWait() requires envoy runtime mode; serverless registries become ready per request"
@@ -8129,7 +8137,7 @@ var Registry = class {
8129
8137
  if (!configuredRegistryPromise || !serveLifecyclePromise) {
8130
8138
  throw new Error("registry envoy startup did not initialize");
8131
8139
  }
8132
- const readyTimeoutMs = config.engineSpawn && config.endpoint !== void 0 && _chunkSRAILZ2Ucjs.isLocalEngineEndpoint.call(void 0, config.endpoint) ? LOCAL_ENGINE_READY_TIMEOUT_MS : REGISTRY_READY_TIMEOUT_MS;
8140
+ const readyTimeoutMs = config.engineSpawn && config.endpoint !== void 0 && _chunkB3MXZSPOcjs.isLocalEngineEndpoint.call(void 0, config.endpoint) ? LOCAL_ENGINE_READY_TIMEOUT_MS : REGISTRY_READY_TIMEOUT_MS;
8133
8141
  let timeout;
8134
8142
  const timeoutPromise = new Promise((_resolve, reject) => {
8135
8143
  var _a;
@@ -8179,8 +8187,8 @@ var Registry = class {
8179
8187
  * ```
8180
8188
  */
8181
8189
  start() {
8182
- if (_chunkHD2OTPZYcjs.getRivetkitRuntimeMode.call(void 0, ) === "serverless") {
8183
- const publicDir = _nullishCoalesce(_chunkHD2OTPZYcjs.getRivetkitPublicDir.call(void 0, ), () => ( "/public"));
8190
+ if (_chunkQI7E2UH5cjs.getRivetkitRuntimeMode.call(void 0, ) === "serverless") {
8191
+ const publicDir = _nullishCoalesce(_chunkQI7E2UH5cjs.getRivetkitPublicDir.call(void 0, ), () => ( "/public"));
8184
8192
  this.listen({ publicDir }).catch((error) => {
8185
8193
  logger2().error({ error }, "auto-listen failed; exiting");
8186
8194
  if (typeof process !== "undefined" && typeof process.exit === "function") {
@@ -8201,13 +8209,13 @@ var Registry = class {
8201
8209
  };
8202
8210
  console.log();
8203
8211
  console.log(
8204
- ` RivetKit ${_chunkHD2OTPZYcjs.VERSION} (Engine - ${kind === "serverless" ? "Serverless" : "Serverful"})`
8212
+ ` RivetKit ${_chunkQI7E2UH5cjs.VERSION} (Engine - ${kind === "serverless" ? "Serverless" : "Serverful"})`
8205
8213
  );
8206
8214
  if (config.namespace !== "default") {
8207
8215
  logLine("Namespace", config.namespace);
8208
8216
  }
8209
8217
  if (config.endpoint) {
8210
- const endpointType = config.startEngine || _chunkSRAILZ2Ucjs.isLocalEngineEndpoint.call(void 0, config.endpoint) ? "local native" : "remote";
8218
+ const endpointType = config.startEngine || _chunkB3MXZSPOcjs.isLocalEngineEndpoint.call(void 0, config.endpoint) ? "local native" : "remote";
8211
8219
  logLine("Endpoint", `${config.endpoint} (${endpointType})`);
8212
8220
  }
8213
8221
  if (kind === "serverless" && config.publicEndpoint) {
@@ -8277,5 +8285,5 @@ function setup(input) {
8277
8285
 
8278
8286
 
8279
8287
 
8280
- exports.ALLOWED_PUBLIC_HEADERS = _chunkSRAILZ2Ucjs.ALLOWED_PUBLIC_HEADERS; exports.ActorDefinition = ActorDefinition; exports.ActorError = _chunkMGI2VVF6cjs.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 = _chunkMGI2VVF6cjs.RivetError; exports.RuntimeKindSchema = RuntimeKindSchema; exports.SqliteBackendSchema = SqliteBackendSchema; exports.SqliteConfigSchema = SqliteConfigSchema; exports.TestConfigSchema = TestConfigSchema; exports.UserError = _chunkMGI2VVF6cjs.UserError; exports.WasmRuntimeConfigSchema = WasmRuntimeConfigSchema; exports.actor = actor; exports.buildActorNames = buildActorNames; exports.createClientWithDriver = _chunkSRAILZ2Ucjs.createClientWithDriver; exports.defineRunHandler = _chunkHDVZ6YZGcjs.defineRunHandler; exports.event = event; exports.isStaticActorDefinition = isStaticActorDefinition; exports.isStaticActorInstance = isStaticActorInstance; exports.lookupInRegistry = lookupInRegistry; exports.noopNext = _chunkHD2OTPZYcjs.noopNext; exports.queue = queue; exports.setup = setup; exports.toUint8Array = _chunkHD2OTPZYcjs.toUint8Array;
8288
+ exports.ALLOWED_PUBLIC_HEADERS = _chunkB3MXZSPOcjs.ALLOWED_PUBLIC_HEADERS; exports.ActorDefinition = ActorDefinition; exports.ActorError = _chunkMGI2VVF6cjs.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 = _chunkMGI2VVF6cjs.RivetError; exports.RuntimeKindSchema = RuntimeKindSchema; exports.SqliteBackendSchema = SqliteBackendSchema; exports.SqliteConfigSchema = SqliteConfigSchema; exports.TestConfigSchema = TestConfigSchema; exports.UserError = _chunkMGI2VVF6cjs.UserError; exports.WasmRuntimeConfigSchema = WasmRuntimeConfigSchema; exports.actor = actor; exports.buildActorNames = buildActorNames; exports.createClientWithDriver = _chunkB3MXZSPOcjs.createClientWithDriver; exports.defineRunHandler = _chunkSSF2XC33cjs.defineRunHandler; exports.event = event; exports.isStaticActorDefinition = isStaticActorDefinition; exports.isStaticActorInstance = isStaticActorInstance; exports.lookupInRegistry = lookupInRegistry; exports.noopNext = _chunkQI7E2UH5cjs.noopNext; exports.queue = queue; exports.setup = setup; exports.toUint8Array = _chunkQI7E2UH5cjs.toUint8Array;
8281
8289
  //# sourceMappingURL=mod.cjs.map